/* Clerbos — site stylesheet
   Layout: full-bleed moving chapters between calm, centred editorial passages on warm white;
   a centred wordmark header; content left-aligned inside chapters, centred in statements. */

/* @fonts-start */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2-variations"), url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
/* @fonts-end */

:root {
  --forest: #14301F;
  --forest-deep: #0C1F15;
  --forest-soft: #1E4330;
  --charcoal: #1D201E;
  --warm-white: #F5F3EE;
  --sand: #ECE8DF;
  --paper: #FBFAF7;
  --champagne: #CFBC93;
  --champagne-hi: #E5D9BC;
  --bronze: #7A5F31;
  --mist: #AEBDB3;
  --ink-2: #525A55;
  --stone: #DCD7CB;
  --on-dark: #F2EFE8;
  --error: #A1342D;

  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(3rem, 1.5rem + 5vw, 6.6rem);
  --fs-display: clamp(2.5rem, 1.45rem + 3.7vw, 5.2rem);
  --fs-h2: clamp(2.05rem, 1.45rem + 2.2vw, 3.6rem);
  --fs-h3: clamp(1.45rem, 1.22rem + .8vw, 2.05rem);
  --fs-lead: clamp(1.1rem, 1.02rem + .36vw, 1.36rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  --gutter: clamp(20px, 4.6vw, 80px);
  --maxw: 1360px;
  --section: clamp(104px, 12vw, 192px);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, .84, .3, 1);
  --header-h: 84px;

  --bg: var(--warm-white);
  --fg: var(--charcoal);
  --fg-2: var(--ink-2);
  --accent: var(--bronze);
  --line: var(--stone);
  --line-strong: rgba(29, 32, 30, .3);
  --focus: var(--bronze);
  color-scheme: light;
}
.on-dark, .hero, .chapter, .statement, .page-hero, .site-footer {
  --bg: var(--forest);
  --fg: var(--on-dark);
  --fg-2: var(--mist);
  --accent: var(--champagne);
  --line: rgba(207, 188, 147, .2);
  --line-strong: rgba(242, 239, 232, .42);
  --focus: var(--champagne);
}
.on-sand { --bg: var(--sand); }
.on-paper { --bg: var(--paper); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--warm-white); color: var(--charcoal);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.66; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
[hidden] { display: none !important; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: 120px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; z-index: 100; left: max(16px, env(safe-area-inset-left, 0px)); top: calc(12px + env(safe-area-inset-top, 0px));
  padding: 12px 20px; border-radius: 999px; background: var(--forest); color: var(--on-dark); text-decoration: none;
  transform: translateY(-180%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.section { background: var(--bg); color: var(--fg); padding-block: var(--section); }
.section--tight { padding-block: clamp(72px, 8vw, 120px); }
.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.narrow { max-width: 900px; margin-inline: auto; }
.center { text-align: center; }
.center .t-body, .center .t-lead { margin-inline: auto; }

.t-hero, .t-display, .t-h2, .t-h3 { font-family: var(--font-display); font-weight: 500; }
.t-hero { font-size: var(--fs-hero); line-height: .99; letter-spacing: -.022em; }
.t-display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.018em; }
.t-h2 { font-size: var(--fs-h2); line-height: 1.07; letter-spacing: -.012em; }
.t-h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.004em; }
.t-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg); max-width: 46ch; }
.t-body { color: var(--fg-2); max-width: 60ch; }
.stack > * + * { margin-top: 1.15em; }
.muted { color: var(--fg-2); }
.ph { border-bottom: 1px dashed currentColor; opacity: .85; white-space: nowrap; }

