/* Bundled by scripts/build-css.mjs from css/parts/ — edit partials only. */

/*
   Source slice from former monolithic style.css
   Fonts: loaded via index head <link>s (see HTML), not @import.
*/
/*
  ══════════════════════════════════════════════════
  MAXIMILIAN LAUTER — DESIGN SYSTEM
  Last updated: 2026-05
  ══════════════════════════════════════════════════

  TYPE SCALE (strictly 5 levels)
  ─────────────────────────────────────────────────
  Display   EB Garamond  fluid 45–80px   h1.t-display (every primary hero page title)
  Headline  EB Garamond  fluid 27–42px   h2.section-headline, block quotes (no lone h1+section-headline — use visually hidden doc h1 + h2.section-headline)
  Body      Inter        16px / 1.75     <p>
  Small     Inter        14px / 1.65     descriptions, bios, list items
  Label     Inter        11px / 500      eyebrows, meta, tags (uppercase)

  COLOR TOKENS
  ─────────────────────────────────────────────────
  Brand primaries:
  Moon White — #fcfcf0   page background (--bg)
  Midnight Black — #000000   primary text (--text)
  Golden Hour — #cfa847   accents, highlights, buttons (--accent)
  Golden Hour (links) — #b8902c   in-copy hyperlinks on cream (--accent-link)

  Supporting:
  --muted   rgba(0,0,0,0.56)   secondary / subdued text on light
  --line    #e5dcd0   borders and dividers
  --soft    #f4efdc   cream fills, image placeholders, practice-area cards on moon white
  --soft-deep #ece0c2   deeper cream (accent bands elsewhere)

  SPACING TOKENS
  ─────────────────────────────────────────────────
  --nav-h       56px   sticky nav bar height
  --max-w       1160px container max width
  --pad-x       clamp(24px, 5vw, 72px)
  --gap-section clamp(72px, 10vw, 128px)
  ══════════════════════════════════════════════════
*/


/*
   Source slice from former monolithic style.css
   Fonts: loaded via index head <link>s (see HTML), not @import.
*/
/* ── Reset ─────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ─────────────────────────────────────── */

:root {
  --bg:     #fcfcf0;
  --text:   #000000;
  --muted:  rgba(0, 0, 0, 0.56);
  --line:   #e5dcd0;
  --accent: #cfa847;
  --accent-link: #b8902c; /* deeper gold for text links on cream (--accent stays for UI) */
  --soft:       #f4efdc;
  --soft-deep:  #ece0c2;

  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h:       56px;
  --max-w:       1160px;
  --pad-x:       clamp(24px, 5vw, 72px);
  --gap-section: clamp(72px, 10vw, 128px);
  --work-index-label-w: 11rem;
  --work-index-rail-gap: clamp(12px, 2vw, 20px);
  --layout-content-pad: clamp(36px, 6vw, 88px);
}

/* ── Base ───────────────────────────────────────── */

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Sticky “Let’s connect” footer: fills viewport height on short pages without affecting long pages */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header.site-nav {
  flex-shrink: 0;
}

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-section.contact-section--site-footer {
  margin-top: auto;
}

/* Work index: sticky strip + filters sit above `<main>`; group them so `#contact` can pin to viewport bottom */
.work-page .work-page-shell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.work-page .work-page-sticky-scope {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  /* Paint above masonry (DOM order would otherwise paint #project-grid on top while sticky settles). Stay below `.site-nav` (z-index 100). */
  z-index: 40;
}

.work-page .work-page-shell .work-index-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 0;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--accent); }

/* ── TYPE SCALE ─────────────────────────────────── */

/* Display — EB Garamond, fluid 45–80px — use on every primary page h1 */
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Headline — EB Garamond, fluid 27–42px (section headings: always h2.section-headline) */
.t-headline,
h2.section-headline,
p.practice-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.625rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}

#practice .practice-lede .practice-lede-follow,
.hero.hero--split .hero-split__content .practice-lede .practice-lede-follow,
.area-band .area-split__copy .practice-lede-follow {
  font-family: var(--font-serif);
  /* Fallback when container query length units unsupported: vmin tracks “narrow” dimension a bit better than vw-only */
  font-size: clamp(1rem, calc(0.78rem + 1.95vmin), 1.8125rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* Practice intro text in hero (when present): same serif scale as `.practice-lede-follow` */
.hero.hero--split .hero-split__intro .practice-intro-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, calc(0.78rem + 1.95vmin), 1.8125rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* Prefer container inline size (% of split copy pane) → smooth scaling in two-column layout */
@supports (font-size: 1cqi) {
  #practice .practice-lede .practice-lede-follow,
  .hero.hero--split .hero-split__content .practice-lede .practice-lede-follow,
  .area-band .area-split__copy .practice-lede-follow {
    font-size: clamp(1rem, calc(0.75rem + 2.05cqi), 1.8125rem);
    line-height: 1.38;
  }

  /* Same serif scale axis in homepage hero intros */
  .hero.hero--split .hero-split__intro .practice-intro-text {
    font-size: clamp(1rem, calc(0.75rem + 2.05cqi), 1.8125rem);
    line-height: 1.38;
  }
}

/* Body — Inter, 16px */
p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

/* Small — Inter, 14px; use for descriptions, bios, list items */
.t-small {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Label — Inter, 11px, 500, uppercase */
.t-label,
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Layout ─────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--gap-section) 0;
}

.section-border {
  border-top: 1px solid var(--line);
}

/* Anchored sections need clearance for sticky nav */
section[id] {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

#about.practice-lede {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  nav,
  .nav-toggle,
  .practice-jump-strip,
  .work-filter-bar,
  .work-initiatives-sticky-stack,
  .case-carousel,
  video,
  .hero-split__media,
  .hero-full-bleed,
  .footer-contact,
  .project-case-related {
    display: none !important;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #555;
  }
}

/*
   Source slice from former monolithic style.css
   Fonts: loaded via index head <link>s (see HTML), not @import.
*/
/* ══════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════
   Desktop: 2-col grid like .hero-split — name in first column (padded), Practice…Book in second
   column · links flex-start so Practice lines up with hero image / .hero-split__media left edge.
   Mobile (≤720px): name + toggle; overlay links use Inter.
   ══════════════════════════════════════════════════ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: visible;
}

.nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: var(--nav-h);
  position: relative;
  display: block;
}

.nav-name {
  position: absolute;
  top: 50%;
  left: var(--layout-content-pad);
  z-index: 160;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
  flex-shrink: 0;
}

.nav-name:hover { color: var(--text); }

.nav-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 160;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nav-menu .nav-links {
  pointer-events: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.15s, font-size 0.22s ease, letter-spacing 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 1.45em;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.73em var(--accent);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease, font-size 0.22s ease, letter-spacing 0.22s ease, box-shadow 0.22s ease;
}

.nav-links a.nav-book {
  color: var(--bg);
}

.nav-book:hover,
.nav-book.active,
.nav-links a.nav-book.nav-book:hover,
.nav-links a.nav-book.nav-book.active {
  color: var(--bg);
}

.nav-book:hover {
  opacity: 0.9;
}

@media (min-width: 721px) {
  /* ── Desktop: stable 50/50 grid (matches hero-split). Links right-anchor in col 2 and compress leftward. ── */
  /* True 50/50 of full bar width — must NOT pad nav-inner horizontally or "1fr" is < half the viewport vs .hero-split. */
  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 0;
    padding-left: 0;
    padding-right: 0;
    min-height: var(--nav-h);
  }

  .nav-name {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    padding-left: var(--layout-content-pad);
    flex: unset;
    min-width: 0;
  }

  .nav-menu {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: center;
    min-width: 0;
    width: auto;
    flex: unset;
    pointer-events: auto;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  }

  .nav-menu .nav-links {
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(6px, 1.4vw, 28px);
    min-width: 0;
    transition: gap 0.22s ease;
  }

  .nav-menu .nav-links > li {
    flex-shrink: 0;
  }

  .nav-links a:not(.nav-book) {
    font-size: clamp(0.5625rem, 0.35rem + 0.45vw, 0.6875rem);
    letter-spacing: clamp(0.05em, 0.03em + 0.06vw, 0.09em);
  }

  .nav-links a.nav-book {
    font-size: clamp(0.5625rem, 0.35rem + 0.45vw, 0.6875rem);
    letter-spacing: clamp(0.05em, 0.03em + 0.06vw, 0.09em);
    box-shadow: 0 0 0 clamp(0.32em, 0.2em + 0.35vw, 0.73em) var(--accent);
  }
}

/* Narrow desktop: ellipsis long name only — never change grid columns (that shifts link position). */
@media (min-width: 721px) and (max-width: 1100px) {
  .nav-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links a.nav-book {
    color: var(--bg);
  }
}

/* Last-resort inline compress (JS keeps this on only while links still fit) */
@media (min-width: 721px) {
  .site-nav.site-nav--compress:not(.site-nav--menu-fallback) .nav-menu .nav-links {
    gap: 6px;
  }

  .site-nav.site-nav--compress:not(.site-nav--menu-fallback) .nav-links a:not(.nav-book) {
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
  }

  .site-nav.site-nav--compress:not(.site-nav--menu-fallback) .nav-book {
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
    padding: 0 1.15em;
    box-shadow: 0 0 0 0.32em var(--accent);
  }
}

/* Desktop overflow fallback — overlay menu; bar keeps same 50/50 grid so nothing jumps */
@media (min-width: 721px) {
  .site-nav.site-nav--menu-fallback .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 160;
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    justify-self: end;
    align-self: center;
    margin-left: 0;
    margin-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  }

  .site-nav.site-nav--menu-fallback .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 140;
    pointer-events: none;
    transform: none;
    grid-column: 2;
    grid-row: 1;
    padding-right: 0;
    min-width: 0;
    width: auto;
    display: block;
    justify-content: unset;
  }

  .site-nav.site-nav--menu-fallback .nav-links {
    pointer-events: none;
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    gap: clamp(14px, 3.8vw, 24px);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(var(--nav-h) + 16px) var(--pad-x)
      max(28px, calc(20px + env(safe-area-inset-bottom, 0px)));
    list-style: none;
    border: none;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease;
  }

  .site-nav.site-nav--menu-fallback .nav-links.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }

  .site-nav.site-nav--menu-fallback .nav-links li {
    width: 100%;
  }

  .site-nav.site-nav--menu-fallback .nav-links a {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 6.8vw, 2.125rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.15;
    padding: 2px 0;
    text-transform: uppercase;
  }

  .site-nav.site-nav--menu-fallback .nav-links a.nav-book {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    margin-left: auto;
    margin-right: 0;
    padding: 10px 22px;
    box-shadow: none;
    font-size: clamp(1.35rem, 6.8vw, 2.125rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    background: var(--accent);
    color: var(--bg);
    border-radius: 999px;
  }
}

.nav-toggle {
  order: 4;
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text);
  line-height: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.nav-toggle-icon--menu,
.nav-toggle-icon--close {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  flex-shrink: 0;
}

.nav-toggle-icon--menu {
  width: 22px;
  height: 14px;
}

.nav-toggle-icon--close {
  width: 22px;
  height: 22px;
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon--menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon--close {
  display: block;
}

body.nav-menu-open {
  overflow: hidden;
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */

.hero {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.hero.hero--split {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  min-height: clamp(380px, calc(100svh - var(--nav-h)), 920px);
}

.hero-split__media {
  position: relative;
  min-height: min(72vh, 820px);
  background-color: var(--soft);
}

.hero-split__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-split__content {
  container-type: inline-size;
  container-name: hero-split-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 96px) var(--layout-content-pad);
  background: var(--bg);
  border-right: 1px solid var(--line);
}

.hero-split__title {
  margin: 0;
  max-width: 12em;
  font-weight: 500;
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-split__title-lead {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-split__media {
    order: -1;
    min-height: min(46vh, 400px);
  }

  .hero-split__content {
    padding: clamp(32px, 7vw, 56px) var(--pad-x) clamp(48px, 10vw, 80px);
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .hero-split__title {
    max-width: none;
  }

  .hero-split__title-lead {
    white-space: normal;
  }
}

.hero:not(.hero--split) .t-display {
  max-width: 16em;
}

/* Headline after hero image */
.hero .container > .hero-images + .t-display {
  margin-top: clamp(28px, 4vw, 40px);
  margin-bottom: 0;
}

/* Headline before images (if order is reversed) */
.hero .container > .t-display + .hero-images {
  margin-top: clamp(32px, 5vw, 48px);
}

/* ── Hero editorial images ── */
.hero-images {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 14px;
  margin-top: clamp(48px, 7vw, 80px);
}

.hero .container > .hero-images:first-child {
  margin-top: 0;
}

.hero-images--single {
  grid-template-columns: 1fr;
}

.img-block {
  background-color: var(--soft);
  border-radius: 2px;
  overflow: hidden;
}

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 620px);
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════
   PRACTICE GRID
   ══════════════════════════════════════════════════ */

/* Homepage — practice intro split (showcase left, copy right; height matches hero) */
#practice.section {
  padding-top: 0;
  padding-bottom: 0;
}

.practice-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  min-height: clamp(380px, calc(100svh - var(--nav-h)), 920px);
}

.practice-split__content {
  container-type: inline-size;
  container-name: practice-split;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: clamp(40px, 7vw, 96px) clamp(36px, 6vw, 88px);
  background: var(--soft);
  border-left: 1px solid var(--line);
}
.practice-split__content-inner {
  width: 100%;
  max-width: none;
}

.practice-split__media {
  position: relative;
  min-height: clamp(380px, calc(100svh - var(--nav-h)), 920px);
  background: var(--soft);
}

.practice-showcase {
  position: absolute;
  inset: 0;
}

.practice-showcase__slide {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.practice-showcase__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.practice-showcase__slide:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  z-index: 2;
}

.practice-showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.practice-showcase__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: var(--pad-x);
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* Homepage — practice jump nav (sticky) + alternating area bands */
.home-practice-scope {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.practice-jump-strip-sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 45;
  width: 100%;
  container-type: inline-size;
  container-name: practice-jump-strip;
  border-bottom: 1px solid transparent;
  background: var(--soft);
  --practice-jump-label-size: clamp(0.875rem, 0.4rem + 8cqi, 4.375rem);
}

.practice-jump-strip-sticky.is-pinned {
  border-bottom-color: var(--line);
  padding-block: clamp(6px, 1vw, 10px);
  padding-inline: var(--layout-content-pad);
}

.practice-jump-strip-sticky.is-pinned .practice-jump-strip__list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  row-gap: 0;
  column-gap: clamp(14px, 2.2vw, 32px);
  align-items: center;
}

@media (max-width: 720px) {
  .practice-jump-strip-sticky.is-pinned .practice-jump-strip__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: clamp(2px, 0.7vw, 5px);
    column-gap: clamp(8px, 2.4vw, 14px);
  }
}

/* Pinned bar: strip chrome only — label typography inherits base .practice-jump-strip__* rules */
.practice-jump-strip-sticky.is-pinned .practice-jump-strip__link {
  height: auto;
  min-height: 0;
  padding-block: clamp(4px, 0.9vw, 8px);
  padding-inline: clamp(2px, 1cqi, 6px);
}

.practice-jump-split__tiles-pane {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding-block: clamp(40px, 7vw, 88px);
  padding-inline: var(--layout-content-pad);
  background: var(--soft);
  border-right: none;
  min-height: 0;
}

/* 4-up hero strip: tighter vertical rhythm + larger type on narrow tiles */
@media (min-width: 1181px) {
  .practice-jump-strip-sticky:not(.is-pinned) {
    padding-block: clamp(22px, 3.5vw, 48px);
  }

  .practice-jump-strip-sticky:not(.is-pinned) .practice-jump-strip__link {
    padding-block: clamp(4px, 0.9vw, 8px);
  }

  @container jump-tile (max-width: 22rem) {
    .practice-jump-strip-sticky:not(.is-pinned) .practice-jump-strip__link {
      padding-block: clamp(4px, 0.9vw, 8px);
    }
  }
}

/* Area-band audience labels use global `.eyebrow` (standard label tier). */
.area-band .area-split__copy .item-for.eyebrow {
  display: block;
  margin-bottom: clamp(24px, 4.75vw, 44px);
  margin-top: 0;
}

.practice-jump-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.practice-jump-split__tiles-pane .practice-jump-strip__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(14px, 2.2vw, 32px);
  row-gap: 0;
  align-items: center;
}

@media (max-width: 1180px) {
  .practice-jump-split__tiles-pane {
    padding-block: clamp(28px, 5vw, 56px);
  }

  .practice-jump-strip__link {
    padding-block: clamp(1px, 0.5vw, 5px);
    padding-inline: clamp(2px, 1cqi, 6px);
  }
}

