/* ============================================================
   SMPL DESIGN STUDIO — Design System
   smpl.css · v1.0
   ============================================================

   1.  Reset
   2.  Design Tokens
   3.  Base
   4.  Layout
   5.  Typography
   6.  Navigation
   7.  Hero
   8.  Buttons
   9.  Cards
   10. Sections & Spacing
   11. Footer
   12. Scroll Reveal
   13. Utilities
   14. Responsive

   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   1. RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }


/* ─────────────────────────────────────────────────────────────
   2. DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  /* Colour */
  --bg:        #f9f6f3;
  --surface:   #fefcfa;
  --ink:       #1a1814;
  --muted:     #6f6960;
  --faint:     #766e65;
  --line:      rgba(20,18,14,.08);
  --line-lt:   rgba(20,18,14,.045);
  --olive:     #5a6d49;
  --olive-d:   #516045;
  --terra:     #b8694a;
  --stone:     #d5cdc2;
  --charcoal:  #1c1a17;
  --glass:     rgba(255,255,255,.58);
  --glass-b:   rgba(255,255,255,.76);
  --dark-text:   #f5f2ee;
  --dark-muted:  #d4cdc6;
  --dark-subtle: #b4ada6;
  --dark-faint:  #979088;

  /* Shadow */
  --sh-s:  0 4px 16px rgba(0,0,0,.05);
  --sh-m:  0 8px 32px rgba(0,0,0,.07);
  --sh-l:  0 20px 56px rgba(0,0,0,.10);

  /* Radius */
  --r-sm:  14px;
  --r-md:  22px;
  --r-lg:  28px;

  /* Type */
  --sans:  'Inter', system-ui, sans-serif;
  --serif: 'Lora', Georgia, serif;

  /* Layout */
  --nav-h: 68px;
  --max:   1340px;
  --pad:   clamp(20px, 4vw, 40px);
  --wrap-side: var(--pad);
  --hero-frame: clamp(12px, 3.5vw, 48px);
  --eyebrow-gap: 18px;
  --page-hero-eyebrow-gap: 18px;
}


/* ─────────────────────────────────────────────────────────────
   3. BASE
───────────────────────────────────────────────────────────── */
body {
  font-family: var(--sans);
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,.65) 0%, transparent 42%),
    radial-gradient(ellipse at bottom right, rgba(175,155,125,.06) 0%, transparent 55%),
    linear-gradient(160deg, #fdfaf8 0%, #f5f1ed 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100svh;
}

body > * { position: relative; z-index: 1; }
body.menu-open { overflow: hidden; }

img   { display: block; width: 100%; height: 100%; object-fit: cover; }
a     { text-decoration: none; color: inherit; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}


/* ─────────────────────────────────────────────────────────────
   4. LAYOUT
───────────────────────────────────────────────────────────── */
.wrap {
  width: min(calc(100% - var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* Two-column grid */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.two-col.reversed { direction: rtl; }
.two-col.reversed > * { direction: ltr; }

/* Three-column grid */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

/* Four-column grid */
.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* 2-up images */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.5vw, 20px);
}

/* 3-up images */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.5vw, 20px);
}


/* ─────────────────────────────────────────────────────────────
   5. TYPOGRAPHY
───────────────────────────────────────────────────────────── */

/* Eyebrow / Label */
.label {
  font-size: 10.5px;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* Display headings */
.h-display {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .88;
}

.h-xl {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .92;
}

.h-lg {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}

.h-md {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.h-sm {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.2;
}

/* Body copy */
.body-lg {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
}

.body-md {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--muted);
}

/* Pull quote */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.015em;
  line-height: 1.5;
  color: var(--ink);
}