/* buttons and links */
.btn {
  --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font: 500 .9375rem/1.1 var(--font-sans); font-stretch: 108%; letter-spacing: .01em; white-space: nowrap;
  color: var(--b-fg); background: var(--b-bg); border: 1px solid var(--b-bd); text-decoration: none; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--primary { --b-bg: var(--forest); --b-fg: var(--on-dark); --b-bd: var(--forest); }
.btn--primary:hover { --b-bg: var(--forest-soft); --b-bd: var(--forest-soft); }
.on-dark .btn--primary, .hero .btn--primary, .chapter .btn--primary, .statement .btn--primary, .page-hero .btn--primary, .site-footer .btn--primary { --b-bg: var(--champagne); --b-fg: var(--forest-deep); --b-bd: var(--champagne); }
.on-dark .btn--primary:hover, .hero .btn--primary:hover, .chapter .btn--primary:hover, .statement .btn--primary:hover, .page-hero .btn--primary:hover { --b-bg: var(--champagne-hi); --b-bd: var(--champagne-hi); }
.btn--ghost:hover { --b-bd: var(--fg); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: .875rem; }
.link {
  display: inline-block; padding-bottom: 4px; color: var(--fg); text-decoration: none;
  font: 500 .9375rem/1.4 var(--font-sans); font-stretch: 106%; letter-spacing: .01em;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out), opacity .3s var(--ease);
}
.link:hover { background-size: 30% 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------ header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--forest-deep); }
.site-header {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 60;
  color: var(--on-dark); transition: transform .5s var(--ease), background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-solid { background: rgba(245, 243, 238, .96); color: var(--charcoal); box-shadow: 0 1px 0 rgba(29, 32, 30, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.menu-open { transform: none; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); transition: height .45s var(--ease); }
.site-header.is-solid .header-inner { height: 68px; }
.h-left, .h-right { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 26px); }
.h-right { justify-content: flex-end; }
.brand { display: inline-flex; color: inherit; text-decoration: none; padding: 8px 4px; }
.wordmark { display: block; height: 19px; width: auto; }
.wordmark .dot { fill: var(--champagne); transition: fill .45s var(--ease); }
.site-header.is-solid .wordmark .dot { fill: var(--bronze); }
.h-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  color: inherit; text-decoration: none; font: 400 .9375rem/1 var(--font-sans); font-stretch: 104%; letter-spacing: .01em;
}
.h-btn .bars { position: relative; width: 20px; height: 9px; }
.h-btn .bars::before, .h-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.h-btn .bars::before { top: 0; } .h-btn .bars::after { bottom: 0; }
.h-btn:hover .bars::before { transform: translateX(3px); }
.h-btn .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease-out); }
.h-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.h-btn--pill { padding: 0 20px; border: 1px solid currentColor; border-radius: 999px; min-height: 40px; }
.h-btn--pill:hover { background: rgba(207, 188, 147, .14); }
.site-header.is-solid .h-btn--pill:hover { background: rgba(20, 48, 31, .06); }
@media (max-width: 760px) {
  .h-services, .h-right .h-btn--pill .long { display: none; }
  :root { --header-h: 70px; }
  .wordmark { height: 16px; }
}

/* services dropdown */
.svc-drop {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--warm-white); color: var(--charcoal); box-shadow: 0 30px 60px -30px rgba(12, 31, 21, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s linear .45s;
}
.svc-drop.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.svc-drop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding-block: 28px 34px; }
.drop-card { display: block; color: inherit; text-decoration: none; }
.drop-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest-deep); }
.drop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.drop-card:hover .drop-media img { transform: scale(1.05); }
.drop-name { display: block; margin-top: 16px; font: 500 1.4rem/1.2 var(--font-display); }
.drop-line { display: block; margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.drop-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 18px 22px; border-top: 1px solid var(--stone); font-size: .9375rem; color: var(--ink-2); }
.drop-foot .link { color: var(--charcoal); }

/* menu panel */
.menu {
  position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: minmax(0, 620px) 1fr;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu-panel {
  position: relative; display: flex; flex-direction: column; min-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--warm-white); color: var(--charcoal);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(-100%); transition: transform .6s var(--ease-out);
}
.menu.is-open .menu-panel { transform: none; }
.menu-shade { background: rgba(8, 21, 15, .55); opacity: 0; transition: opacity .5s var(--ease); }
.menu.is-open .menu-shade { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 76px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: clamp(20px, 3vw, 48px); }
.menu-body { flex: 1; padding: 24px clamp(20px, 3vw, 48px) 40px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.menu-list > li { border-bottom: 1px solid var(--stone); }
.menu-link, .menu-expand {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--charcoal); text-decoration: none;
  font: 500 clamp(1.8rem, 1.45rem + 1.4vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.01em;
}
.menu-link:hover, .menu-expand:hover { color: var(--forest); }
.menu-expand .chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease-out); }
.menu-expand[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu-sub { display: grid; gap: 8px; padding: 0 0 22px; }
.menu-sub a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; color: var(--charcoal); text-decoration: none; }
.menu-sub img { width: 84px; height: 56px; object-fit: cover; }
.menu-sub strong { display: block; font: 500 1.2rem/1.25 var(--font-display); }
.menu-sub span span { display: block; font-size: .875rem; color: var(--ink-2); }
.menu-sub a:hover strong { color: var(--forest); }
.menu-foot { display: grid; gap: 6px; padding: 26px clamp(20px, 3vw, 48px) 34px max(var(--gutter), env(safe-area-inset-left, 0px)); border-top: 1px solid var(--stone); font-size: .9375rem; color: var(--ink-2); }
.menu-foot a { color: var(--charcoal); }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; } .menu-shade { display: none; } }

