/* Forge Flow Verification Studio
   Soft Editorial profile: espresso, warm cream, dusty rose; Fraunces + Manrope.
   Motif: print crop marks, used on a few frames only. */

/* ---------- Tokens ---------- */
:root {
  --espresso: #302925;
  --cream: #F7F0E8;
  --white: #FFFFFF;
  --taupe: #8B776D;
  --rose: #A66D73;
  --rose-deep: #7E4A50;
  --border: #DED1C7;

  --bg: var(--cream);
  --surface: var(--white);
  --surface-2: #EFE5DA;
  --ink: var(--espresso);
  --ink-soft: #5E4F48;
  --accent: var(--rose-deep);
  --accent-line: var(--rose);
  --on-accent: #FFFFFF;
  --line: var(--border);
  --field-line: var(--taupe);
  --focus: var(--rose-deep);
  --error: #8E2F3A;
  --mark: var(--espresso);
  --dark-band: #302925;
  --shadow: 0 22px 44px -30px rgba(48, 41, 37, 0.55);

  --sb-track: #EFE5DA;
  --sb-edge: #DED1C7;
  --sb-thumb: #A66D73;
  --sb-thumb-edge: rgba(48, 41, 37, 0.28);
  --sb-thumb-hover: #7E4A50;
  --sb-thumb-active: #302925;

  --chatbot-color: #7E4A50;
  --chatbot-on-color: #FFFFFF;
  --chatbot-background: #F7F0E8;
  --chatbot-surface: #FFFFFF;
  --chatbot-text: #302925;
  --chatbot-font: "Manrope", system-ui, sans-serif;
  --chatbot-radius: 4px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1220px;
  --pad: clamp(20px, 5vw, 48px);
  --section: clamp(56px, 8vw, 100px);
  --radius: 3px;
  --header-h: 72px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #302925;
  --surface: #3A322D;
  --surface-2: #433A34;
  --ink: #F7F0E8;
  --ink-soft: #D3C5BC;
  --accent: #D9A3A8;
  --accent-line: #C48D93;
  --on-accent: #302925;
  --line: #5A4D46;
  --field-line: #A8968C;
  --focus: #D9A3A8;
  --error: #F2B8BE;
  --mark: #F7F0E8;
  --dark-band: #241E1B;
  --shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.7);

  --sb-track: #3A322D;
  --sb-edge: #5A4D46;
  --sb-thumb: #C48D93;
  --sb-thumb-edge: rgba(247, 240, 232, 0.22);
  --sb-thumb-hover: #D9A3A8;
  --sb-thumb-active: #F7F0E8;

  --chatbot-color: #D9A3A8;
  --chatbot-on-color: #302925;
  --chatbot-background: #302925;
  --chatbot-surface: #3A322D;
  --chatbot-text: #F7F0E8;

  color-scheme: dark;
}

@media (max-width: 1099px) {
  :root { --header-h: 64px; }
}

/* ---------- Designed native scrollbar ---------- */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track {
  background-color: var(--sb-track);
  box-shadow: inset 1px 0 0 var(--sb-edge);
}
::-webkit-scrollbar-thumb {
  background-color: var(--sb-thumb);
  border: 3px solid var(--sb-track);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px var(--sb-thumb-edge);
  min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--sb-thumb-hover); }
::-webkit-scrollbar-thumb:active { background-color: var(--sb-thumb-active); border-width: 2px; }
::-webkit-scrollbar-corner { background-color: var(--sb-track); }

/* Standard properties only where the richer pseudo-elements are unsupported,
   so they never override the Chromium/WebKit styling above. */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--sb-thumb) var(--sb-track); scrollbar-width: auto; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}

