/* =====================================================================
   Recess Growth: public site, visual identity v2 (2026-06-11).
   Committed pine + wattle gold on chalk paper. Bricolage Grotesque.
   Mobile-first, no build step, CSS-only motion. Spec in DESIGN.md.
   ===================================================================== */

/* Self-hosted Bricolage Grotesque (latin subset, variable 300-800).
   Replaces the render-blocking Google Fonts request. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

:root {
  /* Chalk paper, tinted toward the brand green. */
  --paper:     oklch(96.5% 0.01 110);
  --paper-2:   oklch(93.8% 0.013 110);
  --card:      oklch(98.3% 0.006 110);
  --ink:       oklch(25% 0.022 170);
  --ink-soft:  oklch(46% 0.02 165);
  --line:      oklch(87% 0.018 130);

  /* The brand colour: deep eucalypt pine. */
  --pine:      oklch(40% 0.065 168);
  --pine-deep: oklch(32% 0.055 170);
  --pine-tint: oklch(92.5% 0.028 160);
  --pine-ink:  oklch(20% 0.035 172);

  /* The signal: wattle gold. Fills and marks only, never text on paper. */
  --gold:      oklch(77% 0.135 82);
  --gold-deep: oklch(70% 0.13 78);

  /* On-dark text */
  --light:      oklch(96% 0.012 150);
  --light-soft: oklch(82% 0.02 155);

  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 44px);
  --radius: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.18s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.5vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.22rem; letter-spacing: -0.012em; font-weight: 650; }
p  { margin: 0; }

/* The dot device: a page's headline ends in the gold dot. */
.dot-end::after {
  content: ""; display: inline-block;
  width: 0.16em; height: 0.16em; border-radius: 50%;
  background: var(--gold); margin-left: 0.09em;
}

/* ---- wordmark ---------------------------------------------------- */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.12em;
  font-weight: 700; letter-spacing: -0.03em; font-size: 1.2rem; color: var(--ink);
  line-height: 1;
}
.wordmark .dot {
  width: 0.4em; height: 0.4em; border-radius: 50%;
  background: var(--gold); display: inline-block; align-self: center;
  margin: 0 0.07em;
  transition: scale 0.2s var(--ease);
}
.wordmark:hover .dot { scale: 1.3; }
.wordmark .growth { color: var(--ink-soft); font-weight: 500; }
.site-footer .wordmark { color: var(--light); }
.site-footer .wordmark .growth { color: var(--light-soft); }

/* ---- header ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(96.5% 0.01 110 / 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: oklch(96.5% 0.01 110 / 0.96);
  box-shadow: 0 10px 30px -18px oklch(20% 0.035 172 / 0.35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: var(--ink-soft); font-size: 0.97rem; font-weight: 500; padding: 10px 0; position: relative; transition: color var(--dur) var(--ease); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2.5px;
  border-radius: 2px; background: var(--gold);
  scale: 0 1; transform-origin: left center; transition: scale 0.25s var(--ease);
}
.nav a:hover::after, .nav a.current::after { scale: 1 1; }
.nav a.current { color: var(--ink); }
/* The call CTA stays visible at every width: the one action the site sells. */
.header-cta { display: inline-flex; }
.menu-btn {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 10px; padding: 9px 16px; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
}
@media (min-width: 880px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* mobile menu (CSS-only via :target) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--paper);
  padding: 24px var(--pad); transform: translateY(-100%);
  transition: transform 0.28s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu:target { transform: translateY(0); }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 26px; }