/* ------------------------------------------------------------ media */
.media-fill { position: absolute; inset: 0; overflow: hidden; z-index: -2; background: var(--forest-deep); }
.media-fill > img, .media-fill > video, .media-fill .fx-inner > img, .media-fill .fx-inner > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.fx-inner { position: absolute; inset: 0; transform: scale(calc(1.12 - .12 * var(--p, 1))); transform-origin: 50% 50%; will-change: transform; }
.frame, .svc-frame, .other, .bleed-frame, .chapter, .hero, .page-hero, .statement { isolation: isolate; }
.shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.v-toggle {
  position: absolute; z-index: 3; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(20px, 3vw, 36px);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: rgba(8, 21, 15, .32); border: 1px solid rgba(242, 239, 232, .5); color: var(--on-dark); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s var(--ease);
}
.v-toggle:hover { background: rgba(8, 21, 15, .55); }
.v-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.v-toggle .i-play { display: none; }
.v-toggle[data-paused] .i-play { display: block; }
.v-toggle[data-paused] .i-pause { display: none; }
.frame .v-toggle, .svc-frame .v-toggle { right: 14px; bottom: 14px; width: 40px; height: 40px; }

/* home hero */
.hero { position: relative; isolation: isolate; min-height: max(600px, 100svh); display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--forest-deep); }
.hero .shade { background: linear-gradient(90deg, rgba(8, 21, 15, .5) 0%, rgba(8, 21, 15, .18) 42%, rgba(8, 21, 15, 0) 66%), linear-gradient(180deg, rgba(8, 21, 15, .5) 0%, rgba(8, 21, 15, 0) 22%, rgba(8, 21, 15, 0) 48%, rgba(8, 21, 15, .82) 100%); }
.hero-content { width: 100%; padding-bottom: clamp(64px, 11vh, 132px); padding-top: calc(var(--header-h) + 80px); }
.hero-title .line { display: block; }
.hero-lead { margin-top: clamp(22px, 2.6vw, 34px); max-width: 42ch; color: rgba(242, 239, 232, .88); font-size: var(--fs-lead); line-height: 1.55; }
.hero .actions { margin-top: clamp(28px, 3.4vw, 44px); }
.hero-media img, .hero-media video { object-position: 60% 50%; }
.hero-film-label { position: absolute; z-index: 3; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: clamp(20px, 3vw, 36px); font-size: var(--fs-xs); color: rgba(242, 239, 232, .7); letter-spacing: .02em; display: none; }

/* page hero */
.page-hero { position: relative; isolation: isolate; min-height: max(560px, 86svh); display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--forest-deep); }
.page-hero--short { min-height: max(480px, 64svh); }
.page-hero .shade { background: linear-gradient(90deg, rgba(8, 21, 15, .74) 0%, rgba(8, 21, 15, .4) 38%, rgba(8, 21, 15, 0) 70%), linear-gradient(180deg, rgba(8, 21, 15, .52) 0%, rgba(8, 21, 15, 0) 26%, rgba(8, 21, 15, .1) 52%, rgba(8, 21, 15, .86) 100%); }
.page-hero .wrap { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(56px, 9vh, 112px); }
.page-title { max-width: 16ch; }
.page-hero .hero-lead { max-width: 48ch; }
.crumbs { margin-bottom: 22px; font-size: var(--fs-xs); color: rgba(242, 239, 232, .74); letter-spacing: .02em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }

/* intro statement (centred) */
.intro { text-align: center; }
.intro .t-display { max-width: 18ch; margin-inline: auto; }
.intro .t-lead { max-width: 54ch; margin: clamp(28px, 3vw, 40px) auto 0; }
.intro .link { margin-top: 30px; }

