/* =========================================================================
   Stegnor — theme
   Layout + motion language modelled on the studio reference; every colour
   comes from the Stegnor palette (bone / forest / olive / gold / sage).
   ========================================================================= */

/* Type system 2026-11-17: exactly two families, both licensed from Envato Elements (web fonts included in the items):
   Soliver (Say Studio) for headings, Matimo (Yukita Creative) for text. Files served as delivered, not subset or modified.
   Licence 12c: the site must not let visitors make their own text in these fonts, so tool inputs/outputs use --font-system. */
@font-face { font-family: "Soliver"; src: url("/assets/fonts/soliver-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Matimo"; src: url("/assets/fonts/matimo-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Matimo"; src: url("/assets/fonts/matimo-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* metric-matched fallbacks: text keeps its size and line breaks while the web fonts load (no layout shift) */
@font-face { font-family: "Matimo Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 99.16%; ascent-override: 95.81%; descent-override: 40.34%; line-gap-override: 0%; }
@font-face { font-family: "Matimo Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); size-adjust: 96.73%; ascent-override: 98.21%; descent-override: 41.35%; line-gap-override: 0%; }
@font-face { font-family: "Soliver Fallback"; src: local("Georgia"); size-adjust: 98.53%; ascent-override: 76.12%; descent-override: 25.37%; line-gap-override: 10.15%; }

:root {
  /* Stegnor palette */
  --bg: #faf8f3;
  --paper: #ffffff;
  --paper-2: #f6f3ec;
  --paper-3: #efe9dc;
  --ink: #20271b;
  --ink-deep: #161c13;
  --olive: #333d29;
  --olive-2: #46533a;
  --text: #3a4233;
  --muted: #5b6152;
  --line: rgba(32, 39, 27, 0.1);
  --line-strong: rgba(32, 39, 27, 0.17);
  --gold: #a68a64;
  --gold-ink: #7a6040;
  --gold-hi: #cdb48d;
  --gold-soft: #e9dfcd;
  --gold-wash: rgba(166, 138, 100, 0.13);
  --sage: #b9cfb0;
  --green: #3f7a37;
  --sage-wash: rgba(185, 207, 176, 0.32);
  --on-dark: #f3f0e6;
  --on-dark-muted: rgba(243, 240, 230, 0.68);
  --on-dark-faint: rgba(243, 240, 230, 0.42);
  --on-dark-line: rgba(243, 240, 230, 0.12);

  --grad: linear-gradient(118deg, #333d29 0%, #5b5a3c 38%, #7a6040 70%, #a68a64 100%);
  --grad-text: linear-gradient(100deg, #46533a 0%, #5f5a3b 45%, #7a6040 100%);   /* end darkened 2026-11-08: #a68a64 on #faf8f3 was 2.7:1 */
  --grad-light: linear-gradient(100deg, #f3f0e6 0%, #cdb48d 55%, #b9cfb0 100%);
  --grad-soft: linear-gradient(118deg, rgba(51, 61, 41, 0.08), rgba(166, 138, 100, 0.12) 50%, rgba(185, 207, 176, 0.18));
  --dark-panel: radial-gradient(circle at 50% 30%, rgba(166, 138, 100, 0.28), transparent 55%), radial-gradient(circle at 85% 90%, rgba(185, 207, 176, 0.16), transparent 45%), linear-gradient(155deg, #1d2419 0%, #20271b 45%, #161c13 100%);

  --shadow-card: 0 18px 44px rgba(32, 39, 27, 0.08);
  --shadow-lift: 0 30px 70px rgba(32, 39, 27, 0.13);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.9);

  /* ---- fonts ---- */
  --font-head: "Soliver", "Soliver Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Matimo", "Matimo Fallback", Arial, Helvetica, sans-serif;
  --font-system: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;   /* visitor-typed text in the free tools */
  --font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;            /* code samples and JSON only */
  --display: var(--font-head);   /* old names kept as aliases */
  --sans: var(--font-body);
  --mono: var(--font-body);
  --fw-head: 500;
  --fw-body: 400;
  --fw-strong: 600;

  /* ---- type scale: one size per role, each with its own line-height and tracking ---- */
  --fs-display: clamp(2.75rem, 1.55rem + 4.2vw, 5rem);       --lh-display: 1.05;  --ls-display: -0.02em;   /* 44 -> 80 */
  --fs-h1: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem);          --lh-h1: 1.05;       --ls-h1: -0.015em;       /* 36 -> 60 */
  --fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);         --lh-h2: 1.1;        --ls-h2: -0.01em;        /* 30 -> 44 */
  --fs-h3: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);         --lh-h3: 1.25;       --ls-h3: -0.005em;       /* 20 -> 24 */
  --fs-body-lg: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);  --lh-body-lg: 1.55;                           /* 18 -> 20 */
  --fs-body: 1.0625rem;                                      --lh-body: 1.65;                              /* 17 */
  --fs-small: 0.9375rem;                                     --lh-small: 1.5;                              /* 15 */
  --fs-caption: 0.8125rem;                                   --lh-caption: 1.4;   --ls-caps: 0.08em;       /* 13; caps labels only */
  --fs-mega: clamp(4.5rem, 12vw, 12rem);                     --lh-mega: 0.85;     --ls-mega: -0.03em;      /* 72 -> 192, decorative wordmarks only */
  --t-mega: var(--fs-display);
  --t-h2: var(--fs-h2);
  --t-h3: var(--fs-h3);

  /* ---- spacing: one 4-based scale ---- */
  --s-2: 2px; --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px; --s-96: 96px;
  --sp-card: clamp(var(--s-24), 1.3rem + 0.7vw, var(--s-32));      /* 24 -> 32 */
  --sp-stack: clamp(var(--s-32), 1.6rem + 1.4vw, var(--s-48));     /* 32 -> 48 */
  --sp-block: clamp(var(--s-48), 2.4rem + 2vw, var(--s-64));       /* 48 -> 64 */
  --sp-section: clamp(var(--s-64), 2.6rem + 5vw, var(--s-96));     /* 64 -> 96 */

  /* ---- radius: four corners for everything (circles stay 50%) ---- */
  --r-sm: 6px;    /* tags, pills, badges, small number boxes */
  --r-md: 10px;   /* buttons, fields, menu items, chips */
  --r-lg: 16px;   /* cards, popovers, dropdowns */
  --r-xl: 24px;   /* large panels and media frames */
  --r-2xl: var(--r-xl);
  --pill: var(--r-md);

  /* ---- control heights ---- */
  --h-control: 48px;
  --h-control-sm: 40px;
  --h-tag: 28px;

  --max: 1360px;
  --gutter: clamp(var(--s-24), 4vw, var(--s-48));
  --sec-y: var(--sp-section);
  --hdr-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  font-synthesis-weight: none;                 /* never fake a bold: only 400/600 (text) and 500 (headings) exist */
  font-kerning: normal;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 17px; height: 17px; }
.ic--xs { width: 13px; height: 13px; stroke-width: 2.2; }
.ic use[href="#i-play"], .ic use[href="#i-quote"] { fill: currentColor; stroke: none; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* unannounced product names: blurred placeholder text (the real name is never in the markup) */
.blur-text { display: inline-block; filter: blur(7px); user-select: none; pointer-events: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: var(--s-12) var(--s-16); border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); font-weight: var(--fw-strong); transition: top 0.2s; }
.skip:focus { top: 12px; }

.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-16); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--gold-ink); line-height: var(--lh-caption); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--gold-wash); }
.h2 { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); color: var(--ink); margin-bottom: var(--s-24); text-wrap: balance; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--light { background-image: var(--grad-light); }
.sub { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--muted); max-width: 640px; }
.sub a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; line-height: var(--lh-body-lg); }

