/* ============================================================
   CHIC COCOON — The Folio, Gallery White edition
   Pure white wall · neutral ink · rose as jewelry · black scenes
   Ink #171411 · White #FFFFFF · Rose #CFB7AD · Chocolate #3A2A1E
   Type: Fraunces (display) · Albert Sans (annotations)
   ============================================================ */

:root {
  --canvas: #FAF7F2;          /* warm cream — matches the original site's warmth (was #FFFFFF) */
  --canvas-2: #F4F3F1;        /* image placeholders only */
  --paper: #F7F6F4;           /* text on black scenes */
  --ink: #171411;
  --ink-soft: #46423D;
  --muted: #7C7670;
  --rose: #CFB7AD;
  --rose-deep: #956F5D;       /* hover states only */
  /* dark "evening" scenes — chocolate brown, not black (client read #16130F as black).
     Kept dark enough that cream + rose foil-stamp text stays crisp. Footer shares this. */
  --black: #3A2A1E;
  --black-2: #3A2A1E;
  --line: rgba(23, 20, 17, 0.16);
  --line-strong: rgba(23, 20, 17, 0.5);
  --line-light: rgba(247, 246, 244, 0.2);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Albert Sans", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* native scroll; smooth applies only to anchor clicks, offset for fixed header */
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--canvas); }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--ink);
  background: transparent;          /* lets the ambient wave layer show through */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   AMBIENT WAVE — slow flowing background, site-wide, behind content
   ============================================================ */