/* ------------------------------------------------------------ chapters (full-bleed moving panels) */
.chapters { background: var(--warm-white); }
.chapter-frame { position: relative; height: max(620px, 92svh); clip-path: inset(calc(var(--inset-y, 0px) * (1 - var(--p, 1))) calc(var(--inset-x, 0px) * (1 - var(--p, 1)))); will-change: clip-path; }
.js .chapter-frame { --inset-x: min(7vw, 110px); --inset-y: 0px; }
.chapter { position: relative; isolation: isolate; height: 100%; display: flex; align-items: flex-end; overflow: hidden; color: var(--on-dark); background: var(--forest-deep); }
.chapter .shade { background: linear-gradient(90deg, rgba(8, 21, 15, .66) 0%, rgba(8, 21, 15, .3) 38%, rgba(8, 21, 15, 0) 66%), linear-gradient(180deg, rgba(8, 21, 15, .1) 0%, rgba(8, 21, 15, 0) 40%, rgba(8, 21, 15, .8) 100%); }
.chapter-copy { width: 100%; padding-bottom: clamp(48px, 8vh, 96px); }
.chapter-copy .t-display { max-width: 15ch; }
.chapter-copy p { margin-top: 18px; max-width: 44ch; color: rgba(242, 239, 232, .88); font-size: var(--fs-lead); line-height: 1.55; }
.chapter-copy .actions { margin-top: 30px; }
.chapter-gap { height: clamp(10px, 1.2vw, 16px); }

/* ------------------------------------------------------------ carousel */
.carousel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.carousel-head .t-body { margin-top: 16px; }
.c-controls { display: flex; gap: 10px; }
.c-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--fg); transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.c-btn:hover:not(:disabled) { border-color: var(--fg); background: rgba(20, 48, 31, .05); }
.c-btn:disabled { opacity: .35; cursor: default; }
.c-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.c-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 380px); gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100vw - var(--maxw)) / 2));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); padding-bottom: 6px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); scrollbar-width: none;
}
.c-track::-webkit-scrollbar { display: none; }
.c-item { scroll-snap-align: start; min-width: 0; }
.c-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest-deep); }
.c-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.c-item:hover .c-media img { transform: scale(1.045); }
.c-item h3 { margin-top: 20px; font: 500 1.5rem/1.2 var(--font-display); }
.c-item p { margin-top: 6px; color: var(--fg-2); font-size: var(--fs-small); max-width: 34ch; }
.c-progress { position: relative; height: 1px; margin-top: clamp(28px, 3vw, 44px); background: var(--line); overflow: hidden; }
.c-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--fg); transition: transform .3s var(--ease); transform-origin: left; }

/* ------------------------------------------------------------ split with sticky media */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 48px; align-items: start; }
.split-media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); }
.split-copy { grid-column: 8 / span 5; min-width: 0; }
.split--flip .split-media { grid-column: 7 / span 6; order: 2; }
.split--flip .split-copy { grid-column: 1 / span 5; order: 1; }
.frame { position: relative; overflow: hidden; background: var(--forest-deep); }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--land { aspect-ratio: 3 / 2; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame .fx-inner img, .frame .fx-inner video { position: absolute; inset: 0; }

.principles { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.principles li { padding-block: clamp(24px, 2.8vw, 36px); border-bottom: 1px solid var(--line); }
.principles h3 { font: 500 var(--fs-h3)/1.18 var(--font-display); }
.principles p { margin-top: 10px; color: var(--fg-2); max-width: 48ch; }

/* ------------------------------------------------------------ statement */
.statement { position: relative; isolation: isolate; min-height: max(600px, 100svh); display: grid; align-items: center; text-align: center; color: var(--on-dark); overflow: hidden; background: var(--forest-deep); }
.statement .shade { background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(8, 21, 15, .55), rgba(8, 21, 15, .82) 75%, rgba(8, 21, 15, .92) 100%); }
.statement .wrap { padding-block: var(--section); }
.statement .t-display { max-width: 14ch; margin-inline: auto; }
.statement p { max-width: 52ch; margin: clamp(24px, 3vw, 36px) auto 0; color: rgba(242, 239, 232, .86); font-size: var(--fs-lead); line-height: 1.6; }
.statement .link { margin-top: 34px; }

/* ------------------------------------------------------------ CTA */
.cta .t-display { max-width: 15ch; margin-inline: auto; }
.cta .t-lead { margin: 28px auto 0; max-width: 46ch; }
.cta .actions { justify-content: center; margin-top: 36px; }
.cta-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; margin-top: 40px; color: var(--fg-2); font-size: var(--fs-small); }
.cta-contact a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.cta-contact a:hover { border-color: currentColor; }