/* Stat number (homepage style) */
.stat-n {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-l {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}


/* ─────────────────────────────────────────────────────────────
   6. NAVIGATION
───────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: clamp(12px, 3.5vw, 48px);
  transition: padding-top .5s cubic-bezier(.22,1,.36,1),
              transform .45s cubic-bezier(.22,1,.36,1);
}
.nav.hidden,
.nav.dir-hidden  { transform: translateY(-110%); }
.nav.scrolled { padding-top: 14px; }

.nav-inner {
  height: var(--nav-h);
  width: min(calc(100% - var(--pad) * 2), var(--max));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: background .4s ease, box-shadow .4s ease,
              backdrop-filter .4s ease, border-radius .4s ease,
              padding-inline .4s ease;
}
.nav.hero-mode .nav-inner {
  width: min(calc(100% - var(--pad) * 2), var(--max));
  padding-inline: clamp(12px, 1.8vw, 22px);
}
.nav.scrolled .nav-inner {
  padding-inline: 28px;
  background: rgba(253,250,248,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 24px rgba(0,0,0,.08), inset 0 0 0 1px var(--line);
  border-radius: var(--r-md);
}
.nav.hidden .nav-inner {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.nav-logo {
  font-size: 15px; font-weight: 300; letter-spacing: .32em;
  text-transform: uppercase; transition: color .2s;
}
.nav.hero-mode .nav-logo { color: rgba(255,255,255,.9); }
.nav.hero-mode.nav-dark .nav-logo { color: rgba(20,18,14,.9); }

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

.nav-link {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
  position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { transform: scaleX(1); }
.nav.hero-mode .nav-link { color: var(--dark-muted); }
.nav.hero-mode .nav-link:hover { color: #fff; }
.nav.hero-mode .nav-link::after { background: #fff; }
.nav.hero-mode.nav-dark .nav-link {
  color: rgba(20,18,14,.6);
}
.nav.hero-mode.nav-dark .nav-link:hover,
.nav.hero-mode.nav-dark .nav-link.active {
  color: var(--ink);
}
.nav.hero-mode.nav-dark .nav-link::after {
  background: var(--ink);
}

.nav-cta {
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 999px;
  background: var(--charcoal); color: rgba(255,255,255,.9);
  transition: background .2s;
}
.nav-cta:hover { background: #2d2a25; }
.nav.hero-mode .nav-cta {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}
.nav.hero-mode.nav-dark .nav-cta {
  background: rgba(20,18,14,.08);
  border: 1px solid rgba(20,18,14,.16);
  color: var(--ink);
}
.nav.hero-mode.nav-dark .nav-cta:hover {
  background: rgba(20,18,14,.14);
}

/* Mobile hamburger (hidden by default, shown at breakpoint) */
.nav-menu-btn {
  display: none;
  flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0; cursor: pointer;
  flex-shrink: 0;
}
.nav-menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; transition: all .25s;
}
.nav.hero-mode .nav-menu-btn { color: rgba(255,255,255,.8); }
.nav.hero-mode.nav-dark .nav-menu-btn { color: rgba(20,18,14,.8); }
.nav-mobile-panel { display: none; }


/* ─────────────────────────────────────────────────────────────
   7. HERO
───────────────────────────────────────────────────────────── */
.hero-outer {
  position: relative; height: 100svh; min-height: 560px;
}
.hero-spread {
  position: absolute;
  inset: var(--hero-frame);
  border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-l);
  will-change: inset, border-radius;
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  object-position: center 55%;
  will-change: transform;
  transform: scale(1.08);
  transform-origin: center center;
}
.hero-top-scrim {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(38%, 260px);
  background: linear-gradient(180deg,
    rgba(12,10,8,var(--hero-nav-scrim-strength, .26)) 0%,
    rgba(12,10,8,calc(var(--hero-nav-scrim-strength, .26) * .55)) 48%,
    rgba(12,10,8,0) 100%);
  pointer-events: none;
}

.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(175deg,
    rgba(14,12,9,.1) 0%, rgba(14,12,9,0) 35%, rgba(14,12,9,.65) 100%);
}
.hero-outer[data-nav-tone="dark"] {
  --hero-nav-scrim-strength: .08;
}
.hero-outer[data-nav-tone="dark"] .hero-scrim {
  background: linear-gradient(175deg,
    rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 35%, rgba(14,12,9,.58) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding-block: 40px;
}
.hero-foot {
  width: min(calc(100% - var(--pad) * 2), var(--max));
  margin-inline: auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.hero-kicker {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dark-muted); margin-bottom: var(--eyebrow-gap);
}
.hero-hed {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 7rem);
  font-weight: 400; letter-spacing: -.02em;
  line-height: .88; color: #fff; max-width: 18ch;
}
.hero-aside {
  text-align: right; flex-shrink: 0; padding-bottom: 8px;
}
.hero-aside p {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--dark-subtle); line-height: 2;
}
.hero-ctas { display: flex; gap: 10px; margin-top: 28px; align-items: center; }