.wave-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.wave-bg span {
  position: absolute;
  left: -30%;
  width: 160%;
  height: 46vh;
  border-radius: 45%;
  opacity: 0.18;              /* glow kept very minimal per client request (was 0.55) */
  will-change: transform;
  filter: blur(40px);
}
.wave-bg .w1 {
  top: 4%;
  background: radial-gradient(60% 80% at 50% 50%, rgba(207, 183, 173, 0.30), transparent 70%);
  animation: waveA 24s ease-in-out infinite alternate;
}
.wave-bg .w2 {
  top: 40%;
  background: radial-gradient(60% 80% at 50% 50%, rgba(222, 200, 178, 0.26), transparent 70%);
  animation: waveB 32s ease-in-out infinite alternate;
}
.wave-bg .w3 {
  top: 66%;
  background: radial-gradient(60% 80% at 50% 50%, rgba(207, 183, 173, 0.22), transparent 70%);
  animation: waveA 28s ease-in-out infinite alternate-reverse;
}
@keyframes waveA {
  0%   { transform: translate3d(-8%, 0, 0) rotate(-3deg) scaleY(1); }
  100% { transform: translate3d(8%, 4%, 0) rotate(3deg) scaleY(1.12); }
}
@keyframes waveB {
  0%   { transform: translate3d(6%, 2%, 0) rotate(2deg) scaleY(1.1); }
  100% { transform: translate3d(-7%, -3%, 0) rotate(-2deg) scaleY(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .wave-bg span { animation: none !important; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--ink); color: var(--canvas); }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 300;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.8rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.skip-link:focus { top: 1rem; }

/* ---------- Utilities ---------- */
.container { width: min(1280px, 100% - 3rem); margin-inline: auto; }

.note {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.note--ink { color: var(--ink-soft); }

.fleuron {
  display: inline-block;
  color: var(--rose);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.h-display {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
/* the italic IS the emphasis — no color doing typography's job */
.h-display em, .h-hero em {
  font-style: italic;
  font-weight: 330;
  color: inherit;
}

.rule-double {
  border: 0;
  height: 4px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.rule { border: 0; border-top: 1px solid var(--line); }

/* Reveals — whisper grade, gated on JS */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in-view { opacity: 1; transform: none; }
html.js .reveal-img {
  clip-path: inset(8% 0 8% 0);
  opacity: 0;
  transition: clip-path 1.3s var(--ease-out), opacity 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .reveal-img > img {
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .reveal-img.in-view { clip-path: inset(0 0 0 0); opacity: 1; }
html.js .reveal-img.in-view > img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  html.js .reveal-img > img { transform: none; transition: none; }
  html.js .story-stamp.reveal { opacity: 1; transform: rotate(2.5deg); transition: none; }
  html.js .interlude cite::before, html.js .interlude cite::after { transform: scaleX(1); transition: none; }
  html.js .fslide, html.js .fslide.is-active { animation: none; clip-path: none; }
  html.js .fslide::after, html.js .fslide.is-active::after { animation: none; opacity: 0; }
  html.js .fslide img, html.js .fslide.is-active img { animation: none; transform: none; }
  html.js .principle::before, html.js .principle:last-child::after { transform: scaleX(1); transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Buttons — soft pills, like the approved navbar */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--canvas);
  border: 1px solid var(--ink);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--canvas); }
.btn--light { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(247, 246, 244, 0.45); }
.btn--outline-light:hover { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.btn svg { width: 0.95em; height: 0.95em; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* rose underline — one of the jewelry touches */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rose);
  transition: color 0.3s, border-color 0.3s;
}
.link-arrow svg { width: 0.9em; height: 0.9em; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover { color: var(--rose-deep); border-color: var(--rose-deep); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); border-color: var(--rose); }
.link-arrow--light:hover { color: var(--rose); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* image captions — museum metadata, rose hairline survives */
.figcap {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding-top: 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.figcap::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--rose);
  align-self: center;
}

/* Custom cursor removed per client request — native system cursor is used. */


/* ============================================================
   SCROLL RAIL — folio chapter indicator
   ============================================================ */
.scroll-rail {
  position: fixed;
  right: clamp(1.2rem, 2.4vw, 2.2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
html.js .scroll-rail.is-ready { opacity: 1; }
.rail-chapter {
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-height: 7.5em;
  display: flex;
  align-items: center;
  transition: opacity 0.35s;
}
.rail-chapter.is-switching { opacity: 0; }
.rail-track {
  position: relative;
  width: 1px;
  height: 128px;
  background: var(--line);
  overflow: hidden;
}
.rail-thumb {
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 30px;
  background: var(--ink);
  transition: transform 0.18s linear;
}
.rail-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (hover: none), (pointer: coarse), (max-width: 1100px) {
  .scroll-rail { display: none; }
}

/* ============================================================
   HEADER — single-row bar (brand · nav · contact pill)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 88px;
  display: flex;
  align-items: center;
  /* over the light hero: transparent, dark text */
  --hdr: var(--ink);
  --hdr-inv: #ffffff;
  --hdr-soft: var(--ink-soft);
  --hdr-line: var(--line-strong);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transition: height 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  height: 66px;
  /* the white bar from the approved screenshot */
  --hdr: var(--ink);
  --hdr-inv: #ffffff;
  --hdr-soft: var(--ink-soft);
  --hdr-line: var(--line-strong);
  /* solid bar — no backdrop-filter: blur was the scroll-jank source as
     large graded images passed beneath the fixed header */
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(0, 0, 0, 0.25);
}
/* menu open over the white sheet → dark icon/brand regardless of scroll */
.site-header.nav-open {
  --hdr: var(--ink);
  --hdr-inv: #ffffff;
  --hdr-soft: var(--ink-soft);
  --hdr-line: var(--line-strong);
  background: transparent;
  box-shadow: none;
}
/* HOME hero only: cream brand + nav sit directly on the cinematic image,
   until the hero scrolls away and the white bar (.is-scrolled) takes over.
   Scoped to body:not(.subpage) so every inner page keeps the dark header. */
body:not(.subpage) .site-header:not(.is-scrolled):not(.nav-open) {
  --hdr: var(--paper);
  --hdr-inv: var(--ink);
  --hdr-soft: rgba(247, 246, 244, 0.90);
  --hdr-line: rgba(247, 246, 244, 0.55);
  /* soft top vignette so the cream type reads over the bright top of the image */
  background: linear-gradient(to bottom, rgba(22, 19, 15, 0.48) 0%, rgba(22, 19, 15, 0.16) 55%, rgba(22, 19, 15, 0) 100%);
}
body:not(.subpage) .site-header:not(.is-scrolled):not(.nav-open) .brand-name,
body:not(.subpage) .site-header:not(.is-scrolled):not(.nav-open) .header-nav a,
body:not(.subpage) .site-header:not(.is-scrolled):not(.nav-open) .nav-cta {
  text-shadow: 0 1px 20px rgba(14, 11, 8, 0.32);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1380px, 100% - 3rem);
  margin-inline: auto;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1.3; }
.brand-name {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 1.25rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hdr);
  transition: color 0.4s;
}
.brand-sub {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--hdr-soft);
  margin-top: 0.3rem;
  transition: color 0.4s;
}
.header-nav { display: flex; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.header-nav a {
  font-size: 0.72rem;
  font-weight: 570;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hdr-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.header-nav a:hover { color: var(--hdr); }
.header-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.78rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--hdr-line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hdr);
  background: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.nav-cta:hover { background: var(--hdr); border-color: var(--hdr); color: var(--hdr-inv); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--hdr);
  transition: transform 0.35s var(--ease-out), opacity 0.25s, background 0.4s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ol { counter-reset: mnav; }
.mobile-nav li { counter-increment: mnav; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7.5vw, 2.8rem);
  line-height: 1.55;
  color: var(--ink);
  transition: color 0.25s, transform 0.3s var(--ease-out);
}
.mobile-nav a::before {
  content: counter(mnav, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.mobile-nav a:hover { color: var(--rose-deep); transform: translateX(8px); }
.mobile-nav-meta { margin-top: 2.6rem; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.08em; }

/* ============================================================
   HERO — full-bleed cinematic cover
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;         /* content vertically centered — balanced, no dead gap up top */
  overflow: hidden;
  background: var(--canvas-2);
}
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  animation: kenburns 16s var(--ease-out) forwards;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
html.gsap .hero-bg img { animation: none; } /* GSAP owns the settle when present */
/* cinematic scrim — neutral black pooled bottom-left under the type,
   feathered clear at the top so the header + the mural's top stay bright */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(135% 108% at 20% 96%, rgba(22, 19, 15, 0.82) 0%, rgba(22, 19, 15, 0.44) 38%, rgba(22, 19, 15, 0) 68%),
    linear-gradient(to top, rgba(22, 19, 15, 0.60) 0%, rgba(22, 19, 15, 0.10) 22%, rgba(22, 19, 15, 0) 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 4.5rem;         /* clears the fixed header, biases just below centre */
  max-width: 60rem;
  color: var(--paper);
}
.hero-content .note {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(247, 246, 244, 0.74);
  margin-bottom: 1.8rem;
}
.hero-content .note::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--rose-deep);
}
.h-hero {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--paper);
  text-wrap: balance;
  text-shadow: 0 1px 34px rgba(14, 11, 8, 0.30);
}
.h-hero em, .h-hero .w.it { font-style: italic; font-weight: 330; color: var(--rose); }
.hero-sub {
  max-width: 34rem;
  margin-top: 1.9rem;
  color: rgba(247, 246, 244, 0.86);
  font-size: 1.05rem;
  text-shadow: 0 1px 24px rgba(14, 11, 8, 0.28);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
  margin-top: 2.6rem;
}
.hero-stamp {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 7vw, 7rem);
  bottom: clamp(5rem, 13vh, 9.5rem);
  width: 118px;
  height: 118px;
  animation: spin 34s linear infinite;
}
.hero-stamp svg { width: 100%; height: 100%; }
.hero-stamp text {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 3.1px;
  text-transform: uppercase;
  fill: rgba(247, 246, 244, 0.58);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* scroll cue — a thin line that pulses down, centered at the base */
.hero-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 64px;
  background: rgba(247, 246, 244, 0.30);
  overflow: hidden;
}
.hero-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%;
  height: 50%;
  background: var(--rose-deep);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { top: -50%; } 100% { top: 110%; } }