.sec { position: relative; padding-block: var(--sec-y); }
.sec-head { margin-bottom: var(--sp-block); }
.sec-head--center { text-align: center; }
.sec-head--center .sub { margin-inline: auto; line-height: var(--lh-body-lg); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-12); height: var(--h-control); padding: 0 var(--s-24); border-radius: var(--r-md); font-family: var(--font-body); font-size: var(--fs-small); font-weight: var(--fw-strong);  text-transform: none; white-space: nowrap; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s; line-height: var(--lh-small); }
.btn .ic { transition: transform 0.35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:hover .ic use[href="#i-up"] { transform: none; }
.btn--grad { color: var(--on-dark); background: var(--grad); background-size: 170% 100%; background-position: 0 0; box-shadow: 0 16px 32px -16px rgba(51, 61, 41, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.btn--grad:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(122, 96, 64, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn--glass { color: var(--ink); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { transform: translateY(-2px); border-color: var(--gold); }
.btn--outline { color: var(--ink); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(166, 138, 100, 0.45); box-shadow: 0 6px 18px -10px rgba(122, 96, 64, 0.35); }
.btn--outline:hover { border-color: var(--gold); background: var(--paper); transform: translateY(-1px); }
.btn--sm { height: var(--h-control-sm); padding: 0 var(--s-16); font-size: var(--fs-small); line-height: var(--lh-small); }
.btn--dark { color: var(--on-dark); border: 1px solid var(--on-dark-line); background: rgba(243, 240, 230, 0.04); text-transform: none;  font-size: var(--fs-body); font-weight: var(--fw-strong); line-height: var(--lh-body); }
.btn--dark:hover { border-color: var(--gold); background: rgba(243, 240, 230, 0.08); }
.btn--pill { height: var(--h-control); padding: 0 var(--s-24) 0 var(--s-8); gap: var(--s-12); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); font-size: var(--fs-small); line-height: var(--lh-small); }
.btn__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--on-dark); background: var(--grad); }
.btn--pill:hover { transform: translateY(-2px); border-color: var(--gold); }

.round-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); transition: background 0.35s var(--ease), color 0.35s, transform 0.35s var(--ease), border-color 0.35s; }
.round-btn:hover, .svc-card:hover .round-btn { color: var(--on-dark); background: var(--grad); border-color: transparent; transform: rotate(-35deg); }

.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 var(--s-16); border-radius: var(--r-sm); font-size: var(--fs-small); font-weight: var(--fw-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); line-height: var(--lh-small); }

.checks { display: grid; gap: var(--s-12); }
.checks li { display: flex; gap: var(--s-12); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text); }
.checks .ic { margin-top: var(--s-2); padding: var(--s-4); width: 21px; height: 21px; border-radius: 50%; color: var(--green); background: var(--sage-wash); stroke-width: 2.6; }
.checks--lg li { font-size: var(--fs-body); line-height: var(--lh-body); }

/* ---------- decorative ---------- */
.ring { position: absolute; z-index: 0; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; background: conic-gradient(from 210deg, rgba(166, 138, 100, 0.55), rgba(185, 207, 176, 0.55), rgba(70, 83, 58, 0.25), rgba(166, 138, 100, 0.55)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); opacity: 0.55; }
.ring--tl { left: -150px; top: -110px; }
.ring--br { right: -170px; bottom: -40px; width: 300px; height: 300px; }
.ring--bl { left: -130px; top: 30px; width: 260px; height: 260px; }
.dotfield { position: absolute; z-index: 0; right: 0; top: 40px; width: min(44vw, 520px); height: 420px; pointer-events: none; background-image: radial-gradient(rgba(32, 39, 27, 0.16) 1.2px, transparent 1.7px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }

/* 3D art slots (images are baked into these by scenes.js) */
[data-art] { position: relative; display: grid; place-items: center; }
[data-art]::before { content: ""; position: absolute; inset: 14% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(166, 138, 100, 0.32), rgba(185, 207, 176, 0.14) 45%, transparent 70%); filter: blur(10px); transition: opacity 0.6s; }
[data-art] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-art].is-baked img { opacity: 1; transform: none; animation: artFloat 6s ease-in-out infinite; }
@keyframes artFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* =========================================================================
   Header
   ========================================================================= */
