/* ==========================================================================
   TRIVOKLEEN LLC — Design System
   Obsidian · Ivory · Stone · Taupe · Antique Bronze
   ========================================================================== */

:root {
  --obsidian: #0f0e0d;
  --obsidian-2: #171513;
  --obsidian-3: #221f1b;
  --ivory: #f4efe6;
  --ivory-2: #ece5d9;
  --stone: #d8cfc1;
  --taupe: #8f8474;
  --taupe-dark: #5b5348;
  --bronze: #9a7a4e;
  --bronze-deep: #765b34;
  --champagne: #cdb88f;

  --text: #1b1916;
  --text-muted: #5b5348;
  --text-inv: #f4efe6;
  --text-inv-muted: #b5aa98;

  --line: rgba(27, 25, 22, 0.14);
  --line-strong: rgba(27, 25, 22, 0.28);
  --line-inv: rgba(244, 239, 230, 0.14);
  --line-inv-strong: rgba(244, 239, 230, 0.3);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--bronze); color: var(--ivory); }

:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--champagne); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ivory); color: var(--obsidian);
  padding: 12px 18px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 112px) 0; }
.on-dark { background: var(--obsidian); color: var(--text-inv); }
.on-stone { background: var(--ivory-2); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--champagne); }

.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.7rem, 6.4vw, 6.4rem);
  line-height: 1.0; letter-spacing: -0.015em;
}
.display em, .h2 em, .h3 em, .lede em { font-style: italic; color: var(--bronze); }
.on-dark .display em, .on-dark .h2 em, .on-dark .h3 em, .on-dark .lede em { color: var(--champagne); }

.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1.06; letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}
.h4 {
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
}
.lede {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.35; letter-spacing: -0.005em;
}
.body-lg { font-size: 1.08rem; line-height: 1.8; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.on-dark .muted, .on-dark .body-lg { color: var(--text-inv-muted); }
.num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--bronze); font-size: 1.05rem; letter-spacing: .02em;
}
.on-dark .num { color: var(--champagne); }

.ph { /* placeholder highlight — content to be confirmed by the business owner */
  background: rgba(154, 122, 78, 0.12);
  border-bottom: 1px dashed var(--bronze);
  padding: 0 .2em;
  font-style: normal;
}
.on-dark .ph { background: rgba(205, 184, 143, 0.12); border-bottom-color: var(--champagne); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--obsidian); --btn-fg: var(--ivory); --btn-fill: var(--bronze-deep);
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 1.1rem 1.7rem; min-height: 54px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--btn-fill); }
.btn .arrow { width: 22px; transition: transform .45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--obsidian); --btn-fill: var(--champagne); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-fill: var(--obsidian); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ivory); }
.on-dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { --btn-fg: var(--ivory); --btn-fill: var(--ivory); border-color: var(--line-inv-strong); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover { color: var(--obsidian); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .4s var(--ease), gap .4s var(--ease-out);
}
.link-arrow:hover { border-color: var(--bronze); gap: 18px; }
.link-arrow .arrow { width: 18px; }
.on-dark .link-arrow { border-color: var(--line-inv-strong); }
.on-dark .link-arrow:hover { border-color: var(--champagne); }

.text-link { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.text-link:hover { border-color: var(--bronze); color: var(--bronze-deep); }
.on-dark .text-link { border-color: var(--line-inv-strong); }
.on-dark .text-link:hover { color: var(--champagne); border-color: var(--champagne); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--ivory);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(15, 14, 13, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line-inv);
  --header-h: 72px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { width: 34px; height: 34px; color: var(--champagne); flex: none; }
.brand-word {
  font-family: var(--serif); font-weight: 500; font-size: 1.32rem;
  letter-spacing: .26em; line-height: 1;
}
.brand-word small {
  display: block; margin-top: 6px;
  font-family: var(--sans); font-size: .55rem; font-weight: 600; letter-spacing: .34em;
  color: var(--text-inv-muted);
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-list { display: flex; list-style: none; gap: clamp(18px, 2.2vw, 34px); }
.nav-list a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.82);
  transition: color .3s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ivory); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta.btn { padding: .85rem 1.3rem; min-height: 46px; font-size: .68rem; }

.nav-toggle {
  display: none; position: relative; z-index: 120;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--ivory);
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out), opacity .3s, top .5s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 28px; right: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 24px; right: 12px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 48px;
    padding: 110px var(--gutter) 48px;
    background: var(--obsidian);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility 0s linear .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-top: 1px solid var(--line-inv); overflow: hidden; }
  .nav-list li:last-child { border-bottom: 1px solid var(--line-inv); }
  .nav-list a {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 16px 0; font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.6rem);
    font-weight: 300; letter-spacing: 0; text-transform: none;
    transform: translateY(100%); transition: transform .7s var(--ease-out), color .3s;
  }
  .nav-list a::after { display: none; }
  .nav-list a .nav-num { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--champagne); }
  .nav.is-open .nav-list a { transform: translateY(0); }
  .nav.is-open .nav-list li:nth-child(2) a { transition-delay: .04s; }
  .nav.is-open .nav-list li:nth-child(3) a { transition-delay: .08s; }
  .nav.is-open .nav-list li:nth-child(4) a { transition-delay: .12s; }
  .nav.is-open .nav-list li:nth-child(5) a { transition-delay: .16s; }
  .nav.is-open .nav-list li:nth-child(6) a { transition-delay: .2s; }
  .nav-cta.btn { justify-content: space-between; min-height: 56px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1081px) { .nav-num { display: none; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; background: var(--obsidian); color: var(--text-inv);
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 0;
  display: flex; flex-direction: column; overflow: hidden;
}
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-copy { padding-bottom: clamp(56px, 8vw, 120px); position: relative; z-index: 2; }
.hero .display { font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1.03; }
.hero-desc { max-width: 52ch; margin: 36px 0 44px; color: var(--text-inv-muted); font-size: 1.06rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-media { position: relative; align-self: stretch; min-height: 520px; }
.hero-media .frame {
  position: absolute; inset: 0 0 0 0; overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease-out); }
.is-loaded .hero-media img { transform: scale(1); }
.hero-media .caption {
  position: absolute; left: -1px; bottom: 32px; z-index: 2;
  background: var(--obsidian); padding: 14px 22px 14px 0;
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-inv-muted);
}
.hero-media .caption b { color: var(--champagne); font-weight: 600; margin-right: 10px; }
.hero-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-inv); }