.mobile-menu a.mm-link { color: var(--ink); font-size: 1.5rem; font-weight: 650; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .close { font-size: 1.7rem; color: var(--ink-soft); text-decoration: none; padding: 8px 12px; }

/* ---- buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; justify-content: center;
  font: inherit; font-weight: 600; font-size: 1rem; border-radius: 10px;
  padding: 14px 26px; border: 1.5px solid transparent; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    border-radius var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1.5px); border-radius: 13px; }
.btn:active { transform: translateY(0) scale(0.985); border-radius: 13px; }
.btn .ar { display: inline-block; transition: translate 0.2s var(--ease); }
.btn:hover .ar { translate: 3px 0; }
.btn--gold { background: var(--gold); color: var(--pine-ink); }
.btn--gold:hover { background: var(--gold-deep); box-shadow: 0 10px 22px -12px oklch(70% 0.13 78 / 0.55); }
.btn--pine { background: var(--pine); color: var(--light); }
.btn--pine:hover { background: var(--pine-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: oklch(25% 0.022 170 / 0.45); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--lg { padding: 16px 32px; font-size: 1.06rem; }
.btn--sm { padding: 11px 20px; font-size: 0.95rem; }
.header-cta.btn { padding: 9px 18px; font-size: 0.92rem; }
.band--pine .btn--ghost, .band--ink .btn--ghost { color: var(--light); border-color: oklch(96% 0.012 150 / 0.5); }
.band--pine .btn--ghost:hover, .band--ink .btn--ghost:hover { background: var(--light); color: var(--pine-ink); border-color: var(--light); }

/* ---- section scaffolding ----------------------------------------- */
section { padding: clamp(52px, 8vw, 100px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-roomy { padding: clamp(72px, 11vw, 140px) 0; }

.kicker {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.97rem; font-weight: 600; color: var(--pine); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.band--pine .kicker, .band--ink .kicker { color: var(--light-soft); }

.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.tight { max-width: 54ch; }
.note { color: var(--ink-soft); font-size: 0.93rem; max-width: 60ch; }
.mt-s { margin-top: 0.8rem; }
.mt-l { margin-top: 2rem; }

/* colour bands */
.band--tint { background: var(--pine-tint); }
.band--pine { background: var(--pine); color: var(--light); }
.band--ink  { background: var(--pine-ink); color: var(--light); }
.band--pine h1, .band--pine h2, .band--pine h3,
.band--ink h1, .band--ink h2, .band--ink h3 { color: inherit; }
.band--pine .lead, .band--ink .lead { color: var(--light-soft); }
.band--pine .note, .band--ink .note { color: var(--light-soft); }
.band--pine a, .band--ink a { color: var(--light); text-decoration: underline; text-underline-offset: 3px; }
.band--pine a.btn, .band--ink a.btn { text-decoration: none; }
.band--pine a.btn--gold, .band--ink a.btn--gold { color: var(--pine-ink); }
.band--pine a.btn--pine, .band--ink a.btn--pine { color: var(--light); }

/* ---- hero -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 10vw, 124px) 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; }
.hero .lead { margin-top: 1.4rem; max-width: 48ch; font-size: clamp(1.12rem, 2.6vw, 1.4rem); }
.hero .actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .sub-cta { margin-top: 1.1rem; font-size: 0.93rem; color: var(--ink-soft); }
.band--pine .sub-cta { color: var(--light-soft); }

/* the rings: the recess bell, the dot at its centre */
.hero-device {
  display: none; position: absolute; top: 50%;
  right: max(-170px, calc(50% - 770px));
  transform: translateY(-50%);
  width: clamp(340px, 36vw, 560px); aspect-ratio: 1;
  border: 1.5px solid oklch(40% 0.065 168 / 0.22); border-radius: 50%;
  pointer-events: none;
}
.hero-device::before {
  content: ""; position: absolute; inset: 19%;
  border: 1.5px solid oklch(40% 0.065 168 / 0.34); border-radius: 50%;
}
.hero-device::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 13%; height: 13%; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--gold);
}
.band--pine .hero-device { border-color: oklch(96% 0.012 150 / 0.18); }
.band--pine .hero-device::before { border-color: oklch(96% 0.012 150 / 0.3); }
@media (min-width: 880px) { .hero-device { display: block; } }

/* ---- the two studios --------------------------------------------- */
.studios { display: grid; gap: 18px; margin-top: 2.6rem; }
@media (min-width: 860px) { .studios { grid-template-columns: 1fr 1fr; } }
.studio {
  border-radius: 18px; padding: clamp(26px, 4vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.studio:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -30px oklch(20% 0.035 172 / 0.5);
}
.studio--paper:hover { border-color: oklch(40% 0.065 168 / 0.4); }
.studio--paper { background: var(--card); border: 1px solid var(--line); }
.studio--pine { background: var(--pine); color: var(--light); }
.studio .tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600; color: var(--pine);
}
.studio .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.studio--pine .tag { color: var(--light-soft); }
.studio h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; margin-top: 0.7rem; }
.studio p { margin-top: 0.7rem; color: var(--ink-soft); }
.studio--pine p { color: var(--light-soft); }
.studio .btn { margin-top: 1.6rem; }

/* generic two-up panels (AI Studio products, etc.) */
.panels { display: grid; gap: 18px; margin-top: 2.4rem; }
@media (min-width: 820px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel {
  border-radius: 18px; padding: clamp(24px, 3.6vw, 38px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.panel:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -30px oklch(20% 0.035 172 / 0.5); }
.panel--paper:hover { border-color: oklch(40% 0.065 168 / 0.4); }
.panel--pine { background: var(--pine); color: var(--light); }
.panel--pine h3 { color: inherit; }
.panel--pine p { color: var(--light-soft); }
.panel--paper { background: var(--card); border: 1px solid var(--line); }
.panel--paper p { color: var(--ink-soft); }
.panel .tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--pine); margin-bottom: 0.7rem;
}
.panel .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.panel--pine .tag { color: var(--light-soft); }
.panel h3 { margin-bottom: 0.5rem; }

/* ---- steps: numbered list, ruled, no boxes ------------------------ */
.steps { list-style: none; counter-reset: step; margin-top: 2.4rem; border-bottom: 1px solid var(--line); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 58px 1fr; gap: 4px 18px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-weight: 700; font-size: 1.35rem; color: var(--pine);
  letter-spacing: -0.02em; line-height: 1.3;
}
.steps h3 { margin-bottom: 0.3rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; max-width: 65ch; }

/* ---- feature columns: rule-topped, dot bullets, no boxes ---------- */
.fcols { display: grid; gap: 30px; margin-top: 2.6rem; }
@media (min-width: 860px) { .fcols { grid-template-columns: repeat(3, 1fr); } }
.fcol { border-top: 2px solid var(--pine); padding-top: 18px; }
.fcol .tag { font-size: 0.88rem; font-weight: 600; color: var(--pine); }
.fcol h3 { margin-top: 0.45rem; }
.fcol p { margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.97rem; }
.fcol ul { list-style: none; margin-top: 0.9rem; }
.fcol li {
  position: relative; padding-left: 19px; margin: 0.55rem 0;
  color: var(--ink-soft); font-size: 0.96rem;
}
.fcol li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

/* plain text blocks in a grid (jobs, principles) */
.blocks { display: grid; gap: 26px 36px; margin-top: 2.4rem; }
@media (min-width: 720px) { .blocks { grid-template-columns: 1fr 1fr; } }
.block { border-top: 1px solid var(--line); padding-top: 16px; }
.block h3 { margin-bottom: 0.4rem; }
.block p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---- qualification two-up ----------------------------------------- */
.qual { display: grid; gap: 36px; margin-top: 2.4rem; }
@media (min-width: 820px) { .qual { grid-template-columns: 1fr 1fr; gap: 56px; } }
.qual h3 { display: flex; align-items: center; gap: 10px; }
.qual .mark { font-weight: 700; color: var(--pine); }
.qual .mark.no { color: var(--ink-soft); }
.qual ul { list-style: none; margin-top: 1.1rem; }
.qual li {
  position: relative; padding-left: 20px; margin: 0.8rem 0;
  color: var(--ink-soft); font-size: 0.98rem;
}
.qual .yes li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.qual .no li::before {
  content: "\00d7"; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--ink-soft);
}

