/* THiNQ Eco Homes: brand layer over the scrollcraft floor.
   Brand hard rules: green #76a855 / #5e8a42, ink #131313, off-white #f8f9fa,
   Fraunces (display) + Inter (text). Pages hard-cut between a paper ground and
   an ink ground, so the accent carries two stops of one hue (taste.md). */

:root {
  --t-green: #76a855;
  --t-green-dark: #5e8a42;
  --t-green-deep: #3f6128;
  --t-ink: #131313;
  --t-body: #343a40;
  --t-muted: #495057;
  --t-paper: #f8f9fa;
  --t-mist: #e9ecef;
  --t-line: #dee2e6;
  --t-line-mid: #ced4da;

  --sc-canvas: var(--t-paper);
  --sc-surface: #ffffff;
  --sc-ink: var(--t-ink);
  --sc-ink-soft: #454d45;
  --sc-accent: var(--t-green-dark);
  --sc-accent-ink: #ffffff;
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text: "Inter", system-ui, -apple-system, sans-serif;
  --sc-font-mono: "Inter", system-ui, sans-serif;
  --sc-shadow-color: 110 20% 12%;
  --sc-r-md: 14px;
  --sc-r-lg: 22px;

  --bar-h: 72px;
}

body { background: var(--t-paper); color: var(--t-ink); }
::selection { background: var(--t-green); color: var(--t-ink); }
:focus-visible { outline-color: var(--t-green-dark); }

/* Grounds. Restate color with the token (taste.md: inherited computed value). */
.g-paper { --sc-canvas: var(--t-paper); --sc-ink: var(--t-ink); --sc-ink-soft: #454d45; --sc-accent: var(--t-green-dark);
  background: var(--t-paper); color: var(--sc-ink); }
.g-white { --sc-canvas: #ffffff; --sc-ink: var(--t-ink); --sc-ink-soft: #454d45; --sc-accent: var(--t-green-dark);
  background: #ffffff; color: var(--sc-ink); }
.g-mist { --sc-canvas: var(--t-mist); --sc-ink: var(--t-ink); --sc-ink-soft: #3d453d; --sc-accent: var(--t-green-deep);
  background: var(--t-mist); color: var(--sc-ink); }
.g-ink { --sc-canvas: var(--t-ink); --sc-surface: #1b1e1a; --sc-ink: #f4f6f1; --sc-ink-soft: #b8c2b0;
  --sc-accent: var(--t-green); --sc-accent-ink: var(--t-ink);
  --sc-hairline: color-mix(in oklab, #f4f6f1 14%, transparent);
  background: var(--t-ink); color: var(--sc-ink); }
.g-green { --sc-canvas: var(--t-green-deep); --sc-ink: #f6f9f2; --sc-ink-soft: #dbe7d0; --sc-accent: #cfe6bd;
  background: var(--t-green-deep); color: var(--sc-ink); }

/* Type */
.sc-display { font-weight: 600; font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -0.028em; }
.g-ink .sc-display, .g-green .sc-display { font-weight: 560; letter-spacing: -0.02em; }
.sc-body { color: var(--sc-ink-soft); }
.g-ink .sc-body { line-height: 1.7; letter-spacing: 0.004em; }
.kicker {
  font-family: var(--sc-font-text); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-accent); margin: 0;
}
.h3 { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-xl); line-height: 1.12; letter-spacing: -0.018em; margin: 0; text-wrap: balance; }
.h4 { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); line-height: 1.2; letter-spacing: -0.012em; margin: 0; }
.muted { color: var(--sc-ink-soft); }
.small { font-size: var(--sc-t-sm); }
.measure { max-width: 60ch; }
p { margin: 0; }
.prose > * + * { margin-top: var(--sc-4); }
.prose h2 { margin-top: var(--sc-8); }
.prose h3 { margin-top: var(--sc-6); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--sc-2); }