.hero-index {
  position: relative; border-top: 1px solid var(--line-inv);
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.hero-index a {
  padding: 22px 18px 24px 0; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-inv-muted); border-right: 1px solid var(--line-inv); padding-left: 18px;
  transition: color .3s, background .4s;
}
.hero-index a:first-child { padding-left: 0; }
.hero-index a:last-child { border-right: 0; }
.hero-index a span { display: block; font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--champagne); margin-bottom: 4px; }
.hero-index a:hover { color: var(--ivory); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 48px; }
  .hero-media { min-height: 420px; margin: 0 calc(var(--gutter) * -1); }
  .hero-index { grid-template-columns: repeat(3, 1fr); }
  .hero-index a:nth-child(3) { border-right: 0; }
  .hero-index a:nth-child(4) { padding-left: 0; }
  .hero-index a:nth-child(-n+3) { border-bottom: 1px solid var(--line-inv); }
}
@media (max-width: 560px) {
  .hero-media { min-height: 340px; }
  .hero-index { grid-template-columns: repeat(2, 1fr); }
  .hero-index a { border-right: 1px solid var(--line-inv) !important; padding-left: 16px !important; border-bottom: 1px solid var(--line-inv); }
  .hero-index a:nth-child(odd) { padding-left: 0 !important; }
  .hero-index a:nth-child(even) { border-right: 0 !important; }
  .hero-index a:nth-child(n+5) { border-bottom: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; background: var(--obsidian); color: var(--text-inv);
  padding: calc(var(--header-h) + clamp(72px, 11vw, 150px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.page-hero .grid-12 { align-items: end; row-gap: 40px; }
.page-hero-title { grid-column: 1 / span 8; }
.page-hero-aside { grid-column: 9 / span 4; color: var(--text-inv-muted); font-size: 1.02rem; line-height: 1.8; padding-bottom: 10px; }
.page-hero-aside p:last-child { margin-bottom: 0; }
.page-hero .display { font-size: clamp(2.6rem, 6vw, 5.8rem); }
.crumb { display: flex; gap: 12px; align-items: center; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-inv-muted); margin-bottom: 40px; }
.crumb a { transition: color .3s; }
.crumb a:hover { color: var(--champagne); }
.crumb span[aria-hidden] { width: 22px; height: 1px; background: var(--line-inv-strong); }
.page-hero-lines { position: absolute; inset: 0; pointer-events: none; }
.page-hero-lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-inv); opacity: .5; }
.page-hero-lines i:nth-child(1) { left: 25%; } .page-hero-lines i:nth-child(2) { left: 50%; } .page-hero-lines i:nth-child(3) { left: 75%; }
@media (max-width: 900px) {
  .page-hero-title, .page-hero-aside { grid-column: 1 / -1; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 28px; margin-bottom: clamp(56px, 7vw, 96px); align-items: end; }
.section-head .sh-title { grid-column: 1 / span 7; }
.section-head .sh-aside { grid-column: 9 / span 4; }
.section-head .sh-aside p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .section-head .sh-title, .section-head .sh-aside { grid-column: 1 / -1; } }

/* ---------- Intro statement ---------- */
.statement .grid-12 { row-gap: 48px; }
.statement-label { grid-column: 1 / span 3; }
.statement-body { grid-column: 4 / span 9; }
.statement-body .lede { max-width: 30ch; font-size: clamp(1.8rem, 3.4vw, 3.15rem); line-height: 1.22; }
.statement-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); padding-top: 36px; border-top: 1px solid var(--line); }
.statement-cols p { color: var(--text-muted); }
@media (max-width: 900px) {
  .statement-label, .statement-body { grid-column: 1 / -1; }
  .statement-cols { grid-template-columns: 1fr; }
}

