/* Judah's 3D Prints
   Identity: FDM layer lines. Graphite print-bed grounds, cream and hot
   filament orange. EPIC uses a condensed display face and chamfered frames;
   Standard uses one grotesque family and rounded frames. */

/* ------------------------------------------------------------------ tokens */
:root {
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-text);

  --hdr-x: 80px;
  --hdr-c: 60px;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --maxw: 84rem;
  --section: clamp(3.25rem, 6.5vw, 6.5rem);
  --measure: 62ch;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);

  --r-btn: 10px;
  --r-input: 10px;
  --r-panel: 18px;
  --r-frame: 16px;
  --cut: 0px;
}

@media (max-width: 759px) {
  :root { --hdr-x: 68px; --hdr-c: 56px; }
}

html[data-variant="epic"] {
  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --r-btn: 3px;
  --r-input: 3px;
  --r-panel: 4px;
  --r-frame: 0px;
  --cut: 20px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #14181C;
  --surface: #1C2227;
  --surface-2: #242B31;
  --ink: #F1E9DC;
  --ink-soft: #B9B2A6;
  --accent: #FF8A2A;
  --accent-hover: #FFA14F;
  --accent-ink: #1A1208;
  --accent-text: #FF9A45;
  --accent-deco: #FF8A2A;
  --line: rgba(241, 233, 220, 0.13);
  --line-ctl: rgba(241, 233, 220, 0.55);
  --focus: #FFB067;
  --shadow: rgba(4, 6, 8, 0.55);
  --error: #FF7A6B;
  --error-text: #FFA699;

  --sb-track: #1A1F24;
  --sb-edge: rgba(241, 233, 220, 0.10);
  --sb-thumb: #C8732E;
  --sb-thumb-hover: #FF8A2A;
  --sb-thumb-active: #FFB067;

  --chatbot-color: #FF8A2A;
  --chatbot-on-color: #1A1208;
  --chatbot-background: #14181C;
  --chatbot-surface: #1C2227;
  --chatbot-text: #F1E9DC;
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #EEF0F0;
  --surface: #FAFAF9;
  --surface-2: #E1E5E6;
  --ink: #161B20;
  --ink-soft: #48515A;
  --accent: #B04A00;
  --accent-hover: #923D00;
  --accent-ink: #FFFFFF;
  --accent-text: #A84600;
  --accent-deco: #D9650D;
  --line: rgba(22, 27, 32, 0.13);
  --line-ctl: rgba(22, 27, 32, 0.55);
  --focus: #A84600;
  --shadow: rgba(30, 38, 46, 0.18);
  --error: #B3261E;
  --error-text: #A3251B;

  --sb-track: #DCE0E2;
  --sb-edge: rgba(22, 27, 32, 0.12);
  --sb-thumb: #B04A00;
  --sb-thumb-hover: #8F3C00;
  --sb-thumb-active: #6E2E00;

  --chatbot-color: #B04A00;
  --chatbot-on-color: #FFFFFF;
  --chatbot-background: #EEF0F0;
  --chatbot-surface: #FAFAF9;
  --chatbot-text: #161B20;
}

/* Standard keeps a restrained slate scrollbar thumb. */
html[data-variant="standard"][data-theme="dark"] {
  --sb-thumb: #6E7780;
  --sb-thumb-hover: #8C959E;
  --sb-thumb-active: #FF8A2A;
}
html[data-variant="standard"][data-theme="light"] {
  --sb-thumb: #6A737C;
  --sb-thumb-hover: #4F5861;
  --sb-thumb-active: #B04A00;
}

