@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Special Gothic Expanded One'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/special-gothic-expanded-one-latin-400-normal.woff2) format('woff2'); }

:root {
  --paper: #FFFFFF;
  --paper-2: #F2F2F0;
  --ink: #1E1C19;
  --muted: #5E5A53;
  --line: #DCDCD8;
  --dark: #171614;
  --dark-ink: #EEEAE3;
  --dark-muted: #A9A39A;
  --dark-line: #3A3733;
  --accent: #6E5946;
  --accent-dark: #C4AE95;
  --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.muted { color: var(--muted); }
.todo {
  background: #FFE7A3; color: #4A3B00; padding: 0 4px; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 25; background: var(--paper);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-weight: 600; font-size: 14px; text-decoration: none; letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { opacity: .6; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none;
  border: 1px solid var(--ink); transition: background .2s, color .2s;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #3A3631; }
.btn-line { color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.dark .btn-dark { background: var(--dark-ink); color: var(--dark); border-color: var(--dark-ink); }
.dark .btn-dark:hover { background: #FFFFFF; }
.dark .btn-line { color: var(--dark-ink); border-color: var(--dark-ink); }
.dark .btn-line:hover { background: var(--dark-ink); color: var(--dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding-top: 112px; }
.sec-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 40px;
}
.sec-head h2 { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.sec-head span, .sec-head a { font-size: 13px; color: var(--muted); }
.sec-head a { text-decoration: none; }
.sec-head a:hover { color: var(--ink); }
.dark { background: var(--dark); color: var(--dark-ink); }
.dark .sec-head { border-color: var(--dark-ink); }
.dark .sec-head span, .dark .sec-head a, .dark .muted { color: var(--dark-muted); }
.dark .sec-head a:hover { color: var(--dark-ink); }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 104px); margin: 20px 0 28px; max-width: 15ch; }
.lead { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.status::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #5C8A5A; margin-right: 8px; vertical-align: 1px;
}

/* Case features on the home page */
.case-feature {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 40px;
  align-items: end; text-decoration: none; color: inherit;
}
.case-feature + .case-feature { margin-top: 120px; }
.case-media { grid-column: 1 / span 7; grid-row: 1; overflow: hidden; background: var(--paper-2); }
.case-text { grid-column: 9 / span 4; grid-row: 1; }
.case-feature.flip .case-media { grid-column: 6 / span 7; }
.case-feature.flip .case-text { grid-column: 1 / span 4; }
.case-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s ease; }
.case-feature:hover .case-media img { transform: scale(1.02); }
.case-kicker { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.case-title { font-size: clamp(36px, 4.4vw, 64px); margin: 0 0 16px; }
.case-sub { margin: 0 0 20px; font-size: 18px; color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.more { font-size: 14px; font-weight: 600; }
.index-link { margin-top: 72px; }

/* Columns */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0 0 12px; }
.svc p { margin: 0 0 16px; color: var(--muted); }
.svc ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.svc li { border-top: 1px solid var(--line); padding: 10px 0; }
.step .num { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 19px; font-weight: 600; margin: 14px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.format { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 48px; padding: 20px 24px; background: var(--paper-2); font-size: 15px; }

/* Brands */
.brands {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 44px;
  font-family: var(--display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.3;
}

/* Photo strip */
.photo-band { padding: 96px 0; margin-top: 112px; }
.photo-band .intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 32px; }
.photo-band .intro p { margin: 0; font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; max-width: 22ch; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.text-link { font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* About */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
.about-lead { grid-column: 1 / span 6; margin: 0; font-family: var(--display); font-size: clamp(28px, 3.1vw, 44px); line-height: 1.18; }
.about-body { grid-column: 8 / span 5; }
.about-body p { margin: 0 0 28px; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); font-size: 15px; }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }

/* Contact */
.contact { padding: 112px 0; margin-top: 112px; }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -.01em; margin: 24px 0; max-width: 16ch; }
.contact p { margin: 0 0 32px; font-size: 18px; max-width: 560px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: inherit; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer { color: var(--muted); }

/* Mobile contact bar */
.mbar { display: none; }

/* Case pages */
.case-head { padding-top: 32px; padding-bottom: 48px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.case-h1 { font-size: clamp(52px, 8vw, 120px); margin: 28px 0 20px; }
.case-meta { margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; border-top: 1px solid var(--line); padding-top: 20px; }
.case-meta dt { font-size: 13px; color: var(--muted); }
.case-meta dd { margin: 6px 0 0; font-size: 15px; line-height: 1.45; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 48px; border-top: 1px solid var(--ink); padding-top: 20px; }
.block > h2 { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.block .big { margin: 0 0 20px; font-family: var(--display); font-size: clamp(32px, 4vw, 56px); line-height: 1.08; }
.block p { margin: 0 0 16px; font-size: 18px; color: var(--muted); max-width: 700px; }
.block .wide { grid-column: 1 / -1; margin-top: 24px; }
.decisions { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.decisions li { border-top: 1px solid var(--line); padding-top: 14px; font-size: 16px; color: var(--muted); }
.decisions strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.doc img { width: 100%; height: auto; border: 1px solid var(--line); }
.doc figcaption, .story figcaption, .results figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.story img, .results img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story .n { color: var(--accent); margin-right: 8px; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.series-label { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.series + .series-label { margin-top: 40px; }
.series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.series img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.credits { margin: 0; border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; color: var(--muted); }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; border-top: 1px solid var(--ink); padding-top: 32px; }
.next .label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.next .title { font-family: var(--display); font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.01em; text-decoration: none; }
.next .title:hover { color: var(--accent); }
.next .cta p { margin: 0 0 14px; color: var(--muted); }

/* Index page */
.idx { list-style: none; margin: 0; padding: 0; }
.idx-row, .idx-labels {
  display: grid; grid-template-columns: 72px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.5fr) 72px;
  gap: 8px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.idx-labels { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--ink); padding: 14px 0; }
.idx li:last-child .idx-row { border-bottom: 1px solid var(--line); }
.idx-row .proj { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.idx-row .yr, .idx-row .type, .idx-row .role { font-size: 15px; color: var(--muted); }
.idx-row .go { font-size: 14px; font-weight: 600; text-align: right; }
a.idx-row:hover .proj { color: var(--accent); }

/* Photography page */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 14px/1 var(--sans); cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; }
.masonry img { width: 100%; }
.campaigns { list-style: none; margin: 0; padding: 0; }
.campaigns li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.campaigns li:last-child { border-bottom: 1px solid var(--line); }
.campaigns .proj { font-family: var(--display); font-size: 30px; line-height: 1.1; }

/* Page heads (Index, Photography) */
.page-head { padding-top: 80px; padding-bottom: 48px; }
.page-head h1 { font-size: clamp(52px, 8vw, 120px); margin: 20px 0 20px; }

/* 404 */
.notfound { padding-top: 160px; padding-bottom: 160px; }
.notfound h1 { font-size: clamp(52px, 8vw, 120px); margin: 0 0 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--gut) 24px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { width: 100%; padding: 12px 0; font-size: 20px; }
  .nav .btn { margin-top: 12px; }
  .section { padding-top: 72px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .case-feature { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case-feature .case-media, .case-feature .case-text,
  .case-feature.flip .case-media, .case-feature.flip .case-text { grid-column: 1 / -1; grid-row: auto; }
  .case-feature + .case-feature { margin-top: 72px; }
  .index-link { margin-top: 48px; }
  .cols-3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-band { padding: 72px 0; margin-top: 72px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-lead, .about-body { grid-column: 1 / -1; }
  .contact { padding: 72px 0; margin-top: 72px; }
  .block { grid-template-columns: minmax(0, 1fr); }
  .decisions { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results { grid-template-columns: minmax(0, 1fr); }
  .idx-labels { display: none; }
  .idx-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .idx-row .proj { grid-column: 1; grid-row: 1; font-size: 26px; }
  .idx-row .go { grid-column: 2; grid-row: 1; }
  .idx-row .yr, .idx-row .type, .idx-row .role { grid-column: 1 / -1; font-size: 14px; }
  .idx-row .yr { grid-row: 2; }
  .campaigns li { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding-top: 48px; padding-bottom: 32px; }
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .mbar .btn { flex: 1 1 0; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .pair, .results, .series { grid-template-columns: minmax(0, 1fr); }
  .case-meta { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .facts { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- v2: minimal hero + showcase ---------- */
.hero-min { padding-top: 72px; padding-bottom: 64px; }
.hero-min h1 { font-size: clamp(44px, 5.4vw, 72px); margin: 0 0 14px; }
.hero-role { margin: 0 0 10px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 640px; }
.skills { margin: 0; font-size: 15px; color: var(--muted); }
.skills span { margin: 0 6px; }

.vitrine { display: flex; flex-direction: column; gap: 88px; }
.proj { border-top: 1px solid var(--ink); padding-top: 16px; }
.proj-cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 24px; margin-bottom: 20px; }
.proj-cap > div { min-width: 0; }
.proj-type { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.proj-role { margin: 0; font-size: 15px; color: var(--muted); }
.proj-link { flex: none; font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: flex-start; padding-top: 6px; }
.proj-link:hover { color: var(--accent); }
.proj-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proj-frames.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proj-frames img, .slot { width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slot {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); border: 1px dashed var(--line); color: var(--muted); font-size: 13px;
}
.contact-mail { font-size: clamp(20px, 2vw, 26px); margin: 0 0 28px; user-select: all; }

.about-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; padding-top: 72px; align-items: start; }
.about-photo { grid-column: 1 / span 5; }
.about-text { grid-column: 7 / span 6; min-width: 0; }
.about-text h1 { font-size: clamp(36px, 4.4vw, 60px); margin: 20px 0 20px; }
.about-text .lead { margin-bottom: 20px; }
.about-text > p:not(.lead):not(.eyebrow) { color: var(--muted); margin: 0 0 28px; }

@media (max-width: 820px) {
  .hero-min { padding-top: 40px; padding-bottom: 40px; }
  .vitrine { gap: 56px; }
  .proj-frames, .proj-frames.two {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); -webkit-overflow-scrolling: touch;
  }
  .proj-frames > * { flex: 0 0 78%; scroll-snap-align: start; }
  .about-page { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; }
  .about-photo, .about-text { grid-column: 1 / -1; }
  .about-photo { max-width: 420px; }
}

.display, .contact h2, .proj-type { text-wrap: balance; }

/* ---------- v3: one cover per project, three per row ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; border-top: 1px solid var(--ink); padding-top: 24px; }
.card { display: block; min-width: 0; text-decoration: none; color: inherit; }
.card-media { overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.card-media img, .card-media .slot { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s ease, opacity .3s; }
a.card:hover .card-media img { transform: scale(1.02); }
.card-type { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; text-wrap: balance; }
.card-role { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
a.card .card-type::after { content: " →"; font-family: var(--sans); font-size: .6em; vertical-align: .2em; color: var(--muted); }
@media (max-width: 1024px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
.card-media .slot { display: flex; }
.grid-label { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.contact-mail a { text-decoration: none; border-bottom: 1px solid var(--dark-line); }
.contact-mail a:hover { border-bottom-color: var(--dark-ink); }
.contact .contact-mail-small { margin: 20px 0 0; font-size: 15px; color: var(--dark-muted); user-select: all; }
.about-page + .contact { margin-top: 112px; }

/* ---------- v6: vitrine — big covers, one-line captions, fewer words ---------- */
.hero-min { padding-top: 56px; padding-bottom: 48px; }
.work-grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px 32px; }
.work-grid.stagger { padding-bottom: 140px; }
.work-grid.stagger > :nth-child(even) { transform: translateY(140px); }
.card-media { margin-bottom: 0; }
a.card:hover .card-media img { transform: scale(1.03); }
.cap { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; margin: 14px 0 0; }
.cap-type { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cap-dots { flex: 1 1 32px; min-width: 32px; border-bottom: 1px dotted currentColor; opacity: .5; transform: translateY(-4px); }
.cap-role { font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.2; color: var(--muted); }
a.card .cap-role::after { content: " →"; font-family: var(--sans); font-style: normal; font-size: .7em; }
a.card:hover .cap-role { color: var(--ink); }

.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; }
.intro-lead { grid-column: 1 / span 7; margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; text-wrap: balance; }
.intro-lead em { font-style: italic; }
.intro-side { grid-column: 8 / -1; min-width: 0; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-list h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-list ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.75; }
.intro-format { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .intro-lead, .intro-side { grid-column: 1 / -1; }
  .work-grid.big { gap: 64px 20px; }
  .work-grid.stagger { padding-bottom: 80px; }
  .work-grid.stagger > :nth-child(even) { transform: translateY(80px); }
}
@media (max-width: 560px) {
  .work-grid.big { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .work-grid.stagger { padding-bottom: 0; }
  .work-grid.stagger > :nth-child(even) { transform: none; }
  .cap { display: block; }
  .cap-dots { display: none; }
  .cap-role { display: block; margin-top: 4px; font-size: 18px; }
}


/* ---------- v7: no serif — Inter Tight for display, Inter for text ---------- */
.display, .contact h2, .next .title, .intro-lead, .block .big, .about-lead, .svc h3, .step .num,
.photo-band .intro p, .proj-type, .card-type { font-weight: 400; letter-spacing: -.035em; }
.hero-min h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.page-head h1, .case-h1, .notfound h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; }
.hero h1 { font-size: clamp(40px, 5.6vw, 84px); }
.about-text h1 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; }
.contact h2 { font-size: clamp(34px, 4.8vw, 68px); line-height: 1.02; max-width: 18ch; }
.next .title { font-size: clamp(34px, 4.8vw, 68px); }
.intro-lead { font-size: clamp(26px, 2.7vw, 40px); line-height: 1.14; letter-spacing: -.03em; }
.block .big { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.1; }
.svc h3 { font-size: 26px; }
.step .num { font-size: 40px; font-weight: 300; }
.cap-role { font-family: var(--sans); font-style: normal; font-size: 15px; line-height: 1.4; }
a.card .cap-role::after { font-size: 1em; }
.cap-type { font-size: 12px; letter-spacing: .1em; }
@media (max-width: 560px) { .cap-role { font-size: 15px; } }

.hero-role { max-width: 760px; text-wrap: balance; }
.hero-title { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; max-width: 19ch; margin: 0 0 22px; text-wrap: balance; }
@media (max-width: 560px) { .hero-title { font-size: 34px; } }

/* logo-like name */
.brand { font-weight: 850; font-size: 17px; letter-spacing: .2em; margin-right: -.2em; }
@media (max-width: 560px) { .brand { font-size: 16px; letter-spacing: .18em; } }
.series.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .series.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .series.three { grid-template-columns: minmax(0, 1fr); } }
.results.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .results.two { grid-template-columns: minmax(0, 1fr); } }
.pair.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .pair.three { grid-template-columns: minmax(0, 1fr); } }
.cap-sector { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: var(--muted); }
.pair figure { margin: 0; min-width: 0; }
.pair figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.wide-frame { margin-top: 0; }
.wide-frame img { display: block; width: 100%; height: auto; }
.section + .wide-frame { margin-top: 112px; }
.card-media { position: relative; }
.card-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.card-alt.on { opacity: 1; }
.card-media img, a.card:hover .card-media img { transform: none; }

/* nav: caps, plain links, no button */
.nav { font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 821px) { .nav { gap: 36px; font-size: 15px; } }
.nav a[aria-current="page"] { text-decoration: none; }

/* full-width layout, three projects per row */
:root { --wrap: 100%; }
.work-grid.big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 24px; }
@media (max-width: 1024px) { .work-grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 20px; } }
@media (max-width: 560px) { .work-grid.big { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.work-grid.big .cap { display: block; }
.work-grid.big .cap-dots { display: none; }
.work-grid.big .cap-role { display: block; margin-top: 4px; }

/* logo: Special Gothic Expanded One */
.brand { font-family: 'Special Gothic Expanded One', 'Inter', sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .04em; word-spacing: .2em; margin-right: -.04em; }
@media (max-width: 560px) { .brand { font-size: 17px; } }

/* keep feet in frame: crop full-length shots from the top, not the bottom */
img[src$="ed-ledge.jpg"], img[src$="ed-stonewall.jpg"], img[src$="ed-floor.jpg"],
img[src$="ayo-pleats.jpg"], img[src$="ayo-pool.jpg"], img[src$="gs-arrival.jpg"] { object-position: 50% 100%; }
.pair.natural { align-items: end; }
.pair.natural img { aspect-ratio: auto; height: auto; }
img[src$="sf-run.jpg"] { object-position: 50% 0; }
img[src$="ayo-pool.jpg"] { object-position: 50% 35%; }
img[src$="mk-wade.jpg"] { object-position: 50% 70%; }

/* filters: hidden cards must stay hidden */
[hidden] { display: none !important; }

/* phones and narrow windows: three-frame series stack full width */
@media (max-width: 820px) { .series.three { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* case head without the back link: a bit more air under the header; facts 2x2 on phones */
.case-head { padding-top: 56px; }
@media (max-width: 820px) { .case-head { padding-top: 36px; } }
@media (max-width: 560px) { .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 32px; } }

/* phones and narrow windows: every case grid goes one frame per row, full width */
@media (max-width: 820px) {
  .pair, .pair.three, .series, .series.three, .story, .results, .results.two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .story { gap: 24px; }
}

/* Good Story "The day" stays two per row on phones */
@media (max-width: 820px) { .story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; } .story figcaption { font-size: 13px; } }
.contact h2 { margin-top: 0; }
.contact .contact-mail-small { font-size: 17px; margin-top: 24px; }
.contact .contact-mail-small a { color: var(--dark-ink); text-decoration: underline; text-decoration-color: var(--dark-muted); text-underline-offset: 5px; }
.contact .contact-mail-small a:hover { text-decoration-color: var(--dark-ink); }

/* contact block: plain links instead of buttons */
.contact-links { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-links li { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: baseline; }
.contact-links span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); }
.contact-links a { justify-self: start; font-size: clamp(20px, 2vw, 26px); color: var(--dark-ink); text-decoration: underline; text-decoration-color: var(--dark-muted); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-links a:hover { text-decoration-color: var(--dark-ink); }
@media (max-width: 560px) { .contact-links li { grid-template-columns: 56px minmax(0, 1fr); } .contact-links a { font-size: 19px; } }
@media (max-width: 560px) { .contact-links li { grid-template-columns: 68px minmax(0, 1fr); } }

/* contact page */
.contact-brief { margin: 28px 0 0; font-size: 15px; }
.contact-brief a { color: var(--dark-muted); text-decoration: none; }
.contact-brief a:hover { color: var(--dark-ink); }
.contact-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; border-top: 1px solid var(--ink); padding-top: 32px; }
.contact-direct { grid-column: 1 / span 4; }
.brief { grid-column: 6 / -1; max-width: 680px; }
.contact-links.light { margin-top: 0; }
.contact-links.light span { color: var(--muted); }
.contact-links.light a { color: var(--ink); text-decoration-color: var(--line); }
.contact-links.light a:hover { text-decoration-color: var(--ink); }
.brief form { display: grid; gap: 28px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label i { font-style: normal; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 18px/1.4 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; outline: none; appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #A7A39C; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field select { cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E1C19' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; }
.field select:invalid { color: #A7A39C; }
.field textarea { resize: vertical; min-height: 110px; }
.brief .btn { justify-self: start; min-width: 160px; }
.hp { position: absolute; left: -9999px; }
.brief-error { margin: 0; font-size: 15px; color: #9A3B2B; }
.brief-done-title { margin: 0 0 8px; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.brief-done p:not(.brief-done-title) { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .contact-direct, .brief { grid-column: 1 / -1; }
  .brief { max-width: none; }
}

/* contacts: small, in one row (dark block); the contact page keeps them stacked in its side column */
.contact-links a { font-size: 17px; text-underline-offset: 5px; }
.contact .contact-links { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 32px; }
.contact .contact-links li { display: flex; align-items: baseline; gap: 12px; }
.contact-links.light li { grid-template-columns: 64px minmax(0, 1fr); }
@media (max-width: 560px) { .contact-links a { font-size: 17px; } .contact .contact-links { gap: 12px 28px; } }
.contact .contact-brief { margin: 24px 0 0; font-size: 15px; }
.field select:has(option[value=""]:checked) { color: #A7A39C; }
.contact .brief-link { color: var(--dark-ink); text-decoration: underline; text-decoration-color: var(--dark-muted); text-underline-offset: 4px; white-space: nowrap; }
.contact .brief-link:hover { text-decoration-color: var(--dark-ink); }

/* contacts with line icons, smaller text */
.contact-links a { font-size: 15px; text-underline-offset: 4px; }
.contact-links .ic { display: inline-flex; width: 16px; height: 16px; align-self: center; color: var(--dark-muted); }
.contact-links .ic svg { width: 16px; height: 16px; display: block; }
.contact .contact-links li { gap: 10px; align-items: center; }
.contact .contact-links { gap: 12px 32px; }
.contact-links.light li { grid-template-columns: 26px minmax(0, 1fr); align-items: center; }
.contact-links.light .ic { color: var(--muted); }
@media (max-width: 560px) { .contact-links a { font-size: 15px; } .contact-links.light li { grid-template-columns: 26px minmax(0, 1fr); } }

/* contacts inside the About facts */
.contact-links.inline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.contact-links.inline li { display: flex; align-items: center; gap: 8px; }

/* contact page: form on the left, direct contacts on the right (desktop); phones keep contacts first */
@media (min-width: 901px) {
  .brief { grid-column: 1 / span 7; grid-row: 1; max-width: 680px; }
  .contact-direct { grid-column: 9 / -1; grid-row: 1; }
}

/* form: labels and field text one size */
.field label { font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.field input, .field select, .field textarea { font-size: 15px; padding: 8px 0; }
.field { gap: 4px; }
.brief form { gap: 24px; }
@media (max-width: 820px) { .field label, .field input, .field select, .field textarea { font-size: 16px; } }

/* form, take 2: labels back to the small caps; field text and hints at the same 12px (phones need 16px in fields) */
.field label { font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.field input, .field select, .field textarea { font-size: 12px; letter-spacing: .02em; padding: 8px 0; }
@media (max-width: 820px) { .field label { font-size: 12px; } .field input, .field select, .field textarea { font-size: 16px; } }

/* draft placeholders (visible): grey shapes that say what goes there */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: var(--paper-2); border: 1px dashed #C9C5BD; color: var(--muted); font-size: 14px; line-height: 1.4; }
.ph span { max-width: 26ch; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-square { aspect-ratio: 1 / 1; }
.card-media .ph { width: 100%; aspect-ratio: 4 / 5; }
.ph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.block .wide > .ph { width: 100%; }
.delivered { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; font-size: 18px; }
.delivered li { padding: 10px 0; border-top: 1px solid var(--line); break-inside: avoid; }
@media (max-width: 820px) { .ph-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .delivered { columns: 1; } }

/* Deck slideshow (case pages): pages of a presentation in one frame */
.deck { margin: 24px 0 0; max-width: max(320px, calc((100svh - 150px) * 1800 / 1273)); }
.deck-frame { position: relative; aspect-ratio: 1800 / 1273; border: 1px solid var(--line); background: var(--paper-2); overflow: hidden; cursor: pointer; }
.deck-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.deck-frame img.is-on { visibility: visible; }
.deck figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.deck-ui { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.deck-ui button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 6px 8px; cursor: pointer; }
.deck-ui button:hover { color: var(--muted); }
.deck-ui button:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.deck-count { font-variant-numeric: tabular-nums; min-width: 5.5ch; text-align: center; }
.deck-toggle { margin-left: 8px; min-width: 6ch; }
@media (max-width: 820px) { .deck figcaption { flex-direction: column; align-items: flex-start; gap: 4px; } .deck-ui { margin-left: -8px; } }

/* Nav links slightly flattened (about 90% height), per the reference */
.nav a:not(.btn) { display: inline-block; transform: scaleY(.9); }

/* Home: "More work" links under the latest projects */
.more-work { margin-top: 96px; }
.more-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.more-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 24px 0 4px; border-top: 1px solid var(--ink); text-decoration: none; }
.mw-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.035em; }
.mw-n { flex: none; font-size: 14px; color: var(--muted); }
.more-links a:hover .mw-title { opacity: .6; }
@media (max-width: 820px) {
  .more-work { margin-top: 64px; }
  .more-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .more-links a { padding: 20px 0; }
  .more-links a + a { border-top-color: var(--line); }
}

/* ---------- Home hero, centred version (Oct 27). Rollback: HERO = "left" in build_site.py ---------- */
@font-face { font-family: 'Inter Tight'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-latin-wght-italic.woff2) format('woff2'); }
.hero-c { padding-top: 60px; padding-bottom: 40px; text-align: center; }
.hero-c-title { margin: 0; line-height: 1; }
.hero-c-title > span { display: block; white-space: nowrap; }
.hero-c-title { --hc1: min(5.6vw, 140px); }
.hc-1 { font-size: var(--hc1); letter-spacing: -.035em; }
.hc-2 { font-size: calc(var(--hc1) * .705); font-style: italic; font-weight: 200; letter-spacing: -.02em; margin-top: .06em; }
@media (max-width: 820px) { .hero-c { padding-top: 48px; padding-bottom: 44px; } .hc-1 { font-size: calc((100vw - 40px) / 8.9); letter-spacing: -.02em; } .hc-2 { font-size: calc((100vw - 40px) / 12.1); } }
@media (max-width: 820px) { .intro { grid-template-columns: minmax(0, 1fr); } }

/* Contact links read as plain text; the underline appears on hover and keyboard focus */
.contact-links a, .contact-links.light a { text-decoration-color: transparent; transition: text-decoration-color .15s; }
.contact-links a:hover, .contact-links a:focus-visible { text-decoration-color: currentColor; }

/* About: no "About" eyebrow, so the heading starts level with the photo */
.about-text h1 { margin-top: 0; }

/* Card captions (Oct 27): same fonts, name · sector larger, bigger gap, role smaller */
.cap-type { font-size: 14px; }
.cap-sector { font-size: 15px; }
.cap-role, .work-grid.big .cap-role { margin-top: 4px; font-size: 13px; }
@media (max-width: 560px) { .cap-role { font-size: 13px; } }

/* Good Story: shot list pages as a grid, 3 per row (2 on phones) */
.deck-grid { margin: 24px 0 0; }
.deck-grid-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deck-grid-items img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.deck-grid figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .deck-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pair-cap { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* Saule: positioning tile next to the photos, before/after grids */
.pos-tile { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.4vw, 36px); background: var(--ink); color: #F3F1EC; }
.pos-tile .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 241, 236, .55); }
.pos-tile p { margin: 0; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
.ba { max-width: 920px; }
@media (max-width: 820px) { .pos-tile p { font-size: 30px; } }

/* Saule: Point A -> Point B cards, 2-up moodboard frames */
.ab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 0; }
.ab > div { padding: 24px 28px 20px; background: var(--paper-2); }
.ab > .ab-b { background: var(--ink); color: #F3F1EC; }
.ab .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ab .ab-b .k { color: rgba(243, 241, 236, .55); }
.ab ul { list-style: none; margin: 14px 0 0; padding: 0; font-size: 16px; line-height: 1.45; }
.ab li { padding: 9px 0; border-top: 1px solid var(--line); }
.ab .ab-b li { border-top-color: rgba(243, 241, 236, .18); }
.block .ab-note { margin-top: 16px; font-size: 16px; }
.deck-grid.two .deck-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .ab { grid-template-columns: minmax(0, 1fr); } .ab > div { padding: 20px; } .deck-grid.two .deck-grid-items { grid-template-columns: minmax(0, 1fr); } }
img[src$="dv-crouch.jpg"] { object-position: 50% 85%; }

/* Hey Buddy: palette swatches */
.swatches { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.swatches li { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.swatches .sw { display: block; aspect-ratio: 3 / 4; border: 1px solid var(--line); margin-bottom: 6px; }
.swatches .sw-name { color: var(--ink); }
.swatches .sw-hex { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-photo img { aspect-ratio: auto; height: auto; }   /* whole photo, no crop */

/* Home About: "More about me" moved from the section head to the bottom left, under the lead */
.intro-lead { grid-row: 1; }
.intro-side { grid-row: 1 / span 2; }
.intro-more { grid-column: 1 / span 7; grid-row: 2; align-self: end; justify-self: start; font-size: 18px; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .15s; }
.intro-more:hover, .intro-more:focus-visible { text-decoration-color: currentColor; }
@media (max-width: 900px) { .intro-lead, .intro-side, .intro-more { grid-row: auto; grid-column: 1 / -1; } }

/* Home About on phones: the lead is the accent, not the same size as the lists */
@media (max-width: 560px) { .intro-lead { font-size: 33px; line-height: 1.08; letter-spacing: -.035em; } }

/* Phones: a single floating "Start a project" button, bottom left (the Netlify badge sits bottom right) */
@media (max-width: 900px) {
  /* white bar as before; one button on the left half, the right half stays free for the Netlify badge */
  .mbar { display: flex; }
  .mbar .btn { flex: 0 0 calc(50% - 5px); }
}

/* ---------- Home hero, statement version (Oct 30). Rollback: HERO = "centered" in build_site.py ---------- */
.hero-s { padding-top: 64px; padding-bottom: 72px; text-align: center; }
.hero-s-title { margin: 0; font-size: min(5.6vw, 120px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero-s-title > span { display: block; white-space: nowrap; }
@media (max-width: 820px) {
  .hero-s { padding-top: 40px; padding-bottom: 48px; }
  .hero-s-title { font-size: 34px; line-height: 1.06; }
  .hero-s-title > span { display: inline; white-space: normal; }
  .hero-s-title > span:first-child { display: block; }
}

/* Statement hero, left-aligned (Oct 30); phones keep the same three lines, sized to fit */
@media (max-width: 820px) {
  .hero-s { text-align: left; }   /* centred on desktop, left on phones */
  .hero-s-title { font-size: min(36px, calc((100vw - 34px) / 10.1)); line-height: 1.02; }
  .hero-s-title > span { display: block; white-space: nowrap; }
}
@media (min-width: 821px) { .hero-s { padding-top: 40px; padding-bottom: 44px; } }   /* desktop: less air around the statement */