/* ------------------------------------------------------------ services page */
.subnav { position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(245, 243, 238, .96); border-bottom: 1px solid var(--stone); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: top .5s var(--ease); }
.header-hidden .subnav { top: env(safe-area-inset-top, 0px); }
.subnav ul { display: flex; gap: clamp(18px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 0 16px; white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: .9375rem; border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--charcoal); border-color: var(--charcoal); }
.svc-section { padding-block: clamp(72px, 9vw, 140px); }
.svc-section + .svc-section { border-top: 1px solid var(--stone); }
.svc-frame { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: var(--forest-deep); }
.svc-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 28px; margin-top: clamp(36px, 4.4vw, 64px); }
.svc-body > :first-child { grid-column: 1 / span 5; }
.svc-body > :last-child { grid-column: 7 / span 6; min-width: 0; }
.svc-body .t-lead { margin-top: 0; }
.mini-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.mini-list li { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.svc-body .actions { margin-top: 32px; }

/* ------------------------------------------------------------ service detail */
.features { display: grid; gap: clamp(72px, 9vw, 140px); }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 28px; align-items: center; }
.feature .frame { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.feature-copy { grid-column: 9 / span 4; min-width: 0; }
.feature:nth-child(even) .frame { grid-column: 6 / span 7; order: 2; }
.feature:nth-child(even) .feature-copy { grid-column: 1 / span 4; order: 1; }
.feature-copy p { margin-top: 18px; }
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 72px); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.included li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.included h3 { font: 500 1.3rem/1.3 var(--font-display); }
.included p { color: var(--fg-2); font-size: var(--fs-small); }
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 22px; min-width: 0; }
.step-num { display: block; font: 500 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--font-display); color: var(--accent); }
.steps h3 { margin-top: 18px; font: 500 1.35rem/1.2 var(--font-display); }
.steps p { margin-top: 10px; color: var(--fg-2); font-size: var(--fs-small); max-width: 32ch; }
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.other { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(380px, 44vw, 600px); overflow: hidden; color: var(--on-dark); text-decoration: none; background: var(--forest-deep); }
.other .shade { background: linear-gradient(180deg, rgba(8, 21, 15, 0) 35%, rgba(8, 21, 15, .82) 100%); }
.other .media-fill img, .other .media-fill video { transition: transform 1.6s var(--ease-out); }
.other:hover .media-fill img, .other:hover .media-fill video { transform: scale(1.04); }
.other-copy { padding: clamp(24px, 3vw, 44px); }
.other-copy p { margin-top: 10px; max-width: 38ch; color: rgba(242, 239, 232, .86); }
.other-copy .link { margin-top: 20px; color: var(--on-dark); }