.hdr { position: absolute; inset: 0 0 auto; z-index: 60; }
.hdr__bar { height: var(--hdr-h); background: rgba(250, 248, 243, 0.72); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.hdr__inner { height: 100%; display: flex; align-items: center; gap: var(--s-32); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: var(--s-4); margin-inline: auto; }
.hdr__nav > a, .hdr__drop-btn { position: relative; display: inline-flex; align-items: center; gap: var(--s-4); height: 40px; padding: 0 var(--s-12); border-radius: var(--r-md); font-size: var(--fs-small); font-weight: var(--fw-body); color: var(--muted); transition: color 0.25s, background 0.25s; line-height: var(--lh-small); }
.hdr__nav > a:hover, .hdr__drop:hover .hdr__drop-btn, .hdr__drop:focus-within .hdr__drop-btn { color: var(--ink); background: rgba(166, 138, 100, 0.1); }
.hdr__nav > a[aria-current="page"], .hdr__drop-btn[aria-current="page"] { color: var(--ink); font-weight: var(--fw-strong); }
.hdr__nav > a[aria-current="page"]::after, .hdr__drop-btn[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: calc(var(--s-2) * -1); border-radius: 50%; background: var(--gold); }
.hdr__drop { position: relative; }
.hdr__drop-btn .ic { transition: transform 0.3s var(--ease); }
.hdr__drop:hover .hdr__drop-btn .ic, .hdr__drop:focus-within .hdr__drop-btn .ic { transform: rotate(180deg); }
.hdr__menu { position: absolute; left: 50%; top: calc(100% + 12px); width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); padding: var(--s-12); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.hdr__menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.hdr__drop:hover .hdr__menu, .hdr__drop:focus-within .hdr__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hdr__menu a { display: flex; gap: var(--s-12); align-items: flex-start; padding: var(--s-12); border-radius: var(--r-md); transition: background 0.2s; }
.hdr__menu a:hover { background: var(--paper-2); }
.hdr__menu-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: var(--r-md); color: var(--gold-ink); background: var(--gold-wash); }
.hdr__menu-ic .ic { width: 19px; height: 19px; }
.hdr__menu strong { display: block; font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-small); }
.hdr__menu em { display: block; font-style: normal; font-size: var(--fs-caption); color: var(--muted); line-height: var(--lh-caption); margin-top: var(--s-2); }
.hdr__menu--narrow { width: 360px; grid-template-columns: 1fr; }
.hdr__badge { display: inline-flex; align-items: center; gap: var(--s-4); height: 20px; margin-left: var(--s-8); padding: 0 var(--s-8); border-radius: var(--r-sm); vertical-align: 2px; font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); line-height: var(--lh-caption); }
.hdr__badge--live { color: var(--green); background: var(--sage-wash); border-color: rgba(63, 122, 55, 0.2); }
.hdr__badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hdr__menu-soon { display: flex; gap: var(--s-12); align-items: flex-start; padding: var(--s-12); border-radius: var(--r-md); cursor: default; }
.hdr__menu-soon .hdr__menu-ic { color: var(--muted); background: var(--paper-2); }
.hdr__menu-soon .blur-text { filter: blur(5px); }
.hdr__cta { flex: none; }
.hdr__burger { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(22, 28, 19, 0.42); opacity: 0; transition: opacity 0.4s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 90vw); display: flex; flex-direction: column; padding: var(--s-16) var(--s-24) var(--s-32); background: var(--bg); box-shadow: -30px 0 80px rgba(22, 28, 19, 0.25); transform: translateX(105%); transition: transform 0.5s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.drawer__top img { height: 32px; width: auto; }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); }
.drawer__nav { display: grid; margin-top: var(--s-32); }
.drawer__nav a { display: flex; align-items: baseline; gap: var(--s-16); padding: var(--s-12) 0; font-family: var(--font-head); font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--ink); border-bottom: 1px solid var(--line); font-weight: var(--fw-head); letter-spacing: var(--ls-h3); }
.drawer__nav span { flex: none; min-width: var(--s-24); font-family: var(--font-body); font-size: var(--fs-caption); color: var(--gold-ink); line-height: var(--lh-caption); }
.drawer__foot { margin-top: auto; display: grid; gap: var(--s-16); }
.drawer__mail { text-align: center; font-weight: var(--fw-strong); color: var(--muted); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; display: flex; flex-direction: column; min-height: max(780px, 100svh); padding-top: calc(var(--hdr-h) + clamp(var(--s-32), 6vw, var(--s-96))); overflow: hidden; background: linear-gradient(180deg, #fffefb 0%, var(--bg) 70%); }
.hero__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 72% 42%, rgba(166, 138, 100, 0.2), transparent 42%), radial-gradient(circle at 92% 12%, rgba(185, 207, 176, 0.35), transparent 32%), radial-gradient(circle at 8% 88%, rgba(233, 223, 205, 0.7), transparent 38%); }
.hero__grid { position: absolute; inset: 0; z-index: 0; }
.hero__grid canvas { width: 100%; height: 100%; background-image: linear-gradient(to right, rgba(32, 39, 27, 0.055) 1px, transparent 1px), linear-gradient(rgba(32, 39, 27, 0.055) 1px, transparent 1px); background-size: 58px 58px; }
.hero__grid-fade { position: absolute; inset: 0; background: var(--bg); -webkit-mask-image: radial-gradient(ellipse at 50% 45%, transparent 35%, #000 82%); mask-image: radial-gradient(ellipse at 50% 45%, transparent 35%, #000 82%); }

.hero__stage { position: absolute; z-index: 1; top: calc(var(--hdr-h) + 8px); bottom: 96px; left: 44%; right: -2%; }
.hero__canvas { width: 100%; height: 100%; touch-action: pan-y; }
.hero__halo { position: absolute; left: 50%; top: 50%; width: 72%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(205, 180, 141, 0.42), rgba(185, 207, 176, 0.18) 45%, transparent 68%); filter: blur(18px); pointer-events: none; }

.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hero__copy { max-width: 620px; padding-bottom: var(--s-32); }
.hero__title { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); color: var(--ink); margin-bottom: var(--s-16); }
.hero__line { display: block; white-space: nowrap; }
.hero__type { display: flex; align-items: center; gap: var(--s-8); min-height: 28px; margin-bottom: var(--s-16); font-family: var(--font-body); font-size: var(--fs-body);  color: var(--gold-ink); line-height: var(--lh-body); }
.hero__type-pre { color: var(--olive-2); font-weight: var(--fw-strong); }
.hero__caret { display: inline-block; width: 9px; height: 18px; background: var(--gold); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__lead { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--muted); max-width: 540px; margin-bottom: var(--s-32); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-16); margin-bottom: var(--s-32); }

.hero__rail ul { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-2); }
.hero__rail button { position: relative; height: 32px; padding: 0 var(--s-12); border-radius: var(--r-md); font-size: var(--fs-caption); font-weight: var(--fw-strong);  text-transform: none; color: var(--muted); transition: color 0.25s, background 0.25s; line-height: var(--lh-caption); }
.hero__rail button:hover { color: var(--ink); background: rgba(166, 138, 100, 0.1); }
.hero__rail button.is-active { color: var(--ink); background: var(--paper); box-shadow: 0 6px 16px -8px rgba(32, 39, 27, 0.3), inset 0 0 0 1px rgba(166, 138, 100, 0.35); }
.hero__rail button.is-active::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: calc(var(--s-2) * -1); border-radius: 50%; background: var(--gold); }

.hero__facts { position: relative; z-index: 2; padding-bottom: var(--s-24); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-card); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.facts > div { padding: var(--s-16) var(--s-24); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--gold-ink); line-height: var(--lh-caption); }
.facts dd { margin-top: var(--s-2); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-small); }
.facts a { display: inline-flex; align-items: center; gap: var(--s-4); text-decoration: underline; text-decoration-color: rgba(166, 138, 100, 0.5); text-underline-offset: 3px; }

/* 0.01, not 0: browsers skip fully transparent text when timing the largest paint, so the hero
   text would only count after a later change (the contact page's typewriter, seconds in) */