@media (max-width: 720px) {
  .practice-jump-strip-sticky.practice-jump-split__tiles-pane {
    padding-block: clamp(8px, 2vw, 12px);
    padding-inline: clamp(12px, 3vw, 20px);
  }

  .practice-jump-split__tiles-pane .practice-jump-strip__list {
    column-gap: clamp(4px, 1.2vw, 8px);
  }

  /* Mobile: 3 over 2 grid (pinned + unpinned) */
  .practice-jump-strip-sticky .practice-jump-strip__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: clamp(2px, 0.7vw, 5px);
    column-gap: clamp(8px, 2.4vw, 14px);
  }

  .practice-jump-strip-sticky .practice-jump-strip__item:nth-child(1) {
    grid-column: 1 / span 2;
  }

  .practice-jump-strip-sticky .practice-jump-strip__item:nth-child(2) {
    grid-column: 3 / span 2;
  }

  .practice-jump-strip-sticky .practice-jump-strip__item:nth-child(3) {
    grid-column: 5 / span 2;
  }

  .practice-jump-strip-sticky .practice-jump-strip__item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .practice-jump-strip-sticky .practice-jump-strip__item:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .practice-jump-strip-sticky .practice-jump-strip__link,
  .practice-jump-strip-sticky.is-pinned .practice-jump-strip__link {
    font-size: max(0.75rem, var(--practice-jump-label-size));
    padding-block: clamp(1px, 0.45vw, 4px);
    padding-inline: clamp(2px, 0.8cqi, 6px);
  }
}

@media (max-width: 560px) {
  .practice-jump-strip__link {
    padding-inline: clamp(2px, 0.8cqi, 4px);
  }
}

.practice-jump-strip__item {
  container-type: inline-size;
  container-name: jump-tile;
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  overflow: visible;
}

.practice-jump-strip__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  min-width: 0;
  padding: clamp(8px, 1.6vw, 14px) clamp(2px, 1cqi, 8px);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: color 0.18s ease, opacity 0.12s ease;
  font-size: var(--practice-jump-label-size);
  text-align: center;
  line-height: 1.06;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.practice-jump-strip__label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1em;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: inherit;
  white-space: normal;
  text-align: center;
  overflow: visible;
}

.practice-jump-strip__label-line,
.practice-jump-strip__label-line1 {
  display: block;
  white-space: nowrap;
  line-height: 1.06;
}

@supports not (font-size: 1cqi) {
  .practice-jump-strip-sticky {
    --practice-jump-label-size: clamp(0.75rem, 2.8vw, 4.375rem);
  }

  @media (max-width: 720px) {
    .practice-jump-strip-sticky {
      --practice-jump-label-size: clamp(0.625rem, 3.4vw, 2.5rem);
    }
  }

  @media (max-width: 560px) {
    .practice-jump-strip-sticky {
      --practice-jump-label-size: clamp(0.5625rem, 3.8vw, 1.375rem);
    }
  }
}

.practice-jump-strip__link:hover:not(.is-current),
.practice-jump-strip__link:focus-visible:not(.is-current) {
  color: var(--text);
}

.practice-jump-strip__link:active {
  opacity: 0.72;
}

/* Scroll-spy: active strand full black; others dim only while one is active */
.practice-jump-strip__link.is-current,
.practice-jump-strip__link.is-current:hover,
.practice-jump-strip__link.is-current:focus-visible {
  color: var(--text);
}

.practice-jump-strip__list:has(.is-current) .practice-jump-strip__link:not(.is-current) {
  color: rgba(0, 0, 0, 0.44);
}

.practice-jump-strip__list:has(.is-current) .practice-jump-strip__link:not(.is-current):hover,
.practice-jump-strip__list:has(.is-current) .practice-jump-strip__link:not(.is-current):focus-visible {
  color: var(--text);
}

.practice-jump-strip__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.area-band.section {
  padding-top: 0;
  padding-bottom: 0;
}

.area-band[class*="area-band--"].section.section-border {
  border-top-width: 0;
}

.area-band[class*="area-band--"].section.section-border + .area-band.section.section-border {
  border-top-width: 0;
}

#area-strategic.area-band.section.section-border {
  border-top-width: 0;
}

.area-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media copy";
  align-items: stretch;
  width: 100%;
  min-height: clamp(360px, calc(92svh - var(--nav-h)), 840px);
}

.area-band--media-right .area-split {
  grid-template-areas: "copy media";
}

.area-split__media {
  grid-area: media;
  position: relative;
  min-height: clamp(340px, 56svh, 720px);
  background: var(--soft);
}

.area-split__copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 96px) clamp(36px, 6vw, 88px);
  background: var(--bg);
  container-type: inline-size;
  container-name: area-split-copy;
}

.area-band--media-left .area-split__copy {
  border-left: 1px solid var(--line);
}

.area-band--media-right .area-split__copy {
  border-right: 1px solid var(--line);
}

.area-split__inner {
  width: 100%;
  max-width: 36rem;
}

/* Strand titles: ~32px+ fluid (overrides `.offer-card__heading` in copy column) */
.home-practice-scope .area-band .area-split__copy h2.area-split__heading {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.48rem + 2vw, 2.8125rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--text);
}

#area-strategic,
#area-embodiment,
#area-art,
#area-sonic,
#area-teaching {
  scroll-margin-top: calc(var(--nav-h) + var(--practice-jump-strip-h, 190px) + 16px);
}

@media (max-width: 1024px) {
  .practice-jump-split__tiles-pane {
    padding-block: clamp(36px, 7vw, 72px);
    padding-inline: var(--pad-x);
  }

  .area-split {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
    min-height: 0;
  }

  .area-band--media-right .area-split {
    grid-template-areas: "media" "copy";
  }

  .area-split__media {
    min-height: min(46vh, 420px);
  }

  .area-band--media-left .area-split__copy,
  .area-band--media-right .area-split__copy {
    border: none;
    border-top: 1px solid var(--line);
    padding: clamp(32px, 7vw, 56px) var(--pad-x) clamp(48px, 10vw, 80px);
  }

  #area-sonic.area-band.section.section-border,
  #area-teaching.area-band.section.section-border {
    border-bottom-width: 1px;
  }

  .practice-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .practice-split__media {
    order: -1;
    min-height: min(46vh, 400px);
  }

  .practice-split__content {
    padding: clamp(32px, 7vw, 56px) var(--pad-x) clamp(48px, 10vw, 80px);
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .practice-split__content-inner {
    max-width: none;
  }

  #practice .practice-intro {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-showcase__slide {
    transition: none;
  }

  .practice-jump-strip__link {
    transition: none;
  }

  .maps-embed-spinner {
    animation: none;
  }
}

/* Practice intro block (headline tier + supporting lines with links) */
.practice-intro {
  margin: 0 0 52px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#practice .practice-intro {
  margin-bottom: 0;
}

.section-top + .practice-intro .practice-quote {
  margin-top: 0;
}

p.practice-quote {
  margin: 0;
}

.practice-intro .practice-quote {
  max-width: 34em;
}

.practice-lede {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.practice-lede .practice-lede-follow {
  margin: 0;
  max-width: 34em;
}

#practice .practice-lede .practice-lede-follow {
  max-width: none;
}

.practice-lede .about-bio {
  margin-top: 0;
}

/* Column flex uses align-items: stretch; links would span full width → underline runs full column */
.practice-lede > .link-arrow {
  align-self: flex-start;
  width: fit-content;
}

.practice-intro-text {
  max-width: 42em;
  margin: 0;
}

.practice-intro-text:last-of-type {
  margin-bottom: 0;
}

.practice-intro-link {
  color: var(--accent-link);
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s;
}

/* Homepage: practice band — cream field (--soft); moon-white cards use --bg on links */
.home-practice-scope {
  background: var(--soft);
}

.hero.hero--split .hero-split__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: clamp(0.5rem, 1.8vw, 1.125rem);
  max-width: 42rem;
}

.hero.hero--split .hero-split__intro-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-self: flex-start;
}

.hero-cta-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: var(--accent-link);
  white-space: nowrap;
  transition: opacity 0.15s;
}

.hero-cta-link:hover {
  color: var(--accent-link);
  opacity: 0.65;
}

.hero.hero--split .hero-split__intro .practice-intro-text:last-of-type,
.hero.hero--split .hero-split__intro .practice-lede-follow,
.area-band .area-split__copy .practice-lede-follow {
  margin: 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

/* Homepage practice grid: collapsible stacks (title row + caret; body in disclosure panel) */
.home-practice-scope .practice-grid {
  gap: clamp(16px, 2.2vw, 24px);
  padding-top: clamp(12px, 2vw, 20px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  border-top: none;
}

.home-practice-scope .practice-grid > .practice-item--disclosure {
  min-width: 0;
  padding: 0;
  border-right: none;
  border-bottom: none;
}

/* Offer-booking–style tiles: square media + rounded card chrome (mirrors `#book .offer-card`) */
.home-practice-scope .practice-item--disclosure .practice-item__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 14px;
  overflow: clip;
}

.home-practice-scope .practice-item__summary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  list-style: none;
  text-align: left;
  border: none;
}

.home-practice-scope .practice-item__summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 14px);
  min-width: 0;
  margin-top: clamp(14px, 2vw, 18px);
}

.home-practice-scope .practice-item__details[open] .practice-item__summary {
  padding-bottom: 0;
}

.home-practice-scope .practice-item__summary::-webkit-details-marker {
  display: none;
}

.home-practice-scope .practice-item__summary:focus {
  outline: none;
}

.home-practice-scope .practice-item__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 12px;
}