/* ------------------------------------------------------------ about / approach */
.vision { font: 500 clamp(1.9rem, 1.3rem + 2.2vw, 3.5rem)/1.2 var(--font-display); letter-spacing: -.01em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.bleed-frame { position: relative; height: clamp(420px, 70svh, 820px); overflow: hidden; background: var(--forest-deep); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.values li { border-top: 1px solid var(--line); padding-top: 24px; }
.values h3 { font: 500 clamp(1.7rem, 1.4rem + 1vw, 2.4rem)/1.1 var(--font-display); }
.values p { margin-top: 12px; color: var(--fg-2); max-width: 40ch; }
.pledges { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.pledges li { padding-block: 18px; border-bottom: 1px solid var(--line); font: 500 clamp(1.2rem, 1.1rem + .5vw, 1.55rem)/1.3 var(--font-display); }
.svc-links { margin-top: 32px; border-top: 1px solid var(--line); }
.svc-links a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.svc-links img { width: 112px; height: 72px; object-fit: cover; }
.svc-links strong { display: block; font: 500 1.35rem/1.2 var(--font-display); }
.svc-links span span { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--fg-2); }
.svc-links a:hover strong { color: var(--accent); }
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
.story-media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); height: calc(100svh - var(--header-h) - 48px); max-height: 760px; }
.story-media .frame { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.story-media .frame.is-active { opacity: 1; }
.story-steps { grid-column: 8 / span 5; }
.story-step { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; border-top: 1px solid var(--line); }
.story-step:first-child { border-top: 0; }
.story-step .step-num { color: var(--accent); }
.story-step h3 { margin-top: 18px; font: 500 var(--fs-h3)/1.15 var(--font-display); }
.story-step p { margin-top: 14px; color: var(--fg-2); max-width: 44ch; }
.story-step .frame { display: none; margin-top: 24px; aspect-ratio: 3 / 2; }
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.expect li { border-top: 1px solid var(--line); padding-top: 22px; }
.expect h3 { font: 500 1.45rem/1.2 var(--font-display); }
.expect p { margin-top: 10px; color: var(--fg-2); font-size: var(--fs-small); }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 56px; align-items: start; }
.contact-info { grid-column: 1 / span 4; grid-row: 1; min-width: 0; }
.contact-form-wrap { grid-column: 6 / span 7; grid-row: 1 / span 2; min-width: 0; }
.contact-grid > .next { grid-column: 1 / span 4; grid-row: 2; margin-top: 0; }
.details { margin: 24px 0 0; border-top: 1px solid var(--line); }
.detail { padding-block: 18px; border-bottom: 1px solid var(--line); }
.detail dt { font-size: var(--fs-xs); color: var(--fg-2); letter-spacing: .02em; }
.detail dd { margin: 6px 0 0; display: grid; gap: 4px; overflow-wrap: anywhere; }
.detail dd a { color: var(--fg); text-decoration: none; font: 500 1.35rem/1.3 var(--font-display); }
.detail dd a:hover { color: var(--accent); }
.hours-row { display: block; }
.detail dd .hours-label { display: block; font-size: var(--fs-xs); color: var(--fg-2); }
.hours-row + .hours-row { margin-top: 8px; }
.next { margin-top: 56px; }
.next ol { margin-top: 20px; display: grid; gap: 20px; counter-reset: n; }
.next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.next-num { font: 500 1.6rem/1 var(--font-display); color: var(--accent); }
.next h3 { font: 500 1rem/1.4 var(--font-sans); font-stretch: 104%; }
.next p { margin-top: 4px; color: var(--fg-2); font-size: var(--fs-small); }
.form-card { background: var(--paper); border: 1px solid var(--stone); padding: clamp(24px, 4vw, 56px); }
.form-intro { margin-top: 10px; margin-bottom: 34px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 .9375rem/1.3 var(--font-sans); font-stretch: 104%; color: var(--charcoal); }
.field .opt { font-weight: 400; color: var(--ink-2); }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px; font: 400 1rem/1.4 var(--font-sans); color: var(--charcoal);
  background: #fff; border: 1px solid #CFC9BC; border-radius: 2px; -webkit-appearance: none; appearance: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.input::placeholder { color: #8b918d; }