html.js [data-hero-in] { opacity: 0.01; transform: translate3d(0, 26px, 0); }
html.js.is-ready [data-hero-in] { animation: heroIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms + 120ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =========================================================================
   Page hero (inner pages) — shares the hero wash, grid and 3D stage
   ========================================================================= */
.phero { position: relative; overflow: hidden; padding: calc(var(--hdr-h) + clamp(var(--s-48), 6.5vw, var(--s-96))) 0 clamp(var(--s-64), 7vw, var(--s-96)); background: linear-gradient(180deg, #fffefb 0%, var(--bg) 78%); }
.phero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--sp-block); align-items: center; }
.phero__copy { min-width: 0; }
.phero__title { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); color: var(--ink); margin-bottom: var(--s-16); text-wrap: balance; }
.phero__lead { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--muted); max-width: 580px; margin-bottom: var(--s-32); }
.phero__actions { display: flex; flex-wrap: wrap; gap: var(--s-16); }
.phero__stage { position: relative; aspect-ratio: 1 / 0.9; min-height: 380px; }
.phero__stage .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero__stage .hero__halo { width: 82%; }
.phero__meta { display: flex; flex-wrap: wrap; gap: var(--s-12); margin-top: var(--s-4); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); margin-bottom: var(--s-16); font-size: var(--fs-small); font-weight: var(--fw-body); color: var(--muted); line-height: var(--lh-small); }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: var(--fw-strong); }
.crumbs__sep { color: var(--line-strong); }
.meta-pill { display: inline-flex; align-items: center; gap: var(--s-8); min-height: 36px; padding: var(--s-8) var(--s-16); line-height: var(--lh-caption); text-align: left; border-radius: var(--r-sm); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--olive); background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line-strong); box-shadow: 0 8px 20px -14px rgba(32, 39, 27, 0.4); }
.meta-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.meta-pill--live::before { background: var(--green); box-shadow: 0 0 0 3px var(--sage-wash); }
.phero--center .phero__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.phero--center .phero__copy { max-width: 900px; }
.phero--center .phero__lead { margin-inline: auto; line-height: var(--lh-body-lg); }
.phero--center .crumbs, .phero--center .phero__actions, .phero--center .phero__meta { justify-content: center; }
.phero--compact { padding-bottom: var(--sp-block); }
.phero--compact .phero__inner { grid-template-columns: minmax(0, 1fr); }
.phero--compact .phero__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-family: var(--font-head); font-weight: var(--fw-head); letter-spacing: var(--ls-h1); }

/* =========================================================================
   About — story showcase
   ========================================================================= */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--paper) 60%); }
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: var(--sp-section); align-items: center; }
.signals { display: grid; gap: var(--s-12); margin: var(--s-32) 0 var(--s-32); }
.signal { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-16); align-items: start; width: 100%; padding: var(--s-16) var(--s-24); text-align: left; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(32, 39, 27, 0.4); transition: background 0.45s var(--ease), border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.signal:hover { border-color: rgba(166, 138, 100, 0.55); transform: translateX(4px); }
.signal__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); font-family: var(--font-body); font-size: var(--fs-caption); font-weight: var(--fw-strong); color: var(--gold-ink); background: var(--gold-wash); transition: background 0.4s, color 0.4s; line-height: var(--lh-caption); }
.signal__body strong { display: block; font-size: var(--fs-body); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-body); transition: color 0.4s; }
.signal__body em { display: block; margin-top: var(--s-4); font-style: normal; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); transition: color 0.4s; }
.signal.is-active { background: var(--dark-panel); border-color: transparent; box-shadow: 0 22px 44px -22px rgba(22, 28, 19, 0.7); transform: none; }
.signal.is-active .signal__num { color: var(--on-dark); background: var(--grad); background-size: 140% 100%; }
.signal.is-active strong { color: var(--on-dark); }
.signal.is-active em { color: var(--on-dark-muted); }

.showcase { position: relative; aspect-ratio: 5 / 5.6; border-radius: var(--r-xl); overflow: hidden; background: var(--dark-panel); box-shadow: 0 40px 80px -36px rgba(22, 28, 19, 0.6), 0 0 0 10px rgba(255, 255, 255, 0.7); }
.showcase::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(243, 240, 230, 0.05) 1px, transparent 1px), linear-gradient(rgba(243, 240, 230, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.showcase__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.showcase__slide.is-active { opacity: 1; visibility: visible; }
.showcase__art { position: absolute; z-index: 1; left: 12%; right: 12%; top: 8%; height: 58%; }
.showcase__slide .showcase__art img { transform: scale(0.85) rotate(-6deg); }
.showcase__slide.is-active .showcase__art.is-baked img { transform: none; transition-delay: 0.1s; }
.showcase__tag { position: absolute; z-index: 2; left: 22px; top: 22px; display: inline-flex; align-items: center; gap: var(--s-8); height: 32px; padding: 0 var(--s-16); border-radius: var(--r-sm); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--on-dark); background: rgba(243, 240, 230, 0.08); border: 1px solid var(--on-dark-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); line-height: var(--lh-caption); }
.showcase__tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi); }
.showcase__count { position: absolute; z-index: 2; right: 24px; top: 26px; font-family: var(--font-body); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--on-dark); line-height: var(--lh-small); }
.showcase__card { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 30px; max-width: 460px; padding: var(--sp-card); border-radius: var(--r-lg); background: rgba(22, 28, 19, 0.55); border: 1px solid var(--on-dark-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(14px); opacity: 0; transition: transform 0.7s var(--ease) 0.12s, opacity 0.7s var(--ease) 0.12s; }
.showcase__slide.is-active .showcase__card { transform: none; opacity: 1; }
.showcase__card h3 { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--on-dark); margin-bottom: var(--s-8); letter-spacing: var(--ls-h3); }
.showcase__card p { font-size: var(--fs-small); color: var(--on-dark-muted); margin-bottom: var(--s-12); line-height: var(--lh-small); }
.showcase__card strong { display: block; font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: var(--lh-caption); }
.showcase__progress { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 14px; height: 3px; border-radius: var(--r-sm); background: var(--on-dark-line); overflow: hidden; }
.showcase__progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-light); }

/* =========================================================================
   Services
   ========================================================================= */