/* Soft studio light behind the page. Never sits behind text at a level that affects reading. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 92% 0%, rgba(166, 109, 115, 0.10), transparent 70%),
    radial-gradient(50vw 40vh at 0% 100%, rgba(139, 119, 109, 0.08), transparent 70%);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -0.005em; }

p { margin: 0 0 1em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
}

.skip {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.lede { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.quiet { color: var(--ink-soft); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 1rem/1.2 var(--font-text);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; text-decoration: none; }
.btn:disabled:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--accent); text-decoration-thickness: 3px; }

/* ---------- Dark band surfaces ---------- */
.band-dark {
  --ink: #F7F0E8;
  --ink-soft: #D3C5BC;
  --accent: #D9A3A8;
  --accent-line: #D9A3A8;
  --on-accent: #302925;
  --line: #5A4D46;
  --focus: #D9A3A8;
  background-color: var(--dark-band);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
}
.brand__main {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 4px;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav__list a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav__list a:not(.btn):hover { border-bottom-color: var(--accent-line); }
.nav__list a[aria-current="page"]:not(.btn) {
  font-weight: 700;
  border-bottom-color: var(--accent);
}
.nav__cta .btn[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.site-header__tools { display: flex; align-items: center; gap: 6px; }
.theme-toggle,
.menu-toggle {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.theme-toggle:hover,
.menu-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle { display: none; }
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Five primary links plus the CTA need the full desktop width; collapse earlier. */
@media (max-width: 1099px) {
  .site-header__in { gap: 12px; }
  .brand__main { font-size: 1.3rem; }
  .brand__sub { font-size: 0.72rem; }
  .js .menu-toggle { display: inline-grid; }
  .js .nav {
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background-color: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .js .nav.is-open { display: block; }
  .js .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 20px;
  }
  .js .nav__list a:not(.btn) {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .js .nav__list a[aria-current="page"]:not(.btn) {
    border-bottom: 1px solid var(--line);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
  }
  .js .nav__cta { padding-top: 16px; }
  .js .nav__cta .btn { width: 100%; }
  /* Without JS the header grows and the links wrap below the brand. */
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .site-header__in { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav__list { flex-wrap: wrap; }
}

/* ---------- Crop-mark motif ---------- */
.marks { position: relative; }
.marks::after {
  content: "";
  position: absolute;
  inset: -12px;
  pointer-events: none;
  --m: var(--mark);
  background:
    linear-gradient(var(--m), var(--m)) left top / 20px 1.5px no-repeat,
    linear-gradient(var(--m), var(--m)) left top / 1.5px 20px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 20px 1.5px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 1.5px 20px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 20px 1.5px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 1.5px 20px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 20px 1.5px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 1.5px 20px no-repeat;
}

/* ---------- Shared image component ---------- */
.ph {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--surface-2);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* A failed image is removed. Frames marked data-keep show a palette plate instead of a blank box. */
.ph.is-failed { display: none; }
.ph.is-failed[data-keep] {
  display: block;
  background:
    linear-gradient(135deg, rgba(166, 109, 115, 0.28), rgba(139, 119, 109, 0.18)),
    var(--surface-2);
}
.ph.is-failed img { visibility: hidden; }

/* ---------- Entrance motion (only with html.motion) ---------- */
.motion [data-reveal] {
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out),
    clip-path 0.95s var(--ease);
}
.motion [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.motion [data-reveal="slide"]:not(.is-in) { opacity: 0; transform: translateX(-28px); }
.motion [data-reveal="settle"]:not(.is-in) { opacity: 0; transform: scale(0.965); }
.motion [data-reveal="mask"]:not(.is-in) { clip-path: inset(0 100% 0 0); }
.motion [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

.motion [data-stagger] > * {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion [data-stagger]:not(.is-in) > * { opacity: 0; transform: translateY(16px); }

/* ---------- Section rhythm ---------- */
.section { padding-block: var(--section); }

/* ======================================================================
   HOME
   ====================================================================== */

/* Hero: offset photograph with an inset detail plane and crop marks */
.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(36px, 5vw, 72px) clamp(64px, 8vw, 104px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero__kicker {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.2em;
}
.hero__title {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 0.45em;
}
.hero__title .line { display: block; }
.hero__title .line + .line { padding-left: 0.9em; }
.hero__lede { font-size: clamp(1.1rem, 1.4vw, 1.25rem); margin-bottom: 1.6em; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.hero__media { position: relative; }
.hero__photo { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.hero__photo img {
  object-position: 55% 50%;
  transform: translateY(calc(var(--hp, 0) * 34px)) scale(calc(1.07 - var(--hp, 0) * 0.05));
  transform-origin: 50% 40%;
  will-change: transform;
}
.hero__inset {
  position: absolute;
  width: 33%;
  left: -5%;
  bottom: -8%;
  z-index: 2;
}
.hero__inset .ph {
  aspect-ratio: 4 / 5;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow);
}
.hero__inset-move { transform: translateY(calc(var(--hp, 0) * -52px)); will-change: transform; }

@keyframes hero-rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes hero-unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-lift { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }

.motion .hero__kicker { animation: hero-rise 0.8s var(--ease-out) both; }
.motion .hero__title .line { animation: hero-rise 0.95s var(--ease-out) both; }
.motion .hero__title .line:nth-child(1) { animation-delay: 0.08s; }
.motion .hero__title .line:nth-child(2) { animation-delay: 0.2s; }
.motion .hero__lede { animation: hero-rise 0.9s var(--ease-out) 0.34s both; }
.motion .hero__actions { animation: hero-rise 0.9s var(--ease-out) 0.44s both; }
.motion .hero__photo { animation: hero-unveil 1.15s var(--ease) 0.1s both; }
.motion .hero__inset { animation: hero-lift 0.95s var(--ease-out) 0.65s both; }

@media (max-width: 899px) {
  .hero { padding-bottom: 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__title .line + .line { padding-left: 0.6em; }
  .hero__lede { max-width: 40ch; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__inset { width: 36%; left: auto; right: 5%; bottom: -14%; }
  .hero__inset .ph { border-width: 4px; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 2.45rem; }
}

/* Fact strip */
.facts {
  background-color: var(--surface);
  border-block: 1px solid var(--line);
}
.facts__list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.facts__list > div {
  padding: 26px clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.facts__list > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3; }
.facts dd a { color: var(--ink); text-decoration-color: var(--accent-line); }
@media (max-width: 760px) {
  .facts__list { grid-template-columns: 1fr; }
  .facts__list > div { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .facts__list > div:first-child { border-top: 0; }
}

/* ---------- Proof sheet capture zone ---------- */
.proof { padding-top: var(--section); position: relative; isolation: isolate; }
.proof__intro { margin-bottom: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.proof__intro h2 { margin: 0; }
.proof__intro p { color: var(--ink-soft); }

/* Static layout: used for reduced motion, no JS, or failed initialisation. */
.proof__stage {
  display: grid;
  gap: clamp(44px, 6vw, 80px);
  padding-bottom: var(--section);
}
.proof__step {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.proof__step:nth-child(2) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.proof__step:nth-child(2) .proof__img { order: 2; }
.proof__img { aspect-ratio: 3 / 2; }
.proof__step:nth-child(2) .proof__img { aspect-ratio: 4 / 5; max-height: 640px; }
.proof__step:nth-child(1) .proof__img img { object-position: 50% 50%; }
.proof__step:nth-child(2) .proof__img img { object-position: 50% 45%; }
.proof__text h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.proof__text p { color: var(--ink); }
.proof__marks, .proof__tabs { display: none; }

@media (max-width: 760px) {
  .proof__intro { grid-template-columns: 1fr; }
  .proof__step,
  .proof__step:nth-child(2) { grid-template-columns: 1fr; }
  .proof__step:nth-child(2) .proof__img { order: 0; aspect-ratio: 4 / 3; }
}

/* Live layout: compact sticky stage, three states driven by native scroll. */
.proof.is-live {
  --stage-h: calc(100svh - var(--header-h));
  --travel: 190svh;
  --cx: 0%;
  --cy: 0%;
}
.proof.is-live[data-state="1"] { --cx: 21%; }
.proof.is-live[data-state="2"] { --cy: 10%; }

.proof.is-live .proof__track {
  position: relative;
  height: calc(var(--stage-h) + var(--travel));
}
.proof.is-live .proof__stage {
  position: sticky;
  top: var(--header-h);
  height: var(--stage-h);
  max-height: 960px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "v t" "v tabs";
  column-gap: clamp(32px, 4.5vw, 72px);
  row-gap: 20px;
  padding-block: clamp(16px, 3vh, 36px);
  overflow: clip;
  isolation: isolate;
}
.proof.is-live .proof__step { display: contents; }
.proof.is-live .proof__img {
  grid-area: v;
  aspect-ratio: auto;
  max-height: none;
  height: 100%;
  min-height: 0;
  order: 0;
  border-radius: 0;
  background-color: transparent;
  --wipe: 100%;
  clip-path: inset(max(var(--wipe), var(--cy)) var(--cx) var(--cy) var(--cx));
  transition: clip-path 0.9s var(--ease);
}
.proof.is-live .proof__step:nth-child(1) .proof__img { --wipe: 0%; z-index: 1; }
.proof.is-live .proof__step:nth-child(2) .proof__img { z-index: 2; }
.proof.is-live .proof__step:nth-child(3) .proof__img { z-index: 3; }
.proof.is-live .proof__step.is-past .proof__img { --wipe: 0%; }
.proof.is-live .proof__img img {
  transform: scale(calc(1.1 - var(--p, 0) * 0.1));
  will-change: transform;
}

.proof.is-live .proof__marks {
  display: block;
  grid-area: v;
  position: relative;
  z-index: 5;
  pointer-events: none;
}
.proof.is-live .proof__marks::after {
  inset: calc(var(--cy) - 12px) calc(var(--cx) - 12px);
  transition: inset 0.9s var(--ease);
}

.proof.is-live .proof__text {
  grid-area: t;
  align-self: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-out);
  pointer-events: none;
}
.proof.is-live .proof__step.is-active .proof__text {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.proof.is-live .proof__tabs {
  display: flex;
  grid-area: tabs;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.proof__tabs button {
  flex: 1 1 0;
  min-height: 44px;
  padding: 8px 6px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font: 500 0.95rem/1.2 var(--font-text);
  cursor: pointer;
  text-align: left;
}
.proof__tabs button:hover { color: var(--ink); border-bottom-color: var(--line); }
.proof__tabs button[aria-current="step"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

@media (max-width: 760px) {
  .proof.is-live { --travel: 150svh; }
  .proof.is-live[data-state="1"] { --cx: 22%; }
  .proof.is-live[data-state="2"] { --cy: 12%; }
  .proof.is-live .proof__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "v" "t" "tabs";
    row-gap: 14px;
    padding-block: 14px 12px;
  }
  .proof.is-live .proof__text h3 { font-size: 1.45rem; margin-bottom: 0.3em; }
  .proof.is-live .proof__text p { font-size: 1rem; line-height: 1.5; }
  .proof.is-live .proof__tabs { padding-top: 6px; }
  .proof__tabs button { font-size: 0.88rem; text-align: center; }
}
@media (max-width: 760px) and (max-height: 640px) {
  .proof.is-live .proof__text h3 { font-size: 1.25rem; }
  .proof.is-live .proof__text p { font-size: 0.95rem; line-height: 1.45; }
}

/* Service split */
.split { background-color: var(--surface); padding-block: var(--section); }
.split__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split__media { aspect-ratio: 4 / 3; }
.split__media img { object-position: 30% 60%; }
.split__big {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 0.6em;
  padding-bottom: 0.6em;
  border-bottom: 2px solid var(--accent-line);
  max-width: 18ch;
}
@media (max-width: 899px) {
  .split__grid { grid-template-columns: 1fr; }
}

/* Request path (dark band, numbered sequence) */
.path { padding-block: var(--section); }
.path__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
}
.path__head p { color: var(--ink-soft); }
.path__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}
.path__list li {
  counter-increment: step;
  padding: 0 clamp(16px, 2vw, 28px) 0;
  border-left: 1px solid var(--line);
}
.path__list li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}
.path__list p { color: var(--ink-soft); font-size: 1.05rem; }
.path__more { grid-column: 2; margin-top: 8px; }
@media (max-width: 899px) {
  .path__grid { grid-template-columns: 1fr; }
  .path__list { grid-template-columns: 1fr; gap: 28px; }
  .path__list li { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
  .path__list li::before { grid-row: span 2; font-size: 2.4rem; margin: 0; }
  .path__more { grid-column: 1; }
}

/* About teaser with layered frame */
.aside { padding-block: var(--section); }
.aside__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.aside__copy { padding-top: clamp(0px, 6vw, 80px); }
.layered { position: relative; padding: 0 22px 22px 0; }
.layered::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 22px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 0;
}
.layered .ph { position: relative; z-index: 1; }
.aside__media .ph { aspect-ratio: 5 / 4; }
.aside__media img { object-position: 12% 40%; }
@media (max-width: 899px) {
  .aside__grid { grid-template-columns: 1fr; }
  .aside__copy { padding-top: 0; order: 2; }
}

/* Closing CTA */
.close-cta {
  background-color: var(--surface-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(52px, 7vw, 88px);
}
.close-cta__in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}
.close-cta h2 { margin-bottom: 0.25em; }

/* ======================================================================
   SERVICES
   ====================================================================== */
.svc-open { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.svc-open__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.svc-open h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); max-width: 11ch; }
.spec {
  margin: 0;
  border-top: 2px solid var(--ink);
  background-color: var(--surface);
  padding: 0 clamp(18px, 2vw, 28px);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec > div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.spec > div:first-child { border-top: 0; }
.spec dt { font-weight: 600; color: var(--ink-soft); font-size: 1rem; }
.spec dd { margin: 0; font-size: 1.05rem; }
.spec dd strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.svc-strip { padding-bottom: var(--section); }
.svc-strip .ph { aspect-ratio: 21 / 8; }
.svc-strip img { object-position: 50% 42%; }
.checklist { background-color: var(--surface); border-top: 1px solid var(--line); padding-block: var(--section); }
.checklist__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
}
.checklist ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(24px, 4vw, 56px); }
.checklist li {
  break-inside: avoid;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}
.checklist li strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 4px; }
.checklist li span { color: var(--ink-soft); font-size: 1.02rem; }
.inline-cta {
  padding-block: clamp(44px, 6vw, 72px);
}
.inline-cta__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 2px solid var(--ink);
}
.inline-cta p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; margin: 0; max-width: 28ch; }
@media (max-width: 899px) {
  .svc-open__grid, .checklist__grid { grid-template-columns: 1fr; }
  .svc-strip .ph { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .checklist ul { columns: 1; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ======================================================================
   PROCESS & FAQ
   ====================================================================== */
.proc-open { padding-block: clamp(40px, 6vw, 80px) var(--section); border-bottom: 1px solid var(--line); }
.proc-open__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
}
.proc-open h1 { font-size: clamp(2.5rem, 4.8vw, 4.2rem); }
.rail { list-style: none; margin: 0; padding: 0; counter-reset: rail; position: relative; }
.rail::before {
  content: "";
  position: absolute;
  left: 23px; top: 24px; bottom: 24px;
  width: 1.5px;
  background-color: var(--accent-line);
}
.rail li {
  counter-increment: rail;
  position: relative;
  padding: 0 0 28px 76px;
  min-height: 48px;
}
.rail li:last-child { padding-bottom: 0; }
.rail li::before {
  content: counter(rail);
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background-color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.rail h2 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); margin: 8px 0 6px; line-height: 1.2; }
.rail p { color: var(--ink-soft); font-size: 1.05rem; }
.note {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-line);
  background-color: var(--surface);
  font-size: 1rem;
}
.faq { padding-block: var(--section); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq__media { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__media .ph { aspect-ratio: 4 / 5; }
.faq__media img { object-position: 78% 50%; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 14px;
  width: 14px; height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.faq details > div { padding: 0 0 22px; max-width: 62ch; }
@media (max-width: 899px) {
  .proc-open__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__media { position: static; }
  .faq__media .ph { aspect-ratio: 16 / 9; }
}

/* ======================================================================
   CONTACT
   ====================================================================== */
.contact-open { padding-block: clamp(36px, 5vw, 64px) var(--section); }
.contact-open__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact-open h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.status-note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--surface-2);
}
.status-note strong { display: block; margin-bottom: 4px; }
.status-note p { font-size: 1rem; }
.contact-side h2 { font-size: 1.4rem; margin-top: 32px; }
.contact-side p { font-size: 1.02rem; color: var(--ink-soft); }

.form-panel {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 40px);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.field .hint { display: block; font-size: 0.95rem; color: var(--ink-soft); margin: -2px 0 8px; }
.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: 400 1.05rem/1.5 var(--font-text);
  color: var(--ink);
  background-color: var(--bg);
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { display: block; color: var(--error); font-weight: 600; font-size: 0.97rem; margin-top: 6px; }
.field__error:empty { display: none; }
.field__error::before { content: "Error: "; }
.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--ink);
  background-color: var(--surface-2);
  font-size: 1rem;
}
.form-status:empty { display: none; }
.form-status strong { display: block; }
.contact-strip .ph { aspect-ratio: 16 / 5; }
.contact-strip img { object-position: 20% 30%; }
.contact-strip { padding-bottom: var(--section); }
@media (max-width: 899px) {
  .contact-open__grid { grid-template-columns: 1fr; }
  .contact-strip .ph { aspect-ratio: 16 / 9; }
}

/* ======================================================================
   ABOUT
   ====================================================================== */
.about-open { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.about-open__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.about-open h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 14ch; }
.about-open .ph { aspect-ratio: 4 / 5; }
.about-open .ph img { object-position: 22% 30%; }
.about-cols { background-color: var(--surface); border-block: 1px solid var(--line); padding-block: var(--section); }
.about-cols__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.about-photos { padding-block: var(--section); }
.about-photos__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.about-photos .ph { aspect-ratio: 3 / 2; }
@media (max-width: 899px) {
  .about-open__grid, .about-photos__grid { grid-template-columns: 1fr; }
  .about-open .ph { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .about-cols__grid { grid-template-columns: 1fr; }
}

/* ======================================================================
   WORK (sample material studies)
   ====================================================================== */
.work-open { padding-block: clamp(36px, 5vw, 64px) var(--section); }
.work-open__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.work-open h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); margin-bottom: 0; }
.work-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  height: clamp(420px, 44vw, 600px);
}
.mosaic .ph { height: 100%; }
.mosaic .m-a { grid-column: 1 / 8; grid-row: 1 / 3; }
.mosaic .m-b { grid-column: 8 / 13; grid-row: 1 / 2; }
.mosaic .m-c { grid-column: 8 / 13; grid-row: 2 / 3; }
.mosaic .m-a img { object-position: 40% 55%; }
.mosaic .m-b img { object-position: 50% 38%; }
.mosaic .m-c img { object-position: 30% 50%; }

.studies { background-color: var(--surface); border-top: 1px solid var(--line); padding-bottom: var(--section); }
.study {
  display: grid;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 80px) 0;
}
.study + .study { margin-top: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.study h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.study--wide { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.study--wide .ph { aspect-ratio: 3 / 2; }
.study--tall { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.study--tall .ph { aspect-ratio: 4 / 5; max-height: 640px; }
.study--band { grid-template-columns: 1fr; }
.study--band .ph { aspect-ratio: 21 / 9; }
.study--band .study__text {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px clamp(28px, 5vw, 72px);
}
.study__ask { color: var(--ink-soft); font-size: 1.02rem; padding-top: 12px; border-top: 2px solid var(--accent-line); }
@media (max-width: 899px) {
  .work-open__head { grid-template-columns: 1fr; }
  .mosaic { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic .m-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic .m-b, .mosaic .m-c { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; }
  .study--wide, .study--tall, .study--band .study__text { grid-template-columns: 1fr; }
  .study--tall .ph { aspect-ratio: 4 / 3; }
  .study--band .ph { aspect-ratio: 4 / 3; }
}

/* In-page anchors land below the sticky header */
section[id], h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Approach page: the request rail sits under an h2, so its steps are h3 */
.rail h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); margin: 8px 0 6px; line-height: 1.2; }
.proc-open h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(64px, 10vw, 140px); }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(48px, 6vw, 72px) 32px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 32px clamp(28px, 5vw, 64px);
}
.site-footer .brand { margin-right: 0; margin-bottom: 18px; }
.site-footer p { color: var(--ink-soft); font-size: 1rem; max-width: 46ch; }
.site-footer h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-footer li a:hover { border-bottom-color: var(--accent); }
.site-footer li a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.site-footer__base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__photo img, .hero__inset-move { transform: none !important; }
}