/* Page hero (non-fullscreen, for inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 80px);
}
.page-hero-kicker {
  display: block;
  margin-bottom: var(--page-hero-eyebrow-gap);
}
.page-hero-hed {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  font-weight: 400; letter-spacing: -.025em;
  line-height: .92; color: var(--ink);
  max-width: 19ch;
  margin: 0;
}
.page-hero-sub {
  margin-top: 24px;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  line-height: 1.75; color: var(--muted); max-width: 52ch;
}


/* ─────────────────────────────────────────────────────────────
   8. BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 400;
  letter-spacing: .17em; text-transform: uppercase;
  cursor: pointer; border: none;
  transition: all .22s ease;
  text-decoration: none;
}

.btn-dark {
  background: var(--charcoal); color: rgba(255,255,255,.9);
  padding: 14px 28px; border-radius: 999px;
}
.btn-dark:hover { background: #2d2a25; }

.btn-outline {
  background: rgba(255,255,255,.55); color: var(--ink);
  padding: 13px 27px; border-radius: 999px;
  border: 1px solid var(--line); box-shadow: var(--sh-s);
}
.btn-outline:hover { background: rgba(255,255,255,.9); }

.btn-ghost {
  background: transparent; color: var(--ink);
  padding: 3px 0; border-radius: 0;
  border-bottom: 1px solid var(--stone);
  font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase;
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: var(--dark-text);
  padding: 3px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,.88); }

.btn-light {
  background: rgba(255,255,255,.22); color: rgba(255,255,255,.96);
  padding: 14px 30px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.42);
}
.btn-light:hover { background: rgba(255,255,255,.3); }

.btn-olive {
  background: var(--olive); color: rgba(255,255,255,.92);
  padding: 14px 28px; border-radius: 999px;
}
.btn-olive:hover { background: var(--olive-d); }


/* ─────────────────────────────────────────────────────────────
   9. CARDS
───────────────────────────────────────────────────────────── */

/* Glass card */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-m);
}

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: rgba(255,255,255,.55);
}

/* Project card (work grid) */
.proj-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-m);
  transition: box-shadow .3s ease, transform .3s ease;
  display: block; text-decoration: none;
}
.proj-card:hover { box-shadow: var(--sh-l); transform: translateY(-3px); }

.proj-card-img { overflow: hidden; aspect-ratio: 4/3; }
.proj-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
}
.proj-card:hover .proj-card-img img { transform: scale(1.05); }

.proj-card-info {
  padding: 20px 22px 22px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.proj-card-name {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 400; letter-spacing: -.01em; margin-bottom: 5px; color: var(--ink);
}
.proj-card-meta {
  font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.proj-card-arrow {
  font-size: 1.1rem; color: var(--faint);
  transition: color .2s, transform .25s; flex-shrink: 0; margin-left: 12px;
}
.proj-card:hover .proj-card-arrow { color: var(--ink); transform: translateX(4px); }

/* Featured project card (2-col) */
.proj-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-l); background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease; text-decoration: none;
}
.proj-feature:hover { box-shadow: 0 28px 72px rgba(0,0,0,.14); }
.proj-feature-img { overflow: hidden; }
.proj-feature-img img {
  height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
}
.proj-feature:hover .proj-feature-img img { transform: scale(1.04); }
.proj-feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; }

/* Journal / post card */
.post-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-m);
  transition: box-shadow .3s, transform .3s;
  display: block; text-decoration: none;
}
.post-card:hover { box-shadow: var(--sh-l); transform: translateY(-2px); }
.post-card-img { overflow: hidden; aspect-ratio: 16/9; }
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 24px 26px 28px; }
.post-card-cat {
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 10px;
}
.post-card-title {
  font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400; letter-spacing: -.01em;
  line-height: 1.25; color: var(--ink); margin-bottom: 10px;
}
.post-card-excerpt {
  font-size: .9rem; line-height: 1.65; color: var(--muted);
}
.post-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
}

/* Featured editorial card */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-l);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s ease, transform .3s ease;
}
.feature-card:hover {
  box-shadow: 0 28px 72px rgba(0,0,0,.13);
  transform: translateY(-2px);
}
.feature-card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
}
.feature-card:hover .feature-card-media img { transform: scale(1.04); }
.feature-card-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.feature-card-label {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.feature-card-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.feature-card-excerpt {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}
.feature-card-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Image blocks */
.img-fullwidth {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-l); aspect-ratio: 21/9;
}
.img-fullwidth img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(.25,.46,.45,.94);
}
.img-fullwidth:hover img { transform: scale(1.02); }