/* ---- proof band (honesty play) ------------------------------------ */
.proof { margin-top: 2.2rem; max-width: 62ch; }
.proof p + p { margin-top: 1rem; }
.proof .stat { font-weight: 700; color: var(--light); }
.proof .src { font-size: 0.82rem; color: var(--light-soft); }

/* ---- big CTA block ------------------------------------------------ */
.cta-block { text-align: center; }
.cta-block h2 { max-width: 21ch; margin: 0 auto; }
.cta-block .lead { margin: 1.2rem auto 0; }
.cta-block .actions { margin-top: 2.1rem; }
.cta-block .trust { margin-top: 1.1rem; font-size: 0.9rem; }

/* ---- FAQ / disclosure --------------------------------------------- */
.faq { margin-top: 1.6rem; max-width: 70ch; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
details summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; color: var(--pine); font-weight: 700; font-size: 1.35rem; line-height: 1; flex: none;
  transition: rotate 0.3s var(--ease);
}
details[open] summary::after { rotate: 45deg; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }
  details[open]::details-content { block-size: auto; }
}
details p { color: var(--ink-soft); padding-bottom: 18px; max-width: 65ch; }

/* ---- about / prose ------------------------------------------------ */
.prose { max-width: 62ch; }
.prose p { margin-top: 1.1rem; }
.prose p:first-child { margin-top: 0; }