/* Buttons: one pill scale across the site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.8rem 1.5rem; border-radius: 999px;
  font: 600 0.8rem/1 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary { background: var(--t-green); color: var(--t-ink); box-shadow: var(--sc-e1); }
.btn--ghost { background: transparent; color: currentColor; border-color: color-mix(in oklab, currentColor 45%, transparent); }
.btn--dark { background: var(--t-ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #86b766; }
  .btn--ghost:hover { border-color: currentColor; }
  .btn--dark:hover { background: #2a2e2a; }
}
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; pointer-events: none; }
.btn .ms { font-size: 1.15em; }
.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sc-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.link:hover { text-decoration-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sc-3); }

.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 1.4em; line-height: 1;
  display: inline-block; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; user-select: none; }

/* ------------------------------------------------------------ site bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--bar-h);
  background: color-mix(in oklab, #ffffff 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--t-line); color: var(--t-ink);
}
.bar__in { height: 100%; display: flex; align-items: center; gap: var(--sc-5); max-width: 90rem; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.bar__logo { display: block; flex: none; }
.bar__logo img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav > a, .nav__top {
  font: 500 0.92rem/1 var(--sc-font-text); color: var(--t-ink); text-decoration: none; background: none; border: 0;
  padding: 0.7rem 0.75rem; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 0.2rem;
}
.nav > a:hover, .nav__top:hover { background: var(--t-mist); }
.nav a[aria-current="page"], .nav__top.is-current { color: var(--t-green-deep); box-shadow: inset 0 -2px 0 var(--t-green); border-radius: 8px 8px 0 0; }
.nav__group { position: relative; }
.nav__top .ms { font-size: 1.2rem; transition: transform 160ms var(--sc-ease-out); }
.nav__group[data-open] .nav__top .ms { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: -0.5rem; min-width: 18rem; padding: 0.5rem;
  background: #fff; border: 1px solid var(--t-line); border-radius: 14px; box-shadow: var(--sc-e3);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(0.98); transform-origin: top left;
  transition: opacity 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out), visibility 0s 160ms;
}
.nav__group[data-open] .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__menu a { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.8rem; border-radius: 10px; text-decoration: none; color: var(--t-ink); }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--t-paper); }
.nav__menu a[aria-current="page"] { background: color-mix(in oklab, var(--t-green) 14%, #fff); }
.nav__menu strong { font: 600 0.95rem/1.2 var(--sc-font-text); }
.nav__menu span { font-size: 0.82rem; color: var(--t-muted); line-height: 1.35; }
.nav__menu hr { border: 0; height: 1px; background: var(--t-line); margin: 0.35rem 0.4rem; }

.region { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--t-mist); flex: none; }
.region button { border: 0; background: none; font: 600 0.74rem/1 var(--sc-font-text); letter-spacing: 0.08em; padding: 0.5rem 0.65rem; border-radius: 999px; cursor: pointer; color: var(--t-muted); min-width: 40px; min-height: 32px; }
.region button[aria-pressed="true"] { background: #fff; color: var(--t-ink); box-shadow: var(--sc-e1); }
.bar__cta { flex: none; }
.bar__burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--t-ink); }
.bar__burger .ms { font-size: 1.8rem; }

.sheet { display: none; }
@media (max-width: 1080px) {
  .nav, .bar__cta { display: none; }
  .bar__burger { display: inline-flex; align-items: center; justify-content: center; }
  .bar .region { margin-left: auto; }
  .bar .region + .bar__burger { margin-left: 0; }
  .sheet {
    display: block; position: fixed; inset: var(--bar-h) 0 0 0; z-index: 69; background: #fff; overflow-y: auto;
    padding: var(--sc-5) clamp(1rem, 5vw, 2rem) var(--sc-8);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out), visibility 0s 200ms;
  }
  body.sheet-open { overflow: hidden; }
  body.sheet-open .sheet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sheet h2 { font: 600 0.74rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-green-deep); margin: var(--sc-6) 0 var(--sc-2); }
  .sheet h2:first-child { margin-top: 0; }
  .sheet a:not(.btn) { display: flex; align-items: center; min-height: 48px; font: 500 1.15rem/1.2 var(--sc-font-text); color: var(--t-ink); text-decoration: none; border-bottom: 1px solid var(--t-line); }
  .sheet a[aria-current="page"] { color: var(--t-green-deep); font-weight: 600; }
  .sheet .btn { width: 100%; margin-top: var(--sc-6); }
}
@media (max-width: 420px) { .bar__logo img { height: 18px; } .region button { padding: 0.5rem 0.5rem; min-width: 36px; } }

main { display: block; }
.page-top { padding-top: var(--bar-h); }

/* region visibility */
html[data-region="uk"] [data-only="us"], html:not([data-region="uk"]) [data-only="uk"] { display: none !important; }