.home-practice-scope .practice-item__title:not(.area-split__heading) {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.home-practice-scope .practice-item__caret {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1em;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.15s ease;
}

.home-practice-scope .practice-item__caret svg {
  width: 14px;
  height: 14px;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.home-practice-scope .practice-item__details[open] .practice-item__caret svg {
  transform: rotate(-180deg);
}

.home-practice-scope .practice-item__summary:hover .practice-item__caret {
  color: var(--text);
}

.home-practice-scope .practice-item__panel {
  margin-top: clamp(14px, 2vw, 18px);
  padding-top: clamp(12px, 1.8vw, 16px);
  border: none;
  border-top: 1px solid var(--line);
}

/* Legacy primitives for `.practice-item` rows (homepage practice grid uses disclosure stacks only) */
.practice-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.practice-item p {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Homepage practice areas: serif body in expanded panel */
.home-practice-scope .practice-item p {
  font-size: 1.0625rem;
}

.home-practice-scope .practice-item-links {
  font-size: 1.0625rem;
}

/* Audience label inside a practice item */
.practice-item .item-for {
  display: block;
  margin-bottom: 10px;
  margin-top: -4px;
}

/* Example project links inside a practice item */
.practice-item-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.practice-item-links-text {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  line-height: 1.65;
  color: var(--muted);
}

/*
 * Practice strip links: eyebrow-scale sans caps; project names stay markup casing (jump strip legacy + area bands).
 */
.home-practice-scope .practice-item-links-text,
.area-band .practice-item-links-text {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.home-practice-scope .practice-item-links .example-link,
.area-band .practice-item-links .example-link {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: var(--accent-link);
  border-bottom: none;
  padding-bottom: 0;
}

.practice-item .example-link {
  font-size: inherit;
  font-weight: 400;
  color: var(--accent-link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.05em;
}
/* ══════════════════════════════════════════════════
   SECTION TOP ROW (eyebrow + optional link, shared)
   ══════════════════════════════════════════════════ */

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* Reusable "view all" / accent link */
.link-arrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

/* Unicode arrows drawn in UI sans — straight geometry vs. serif/emoji curves */
.link-arrow::after {
  content: ' \2192\fe0e';
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 1.06em;
  letter-spacing: 0;
  font-variant-emoji: text;
  vertical-align: 0.04em;
}

.link-arrow:hover {
  color: var(--accent);
  opacity: 0.65;
}

/* Title case variant (hero / practice CTAs; default link-arrow stays uppercase). */
.link-arrow.link-arrow--sentence {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}


.example-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-link);
  transition: opacity 0.15s;
}

.example-link::after {
  content: ' \2192\fe0e';
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 0.95em;
  letter-spacing: 0;
  font-variant-emoji: text;
  vertical-align: 0.04em;
}

.example-link[target="_blank"]::after {
  content: ' \2197\fe0e';
}

.example-link:hover,
.practice-intro-link:hover {
  color: var(--accent-link);
  opacity: 0.65;
}

/* Landing page: inline project links without arrow suffixes */
.home-page .link-arrow::after,
.home-page .example-link::after {
  content: none;
}

/* Landing footer + in-copy links */
.home-page main .contact-link {
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: var(--accent-link);
  border-bottom: none;
  padding-bottom: 0;
}

/* ══════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════ */

.about-bio {
  margin-top: 0;
  max-width: 52em;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.about-bio p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.about-bio p + p {
  margin-top: 0;
}

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */

/* Moon-white stripe on Offerings footer (above soft canvas) */
.offerings-page main #contact.contact-section {
  background-color: var(--bg);
}

.contact-section.section {
  padding-block: clamp(48px, 7vw, 88px);
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vw, 1rem);
  max-width: 42rem;
}

.contact-block__title {
  margin: 0;
}

.contact-block__lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-block__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

/* Footer Book + Contact Me — match header .nav-book */
.contact-block__actions > a.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 1.45em;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.73em var(--accent);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.contact-block__actions > a.contact-cta:hover {
  color: var(--bg);
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .contact-block__actions > a.contact-cta {
    font-size: 0.625rem;
    letter-spacing: 0.07em;
  }
}

.contact-cta {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.contact-cta:hover {
  color: var(--bg);
  opacity: 0.9;
}

.contact-section .contact-links {
  margin-top: 0;
}

.contact-links {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.contact-link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-link);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.15s;
}

.contact-link:hover {
  color: var(--accent-link);
  opacity: 0.65;
}

/* ══════════════════════════════════════════════════
   WORK PAGE
   ══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   MAPS PAGE (tools + tabbed articles)
   ══════════════════════════════════════════════════ */

.maps-page main a:not(.maps-index-item__link):hover {
  color: inherit;
  opacity: 0.65;
}

.maps-sticky-stack {
  position: sticky;
  top: var(--nav-h);
  z-index: 45;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.maps-sticky-bar {
  position: relative;
  padding: clamp(12px, 2vw, 16px) 0 clamp(14px, 2.5vw, 18px);
}

.maps-sticky-stack.is-scroll-compacted .maps-sticky-bar {
  padding-top: clamp(8px, 1.2vw, 12px);
  padding-bottom: clamp(10px, 1.8vw, 14px);
}

.maps-sticky-stack.is-scroll-compacted .maps-sticky-intro {
  display: none !important;
}

.maps-sticky-stack.is-scroll-compacted .maps-tool-grid {
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, max-content);
}

.maps-sticky-stack.is-scroll-compacted .maps-sticky-toolbar {
  justify-content: flex-start;
}

.maps-sticky-stack.is-scroll-compacted .maps-tool-item {
  width: auto;
}

.maps-sticky-stack.is-scroll-compacted .maps-tool-card-main {
  width: max-content;
  /* Cap tab width (~30vw blew out to ~320px wide viewports); long labels ellipsis via `.maps-tool-name` */
  max-width: min(13.25rem, 23vw);
}

@media (min-width: 721px) {
  .maps-sticky-stack.is-scroll-compacted .maps-tool-tag {
    display: none !important;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-tool-card-main {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    min-height: 0;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-tool-icon svg {
    width: 20px;
    height: 20px;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-tool-text {
    gap: 0;
    min-width: 0;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-tool-name {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.22;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-tool-grid {
    gap: 6px;
  }
}

.maps-sticky-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.maps-sticky-toolbar {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.maps-sticky-intro {
  flex: 0 1 auto;
  align-self: center;
  width: fit-content;
  max-width: 26rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.maps-tool-grid {
  flex: 0 0 auto;
  width: min(100%, 33.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 960px) {
  .maps-sticky-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .maps-sticky-intro {
    width: auto;
    max-width: none;
  }

  .maps-tool-grid {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .maps-sticky-stack {
    padding: 0;
  }

  .maps-sticky-bar {
    padding: 8px 0 10px;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-sticky-bar {
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .maps-sticky-stack.is-scroll-compacted .maps-tool-card-main {
    max-width: none;
  }

  .maps-sticky-toolbar {
    gap: 0.625rem;
  }

  .maps-sticky-intro {
    font-size: clamp(1rem, 3.6vw, 1.125rem);
    line-height: 1.32;
  }

  .maps-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .maps-tool-item {
    gap: 0;
  }

  .maps-tool-card-main {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
    min-height: 2.75rem;
  }

  .maps-tool-icon svg {
    width: 18px;
    height: 18px;
  }

  .maps-tool-text {
    gap: 0;
    min-width: 0;
  }

  .maps-tool-tag {
    display: none;
  }

  .maps-tool-name {
    font-size: 0.6875rem;
    line-height: 1.2;
  }
}

.maps-tool-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.maps-tool-permalink {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted, #888);
  text-decoration: none;
  padding: 2px 4px;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.maps-tool-permalink:hover {
  opacity: 1;
  color: var(--text);
}

.maps-tool-card-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}

.maps-page .maps-tool-card-main:hover {
  border-color: #000;
}

.maps-page .maps-tool-item.is-active .maps-tool-card-main {
  border-color: #000;
  background: #000;
  color: #fff;
}

.maps-page .maps-tool-item.is-active .maps-tool-tag {
  color: rgba(255, 255, 255, 0.65);
}

.maps-tool-icon {
  color: currentColor;
  line-height: 0;
}

.maps-tool-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.maps-tool-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.maps-tool-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.maps-split-root {
  position: relative;
}

.maps-split-article {
  width: 100%;
  min-width: 0;
}

body.maps-embed-open {
  overflow-x: hidden;
}

body.maps-embed-open .maps-split-article {
  width: 50vw;
  max-width: 50vw;
}

body.maps-embed-open .maps-split-article .container.maps-editorial-inner {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-right: clamp(1rem, 3vw, 1.75rem);
}

.maps-split-embed {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.maps-split-embed[hidden] {
  display: none !important;
}

body.maps-embed-open .maps-split-embed {
  display: flex;
  position: fixed;
  right: 0;
  top: var(--maps-embed-top, 120px);
  width: 50vw;
  height: calc(100vh - var(--maps-embed-top, 120px));
  z-index: 35;
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.06);
}

.maps-embed-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.maps-embed-open-external {
  flex-shrink: 0;
  margin: 0;
  padding: 6px 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--text);
}

.maps-embed-open-external:hover {
  opacity: 0.65;
}

.maps-embed-close {
  flex-shrink: 0;
  margin: 0;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
}

.maps-embed-close:hover {
  border-color: #000;
}

.maps-embed-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.maps-embed-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: var(--bg);
}

.maps-embed-loader[hidden] {
  display: none !important;
}

.maps-embed-loader__spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: maps-embed-spin 0.8s linear infinite;
}

@keyframes maps-embed-spin {
  to {
    transform: rotate(360deg);
  }
}

.maps-embed-loader__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .maps-embed-loader__spinner {
    animation: none;
    border-top-color: var(--accent);
    opacity: 0.72;
  }
}

.maps-split-iframe {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.maps-split-iframe.is-loaded {
  opacity: 1;
}

.maps-split-embed.is-embed-loading .maps-split-iframe {
  opacity: 0;
}

.maps-editorial.section {
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(72px, 12vw, 128px);
}

.maps-editorial-inner {
  max-width: 40rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .maps-page .maps-editorial-inner {
    width: min(52vw, 760px);
    max-width: min(52vw, 760px);
  }
}

@media (min-width: 1320px) {
  .maps-page .maps-editorial-inner {
    width: min(50vw, 760px);
    max-width: min(50vw, 760px);
  }
}

.maps-editorial-head {
  scroll-margin-top: calc(var(--nav-h) + 12px);
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.maps-editorial-title {
  margin: 0 0 clamp(0.85rem, 2.2vw, 1.15rem);
  max-width: 13em;
}

.maps-editorial-dek {
  margin: 0;
  max-width: 38em;
}

/* Hero subtitle under display title — shared across R&D entries */
.maps-editorial-head .maps-editorial-dek {
  margin: clamp(-0.1rem, -0.35vw, 0.15rem) 0 0;
  max-width: 22em;
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.38;
  letter-spacing: -0.016em;
  color: var(--muted);
}

.maps-editorial .maps-launch-wrap {
  margin-top: clamp(1.2rem, 2.5vw, 1.65rem);
}

.maps-page .maps-launch {
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.maps-page .maps-launch:hover {
  opacity: 0.65;
}

.maps-dek {
  max-width: 38em;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--muted);
}

.maps-article-panel[hidden] {
  display: none !important;
}

.maps-prose {
  max-width: none;
  margin: 0;
  font-size: 1.03125rem;
  line-height: 1.68;
}

.maps-prose > * + * {
  margin-top: 1.15rem;
}

.maps-prose .section-headline {
  margin-top: clamp(2.75rem, 6vw, 3.75rem);
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

.maps-prose > .section-headline:first-child {
  margin-top: clamp(0.25rem, 1.5vw, 0.75rem);
}

/* MMM article intentionally single-column */
.maps-prose .maps-g1,
.maps-prose .maps-g2,
.maps-prose .maps-g3,
.maps-prose .maps-g-full,
.maps-prose .maps-span-l,
.maps-prose .maps-span-r {
  display: block;
}

.maps-figure {
  margin: 0;
}

.maps-figure--inset {
  margin: 0 0 clamp(2.1rem, 4.5vw, 3rem);
}

.maps-prose > * + .maps-figure--inset {
  margin-top: clamp(2.1rem, 4.5vw, 3rem);
}

.maps-page .maps-prose a {
  color: var(--accent-link);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  transition: opacity 0.15s;
}

.maps-page .maps-prose a em {
  color: inherit;
}

.maps-page .maps-prose a:hover {
  color: var(--accent-link);
  opacity: 0.65;
}

.maps-inline-img {
  display: block;
  width: 100%;
  height: auto;
}

.maps-figure .maps-inline-img + .maps-inline-img {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.maps-inline-img--mono {
  filter: grayscale(100%);
}

.maps-spider {
  margin: 0;
}

.maps-spider-svg {
  display: block;
  width: 100%;
  max-width: min(100%, 400px);
  height: auto;
  margin-inline: auto;
  color: var(--text);
  overflow: visible;
}

.maps-page .maps-spider-svg .maps-spider-vector {
  opacity: 0.92;
}

.maps-inline-doc {
  display: block;
  width: 100%;
  min-height: clamp(320px, 55vw, 780px);
  border: 0;
}

.maps-placeholder {
  width: 100%;
  min-height: clamp(160px, 24vw, 280px);
  aspect-ratio: 4 / 3;
  background: #d4d4d4;
  box-sizing: border-box;
}

.maps-placeholder--tall {
  aspect-ratio: 3 / 4;
  min-height: clamp(220px, 36vw, 400px);
}

.maps-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: none;
  background: #0d0d0d;
}

.maps-figure-cap {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.maps-editorial-subdek {
  margin: -0.25rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.maps-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.maps-media-pair .maps-figure {
  margin: 0;
}

.maps-media-pair-cap {
  margin-top: -0.35rem;
}

@media (max-width: 720px) {
  .maps-media-pair {
    grid-template-columns: 1fr;
  }
}

.maps-archive-link {
  display: inline-block;
  margin-left: 0.35rem;
}

.maps-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  font-size: inherit;
  line-height: 1.72;
  color: var(--text);
}

.maps-list li + li {
  margin-top: 0.5rem;
}

.maps-note {
  margin-top: clamp(36px, 5vw, 48px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.maps-page .maps-note a {
  color: var(--accent-link);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  transition: opacity 0.15s;
}

.maps-page .maps-note a:hover {
  color: var(--accent-link);
  opacity: 0.65;
}

/* ── R&D index page — editorial list ─────────────────── */
.maps-index-list {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 5rem;
}

.maps-page .maps-index-list .container {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--pad-x);
}

@media (min-width: 721px) {
  .maps-page .maps-index-list .container {
    padding-inline: var(--layout-content-pad);
  }
}

.maps-index-item {
  border-top: 1.5px solid var(--line, #ddd);
}

.maps-index-item:first-child {
  border-top: none;
}
.maps-index-item:last-child {
  border-bottom: 1.5px solid var(--line, #ddd);
}

.maps-index-item__link {
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2.5rem, 4vw, 3.75rem) 0;
  text-decoration: none;
  color: var(--text);
  align-items: start;
}

.maps-index-item__text {
  display: flex;
  flex-direction: column;
}

.maps-index-item__title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

.maps-index-item__desc {
  font-size: 1rem;
  line-height: 1.72;
  opacity: 0.7;
  margin: 0 0 2.25rem;
  max-width: 42ch;
}

.maps-index-item__read {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: var(--accent-link);
  transition: opacity 0.15s;
}

.maps-index-item__link:hover .maps-index-item__read,
.maps-index-item__link:focus-visible .maps-index-item__read {
  color: var(--accent-link);
  opacity: 0.65;
}

.maps-index-item__img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--soft, #f0ede6);
}

.maps-index-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .maps-index-item__link:hover .maps-index-item__img {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .maps-index-item__img {
    transition: none;
  }

  .maps-index-item__link:hover .maps-index-item__img,
  .maps-index-item__link:focus-visible .maps-index-item__img {
    transform: none;
  }
}

@media (max-width: 700px) {
  .maps-index-item__link {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .maps-index-item__img-wrap {
    order: -1;
    aspect-ratio: 3 / 2;
  }
}

/* ── R&D article sticky prev/next nav ────────────────── */
.rnd-nav {
  position: sticky;
  top: var(--nav-h, 56px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1.5px solid var(--line, #ddd);
}

.rnd-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.rnd-nav__prev,
.rnd-nav__title,
.rnd-nav__next {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text-muted, #999);
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rnd-nav__prev:hover,
.rnd-nav__next:hover { color: var(--text); }

.rnd-nav__title {
  grid-column: 2;
  justify-self: center;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
  text-align: center;
  max-width: min(52vw, 18rem);
}

.rnd-nav__prev {
  grid-column: 1;
  justify-self: start;
  text-align: left;
  min-width: 0;
}

.rnd-nav__next {
  grid-column: 3;
  justify-self: end;
  text-align: right;
  min-width: 0;
}

.rnd-nav__prev .rnd-nav__arrow,
.rnd-nav__next .rnd-nav__arrow {
  display: inline-block;
}

.rnd-nav__prev .rnd-nav__label {
  margin-left: 0.35em;
}

.rnd-nav__next .rnd-nav__label {
  margin-right: 0.35em;
}

@media (max-width: 720px) {
  .rnd-nav__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
  }

  .rnd-nav__label {
    display: none;
  }

  .rnd-nav__prev,
  .rnd-nav__next {
    overflow: visible;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0.2rem 0.35rem;
  }

  .rnd-nav__prev .rnd-nav__label,
  .rnd-nav__next .rnd-nav__label {
    margin: 0;
  }

  .rnd-nav__title {
    max-width: none;
    font-size: clamp(0.9375rem, 4.2vw, 1.0625rem);
  }
}


/*
   Source slice from former monolithic style.css
   Fonts: loaded via index head <link>s (see HTML), not @import.
*/
/* ══════════════════════════════════════════════════
   PROJECT CASE PAGES (work/*.html) — editorial layout
   ══════════════════════════════════════════════════ */

.project-case-page {
  --max-w: 1440px;
}

.project-case-page .project-case-header,
.project-case-page .project-case-lede,
.project-case-page .project-case-rich,
.project-case-page .project-case-carousel-section .project-case-heading,
.project-case-page .mpp-video-stack {
  max-width: none;
}

.section--case {
  padding-top: clamp(44px, 7vw, 80px);
  padding-bottom: 0;
}

.project-case-toolbar {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.project-case-header {
  max-width: 42em;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.project-case-eyebrow {
  margin-bottom: 12px;
}

.project-case-title {
  margin: 0 0 clamp(12px, 2vw, 18px);
  max-width: 14em;
}

.project-case-meta {
  margin-bottom: 14px;
}

/* Lead image directly under title; editorial copy follows, then more images */
.project-case-gallery-hero {
  margin-top: clamp(4px, 1.5vw, 12px);
  margin-bottom: clamp(4px, 1.5vw, 12px);
}

.project-case-gallery-hero-inner {
  display: flex;
  justify-content: center;
}

.project-case-gallery-hero-inner .project-case-gallery-item {
  margin: 0;
}

.project-case-gallery-hero + .project-case-content-band .project-case-main,
.project-case-intro-band + .project-case-content-band .project-case-main {
  border-top: none;
  padding-top: clamp(22px, 4.5vw, 48px);
}

.project-case-lead-question + .project-case-content-band .project-case-main,
.project-case-intro-band + .project-case-lead-question + .project-case-content-band .project-case-main {
  padding-top: clamp(8px, 1.5vw, 16px);
  border-top: none;
}

.project-case-content-band:has(+ .project-case-content-band .project-case-gallery-region--alternate) .project-case-main {
  padding-bottom: clamp(12px, 2vw, 20px);
}

.project-case-intro-band + .project-case-content-band:has(+ .project-case-content-band .project-case-gallery-region--alternate) .project-case-main {
  padding-top: clamp(16px, 3vw, 32px);
}

.project-case-main .project-case-section:last-child {
  margin-bottom: 0;
}

/* Case page gallery — vertical stack, images without frame/card chrome */
.project-case-gallery-region--continuation {
  margin-top: clamp(44px, 7vw, 80px);
  margin-bottom: clamp(36px, 8vw, 100px);
}

.project-case-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 52px);
}

.project-case-gallery-item {
  margin: 0;
}

.project-case-gallery-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.project-case-gallery-img--natural {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.project-case-gallery-cap {
  margin: 14px 0 0;
}

.project-case-gallery-cap__credit {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.5;
  color: var(--muted);
}

.project-case-gallery-cap__credit:first-child {
  margin-top: 0;
}

/* Case page — image carousels (Material Provenance, etc.) */
.project-case-carousel-section {
  margin-top: clamp(44px, 7vw, 80px);
  margin-bottom: clamp(28px, 5vw, 56px);
}

.project-case-carousel-section--follow {
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 6vw, 64px);
  margin-top: clamp(36px, 6vw, 72px);
  background: var(--bg);
}

.project-case-carousel-section .project-case-heading {
  margin-bottom: clamp(14px, 2.4vw, 20px);
  max-width: 42em;
}

/* Case pages — side-by-side intro and carousel rows */
.project-case .project-case-media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.project-case-intro-band .project-case-media-row--intro {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.project-case-intro-band .project-case-media-row__copy .project-case-title {
  margin: 0 0 clamp(12px, 2vw, 18px);
  max-width: none;
}

.project-case-intro-band .project-case-media-row__copy .project-case-meta {
  margin: 0;
}

.project-case-intro-band__figure {
  margin: 0;
}

.project-case-intro-band__figure .project-case-gallery-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.project-case-intro-band__figure .project-case-gallery-img--natural {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.project-case-intro-band__figure .project-case-gallery-cap {
  margin-top: 12px;
}

/* Material Provenance — custom alternating carousel gallery (unique content UI) */
.project-case-gallery-region--carousel-rows .project-case-gallery-row:has(.case-carousel) .project-case-gallery-row__heading {
  margin: 0 0 16px;
  max-width: none;
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.project-case-gallery-region--carousel-rows .case-carousel--gallery-row .case-carousel-viewport {
  background: var(--bg);
}

.project-case-gallery-region--carousel-rows .case-carousel--gallery-row .case-carousel-slide img {
  object-fit: cover;
  object-position: center;
}

.project-case-gallery-region--carousel-rows .case-carousel--gallery-row .case-carousel-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: clamp(12px, 2vw, 16px) 0 clamp(14px, 2.2vw, 20px);
  border-top: 1px solid var(--line);
  background: transparent;
}

@media (max-width: 900px) {
  .project-case .project-case-media-row {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 36px);
  }
}

/* Material Provenance — click-to-play YouTube (lazy iframe) */
.mpp-video-stack {
  width: 100%;
  max-width: min(100%, 920px);
  margin: 0 auto clamp(20px, 3.5vw, 32px);
}

.mpp-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.mpp-video-poster {
  position: absolute;
  inset: 0;
  margin: 0;
}

.mpp-video-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mpp-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(12px, 3vw, 20px);
  border: none;
  cursor: pointer;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.1)
  );
  transition: background 0.2s ease;
}

.mpp-video-play:hover,
.mpp-video-play:focus-visible {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.58),
    rgba(0, 0, 0, 0.16)
  );
}

.mpp-video-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.mpp-video-play-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  box-shadow: none;
  transition: opacity 0.15s ease;
}

.mpp-video-play-label::before {
  content: "";
  display: block;
  width: clamp(60px, 13vw, 84px);
  height: clamp(60px, 13vw, 84px);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a1a1a'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 54% center;
  background-size: 42% 42%;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.mpp-video-play:hover .mpp-video-play-label,
.mpp-video-play:focus-visible .mpp-video-play-label {
  color: #fff;
  border: none;
  background: transparent;
}

.mpp-video-play:hover .mpp-video-play-label::before,
.mpp-video-play:focus-visible .mpp-video-play-label::before {
  transform: scale(1.06);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.38);
}

.mpp-video-iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mpp-video-note {
  margin: clamp(10px, 1.8vw, 14px) 0 0;
  color: var(--muted);
  max-width: 48em;
}

.mpp-video-note code {
  font-size: 0.85em;
}

.case-carousel {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  padding: clamp(10px, 2vw, 14px);
  outline: none;
}

.case-carousel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.case-carousel-viewport {
  --case-slides: 1;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--soft);
}

.case-carousel--gallery-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.case-carousel--gallery-row .case-carousel-viewport {
  flex: 1;
  min-height: 0;
  aspect-ratio: unset;
  border-radius: 0;
}

.case-carousel--gallery-row .case-carousel-footer {
  flex-shrink: 0;
  margin-top: 0;
}

.case-carousel-track {
  display: flex;
  height: 100%;
  width: calc(100% * var(--case-slides));
  transition: transform 0.48s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .case-carousel-track {
    transition: none;
  }
}

.case-carousel-slide {
  flex: 0 0 calc(100% / var(--case-slides));
  width: calc(100% / var(--case-slides));
  max-width: calc(100% / var(--case-slides));
  min-width: 0;
  height: 100%;
  margin: 0;
}

.case-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-carousel--no-controls .case-carousel-footer {
  display: none;
}

.case-carousel-footer {
  margin-top: clamp(10px, 1.6vw, 14px);
  padding-top: clamp(10px, 1.6vw, 14px);
  border-top: 1px solid var(--line);
}

.case-carousel-caption {
  margin: 0 0 clamp(10px, 1.8vw, 14px);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.case-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 18px);
}

.case-carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.case-carousel-btn:hover {
  border-color: var(--text);
  background: var(--soft);
  color: var(--text);
}

.case-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: min(100%, 280px);
}

.case-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background 0.15s ease, width 0.15s ease;
}

.case-carousel-dot:hover {
  background: var(--muted);
}

.case-carousel-dot.is-active {
  background: var(--accent);
  width: 28px;
}

.case-carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.case-carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.project-case-rich {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text);
  max-width: 48em;
}

.project-case-rich p {
  margin: 0 0 1rem;
}

.project-case-rich .project-case-callout {
  margin: 0 0 1.25rem;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.4vw, 1.5rem);
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.project-case-rich .project-case-callout p {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

.project-case-rich .project-case-callout a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.project-case-rich .project-case-callout a:hover {
  opacity: 0.78;
}

.project-case-rich figure.project-case-inline-figure {
  margin: 0 auto 1.15rem;
  max-width: 100%;
}

.project-case-rich figure.project-case-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.project-case-rich figure.project-case-inline-figure--compact {
  max-width: min(100%, 420px);
}

.project-case[data-project="project-reframe"] .project-case-inline-figure--speaking {
  max-width: min(100%, 640px);
}

/* Brain Dead — crisp white field for alternating gallery rows */
.project-case[data-project="braindead"] .project-case-content-band:has(.project-case-gallery-region--alternate) {
  background: #fff;
}

.project-case[data-project="braindead"] .project-case-gallery-region--alternate .project-case-gallery-row__copy {
  background: #fff;
}

.project-case[data-project="braindead"] .project-case-gallery-region--alternate .project-case-gallery-video {
  background: #fff;
}

/* Case hero takeover — full-bleed lead image + scrim overlay */
.project-case:has(.project-case-intro-band--hero-takeover).section--case {
  padding-top: 0;
}

.project-case-intro-band--hero-takeover {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: 0;
  height: min(calc(100vw * 9 / 21), calc(100svh - var(--nav-h)));
  aspect-ratio: 21 / 9;
  display: grid;
  grid-template-areas: "hero";
  overflow: visible;
  margin-bottom: 0;
}

.project-case-intro-band--hero-takeover > * {
  grid-area: hero;
}

.project-case-hero-takeover__media {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.project-case-hero-takeover__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.project-case-hero-takeover__scrim {
  z-index: 1;
  /* Legibility band at the bottom — upper hero stays bright (mobile). */
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 52%,
    rgba(0, 0, 0, 0.12) 68%,
    rgba(0, 0, 0, 0.42) 84%,
    rgba(0, 0, 0, 0.58) 100%
  );
  pointer-events: none;
}

@media (min-width: 721px) {
  .project-case-hero-takeover__scrim {
    /* Wider 21:9 banner: pull gradient up for headline legibility. */
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 36%,
      rgba(0, 0, 0, 0.1) 52%,
      rgba(0, 0, 0, 0.32) 72%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }
}

.project-case-hero-takeover__content {
  z-index: 2;
  align-self: end;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(20px, 3.5vw, 40px) var(--pad-x) clamp(24px, 4vw, 48px);
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.35);
}

.project-case-hero-takeover__content .project-case-title {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  max-width: 14em;
  color: #fff;
}

.project-case-hero-takeover__content .project-case-hero-lead-question {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.032em;
  line-height: 1.06;
  color: #fff;
}

.project-case-hero-partner {
  margin: 0;
  max-width: 36em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.45;
  color: #fff;
}

/* Case study leading question — optional block after intro (project-facts `leadQuestion`) */
.project-case-lead-question {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 6vw, 56px);
}

.project-case-lead-question__quote {
  margin: 0;
  max-width: none;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.75rem, 1rem + 2.8vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--text);
}

.project-case-lead-question--hero-meta .container {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.08;
}

.project-case-lead-question--hero-meta .project-case-lead-question__title {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  max-width: 14em;
  font-size: 1em;
}

.project-case-lead-question--hero-meta .project-case-lead-question__partner {
  margin: 0 0 clamp(8px, 1.2vw, 12px);
  max-width: 36em;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}

.project-case-lead-question--hero-meta .project-case-practice-tags.work-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.project-case-lead-question--hero-meta .project-case-practice-tags .filter-btn {
  pointer-events: none;
  cursor: default;
  margin-right: 0;
  padding: 6px 10px;
  font-size: 0.625rem;
  letter-spacing: 0.07em;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.project-case-lead-question--hero-meta .container:has(.project-case-callout) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.8vw, 2rem);
  align-items: start;
}

.project-case-lead-question--hero-meta .project-case-lead-question__head {
  min-width: 0;
}

.project-case-lead-question--hero-meta .project-case-callout {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.4vw, 1.5rem);
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 4px;
  max-width: none;
}

.project-case-lead-question--hero-meta .project-case-callout p {
  margin: 0;
  font-size: clamp(0.9375rem, 1.05vw, 1rem);
  line-height: 1.65;
  color: var(--text);
}

.project-case-lead-question--hero-meta .project-case-callout a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.project-case-lead-question--hero-meta .project-case-callout a:hover {
  opacity: 0.78;
}

@media (min-width: 960px) {
  .project-case-lead-question--hero-meta .container:has(.project-case-callout) {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.78fr);
    column-gap: clamp(2rem, 5vw, 4rem);
  }

  .project-case-lead-question--hero-meta .project-case-callout {
    align-self: center;
  }
}

/* Case page content bands — cream / moon white alternation after intro */
.project-case-content-band {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.project-case-content-band--cream {
  background: var(--soft);
}

.project-case-content-band--moon {
  background: var(--bg);
}

.project-case-content-band .project-case-gallery-region--continuation,
.project-case-content-band .project-case-gallery-region--alternate {
  margin-top: 0;
  margin-bottom: 0;
}

.project-case-content-band .project-case-details,
.project-case-content-band .project-case-related {
  border-top: none;
}

.project-case-page .project-case-details.section-border,
.project-case-page .project-case-related.section-border {
  border-top: none;
}

.project-case-content-band + .project-case-content-band .project-case-details {
  margin-top: 0;
}

@media (max-width: 720px) {
  .project-case-intro-band--hero-takeover {
    aspect-ratio: auto;
    min-height: calc(100svh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    overflow: hidden;
  }

  .project-case-hero-takeover__content {
    padding: clamp(24px, 6vw, 36px) var(--pad-x) clamp(32px, 8vw, 48px);
    font-size: clamp(1.75rem, 7.5vmin, 2.85rem);
    line-height: 1.08;
  }

  .project-case-hero-takeover__content .project-case-title {
    max-width: none;
    font-size: 1em;
    line-height: inherit;
  }

  .project-case-hero-takeover__content .project-case-hero-lead-question {
    max-width: none;
    font-size: 50px;
    line-height: inherit;
  }

  .project-case-hero-takeover__content .project-case-hero-partner {
    font-size: clamp(0.6875rem, 2.8vmin, 0.8125rem);
  }
}

/* Case gallery — alternating half-width bleed rows (homepage area-band rhythm) */
.project-case-gallery-region--alternate {
  margin-top: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(36px, 8vw, 100px);
}

.project-case-gallery-stack--alternate {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}

.project-case-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.project-case-gallery-row__media {
  position: relative;
  min-height: 0;
  height: auto;
  overflow: visible;
  align-self: stretch;
}

.project-case-gallery-row__media:has(.case-carousel--gallery-row),
.project-case-gallery-row__media:has(.mpp-video-stack) {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.project-case-gallery-row__media .project-case-gallery-item {
  position: static;
  width: 100%;
  height: auto;
  margin: 0;
}

.project-case-gallery-row__media:has(.case-carousel--gallery-row) .project-case-gallery-item,
.project-case-gallery-row__media:has(.mpp-video-stack) .project-case-gallery-item {
  position: absolute;
  inset: 0;
  height: 100%;
}

.project-case-gallery-row__media .project-case-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: unset;
  object-position: center;
  margin-inline: 0;
}

.project-case-gallery-row__media:has(.case-carousel--gallery-row) .project-case-gallery-img,
.project-case-gallery-row__media:has(.mpp-video-stack) .project-case-gallery-img {
  height: 100%;
  object-fit: cover;
}

.project-case-gallery-row__media .project-case-gallery-img--natural {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: unset;
  object-position: center;
  margin-inline: 0;
}

.project-case-gallery-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  background: var(--bg);
}

/* Graphic / photo tile — match row height (no letterboxing in stretched media column) */
.project-case-gallery-stack--fill-media .project-case-gallery-row__media,
.project-case-gallery-row--fill-media .project-case-gallery-row__media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.project-case-gallery-stack--fill-media .project-case-gallery-item,
.project-case-gallery-row--fill-media .project-case-gallery-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.project-case-gallery-stack--fill-media .project-case-gallery-img,
.project-case-gallery-stack--fill-media .project-case-gallery-video,
.project-case-gallery-row--fill-media .project-case-gallery-img,
.project-case-gallery-row--fill-media .project-case-gallery-video,
.project-case-gallery-row--fill-media .project-case-gallery-img--natural {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.project-case-gallery-stack--fill-media .project-case-gallery-video,
.project-case-gallery-row--fill-media .project-case-gallery-video {
  display: block;
  background: var(--soft);
}

/* Gallery row with inline video — flush fill in the media half */
.project-case-gallery-row--embed .project-case-gallery-row__media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  background: var(--bg);
  height: auto;
  min-height: 0;
}

.project-case-gallery-row--embed .project-case-gallery-row__media:has(.mpp-video-stack) {
  height: auto;
}

.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-stack {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  margin: 0;
}

.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0;
  background: var(--bg);
}

.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-poster {
  overflow: hidden;
}

.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-poster-img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transform: scale(1.04);
}

.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-play {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 45%
  );
}