.svc { overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(233, 223, 205, 0.55), transparent 50%), linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%); }
.svc .shell { position: relative; z-index: 1; }
.svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-24); }
.svc-card { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: var(--s-24) var(--s-24) var(--s-24); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 243, 0.9)); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-inset), 0 20px 46px rgba(32, 39, 27, 0.08); transition: translate 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.svc-card:hover { translate: 0 -6px; box-shadow: var(--shadow-inset), 0 34px 64px rgba(32, 39, 27, 0.14); }
.svc-card__num { align-self: flex-start; display: inline-grid; place-items: center; min-width: 32px; height: 26px; padding: 0 var(--s-8); border-radius: var(--r-sm); font-family: var(--font-body); font-size: var(--fs-caption); font-weight: var(--fw-strong); color: var(--gold-ink); background: var(--gold-wash); line-height: var(--lh-caption); }
.svc-card__art { height: 210px; margin: var(--s-2) calc(var(--s-8) * -1) var(--s-8); }
.svc-card__art img { transition: transform 0.7s var(--ease), opacity 0.8s var(--ease); }
.svc-card:hover .svc-card__art img { transform: translateY(-6px) scale(1.07) rotate(-2deg); }
.svc-card__badge { position: absolute; right: 22px; top: 222px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-md); color: var(--on-dark); background: var(--grad); box-shadow: 0 12px 24px -10px rgba(51, 61, 41, 0.6); transition: transform 0.5s var(--ease); }
.svc-card:hover .svc-card__badge { transform: rotate(-8deg) scale(1.05); }
.svc-card__badge .ic { width: 20px; height: 20px; }
.svc-card h3 { max-width: calc(100% - 56px); margin-bottom: var(--s-8); font-size: var(--fs-h3); font-weight: var(--fw-head); line-height: var(--lh-h3); color: var(--ink); font-family: var(--font-head); letter-spacing: var(--ls-h3); }
.svc-card p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); margin-bottom: var(--s-16); }
.svc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); margin-top: auto; }
.chip { display: inline-flex; align-items: center; gap: var(--s-12); min-width: 0; padding: var(--s-8) var(--s-12) var(--s-8) var(--s-8); border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); }
.chip .ic { padding: var(--s-4); width: 22px; height: 22px; border-radius: var(--r-sm); color: var(--green); background: var(--sage-wash); stroke-width: 2.6; }
.chip strong { display: block; font-size: var(--fs-small); font-weight: var(--fw-strong); line-height: var(--lh-small); color: var(--ink); }
.chip em { display: block; font-style: normal; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--muted); }
.svc__after { display: flex; flex-direction: column; align-items: center; gap: var(--s-24); margin-top: var(--s-48); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-12) var(--s-32); }
.trust li { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--olive); line-height: var(--lh-small); }
.trust .ic { color: var(--gold); }

/* =========================================================================
   Products — tabbed panel
   ========================================================================= */
.prod { background: var(--paper); }
.prod__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-16); }
.prod-tile { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: var(--s-16); width: 100%; padding: var(--s-12) var(--s-16) var(--s-12) var(--s-12); text-align: left; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 22px -16px rgba(32, 39, 27, 0.45); transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.prod-tile:hover { transform: translateY(-2px); border-color: rgba(166, 138, 100, 0.5); }
.prod-tile.is-active { border-color: var(--gold); background: linear-gradient(118deg, #fff 0%, #fbf7ef 100%); box-shadow: 0 0 0 4px var(--gold-wash), 0 18px 36px -20px rgba(122, 96, 64, 0.55); }
.prod-tile__thumb { width: 64px; height: 64px; border-radius: var(--r-md); overflow: hidden; background: var(--dark-panel); }
.prod-tile__thumb::before { inset: 10%; }
.prod-tile__thumb img { padding: var(--s-8); }
.prod-tile__txt { display: grid; }
.prod-tile__num { font-family: var(--font-body); font-size: var(--fs-caption); font-weight: var(--fw-strong); color: var(--gold-ink); line-height: var(--lh-caption); }
.prod-tile__txt strong { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--ink); letter-spacing: var(--ls-h3); }
.status { display: inline-flex; align-items: center; gap: var(--s-8); height: 28px; padding: 0 var(--s-12); border-radius: var(--r-sm); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); line-height: var(--lh-caption); }
.status--live { color: var(--green); background: var(--sage-wash); border-color: rgba(63, 122, 55, 0.2); }
.status--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63, 122, 55, 0.5); animation: pulse 2s infinite; }
/* on dark panels the live pill needs more contrast */
.sd-proof__card .status--live, .pr-card--live .status--live, .pr-tdx .status--live { color: var(--sage); background: rgba(185, 207, 176, 0.16); border-color: rgba(185, 207, 176, 0.3); }
.sd-proof__card .status--live::before, .pr-card--live .status--live::before { background: var(--sage); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(63, 122, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 122, 55, 0); } }

.prod__panels { margin-top: var(--s-16); }
.prod-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); border-radius: var(--r-xl); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.prod-panel[hidden] { display: none; }
.prod-panel.is-entering { animation: panelIn 0.7s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.prod-panel__visual { position: relative; min-height: 480px; background: var(--dark-panel); overflow: hidden; }
.prod-panel__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(243, 240, 230, 0.05) 1px, transparent 1px), linear-gradient(rgba(243, 240, 230, 0.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.prod-panel__art { position: absolute; z-index: 1; inset: 12% 10%; }
.float-stat { position: absolute; z-index: 2; display: grid; gap: var(--s-2); padding: var(--s-12) var(--s-16); border-radius: var(--r-md); background: rgba(22, 28, 19, 0.55); border: 1px solid var(--on-dark-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: artFloat 7s ease-in-out infinite; }
.float-stat strong { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-stat span { font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--on-dark-muted); line-height: var(--lh-caption); }
.float-stat--a { left: 22px; top: 22px; }
.float-stat--b { left: 22px; bottom: 22px; animation-delay: -2.5s; }
.float-stat--c { right: 22px; top: 22px; display: flex; align-items: center; gap: var(--s-8); color: var(--gold-hi); animation-delay: -4.5s; }
.float-stat--c span { color: var(--on-dark); }
.prod-panel__body { padding: var(--sp-stack); }
.prod-panel__body h3 { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--ink); margin-bottom: var(--s-12); letter-spacing: var(--ls-h2); }
.prod-panel__body > p { font-size: var(--fs-body); color: var(--muted); margin-bottom: var(--s-24); line-height: var(--lh-body); }
.feat-rows { display: grid; gap: var(--s-12); margin-bottom: var(--s-24); }
.feat-rows li { display: flex; gap: var(--s-16); align-items: flex-start; padding: var(--s-12) var(--s-16); border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease); }
.feat-rows li:hover { border-color: rgba(166, 138, 100, 0.5); transform: translateX(3px); }
.feat-rows__ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: var(--r-md); color: var(--gold-ink); background: var(--gold-wash); }
.feat-rows__ic .ic { width: 19px; height: 19px; }
.feat-rows strong { display: block; font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-small); }
.feat-rows em { display: block; font-style: normal; font-size: var(--fs-small); color: var(--muted); line-height: var(--lh-small); }
.built-for { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); margin-bottom: var(--s-24); }
.built-for__lbl { margin-right: var(--s-8); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--gold-ink); line-height: var(--lh-caption); }
.prod-panel__cta { display: flex; flex-wrap: wrap; gap: var(--s-12); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-16) var(--s-16); margin-top: var(--s-24); padding: var(--s-16) var(--s-16) var(--s-16) var(--s-24); border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); }
.also__lbl { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--olive); line-height: var(--lh-caption); }
.also__lbl .ic { color: var(--gold); }
.also__chips { display: flex; flex-wrap: wrap; gap: var(--s-8); flex: 1; }
.also .btn { margin-left: auto; }

/* =========================================================================
   How we work — stacked deck
   ========================================================================= */