.hero .fade-up {
  opacity: 0;
  transform: translateY(26px);
  animation: fadeUp 1.2s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }
/* when GSAP choreographs the intro, the CSS fallback stands down */
html.gsap .hero .fade-up { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-cue::after { animation: none; } }

/* ---------- line-mask reveals (GSAP splits headlines into lines) ---------- */
.split .line {
  display: block;
  overflow: hidden;
  padding-block: 0.08em;     /* keep descenders unclipped */
  margin-block: -0.08em;
}
.split .line-inner { display: block; will-change: transform; }
.split .w.it { font-style: italic; font-weight: 330; }

/* ---------- Unified photo grade ----------
   one warm, slightly muted editorial tone so every image — real project
   shot or stock — reads as one commissioned set. */
.hero-bg img,
.work-figure img,
.story-feature img,
.t-figure img,
.t-card-fig img,
.step-figure img,
.services-figure img,
.post-fig img {
  filter: saturate(0.92) contrast(1.04) brightness(1.01) sepia(0.10);
}

/* ============================================================
   INTERLUDE — epigraph
   ============================================================ */
.interlude {
  padding: clamp(2.8rem, 5vw, 4.25rem) 0;
  text-align: center;
}
.interlude .fleuron { display: block; margin-bottom: 1.7rem; font-size: 1rem; }
.interlude blockquote { max-width: 46rem; margin-inline: auto; }
.interlude p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.62;
  color: var(--ink-soft);
  text-wrap: balance;
}
.interlude cite {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.interlude cite::before, .interlude cite::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--rose);
}
/* the attribution's rose rules draw outward as the cite reveals — a quiet flourish */
html.js .interlude cite::before, html.js .interlude cite::after {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
  transition-delay: 0.28s;
}
html.js .interlude cite.in-view::before, html.js .interlude cite.in-view::after {
  transform: scaleX(1);
}