/* ---------- Service index (home) ---------- */
.service-index { list-style: none; border-top: 1px solid var(--line-strong); }
.service-index li { border-bottom: 1px solid var(--line); }
.service-row {
  position: relative; display: grid;
  grid-template-columns: 70px 64px minmax(0, 4fr) minmax(0, 5fr) 48px;
  gap: clamp(16px, 2.4vw, 32px); align-items: center;
  padding: clamp(26px, 3vw, 38px) 0;
  transition: padding .5s var(--ease-out);
}
.service-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1;
  background: var(--ivory-2); opacity: 0; transition: opacity .5s var(--ease);
}
.service-row:hover::before, .service-row:focus-visible::before { opacity: 1; }
.service-row .icon { width: 44px; height: 44px; color: var(--bronze); transition: transform .6s var(--ease-out); }
.service-row:hover .icon { transform: rotate(-6deg) scale(1.06); }
.service-row h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 400; line-height: 1.15; transition: transform .5s var(--ease-out); }
.service-row:hover h3 { transform: translateX(8px); }
.service-row p { margin: 0; color: var(--text-muted); font-size: .96rem; }
.service-row .go { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s; }
.service-row .go svg { width: 16px; transition: transform .5s var(--ease-out); }
.service-row:hover .go { background: var(--obsidian); border-color: var(--obsidian); color: var(--ivory); }
.service-row:hover .go svg { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .service-row { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "num title go" ". desc ."; row-gap: 10px; }
  .service-row .num { grid-area: num; }
  .service-row .icon { display: none; }
  .service-row h3 { grid-area: title; }
  .service-row p { grid-area: desc; }
  .service-row .go { grid-area: go; }
}

/* ---------- Timeline (methodology) ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-inv-strong); }
.timeline .tl-progress { position: absolute; left: 0; top: 7px; height: 1px; width: 100%; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out) .2s; }
.timeline.is-visible .tl-progress { transform: scaleX(1); }
.timeline li { position: relative; padding: 52px clamp(12px, 1.6vw, 28px) 0 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px;
  border: 1px solid var(--champagne); background: var(--obsidian); transform: rotate(45deg) scale(.72);
  transition: background .5s var(--ease);
}
.timeline li:hover::before { background: var(--champagne); }
.timeline .num { display: block; margin-bottom: 14px; }
.timeline h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; margin-bottom: 14px; }
.timeline p { color: var(--text-inv-muted); font-size: .93rem; line-height: 1.72; margin: 0; }
@media (max-width: 1080px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .timeline::before, .timeline .tl-progress { display: none; }
  .timeline li { border-top: 1px solid var(--line-inv-strong); padding-top: 40px; }
  .timeline li::before { top: -8px; }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { border-top: 0; border-left: 1px solid var(--line-inv-strong); padding: 0 0 44px 34px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { left: -8px; top: 4px; }
}

/* ---------- Split media blocks ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; align-items: center; }
.split-media { grid-column: 1 / span 6; position: relative; }
.split-copy { grid-column: 8 / span 5; }
.split--rev .split-media { grid-column: 7 / span 6; order: 2; }
.split--rev .split-copy { grid-column: 1 / span 5; order: 1; }
@media (max-width: 900px) {
  .split-media, .split-copy, .split--rev .split-media, .split--rev .split-copy { grid-column: 1 / -1; order: initial; }
}
.media { position: relative; overflow: hidden; background: var(--stone); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.media:hover img { transform: scale(1.03); }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 4 / 3; }
.media--pano { aspect-ratio: 16 / 7; }
.media-offset { position: absolute; width: 46%; right: -8%; bottom: -12%; border: 10px solid var(--ivory); }
.on-stone .media-offset { border-color: var(--ivory-2); }
@media (max-width: 900px) { .media-offset { right: 0; bottom: -10%; width: 44%; border-width: 6px; } }
.media-tag { position: absolute; left: 0; top: 0; background: var(--ivory); padding: 10px 16px 10px 0; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Lists ---------- */
.check-list { list-style: none; }
.check-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 16px; height: 1px; background: var(--bronze); }
.on-dark .check-list li { border-color: var(--line-inv); }
.on-dark .check-list li::before { background: var(--champagne); }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid var(--line-strong); padding: 7px 13px; font-size: .8rem; color: var(--text-muted); line-height: 1.3; }