/* ---- contact / get started ---------------------------------------- */
.gs-grid { display: grid; gap: 32px; margin-top: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .gs-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.gs-form label { display: block; font-weight: 600; font-size: 0.92rem; margin: 16px 0 6px; }
.gs-form input, .gs-form textarea, .gs-form select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--card); color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.gs-form input:focus, .gs-form textarea:focus, .gs-form select:focus { border-color: var(--pine); outline: none; }
.gs-form input:focus-visible, .gs-form textarea:focus-visible, .gs-form select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.gs-form textarea { min-height: 110px; resize: vertical; }
.gs-side { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; align-self: start; }
.gs-side ul { list-style: none; }
.gs-side li { padding: 13px 0; border-bottom: 1px solid oklch(40% 0.065 168 / 0.16); color: var(--ink-soft); font-size: 0.97rem; }
.gs-side li:last-child { border-bottom: 0; }
.gs-side li b { color: var(--ink); display: block; }

/* ---- footer -------------------------------------------------------- */
.site-footer { background: var(--pine-ink); color: var(--light-soft); padding: 60px 0 40px; }
.site-footer .cols { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: var(--light); }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: oklch(62% 0.02 160); margin-bottom: 12px; font-weight: 600;
  line-height: 1.3;
}
.site-footer .fnav a { display: block; padding: 6px 0; }
.site-footer .tagline { margin-top: 14px; max-width: 36ch; font-size: 0.95rem; }
.site-footer .legal {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid oklch(32% 0.04 170);
  font-size: 0.82rem; color: oklch(62% 0.02 160);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* =====================================================================
   Motion layer. Three tiers:
   1. Keyframes (everywhere): hero load choreography, mobile-menu stagger.
   2. IntersectionObserver reveals (everywhere, via site.js): html.motion
      gates the hidden initial state so nothing hides if JS never runs.
   3. Scroll-driven animations (progressive, Chromium now): parallax drift.
   Reveals animate `translate`/`opacity`; hovers animate `transform`, so
   the two never fight over the same property.
   ===================================================================== */

@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes fade-scale { from { opacity: 0; scale: 0.94; } }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.16; } }
@keyframes drift { to { translate: 0 80px; } }
@keyframes hero-lift { to { translate: 0 -48px; opacity: 0.35; } }

/* 1 ---- choreographed page load (hero only, so nothing below the fold
         can be caught hidden) */
.hero .kicker  { animation: rise 0.6s var(--ease) 0.05s backwards; }
.hero h1       { animation: rise 0.7s var(--ease) 0.14s backwards; }
.hero .lead    { animation: rise 0.7s var(--ease) 0.26s backwards; }
.hero .actions { animation: rise 0.7s var(--ease) 0.38s backwards; }
.hero .sub-cta { animation: rise 0.7s var(--ease) 0.5s backwards; }
.hero-device   { animation: fade-scale 1.2s var(--ease) 0.25s backwards; }
.hero-device::after { animation: breathe 4.5s ease-in-out 1.6s infinite; }

.mobile-menu:target .mm-link { animation: rise 0.45s var(--ease) backwards; }
.mobile-menu:target .mm-link:nth-of-type(2) { animation-delay: 0.05s; }
.mobile-menu:target .mm-link:nth-of-type(3) { animation-delay: 0.1s; }
.mobile-menu:target .mm-link:nth-of-type(4) { animation-delay: 0.15s; }
.mobile-menu:target .btn { animation: rise 0.45s var(--ease) 0.2s backwards; }

/* 2 ---- scroll reveals (site.js tags elements .rv and sections .seen) */
.motion .rv { opacity: 0; translate: 0 16px; transition: opacity 0.65s var(--ease), translate 0.65s var(--ease); }
.motion .seen .rv { opacity: 1; translate: none; }

/* 3 ---- scroll-driven parallax (progressive enhancement) */
@supports (animation-timeline: scroll()) {
  .hero .wrap {
    animation: hero-lift linear both;
    animation-timeline: scroll();
    animation-range: 0 120vh;
  }
  .hero-device {
    animation: fade-scale 1.2s var(--ease) 0.25s backwards, drift linear both;
    animation-timeline: auto, scroll();
    animation-range: normal, 0 130vh;
  }
}

/* ---- reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .motion .rv { opacity: 1; translate: none; }
}

/* ---- contact form: honeypot + status message ---------------------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.95rem; line-height: 1.5;
}
.form-status.is-ok  { background: var(--pine-tint); color: var(--pine-ink); border: 1px solid var(--pine); }
.form-status.is-err { background: oklch(93% 0.045 35); color: oklch(38% 0.13 28); border: 1px solid oklch(62% 0.17 28); }