/* ============================================================
   SPREADS — shared furniture
   ============================================================ */
.spread { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.spread-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.4rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
  margin-bottom: clamp(1.9rem, 3.2vw, 2.8rem);
}
.spread-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ============================================================
   STORY
   ============================================================ */
/* feature spread — copy left, a single cross-dissolving gallery frame right,
   stretched to the copy's height so the two columns always resolve together */
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.6rem, 3vw, 3.4rem);
  align-items: stretch;
}
.story-copy { grid-column: 1 / 6; grid-row: 1; align-self: start; }
.story-copy h2 { margin-bottom: 1.9rem; }
.story-copy p { color: var(--ink-soft); margin-bottom: 1.35rem; }
.story-copy p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.3em;
  line-height: 0.8;
  float: left;
  padding: 0.1em 0.14em 0 0;
  color: var(--ink);
}
.story-copy > div { margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.story-copy .link-arrow { margin-top: 0; }
.story-feature {
  grid-column: 6 / 13;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 32rem;
}
.feature-stage {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--canvas-2);
}
/* page-lay wipe — the incoming frame is laid over the last via a directional
   clip reveal led by a soft, rose-lined "page edge". GPU-cheap, no 3D gimmick.
   The non-active frame sits fully rendered beneath (z-index) until covered. */
.fslide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  z-index: 0;
}
.fslide.is-active { z-index: 1; animation: pageWipe var(--wipe, 0.95s) var(--ease-out) both; }
@keyframes pageWipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
/* the travelling page edge — a whisper of shadow trailing a fine rose seam,
   clipped by the same reveal so the seam rides exactly at the leading edge */