/* ---------- Pillars / commitments ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.pillar { padding: 40px clamp(16px, 2vw, 32px) 8px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: clamp(16px, 2vw, 32px); }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; margin: 18px 0 14px; }
.pillar p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.on-dark .pillars { border-color: var(--line-inv-strong); }
.on-dark .pillar { border-color: var(--line-inv); }
.on-dark .pillar p { color: var(--text-inv-muted); }
@media (max-width: 1000px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(-n+2) { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
  .on-dark .pillar:nth-child(-n+2) { border-color: var(--line-inv); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .on-dark .pillar { border-color: var(--line-inv); }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Engagement cards ---------- */
.engagements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); }
.engagement {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 2.6vw, 40px); border-right: 1px solid var(--line);
  background: transparent; transition: background .5s var(--ease), color .5s var(--ease);
}
.engagement:last-child { border-right: 0; }
.engagement:hover { background: var(--obsidian); color: var(--text-inv); }
.engagement:hover .muted, .engagement:hover .eng-meta, .engagement:hover p { color: var(--text-inv-muted); }
.engagement:hover .num, .engagement:hover .price { color: var(--champagne); }
.engagement:hover .eng-list li { border-color: var(--line-inv); }
.engagement:hover .eng-list li::before { background: var(--champagne); }
.engagement:hover .link-arrow { border-color: var(--line-inv-strong); }
.engagement h3 { font-family: var(--serif); font-size: 1.85rem; line-height: 1.12; margin: 22px 0 16px; }
.engagement p { color: var(--text-muted); font-size: .94rem; transition: color .5s; }
.eng-meta { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-top: auto; padding-top: 24px; border-top: 1px solid currentColor; border-color: var(--line); transition: color .5s; }
.engagement .price { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: var(--bronze-deep); margin: 8px 0 4px; line-height: 1.2; transition: color .5s; }
.price small { font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; }
.eng-list { list-style: none; margin: 8px 0 28px; }
.eng-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: .9rem; transition: border-color .5s; }
.eng-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 1px; background: var(--bronze); transition: background .5s; }
@media (max-width: 1100px) {
  .engagements { grid-template-columns: 1fr 1fr; }
  .engagement:nth-child(2) { border-right: 0; }
  .engagement:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .engagements { grid-template-columns: 1fr; }
  .engagement { border-right: 0; border-bottom: 1px solid var(--line); }
  .engagement:last-child { border-bottom: 0; }
}

.notice {
  display: grid; grid-template-columns: 36px 1fr; gap: 18px;
  padding: 24px 28px; border: 1px solid var(--line-strong); border-left: 2px solid var(--bronze);
  background: rgba(255,255,255,.35); font-size: .92rem; color: var(--text-muted);
}
.notice svg { width: 24px; color: var(--bronze); margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: var(--text); font-weight: 600; }