.img-4-3 {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-m); aspect-ratio: 4/3;
}
.img-4-3 img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
}
.img-4-3:hover img { transform: scale(1.04); }

.img-square {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-m); aspect-ratio: 1/1;
}
.img-square img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
}
.img-square:hover img { transform: scale(1.04); }

/* Video */
.video-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-l); background: var(--charcoal); aspect-ratio: 16/9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Tags */
.tags-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.55);
  transition: background .2s, color .2s;
}
.tag:hover { background: rgba(255,255,255,.9); color: var(--ink); }

/* Service card */
.service-card {
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-m);
}
.service-card-icon {
  width: 36px; height: 36px; margin-bottom: 20px;
  color: var(--olive);
}
.service-card-title {
  font-family: var(--serif); font-size: 1.2rem;
  font-weight: 400; letter-spacing: -.01em;
  margin-bottom: 12px; color: var(--ink);
}
.service-card-body {
  font-size: .9rem; line-height: 1.75; color: var(--muted);
}

/* Process step */
.process-step { display: flex; gap: 28px; align-items: flex-start; }
.process-step-num {
  font-family: var(--serif); font-size: 2.5rem;
  font-weight: 400; color: var(--stone);
  line-height: 1; flex-shrink: 0; width: 48px;
}
.process-step-title {
  font-family: var(--serif); font-size: 1.15rem;
  font-weight: 400; letter-spacing: -.01em;
  margin-bottom: 8px; color: var(--ink);
}
.process-step-body {
  font-size: .9rem; line-height: 1.75; color: var(--muted);
}

/* Team member card */
.team-card { text-align: center; }
.team-card-img {
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 3/4; margin-bottom: 16px; box-shadow: var(--sh-m);
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-name {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 400; color: var(--ink); margin-bottom: 4px;
}
.team-card-role {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}


/* ─────────────────────────────────────────────────────────────
   10. SECTIONS & SPACING
───────────────────────────────────────────────────────────── */
.section    { padding: clamp(72px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-xs { padding: clamp(32px, 4vw, 56px) 0; }
.section-img { padding-bottom: clamp(64px, 8vw, 112px); }

/* Divider */
.divider { border: none; border-top: 1px solid var(--line); }

/* Section head (label + heading + optional sub) */
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .label { display: block; margin-bottom: var(--eyebrow-gap); }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400; letter-spacing: -.025em; color: var(--ink);
  margin: 0;
}
.section-head p {
  margin-top: 16px;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.8; color: var(--muted); max-width: 56ch;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(36px, 5vw, 60px);
  flex-wrap: wrap;
}
.section-head-split .section-head {
  margin-bottom: 0;
  max-width: 42rem;
}
.section-head-split .section-head-side {
  max-width: 38rem;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--muted);
}

.dark-section {
  background: var(--charcoal);
  color: rgba(255,255,255,.9);
}
.dark-section .label { color: var(--dark-subtle); }
.dark-section .section-head h2,
.dark-section .section-head-split h2,
.dark-section .text-center h2 { color: rgba(255,255,255,.92); }
.dark-section .section-head p,
.dark-section .section-head-side,
.dark-section .text-center p { color: var(--dark-muted); }
.dark-section .btn-ghost {
  color: var(--dark-muted);
  border-bottom-color: rgba(255,255,255,.28);
}
.dark-section .btn-ghost:hover {
  color: rgba(255,255,255,.92);
  border-bottom-color: rgba(255,255,255,.7);
}

/* Filter pills */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.filter-btn {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--charcoal);
  color: rgba(255,255,255,.9);
  border-color: var(--charcoal);
}

/* Forms */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink);
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  transition: border-color .2s ease, background .2s ease;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  background: rgba(255,255,255,.9);
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