:root {
  --chatbot-font: var(--font-text);
  --chatbot-radius: 12px;
}
html[data-variant="epic"] { --chatbot-radius: 4px; }

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--canvas);
  scroll-padding-top: calc(var(--hdr-x) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Light type on dark grounds gets a touch more tracking. */
html[data-theme="dark"] body { letter-spacing: 0.006em; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
main p a, .site-footer a, .close-direct a { text-decoration-color: var(--accent-deco); }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }
:root { caret-color: var(--accent); accent-color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

main { display: block; padding-top: var(--hdr-x); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--section); }
.sec p { max-width: var(--measure); }

.visually-hidden {
  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: fixed; left: 1rem; top: -5rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.75rem 1.1rem; font-weight: 700; text-decoration: none; border-radius: var(--r-btn);
}
.skip:focus { top: 1rem; }

/* --------------------------------------------------------------- scrollbar
   Designed native scrollbar (replaces Follow-Me / Section Signal). Chromium
   and WebKit get the full finish; Firefox gets scrollbar-color only, inside a
   guard so it never suppresses the pseudo-element styling. */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track {
  background: var(--sb-track);
  box-shadow: inset 1px 0 0 var(--sb-edge), inset 0 1px 0 var(--sb-edge);
}
::-webkit-scrollbar-thumb {
  background-color: var(--sb-thumb);
  border: 4px solid var(--sb-track);
  border-radius: 9px;
  background-clip: padding-box;
  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: 3px; }
::-webkit-scrollbar-corner { background: var(--sb-track); }

/* EPIC: the thumb carries printed layer striations and a lit top lip. */
html[data-variant="epic"] ::-webkit-scrollbar-thumb {
  border-width: 3px;
  border-radius: 3px;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px),
    repeating-linear-gradient(to bottom, rgba(20, 24, 28, 0.32) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 0 1px rgba(20, 24, 28, 0.35);
}
html[data-variant="epic"] ::-webkit-scrollbar-thumb:active { border-width: 2px; }

@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--sb-thumb) var(--sb-track); }
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.3rem;
  font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--r-btn);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0.85rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-ctl); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-deco); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; }
html[data-variant="epic"] .btn { font-weight: 700; letter-spacing: 0.01em; }

.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border: 1.5px solid var(--line-ctl); border-radius: var(--r-btn);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.icon-btn:hover { border-color: var(--accent-deco); }
.icon-btn:active { transform: translateY(1px); }
html[data-theme="dark"] .i-moon, html[data-theme="light"] .i-sun { display: none; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 650; color: var(--accent-text);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.28em;
}
.text-link:hover { text-decoration-thickness: 2.5px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr-x);
  background: color-mix(in srgb, var(--canvas) 95%, transparent);
  transition: height 260ms var(--ease), background-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.site-header.is-compact {
  height: var(--hdr-c);
  background: var(--surface);
  box-shadow: 0 6px 18px -10px var(--shadow);
}
.hdr-in { height: 100%; display: flex; align-items: center; gap: 1.25rem; }

.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em;
  transform-origin: left center;
  transition: transform 260ms var(--ease);
}
html[data-variant="epic"] .brand { font-size: 1.65rem; letter-spacing: 0.015em; text-transform: uppercase; }
.is-compact .brand { transform: scale(0.9); }

.nav-desk { margin-left: auto; display: none; }
.nav-desk ul { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 0.8rem; text-decoration: none; font-weight: 550; color: var(--ink-soft);
  transition: color 160ms var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 6px; height: 2px;
  background: var(--accent-deco);
}
/* EPIC active state: two printed layers. */
html[data-variant="epic"] .nav-link[aria-current="page"]::after {
  height: 4px;
  background: repeating-linear-gradient(to bottom, var(--accent-deco) 0 1px, transparent 1px 3px);
}

.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.hdr-cta { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 44px; min-width: 44px; padding: 0 0.9rem;
  border: 1.5px solid var(--line-ctl); border-radius: var(--r-btn);
  background: transparent; color: var(--ink); cursor: pointer; font-weight: 650;
}
.menu-btn:hover { border-color: var(--accent-deco); }
.menu-btn-bars { display: grid; gap: 4px; width: 18px; }
.menu-btn-bars i { display: block; height: 2px; background: currentColor; transition: transform 200ms var(--ease), opacity 160ms; }
.menu-btn-bars i:nth-child(2) { width: 78%; }
.menu-btn-bars i:nth-child(3) { width: 56%; }
.menu-btn[aria-expanded="true"] .menu-btn-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-bars i:nth-child(3) { width: 100%; transform: translateY(-6px) rotate(-45deg); }