.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-play:hover,
.project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-play:focus-visible {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0) 45%
  );
}

.project-case-gallery-row--audio-embed .project-case-gallery-row__media .project-case-audio-embed {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.project-case-gallery-row--audio-embed .project-case-gallery-row__media .project-case-audio-embed iframe {
  flex: 1;
  width: 100%;
  min-height: clamp(280px, 42vw, 450px);
  height: 100%;
  border: 0;
  border-radius: 0;
  background: var(--soft);
}

.project-case-content-band--cream .project-case-gallery-region--about .project-case-gallery-row__copy {
  background: var(--soft);
}

.project-case-gallery-row__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px) clamp(28px, 4.5vw, 64px);
  background: var(--bg);
}

.project-case-gallery-row--media-right .project-case-gallery-row__media {
  order: 2;
}

.project-case-gallery-row--media-right .project-case-gallery-row__copy {
  order: 1;
}

.project-case-gallery-row__copy .project-case-rich {
  max-width: 34rem;
}

.project-case-gallery-row__copy .project-case-gallery-row__heading {
  margin: 0 0 14px;
  max-width: none;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.project-case-gallery-row__heading .project-case-gallery-article-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4em;
}

.project-case-gallery-row__heading .project-case-gallery-article-title {
  display: block;
}

.project-case-gallery-article-link-wrap {
  margin: clamp(16px, 2.5vw, 22px) 0 0;
}

.project-case-gallery-article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  border: 1px solid color-mix(in srgb, var(--text) 18%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 92%, var(--line));
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.project-case-gallery-article-link:hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--line));
  background: color-mix(in srgb, var(--bg) 78%, var(--line));
  color: var(--text);
}

.project-case-gallery-article-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.project-case-gallery-article-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  font-size: 0.95em;
  line-height: 1;
  opacity: 0.65;
}

.project-case-rich .project-case-gallery-article-link {
  color: var(--text);
  text-decoration: none;
  text-decoration-color: transparent;
}

.project-case-rich .project-case-gallery-article-link:hover {
  color: var(--text);
  text-decoration: none;
}

.project-case-gallery-row__copy .project-case-testimonial {
  margin: 0;
}

.project-case-gallery-row__copy .project-case-testimonial blockquote {
  margin: 0;
  padding: 0.15rem 0 0.15rem 1.25rem;
  border: none;
  border-left: 2px solid color-mix(in srgb, var(--text) 18%, var(--line));
}

.project-case-gallery-row__copy .project-case-testimonial p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: 0.005em;
  color: var(--text);
}

.project-case-gallery-row__copy .project-case-testimonial p::before {
  content: "\201C";
}

.project-case-gallery-row__copy .project-case-testimonial p::after {
  content: "\201D";
}

.project-case-gallery-row__copy .project-case-testimonial footer {
  margin: 0.9rem 0 0;
  padding-left: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.project-case-gallery-row__copy .project-case-testimonial footer::before {
  content: "— ";
  color: var(--muted);
}

.project-case-gallery-row--media-right .project-case-gallery-row__copy .project-case-rich {
  margin-left: auto;
}

.project-case-gallery-row__copy--empty {
  padding: 0;
  min-height: 0;
  border-color: transparent;
  visibility: hidden;
}

@media (max-width: 900px) {
  .project-case-gallery-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-case-gallery-row--media-right .project-case-gallery-row__media,
  .project-case-gallery-row--media-right .project-case-gallery-row__copy {
    order: unset;
  }

  .project-case-gallery-row__media {
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .project-case-gallery-row__media:has(.case-carousel--gallery-row),
  .project-case-gallery-row__media:has(.mpp-video-stack) {
    aspect-ratio: auto;
    min-height: clamp(220px, 56vw, 420px);
  }

  .project-case-gallery-row--embed .project-case-gallery-row__media:has(.mpp-video-stack) {
    min-height: 0;
    aspect-ratio: auto;
  }

  .project-case-gallery-row--embed .project-case-gallery-row__media .mpp-video-frame {
    aspect-ratio: 16 / 9;
  }

  .project-case-gallery-row__media .project-case-gallery-img {
    height: auto;
  }

  .project-case-gallery-row__media:has(.case-carousel--gallery-row) .project-case-gallery-img,
  .project-case-gallery-row__media:has(.mpp-video-stack) .project-case-gallery-img {
    height: 100%;
  }

  .project-case-gallery-stack--fill-media .project-case-gallery-row__media,
  .project-case-gallery-row--fill-media .project-case-gallery-row__media {
    height: auto;
  }

  .project-case-gallery-stack--fill-media .project-case-gallery-item,
  .project-case-gallery-row--fill-media .project-case-gallery-item {
    position: static;
    height: auto;
  }

  .project-case-gallery-stack--fill-media .project-case-gallery-img,
  .project-case-gallery-stack--fill-media .project-case-gallery-video,
  .project-case-gallery-row--fill-media .project-case-gallery-img,
  .project-case-gallery-row--fill-media .project-case-gallery-video {
    height: auto;
    object-fit: unset;
  }

  .project-case-gallery-row__copy,
  .project-case-gallery-row--media-left .project-case-gallery-row__copy,
  .project-case-gallery-row--media-right .project-case-gallery-row__copy {
    padding: clamp(28px, 6vw, 48px) var(--pad-x);
  }

  .project-case-gallery-row__copy--empty {
    display: none;
  }

  .project-case-gallery-row--media-right .project-case-gallery-row__copy .project-case-rich {
    margin-left: 0;
  }
}

.project-case-rich figcaption {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

.project-case-rich .project-case-video-embed {
  margin: 1.35rem 0;
}

.project-case-rich .project-case-video-embed:last-child {
  margin-bottom: 0;
}

.project-case-rich .project-case-video-label {
  margin: 0 0 8px;
  color: var(--muted);
}

.project-case-rich .project-case-video-embed video {
  display: block;
  width: 100%;
  max-height: min(70vh, 720px);
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.project-case-rich .project-case-audio-embed {
  margin: 1.1rem 0 1.35rem;
}

.project-case-rich .project-case-audio-embed:last-child {
  margin-bottom: 0;
}

.project-case-rich .project-case-audio-embed iframe {
  display: block;
  width: 100%;
  min-height: 166px;
  border: 0;
  border-radius: 2px;
  background: var(--soft);
}

.project-case-rich .project-case-audio-embed + .project-case-audio-embed {
  margin-top: 0.65rem;
}

.project-case-rich p:last-child {
  margin-bottom: 0;
}

.project-case-rich h1:not(.project-case-heading),
.project-case-rich h2:not(.project-case-heading),
.project-case-rich h3:not(.project-case-heading) {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.75rem;
}

.project-case-rich h1:not(.project-case-heading):first-child,
.project-case-rich h2:not(.project-case-heading):first-child,
.project-case-rich h3:not(.project-case-heading):first-child {
  margin-top: 0;
}

.project-case-rich ul,
.project-case-rich ol {
  margin: 0 0 1rem;
  padding-left: 1.35em;
}

.project-case-rich img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.project-case-rich figure img {
  margin: 0;
}

.project-case-rich a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--accent);
  transition: color 0.15s ease, text-decoration-color 0.15s ease,
    text-decoration-thickness 0.15s ease;
}

.project-case-rich a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
  text-decoration-thickness: 2px;
}

.project-case-rich a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.project-case-hero .container {
  max-width: var(--max-w);
}

.project-case-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 52vw, 640px);
  padding: clamp(16px, 3vw, 40px);
  background: transparent;
  border-radius: 0;
}