/* ---------- Process steps (engagement process) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.steps li { position: relative; padding: 28px 18px 0 0; }
.steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.steps h3 { font-family: var(--serif); font-size: 1.4rem; margin: 10px 0 10px; }
.steps p { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.65; }
.on-dark .steps { border-color: var(--line-inv-strong); }
.on-dark .steps li + li { border-color: var(--line-inv); }
.on-dark .steps p { color: var(--text-inv-muted); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0,1fr)); row-gap: 40px; }
  .steps li:nth-child(5) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; border-top: 0; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .on-dark .steps li { border-color: var(--line-inv); }
}

/* ---------- Service detail (services page) ---------- */
.subnav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(244, 239, 230, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { list-style: none; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 18px 22px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s;
}
.subnav li:first-child a { padding-left: 0; }
.subnav a:hover, .subnav a.is-active { color: var(--text); border-color: var(--bronze); }

.division { padding: clamp(80px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); }
.division:last-of-type { border-bottom: 0; }
.division-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 32px; align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.division-head .dh-num { grid-column: 1 / span 2; }
.division-head .dh-num .big {
  font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 8vw, 7.5rem); line-height: .8; color: transparent;
  -webkit-text-stroke: 1px var(--taupe);
}
.division-head .dh-title { grid-column: 3 / span 6; }
.division-head .dh-title .icon { width: 52px; height: 52px; color: var(--bronze); margin-bottom: 28px; }
.division-head .dh-lede { grid-column: 9 / span 4; padding-top: 80px; }
.division-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; }
.division-body .db-media { grid-column: 1 / span 5; }
.division-body .db-cols { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(24px, 3vw, 48px); align-content: start; }
.division-body .db-cols .full { grid-column: 1 / -1; }
.division--rev .db-media { grid-column: 8 / span 5; order: 2; }
.division--rev .db-cols { grid-column: 1 / span 6; order: 1; }
.division-body .h4 { margin-bottom: 14px; color: var(--text); }
.division-body .db-cols p { color: var(--text-muted); font-size: .96rem; }
@media (max-width: 1000px) {
  .division-head .dh-num { grid-column: 1 / -1; }
  .division-head .dh-title { grid-column: 1 / -1; }
  .division-head .dh-lede { grid-column: 1 / -1; padding-top: 0; }
  .division-body .db-media, .division-body .db-cols, .division--rev .db-media, .division--rev .db-cols { grid-column: 1 / -1; order: initial; }
}
@media (max-width: 600px) { .division-body .db-cols { grid-template-columns: 1fr; } }

/* ---------- Approach (vertical timeline) ---------- */
.stages { list-style: none; position: relative; }
.stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 28px; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); position: relative; }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage-marker { grid-column: 1 / span 2; position: relative; }
.stage-marker .big { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .85; color: var(--bronze); }
.stage-marker .label { display: block; margin-top: 18px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }
.stage-title { grid-column: 3 / span 4; }
.stage-title h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1; margin-bottom: 22px; }
.stage-title p { color: var(--text-muted); }
.stage-detail { grid-column: 8 / span 5; display: grid; gap: 32px; }
.stage-detail .h4 { margin-bottom: 10px; }
.stage-detail p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.stage-rail { position: absolute; left: 0; top: 0; width: 1px; height: 0; }
@media (max-width: 900px) {
  .stage-marker, .stage-title, .stage-detail { grid-column: 1 / -1; }
}