.deck { background: radial-gradient(circle at 15% 10%, rgba(233, 223, 205, 0.6), transparent 40%), var(--bg); }
.deck__stack { position: relative; }
.deck-card { position: sticky; top: var(--deck-top, 32px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--sp-stack); min-height: 500px; margin-bottom: 18vh; padding: var(--sp-stack); border-radius: var(--r-xl); background: linear-gradient(160deg, #fff 0%, #fbf9f4 60%, #f6f1e6 100%); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-inset), 0 30px 70px -20px rgba(32, 39, 27, 0.2); transform-origin: 50% 0; will-change: transform; }
.deck-card:last-child { margin-bottom: 0; }
.deck-card__copy { display: flex; flex-direction: column; padding: var(--s-12) 0; }
.deck-card h3 { display: flex; align-items: baseline; gap: var(--s-16); font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--ink); margin-bottom: var(--s-16); letter-spacing: var(--ls-h2); }
.deck-card__n { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deck-card__lead { font-size: var(--fs-body-lg); font-weight: var(--fw-strong); line-height: var(--lh-body-lg); color: var(--ink); margin-bottom: var(--s-16); max-width: 470px; }
.deck-card__copy > p:not([class]) { font-size: var(--fs-body); color: var(--muted); max-width: 500px; line-height: var(--lh-body); }
.deck-card__who { display: inline-flex; align-items: center; gap: var(--s-8); margin-top: auto; padding-top: var(--s-24); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--olive); line-height: var(--lh-small); }
.deck-card__who .ic { color: var(--gold); }
.deck-card__side { display: flex; flex-direction: column; padding: var(--sp-card); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(246, 243, 236, 0.9), rgba(255, 255, 255, 0.9)); border: 1px solid var(--line); }
.deck-card__art { height: 250px; margin-bottom: var(--s-12); }
.deck-card__get { font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--gold-ink); margin-bottom: var(--s-12); line-height: var(--lh-caption); }

/* =========================================================================
   Commitments — marquee
   ========================================================================= */
.commit { background: var(--paper); overflow: hidden; }
.marquee { position: relative; overflow: hidden; padding: var(--s-12) 0 var(--s-32); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: var(--s-24); width: max-content; animation: marquee var(--marquee-dur, 46s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(var(--marquee-shift, -50%)); } }
.quote-card { display: flex; flex-direction: column; width: 430px; padding: var(--sp-card); border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, #fbf9f4); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.quote-card__mark { width: 34px; height: 34px; color: var(--gold); margin-bottom: var(--s-16); }
.quote-card blockquote { flex: 1; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); margin-bottom: var(--s-24); }
.quote-card figcaption { display: flex; align-items: center; gap: var(--s-16); padding-top: var(--s-16); border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; font-family: var(--font-head); font-size: var(--fs-h3); color: var(--on-dark); background: var(--grad); box-shadow: 0 0 0 4px var(--gold-wash); line-height: var(--lh-h3); font-weight: var(--fw-head); letter-spacing: var(--ls-h3); }
.quote-card strong { display: block; font-size: var(--fs-body); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-body); }
.quote-card em { display: block; font-style: normal; font-size: var(--fs-caption); color: var(--muted); line-height: var(--lh-caption); }

/* =========================================================================
   Founders
   ========================================================================= */
.team { background: linear-gradient(180deg, var(--bg), var(--paper-2)); }
.team__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-section); align-items: center; }
.team__roles { display: grid; gap: var(--s-12); margin-top: var(--s-32); max-width: 380px; }
.role { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 var(--s-24); border-radius: var(--r-md); text-align: left; font-size: var(--fs-body); font-weight: var(--fw-strong); color: var(--muted); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); transition: all 0.4s var(--ease); line-height: var(--lh-body); }
.role::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background 0.3s, box-shadow 0.3s; }
.role:hover { color: var(--ink); border-color: rgba(166, 138, 100, 0.5); }
.role.is-active { color: var(--ink); background: var(--paper); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.role.is-active::after { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.person { position: relative; min-height: 360px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lift); overflow: hidden; }
.person::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; background: var(--dark-panel); }
.person__slide { position: absolute; inset: 0; display: grid; grid-template-columns: 42% 1fr; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.person__slide.is-active { position: relative; opacity: 1; visibility: visible; }
.person__avatar { position: relative; justify-self: center; display: grid; place-items: center; width: min(190px, 70%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a4532, #1d2419 70%); box-shadow: 0 0 0 1px rgba(243, 240, 230, 0.14), 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.person__avatar span { font-family: var(--font-head); font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: var(--fw-head); }
.person__orbit { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(205, 180, 141, 0.45); animation: spin 26s linear infinite; }
.person__orbit::before { content: ""; position: absolute; top: 50%; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 14px var(--gold-hi); }
@keyframes spin { to { transform: rotate(360deg); } }
.person__info { padding: var(--s-32) var(--sp-stack); }
.person__count { font-family: var(--font-body); font-size: var(--fs-caption); font-weight: var(--fw-strong); color: var(--gold-ink); margin-bottom: var(--s-12); line-height: var(--lh-caption); }
.person h3 { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--ink); letter-spacing: var(--ls-h2); }
.person__role { margin: var(--s-8) 0 var(--s-16); font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--gold-ink); line-height: var(--lh-caption); }
.person__bio { font-size: var(--fs-body); color: var(--muted); margin-bottom: var(--s-24); line-height: var(--lh-body); }
.person__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12) var(--s-16); }
.person__links > a:first-child { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--olive); line-height: var(--lh-small); }
.team__avatars { display: flex; gap: var(--s-12); margin-top: var(--s-16); }
.team__avatars button { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--font-head); font-size: var(--fs-h3); color: var(--muted); background: var(--paper); border: 1px solid var(--line-strong); transition: all 0.35s var(--ease); line-height: var(--lh-h3); font-weight: var(--fw-head); letter-spacing: var(--ls-h3); }
.team__avatars button:hover { color: var(--ink); transform: translateY(-2px); }
.team__avatars button.is-active { color: var(--on-dark); background: var(--grad); border-color: transparent; box-shadow: 0 0 0 4px var(--gold-wash); }

/* =========================================================================
   Stats
   ========================================================================= */