.fslide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(22, 19, 15, 0) 0%,
    rgba(22, 19, 15, 0) calc(100% - 44px),
    rgba(22, 19, 15, 0.14) calc(100% - 14px),
    rgba(207, 183, 173, 0.85) calc(100% - 1.5px),
    rgba(207, 183, 173, 1) 100%);
}
.fslide.is-active::after { animation: seamSweep var(--wipe, 0.95s) var(--ease-out) both; }
@keyframes seamSweep {
  0%   { transform: translateX(-100%); opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}
.feature-stage img,
.services-stage img,
.reel-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.03);
}
/* the settled frame breathes — a slow, almost-imperceptible push-in */
.fslide.is-active img { animation: featureDrift 7s var(--ease-out) forwards; }
@keyframes featureDrift { from { transform: scale(1.03); } to { transform: scale(1.1); } }
/* caption cross-fades in sync with the image */
.feature-cap { display: inline-block; transition: opacity 0.4s var(--ease-out); }
.feature-cap.is-switching { opacity: 0; }
.story-stamp {
  position: absolute;
  right: -0.9rem;
  top: -1.1rem;
  z-index: 3;
  transform: rotate(2.5deg);
  background: var(--black);
  color: var(--canvas);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.85rem 1.3rem;
}
/* the signature stamp settles in with its frame (transform kept as rotate, not the generic reveal translate) */
html.js .story-stamp.reveal {
  opacity: 0;
  transform: rotate(2.5deg) translateY(10px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .story-stamp.reveal.in-view {
  opacity: 1;
  transform: rotate(2.5deg) translateY(0);
}

/* ============================================================
   PRINCIPLES — manifesto rows
   ============================================================ */
/* symmetric, modest padding — the neighbouring sections own the gaps, so the
   break below the manifesto matches the break above it (no double-stacked dead band) */
.principles { padding-block: clamp(0.75rem, 2vw, 1.75rem); }
.principles-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.6rem, 3.2vw, 2.6rem);
}
.principles-eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--rose-deep);
}
.principle {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.95fr 0.9fr;
  gap: clamp(1.4rem, 3.5vw, 4rem);
  align-items: center;
  padding: clamp(1.7rem, 3vw, 2.6rem) 0;
  color: inherit;
  text-decoration: none;
}
/* dividers draw in with the row reveal */
.principle::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
}
.principle:last-child::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
}
html.js .principle::before { transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js .principle.in-view::before { transform: scaleX(1); }
html.js .principle:last-child::after { transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0s) + 0.18s); }
html.js .principle.in-view:last-child::after { transform: scaleX(1); }
.principle-head { display: flex; align-items: center; gap: clamp(0.9rem, 1.7vw, 1.6rem); }
.principle-head .rn {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 0.85;
  color: var(--rose-deep);
  min-width: clamp(1.6rem, 2.6vw, 2.4rem);
  transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.principle:hover .rn { color: var(--ink); transform: translateX(3px); }
.principle-head h3 {
  position: relative;
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  color: var(--ink);
}
/* a rose seam draws under the heading on hover */
.principle-head h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.16em;
  width: 100%; height: 1px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.principle:hover .principle-head h3::after { transform: scaleX(1); }
.principle p { color: var(--ink-soft); font-size: 0.98rem; max-width: 36rem; }
.principle .link-arrow { justify-self: end; transition: color 0.4s var(--ease-out); }
.principle:hover .link-arrow { color: var(--rose-deep); border-color: var(--rose-deep); }
.principle:hover .link-arrow svg { transform: translateX(4px); }

/* ============================================================
   PROCESS — contents with dotted leaders (white wall)
   ============================================================ */
.process { background: var(--canvas); }
.step {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.6rem, 3.4vw, 3.6rem);
  align-items: center;
  padding: clamp(1.9rem, 3.4vw, 2.9rem) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-toc {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}
.step-toc .sn {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}
.step-toc h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--ink);
  white-space: nowrap;
}
.step-toc .leader {
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-0.45em);
  min-width: 2rem;
}
.step-toc .phase {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.step-body p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1rem; max-width: 34rem; }
.step-body p:last-child { margin-bottom: 0; }
.step-quote {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.step-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--canvas-2);
}
.step-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
@media (hover: hover) { .step:hover .step-figure img { transform: scale(1.04); } }
.step:nth-child(even) .step-figure { order: -1; }
.step:nth-child(even) { grid-template-columns: 1fr 1.35fr; }

/* ============================================================
   SERVICES — black scene
   ============================================================ */