/* ---------- FAQ ---------- */
.faq-group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 24px; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line-strong); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group > header { grid-column: 1 / span 4; }
.faq-group > header h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; margin-top: 12px; }
.faq-list { grid-column: 5 / span 8; }
@media (max-width: 900px) { .faq-group > header, .faq-list { grid-column: 1 / -1; } }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 24px; align-items: center;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.3;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bronze-deep); }
.faq-item .pm { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.faq-item .pm::before, .faq-item .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
.faq-item[open] .pm { background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer-inner { padding: 0 60px 30px 0; color: var(--text-muted); }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.on-dark .faq-item, .on-dark .faq-item:first-child { border-color: var(--line-inv); }
.on-dark .faq-item .pm { border-color: var(--line-inv-strong); }
.on-dark .faq-item[open] .pm { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }
.on-dark .faq-item summary:hover { color: var(--champagne); }
.on-dark .faq-answer-inner { color: var(--text-inv-muted); }
@media (max-width: 600px) { .faq-answer-inner { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--obsidian); color: var(--text-inv); overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 40px; align-items: end; padding: clamp(96px, 12vw, 170px) 0; }
.cta-inner .h2 { grid-column: 1 / span 8; font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: 1.02; }
.cta-inner .cta-side { grid-column: 9 / span 4; }
.cta-inner .cta-side p { color: var(--text-inv-muted); margin-bottom: 32px; }
.cta-art { position: absolute; right: -6%; top: 50%; width: min(52vw, 720px); transform: translateY(-50%); opacity: .14; pointer-events: none; color: var(--champagne); }
@media (max-width: 900px) { .cta-inner .h2, .cta-inner .cta-side { grid-column: 1 / -1; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 64px; }
.contact-form-wrap { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; }
@media (max-width: 1000px) { .contact-form-wrap, .contact-aside { grid-column: 1 / -1; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px clamp(20px, 3vw, 40px); }
.field { position: relative; grid-column: span 1; padding-top: 8px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .field { grid-column: 1 / -1; } }
.field label {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
  margin-bottom: 6px;
}
.field label .opt { color: var(--text-muted); font-weight: 500; letter-spacing: .12em; }
.field input, .field select, .field textarea {
  width: 100%; display: block; background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 12px 0 14px; font-size: 1.05rem; color: var(--text);
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  cursor: pointer; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b5348' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field input::placeholder, .field textarea::placeholder { color: #8a8070; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--obsidian); }
.field .bar { position: absolute; left: 0; right: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); margin-top: -1px; }
.field input:focus ~ .bar, .field select:focus ~ .bar, .field textarea:focus ~ .bar { transform: scaleX(1); }
.field .error { display: block; min-height: 1.4em; font-size: .8rem; color: #8c2f1f; margin-top: 6px; line-height: 1.4; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #8c2f1f; }
.field-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; font-size: .86rem; color: var(--text-muted); display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin-top: 12px; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--obsidian); cursor: pointer; }
.consent.has-error { color: #8c2f1f; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; }
.form-actions .small { font-size: .82rem; color: var(--text-muted); max-width: 40ch; margin: 0; }
.spinner { width: 16px; height: 16px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-submitting .spinner { display: inline-block; }
.is-submitting .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { grid-column: 1 / -1; margin-top: 8px; padding: 20px 24px; border: 1px solid var(--line-strong); border-left-width: 2px; font-size: .95rem; display: none; }
.form-status.is-error { display: block; border-left-color: #8c2f1f; color: #5f2016; background: rgba(140, 47, 31, .05); }
.form-status p { margin: 0; }

.form-success { display: none; padding: clamp(36px, 5vw, 64px); background: var(--obsidian); color: var(--text-inv); }
.form-success.is-visible { display: block; animation: fadeUp .8s var(--ease-out) both; }
.form-success .icon { width: 46px; height: 46px; color: var(--champagne); margin-bottom: 28px; }
.form-success h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; margin-bottom: 18px; }
.form-success p { color: var(--text-inv-muted); }
.form-success .ref { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); margin-top: 24px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.aside-block { padding: 32px 0; border-top: 1px solid var(--line); }
.aside-block:first-child { border-top: 1px solid var(--line-strong); }
.aside-block .h4 { margin-bottom: 14px; color: var(--text-muted); font-size: .68rem; }
.aside-block .big-link { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); word-break: break-word; }
.aside-block ol { list-style: none; counter-reset: n; }
.aside-block ol li { counter-increment: n; position: relative; padding: 10px 0 10px 40px; font-size: .94rem; color: var(--text-muted); }
.aside-block ol li::before { content: "0" counter(n); position: absolute; left: 0; top: 10px; font-family: var(--serif); font-style: italic; color: var(--bronze); }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; }
.legal-toc { grid-column: 1 / span 3; }
.legal-toc nav { position: sticky; top: 110px; }
.legal-toc ol { list-style: none; counter-reset: t; border-top: 1px solid var(--line-strong); }
.legal-toc li { counter-increment: t; }
.legal-toc a { display: grid; grid-template-columns: 30px 1fr; padding: 9px 0; font-size: .84rem; color: var(--text-muted); border-bottom: 1px solid var(--line); transition: color .3s, padding .4s var(--ease-out); }
.legal-toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--bronze); }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--text); padding-left: 6px; }
.legal-body { grid-column: 5 / span 8; max-width: 760px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-bottom: 32px; margin-bottom: 48px; border-bottom: 1px solid var(--line-strong); font-size: .8rem; color: var(--text-muted); }
.legal-meta b { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.legal-body section { padding: 8px 0 40px; counter-increment: sec; }
.legal-body { counter-reset: sec; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; margin-bottom: 20px; display: flex; gap: 18px; align-items: baseline; }
.legal-body h2::before { content: counter(sec, decimal-leading-zero); font-style: italic; font-size: 1rem; color: var(--bronze); min-width: 26px; }
.legal-body h3 { font-family: var(--sans); font-weight: 600; font-size: .95rem; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: #3d3730; font-size: .98rem; line-height: 1.8; }
.legal-body ul { list-style: none; margin: 0 0 1.2em; }
.legal-body ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.legal-body ul li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 12px; height: 1px; background: var(--bronze); }
.legal-body a { border-bottom: 1px solid var(--line-strong); }
.legal-body a:hover { border-color: var(--bronze); color: var(--bronze-deep); }
.legal-body .callout { padding: 22px 26px; background: var(--ivory-2); border-left: 2px solid var(--bronze); margin: 8px 0 24px; }
.legal-body .callout p:last-child { margin: 0; }
.legal-body address { font-style: normal; line-height: 1.9; color: #3d3730; }
@media (max-width: 1000px) {
  .legal-toc, .legal-body { grid-column: 1 / -1; }
  .legal-toc nav { position: static; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--obsidian); color: var(--text-inv); border-top: 1px solid var(--line-inv); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 56px; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 88px); }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand p { color: var(--text-inv-muted); font-size: .92rem; max-width: 38ch; margin: 28px 0 0; }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 6 / span 2; }