.stats { background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-24); }
.stat { display: flex; flex-direction: column; align-items: center; gap: var(--s-8); padding: var(--sp-card); text-align: center; border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, var(--paper-2)); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: translate 0.5s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.stat:hover { translate: 0 -5px; box-shadow: var(--shadow-lift); }
.stat__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--r-md); color: var(--gold-ink); background: var(--gold-wash); margin-bottom: var(--s-8); }
.stat strong { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h1); line-height: var(--lh-h1); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: var(--ls-h1); }
.stat > span:last-child { font-size: var(--fs-caption); font-weight: var(--fw-strong); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--muted); line-height: var(--lh-caption); }
.stats__note { margin-top: var(--s-24); text-align: center; font-family: var(--font-body); font-size: var(--fs-caption); color: var(--muted); line-height: var(--lh-caption); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-section); align-items: start; }
.faq .sec-head { position: sticky; top: 40px; }
.acc { display: grid; gap: var(--s-12); }
.faq__all { margin-top: var(--s-16); }
.acc__item { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 22px -18px rgba(32, 39, 27, 0.4); transition: border-color 0.3s, box-shadow 0.4s var(--ease); }
.acc__item.is-open { border-color: rgba(166, 138, 100, 0.55); box-shadow: 0 18px 40px -22px rgba(122, 96, 64, 0.5); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); width: 100%; padding: var(--s-24) var(--s-24); text-align: left; font-size: var(--fs-body); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-body); }
.acc__q .ic { display: grid; padding: var(--s-8); width: 30px; height: 30px; border-radius: 50%; color: var(--gold-ink); background: var(--gold-wash); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.acc__item.is-open .acc__q .ic { transform: rotate(45deg); color: var(--on-dark); background: var(--grad); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 var(--s-24) var(--s-24); font-size: var(--fs-body); color: var(--muted); line-height: var(--lh-body); }
.acc__a a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   3D banner CTA
   ========================================================================= */
.banner { position: relative; padding-block: var(--sec-y); background: linear-gradient(180deg, var(--bg), var(--paper)); overflow: hidden; }
.banner .shell { position: relative; z-index: 1; }
.banner__card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: 480px; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(140deg, #fff 0%, #fbf8f1 55%, #f3ecdf 100%); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-inset), 0 40px 90px -40px rgba(32, 39, 27, 0.35); }
.banner__scene { position: relative; min-height: 380px; cursor: crosshair; }
.banner__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.banner__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-12); font-size: var(--fs-caption); color: var(--muted); transition: opacity 0.5s; pointer-events: none; line-height: var(--lh-caption); }
.banner__loading i { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--gold-soft); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
.banner__loading.is-done { opacity: 0; }
.banner__hint { position: absolute; left: 22px; bottom: 18px; font-family: var(--font-body); font-size: var(--fs-caption);  color: var(--muted); opacity: 0.8; pointer-events: none; line-height: var(--lh-caption); }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.banner__copy { display: flex; flex-direction: column; justify-content: center; padding: var(--sp-block); }
.banner__copy > p:not(.eyebrow) { font-size: var(--fs-body); color: var(--muted); margin-bottom: var(--s-32); max-width: 440px; line-height: var(--lh-body); }
.banner__actions { display: flex; flex-wrap: wrap; gap: var(--s-12); }

/* =========================================================================
   Brief form
   ========================================================================= */
.brief { background: var(--paper); }
.brief__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-section); align-items: start; }
.brief__copy .checks { margin-top: var(--s-32); }
.brief__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16) var(--s-16); padding: var(--sp-card); border-radius: var(--r-xl); background: linear-gradient(180deg, #fff, var(--paper-2)); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.field { display: grid; gap: var(--s-8); min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-small); }
.field legend { margin-bottom: var(--s-8); }
.field input, .field textarea { width: 100%; min-height: var(--h-control); padding: var(--s-12) var(--s-16); border-radius: var(--r-md); font: inherit; font-size: var(--fs-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); transition: border-color 0.25s, box-shadow 0.25s; line-height: var(--lh-body); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--gold-ink); box-shadow: 0 0 0 4px rgba(122, 96, 64, 0.16); }
.seg { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: var(--h-control-sm); padding: 0 var(--s-16); border-radius: var(--r-md); font-size: var(--fs-small); font-weight: var(--fw-body); color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); cursor: pointer; transition: all 0.3s var(--ease); line-height: var(--lh-small); }
.seg span:hover { border-color: var(--gold); }
.seg input:checked + span { color: var(--on-dark); background: var(--grad); border-color: transparent; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.brief__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-16); padding-top: var(--s-4); }
.brief__submit p { font-size: var(--fs-small); color: var(--muted); line-height: var(--lh-small); }
.brief__error { font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--gold-ink); line-height: var(--lh-small); }

/* =========================================================================
   Footer
   ========================================================================= */