.services-band {
  background: var(--black);
  color: var(--paper);
  padding: clamp(3.75rem, 6.5vw, 6rem) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
}
.services-figure {
  grid-column: 1 / 6;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 250px 250px 0 0;
  overflow: hidden;
  background: var(--black-2);
}
.services-figure img { width: 100%; height: 100%; object-fit: cover; }
/* the cross-dissolving glass-installation slideshow fills the arch */
.services-stage { position: absolute; inset: 0; }
.services-stage img { object-position: center 46%; }
.services-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;                    /* keep the rose frame above the wiping slides */
  border-radius: 250px 250px 0 0;
  border: 1px solid rgba(207, 183, 173, 0.4);
  transform: translate(-10px, 10px);
  pointer-events: none;
}
.services-copy { grid-column: 7 / 13; }
/* rose small caps survive only on black — foil stamping */
.services-copy .note { color: var(--rose); }
.services-copy h2 { color: var(--paper); margin: 1.2rem 0 1.7rem; }
.services-copy h2 em { color: inherit; }
.services-copy p { color: rgba(247, 246, 244, 0.76); margin-bottom: 1.25rem; max-width: 33rem; }
.services-copy .btn { margin-top: 1.1rem; }
/* capabilities index — the studio's full breadth, shown on the chocolate ground */
.services-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(247, 246, 244, 0.18);
}
.services-index-head .note { color: var(--rose); }
.services-index-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(247, 246, 244, 0.5);
  white-space: nowrap;
}
.services-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-index li {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: clamp(0.95rem, 1.7vw, 1.4rem) 0;
  border-bottom: 1px solid rgba(247, 246, 244, 0.1);
}
.services-index .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--rose);
  min-width: 1.5rem;
}
.services-index .t {
  color: var(--paper);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.2;
}
.services-rule {
  border: 0;
  height: 4px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-bottom: clamp(2.6rem, 5vw, 4.5rem);
}

/* ============================================================
   TESTIMONIALS — rose quotation marks survive
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.testimonials-grid > * { min-width: 0; }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
/* all slides take the tallest testimonial's height (stable frame); the image
   fills its side and the index fills its side, so nothing leaves dead space */
.carousel-track { display: flex; transition: transform 0.7s var(--ease-out); }
.t-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: stretch;
}
.t-figure {
  margin: 0;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 4px;
  background: var(--canvas-2);
}
.t-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-content { align-self: center; }
.t-slide blockquote p {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.08rem, 1.75vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: justify;
}
.t-slide blockquote p::before { content: "\201C"; color: var(--rose); }
.t-slide blockquote p::after { content: "\201D"; color: var(--rose); }
.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.t-author::before { content: ""; width: 2.4rem; height: 1px; background: var(--rose); }
.t-author strong {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.t-author span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }

/* index fills its column and distributes the client rows evenly (like the reel) */
.t-index { border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.t-index .t-index-label { display: block; padding: 0.9rem 0 0.6rem; flex: none; }
.t-index button { flex: 1 1 0; }
/* "All Testimonials" sits at the bottom of the index (mirrors the reel's "All Projects") */
.t-index-all { order: 1; flex: none; align-self: flex-start; margin-top: clamp(1.1rem, 2.4vw, 1.8rem); }
.t-index button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.04rem;
  color: var(--muted);
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.t-index button .ti-no {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.3s;
}
.t-index button { position: relative; }
.t-index button:not(.active):hover { color: var(--ink); padding-left: 0.4rem; }
.t-index button:not(.active):hover .ti-no { opacity: 0.65; }
.t-index button.active {
  color: var(--ink);
  font-style: italic;
  padding-left: 0.95rem;
}
/* a rose marker foil-stamps the selected client */
.t-index button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1.4rem;
  width: 2px;
  background: var(--rose-deep);
}
.t-index button.active .ti-no { opacity: 1; color: var(--rose-deep); }

/* ============================================================
   GALLERY — staggered collage
   ============================================================ */
/* showcase sits between two .spread sections — keep its own padding tight so the
   neighbours own the gaps (no double-stacked dead space above/below the reel) */
.spread.gallery { padding-block: clamp(0.75rem, 2vw, 1.75rem); }
.gallery-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.4rem, 4.5vw, 4rem) clamp(1.5rem, 2.6vw, 2.4rem);
  align-items: start;
}
.work { display: block; }
/* one consistent crop for every project — a calm, aligned editorial grid */
.work-figure {
  overflow: hidden;
  background: var(--canvas-2);
  aspect-ratio: 4 / 5;
}
.work-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .work:hover .work-figure img { transform: scale(1.045); } }
.work-caption {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.95rem 0.1rem 0;
}
.work-caption .work-no {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  white-space: nowrap;
}
.work-caption h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.3s;
}
.work-caption .leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-0.4em);
  min-width: 1rem;
}
.work-caption .work-view {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s;
}
.work:hover .work-caption h3 { color: var(--rose-deep); }
.work:hover .work-caption .work-view { color: var(--ink); }