.footer-col.wide { grid-column: span 3; }
.footer-col.contact { grid-column: span 3; }
.footer-col h2 { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: .9rem; color: var(--text-inv-muted); transition: color .3s; }
.footer-col a:hover { color: var(--ivory); }
.footer-col .mail { font-family: var(--serif); font-size: 1.18rem; color: var(--ivory); border-bottom: 1px solid var(--line-inv-strong); padding-bottom: 4px; word-break: break-word; }
.footer-col .mail:hover { border-color: var(--champagne); color: var(--ivory); }
.footer-col p { color: var(--text-inv-muted); font-size: .88rem; margin: 18px 0 0; }
.footer-word {
  font-family: var(--serif); font-weight: 300; line-height: .8; letter-spacing: .06em;
  font-size: clamp(2.6rem, 12.2vw, 12.4rem); color: transparent; -webkit-text-stroke: 1px rgba(244,239,230,.16);
  white-space: nowrap; user-select: none; margin: 0 0 -0.08em; overflow: hidden;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 28px 0 32px; border-top: 1px solid var(--line-inv); font-size: .78rem; color: var(--text-inv-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-bottom a { transition: color .3s; }
.footer-bottom a:hover { color: var(--ivory); }
@media (max-width: 1000px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:first-of-type, .footer-col.wide, .footer-col.contact { grid-column: span 6; }
}
@media (max-width: 520px) {
  .footer-col, .footer-col:first-of-type, .footer-col.wide, .footer-col.contact { grid-column: 1 / -1; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 48px; height: 48px;
  display: grid; place-items: center; background: var(--obsidian); color: var(--ivory);
  border: 1px solid var(--line-inv-strong); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s, transform .4s var(--ease-out), visibility 0s linear .4s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .4s var(--ease-out), background .3s; }
.to-top:hover { background: var(--bronze-deep); }
.to-top svg { width: 14px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; } .js .reveal-d2 { transition-delay: .2s; } .js .reveal-d3 { transition-delay: .3s; } .js .reveal-d4 { transition-delay: .4s; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-out); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.js .hero-line { display: block; overflow: hidden; }
.js .hero-line > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
.js .is-loaded .hero-line > span { transform: none; }
.js .is-loaded .hero-line:nth-child(2) > span { transition-delay: .1s; }
.js .is-loaded .hero-line:nth-child(3) > span { transition-delay: .2s; }
.js .is-loaded .hero-line:nth-child(4) > span { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img, .js .hero-line > span { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.rule { height: 1px; background: var(--line-strong); border: 0; margin: 0; }
.max-60 { max-width: 60ch; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .subnav, .legal-toc, .cta-band { display: none !important; }
  .page-hero { background: none; color: #000; padding: 20px 0; }
  .legal-body { grid-column: 1 / -1; }
  body { background: #fff; }
}

/* Sub-navigation follows the header when it hides on scroll */
.subnav { transition: top .5s var(--ease); }
body:has(.site-header.is-hidden) .subnav { top: 0; }