/* CTA band */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-l);
}
.cta-band-bg {
  position: absolute;
  inset: 0;
}
.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(.38);
}
.cta-band-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 64px var(--pad);
  width: 100%;
}
.cta-band-eyebrow {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dark-subtle);
  margin-bottom: 22px;
}
.cta-band-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: #fff;
  line-height: .9;
  margin-bottom: 36px;
}
.cta-band-sub {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--dark-muted);
  line-height: 1.8;
  max-width: 48ch;
  margin: 0 auto 44px;
}
.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-band-details {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 48px;
  flex-wrap: wrap;
}
.cta-band-detail {
  text-align: center;
}
.cta-band-detail .label {
  display: block;
  color: var(--dark-subtle);
  margin-bottom: 12px;
}
.cta-band-detail p {
  color: rgba(255,255,255,.9);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
}

/* ── Minimal bottom CTA ──────────────────────────────── */
.inspire-bottom-cta {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.inspire-bottom-cta .label { display: block; margin-bottom: var(--eyebrow-gap); }
.inspire-bottom-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}
.inspire-bottom-cta p {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 32px;
}

/* Global moodboard UI */
.site-moodboard-bar {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: var(--charcoal);
  box-shadow: 0 8px 40px rgba(0,0,0,.28);
  white-space: nowrap;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.site-moodboard-bar.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.site-moodboard-bar.visible.dir-hidden {
  transform: translateX(-50%) translateY(140%);
  pointer-events: none;
}
.site-moodboard-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-moodboard-bar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}
.site-moodboard-bar-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dark-muted);
}
.site-moodboard-bar-btn {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: var(--dark-text);
  border: 1px solid rgba(255,255,255,.32);
  cursor: pointer;
  transition: background .2s;
}
.site-moodboard-bar-btn:hover { background: rgba(255,255,255,.28); }

.site-moodboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 205;
  background: rgba(14,12,9,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.site-moodboard-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.site-moodboard-modal {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 96px rgba(0,0,0,.22);
  width: 100%;
  max-width: 560px;
  max-height: 90svh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.site-moodboard-overlay.open .site-moodboard-modal { transform: none; }
.site-moodboard-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--line);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.site-moodboard-close:hover { background: var(--stone); color: var(--ink); }
.site-moodboard-close svg { width: 14px; height: 14px; }
.site-moodboard-body { padding: clamp(28px, 5vw, 44px); }
.site-moodboard-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.site-moodboard-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--stone);
}
.site-moodboard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-moodboard-thumb.empty {
  border: 1.5px dashed var(--line);
  background: transparent;
}
.site-moodboard-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.site-moodboard-input {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink);
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.site-moodboard-input:focus {
  border-color: var(--ink);
  background: rgba(255,255,255,.9);
}
.site-moodboard-submit {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--charcoal);
  color: rgba(255,255,255,.92);
}
.site-moodboard-submit:hover { background: #2d2a25; }

/* Centered text block */
.text-center {
  text-align: center; max-width: 68ch; margin-inline: auto;
}
.text-center .label { display: block; margin-bottom: var(--eyebrow-gap); }
.text-center h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400; letter-spacing: -.025em; line-height: 1;
  color: var(--ink); margin-bottom: 20px;
}
.text-center .pull-quote { margin-bottom: 20px; }
.text-center p {
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  line-height: 1.8; color: var(--muted);
}

/* Intro strip (below hero) */
.intro-strip {
  padding: 48px 0; border-bottom: 1px solid var(--line);
}
.intro-strip-inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 40px; flex-wrap: wrap;
}
.intro-pull {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400; letter-spacing: -.02em;
  line-height: 1.25; max-width: 38ch;
}
.intro-pull em { font-style: italic; color: var(--olive); }
.intro-stats { display: flex; gap: 48px; flex-shrink: 0; }


/* ─────────────────────────────────────────────────────────────
   11. FOOTER
───────────────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner { padding: 56px 0 36px; }
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; margin-bottom: 52px;
}
.footer-brand {
  font-size: 17px; font-weight: 300; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(255,255,255,.88);
}
.footer-brand small {
  display: block; font-size: 9.5px; letter-spacing: .2em;
  color: var(--dark-subtle); margin-top: 6px;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  font-weight: 400; font-style: italic;
  color: var(--dark-subtle); margin-top: 12px;
  max-width: 26ch; line-height: 1.5;
}
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 {
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dark-subtle); margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dark-muted);
  padding: 5px 0; transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.75); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07);
  gap: 16px; flex-wrap: wrap;
}
.footer-base span {
  font-size: 10px; letter-spacing: .12px;
  color: var(--dark-subtle);
}


/* ─────────────────────────────────────────────────────────────
   12. SCROLL REVEAL
───────────────────────────────────────────────────────────── */
.r {
  opacity: 0; transform: translateY(22px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1),
              transform .85s cubic-bezier(.22,1,.36,1);
}
.r.up  { opacity: 1; transform: none; }
.r.d1  { transition-delay: .10s; }
.r.d2  { transition-delay: .18s; }
.r.d3  { transition-delay: .26s; }
.r.d4  { transition-delay: .34s; }
.r.d5  { transition-delay: .42s; }