.project-case-hero-media {
  max-width: 100%;
  max-height: min(72vh, 720px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.project-case-hero-cap {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: var(--muted);
  max-width: 48em;
}

.project-case-shell {
  max-width: var(--max-w);
}

.project-case-shell .project-case-main {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.project-case-main {
  min-width: 0;
}

.project-case-details {
  padding-top: clamp(44px, 7vw, 72px);
  padding-bottom: clamp(36px, 6vw, 56px);
}

.project-case-details + .project-case-related {
  padding-top: clamp(36px, 6vw, 56px);
}

.project-case-facts {
  padding: clamp(18px, 2.5vw, 22px);
  border: 1px solid var(--line);
  border-radius: 2px;
  max-width: 52rem;
}

.project-case-facts-dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 0;
}

@media (max-width: 720px) {
  .project-case-facts-dl {
    grid-template-columns: 1fr;
  }
}

.project-case-fact dt {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 5px;
}

.project-case-fact dd {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
}

.project-case-fact:last-child dd {
  margin-bottom: 0;
}

.project-case-fact-press a,
.project-case-fact-website a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

.project-case-facts-disclosure {
  margin: 0;
}

.project-case-facts-title,
.project-case-facts-disclosure > summary.project-case-facts-title {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  color: var(--text);
  margin: 0 0 clamp(14px, 2vw, 18px);
  list-style: none;
  cursor: default;
}

.project-case-facts-disclosure > summary.project-case-facts-title::-webkit-details-marker {
  display: none;
}

.project-case-facts-disclosure > summary.project-case-facts-title::marker {
  content: "";
}

.project-case-facts-disclosure[open] > summary.project-case-facts-title {
  margin-bottom: clamp(14px, 2vw, 18px);
}

.project-case-facts-title__text {
  flex: 1 1 auto;
  min-width: 0;
}

.project-case-facts-toggle-hint {
  display: none;
}

.project-case-section {
  margin-bottom: clamp(40px, 5vw, 56px);
}

/* Shared case section heading scale — gallery rows, related, carousel, etc. */
.project-case-heading,
.project-case-rich .project-case-heading,
.project-case-gallery-row__copy .project-case-heading,
.project-case-gallery-row__copy .project-case-rich .project-case-gallery-row__heading,
.project-case-related__head .project-case-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3125rem, 2.35vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.28;
  margin: 0 0 16px;
  color: var(--text);
}

.project-case-facts-disclosure > summary.project-case-facts-title {
  font-size: clamp(1.3125rem, 2.35vw, 1.625rem);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

@media (max-width: 720px) {
  .project-case-heading,
  .project-case-gallery-row__copy .project-case-gallery-row__heading,
  .project-case-gallery-row__copy .project-case-heading.project-case-gallery-row__heading,
  .project-case-gallery-row__copy .project-case-rich .project-case-gallery-row__heading,
  .project-case-related__head .project-case-heading,
  .project-case-facts-disclosure > summary.project-case-facts-title {
    font-size: clamp(1.5rem, 5.5vw, 1.875rem);
    line-height: 1.22;
    letter-spacing: -0.03em;
  }

  /* One surface: drop outer facts box padding/border; disclosure is a simple divider row */
  .project-case-facts {
    padding: 0;
    border: none;
    border-radius: 0;
    max-width: none;
  }

  .project-case-facts-disclosure > summary.project-case-facts-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 0;
    padding: 14px 0;
    min-height: 48px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .project-case-facts-disclosure > summary.project-case-facts-title:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .project-case-facts-disclosure:not([open]) > summary.project-case-facts-title {
    margin-bottom: 0;
  }

  .project-case-facts-toggle-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .project-case-facts-toggle-hint::before {
    content: "Show";
  }

  .project-case-facts-disclosure[open] > summary .project-case-facts-toggle-hint::before {
    content: "Hide";
  }

  .project-case-facts-toggle-hint::after {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.15em;
    transition: transform 0.2s ease;
    opacity: 0.7;
  }

  .project-case-facts-disclosure[open] > summary .project-case-facts-toggle-hint::after {
    transform: rotate(-135deg);
    margin-top: 0.12em;
  }

  .project-case-facts-disclosure[open] > summary.project-case-facts-title {
    margin-bottom: 0;
  }

  .project-case-facts-disclosure[open] > .project-case-facts-dl {
    margin-top: clamp(14px, 3vw, 20px);
    padding: 0;
    border: none;
    border-radius: 0;
  }
}

@media (min-width: 721px) {
  .project-case-facts-disclosure > summary.project-case-facts-title {
    pointer-events: none;
    cursor: default;
  }
}

.project-case-rich > h3.project-case-heading {
  margin-top: clamp(24px, 3vw, 32px);
}

.project-case-rich > h3.project-case-heading:first-child {
  margin-top: 0;
}

/* Case study footer — related projects + return to work index */
.project-case-related {
  padding-top: clamp(44px, 7vw, 72px);
  padding-bottom: clamp(44px, 7vw, 80px);
}

.project-case-gallery-region--continuation + .project-case-details,
.project-case-content-band + .project-case-content-band .project-case-details,
.project-case-lead-question + .project-case-content-band + .project-case-content-band .project-case-details {
  margin-top: 0;
}

.project-case-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.project-case-related__head .project-case-heading {
  margin-bottom: 0;
}

.project-case-related__index {
  text-decoration: none;
}

.project-case-related__index:hover {
  color: var(--text);
}

.project-case-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 40px);
}

.project-case-related__tile {
  margin: 0;
  min-width: 0;
}

.project-case-related .project-tile__link {
  position: relative;
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.project-case-related .project-tile__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.project-case-related .project-tile__media.project-img {
  margin-bottom: 0;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
}

.project-case-related .project-tile__media.project-img.tall {
  aspect-ratio: 3 / 4;
}

.project-case-related .project-tile__media.project-img.square {
  aspect-ratio: 1 / 1;
}

.project-case-related .project-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.project-case-related .project-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(14px, 2.2vw, 22px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.08) 42%,
    rgba(0, 0, 0, 0.55) 100%
  );
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-case-related .project-tile__overlay-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-case-related .project-tile__title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.project-case-related .project-tile__client {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0.88;
}

.project-case-related .project-tile__overlay-mid {
  display: none;
}

.project-case-related .project-tile__cta {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .project-case-related .project-tile__link:hover .project-tile__overlay,
  .project-case-related .project-tile__link:focus-visible .project-tile__overlay {
    opacity: 1;
  }

  .project-case-related .project-tile__link:hover .project-tile__media img,
  .project-case-related .project-tile__link:focus-visible .project-tile__media img {
    transform: scale(1.02);
  }
}

@media (max-width: 640px) {
  .project-case-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-case-related .project-tile__media img,
  .project-case-related .project-tile__overlay {
    transition: none;
  }
}

.project-case-lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  max-width: 42em;
}

.project-case-note,
.project-case-prose {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 42em;
}

.project-case-media-slots {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  gap: 10px;
  max-width: 340px;
}

.project-case-media-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1;
  padding: 10px;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.02);
}

.project-back {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-back:hover {
  color: var(--text);
}


.work-filter-inner--dual {
  flex-direction: column;
  align-items: stretch;
  gap: clamp(12px, 2vw, 20px);
  padding-top: clamp(20px, 3.2vw, 32px);
  padding-bottom: clamp(24px, 4vw, 40px);
}

.work-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding-block: 2px;
}

.work-filter-heading {
  flex-shrink: 0;
  width: 104px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
}

.work-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  min-width: 0;
}

.work-filter-bar--practice .filter-btn {
  margin-right: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.work-filter-bar--practice .filter-btn:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--bg);
  border-bottom-color: var(--text);
}

.work-filter-bar--practice .filter-btn.is-active {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
  border-bottom-color: var(--text);
}

.work-filter-bar--practice .filter-btn.is-active:hover {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

.work-filter-bar--practice .work-filter-chips {
  flex: 1 1 0;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-start;
}

.work-filter-bar--practice .work-filter-chips .filter-btn {
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 0.625rem;
  letter-spacing: 0.07em;
}

/* Practice filter chips: fixed two-line stack (first word [&] / remainder) — not width-driven wrap */
.work-filter-bar--practice .filter-btn--practice,
body.offerings-page .offerings-filter-bar .filter-btn--practice {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.work-filter-bar--practice .filter-btn--practice .filter-btn__line,
body.offerings-page .offerings-filter-bar .filter-btn--practice .filter-btn__line {
  display: block;
  white-space: nowrap;
  line-height: 1.25;
}

.work-filter-bar--practice .work-filter-row {
  align-items: center;
  min-width: 0;
}

.work-filter-bar--practice .work-filter-heading {
  width: auto;
  min-width: 5.5rem;
  padding-top: 0;
  white-space: nowrap;
}

.work-selected-head {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(12px, 2vw, 20px) 0 clamp(10px, 1.5vw, 14px);
}

.work-selected-head .section-headline {
  margin: 0;
}

.work-page .work-initiatives .container > .section-headline {
  margin: 0 0 clamp(14px, 2.2vw, 20px);
}

.work-page .work-initiatives.section:not(.work-initiatives--strip) {
  padding-top: clamp(16px, 3vw, 28px);
  padding-bottom: clamp(14px, 2.5vw, 28px);
}

.work-page .initiative-list {
  grid-template-columns: repeat(3, minmax(0, 188px));
  justify-content: start;
  gap: clamp(10px, 1.8vw, 16px);
}

.work-page .initiative-kicker {
  margin-bottom: 0;
}

.work-page .initiative-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: clamp(10px, 2vw, 14px);
}

.work-page .initiative-title {
  font-size: clamp(0.88rem, 1.85vw, 1rem);
  margin-bottom: 0;
  line-height: 1.25;
}

.work-page .initiative-blurb {
  display: block;
  font-size: 0.75rem;
  line-height: 1.48;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .work-page .initiative-list {
    grid-template-columns: repeat(2, minmax(0, 188px));
  }
}

@media (max-width: 560px) {
  .work-page .initiative-list {
    grid-template-columns: minmax(0, 188px);
    justify-content: center;
  }
}

.work-initiatives-lede {
  color: var(--muted);
  max-width: 540px;
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-top: 12px;
  margin-bottom: 24px;
}

.initiative-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px 24px;
}

.initiative-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
  min-height: 100%;
}

.initiative-card:hover {
  border-color: var(--text);
  background: var(--soft);
}

.initiative-card__cta {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.initiative-card__cta:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--soft);
}

.initiative-kicker {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.initiative-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.initiative-blurb {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 720px) {
  .work-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .work-filter-heading {
    width: auto;
    padding-top: 0;
  }

  .work-filter-bar--practice .work-filter-heading {
    padding-top: 0;
    margin-bottom: 2px;
  }

  .work-page .work-selected-head {
    padding: 14px 0 12px;
  }

  .work-filter-bar--practice .work-filter-bar__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .work-page-section-heading .work-page-section-title {
    display: block;
  }

  .work-filter-bar--practice .work-filter-chips .filter-btn {
    padding: 8px 14px;
    font-size: 0.6875rem;
    letter-spacing: 0.09em;
  }

  .work-filter-bar--practice .work-filter-row--practice .work-filter-chips {
    gap: 4px;
  }

  .work-filter-bar--practice .work-filter-row--practice .work-filter-chips .filter-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    padding: 5px 3px;
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
  }
}

/* Filter / index bar — sticky below nav (stack offset overridden on work index; see `.work-page-sticky-scope`) */
.work-filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.work-filter-bar--practice {
  border-bottom: none;
}

/* Ongoing strip disabled in work.html — uncomment strip HTML, drop `.work-page--no-ongoing` on <body>, re-enable sticky JS. */
body.work-page.work-page--no-ongoing .work-page-sticky-scope .work-filter-bar {
  top: var(--nav-h);
}

body.work-page.work-page--no-ongoing .work-filter-bar.work-filter-bar--practice {
  border-top: none;
}

body.work-page.work-page--no-ongoing .work-filter-bar--practice .work-filter-bar__toolbar {
  border-top: none;
}