.input:hover { border-color: #b4ad9e; }
.input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(122, 95, 49, .22); }
textarea.input { min-height: 168px; resize: vertical; }
select.input {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314301F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; line-height: 1.45; }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.consent { font-size: .875rem; color: var(--ink-2); max-width: 46ch; }
.form-status { margin-top: 18px; font-size: .9375rem; color: var(--error); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; gap: 14px; }
.form-success h2:focus { outline: none; }
.form-success .copy-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--forest-deep); color: var(--mist); padding-block: clamp(80px, 9vw, 128px) calc(28px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 48px clamp(24px, 3vw, 48px); }
.footer-logo { display: inline-flex; color: var(--on-dark); }
.footer-logo .wordmark { height: 22px; }
.footer-brand p { margin-top: 24px; max-width: 34ch; }
.footer-col h2 { font: 500 .9375rem/1.3 var(--font-sans); font-stretch: 106%; color: var(--on-dark); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--mist); text-decoration: none; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--champagne-hi); }
.footer-col address { font-style: normal; display: grid; gap: 11px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid rgba(207, 188, 147, .16); font-size: var(--fs-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.to-top { color: var(--mist); text-decoration: none; }
.to-top:hover { color: var(--champagne-hi); }

/* 404 */
.nf { min-height: 100svh; display: flex; align-items: center; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .svc-drop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split-media, .split-copy, .split--flip .split-media, .split--flip .split-copy { grid-column: 1 / -1; order: 0; position: static; }
  .svc-body > :first-child, .svc-body > :last-child { grid-column: 1 / -1; }
  .feature .frame, .feature-copy, .feature:nth-child(even) .frame, .feature:nth-child(even) .feature-copy { grid-column: 1 / -1; order: 0; }
  .included { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .story-steps { grid-column: 1 / -1; }
  .story-step { min-height: 0; }
  .story-step .frame { display: block; }
  .contact-info, .contact-form-wrap, .contact-grid > .next { grid-column: 1 / -1; grid-row: auto; }
  .svc-frame { aspect-ratio: 4 / 3; }
  .js .chapter-frame { --inset-x: 0px; }
}
@media (max-width: 640px) {
  .steps, .expect, .values, .form-grid, .mini-list { grid-template-columns: 1fr; }
  .included li { grid-template-columns: 1fr; gap: 6px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero .actions .btn, .cta .actions .btn { flex: 1 1 auto; }
  .svc-drop-grid { grid-template-columns: 1fr; }
  .chapter-frame { height: max(560px, 86svh); }
}
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fx-inner { transform: none !important; }
  .chapter-frame { clip-path: none !important; }
}

/* ------------------------------------------------------------ additions */
.menu-close .x { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-sub a.menu-all { display: inline-block; margin-top: 6px; font-size: .9375rem; }
.menu-foot a { text-decoration: none; }
.menu-foot a:hover { color: var(--forest); }

.prose { margin-top: clamp(28px, 3vw, 40px); }
.prose p { max-width: 58ch; margin-inline: auto; color: var(--fg-2); font-size: 1.125rem; line-height: 1.72; }
.prose p + p { margin-top: 1.1em; }
.intro .vision { margin-top: 26px; }
.sec-title { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-text { margin-top: 18px; }
.sec-link, .why-link { margin-top: 34px; }
.why-lead { margin-top: 26px; }
.svc-summary { margin-top: 18px; }
.page-hero .actions { margin-top: clamp(26px, 3vw, 38px); }
.frame--feature { aspect-ratio: 4 / 3; }
.feature-copy .t-h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem); }
.other-copy .t-h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); }
.c-track { cursor: grab; }
.c-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.c-track.is-dragging img { pointer-events: none; }
.c-track:focus-visible { outline-offset: -2px; }
.why .principles { margin-top: clamp(28px, 3vw, 44px); }
.form-success a, .detail dd span { color: inherit; }
.form-success .muted a { color: var(--charcoal); }

/* the first frame of each page settles in slowly; text rises once on load */
@keyframes clb-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes clb-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .fx-inner, .page-hero .fx-inner { animation: clb-settle 3.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero-title .line, .hero-lead, .hero .actions, .page-hero .crumbs, .page-title, .page-hero .hero-lead, .page-hero .actions { animation: clb-rise 1.1s var(--ease-out) both; }
.hero-title .line:nth-child(2) { animation-delay: .1s; }
.hero-lead, .page-hero .hero-lead { animation-delay: .22s; }
.hero .actions, .page-hero .actions { animation-delay: .34s; }

.hero-title, .page-title, .chapter-copy .t-display, .statement .t-display { text-shadow: 0 2px 30px rgba(8, 21, 15, .35); }
.hero-lead, .chapter-copy p, .statement p { text-shadow: 0 1px 16px rgba(8, 21, 15, .45); }
main:focus, [tabindex="-1"]:focus:not(:focus-visible), h1[tabindex="-1"]:focus { outline: none; }

/* Display type: a lower optical size keeps the hairlines of Bodoni Moda legible at large sizes */
.t-hero, .t-display, .t-h2, .t-h3,
.drop-name,
.menu-link, .menu-expand,
.menu-sub strong,
.c-item h3,
.principles h3,
.included h3,
.step-num,
.steps h3,
.vision,
.values h3,
.pledges li,
.svc-links strong,
.story-step h3,
.expect h3,
.detail dd a,
.next-num { font-variation-settings: "opsz" 24; }