.ftr { position: relative; overflow: hidden; color: var(--on-dark-muted); background: radial-gradient(circle at 12% 0%, rgba(166, 138, 100, 0.2), transparent 40%), radial-gradient(circle at 88% 22%, rgba(70, 83, 58, 0.55), transparent 46%), linear-gradient(165deg, #1d2419 0%, #161c13 60%, #131810 100%); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: var(--s-48); align-items: center; padding-top: var(--sp-section); padding-bottom: var(--s-48); }
.ftr__title { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-display); line-height: var(--lh-display); color: var(--on-dark); margin-bottom: var(--s-24); letter-spacing: var(--ls-display); }
.ftr__lead > p { font-size: var(--fs-body-lg); max-width: 460px; margin-bottom: var(--s-32); line-height: var(--lh-body-lg); }
.ftr__actions { display: flex; flex-wrap: wrap; gap: var(--s-12); }
.ftr__globe { position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 1; }
.ftr__globe::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(166, 138, 100, 0.25), transparent 65%); filter: blur(30px); }
.ftr__globe canvas { position: relative; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.ftr__globe canvas:active { cursor: grabbing; }
.ftr__offices { display: grid; grid-template-columns: 1fr 1fr; }
.office { display: flex; flex-direction: column; padding: var(--s-32) var(--s-32) var(--s-24) 0; border-top: 1px solid var(--on-dark-line); border-bottom: 1px solid var(--on-dark-line); }
.office + .office { padding-left: var(--s-32); border-left: 1px solid var(--on-dark-line); }
.office header { display: inline-flex; align-items: center; gap: var(--s-8); font-family: var(--font-body); font-size: var(--fs-caption); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: var(--s-12); line-height: var(--lh-caption); }
.office__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 10px var(--gold-hi); }
.office__dot--sage { background: var(--sage); box-shadow: 0 0 10px var(--sage); }
.office h3 { font-size: var(--fs-h3); font-weight: var(--fw-head); line-height: var(--lh-h3); color: var(--on-dark); font-family: var(--font-head); letter-spacing: var(--ls-h3); }
.office__sub { font-size: var(--fs-small); color: var(--on-dark-faint); margin-bottom: var(--s-16); line-height: var(--lh-small); }
.office > p:not(.office__sub) { font-size: var(--fs-body); line-height: var(--lh-body); }
.office footer { display: flex; justify-content: space-between; gap: var(--s-12); margin-top: auto; padding-top: var(--s-24); font-family: var(--font-body); font-size: var(--fs-caption); color: var(--on-dark-faint); line-height: var(--lh-caption); }
.office time, .office footer a { color: var(--on-dark); font-weight: var(--fw-strong); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s-48); padding-top: var(--s-64); padding-bottom: var(--s-24); }
.ftr__brand img { height: 40px; width: auto; margin-bottom: var(--s-16); }
.ftr__brand p { font-size: var(--fs-small); max-width: 400px; margin-bottom: var(--s-16); line-height: var(--lh-small); }
.ftr__phone { font-family: var(--font-body); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--on-dark); line-height: var(--lh-small); }
.ftr__col { display: flex; flex-direction: column; gap: var(--s-12); }
.ftr__col h4 { font-family: var(--font-body); font-weight: var(--fw-strong); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: 0; color: var(--on-dark); margin-bottom: var(--s-12); }   /* footer column titles are navigation labels, not content headings */
.ftr__col a { font-size: var(--fs-body); transition: color 0.25s, transform 0.3s var(--ease); line-height: var(--lh-body); }
.ftr__col a:hover { color: var(--gold-hi); transform: translateX(3px); }
.ftr__mega { position: relative; overflow: hidden; padding-top: var(--s-12); text-align: center; user-select: none; line-height: var(--lh-mega); font-family: var(--font-head); font-weight: var(--fw-head); letter-spacing: var(--ls-mega); }
.ftr__mega span { display: block; font-family: var(--font-head); font-size: var(--fs-mega); line-height: var(--lh-mega); letter-spacing: var(--ls-mega); color: transparent; -webkit-text-stroke: 1px rgba(243, 240, 230, 0.14); background: linear-gradient(100deg, rgba(166, 138, 100, 0.0) 0%, rgba(205, 180, 141, 0.32) 50%, rgba(185, 207, 176, 0.0) 100%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-position 1.4s var(--ease); translate: 0 18%; font-weight: var(--fw-head); }
.ftr__mega:hover span { background-position: 0 0; line-height: var(--lh-mega); font-family: var(--font-head); font-weight: var(--fw-head); letter-spacing: var(--ls-mega); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-12); padding-top: var(--s-16); padding-bottom: var(--s-24); background: linear-gradient(var(--on-dark-line), var(--on-dark-line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: var(--fs-small); color: var(--on-dark-faint); line-height: var(--lh-small); }
.ftr__legal { display: flex; gap: var(--s-24); }
.ftr__legal a:hover { color: var(--on-dark); }

/* =========================================================================
   Reveal
   ========================================================================= */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 0.9s var(--ease) var(--rd, 0ms), transform 0.9s var(--ease) var(--rd, 0ms), translate 0.5s var(--ease), box-shadow 0.5s var(--ease); }
/* hover lifts on revealed elements use the `translate` property so they never fight the reveal's `transform` */
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .deck-card[data-reveal] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-hero-in] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .hdr__nav > a, .hdr__drop-btn { padding: 0 var(--s-12); font-size: var(--fs-small); line-height: var(--lh-small); }
  .hero__stage { left: 46%; }
  .svc-card { min-height: 420px; }
}

@media (max-width: 1060px) {
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .hdr__burger { display: grid; }

  .hero { min-height: 0; }
  .hero__stage { position: relative; inset: auto; order: 2; height: min(88vw, 560px); margin-top: calc(var(--s-12) * -1); }
  .hero__inner { order: 1; }
  .hero__facts { order: 3; }
  .hero__copy { max-width: 680px; padding-bottom: 0; }

  .about__grid, .team__grid, .faq__grid, .brief__grid, .ftr__top, .phero__inner { grid-template-columns: minmax(0, 1fr); }
  .phero__stage { aspect-ratio: auto; height: min(84vw, 460px); min-height: 0; }
  .showcase { aspect-ratio: 4 / 4.2; max-width: 620px; }
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-panel { grid-template-columns: minmax(0, 1fr); }
  .prod-panel__visual { min-height: 380px; }
  .deck-card { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; margin-bottom: var(--s-24); }
  .deck-card__art { height: 200px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq .sec-head { position: static; }
  .banner__card { grid-template-columns: minmax(0, 1fr); }
  .banner__scene { min-height: 340px; order: 2; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__globe { width: min(440px, 100%); }
}

@media (max-width: 720px) {
  :root { --hdr-h: 64px; }
  .brand img { height: 30px; }
  .hdr__cta { display: none; }
  .hdr__burger { margin-left: auto; }
  .hero__line { white-space: normal; }
  .hero__lead { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts > div { padding: var(--s-16) var(--s-16); }
  .svc__grid, .prod__list, .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card { min-height: 0; }
  /* phones: each service is a compact row (picture left, words right), so eight cards are three screens, not eight */
  .svc-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--s-16); align-items: start; padding: var(--s-16) var(--s-16) var(--s-16); }
  .svc-card__num { position: absolute; left: 10px; top: 10px; z-index: 1; height: 22px; min-width: 28px; font-size: var(--fs-caption); line-height: var(--lh-caption); }
  .svc-card__art { grid-column: 1; grid-row: 1 / span 2; height: 96px; margin: var(--s-8) 0 0; }
  .svc-card__badge { display: none; }
  .svc-card h3 { grid-column: 2; max-width: none; margin: var(--s-4) 0 var(--s-8); font-size: var(--fs-h3); line-height: var(--lh-h3); font-family: var(--font-head); font-weight: var(--fw-head); letter-spacing: var(--ls-h3); }
  .svc-card p { grid-column: 2; margin-bottom: var(--s-12); font-size: var(--fs-small); line-height: var(--lh-small); }
  .svc-card__foot { grid-column: 1 / -1; }
  .prod-tile__txt strong { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-head); letter-spacing: var(--ls-h3); }
  .float-stat--c { top: auto; bottom: 22px; right: 16px; }
  .float-stat--b { display: none; }
  .quote-card { width: 300px; padding: var(--sp-card); }
  .quote-card blockquote { font-size: var(--fs-body); line-height: var(--lh-body); }
  .person::before { width: 100%; height: 220px; inset: 0 0 auto 0; }
  .person__slide { grid-template-columns: minmax(0, 1fr); padding-top: var(--s-24); }
  .person__avatar { width: 160px; margin-bottom: var(--s-32); }
  .person__info { padding: var(--s-4) var(--s-24) var(--s-32); }
  .brief__form { grid-template-columns: minmax(0, 1fr); }
  .also .btn { margin-left: 0; }
  .also__chips { flex: 1 1 100%; }
  .also__chips .pill { white-space: nowrap; }
  .ftr__offices { grid-template-columns: minmax(0, 1fr); }
  .office { padding-right: 0; }
  .office + .office { padding-left: 0; border-left: 0; border-top: 0; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-32); }
}

/* home: eight service cards, four across on wide screens */
@media (min-width: 1181px) { .svc__grid--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .svc__grid--8 .svc-card__art { height: 190px; } .svc__grid--8 .svc-card__badge { top: 202px; } }
@media (max-width: 1180px) and (min-width: 721px) { .svc__grid--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