.hdr-edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  pointer-events: none; opacity: 0; transition: opacity 260ms var(--ease);
  background: var(--line);
}
.is-compact .hdr-edge { opacity: 1; }
html[data-variant="epic"] .hdr-edge {
  height: 5px;
  background: linear-gradient(to bottom,
    var(--accent-deco) 0 1px, transparent 1px 2px,
    color-mix(in srgb, var(--accent-deco) 55%, transparent) 2px 3px, transparent 3px 4px,
    color-mix(in srgb, var(--accent-deco) 25%, transparent) 4px 5px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

@media (min-width: 640px) {
  .hdr-cta { display: inline-flex; min-height: 44px; padding: 0.55rem 1.1rem; }
}
@media (min-width: 1100px) {
  .nav-desk { display: block; }
  .hdr-actions { margin-left: 0; }
  .menu-btn { display: none; }
}
@media (max-width: 399px) {
  .menu-btn { padding: 0; justify-content: center; }
  .menu-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand { font-size: 1.05rem; }
  html[data-variant="epic"] .brand { font-size: 1.4rem; }
}

/* Mobile menu sits under the header; the header stays frozen while open. */
.site-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--canvas);
  padding-top: calc(var(--hdr-x) + 0.75rem);
  overflow-y: auto; overscroll-behavior: contain;
}
.site-menu[hidden] { display: none; }
.menu-in { padding-bottom: 7rem; }
.menu-links { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.menu-link {
  display: flex; align-items: center; min-height: 58px;
  font-size: 1.5rem; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
html[data-variant="epic"] .menu-link { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; text-transform: uppercase; letter-spacing: 0.01em; }
.menu-link[aria-current="page"] { color: var(--accent-text); }
.menu-direct { margin: 1.75rem 0 0; color: var(--ink-soft); line-height: 2.4; }
html.menu-open { overflow: hidden; }

/* ----------------------------------------------------------------- pattern
   Layer lines: one reusable striation, varied by scale, density and crop. */
.layers {
  pointer-events: none;
  --gap: 5px;
  background-image: repeating-linear-gradient(to bottom, var(--accent-deco) 0 1px, transparent 1px var(--gap));
}
html[data-variant="standard"] .layers,
html[data-variant="standard"] .layer-rule { display: none; }

.layers--plate {
  position: absolute; right: var(--gutter); bottom: 0; z-index: 2;
  width: min(54vw, 46rem); height: 22px; --gap: 4px; opacity: 0.8;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
  mask-image: linear-gradient(to right, transparent, #000 35%);
}
.layer-rule {
  height: 5px; opacity: 0.7; transform-origin: left center;
  background: repeating-linear-gradient(to bottom, var(--accent-deco) 0 1px, transparent 1px 2px);
  -webkit-mask-image: linear-gradient(to right, #000 60%, transparent);
  mask-image: linear-gradient(to right, #000 60%, transparent);
}

/* --------------------------------------------------------------------- type */
.h-xl, .h-lg, .h-md, .phead-title, .close-title, .hero-title, .fz-title, .row-title, .step-title, .principle-title {
  font-family: var(--font-display);
  margin: 0;
}
.h-xl { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 1.1rem; }
.h-lg { font-weight: 750; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 1rem; }
.h-md { font-weight: 700; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 0.75rem; }
html[data-variant="epic"] .h-xl { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6rem); line-height: 0.9; letter-spacing: -0.005em; }
html[data-variant="epic"] .h-lg { font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.5rem); line-height: 0.92; letter-spacing: 0; }
html[data-variant="epic"] .h-md { font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1; letter-spacing: 0.005em; }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 40rem; margin: 0; }
.lead-sm { font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; margin: 0; }

.mask { display: block; }

/* ------------------------------------------------------------------- frames */
.frame { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-frame); }
.frame img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
html[data-variant="epic"] .frame {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

/* ------------------------------------------------------------------- heroes */
.hero { position: relative; }

/* EPIC: full-bleed photograph, copy anchored lower left. Colours are fixed
   to the photo, not the page theme. */
.hero-e {
  --ink: #F1E9DC; --ink-soft: #DDD4C7;
  --accent: #FF8A2A; --accent-hover: #FFA14F; --accent-ink: #1A1208;
  --accent-deco: #FF8A2A; --line-ctl: rgba(241, 233, 220, 0.62); --focus: #FFB067;
  color: var(--ink);
  min-height: clamp(34rem, calc(100svh - var(--hdr-x)), 60rem);
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
  background: #14181C;
}
.hero-e .hero-media {
  position: absolute; inset: -6% 0; z-index: -2;
  transform: translate3d(0, calc(var(--hero-p, 0) * 7%), 0);
}
.hero-e .hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 17, 20, 0.9) 0%, rgba(14, 17, 20, 0.7) 32%, rgba(14, 17, 20, 0.14) 60%, transparent 74%),
    linear-gradient(0deg, rgba(14, 17, 20, 0.72) 0%, transparent 38%);
}
.hero-e .hero-copy { position: relative; padding-block: clamp(3rem, 9vh, 6.5rem); }
.hero-e .hero-title {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.4rem, 1.4rem + 9.5vw, 10.5rem);
  line-height: 0.86; letter-spacing: 0;
  margin: 0 0 1.5rem;
}
.hero-title .ln { display: block; }
.hero-e .hero-lead { max-width: 34rem; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 759px) {
  .hero-e { min-height: clamp(32rem, calc(100svh - var(--hdr-x)), 52rem); }
  .hero-e .hero-img { object-position: 62% 30%; }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(14, 17, 20, 0.95) 0%, rgba(14, 17, 20, 0.84) 40%, rgba(14, 17, 20, 0.22) 66%, transparent 82%);
  }
  .hero-e .hero-copy { padding-block: 2.5rem 2.25rem; }
  .hero-actions .btn { flex: 1 1 14rem; }
}