/* ============================================================
   GALLERY WALK — homepage "one project at a time" (with peek)
   ============================================================ */
.gallery-walk { position: relative; outline: none; -webkit-user-select: none; user-select: none; }
.gallery-walk img { -webkit-user-drag: none; user-drag: none; }
.gw-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gw-viewport::-webkit-scrollbar { display: none; }
.gw-track {
  display: flex;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  align-items: start;
}
.gw-slide {
  flex: 0 0 66%;
  scroll-snap-align: start;
  transition: opacity 0.55s var(--ease-out);
}
.gallery-walk .work-figure { aspect-ratio: 4 / 3; }   /* cinematic stage */
/* dim the peeking projects so the active one holds focus (JS-gated, so the
   no-JS / pre-init state stays fully legible) */
.gallery-walk.gw-ready .gw-slide:not(.is-active) { opacity: 0.4; }
@media (hover: hover) { .gallery-walk.gw-ready .gw-slide:not(.is-active):hover { opacity: 0.72; } }
.gallery-walk.gw-dragging .gw-viewport { scroll-snap-type: none; cursor: grabbing; }
/* keep slides visible inside the horizontal scroller (reveal clip would hide
   off-screen ones) — mirrors the mobile gallery carousel */
html.js .gallery-walk .reveal-img { clip-path: none; opacity: 1; }
html.js .gallery-walk .reveal-img > img { transform: none; }

.gw-controls {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  margin-top: clamp(1.8rem, 3.4vw, 2.8rem);
}
.gw-btn {
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s;
}
.gw-btn svg { width: 1.05rem; height: 1.05rem; }
.gw-btn:hover { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.gw-btn:disabled { opacity: 0.28; cursor: default; }
.gw-counter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  min-width: 4.5rem;
  text-align: center;
}
.gw-counter .gw-current { color: var(--ink); }
.gw-all { margin-left: auto; }
html.no-js .gw-controls .gw-btn, html.no-js .gw-counter { display: none; }

/* ============================================================
   SHOWCASE REEL — one project on a large stage + hover index
   ============================================================ */
.reel {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: stretch;
}
.reel-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--canvas-2);
}
.reel-slide { display: block; text-decoration: none; }
.reel-index { display: flex; flex-direction: column; }
.reel-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-strong);
}
.reel-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}
.reel-count .reel-cur { color: var(--ink); }
.reel-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.reel-name {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 1rem;
  padding: clamp(0.72rem, 1.5vw, 1.15rem) 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.35s var(--ease-out), padding-left 0.4s var(--ease-out);
}
.reel-n {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 0.35s;
}
.reel-t {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.2;
  color: inherit;
}
.reel-c {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  align-self: center;
}
@media (hover: hover) {
  .reel-name:hover { color: var(--ink); padding-left: 0.4rem; }
}
.reel-name.is-active { color: var(--ink); padding-left: 0.95rem; }
.reel-name.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: var(--rose-deep);
}
.reel-name.is-active .reel-n { color: var(--rose-deep); }
.reel-all { margin-top: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 860px) {
  .reel { grid-template-columns: 1fr; gap: 1.4rem; }
  .reel-stage { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
  .gw-slide { flex: 0 0 84%; }
  .gallery-walk .work-figure { aspect-ratio: 4 / 5; }
  .gw-all { display: none; }
}

/* ============================================================
   JOURNAL — index of notes
   ============================================================ */
.journal .spread-head { margin-bottom: 0; }
.post-row {
  display: grid;
  grid-template-columns: 0.55fr 1.8fr 0.8fr;
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.3rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.post-fig { overflow: hidden; aspect-ratio: 3 / 2; background: var(--canvas-2); }
.post-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
@media (hover: hover) { .post-row:hover .post-fig img { transform: scale(1.05); } }
.post-body h3 {
  font-family: var(--serif);
  font-weight: 430;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.3s;
}
.post-row:hover .post-body h3 { color: var(--rose-deep); }
.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.post-meta .post-cat { color: var(--ink-soft); }
.post-row .link-arrow { justify-self: end; }

/* ============================================================
   COLOPHON / CTA — black scene
   ============================================================ */
.cta {
  background: var(--black);
  color: var(--paper);
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  text-align: center;
}
.cta .fleuron { display: block; margin-bottom: 1.8rem; font-size: 1rem; color: var(--rose); }
.cta .note { color: var(--rose); margin-bottom: 1.6rem; display: inline-block; }
.cta h2 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 17em;
  margin-inline: auto;
  text-wrap: balance;
}
.cta h2 em { font-style: italic; color: inherit; }
.cta-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(247, 246, 244, 0.72);
  margin-top: 1.6rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2.8rem;
}

