:root {
  color-scheme: light;
  --paper: #f6f3ee;
  --ink: #211e1c;
  --accent: #841e2a;
  --line: #cdc5ba;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #b86065; outline-offset: 4px; }
.wrap { width: min(1350px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: 10px; transform: translateY(-170%); background: white; padding: 12px; z-index: 2; }
.skip:focus { transform: translateY(0); }
.top { min-height: 88px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 20px; }
.brand img { display: block; width: 80px; height: auto; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; gap: clamp(14px, 4vw, 55px); }
nav a { font-weight: 650; font-size: .92rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-contact { color: var(--accent); }
.action-icon { width: 1em; height: 1em; margin-left: .4em; vertical-align: -.12em; }
.intro { display: grid; grid-template-columns: 1fr 255px; align-items: end; gap: 20px; padding-block: 38px 32px; }
.eyebrow { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 720; margin: 0; }
.eyebrow span { width: 9px; height: 9px; display: inline-block; background: var(--accent); margin-right: 7px; }
.intro .eyebrow { grid-column: 1 / -1; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 400 clamp(3.3rem, 8.7vw, 9rem)/.86 Georgia, serif; letter-spacing: -.075em; margin: 0; }
h1 em { font-weight: 400; color: var(--accent); }
.intro-note { max-width: 25ch; margin: 0 0 4px; line-height: 1.55; padding-left: 16px; border-left: 1px solid var(--line); }
.portfolio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 27%); grid-template-rows: auto 1fr; grid-template-areas: "photo controls" "photo description"; margin-bottom: 78px; background: #ece6dd; }
.project-photo { grid-area: photo; }
.project-photo { position: relative; margin: 0; min-height: clamp(370px, 44vw, 650px); background: #3e352e; }
.project-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.photo-controls { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; background: var(--paper); color: var(--ink); }
.photo-controls button { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; color: inherit; border: 0; cursor: pointer; }
.photo-controls button:hover { background: #e0d5c8; }
.photo-controls button span { width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); }
#photo-prev span { transform: rotate(-135deg); }
#photo-position { min-width: 3.1em; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.project-controls { grid-area: controls; padding: clamp(20px, 3vw, 44px); padding-bottom: 0; }
.project-buttons { display: grid; margin-top: 18px; border-top: 1px solid #bcb2a4; }
.project-buttons button { font: 400 clamp(1.25rem, 2vw, 1.85rem)/1.2 Georgia, serif; display: flex; justify-content: space-between; gap: 10px; background: transparent; border: 0; border-bottom: 1px solid #bcb2a4; padding: .67em 0; text-align: left; color: var(--ink); cursor: pointer; }
.project-buttons button[aria-pressed="true"], .project-buttons button:hover { color: var(--accent); }
.project-buttons button[aria-pressed="true"] { font-weight: 700; }
.project-description { grid-area: description; align-self: end; padding: clamp(20px, 3vw, 44px); }
.project-description h3 { font-size: 1.06rem; margin-bottom: 6px; }
.project-description p { line-height: 1.55; margin-bottom: 15px; }
.project-description a { font-size: .85rem; }
.coverage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(24px, 6vw, 90px); padding-block: clamp(30px, 5vw, 65px); border-top: 1px solid var(--line); }
.coverage h2, .feedback h2 { font: 400 clamp(2.2rem, 5vw, 4.75rem)/.98 Georgia, serif; letter-spacing: -.055em; margin: 14px 0 28px; }
.coverage-copy > p:not(.eyebrow) { max-width: 36ch; line-height: 1.6; }
.coverage-link { display: inline-block; background: var(--accent); color: #fffbf4; padding: 12px 16px; font-weight: 650; text-decoration: none; }
.coverage-link:hover { background: #56151e; }
.coverage-map { min-width: 0; margin: 0; }
.coverage-map svg { display: block; width: 100%; height: auto; }
.coverage-map figcaption { padding-top: 8px; font-size: .82rem; }
.feedback { background: #ece6dd; margin-bottom: clamp(38px, 6vw, 78px); }
.feedback-copy { padding: clamp(25px, 6vw, 80px); }
.feedback h2 { margin-top: 0; }
.feedback-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); }
.feedback figure { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.feedback blockquote { color: var(--accent); font: italic 400 clamp(1.25rem, 2.2vw, 1.85rem)/1.25 Georgia, serif; margin: 0; }
.feedback blockquote p { margin-bottom: 12px; }
.feedback figcaption { font-size: .85rem; }
.contact { background: #56151e; color: #fffbf4; padding-block: clamp(38px, 7vw, 95px); }
.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 9vw, 140px); }
.contact .eyebrow span { background: #ecc3ac; }
.contact h2 { font: 400 clamp(2.65rem, 6vw, 5.7rem)/.94 Georgia, serif; letter-spacing: -.06em; margin: 17px 0 22px; }
.contact p:not(.eyebrow) { line-height: 1.6; max-width: 44ch; }
form { align-self: center; display: grid; gap: 9px; min-width: 0; }
#city-query { max-width: 25rem; }
label { font-weight: 650; }
label small { font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid #ead0c7; border-radius: 0; background: #fffbf4; color: var(--ink); }
textarea { resize: vertical; margin-bottom: 5px; }
#brief button { justify-self: start; background: #f2dfcb; color: #56151e; border: 0; padding: 13px 16px; font: 750 .92rem system-ui, sans-serif; cursor: pointer; }
#brief button:hover { background: white; }
.coverage-link { justify-self: start; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.footer { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; padding-block: 18px; font-size: .82rem; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 34px); }
  .top { min-height: 70px; }
  .brand img { width: 61px; }
  nav a { font-size: .78rem; }
  .intro { grid-template-columns: 1fr; padding-top: 30px; }
  .intro-note { max-width: 33ch; }
  .portfolio, .contact-layout { grid-template-columns: 1fr; }
  .portfolio { grid-template-areas: "controls" "photo" "description"; grid-template-rows: auto auto auto; margin-bottom: 38px; }
  .project-controls { padding-bottom: 12px; }
  .project-photo { min-height: clamp(260px, 69vw, 470px); }
  .project-buttons { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .project-buttons button { font-size: clamp(.95rem,4vw,1.35rem); gap: 3px; }
  .project-description { padding-top: 19px; }
  .coverage, .feedback-list { grid-template-columns: 1fr; }
  .coverage-map svg g text { font-size: 22px; paint-order: stroke; stroke: #ede7de; stroke-width: 3px; }
  .coverage-map svg g text[fill="#fffaf4"] { font-size: 24px; stroke: #841e2a; }
}