/* Ongoing chips — sticky under nav; stacks above Selected projects toolbar (toolbar top set from --work-ongoing-stack-h) */
.work-initiatives-sticky-stack {
  position: sticky;
  top: var(--nav-h);
  z-index: 92;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Selected projects sticks below measured Ongoing height so labels never obscure each other */
body.work-page .work-page-sticky-scope .work-filter-bar {
  top: calc(var(--nav-h) + var(--work-ongoing-stack-h, 200px));
  z-index: 91;
}

/* Former inner `.work-initiatives-sticky-bar` merged here: section padding + bar padding in one box */
.work-initiatives-sticky-stack.work-initiatives--strip.section:not(.is-scroll-compacted) {
  padding-top: calc(clamp(8px, 1.5vw, 14px) + clamp(12px, 2vw, 14px));
  padding-bottom: clamp(10px, 1.65vw, 14px);
}

.work-initiatives-sticky-stack .work-initiatives-strip {
  padding-bottom: 0;
}

.work-initiatives-sticky-stack.is-scroll-compacted.work-initiatives--strip.section {
  padding-top: var(--work-compact-sticky-pad-y);
  padding-bottom: var(--work-compact-sticky-pad-y);
}

.work-initiatives-sticky-stack.is-scroll-compacted .work-page-section-intro {
  display: none !important;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: var(--work-compact-chip-min-h);
  box-sizing: border-box;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip--long-wordmark {
  width: 100%;
  max-width: none;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo {
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: var(--work-compact-chip-logo-band-h);
  min-height: var(--work-compact-chip-logo-band-h);
  max-height: var(--work-compact-chip-logo-band-h);
  display: flex;
  align-items: center;
  justify-content: center;
  --logo-stage-h: var(--work-compact-chip-logo-band-h);
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo--wide,
.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo--mark,
.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo--placeholder-wordmark,
.work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip > li:first-child .initiative-chip__logo--wide,
.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip--long-wordmark .initiative-chip__logo--placeholder-wordmark {
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo img,
.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo--placeholder-wordmark img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100% - 2px);
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip > li:first-child .initiative-chip__logo--wide img {
  max-width: calc((100% - 2px) * 0.75);
  max-height: 75%;
  object-position: center center;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__logo--mark img {
  max-width: min(calc(100% - 2px), var(--work-compact-chip-logo-band-h));
  max-height: 100%;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__blurb {
  display: none !important;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__kicker {
  display: none !important;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-chip__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
  text-decoration: none;
}

.work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip {
  gap: clamp(6px, 0.85vw, 10px);
  padding-bottom: 0;
}

.work-initiatives-sticky-stack.is-scroll-compacted .work-initiatives-strip {
  padding-bottom: 0;
}

@media (min-width: 721px) {
  .work-initiatives-sticky-stack.is-scroll-compacted .work-initiatives-strip__scroll {
    overflow-x: hidden;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    padding: 0;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip > li {
    min-width: 0;
  }
}

.work-ongoing-compaction-sentinel {
  flex-shrink: 0;
  width: 100%;
  height: 1px;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 720px) {
  .work-initiatives-sticky-stack.work-initiatives--strip.section:not(.is-scroll-compacted) {
    padding-top: calc(clamp(8px, 1.5vw, 14px) + 10px);
    padding-bottom: 10px;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .work-initiatives-strip__scroll {
    overflow-x: hidden;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    padding: 0;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .initiative-strip > li {
    min-width: 0;
  }
}

/* ── Work index: ongoing strip + dense masonry ─────────────────── */

.work-initiatives--strip.section {
  padding-top: clamp(8px, 1.5vw, 14px);
  padding-bottom: 0;
  background: var(--bg);
}

/* Work index — shared label + content rail (Ongoing strip, Selected projects filters) */
.work-initiatives-strip,
.work-filter-bar--practice .work-filter-bar__toolbar {
  display: flex;
  align-items: center;
  gap: var(--work-index-rail-gap);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  box-sizing: border-box;
}

.work-initiatives-strip {
  padding-bottom: clamp(10px, 1.5vw, 14px);
}

.work-initiatives-strip > .work-page-section-heading {
  flex: 0 0 auto;
  width: var(--work-index-label-w);
  max-width: 100%;
  flex-shrink: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(6px, 1.2vw, 10px);
  min-width: 0;
  box-sizing: border-box;
}

/* Selected projects: title above practice filters (full rail — room for 6 across) */
.work-filter-bar--practice .work-filter-bar__toolbar > .work-page-section-heading {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--work-rail-pad-top);
}

.work-filter-bar--practice .work-page-section-heading__band {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(6px, 1.2vw, 10px);
  min-width: 0;
  box-sizing: border-box;
}

.work-filter-bar--practice .work-page-section-heading__band .work-page-section-title {
  flex: 0 0 auto;
  white-space: normal;
  line-height: 1.2;
}

.work-filter-bar--practice .work-page-section-heading__band .work-page-section-intro {
  flex: 1 1 14rem;
  min-width: min(13rem, 48vw);
  line-height: 1.28;
}

.work-filter-bar--practice .work-filter-row--practice {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding-left: 0;
  box-sizing: border-box;
  container-type: inline-size;
}

/* Six across when the rail fits; equal-weight columns like 3×3 mobile */
@container (min-width: 48rem) {
  .work-filter-bar--practice .work-filter-row--practice .work-filter-chips {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-content: stretch;
    align-content: start;
    flex: none;
    gap: 6px;
    width: 100%;
  }

  .work-filter-bar--practice .work-filter-row--practice .work-filter-chips .filter-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    padding: 6px 4px;
  }
}

@container (max-width: 47.999rem) {
  .work-filter-bar--practice .work-filter-row--practice .work-filter-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    align-content: start;
    flex: none;
    gap: 4px;
    width: 100%;
  }
}

.work-initiatives-strip > .work-page-section-heading .work-page-section-title {
  white-space: normal;
}

.work-page-section-intro {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.9375rem, 1.75vw, 1.125rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.work-initiatives-strip__scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.work-initiatives-strip__scroll:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.initiative-strip {
  display: flex;
  flex-direction: row;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 2px 2px 6px;
}

.initiative-strip > li {
  flex-shrink: 0;
}

/* Expanded Ongoing strip: fit four chips in the rail without horizontal scroll */
@media (min-width: 721px) {
  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .work-initiatives-strip__scroll {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .initiative-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 0.85vw, 10px);
    width: 100%;
    padding: 2px 0 6px;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .initiative-strip > li {
    flex-shrink: 1;
    min-width: 0;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .initiative-strip .initiative-chip {
    width: 100%;
    max-width: none;
  }
}

.initiative-chip {
  --logo-stage-h: 3.75rem; /* unified band for wordmarks, marks, and title-only chips */
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(252px, 72vw);
  padding: 12px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
  min-height: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.initiative-chip:hover {
  border-color: var(--text);
  background: var(--bg);
}

.initiative-chip__kicker {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: normal;
  overflow-wrap: break-word;
}

/* Logo / wordmark strip: fixed height band; marks centered so small icons don’t sit in a lonely corner */
.initiative-chip__logo {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--logo-stage-h);
  min-height: var(--logo-stage-h);
  margin: 1px 0 2px;
}

.initiative-chip__logo img {
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.initiative-chip__logo--wide {
  justify-content: flex-start;
}

.initiative-chip__logo--wide img {
  max-height: calc(var(--logo-stage-h) * 0.78);
  max-width: 100%;
  object-position: left center;
}

/* Togethering chip: −25% size vs wide cap, centered in logo band */
.initiative-strip > li:first-child .initiative-chip__logo--wide {
  justify-content: center;
}

.initiative-strip > li:first-child .initiative-chip__logo--wide img {
  max-height: calc(var(--logo-stage-h) * 0.78 * 0.75);
  max-width: min(75%, 100%);
  object-position: center center;
}

.initiative-chip__logo--mark {
  justify-content: center;
}

.initiative-chip__logo--mark img {
  max-height: calc(var(--logo-stage-h) * 0.95);
  max-width: min(7.75rem, 92%);
}

/* Overrides --wide: centered band for placeholder Third Hand wordmark */
.initiative-chip__logo--placeholder-wordmark {
  justify-content: center;
  overflow: visible;
}

.initiative-chip__logo--placeholder-wordmark img {
  object-position: center center;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  transform: scale(1.2);
  transform-origin: center center;
}

.initiative-chip--long-wordmark .initiative-chip__logo--placeholder-wordmark img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.2);
  transform-origin: center center;
}

.initiative-chip__title {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  box-sizing: border-box;
  min-height: var(--logo-stage-h);
  margin: 1px 0 2px;
  display: flex;
  align-items: flex-start;
}

.initiative-chip__blurb {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--muted);
}

.initiative-chip__link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.initiative-chip__link:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .work-initiatives-strip > .work-page-section-heading .work-page-section-intro {
    font-size: clamp(0.8125rem, 3.25vw, 0.9375rem);
    line-height: 1.32;
  }

  /* Mobile: fixed title row + optional chip panel below */
  .work-initiatives-sticky-stack .work-initiatives-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .work-ongoing-bar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 100%;
    min-width: 0;
    position: relative;
  }

  .work-ongoing-bar > .work-page-section-heading {
    flex: 0 0 auto;
    width: var(--work-index-label-w);
    max-width: 38%;
    align-self: center;
  }

  .work-ongoing-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .work-initiatives-strip__scroll {
    display: none;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .work-initiatives-strip__scroll {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .initiative-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 2px 0 6px;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .initiative-strip > li {
    min-width: 0;
  }

  .work-initiatives-sticky-stack:not(.is-scroll-compacted) .initiative-strip .initiative-chip {
    width: 100%;
    max-width: none;
  }

  .work-ongoing-toggle[hidden] {
    display: none;
  }

  .work-ongoing-toggle:hover {
    border-color: var(--text);
  }

  .work-ongoing-toggle:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 2px;
  }

  .work-ongoing-toggle__icon {
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: color 0.15s ease;
  }

  .work-ongoing-toggle:hover .work-ongoing-toggle__icon {
    color: var(--text);
  }

  .work-ongoing-toggle__icon svg {
    display: block;
    transition: transform 0.2s ease;
  }

  .work-ongoing-toggle[aria-expanded="true"] .work-ongoing-toggle__icon svg {
    transform: rotate(180deg);
  }

  .work-page-section-heading .work-page-section-title {
    display: block;
  }

  /*
   * Stack Selected projects title + filters like Ongoing on narrow viewports.
   */
  .work-filter-bar--practice .work-filter-bar__toolbar > .work-page-section-heading {
    flex-direction: column;
    align-items: stretch;
    gap: var(--work-rail-pad-top);
  }

  .work-filter-bar--practice .work-page-section-heading__band {
    flex: none;
    width: 100%;
    max-width: none;
    align-self: stretch;
    flex-direction: column;
    flex-flow: column nowrap;
    align-items: stretch;
    gap: 6px;
    row-gap: 6px;
    column-gap: 0;
  }

  .work-filter-bar--practice .work-page-section-heading__band .work-page-section-title {
    flex: none;
    width: 100%;
    max-width: none;
    white-space: normal;
    text-align: left;
    align-self: stretch;
  }

  .work-filter-bar--practice .work-page-section-heading__band .work-page-section-intro {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    text-align: left;
    align-self: stretch;
  }

  .work-filter-bar--practice .work-filter-row--practice {
    padding-left: 0;
  }
}

.work-filter-bar--practice .work-filter-bar__toolbar {
  padding-top: var(--work-rail-pad-top);
  padding-bottom: var(--work-rail-pad-top);
  background: var(--bg);
}

.work-page-section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

@media (min-width: 721px) {
  .work-ongoing-bar {
    display: contents;
  }

  .work-ongoing-toggle {
    display: none;
  }
}

/* Optional: add .work-filter-bar--filters-hidden on `<nav>` to hide practice chips when sticky compacts */
.work-filter-bar--practice.work-filter-bar--filters-hidden .work-filter-row--practice {
  display: none !important;
}

.work-filter-bar--practice.work-filter-bar--filters-hidden .work-filter-bar__toolbar {
  padding-top: clamp(10px, 1.65vw, 18px);
  padding-bottom: clamp(8px, 1.35vw, 14px);
}

/* Collapsed Ongoing + Selected rail (filters hidden): paired min-heights & compact nav/toolbar tweaks.
   Target via `#stickyStack.is-scroll-compacted ~ nav` (no :has — reliable when compact). */
body.work-page #workInitiativesStickyStack.is-scroll-compacted,
body.work-page #workInitiativesStickyStack.is-scroll-compacted ~ nav.work-filter-bar.work-filter-bar--practice.work-filter-bar--filters-hidden {
  min-height: var(--work-collapsed-paired-rail-h);
  box-sizing: border-box;
}

@media (max-width: 720px) {
  body.work-page #workInitiativesStickyStack.is-scroll-compacted {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 721px) {
  /* Flex column + cross-axis centers the collapsed rail vertically in paired min-height. */
  body.work-page #workInitiativesStickyStack.is-scroll-compacted {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  body.work-page #workInitiativesStickyStack.is-scroll-compacted .work-initiatives-strip {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .work-initiatives-strip {
    align-items: center;
  }

  .work-initiatives-sticky-stack.is-scroll-compacted .work-initiatives-strip > .work-page-section-heading {
    align-self: center;
  }
}

/* Selected projects headline + dek keep the same flex row layout when Ongoing compacts (`max-width` / mobile rules still apply separately). */

body.work-page #workInitiativesStickyStack.is-scroll-compacted ~ nav.work-filter-bar.work-filter-bar--practice.work-filter-bar--filters-hidden {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 720px) {
  body.work-page #workInitiativesStickyStack.is-scroll-compacted ~ nav.work-filter-bar.work-filter-bar--practice.work-filter-bar--filters-hidden {
    justify-content: center;
  }
}

@media (min-width: 721px) {
  body.work-page #workInitiativesStickyStack.is-scroll-compacted ~ nav.work-filter-bar.work-filter-bar--practice.work-filter-bar--filters-hidden {
    justify-content: flex-start;
  }
}

body.work-page #workInitiativesStickyStack.is-scroll-compacted ~ nav.work-filter-bar.work-filter-bar--practice.work-filter-bar--filters-hidden
  .work-filter-bar__toolbar {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding-top: var(--work-compact-sticky-pad-y);
  padding-bottom: var(--work-compact-sticky-pad-y);
  min-height: 0;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  body.work-page #workInitiativesStickyStack.is-scroll-compacted ~ nav.work-filter-bar.work-filter-bar--practice.work-filter-bar--filters-hidden
    .work-filter-bar__toolbar {
    align-items: stretch;
  }
}

/*
 * Work index
 * • Filtered: multicolumn masonry.
 * • Featured: JS row-major (indices 0→N-1 into columns modulo count) inside flex stacks — equal gap X & Y, vertical tuck within each stack.
 */
body.work-page {
  --work-thumb-gap: clamp(28px, 4.5vw, 50px);
  --work-index-rail-pad-x: var(--pad-x);
  --work-rail-pad-top: clamp(14px, 2.2vw, 22px);
  --work-compact-sticky-pad-y: clamp(8px, 1.05vw, 11px);
  /* Ongoing stack + Selected projects nav share this height when compact */
  --work-collapsed-paired-rail-h: clamp(64px, 6.75vw, 72px);
  --work-compact-chip-min-h: 2.5rem;
  --work-compact-chip-logo-band-h: 2.125rem;
}

@media (min-width: 721px) {
  body.work-page {
    --work-index-rail-pad-x: var(--layout-content-pad);
  }
}

/* Align Ongoing strip + Selected projects toolbar with nav name / other pages */
body.work-page .work-initiatives-strip,
body.work-page .work-filter-bar--practice .work-filter-bar__toolbar {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--work-index-rail-pad-x);
  padding-right: var(--work-index-rail-pad-x);
  box-sizing: border-box;
}

.work-index-main {
  width: 100%;
  margin: 0;
  padding-top: 0;
  padding-bottom: var(--work-thumb-gap);
  padding-left: var(--work-index-rail-pad-x);
  padding-right: var(--work-index-rail-pad-x);
  box-sizing: border-box;
}

/* Space before #contact inside work main; featured stacks use mb:0 tiles so rows need this gutter */
.work-page .work-index-main > #project-grid {
  margin-bottom: clamp(48px, 6vw, var(--gap-section));
}

.work-page .project-grid--masonry {
  display: block;
  width: 100%;
  column-count: 4;
  column-gap: var(--work-thumb-gap);
  padding: 0;
  margin: 0;
  transition: opacity 0.18s ease;
}

/* Featured: tiles live in `.project-grid-featured-masonry-stack` rows (JS builds shell) */
.work-page .project-grid--masonry.project-grid--featured {
  display: block;
  column-count: unset;
}

.work-page .project-grid-featured-masonry-shell {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: var(--work-thumb-gap);
  width: 100%;
  margin: 0;
  padding: 0;
}

.work-page .project-grid-featured-masonry-stack {
  flex: 1 1 0;
  display: flex;
  flex-flow: column nowrap;
  gap: var(--work-thumb-gap);
  min-width: 0;
}

.work-page .project-grid--masonry.project-grid--featured .project-tile {
  margin-bottom: 0;
  break-inside: unset;
  page-break-inside: unset;
}

.work-page .project-tile {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 var(--work-thumb-gap);
  padding: 0;
}

.work-page .project-tile__link {
  position: relative;
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.work-page .project-tile__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.work-page .project-tile__media.project-img {
  margin-bottom: 0;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  overflow: hidden;
}

.work-page .project-tile__media.project-img.tall {
  aspect-ratio: 3 / 4;
}

.work-page .project-tile__media.project-img.square {
  aspect-ratio: 1 / 1;
}

/* Full frame visible: scale to fit tile box (Traverse img-001.gif is 5:4). */
.work-page .project-tile__media.project-img.fit-width {
  aspect-ratio: 5 / 4;
}

.work-page .project-tile__media.project-img.fit-width img,
.work-page .project-tile__media.project-img.fit-width video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Intrinsic media aspect (set via work.html after metadata load). */
.work-page .project-tile__media.project-img.fit-media {
  aspect-ratio: 4 / 3;
}

.work-page .project-tile__media.project-img.fit-media img,
.work-page .project-tile__media.project-img.fit-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.work-page .project-tile__media img {
  transition: transform 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .work-page .project-tile__link:hover .project-tile__media img {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-page .project-tile__media img {
    transition: none;
  }

  .work-page .project-tile__link:hover .project-tile__media img,
  .work-page .project-tile__link:focus-visible .project-tile__media img {
    transform: none;
  }

  .work-page .project-tile__overlay {
    transition: none;
  }

  .work-page .project-tile__cta {
    transition: none;
  }

  .work-page .project-tile__caption,
  .practice-showcase .project-tile__caption {
    transition: none;
  }
}

/* Tile captions: `.project-tile__caption` styles retained; captions not rendered until work.html / index showcase template re-inserts them (data: portfolio.json `caption`). */

.work-page .project-tile__overlay,
.practice-showcase .project-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 24%,
    transparent 42%
  );
  color: var(--bg);
  line-height: normal;
  opacity: 1;
  transition: opacity 0.25s ease, background 0.24s ease;
  pointer-events: none;
}

.work-page .project-tile__overlay-mid {
  display: none !important;
}

.work-page .project-tile__overlay-head,
.practice-showcase .project-tile__overlay-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 11px 12px 0;
  text-align: left;
  pointer-events: none;
}

.practice-showcase .project-tile__overlay-head {
  padding-right: clamp(7rem, 36vw, 10rem); /* clearance for top-right View more pill */
}

.work-page .project-tile__title,
.practice-showcase .project-tile__title {
  font-family: var(--font-serif);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.32;
  max-width: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.work-page .project-tile__client,
.practice-showcase .project-tile__client {
  font-family: var(--font-sans);
  font-size: 0.59375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  opacity: 0.94;
  max-width: none;
  overflow-wrap: anywhere;
  word-break: normal;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.work-page .project-tile__overlay-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Work index ≥901px — title/partner hidden until hover (pointer devices). */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .work-page .project-tile__overlay {
    opacity: 0;
  }

  .work-page .project-tile__overlay-head {
    padding-right: 12px;
  }

  .work-page .project-tile__link:hover .project-tile__overlay,
  .work-page .project-tile__link:focus-visible .project-tile__overlay {
    opacity: 1;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.26) 28%,
      transparent 48%
    );
  }
}

@media (max-width: 900px) {
  .work-page .project-tile__overlay-mid {
    display: none !important;
  }
}

/* Homepage practice hero: CTA in top-right (touch shows it always; avoids dead-center over image) */
.practice-showcase .project-tile__overlay-mid {
  position: absolute;
  left: auto;
  right: clamp(10px, 2.8vw, 16px);
  top: clamp(10px, 2.5vw, 14px);
  bottom: auto;
  translate: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
}

.work-page .project-tile__caption,
.practice-showcase .project-tile__caption {
  display: block;
  margin: 0;
  padding: 0;
  /* Match .project-tile__client label scale; sentence case for readability */
  font-family: var(--font-sans);
  font-size: 0.59375rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  max-width: none;
  overflow-wrap: anywhere;
  word-break: normal;
  color: var(--bg);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  /* Shown with View on rollover — see @media (hover: none) for touch */
  opacity: 0;
  transition: opacity 0.22s ease;
}

.work-page .project-tile__cta,
.practice-showcase .project-tile__cta {
  position: relative;
  flex-shrink: 0;
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.35;
  align-self: center;
  padding: 0.65em 1.4em;
  border: 1px solid rgba(252, 252, 240, 0.82);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  /* Visible on rollover only — see @media (hover: none) for touch tap targets */
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease,
    border-color 0.22s ease, background 0.22s ease;
}

.practice-showcase .project-tile__cta {
  align-self: flex-end;
}

@media (hover: hover) and (pointer: fine) {
  .work-page .project-tile__link:hover .project-tile__overlay,
  .work-page .project-tile__link:focus-visible .project-tile__overlay,
  .practice-showcase__slide:hover .project-tile__overlay,
  .practice-showcase__slide:focus-visible .project-tile__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.26) 28%,
      transparent 48%
    );
  }

  .work-page .project-tile__link:hover .project-tile__caption,
  .work-page .project-tile__link:focus-visible .project-tile__caption,
  .practice-showcase__slide:hover .project-tile__caption,
  .practice-showcase__slide:focus-visible .project-tile__caption {
    opacity: 0.94;
  }

  .practice-showcase__slide:hover .project-tile__cta,
  .practice-showcase__slide:focus-visible .project-tile__cta {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(252, 252, 240, 0.95);
    background: rgba(0, 0, 0, 0.55);
  }
}