.site-footer {
  background: var(--black-2);
  /* CTA + footer now share one chocolate — a whisper hairline keeps them distinct */
  border-top: 1px solid rgba(247, 246, 244, 0.08);
  color: rgba(247, 246, 244, 0.64);
  padding: clamp(3.4rem, 6vw, 5rem) 0 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .brand { align-items: flex-start; text-align: left; }
.footer-brand .brand-name { color: var(--paper); font-size: 1.3rem; text-indent: 0; }
.footer-brand .brand-sub { text-indent: 0; color: var(--rose); }
.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  margin-top: 1.1rem;
  font-size: 1rem;
  color: rgba(247, 246, 244, 0.5);
  max-width: 20rem;
}
.footer-col h4 {
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.3rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--paper); }
.footer-col a svg { width: 1rem; height: 1rem; opacity: 0.7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(247, 246, 244, 0.38);
}
.footer-bottom nav { display: flex; gap: 1.8rem; }
.footer-bottom a:hover { color: var(--paper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-copy, .story-feature { grid-column: auto; grid-row: auto; }
  .story-feature { display: block; margin-top: 2rem; min-height: 0; }
  .feature-stage { flex: none; aspect-ratio: 4 / 3; }
  .services-grid { grid-template-columns: 1fr; }
  .services-figure { grid-column: auto; max-width: 460px; margin-inline: auto; }
  .services-copy { grid-column: auto; }
  .services-index { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .t-index { order: 2; }
  .t-slide { grid-template-columns: 1fr; gap: 1.3rem; }
  .t-figure { aspect-ratio: 3 / 2; }
  .t-slide blockquote p { text-align: left; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 1.4rem; }
  .step:nth-child(even) .step-figure { order: 0; }
  .post-row { grid-template-columns: 0.7fr 2fr; }
  .post-row .link-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .step-toc { flex-wrap: wrap; }
  .step-toc .leader, .step-toc .phase { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 0.99rem; }
  .hero-stamp { display: none; }
  /* stronger cinematic base on phone — cream type needs a solid dark bed */
  .hero-bg::after {
    background: linear-gradient(to top, rgba(22, 19, 15, 0.86) 0%, rgba(22, 19, 15, 0.52) 34%, rgba(22, 19, 15, 0.16) 62%, rgba(22, 19, 15, 0) 86%);
  }
  .principle { grid-template-columns: 1fr; gap: 0.9rem; }
  .principle .link-arrow { justify-self: start; }
  .services-index { grid-template-columns: 1fr; }
  .services-index-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .gallery .container { width: 100%; }
  .gallery .spread-head, .gallery .gallery-headline { width: calc(100% - 3rem); margin-inline: auto; }
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1.5rem 1.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .work, .work:nth-child(n) { flex: 0 0 82%; scroll-snap-align: center; margin-top: 0; }
  html.js .gallery-grid .reveal { opacity: 1; transform: none; }
  html.js .gallery-grid .reveal-img { clip-path: none; opacity: 1; }
  html.js .gallery-grid .reveal-img > img { transform: none; }
  .post-row { grid-template-columns: 1fr; }
  .post-fig { max-width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .site-header, .mobile-nav, .cursor-dot, .cursor-view, .scroll-rail, .hero-stamp, .wave-bg { display: none !important; }
  body { background: #fff; }
}