/* ------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.section { padding-block: var(--sc-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.head { display: grid; gap: var(--sc-4); margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 48rem; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
}
.figure { margin: 0; position: relative; }
.figure img, .figure video { width: 100%; height: auto; border-radius: var(--sc-r-lg); box-shadow: var(--sc-e2); }
.figure--cover img { aspect-ratio: 4 / 3; object-fit: cover; }
.figcap { margin-top: var(--sc-3); font-size: var(--sc-t-xs); letter-spacing: 0.06em; color: var(--sc-ink-soft); text-transform: uppercase; }
.render-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; font: 600 0.68rem/1 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgb(19 19 19 / 0.62); padding: 0.45rem 0.6rem; border-radius: 6px; backdrop-filter: blur(4px); }

/* Facts list: hairlines and type on space, not a card grid */
.facts { display: grid; gap: 0; border-top: 1px solid var(--sc-hairline-strong); }
.facts > div { display: grid; gap: var(--sc-2); padding: var(--sc-5) 0; border-bottom: 1px solid var(--sc-hairline-strong); }
@media (min-width: 760px) {
  .facts > div { grid-template-columns: minmax(12rem, 0.8fr) 2fr; gap: var(--sc-6); align-items: baseline; }
}
.facts dt { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); line-height: 1.25; letter-spacing: -0.01em; }
.facts dd { margin: 0; color: var(--sc-ink-soft); max-width: 62ch; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sc-3); }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; }
.ticks li::before { content: "check"; font-family: "Material Symbols Outlined"; font-size: 1.25rem; line-height: 1.4; color: var(--sc-accent); }
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); column-gap: var(--sc-6); }

/* Asymmetric numbers row (client-supplied figures only) */
.nums { display: grid; gap: var(--sc-6) var(--sc-7); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.nums div { display: grid; gap: var(--sc-1); padding-top: var(--sc-4); border-top: 2px solid var(--sc-accent); }
.nums b { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-2xl); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nums > div > span { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* Model tiles */
.models { display: grid; gap: var(--sc-5); }
@media (min-width: 720px) { .models { grid-template-columns: repeat(2, 1fr); } }
.model { display: grid; gap: var(--sc-3); align-content: start; background: #fff; color: var(--t-ink); border: 1px solid var(--t-line);
  border-radius: var(--sc-r-lg); overflow: hidden; box-shadow: var(--sc-e1); --sc-ink-soft: #454d45; --sc-accent: var(--t-green-dark); }
.model img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.model__body { display: grid; gap: var(--sc-3); padding: var(--sc-5) var(--sc-5) var(--sc-6); }
.model__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sc-3); flex-wrap: wrap; }
.model__dims { font-size: var(--sc-t-sm); color: var(--t-muted); letter-spacing: 0.02em; }
.price { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-xl); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sc-font-text); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; color: var(--t-muted); margin-left: 0.35em; }
.price-from { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-muted); display: block; margin-bottom: 0.3rem; }
.model .ticks { gap: var(--sc-2); font-size: var(--sc-t-sm); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--t-line); border-radius: var(--sc-r-md); background: #fff; color: var(--t-ink); }
table.t { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: var(--sc-t-sm); }
.t th, .t td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--t-line); vertical-align: top; }
.t thead th { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-muted); background: var(--t-paper); font-weight: 600; }
.t tbody tr:last-child td, .t tbody tr:last-child th { border-bottom: 0; }
.t tbody th { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.05rem; }
.t .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t .hl { color: var(--t-green-deep); font-weight: 600; }