/* Devices without coarse hover: brighter scrim; work CTA always on where rendered; practice hero keeps top-right CTA */
@media (hover: none) {
  .work-page .project-tile__overlay,
  .practice-showcase .project-tile__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.22) 26%,
      transparent 44%
    );
  }

  .work-page .project-tile__overlay-head {
    padding: 11px 12px 0;
  }

  .practice-showcase .project-tile__overlay-head {
    padding-top: 11px;
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: clamp(7rem, 36vw, 10rem); /* match desktop clearance for View more pill */
  }

  .work-page .project-tile__title,
  .practice-showcase .project-tile__title {
    font-size: 0.8125rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
  }

  .work-page .project-tile__client {
    font-size: 0.5625rem;
    line-height: 1.5;
  }

  .work-page .project-tile__caption,
  .practice-showcase .project-tile__caption {
    font-size: 0.5625rem;
    line-height: 1.45;
    letter-spacing: 0.05em;
    opacity: 0.94;
  }

  .work-page .project-tile__cta,
  .practice-showcase .project-tile__cta {
    margin-top: 0;
    opacity: 1;
    transform: none;
    font-size: 0.5625rem;
  }
}

/* Touch laptop / tablet widths: preserve title gutter on work tiles */
@media (hover: none) and (min-width: 901px) {
  .work-page .project-tile__overlay-head {
    padding-right: 12px;
  }
}

@media (max-width: 1200px) {
  .work-page .project-grid--masonry:not(.project-grid--featured) {
    column-count: 3;
  }
}

@media (max-width: 720px) {
  .work-page .project-grid--masonry:not(.project-grid--featured) {
    column-count: 2;
  }
}

@media (max-width: 420px) {
  .work-page .project-grid--masonry:not(.project-grid--featured) {
    column-count: 1;
  }
}

.work-page .project-grid--masonry.project-grid--status {
  column-count: 1;
  padding: 0;
  min-height: 30vh;
}

.work-filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.work-filter-inner::-webkit-scrollbar { display: none; }

/* Filter buttons — same style as nav links */
.filter-btn {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 0;
  margin-right: 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.filter-btn:last-child { margin-right: 0; }

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Project grid (case studies / homepage — not work index masonry) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 36px;
  padding: var(--gap-section) 0;
  transition: opacity 0.15s ease;
}

/* Work masonry only: beats generic `.project-grid { display:grid }` elsewhere in this stylesheet */
.work-page .work-index-main > .project-grid.project-grid--masonry:not(.project-grid--featured) {
  display: block;
  grid-template-columns: unset;
  gap: unset;
  padding: 0;
}

.work-page .work-index-main > #project-grid.project-grid.project-grid--masonry.project-grid--featured {
  display: block;
  grid-template-columns: unset;
  gap: unset;
  padding: 0;
}

@media (max-width: 960px) {
  .work-page .work-index-main > #project-grid.project-grid.project-grid--masonry.project-grid--featured {
    display: block;
    grid-template-columns: unset;
    gap: unset;
  }
}

@media (max-width: 720px) {
  .work-page .work-index-main > #project-grid.project-grid.project-grid--masonry.project-grid--featured {
    display: block;
    grid-template-columns: unset;
    gap: unset;
  }
}

.project-card {
  display: block;
}

.project-img {
  background-color: var(--soft);
  border-radius: 2px;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  overflow: hidden;
}

.project-img.tall { aspect-ratio: 3/4; }
.project-img.square { aspect-ratio: 1/1; }

/* Scale thumbnail to fit width and height without cropping (letterbox if needed). */
.project-img.fit-width {
  aspect-ratio: 5 / 4;
}

.project-img.fit-width img,
.project-img.fit-width video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.project-img.fit-media {
  aspect-ratio: 4 / 3;
}

.project-img.fit-media img,
.project-img.fit-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

/* Work grid: institution / client (filters carry type + role) */
.project-card__org {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 10px;
}

.project-card__summary {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-meta {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
  padding: 3px 8px;
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  /* ── Nav: full-screen overlay, links bottom / right; bar stays above ── */
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0 var(--pad-x);
  }

  .nav-name {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    align-self: center;
  }

  @supports (text-box-trim: trim-both) {
    .nav-name {
      text-box-trim: trim-both;
      text-box-edge: cap alphabetic;
      block-size: 14px;
    }
  }

  @supports not (text-box-trim: trim-both) {
    .nav-name {
      font-size: 14px;
      line-height: 14px;
    }
  }

  /* nav-menu drops out of normal flow → only name + toggle show in row */
  .nav-toggle {
    position: relative;
    z-index: 160;
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0;
  }

  .site-nav .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 140;
    pointer-events: none;
    transform: none;
  }

  .nav-links {
    pointer-events: none;
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    gap: clamp(14px, 3.8vw, 24px);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(var(--nav-h) + 16px) var(--pad-x)
      max(28px, calc(20px + env(safe-area-inset-bottom, 0px)));
    list-style: none;
    border: none;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease;
  }

  .nav-links.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 6.8vw, 2.125rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.15;
    padding: 2px 0;
    text-transform: uppercase;
  }

  .nav-links a.nav-book {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    margin-left: auto;
    margin-right: 0;
    padding: 10px 22px;
    box-shadow: none;
    font-size: clamp(1.35rem, 6.8vw, 2.125rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    background: var(--accent);
    color: var(--bg);
    border-radius: 999px;
  }

  .nav-links a.nav-book:hover,
  .nav-links a.nav-book.active {
    color: var(--bg);
    opacity: 0.92;
    background: var(--accent);
  }
}

@media (max-width: 720px) {
  .hero-images { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }

  .home-practice-scope .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .practice-item:nth-child(even) {
    padding-left: 0;
  }

  /* Project grid */
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


@media (max-width: 480px) {
  .contact-links { gap: 18px; }
}


/* ══════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════ */

.about-page .about-hero.section {
  padding-top: 0;
  padding-bottom: 0;
}

.about-layout {
  display: grid;
  /* Match .hero-split / .nav-inner (1fr 1fr) so intro column left edge lines up with Practice */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  /* DOM: intro column first for mobile reading order; stack (portrait + bio) snaps left on desktop */
  grid-template-areas:
    "stack intro";
}

.about-hero__media-stack {
  grid-area: stack;
  display: flex;
  flex-direction: column;
}

.about-hero__extended {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--bg);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.about-page .about-bio-jumps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: clamp(0.35rem, 1.2vw, 0.65rem) 0 0;
}

.about-hero__extended-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.about-story-tabs--extended {
  margin-top: 0;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: baseline;
}

.about-story-tabs--extended .about-story-tab {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.625rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--muted);
}

.about-story-tabs--extended .about-story-tab:hover {
  color: var(--text);
}

.about-story-tabs--extended .about-story-tab[aria-selected="true"] {
  background: transparent;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.about-page .about-hero__extended .about-bio--extended {
  max-width: none;
}

.about-page .about-hero__extended .about-bio--extended[hidden] {
  display: none !important;
}

/* Full-width prose: flowing two columns where there is enough width */
@media (min-width: 720px) {
  .about-page .about-hero__extended .about-bio--extended {
    display: block;
    columns: 2;
    column-gap: clamp(1.75rem, 5vw, 3.25rem);
  }

  .about-page .about-hero__extended .about-bio--extended > p {
    margin: 0 0 1.125rem;
    break-inside: avoid;
  }

  .about-page .about-hero__extended .about-bio--extended > p:last-child {
    margin-bottom: 0;
  }
}

.about-hero__media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  --about-portrait-focus: 50% 36%;
}

.about-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--about-portrait-focus);
}

@media (min-width: 901px) {
  .about-layout {
    align-items: stretch;
  }

  .about-hero__media-stack {
    min-height: 100%;
  }

  .about-hero__media {
    flex: 1 1 auto;
    min-height: 100%;
    display: flex;
  }

  .about-hero__img {
    flex: 1 1 auto;
    min-height: 100%;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    /* Portrait always above intro on phone / narrow desktop */
    grid-template-areas:
      "stack"
      "intro";
  }

  .about-hero__media-stack {
    border-top: none;
    border-bottom: 1px solid var(--line);
  }

  .about-hero__media {
    aspect-ratio: 3 / 4;
    max-height: none;
    width: 100%;
    --about-portrait-focus: 50% 42%;
  }

  .about-hero__img {
    width: 100%;
    height: 100%;
    max-height: none;
  }
}

.about-hero__content {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(40px, 7vw, 96px) var(--layout-content-pad);
  background: var(--bg);
}

.about-hero__title {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4.5rem);
}

.about-page .about-bio {
  max-width: 38rem;
  gap: 1.125rem;
}

/* About bio: smaller than practice lede (~22px cap), scales down on narrow viewports */
.about-page .about-bio p {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.9375rem + 0.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text);
}

.about-page .about-bio .about-bio-selection-heading {
  display: block;
  margin-bottom: 0.41rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-story-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-story-tab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.about-story-tab:hover {
  border-color: var(--text);
}

.about-story-tab[aria-selected="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.about-story-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.about-collaborators.section {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--soft-deep);
}

.about-collaborators__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  max-width: 20em;
}

.about-collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: clamp(0.875rem, 2.2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-collaborators.section .about-collab-grid {
  margin: 0;
}

.about-collab-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.125rem;
  padding: clamp(10px, 1.9vw, 16px);
  border: none;
  border-radius: 2px;
  text-decoration: none;
}