/* ─────────────────────────────────────────────────────────────
   13. UTILITIES
───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-olive  { color: var(--olive); }
.text-muted  { color: var(--muted); }
.text-faint  { color: var(--faint); }
.text-serif  { font-family: var(--serif); }
.text-italic { font-style: italic; }
.mt-auto     { margin-top: auto; }


/* ─────────────────────────────────────────────────────────────
   14. PAGE TRANSITIONS (View Transitions API)
───────────────────────────────────────────────────────────── */

/*
 * Cross-document view transitions — opt in for the whole site.
 * In supporting browsers (Chrome 126+, Safari 18.2+) this enables
 * the shared-element hero morph when navigating to project pages.
 * In all other browsers it is a no-op and pages load normally.
 */
@view-transition {
  navigation: auto;
}

/*
 * SHARED ELEMENT: .hero-spread (not #heroImg)
 *
 * The VT snapshot captures an element's own painted output but
 * does NOT capture clipping from parent overflow:hidden. Since
 * #heroImg gets its rounded corners from the *parent* spread's
 * overflow:hidden, its snapshot was a hard rectangle — causing
 * the corner-loss glitch in both directions.
 *
 * #heroSpread has border-radius: var(--r-lg) applied *directly*
 * to itself, so its snapshot correctly includes rounded corners.
 * Scoped to .is-project so only project pages participate in
 * the morph (homepage and other hero pages are excluded).
 *
 * The clicked card (.proj-card / .proj) also has border-radius
 * applied directly on itself — matched in JS (smpl.js).
 */
.is-project #heroSpread {
  view-transition-name: project-hero;
}

/*
 * Nav gets its own VT layer so it cross-fades independently
 * of the root. Without this, the nav (which loads async) causes
 * a double-fade glitch — once with the root, once when it
 * re-appears after the partial loads.
 */
#nav {
  view-transition-name: site-nav;
}

/* Nav fades in smoothly whenever it's first inserted into the DOM.
 * @starting-style only fires on the element's very first paint,
 * so it won't interfere with normal scroll/state transitions. */
@starting-style {
  #nav { opacity: 0; }
}
#nav {
  transition: padding-top .5s cubic-bezier(.22,1,.36,1),
              transform .5s cubic-bezier(.22,1,.36,1),
              opacity 220ms ease;
}

/* ── Hero morph: timing ────────────────────────────────────── */
::view-transition-group(project-hero) {
  animation-duration: 580ms;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
}

/* Cross-fade the card UI → hero UI while the group morphs position/size.
 * The old snapshot (card) fades out quickly; the new snapshot (hero)
 * fades in slightly delayed so content doesn't compete with the morph. */
::view-transition-old(project-hero) {
  animation: 220ms ease both _smpl-fade-out;
  mix-blend-mode: normal;
}
::view-transition-new(project-hero) {
  animation: 320ms ease 120ms both _smpl-fade-in;
  mix-blend-mode: normal;
}

/* ── Nav: fade out on exit, @starting-style handles fade-in ── */
/* Nav isn't in the new page's snapshot (loads async) so we
 * only define the exit animation; entrance is via @starting-style. */
::view-transition-old(site-nav) {
  animation: 220ms ease both _smpl-fade-out;
}
::view-transition-new(site-nav) {
  animation: none;
}

/* ── Page root fade ────────────────────────────────────────── */
/* Named elements (project-hero, site-nav) have their own layers.
 * Everything else fades as root — new page delayed so it
 * doesn't compete with the expanding hero image. */
::view-transition-old(root) {
  animation: 240ms ease both _smpl-fade-out;
}
::view-transition-new(root) {
  animation: 360ms ease 80ms both _smpl-fade-in;
}