/* Payment plan: a stepped bar */
.plan { display: grid; gap: 0; counter-reset: plan; }
.plan li { list-style: none; display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--sc-4); align-items: baseline; padding: var(--sc-4) 0; border-bottom: 1px solid var(--sc-hairline-strong); }
.plan b { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan ol, ol.plan { padding: 0; margin: 0; }

/* Steps / process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: var(--sc-5); padding: var(--sc-5) 0; border-top: 1px solid var(--sc-hairline-strong); }
.steps .when { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-accent); padding-top: 0.35rem; }
@media (max-width: 560px) { .steps li { grid-template-columns: 1fr; gap: var(--sc-2); } }

/* FAQ */
.faq { display: grid; gap: var(--sc-3); }
.faq details { background: #fff; color: var(--t-ink); border: 1px solid var(--t-line); border-radius: var(--sc-r-md); --sc-ink-soft: #454d45; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--sc-4); align-items: center;
  padding: 1.15rem 1.3rem; font: 600 1.05rem/1.35 var(--sc-font-display); letter-spacing: -0.005em; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "add"; font-family: "Material Symbols Outlined"; font-size: 1.5rem; color: var(--t-muted); transition: transform 180ms var(--sc-ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 1.3rem 1.3rem; color: var(--sc-ink-soft); display: grid; gap: var(--sc-3); max-width: 70ch; }
.faq .a ul { margin: 0; padding-left: 1.2em; }

/* Forms */
.form { display: grid; gap: var(--sc-4); }
.form .row { display: grid; gap: var(--sc-4); }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; border: 1px solid var(--t-line-mid); border-radius: 10px; background: #fff; color: var(--t-ink);
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--t-green-dark); box-shadow: 0 0 0 3px color-mix(in oklab, var(--t-green) 35%, transparent); }
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.form-note { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.form-status { font-weight: 600; }
.form-status[data-state="ok"] { color: var(--t-green-deep); }
.form-status[data-state="err"] { color: #b3261e; }

/* Close band */
.close { position: relative; overflow: clip; }
.close__in { display: grid; gap: var(--sc-5); justify-items: start; max-width: 46rem; }

/* Footer */
.foot { background: var(--t-ink); color: #d9ded5; padding: clamp(3.5rem, 7vw, 6rem) 0 var(--sc-6); font-size: var(--sc-t-sm); }
.foot a { color: #f4f6f1; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--t-green); }
.foot__grid { display: grid; gap: var(--sc-7); grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.foot h2 { font: 600 0.74rem/1 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-green); margin: 0 0 var(--sc-4); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.foot__brand img { height: 26px; width: auto; filter: invert(1); }
.foot__brand p { margin-top: var(--sc-4); max-width: 30ch; color: #b8c2b0; }
.foot__base { margin-top: var(--sc-8); padding-top: var(--sc-5); border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; gap: var(--sc-3) var(--sc-6); justify-content: space-between; color: #9aa592; }

/* Breadcrumb-ish page intro for document pages */
.intro { padding: calc(var(--bar-h) + clamp(3rem, 8vw, 7rem)) 0 clamp(3rem, 6vw, 5rem); }
.intro .sc-display { max-width: 18ch; }
.intro .sc-lede { margin-top: var(--sc-5); max-width: 44ch; color: var(--sc-ink-soft); }
.intro .btn-row { margin-top: var(--sc-6); }

/* ================================================================ HOME == */
/* Hero: ink ground, portrait unfold clip in a frame on the right (desktop),
   full-bleed on phones. Three planes: blueprint grid (back), clip frame (mid),
   headline + spec tag (front). */
.hero .sc-stage { background: var(--t-ink); }
.hero__grid { position: absolute; inset: -10% -5%; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(118 168 85 / 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(118 168 85 / 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 70% 55%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 55%, #000 30%, transparent 80%); }
.hero__frame { position: absolute; z-index: 1; overflow: hidden; border-radius: 26px; box-shadow: var(--sc-e3);
  right: clamp(1.5rem, 6vw, 7rem); top: calc(var(--bar-h) + 4vh); bottom: 6vh; aspect-ratio: 9 / 16; max-width: 44vw;
  transform: scale(calc(0.94 + var(--sc-p, 0) * 0.08)); transform-origin: 50% 60%; }
.hero__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); pointer-events: none; z-index: 3; }
.hero__tag { position: absolute; z-index: 4; right: calc(clamp(1.5rem, 6vw, 7rem) - 1.25rem); bottom: 12vh;
  background: var(--t-green); color: var(--t-ink); font: 600 0.78rem/1.2 var(--sc-font-text); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.7rem 0.9rem; border-radius: 10px; box-shadow: var(--sc-e2); }
.hero .sc-copy { left: clamp(1.25rem, 6vw, 7rem); bottom: auto; top: 50%; translate: 0 -46%; max-width: min(40rem, 46vw); }
.hero__inside h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); color: #f4f6f1; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5.4rem); color: #f4f6f1; }
.hero .sc-lede { color: #c9d2c1; margin-top: var(--sc-5); max-width: 34ch; }
.hero .btn-row { margin-top: var(--sc-6); }
.hero .btn--ghost { color: #f4f6f1; }
.hero__powered { margin-bottom: var(--sc-5); color: var(--t-green); }
@media (max-width: 899px) {
  .hero__frame { inset: 0; right: 0; top: 0; bottom: 0; max-width: none; aspect-ratio: auto; border-radius: 0; transform: none; }
  .hero__frame::after { display: none; }
  .hero__tag { display: none; }
  .hero .sc-copy { top: auto; bottom: clamp(1.5rem, 5vh, 3rem); translate: none; max-width: none; left: var(--sc-gutter); right: var(--sc-gutter); }
  .hero__inside h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); color: #f4f6f1; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.6vw, 3.2rem); }
  .hero .sc-lede { font-size: 1.02rem; }
  .hero__scrim { display: block !important; }
}
.hero__scrim { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgb(19 19 19 / 0.96) 0%, rgb(19 19 19 / 0.85) 34%, rgb(19 19 19 / 0.25) 58%, transparent 72%); }

/* Premise */
.premise__line { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-3xl); line-height: 1.02; letter-spacing: -0.032em; max-width: 16ch; margin: 0; text-wrap: balance; }
.premise__line em { font-style: italic; font-weight: 500; color: var(--sc-accent); }

/* ================================================== SIGNATURE: many lives == */
.lives .sc-stage { background: var(--t-ink); color: #f4f6f1; display: grid; }
.lives__layout { position: absolute; inset: var(--bar-h) 0 0 0; display: grid; gap: clamp(1.25rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); align-items: center;
  padding: clamp(1rem, 3vh, 2.5rem) var(--sc-gutter) clamp(1rem, 4vh, 3rem); }
.lives__frame { position: relative; aspect-ratio: 16 / 9; width: 100%; max-height: calc(100svh - var(--bar-h) - 6rem); justify-self: center;
  border-radius: 22px; overflow: hidden; box-shadow: var(--sc-e3); background: #222; }
.lives__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lives__frame .life { clip-path: inset(0 0 0 100%); }
.lives__frame .life[data-i="0"] { clip-path: none; }
/* The section line: the signature's cut edge, with a dimension tag riding it */
.lives__cut { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 5; background: var(--t-green); opacity: 0;
  box-shadow: 0 0 0 1px rgb(19 19 19 / 0.25); will-change: transform, opacity; pointer-events: none; }
.lives__cut::before, .lives__cut::after { content: ""; position: absolute; left: -7px; width: 16px; height: 2px; background: var(--t-green); }
.lives__cut::before { top: 14px; } .lives__cut::after { bottom: 14px; }
.lives__cut span { position: absolute; top: 50%; left: 10px; translate: 0 -50%; white-space: nowrap; background: var(--t-green); color: var(--t-ink);
  font: 600 0.72rem/1 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 0.6rem; border-radius: 6px; }
.lives__side { display: grid; gap: var(--sc-5); align-content: center; }
.lives__side h2 { font-size: var(--sc-t-2xl); color: #f4f6f1; }
.lives__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgb(255 255 255 / 0.14); }
.lives__list a { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: 0.6rem; align-items: center; padding: 0.8rem 0; min-height: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 0.14); color: #9ea896; text-decoration: none; transition: color 180ms var(--sc-ease-out); }
.lives__list a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; justify-self: center; transition: background-color 180ms var(--sc-ease-out); }
.lives__list a .ms { font-size: 1.1rem; opacity: 0; transform: translateX(-4px); transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out); }
.lives__list a[data-on] { color: #f4f6f1; }
.lives__list a[data-on]::before { background: var(--t-green); border-color: var(--t-green); }
.lives__list a[data-on] .ms, .lives__list a:hover .ms { opacity: 1; transform: none; }
.lives__list a:hover { color: #f4f6f1; }
.lives__note { color: #b8c2b0; font-size: var(--sc-t-sm); min-height: 4.5em; }
.lives__cap { position: absolute; left: auto; right: 14px; bottom: 14px; z-index: 6; }
.lives__cut.is-flip span { left: auto; right: 10px; }
@media (max-width: 899px) {
  .lives__layout { grid-template-columns: 1fr; align-content: center; gap: var(--sc-5); padding-top: var(--sc-4); }
  .lives__frame { aspect-ratio: 4 / 3.4; max-height: 50svh; }
  .lives__frame img { object-position: 50% 60%; }
  .lives__side h2 { font-size: var(--sc-t-xl); }
  .lives__list { grid-template-columns: repeat(2, 1fr); column-gap: var(--sc-4); }
  .lives__list li:last-child { grid-column: 1 / -1; }
  .lives__list a { grid-template-columns: 1rem 1fr; font-size: 0.92rem; padding: 0.55rem 0; min-height: 44px; }
  .lives__list a .ms { display: none; }
  .lives__note { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) { .lives__side h2 { display: none; } }

/* ======================================================= PAN: model rail == */
.rail-act .sc-stage { background: var(--t-paper); display: flex; align-items: center; }
.rail { gap: clamp(1rem, 2vw, 1.75rem); padding: calc(var(--bar-h) + 2vh) var(--sc-gutter) 4vh; align-items: stretch; }
.rail > * { flex: none; }
.rail__lead { width: min(24rem, 78vw); display: grid; gap: var(--sc-4); align-content: center; }
.rail__end { width: min(20rem, 70vw); display: grid; gap: var(--sc-4); align-content: center; }
.rail .model { width: min(25rem, 80vw); }
.rail .model img { aspect-ratio: 16 / 11; }
@media (max-height: 760px) { .rail .model img { aspect-ratio: 16 / 9; } .rail .model .ticks { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .rail .model { opacity: clamp(0.55, calc(0.55 + (var(--sc-p, 0) * 5 - var(--k, 0)) * 0.45), 1); }
}

/* Reveal image */
.reveal-fig { margin: 0; position: relative; }
.reveal-fig img, .reveal-fig video { width: 100%; height: auto; border-radius: var(--sc-r-lg); box-shadow: var(--sc-e2); display: block; }

/* Testimonials: offset stack, not equal columns */
.quotes { display: grid; gap: var(--sc-5); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1.2fr 1fr; } .quotes figure:first-child { grid-row: span 2; } }
.quotes figure { margin: 0; padding: var(--sc-6); border-radius: var(--sc-r-lg); background: #fff; color: var(--t-ink); border: 1px solid var(--t-line); box-shadow: var(--sc-e1); display: grid; gap: var(--sc-4); align-content: space-between; }
.quotes blockquote { margin: 0; font-family: var(--sc-font-display); font-size: var(--sc-t-lg); line-height: 1.4; letter-spacing: -0.005em; }
.quotes figure:first-child blockquote { font-size: var(--sc-t-xl); line-height: 1.3; }
.quotes figcaption { display: flex; gap: var(--sc-3); align-items: center; font-size: var(--sc-t-sm); }
.quotes figcaption b { display: block; }
.quotes figcaption span { color: var(--t-muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--t-green); color: var(--t-ink); font-weight: 700; font-size: 0.85rem; flex: none; }

/* ============================================================ USE PAGES == */
.uhero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: clip; background: var(--t-ink); color: #f4f6f1; }
.uhero__img { position: absolute; inset: -8% 0 -8% 0; z-index: 0; }
.uhero__img img { width: 100%; height: 100%; object-fit: cover; }
.uhero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top right, rgb(19 19 19 / 0.95) 0%, rgb(19 19 19 / 0.78) 30%, rgb(19 19 19 / 0.25) 55%, transparent 72%); }
.uhero__copy { position: relative; z-index: 2; padding: calc(var(--bar-h) + 3rem) var(--sc-gutter) clamp(2.5rem, 9vh, 6rem); max-width: min(52rem, 100%); }
.uhero__copy h1 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 5.2rem); color: #f4f6f1; max-width: 14ch; }
.uhero__copy .sc-lede { color: #d3dacb; margin-top: var(--sc-5); max-width: 40ch; }
.uhero__copy .btn-row { margin-top: var(--sc-6); }
.uhero__copy .btn--ghost { color: #f4f6f1; }
.uhero .render-tag { left: auto; right: var(--sc-gutter); bottom: clamp(1.5rem, 5vh, 3rem); }
.uhero__crumb { display: inline-flex; gap: 0.4rem; align-items: center; margin-bottom: var(--sc-5); font: 600 0.76rem/1 var(--sc-font-text); letter-spacing: 0.14em; text-transform: uppercase; color: #c3e0ad; }
.uhero__crumb a { color: inherit; text-decoration: none; }
.uhero__crumb a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .uhero__scrim { background: linear-gradient(to top, rgb(19 19 19 / 0.96) 0%, rgb(19 19 19 / 0.82) 42%, rgb(19 19 19 / 0.2) 70%, transparent 84%); }
  .uhero .render-tag { top: calc(var(--bar-h) + 12px); bottom: auto; right: 12px; }
}

.scenarios { display: grid; gap: 0; border-top: 1px solid var(--sc-hairline-strong); }
.scenarios > div { display: grid; gap: var(--sc-2); padding: var(--sc-5) 0; border-bottom: 1px solid var(--sc-hairline-strong); }
@media (min-width: 700px) { .scenarios > div { grid-template-columns: 2.4rem 1fr; column-gap: var(--sc-4); } .scenarios .ms { grid-row: span 2; } }
.scenarios .ms { color: var(--sc-accent); font-size: 1.7rem; }

/* Pinned argument (why it works here) */
.argue .sc-stage { background: var(--t-ink); color: #f4f6f1; }
.argue__lines { position: absolute; inset: var(--bar-h) var(--sc-gutter) 0; display: grid; place-items: center start; }
.argue__lines > * { grid-area: 1 / 1; max-width: 22ch; font-family: var(--sc-font-display); font-weight: 560; font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); line-height: 1.04; letter-spacing: -0.028em; margin: 0; color: #f4f6f1; text-wrap: balance; }
.argue__lines > * small { display: block; margin-top: var(--sc-5); max-width: 44ch; font-family: var(--sc-font-text); font-size: var(--sc-t-lg); font-weight: 400; line-height: 1.5; letter-spacing: 0; color: #c9d2c1; }
.argue__bar { position: absolute; left: var(--sc-gutter); right: var(--sc-gutter); bottom: 8vh; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.12); }
.argue__bar::after { content: ""; position: absolute; inset: 0; background: var(--t-green); transform-origin: 0 50%; transform: scaleX(var(--sc-p, 0)); }

/* Process timeline (pinned) */
.timeline .sc-stage { background: var(--t-paper); }
.timeline__in { position: absolute; inset: var(--bar-h) 0 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding: 0 var(--sc-gutter); }
.timeline__rail { position: relative; display: grid; gap: var(--sc-2); list-style: none; margin: 0; padding: 0 0 0 1.5rem; }
.timeline__rail::before { content: ""; position: absolute; left: 5px; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--t-line-mid); }
.timeline__rail::after { content: ""; position: absolute; left: 5px; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--t-green-dark); transform-origin: 50% 0; transform: scaleY(var(--sc-p, 0)); }
.timeline__rail li { position: relative; padding: 0.55rem 0; color: #6b736b; font-weight: 500; transition: color 200ms var(--sc-ease-out); }
.timeline__rail li::before { content: ""; position: absolute; left: -1.5rem; top: 0.95rem; width: 12px; height: 12px; border-radius: 50%; background: var(--t-paper); border: 2px solid var(--t-line-mid); transition: background-color 200ms var(--sc-ease-out), border-color 200ms var(--sc-ease-out); }
.timeline__rail li[data-on] { color: var(--t-ink); }
.timeline__rail li[data-on]::before { background: var(--t-green-dark); border-color: var(--t-green-dark); }
.timeline__rail li span { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-green-deep); font-weight: 600; }
.timeline__cards { display: grid; }
.timeline__cards > article { grid-area: 1 / 1; display: grid; gap: var(--sc-4); align-content: center; }
.timeline__cards .big { transform: translateY(calc((0.5 - var(--step-t, 0.5)) * 28px)); font-family: var(--sc-font-display); font-weight: 600; font-size: clamp(4rem, 3rem + 5vw, 8rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--t-green-dark); }
@media (max-width: 860px) {
  .timeline__in { grid-template-columns: 1fr; align-content: center; gap: var(--sc-6); }
  .timeline__rail { grid-template-columns: repeat(5, 1fr); padding: 1.4rem 0 0; gap: 0.3rem; }
  .timeline__rail::before, .timeline__rail::after { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--sc-p, 0)); }
  .timeline__rail::before { transform: none; }
  .timeline__rail li { font-size: 0.72rem; padding: 0; }
  .timeline__rail li b { display: none; }
  .timeline__rail li::before { left: 0; top: -1.4rem; }
}

/* Uses hub cards: zigzag list, not a grid of identical cards */
.uselist { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.uselist article { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .uselist article { grid-template-columns: 1.15fr 1fr; }
  .uselist article:nth-child(even) .figure { order: 2; }
}
.fitchips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fitchips a, .fitchips span { font-size: 0.8rem; font-weight: 600; padding: 0.45rem 0.75rem; border-radius: 999px; background: color-mix(in oklab, var(--t-green) 16%, #fff); color: var(--t-green-deep); text-decoration: none; }
.fitchips a:hover { background: color-mix(in oklab, var(--t-green) 28%, #fff); }

.note { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 70ch; }
.callout { padding: var(--sc-5) var(--sc-6); border-radius: var(--sc-r-md); background: color-mix(in oklab, var(--t-green) 12%, #fff); color: var(--t-ink); }

/* Terms */
.terms ol { padding-left: 1.2em; }

/* Reduced motion: pinned signature becomes a readable stack handled in JS; kill wipes */
@media (prefers-reduced-motion: reduce) {
  .hero__frame { transform: none; }
  .lives__cut { display: none; }
}

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--t-ink); color: #fff; padding: 0.7rem 1rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.g-green .btn--primary { background: #f6f9f2; color: var(--t-ink); }
.g-green .btn--ghost { color: #f6f9f2; }
@media (hover: hover) and (pointer: fine) { .g-green .btn--primary:hover { background: #ffffff; } }

@media (prefers-reduced-motion: reduce) { .timeline__cards .big { transform: none; } }

/* ============================================= HOME: video hero variant == */
.hero--video { position: relative; height: 100vh; height: 100svh; min-height: 36rem; overflow: clip; background: var(--t-ink); }
.hero--video .hero__frame { transform: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__chapter { position: absolute; left: 14px; bottom: 14px; z-index: 2; margin: 0; background: var(--t-green); color: var(--t-ink);
  font: 600 0.72rem/1 var(--sc-font-text); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.55rem 0.7rem; border-radius: 8px; box-shadow: var(--sc-e1); }
.hero__chapter span { display: inline-block; transition: opacity 220ms var(--sc-ease-out); }
.hero__chapter.is-swap span { opacity: 0; }
.hero__play { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgb(19 19 19 / 0.62); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out); }
.hero__play:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .hero__play:hover { background: rgb(19 19 19 / 0.85); } }
.hero__play .ms { font-size: 1.5rem; }
@media (max-width: 899px) {
  .hero__chapter { top: calc(var(--bar-h) + 12px); bottom: auto; left: var(--sc-gutter); }
  .hero__play { top: calc(var(--bar-h) + 6px); bottom: auto; right: var(--sc-gutter); }
}