.about-collab-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.about-collab-logo {
  height: clamp(36px, 4.65vw, 50px);
  width: auto;
  max-width: min(176px, 100%);
  object-fit: contain;
  display: block;
  /* Default: black silhouette (brightness 0 on greyscale ink), hover restores color */
  filter: grayscale(100%) saturate(0) brightness(0);
  opacity: 1;
  transform: translateY(0);
  transition:
    filter 0.26s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Horizontal marks can read larger at the same cap height */

.about-collab-link:hover .about-collab-logo,
.about-collab-link:focus-visible .about-collab-logo {
  filter: grayscale(0%) saturate(1) brightness(1);
  transform: translateY(-4px);
}

/* Biodesign Challenge: enlarge ~50% vs cap box to tighten visual weight */
.about-collab-logo.about-collab-logo--bdc {
  transform: translateY(0) scale(1.5);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--bdc,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--bdc {
  transform: translateY(-4px) scale(1.5);
}

/* Drone Racing League: ~30% crop (inverse of visible margin) */
.about-collab-logo.about-collab-logo--drl {
  transform: translateY(0) scale(1.429);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--drl,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--drl {
  transform: translateY(-4px) scale(1.429);
}

.about-collab-logo.about-collab-logo--ninety {
  transform: translateY(0) scale(0.9);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--ninety,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--ninety {
  transform: translateY(-4px) scale(0.9);
}

.about-collab-logo.about-collab-logo--eighty {
  transform: translateY(0) scale(0.8);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--eighty,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--eighty {
  transform: translateY(-4px) scale(0.8);
}

.about-collab-logo.about-collab-logo--pct85 {
  transform: translateY(0) scale(0.85);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct85,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct85 {
  transform: translateY(-4px) scale(0.85);
}

.about-collab-logo.about-collab-logo--pct110 {
  transform: translateY(0) scale(1.1);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct110,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct110 {
  transform: translateY(-4px) scale(1.1);
}

.about-collab-logo.about-collab-logo--pct120 {
  transform: translateY(0) scale(1.2);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct120,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct120 {
  transform: translateY(-4px) scale(1.2);
}

.about-collab-logo.about-collab-logo--pct130 {
  transform: translateY(0) scale(1.3);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct130,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct130 {
  transform: translateY(-4px) scale(1.3);
}

.about-collab-logo.about-collab-logo--pct140 {
  transform: translateY(0) scale(1.4);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct140,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct140 {
  transform: translateY(-4px) scale(1.4);
}

.about-collab-logo.about-collab-logo--pct75 {
  transform: translateY(0) scale(0.75);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct75,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct75 {
  transform: translateY(-4px) scale(0.75);
}

.about-collab-logo.about-collab-logo--pct125 {
  transform: translateY(0) scale(1.25);
  transform-origin: center center;
}

.about-collab-link:hover .about-collab-logo.about-collab-logo--pct125,
.about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct125 {
  transform: translateY(-4px) scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .about-collab-logo {
    transition: filter 0.22s ease;
  }

  .about-collab-link:hover .about-collab-logo:not(.about-collab-logo--bdc):not(.about-collab-logo--drl):not(.about-collab-logo--ninety):not(.about-collab-logo--pct85):not(.about-collab-logo--eighty):not(.about-collab-logo--pct75):not(.about-collab-logo--pct110):not(.about-collab-logo--pct120):not(.about-collab-logo--pct130):not(.about-collab-logo--pct140):not(.about-collab-logo--pct125),
  .about-collab-link:focus-visible .about-collab-logo:not(.about-collab-logo--bdc):not(.about-collab-logo--drl):not(.about-collab-logo--ninety):not(.about-collab-logo--pct85):not(.about-collab-logo--eighty):not(.about-collab-logo--pct75):not(.about-collab-logo--pct110):not(.about-collab-logo--pct120):not(.about-collab-logo--pct130):not(.about-collab-logo--pct140):not(.about-collab-logo--pct125) {
    transform: none;
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--bdc,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--bdc {
    transform: translateY(0) scale(1.5);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--drl,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--drl {
    transform: translateY(0) scale(1.429);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--ninety,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--ninety {
    transform: translateY(0) scale(0.9);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct85,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct85 {
    transform: translateY(0) scale(0.85);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--eighty,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--eighty {
    transform: translateY(0) scale(0.8);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct110,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct110 {
    transform: translateY(0) scale(1.1);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct120,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct120 {
    transform: translateY(0) scale(1.2);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct130,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct130 {
    transform: translateY(0) scale(1.3);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct140,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct140 {
    transform: translateY(0) scale(1.4);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct75,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct75 {
    transform: translateY(0) scale(0.75);
  }

  .about-collab-link:hover .about-collab-logo.about-collab-logo--pct125,
  .about-collab-link:focus-visible .about-collab-logo.about-collab-logo--pct125 {
    transform: translateY(0) scale(1.25);
  }
}


.about-collab-logo.about-collab-logo--banner {
  max-width: min(236px, 100%);
  height: clamp(40px, 5.4vw, 54px);
}

.about-collab-logo.about-collab-logo--met {
  height: clamp(40px, 5.2vw, 54px);
  max-width: min(128px, 100%);
}

@media (max-width: 900px) {
  .about-collab-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2.25vw, 14px);
  }

  .about-collab-link {
    min-height: clamp(64px, 18vw, 82px);
    padding: clamp(6px, 1.75vw, 12px);
  }

  .about-collab-logo {
    height: clamp(26px, 7vw, 36px);
    max-width: min(148px, 100%);
  }

  .about-collab-logo.about-collab-logo--banner {
    height: clamp(28px, 7.8vw, 40px);
    max-width: min(168px, 100%);
  }

  .about-collab-logo.about-collab-logo--met {
    height: clamp(28px, 7.8vw, 40px);
    max-width: min(118px, 100%);
  }
}

.about-collaborators__text {
  margin: 0;
  max-width: 52em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}


/* ══════════════════════════════════════════════════
   OFFERINGS PAGE
   ══════════════════════════════════════════════════ */

/* Homepage parity: canvas matches .practice-split__content (--soft moon-cream) */
body.offerings-page {
  --offerings-rail-pad-x: var(--pad-x);
  background-color: var(--soft);
}

@media (min-width: 721px) {
  body.offerings-page {
    --offerings-rail-pad-x: var(--layout-content-pad);
  }
}

.offerings-page .offerings-hero.section {
  padding-top: clamp(14px, 2vw, 24px);
  padding-bottom: clamp(12px, 1.8vw, 20px);
  /* Moon-white band (same token as global page chrome / --bg) */
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.offerings-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.offerings-hero__title {
  min-width: 0;
  padding-left: var(--offerings-rail-pad-x);
  padding-right: var(--offerings-rail-pad-x);
}

.offerings-page .offerings-hero .t-display {
  font-size: clamp(1.125rem, 2.5vw, 2.35rem);
  max-width: none;
  line-height: 1.08;
  margin: 0;
  white-space: nowrap;
}

.offerings-hero__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 0;
  padding-top: 0;
  padding-left: 0;
  padding-right: var(--pad-x);
  min-width: 0;
}

.offerings-hero__lede {
  margin: 0;
  max-width: 30rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.offerings-hero__contact .contact-links {
  margin-top: clamp(12px, 2vw, 16px);
}

.offerings-page .offer-menu.section {
  padding-top: clamp(18px, 2.8vw, 32px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

/* ── Offerings: unified catalog grid ───────────────── */
.offerings-scope {
  background: var(--soft);
}

body.offerings-page .offerings-filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 45;
  background: var(--soft);
  padding-top: clamp(8px, 1.2vw, 12px);
  padding-bottom: clamp(2px, 0.5vw, 4px);
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

body.offerings-page .offerings-filter-bar__inner {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--offerings-rail-pad-x);
  box-sizing: border-box;
  container-type: inline-size;
}

body.offerings-page .offerings-filter-bar .work-filter-chips {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  width: auto;
  max-width: 100%;
  gap: 6px;
  min-width: 0;
}

@container (min-width: 48rem) {
  body.offerings-page .offerings-filter-bar .work-filter-chips {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-content: stretch;
    align-content: start;
    gap: 6px;
    width: 100%;
  }

  body.offerings-page .offerings-filter-bar .filter-btn.filter-btn--practice {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    padding: 6px 4px;
  }
}

@container (max-width: 47.999rem) {
  body.offerings-page .offerings-filter-bar .work-filter-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    align-content: start;
    gap: 4px;
    width: 100%;
  }

  body.offerings-page .offerings-filter-bar .filter-btn.filter-btn--practice {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    padding: 5px 4px;
  }
}

body.offerings-page .offerings-filter-bar .filter-btn.filter-btn--practice {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font: inherit;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

body.offerings-page .offerings-filter-bar .filter-btn.filter-btn--practice:hover:not(.is-active) {
  color: var(--text);
  border-color: var(--text);
  background: var(--bg);
  border-bottom-color: var(--text);
}

body.offerings-page .offerings-filter-bar .filter-btn.filter-btn--practice.is-active {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
  border-bottom-color: var(--text);
}

body.offerings-page .offerings-filter-bar .filter-btn.filter-btn--practice.is-active:hover {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

.offerings-scope > .container {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--offerings-rail-pad-x);
  padding-top: clamp(2px, 0.6vw, 6px);
}

.offerings-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  align-items: stretch;
  padding-top: 0;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.offerings-catalog__divider {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: clamp(16px, 2.5vw, 22px) 0 clamp(4px, 0.8vw, 8px);
  border-top: 1px solid var(--line);
}

.offer-card[id],
.offerings-catalog__divider {
  scroll-margin-top: calc(var(--nav-h) + 56px);
}

.offerings-catalog__divider:first-child {
  padding-top: 0;
  border-top: 0;
}

.offerings-catalog__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.offerings-catalog__divider .eyebrow.item-for {
  margin: 0;
}

.offerings-catalog__subdivider {
  grid-column: 1 / -1;
  margin: clamp(8px, 1.5vw, 14px) 0 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--muted);
}

.offer-card__area.eyebrow {
  margin: 0 0 8px;
}

.offer-card--text .offer-card__body {
  margin-top: 0;
  min-height: 100%;
}

@media (max-width: 1100px) {
  .offerings-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .offerings-catalog {
    grid-template-columns: 1fr;
  }
}

.offer-menu__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  /* Start alignment so one expanded row-mate doesn't stretch sibling tiles */
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.offer-card.is-filter-hidden {
  display: none;
}

.offer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line);
  /* Moon-white cards on softer offerings canvas */
  background: var(--bg);
  border-radius: 14px;
}

.offer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: clamp(14px, 2vw, 18px);
}

/* Pin Book CTA to the tile bottom; toggle sits fixed under the caption above flex space */
.offer-card__footer {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  margin-top: auto;
  flex-shrink: 0;
  padding-top: clamp(14px, 2vw, 18px);
}

.offer-card__footer--dual {
  gap: 10px;
}

.offer-card__footer .offer-card__book {
  margin-top: 0;
}

.offer-card__book--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.offerings-page .offer-card__book--secondary:hover {
  color: var(--text);
  opacity: 0.85;
}

.offer-card__heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
  /* Let titles wrap naturally; avoids tall empty band on short headings */
}

.offer-card__meta {
  margin: 6px 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--muted);
}

.offer-card__body > .offer-card__prose {
  margin-top: clamp(10px, 1.5vw, 14px);
}

/* Short line always visible; long copy lives in .offer-card__prose-shell--collapsible */
.offer-card__caption {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text);
}

.offer-card__prose-shell {
  position: relative;
  flex: 0 0 auto;
}

/* Caption → toggle → expandable body; keeps the control from moving when copy opens */
.offer-card__toggle-prose + .offer-card__prose-shell--collapsible {
  margin-top: clamp(8px, 1.2vw, 12px);
}

/* Fully hidden until “More Info”; margin comes from caption→toggle sibling rule above */
.offer-card__prose-shell--collapsible:not(.is-expanded) {
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.offer-card__prose-shell--collapsible:not(.is-expanded) .offer-card__prose {
  visibility: hidden;
}

.offer-card__prose-shell--collapsible.is-expanded .offer-card__prose {
  visibility: visible;
}

.offer-card__prose-shell--collapsible.is-expanded {
  max-height: none;
  pointer-events: auto;
}

.offer-card__prose-shell--collapsible .offer-card__prose-shade {
  display: none;
}

.offer-card__prose-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.75rem;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.offer-card__toggle-prose {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  margin: clamp(10px, 1.5vw, 14px) 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  /* Keeps caret + label aligned when switching More Info ↔ Less info */
  min-inline-size: 7rem;
}

/* Caret: points down when collapsed, flips when open */
.offer-card__toggle-prose::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  flex-shrink: 0;
  transform: rotate(0deg);
  transform-origin: 50% 35%;
  transition: transform 0.2s ease;
}

.offer-card__toggle-prose[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .offer-card__toggle-prose::after {
    transition: none;
  }
}

.offer-card__toggle-prose:hover {
  opacity: 0.72;
}

.offer-card__toggle-prose[hidden] {
  display: none;
}

.offer-card__prose p {
  margin: 0 0 0.7rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text);
}

.offer-card__prose p:last-child {
  margin-bottom: 0;
}

.offer-card__book {
  flex-shrink: 0;
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.offerings-page .offer-card__book:hover {
  color: var(--bg);
  opacity: 0.9;
}

.offer-card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.offer-card__media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.offer-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

.offer-card__media-label {
  position: relative;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

/* Group / retreats tile — same cell width as other cards (fills one grid cell) */
.offer-card.offer-menu__note {
  width: 100%;
}

.offer-card.offer-menu__note .offer-card__prose {
  margin-top: clamp(14px, 2vw, 18px);
}

@media (max-width: 1100px) {
  .offer-menu__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .offer-menu__list {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════
   CONTACT PAGE (contact.html, body.contact-page)
   Section title uses shared .work-page-section-title (Work / Landing parity).
   All form rules scoped to .contact-page to avoid classname collisions site-wide.
   Inquiry: intro left column; form right column aligned with nav Practice / hero media edge.
   Canvas = --soft (Offerings parity); intro + site footer = moon-white --bg bands.
   ══════════════════════════════════════════════════ */

body.contact-page {
  background-color: var(--soft);
}

.contact-page main {
  background-color: var(--soft);
}

.contact-page #contact.contact-section.contact-section--site-footer {
  background-color: #fff;
  flex-shrink: 0;
}

.contact-page #inquire.section {
  --contact-rail-pad-top: clamp(14px, 2.2vw, 22px);
  flex: 1 1 auto;
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(to right, var(--bg) 0 50%, var(--soft) 50% 100%);
}

.contact-page #inquire .contact-inquiry__layout {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.contact-page #inquire .contact-inquiry__intro {
  grid-column: 1;
  padding: var(--contact-rail-pad-top) var(--layout-content-pad);
  padding-right: clamp(16px, 3vw, 32px);
  background: transparent;
}

.contact-page #inquire .contact-inquiry__intro .work-page-section-title {
  margin: 0 0 0.4rem;
  max-width: 14em;
}

.contact-page .contact-form__note {
  margin: 0;
  max-width: 22em;
}

.contact-page #inquire .contact-form {
  grid-column: 2;
  justify-self: stretch;
  width: 100%;
  min-height: 100%;
  padding: var(--contact-rail-pad-top) var(--pad-x);
  padding-bottom: clamp(16px, 2.5vh, 28px);
  box-sizing: border-box;
  background: transparent;
}

.contact-page .contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.8vh, 1.15rem);
}

@media (max-width: 900px) {
  .contact-page #inquire.section {
    background: none;
  }

  .contact-page #inquire .contact-inquiry__layout {
    grid-template-columns: 1fr;
  }

  .contact-page #inquire .contact-inquiry__intro {
    padding: var(--contact-rail-pad-top) var(--pad-x) clamp(12px, 2vh, 20px);
    background: var(--bg);
  }

  .contact-page #inquire .contact-form {
    grid-column: 1;
    width: 100%;
    max-width: none;
    padding: clamp(12px, 2vh, 20px) var(--pad-x) var(--gap-section);
    background: var(--soft);
  }
}

.contact-page .contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-page .contact-form__field > label,
.contact-page .contact-form__legend {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-page .contact-form__offerings {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  min-width: 0;
  min-inline-size: 0;
  width: 100%;
  gap: 0.35rem;
}

.contact-page .contact-form__offerings .contact-form__legend {
  float: none;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 0.35rem;
  color: #7a5a12;
}

.contact-form__offerings-panel {
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px dashed rgb(207 168 71 / 0.45);
  border-radius: 10px;
  background: rgb(207 168 71 / 0.1);
}

.contact-page .contact-form__offerings .contact-offering-checks {
  margin: 0;
}

.contact-offering-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-offering-checks > li {
  display: contents;
}

.contact-offering-check {
  display: inline-flex;
  cursor: pointer;
}

.contact-offering-check input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-offering-check span {
  display: inline-block;
  max-width: 100%;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid rgb(207 168 71 / 0.55);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.65) inset;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
}

.contact-offering-check:hover span {
  border-color: var(--accent);
  background: rgb(255 248 232 / 0.95);
}

.contact-offering-check input[type="checkbox"]:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: 0 1px 3px rgb(207 168 71 / 0.35);
}

.contact-offering-check input[type="checkbox"]:active + span {
  transform: scale(0.98);
}

.contact-offering-check input[type="checkbox"]:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-offering-check input[type="checkbox"]:checked:focus-visible + span {
  outline-color: var(--accent);
}

.contact-page .contact-form__field input:not([type="checkbox"]),
.contact-page .contact-form__field select,
.contact-page .contact-form__field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}

.contact-page .contact-form__field textarea {
  min-height: clamp(96px, 16vh, 140px);
  resize: vertical;
}

.contact-page .contact-form__field input:not([type="checkbox"]):focus,
.contact-page .contact-form__field select:focus,
.contact-page .contact-form__field textarea:focus {
  outline: 2px solid #1a4d6e;
  outline-offset: 1px;
}

.contact-page .contact-form__actions {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
}

.contact-page .contact-form__success {
  margin: 0;
  max-width: min(18rem, 100%);
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #fff8e8 0%, #f5e6b8 100%);
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 8px rgb(207 168 71 / 0.22);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #7a5a12;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page .contact-form__success.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-page .contact-form__submit.contact-cta {
  appearance: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   LANDING PROTOTYPE (landing.html — not in nav yet)
   ══════════════════════════════════════════════════ */

.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  --landing-hero-pad: clamp(1rem, 2.5vh, 1.5rem);
  --landing-grid-gap: clamp(10px, 1.2vh, 14px);
  --landing-fold-h: calc(100dvh - var(--nav-h) - var(--landing-hero-pad) * 2);
  --landing-chip-gap: 0;
  --landing-text-meta: 3.25rem;
  --landing-title-band: clamp(1.65rem, 2.8vw + 0.5vh, 2.45rem);
  --landing-row-h: calc((var(--landing-fold-h) - var(--landing-grid-gap) - 2.5rem) / 2);
  --landing-photo-min: calc(
    var(--landing-row-h) - var(--landing-text-meta) - var(--landing-title-band) - 0.35rem
  );
}

.landing-page .landing-shell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.landing-page .landing-hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: calc(100dvh - var(--nav-h));
  padding-block: var(--landing-hero-pad);
  background: var(--bg);
}

.landing-page .landing-hero.section {
  padding-block: var(--landing-hero-pad);
}

.landing-page .landing-hero__frame {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--pad-x);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 721px) {
  .landing-page .landing-hero__frame {
    padding-inline: var(--layout-content-pad);
  }
}

.landing-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
}

.landing-snapshot .work-page-section-title {
  margin: 0 0 clamp(0.65rem, 1.2vh, 0.85rem);
}

.landing-page .landing-snapshot__active {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.landing-page .landing-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--landing-grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  flex: 1 1 auto;
  align-items: stretch;
}

.landing-page .landing-hero__grid > li {
  min-width: 0;
  display: flex;
}

.landing-page .landing-hero__grid .initiative-chip {
  width: 100%;
  min-height: var(--landing-row-h);
  padding: 0;
  gap: var(--landing-chip-gap);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
}

.landing-page .landing-hero__grid .initiative-chip:hover {
  background: transparent;
}

.landing-page .landing-hero__grid .initiative-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.landing-page .landing-hero__grid .initiative-chip__visual {
  flex: 1 1 auto;
  position: relative;
  min-height: max(8rem, var(--landing-photo-min));
  overflow: hidden;
  border-radius: 2px;
}

.landing-page .landing-hero__grid .initiative-chip__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.landing-page .landing-hero__grid .initiative-chip:hover .initiative-chip__photo {
  transform: scale(1.04);
}

.landing-page .landing-hero__grid .initiative-chip__title {
  display: block;
  min-height: 0;
  margin: 0.45em 0 0.1em;
  flex: 0 0 auto;
  font-size: clamp(1.35rem, 2.2vw + 0.35vh, 2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.landing-page .landing-hero__grid .initiative-chip:hover .initiative-chip__title {
  color: var(--accent);
}

.landing-page .landing-hero__grid .initiative-chip__kicker {
  margin: 0;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.landing-page .landing-hero__grid .initiative-chip__blurb {
  flex: 0 0 auto;
  min-height: calc(2 * 1.4em);
  margin: 0;
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.landing-events-panel {
  min-width: 0;
}

.landing-events {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.2vh, 0.85rem);
}

.landing-events__item {
  margin: 0;
}

.landing-event-chip {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: stretch;
  padding: clamp(12px, 1.5vw, 16px) clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
}

@supports (text-box-trim: trim-both) {
  .landing-event-chip__date,
  .landing-event-chip__title {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }
}

.landing-event-chip__date {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15em;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.landing-event-chip__date-line {
  display: block;
}

.landing-event-chip__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
}

.landing-event-chip__title {
  margin: 0;
  display: block;
  min-width: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

.landing-event-chip__location {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.landing-event-chip__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.landing-events__empty {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.landing-events__empty a {
  color: var(--accent-link);
}

@media (max-width: 960px) {
  .landing-page .landing-hero {
    min-height: auto;
  }

  .landing-snapshot {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vh, 2.5rem);
  }

  .landing-events-panel {
    order: -1;
    padding-top: 0;
    border-top: none;
  }

  .landing-page .landing-snapshot__active {
    padding-top: clamp(1.25rem, 2.5vh, 1.75rem);
    border-top: 1px solid var(--line);
  }

  .landing-page .landing-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-page .landing-hero__grid .initiative-chip__blurb {
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 721px) {
  .landing-page .contact-section .container {
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--layout-content-pad);
  }
}

@media (max-width: 720px) {
  .landing-page .contact-section .container {
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--pad-x);
  }

  .landing-page {
    --landing-row-h: auto;
    --landing-title-band: clamp(1.5rem, 6vw + 0.25rem, 2rem);
    --landing-photo-min: 12rem;
  }

  .landing-page .landing-hero__grid {
    grid-template-columns: 1fr;
  }

  .landing-page .landing-hero__grid .initiative-chip {
    min-height: 0;
  }

  .landing-event-chip {
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  }
}


/* ══════════════════════════════════════════════════
   STYLE GUIDE PAGE
   ══════════════════════════════════════════════════ */

.sg-page { max-width: 880px; margin: 0 auto; padding: 0 var(--pad-x); }
.sg-section { padding: 64px 0; border-top: 1px solid var(--line); }
.sg-section:first-child { border-top: none; }
.sg-section-label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.sg-row { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; }
.sg-swatch { width: 80px; height: 80px; border-radius: 2px; flex-shrink: 0; }
.sg-swatch-info { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.sg-swatch-name { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.sg-swatch-hex  { font-family: monospace; font-size: 0.75rem; color: var(--muted); }
.sg-swatch-use  { font-size: 0.75rem; color: var(--muted); }
.sg-swatches { display: flex; gap: 16px; flex-wrap: wrap; }
.sg-specimen { margin-bottom: 40px; }
.sg-specimen-label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; display: flex; justify-content: space-between; }
.sg-class { font-family: monospace; color: var(--accent); }
.sg-component { padding: 32px; background: var(--soft); border-radius: 2px; margin-bottom: 16px; }

/* GIF-to-video swap: <video> elements used as tile/thumbnail media inherit the same
   positioning that .project-img img / .project-tile__media img already had. */
.project-img video,
.project-case-related .project-tile__media video,
.work-page .project-tile__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-img.fit-width video,
.project-img.fit-media video,
.work-page .project-tile__media.project-img.fit-width video,
.work-page .project-tile__media.project-img.fit-media video {
  object-fit: contain;
  object-position: center;
}
.project-case-related .project-tile__media video,
.work-page .project-tile__media video {
  transition: transform 0.45s ease, opacity 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .project-case-related .project-tile__link:hover .project-tile__media video,
  .work-page .project-tile__link:hover .project-tile__media video {
    transform: scale(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-case-related .project-tile__media video,
  .work-page .project-tile__media video {
    transition: none;
  }
  .project-case-related .project-tile__link:hover .project-tile__media video,
  .project-case-related .project-tile__link:focus-visible .project-tile__media video,
  .work-page .project-tile__link:hover .project-tile__media video,
  .work-page .project-tile__link:focus-visible .project-tile__media video {
    transform: none;
  }
}