@keyframes _smpl-fade-out {
  to { opacity: 0; }
}
@keyframes _smpl-fade-in {
  from { opacity: 0; }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(project-hero),
  ::view-transition-old(project-hero),
  ::view-transition-new(project-hero),
  ::view-transition-old(site-nav),
  ::view-transition-new(site-nav),
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms !important;
  }
}

/* ── Fallback: fade-in on page load for non-VT browsers ────── */
/*
 * When cross-doc VT is NOT active (Firefox, older Safari),
 * the .page-entering class is added by JS on DOMContentLoaded
 * and removed after one frame, giving a subtle fade-in on
 * every page load.
 */
.page-entering {
  opacity: 0;
}
.page-entering-active {
  opacity: 1;
  transition: opacity 320ms ease;
}


/* ─────────────────────────────────────────────────────────────
   15. RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .nav-links { gap: 20px; }
  .nav-cta {
    padding: 10px 16px;
    letter-spacing: .12em;
  }
  .proj-feature { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .four-col     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .two-col, .two-col.reversed { grid-template-columns: 1fr; direction: ltr; }
  .three-col  { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { gap: 36px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-inner {
    height: 62px;
    padding-inline: 18px;
  }
  .nav.scrolled .nav-inner {
    padding-inline: 18px;
  }
  .nav-mobile-panel {
    display: block;
    width: min(calc(100% - var(--pad) * 2), var(--max));
    margin: 10px auto 0;
    background: rgba(253,250,248,.96);
    border-radius: var(--r-md);
    box-shadow: 0 18px 40px rgba(0,0,0,.12), inset 0 0 0 1px var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav-mobile-panel[hidden] { display: none; }
  .nav-mobile-links {
    display: grid;
    gap: 4px;
    padding: 12px;
  }
  .nav-mobile-link {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .nav-mobile-link:hover,
  .nav-mobile-link:active {
    background: rgba(20,18,14,.05);
  }
  .nav-mobile-link.active {
    background: rgba(20,18,14,.07);
  }
  .nav-mobile-link-cta {
    margin-top: 6px;
    background: var(--charcoal);
    color: rgba(255,255,255,.92);
    text-align: center;
  }
  .nav-mobile-link-cta.active {
    background: #2d2a25;
  }
  .hero-outer { height: 75svh; min-height: 480px; }
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero-content { padding-block: 28px; }
  .hero-aside { display: none; }
  .hero-hed   { font-size: clamp(2rem, 9vw, 3.2rem); max-width: none; }
  .hero-ctas  { flex-direction: column; align-items: center; gap: 14px; }
  .hero-ctas .btn-light {
    width: 100%;
    justify-content: center;
  }
  .hero-ctas .btn-ghost-light {
    width: auto;
    justify-content: flex-start;
  }
  .intro-stats { gap: 28px; }
  .intro-stats {
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
  }
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-inline: -2px;
    scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --wrap-side: 16px; }
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .page-hero { padding: calc(var(--nav-h) + 36px) 0 40px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-xs { padding: 24px 0; }
  .section-img { padding-bottom: 56px; }
  .two-up, .three-up { grid-template-columns: 1fr; }
  .three-col   { grid-template-columns: 1fr; }
  .four-col    { grid-template-columns: 1fr; }
  .footer-top  { flex-direction: column; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
  .intro-strip-inner { flex-direction: column; align-items: flex-start; }
  .intro-stats {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band {
    min-height: auto;
  }
  .cta-band-content {
    padding: 48px 20px;
  }
  .cta-band-title {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    margin-bottom: 24px;
  }
  .cta-band-sub {
    margin-bottom: 32px;
  }
  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-band-actions .btn-ghost,
  .cta-band-actions .btn-ghost-light {
    width: auto;
    justify-content: center;
  }
  .cta-band-details {
    flex-direction: column;
    gap: 20px;
  }
  .site-moodboard-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    justify-content: space-between;
    transform: translateY(140%);
  }
  .site-moodboard-bar.visible {
    transform: translateY(0);
  }
  .site-moodboard-bar.visible.dir-hidden {
    transform: translateY(140%);
  }
  .site-moodboard-bar-info {
    min-width: 0;
  }
  .site-moodboard-bar-label {
    white-space: normal;
  }
  .site-moodboard-modal {
    max-height: calc(100svh - 24px);
  }
  .site-moodboard-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}