/* Standard: split composition on the page ground. */
.hero-s { padding-block: clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); }
.hero-s .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-s .hero-title { font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 4vw, 5.25rem); line-height: 1; letter-spacing: -0.035em; margin: 0 0 1.25rem; }
.hero-s .hero-lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; margin: 0 0 2rem; }
.hero-s .hero-figure img { aspect-ratio: 4 / 3; }
@media (max-width: 859px) {
  .hero-s .hero-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- home: start */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
  display: grid; grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 1.25fr); gap: 0.5rem 1.75rem;
  padding: 1.35rem 0; border-top: 1px solid var(--line);
}
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows p { margin: 0; color: var(--ink-soft); }
.row-title { font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
html[data-variant="epic"] .rows li {
  border-top: 0;
  background:
    linear-gradient(var(--accent-deco), var(--accent-deco)) top left / 2.75rem 2px no-repeat,
    linear-gradient(var(--line), var(--line)) top / 100% 1px no-repeat;
}
html[data-variant="epic"] .row-title { font-weight: 800; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }

.start-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.start-note { color: var(--ink-soft); margin: 0; max-width: 28rem; }
.start-s .start-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 859px) {
  .start-grid, .start-s .start-grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .rows li { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------- Focus Zone
   Default (no JS, reduced motion, failed init): every state with its photo in
   normal flow. .fz-live is added by site.js and turns the same markup into a
   bounded sticky stage driven by native document scrolling. */
.fz { padding-top: var(--section); padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.fz-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.fz-intro { color: var(--ink-soft); margin: 0; }

.fz-steps { display: none; }
.fz-nozzle { display: none; }

.fz-state {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.fz-state + .fz-state { margin-top: clamp(2.5rem, 6vw, 5rem); }
.fz:not(.fz-live) .fz-state:nth-child(even) .fz-frame { order: 2; }

.fz-frame { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-frame); aspect-ratio: 4 / 3; }
html[data-variant="epic"] .fz-frame {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.fz-fig { position: absolute; inset: 0; }
.fz-fig img { width: 100%; height: 100%; object-fit: cover; }

.fz-num { margin: 0 0 0.35rem; color: var(--accent-text); font-weight: 650; font-size: 0.95rem; }
.fz-title { font-weight: 750; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 0.85rem; }
html[data-variant="epic"] .fz-title { font-weight: 800; font-size: clamp(2.8rem, 1.8rem + 3.4vw, 5.5rem); line-height: 0.88; text-transform: uppercase; letter-spacing: 0.005em; }
.fz-text { margin: 0; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); line-height: 1.6; max-width: 32rem; }

@media (max-width: 759px) {
  .fz-state { grid-template-columns: 1fr; gap: 1.1rem; }
  .fz:not(.fz-live) .fz-state:nth-child(even) .fz-frame { order: 0; }
}

/* live stage */
.fz-live .fz-track {
  --stage-h: min(calc(100svh - var(--hdr-c) - 2.5rem), 52rem);
  --step: 72svh;
  position: relative;
  height: calc(var(--stage-h) + (var(--n) - 1) * var(--step));
}
.fz-live .fz-stage {
  position: sticky; top: calc(var(--hdr-c) + 1.25rem);
  height: var(--stage-h);
  display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1.25rem;
  isolation: isolate;
}
.fz-live .fz-steps {
  display: flex; gap: 0.75rem; list-style: none; margin: 0; padding: 0;
}
.fz-steps li { flex: 1 1 0; min-width: 0; font-weight: 650; font-size: 0.95rem; color: var(--ink-soft); transition: color 300ms var(--ease); }
.fz-steps li.is-on { color: var(--ink); }
.fz-bar { position: relative; display: block; height: 4px; margin-bottom: 0.45rem; background: var(--line); overflow: hidden; border-radius: 2px; }
.fz-bar::after {
  content: ""; position: absolute; inset: 0; background: var(--accent-deco);
  transform: scaleX(0); transform-origin: left center; transition: transform 500ms var(--ease);
}
.fz-steps li.is-on .fz-bar::after { transform: scaleX(1); }
html[data-variant="epic"] .fz-bar { height: 7px; border-radius: 0; background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 3px); }
html[data-variant="epic"] .fz-bar::after { background: repeating-linear-gradient(to bottom, var(--accent-deco) 0 1px, transparent 1px 3px); transition-timing-function: steps(8, end); }

.fz-live .fz-states { display: grid; min-height: 0; }
.fz-live .fz-state {
  grid-area: 1 / 1; margin: 0; min-height: 0; height: 100%;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  pointer-events: none;
}
.fz-live .fz-state.is-active { pointer-events: auto; }
.fz-live .fz-frame { aspect-ratio: auto; height: 100%; min-height: 0; }
.fz-live .fz-copy {
  align-self: center;
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 380ms var(--ease), transform 600ms var(--ease);
}
.fz-live .fz-state.is-active .fz-copy { opacity: 1; transform: none; transition-delay: 120ms; }

/* EPIC signature: each photo prints onto the stage in stepped layers from
   the bed up, over the previous photo, with a nozzle line riding the edge.
   Reverse scroll un-builds it. */
.fz-e.fz-live .fz-fig { clip-path: inset(100% 0 0 0); transition: clip-path 760ms steps(12, end); }
.fz-e.fz-live .fz-state.is-built .fz-fig { clip-path: inset(0 0 0 0); }
.fz-e.fz-live .fz-nozzle { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fz-e.fz-live .fz-nozzle i {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  border-top: 2px solid #FFB067;
  box-shadow: inset 0 1px 0 rgba(255, 176, 103, 0.35);
  transform: translateY(100%); opacity: 0;
}
.fz-e.fz-live .fz-state.is-printing .fz-nozzle i { animation: fz-nozzle 760ms steps(12, end) both; }
@keyframes fz-nozzle {
  0% { transform: translateY(100%); opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
.fz-e.fz-live .fz-fig img { transform: scale(calc(1.06 - var(--fz-p, 0) * 0.06)); }

/* Standard: crossfade over the photo held underneath. */
.fz-s.fz-live .fz-fig { opacity: 0; transition: opacity 600ms var(--ease); }
.fz-s.fz-live .fz-state.is-built .fz-fig { opacity: 1; }

@media (max-width: 759px) {
  .fz-live .fz-track { --stage-h: calc(100svh - var(--hdr-c) - 1.25rem); --step: 50svh; }
  .fz-live .fz-stage { top: calc(var(--hdr-c) + 0.625rem); gap: 0.75rem; }
  .fz-live .fz-state { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 0.85rem; }
  .fz-live .fz-copy { align-self: start; min-height: 9.5rem; }
  .fz-live .fz-title { margin-bottom: 0.5rem; }
  html[data-variant="epic"] .fz-live .fz-title { font-size: clamp(2.2rem, 1.6rem + 3vw, 3rem); }
  .fz-live .fz-text { font-size: 0.98rem; line-height: 1.55; }
  .fz-live .fz-num { font-size: 0.88rem; margin-bottom: 0.2rem; }
  .fz-steps li { font-size: 0.85rem; }
}

/* ----------------------------------------------------------- home: band */
.band-e { padding-block: var(--section); }
.band-e .band-media {
  position: relative; overflow: hidden;
  height: clamp(22rem, 50vw, 42rem);
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}
.band-e .band-img {
  position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover;
  transform: translate3d(0, calc(var(--par, 0) * -8%), 0);
}
.band-e .band-panel {
  position: relative; z-index: 1;
  margin-top: clamp(-9rem, -10vw, -3rem);
  max-width: 40rem; padding: clamp(1.5rem, 3.5vw, 3rem);
  background: var(--surface);
  box-shadow: 0 18px 40px -18px var(--shadow);
}
.band-e .band-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: repeating-linear-gradient(to bottom, var(--accent-deco) 0 1px, transparent 1px 2px);
}
.band-panel p, .band-copy p { color: var(--ink-soft); margin: 0 0 0.75rem; }

.band-s .band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 859px) {
  .band-s .band-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- close */
.close-e {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--section);
  background: var(--surface);
}
.layers--close {
  position: absolute; right: 0; top: 0; bottom: 0; width: 44%; z-index: -1;
  --gap: 11px; opacity: 0.45;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent);
  mask-image: linear-gradient(to left, #000 25%, transparent);
}
.close-title { font-weight: 800; font-size: clamp(3rem, 1.6rem + 6vw, 8rem); line-height: 0.88; max-width: 12ch; margin: 0 0 1.5rem; text-transform: uppercase; }
.close-text { max-width: 36rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-soft); margin: 0 0 2rem; }
.close-actions { margin-bottom: 1.25rem; }
.close-direct { color: var(--ink-soft); margin: 0; }
.close-direct a { color: var(--ink); }
@media (max-width: 759px) {
  .layers--close { width: 100%; top: 0; bottom: auto; height: 3rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
}

.close-s { padding-block: var(--section); }
.close-panel {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: end;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: clamp(1.75rem, 4vw, 3.5rem);
}
.close-panel .close-text { margin: 0; }
.close-side { display: grid; gap: 1rem; justify-items: start; }
@media (max-width: 859px) {
  .close-panel { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ page heads */
.phead { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 6rem); }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.phead-title { font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 1.25rem; }
html[data-variant="epic"] .phead-title { font-size: clamp(3.2rem, 1.8rem + 6vw, 8.5rem); line-height: 0.86; letter-spacing: 0; text-transform: uppercase; }
.phead-s .phead-grid { align-items: center; }
@media (max-width: 859px) {
  .phead-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- offerings */
.split-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-rev .split-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
@media (max-width: 859px) {
  .split-grid, .split-rev .split-grid { grid-template-columns: 1fr; }
  .split-rev .split-fig { order: 2; }
}

.talk-list { margin: 0; display: grid; gap: 0; }
.talk-item { display: grid; grid-template-columns: minmax(8rem, 0.6fr) minmax(0, 1.4fr); gap: 0.5rem 2rem; align-items: baseline; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.talk-item:last-child { border-bottom: 1px solid var(--line); }
.talk-item dt { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.talk-item dd { margin: 0; color: var(--ink-soft); }
html[data-variant="epic"] .talk-item dt { font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 3vw, 5rem); line-height: 0.9; text-transform: uppercase; color: var(--accent-text); }
html[data-variant="epic"] .talk-item dd { font-size: 1.15rem; }
@media (max-width: 559px) {
  .talk-item { grid-template-columns: 1fr; }
}

.price-in { max-width: 46rem; }
.price-in p { color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------------ about */
.principle-list { list-style: none; margin: 0; padding: 0; counter-reset: principle; }
.principle-list li {
  counter-increment: principle;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.75rem 2.5rem;
  padding: 1.75rem 0; border-top: 1px solid var(--line);
}
.principle-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-title { font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.principle-title::before { content: counter(principle) ". "; color: var(--accent-text); }
.principle-list p { margin: 0; color: var(--ink-soft); }
html[data-variant="epic"] .principle-title { font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem); line-height: 0.95; text-transform: uppercase; }
html[data-variant="epic"] .principle-title::before { content: counter(principle); display: block; font-size: 0.55em; margin-bottom: 0.3rem; }
@media (max-width: 759px) {
  .principle-list li { grid-template-columns: 1fr; }
}

.who-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.who-copy p { color: var(--ink-soft); margin: 0; font-size: 1.15rem; }
@media (max-width: 859px) {
  .who-grid { grid-template-columns: 1fr; }
}

.direct-in { max-width: 46rem; }
.direct-list, .channel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.direct-list li, .channel-list li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: 1rem; min-height: 52px; border-bottom: 1px solid var(--line); }
.direct-label { color: var(--ink-soft); font-size: 0.95rem; }
.direct-list a, .channel { font-weight: 650; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------------------------------------------ visit */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.step:nth-child(odd) .step-fig { order: -1; }
.step-noimg { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.step-num { margin: 0 0 0.5rem; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
html[data-variant="epic"] .step-num { width: auto; height: auto; background: none; border-radius: 0; color: var(--accent-text); font-family: var(--font-display); font-size: clamp(4rem, 3rem + 3vw, 7rem); line-height: 0.8; }
.step-title { font-weight: 750; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; margin: 0 0 0.75rem; }
html[data-variant="epic"] .step-title { font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 4rem); text-transform: uppercase; line-height: 0.9; }
.step-copy p { margin: 0; color: var(--ink-soft); }
@media (max-width: 859px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(odd) .step-fig { order: 0; }
}

.include-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.include-list { list-style: none; margin: 0; padding: 0; }
.include-list li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--line); }
.include-list li:last-child { border-bottom: 1px solid var(--line); }
.include-list li::before { content: ""; position: absolute; left: 0.2rem; top: 1.5rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent-deco); }
html[data-variant="epic"] .include-list li::before { border-radius: 0; height: 5px; width: 1rem; top: 1.45rem; background: repeating-linear-gradient(to bottom, var(--accent-deco) 0 1px, transparent 1px 2px); }
@media (max-width: 859px) {
  .include-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- contact */
.contact { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) var(--section); }
.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "copy form" "fig form";
  align-items: start;
}
.contact-copy { grid-area: copy; }
.contact-form { grid-area: form; }
.contact-fig { grid-area: fig; }
.contact-copy .lead { margin-bottom: 1.75rem; }
.layers--contact {
  position: absolute; top: 0; right: 0; width: 40%; height: 26px; --gap: 4px; opacity: 0.75;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%);
  mask-image: linear-gradient(to right, transparent, #000 40%);
}
@media (max-width: 859px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "fig"; }
}

/* ------------------------------------------------------------------- form */
.inquiry, .form-success, .form-unavailable {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.form-success:focus { outline: 2px solid var(--focus); outline-offset: 3px; }
.form-success p, .form-unavailable p { margin: 0 0 0.75rem; color: var(--ink-soft); }
.field { margin-top: 1.25rem; }
.field > label, .field > legend { display: block; font-weight: 650; margin-bottom: 0.45rem; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  display: block; width: 100%; min-height: 48px;
  padding: 0.75rem 0.9rem;
  background: var(--canvas); color: var(--ink);
  border: 1.5px solid var(--line-ctl); border-radius: var(--r-input);
  transition: border-color 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin: 0.45rem 0 0; color: var(--ink-soft); font-size: 0.93rem; }
.field-error { margin: 0.45rem 0 0; color: var(--error-text); font-size: 0.95rem; font-weight: 600; }
.field-error[hidden] { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.choice {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 44px; padding: 0 1rem; margin: 0;
  border: 1.5px solid var(--line-ctl); border-radius: var(--r-input);
  font-weight: 550; cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.choice input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { margin: 0; color: var(--ink-soft); }
.form-status.is-error { color: var(--error-text); font-weight: 600; }
.form-banner {
  margin: 1rem 0 0; padding: 0.85rem 1rem;
  border: 1.5px solid var(--error); border-radius: var(--r-input);
  background: color-mix(in srgb, var(--error) 10%, transparent);
}
.form-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: 0.92rem; }
[data-submit][aria-busy="true"] { cursor: progress; }

/* ----------------------------------------------------------------- footer */
.site-footer { position: relative; background: var(--surface); padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line); }
html[data-variant="epic"] .site-footer { border-top: 0; }
.layers--footer { position: absolute; left: 0; right: 0; top: 0; height: 18px; --gap: 4px; opacity: 0.6; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.foot-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin: 0 0 0.4rem; }
html[data-variant="epic"] .foot-name { font-size: 2.2rem; text-transform: uppercase; line-height: 1; }
.foot-line { color: var(--ink-soft); margin: 0; max-width: 24rem; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-link { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--ink-soft); }
.foot-link:hover, .foot-link[aria-current="page"] { color: var(--ink); }
.foot-contact p { margin: 0; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; }
.foot-cta { font-weight: 650; color: var(--accent-text); }
.foot-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.92rem; }
.foot-base p { margin: 0; }
@media (max-width: 759px) {
  .foot-in { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 6.5rem; }
}

.notfound { min-height: 50vh; }

/* ------------------------------------------------------------------ motion
   Nothing is hidden unless the head script set .motion-ok (motion allowed)
   and site.js will reveal it. A 3s fail-safe removes .motion-ok if the
   runtime never reports ready. */

/* EPIC hero: headline lines build up in printed layers, photo pushes in. */
.motion-ok .hero-e .hero-img { animation: hero-push 1.6s var(--ease) both; }
.motion-ok .hero-e .hero-title .ln { animation: layer-build 900ms steps(9, end) backwards; }
.motion-ok .hero-e .hero-title .ln:nth-child(2) { animation-delay: 180ms; }
.motion-ok .hero-e .hero-lead { animation: soft-rise 700ms var(--ease) 420ms backwards; }
@keyframes hero-push { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes layer-build { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes soft-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

/* Standard hero: short rise and a gentle photo settle. */
.motion-ok .hero-s .hero-title { animation: std-rise 600ms var(--ease) backwards; }
.motion-ok .hero-s .hero-lead { animation: std-rise 600ms var(--ease) 90ms backwards; }
.motion-ok .hero-s .hero-figure img { animation: std-settle 900ms var(--ease) backwards; }
@keyframes std-rise { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes std-settle { from { opacity: 0.4; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* Entrance groups */
.motion-ok [data-in="rise"] { transition: opacity 650ms var(--ease), transform 700ms var(--ease); }
.motion-ok [data-in="rise"]:not(.is-in) { opacity: 0; transform: translate3d(0, 36px, 0); }
html[data-variant="standard"].motion-ok [data-in="rise"]:not(.is-in) { transform: translate3d(0, 20px, 0); }

[data-in="mask"] .mask { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-in="mask"] .mask > span { display: block; }
.motion-ok [data-in="mask"] .mask > span { transition: transform 850ms var(--ease); }
.motion-ok [data-in="mask"]:not(.is-in) .mask > span { transform: translate3d(0, 105%, 0); }

.motion-ok [data-in="rows"] > * { transition: opacity 600ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.motion-ok [data-in="rows"]:not(.is-in) > * { opacity: 0; transform: translate3d(0, 32px, 0); }
html[data-variant="standard"].motion-ok [data-in="rows"] > * { transition-delay: calc(var(--i, 0) * 70ms); }
html[data-variant="standard"].motion-ok [data-in="rows"]:not(.is-in) > * { transform: translate3d(0, 18px, 0); }

.motion-ok [data-in="crop"] img { transition: clip-path 900ms var(--ease), transform 1100ms var(--ease); }
.motion-ok [data-in="crop"]:not(.is-in) img { clip-path: inset(14% 10% 14% 10%); transform: scale(1.12); }

.motion-ok [data-in="draw"] { transition: transform 800ms var(--ease); }
.motion-ok [data-in="draw"]:not(.is-in) { transform: scaleX(0); }

@media (max-width: 759px) {
  .motion-ok [data-in="rise"]:not(.is-in) { transform: translate3d(0, 24px, 0); }
  .motion-ok [data-in="rows"]:not(.is-in) > * { transform: translate3d(0, 22px, 0); }
  .motion-ok [data-in="rows"] > * { transition-delay: calc(var(--i, 0) * 80ms); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .brand, .hdr-edge { transition-duration: 120ms; }
  .hero-e .hero-media { transform: none; }
  .band-e .band-img { transform: none; }
}
