/* ═══════════════════════════════════════════════════════════════════════
   GeoFoundry — built on the Klosa landing-page design system.

   Ported verbatim from ~/Downloads/closer-copilot/app/page.tsx +
   app/globals.css: pure-white canvas, dark rounded hero card floating on
   it, "§ label" pills, 1fr/2fr section headers with an oversized h2,
   bento cards (light / dark / accent), glass sub-cards, mono terminal,
   full-bleed gradient interrupt, oversized final CTA, tiny footer bar.

   One deliberate substitution:
     · coral #FB7C5A → brand orange #E55C0E (sampled from the logo)
   Klosa's warm neutrals are kept as-is — orange sits with them the same
   way coral did. Orange fills carry near-black type, exactly as Klosa's
   coral surfaces do.
   Motion keyframes (reveal / lift / bob / breathe / settle / sweep) are
   the Klosa originals with the accent colour swapped.
   ═════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0B0807;   /* Klosa near-black            */
  --muted:      #6B5E55;   /* Klosa warm body grey        */
  --surface:    #F5F4F1;   /* Klosa light bento card      */
  --line:       rgba(11,8,7,0.10);

  --accent:      #E55C0E;  /* brand orange — from the logo */
  --accent-deep: #A83E07;  /* small type on white (contrast) */
  --accent-lite: #F5822E;  /* accents on dark surfaces      */
  --accent-grad: linear-gradient(135deg, #F5822E 0%, #E55C0E 55%, #9A3A08 100%);

  --pos: #34D399;          /* verified green                */
  --warn: #F87171;         /* gap / competitor — red, so it
                              never reads as brand orange   */

  --r-card: 20px;
  --r-hero: 24px;
  --r-hero-lg: 36px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #0B0807; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.shell { margin: 0 auto; width: 100%; max-width: 1700px; }
.wrap  { margin: 0 auto; width: 100%; max-width: 1200px; }
.wrap-wide { margin: 0 auto; width: 100%; max-width: 1400px; }
.wrap-narrow { margin: 0 auto; width: 100%; max-width: 1000px; }

section.band { padding: 80px 16px; }
@media (min-width: 640px) { section.band { padding: 112px 24px; } }

/* ── § label pill ─────────────────────────────────────────────────────── */
.pill {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(11,8,7,0.15);
  background: #fff;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(11,8,7,0.55);
  white-space: nowrap;
}
.pill--dark {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
}
.pill--on-accent {
  border-color: rgba(11,8,7,0.18);
  background: rgba(255,255,255,0.35);
  color: rgba(11,8,7,0.75);
}

/* ── section header: pill left, oversized h2 right ────────────────────── */
.sec-head {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 1024px) {
  .sec-head { grid-template-columns: 1fr 2fr; align-items: end; }
}
.sec-head h2 {
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 0.95;
}
.sec-head p {
  margin-top: 20px;
  max-width: 30rem;
  color: var(--muted);
}
.sec-head--dark p { color: rgba(255,255,255,0.65); }
.sec-head--center { text-align: center; grid-template-columns: 1fr; justify-items: center; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms var(--ease), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ar { transition: transform 200ms var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: #0B0807; box-shadow: 0 14px 30px -14px rgba(229,92,14,0.75); }
.btn--accent:hover { background: #F5822E; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--glass {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
}
.btn--glass:hover { background: rgba(255,255,255,0.12); }
.btn--outline { background: #fff; color: var(--ink); border: 1px solid rgba(11,8,7,0.18); }
.btn--sm { padding: 7px 16px; font-size: 13px; }
.btn--lg { padding: 15px 30px; }
.btn--block { width: 100%; justify-content: center; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}
.link-cta svg { transition: transform 200ms var(--ease); }
.link-cta:hover svg { transform: translate(3px,-3px); }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero-pad { padding: 12px; }
@media (min-width: 640px) { .hero-pad { padding: 16px; } }
@media (min-width: 1024px) { .hero-pad { padding: 12px; } }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 40px 120px -40px rgba(11,8,7,0.6);
}
@media (min-width: 640px) { .hero { border-radius: 32px; } }
@media (min-width: 1024px) { .hero { border-radius: var(--r-hero-lg); } }

.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(64px); }
.glow--top {
  top: -128px; left: 50%; transform: translateX(-50%);
  height: 600px; width: 600px; opacity: 0.45;
  background: radial-gradient(circle, rgba(229,92,14,0.5), transparent 70%);
}
.glow--btm {
  bottom: -80px; right: -60px; height: 520px; width: 520px; opacity: 0.32;
  background: radial-gradient(circle, rgba(245,130,46,0.4), transparent 70%);
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}
@media (min-width: 640px) { .topbar { padding: 30px 40px 0; } }
@media (min-width: 1024px) { .topbar { padding: 38px 56px 0; } }

.brand-lockup { height: 38px; width: auto; }
@media (min-width: 640px) { .brand-lockup { height: 46px; } }

.nav-pill {
  display: none;
  align-items: center;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 5px;
  backdrop-filter: blur(20px);
}
@media (min-width: 960px) { .nav-pill { display: flex; } }
.nav-pill a {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 160ms ease, background-color 160ms ease;
}
.nav-pill a:hover { color: #fff; background: rgba(255,255,255,0.07); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05); padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: #fff; cursor: pointer;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.mobile-nav {
  display: none;
  position: relative;
  margin: 14px 24px 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 8px;
  backdrop-filter: blur(20px);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 11px 14px; border-radius: 12px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.8);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; }

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 52px 24px 60px;
}
@media (min-width: 640px) { .hero-grid { padding: 72px 40px 84px; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 32px; padding: 84px 56px 96px; align-items: center; }
}

h1.hero-h1 {
  font-size: clamp(2.6rem, 7.2vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
h1.hero-h1 .ln { display: block; }
.hero-sub {
  margin-top: 26px;
  max-width: 34rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
}
@media (min-width: 640px) { .hero-sub { font-size: 1.075rem; } }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* letter-by-letter scroll sweep (Klosa ScrollTextSweep). Letters are
   inline-block so each can hold its own colour; the word wrapper keeps
   the browser from breaking a line mid-word. */
.sw-word { display: inline-block; white-space: nowrap; }
.sw { display: inline-block; will-change: color; transition: color 90ms linear; }

/* ── glass cards (dark surfaces) ──────────────────────────────────────── */
.glass {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  padding: 18px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
}
.eyebrow--ink { color: rgba(11,8,7,0.5); }
.big-num { margin-top: 8px; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bar { margin-top: 14px; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.1); }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width 700ms var(--ease); }

/* hero mockup */
.mock-stack { position: relative; }
@media (min-width: 1024px) {
  .mock-stack { transform: perspective(2400px) rotateX(6deg) rotateY(-11deg); }
}
.mock-row { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip-float {
  display: none;               /* only shows where there's room to float it */
  position: absolute; z-index: 5;
  pointer-events: none;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(20,24,28,0.96);
  padding: 11px 13px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
}
@media (min-width: 1180px) { .chip-float { display: block; } }

.dot { display: inline-flex; height: 8px; width: 8px; border-radius: 50%; flex: 0 0 8px; }
.dot--pos { background: var(--pos); box-shadow: 0 0 12px rgba(52,211,153,0.8); }
.dot--warn { background: var(--warn); box-shadow: 0 0 12px rgba(248,113,113,0.7); }

.engine-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03); padding: 8px 10px;
  font-size: 12px;
}
.engine-row + .engine-row { margin-top: 6px; }
.engine-name { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-weight: 500; }
.tag {
  border-radius: 999px; padding: 2px 8px;
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.tag--pos { background: rgba(52,211,153,0.15); color: #6ee7b7; }
.tag--neg { background: rgba(248,113,113,0.15); color: #fca5a5; }
.tag--accent { background: rgba(229,92,14,0.20); color: #F5A05C; }

/* ── trust logo strip ─────────────────────────────────────────────────── */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.logo-strip img { height: 34px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 200ms ease, filter 200ms ease; }
.logo-strip img:hover { opacity: 1; filter: grayscale(0); }
.strip-label {
  text-align: center; margin-bottom: 26px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em;
  color: rgba(11,8,7,0.4);
}

/* ── case carousel ────────────────────────────────────────────────────── */
.case-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.case-rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px)  { .case-rail { grid-auto-columns: 56%; } }
@media (min-width: 1100px) { .case-rail { grid-auto-columns: 40%; } }
.case {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--ink);
  color: #fff;
  padding: 22px;
}
.case-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid; place-items: center;
  height: 40px; width: 40px; flex: 0 0 40px;
  border-radius: 999px;
  background: rgba(229,92,14,0.20);
  border: 1px solid rgba(229,92,14,0.42);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #F5A05C;
}
.who { font-size: 14px; font-weight: 600; }
.what { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.45); }
.q {
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03); padding: 12px 14px;
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.82);
}
.q-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.answer { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.answer b { color: #fff; font-weight: 600; box-shadow: inset 0 -0.55em 0 rgba(229,92,14,0.38); }
.gap-note {
  margin-top: auto;
  border-radius: 12px;
  border: 1px solid rgba(248,113,113,0.25);
  background: rgba(248,113,113,0.07);
  padding: 11px 13px;
}
.gap-note .hd {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: #F87171;
}
.gap-note p { margin-top: 5px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.6); }
.rail-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rail-count { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(11,8,7,0.4); font-variant-numeric: tabular-nums; }
.rail-btns { display: flex; gap: 8px; }
.rail-btn {
  display: grid; place-items: center;
  height: 38px; width: 38px; border-radius: 999px;
  border: 1px solid rgba(11,8,7,0.14); background: #fff; cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}
.rail-btn:hover { background: var(--surface); transform: translateY(-2px); }

/* ── bento cards ──────────────────────────────────────────────────────── */
.bento { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .bento--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; gap: 16px;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 20px;
  height: 100%;
}
.card--dark   { border-color: rgba(11,8,7,0.15); background: var(--ink); color: #fff; }
.card--accent { border-color: rgba(229,92,14,0.4); background: var(--accent); color: #0B0807; }
.card--accent .link-cta { color: #0B0807; }
.card--dark .link-cta { color: var(--accent-lite); }
.card--accent .card-body { color: rgba(11,8,7,0.78); }
.card--dark .card-body { color: rgba(255,255,255,0.65); }
.card-visual { position: relative; height: 128px; overflow: hidden; border-radius: 12px; }
.card h3 { margin-top: 10px; font-size: 1.05rem; line-height: 1.2; }
.card-body { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.card .link-cta { margin-top: auto; }
.card .pill { font-size: 9.5px; padding: 3px 10px; letter-spacing: 0.18em; }
.badge-top {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  border-radius: 999px; background: #fff; color: var(--accent-deep);
  padding: 4px 10px; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.3);
}

/* mini visuals inside bento cards */
.mini { height: 100%; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mini--dark  { background: linear-gradient(to bottom right, rgba(255,255,255,0.06), transparent); }
.mini--light { background: #fff; }
.mini--accent{ background: rgba(255,255,255,0.22); }
.mini-lbl { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.6; }
.mini-num { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 42px; }
.spark i { flex: 1; border-radius: 2px 2px 0 0; background: var(--accent); opacity: 0.85; }
.heat { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.heat i { aspect-ratio: 1; border-radius: 2px; background: rgba(11,8,7,0.08); }
.mini-bar { height: 6px; border-radius: 999px; background: rgba(11,8,7,0.1); overflow: hidden; }
.mini-bar > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* ── timeline (Then / Now / Soon) ─────────────────────────────────────── */
.tl { display: grid; gap: 12px; }
@media (min-width: 900px) { .tl { grid-template-columns: repeat(3, 1fr); } }
.tl-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 26px 24px 28px;
}
.tl-card--dark { background: var(--ink); color: #fff; border-color: rgba(11,8,7,0.2); }
.tl-card--accent { background: var(--accent); color: #0B0807; border-color: rgba(229,92,14,0.45); }
.tl-when { font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; margin-top: 16px; }
.tl-what { margin-top: 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.55; }
.tl-card p { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.tl-card--dark p { color: rgba(255,255,255,0.65); }
.tl-card--accent p { color: rgba(11,8,7,0.78); }
.tl-idx {
  position: absolute; top: 20px; right: 22px;
  font-size: 3.4rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  opacity: 0.08;
}

/* ── steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 700px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 24px 22px 26px;
}
.step-n {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--accent-deep);
}
.step h3 { margin-top: 14px; font-size: 1.4rem; letter-spacing: -0.035em; }
.step p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.step-rule { margin-top: 18px; height: 2px; border-radius: 999px; background: rgba(11,8,7,0.08); overflow: hidden; }
.step-rule > i { display: block; height: 100%; background: var(--accent); width: 0; transition: width 900ms var(--ease); }

/* ── video block ──────────────────────────────────────────────────────── */
.video-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--ink);
  color: #fff;
  padding: 12px;
}
@media (min-width: 640px) { .video-card { border-radius: 32px; padding: 20px; } }
.video-head { padding: 22px 14px 26px; text-align: center; }
@media (min-width: 640px) { .video-head { padding: 30px 24px 34px; } }
.video-head h2 { margin-top: 16px; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 0.98; }
.video-head p { margin: 20px auto 0; max-width: 40rem; color: rgba(255,255,255,0.65); }
.video-frame {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #000;
  /* the source recording is 1280×720 — cap it so it doesn't dwarf the
     sections around it on wide screens */
  max-width: 1000px; margin: 0 auto;
}
.video-frame video { width: 100%; height: auto; }
.video-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.video-fallback { padding: 40px 20px; text-align: center; color: rgba(255,255,255,0.6); }

/* ── report form ──────────────────────────────────────────────────────── */
.form-card {
  border-radius: var(--r-hero);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 28px 22px;
}
@media (min-width: 640px) { .form-card { padding: 40px; } }
.form-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
}
.field { display: block; }
.field + .field { margin-top: 14px; }
.field span {
  display: block; margin-bottom: 7px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(11,8,7,0.5);
}
.form-card--dark .field span { color: rgba(255,255,255,0.5); }
.field input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(11,8,7,0.14);
  background: #fff;
  padding: 13px 15px;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229,92,14,0.20);
}
.form-card--dark .field input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}
.form-card--dark .field input::placeholder { color: rgba(255,255,255,0.35); }
.form-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.form-card--dark .form-note { color: rgba(255,255,255,0.5); }
.form-status { margin-top: 14px; font-size: 13px; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--accent-deep); }
.form-card--dark .form-status.ok { color: #F5A05C; }
.form-status.err { color: #b45309; }
.form-card--dark .form-status.err { color: #fcd34d; }
@media (min-width: 900px) {
  .form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
}

/* ── bullets ──────────────────────────────────────────────────────────── */
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; }
.checks .tick {
  flex: 0 0 22px; height: 22px; width: 22px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(229,92,14,0.15); color: var(--accent-deep);
}
.checks--dark li { color: rgba(255,255,255,0.78); }
.checks--dark .tick { background: rgba(229,92,14,0.28); color: #F5A05C; }

/* ── terminal ─────────────────────────────────────────────────────────── */
.term {
  border-radius: 18px;
  border: 1px solid rgba(11,8,7,0.1);
  background: var(--ink);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (min-width: 640px) { .term { border-radius: 24px; padding: 26px; } }
.term-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.term-bar i { height: 10px; width: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.term-bar span {
  margin-left: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
}
.term { min-width: 0; }
.term pre {
  margin: 0;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px; line-height: 1.9;
  color: rgba(255,255,255,0.85);
  white-space: pre;
  /* scrolls inside itself instead of widening the page on narrow screens */
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 480px) { .term pre { font-size: 11px; } }
/* grid/flex children must be allowed to shrink or the mono block wins */
.mag, .vel, .tl-card, .card, .step, .quote, .case { min-width: 0; }
.term .c-dim  { color: rgba(255,255,255,0.4); }
.term .c-acc  { color: #F5A05C; }
.term .c-pos  { color: #6ee7b7; }

/* ── testimonials ─────────────────────────────────────────────────────── */
.quote {
  display: flex; flex-direction: column; gap: 20px;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 26px 24px;
  height: 100%;
}
.quote-mark { font-size: 2.5rem; line-height: 0.6; color: var(--accent); font-weight: 700; }
.quote p { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.quote footer { margin-top: auto; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.quote footer b { display: block; color: var(--ink); font-size: 13px; }

/* ── gradient interrupt ───────────────────────────────────────────────── */
.slab {
  overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--accent-grad);
  color: #0B0807;
  padding: 56px 28px;
}
@media (min-width: 640px) { .slab { border-radius: 32px; padding: 88px 56px; } }
.slab-line {
  margin-top: 22px;
  font-size: clamp(2.1rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.slab-line .fade { color: rgba(11,8,7,0.5); }
.slab p:not(.slab-line) {
  margin-top: 28px; max-width: 34rem;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em; line-height: 1.9;
  color: rgba(11,8,7,0.68);
}

/* ── final CTA ────────────────────────────────────────────────────────── */
.final {
  overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--ink);
  color: #fff;
  padding: 52px 24px;
}
@media (min-width: 640px) { .final { border-radius: 32px; padding: 84px 56px; } }
.final h2 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 7.4vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.final > .final-grid { margin-top: 40px; }
@media (min-width: 980px) {
  .final-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
}

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 56px 16px 0; }
@media (min-width: 640px) { .foot { padding: 64px 24px 0; } }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; } }
.foot-lockup { height: 30px; width: auto; }
.foot-blurb { margin-top: 18px; max-width: 22rem; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot h4 { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(11,8,7,0.45); }
.foot ul { margin-top: 16px; display: grid; gap: 11px; }
.foot ul a { font-size: 14px; color: var(--muted); transition: color 160ms ease; }
.foot ul a:hover { color: var(--ink); }
.tiny {
  margin-top: 48px; border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(11,8,7,0.45);
}
.tiny-l { display: flex; align-items: center; gap: 12px; }
.tiny-l img { height: 18px; width: auto; }
.tiny-r { display: flex; align-items: center; gap: 22px; }
.tiny-r a:hover { color: var(--ink); }

/* ── cookie banner ────────────────────────────────────────────────────── */
.cookie {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px;
  display: none;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(11,8,7,0.96);
  color: rgba(255,255,255,0.75);
  padding: 16px 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  font-size: 13px; line-height: 1.55;
}
.cookie.show { display: block; }
@media (min-width: 760px) {
  .cookie {
    left: auto; right: 20px; bottom: 20px; max-width: 420px;
  }
}
.cookie a { color: #F5A05C; text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { margin-top: 14px; display: flex; gap: 10px; }

/* ── motion (Klosa originals, accent swapped) ─────────────────────────── */
@keyframes gf-reveal {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.reveal.on { animation: gf-reveal 0.9s var(--ease) forwards; }

.lift { transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 200ms ease-out; }
.lift:hover {
  transform: translateY(-4px);
  border-color: rgba(229,92,14,0.45);
  box-shadow: 0 30px 100px -24px rgba(229,92,14,0.32), inset 0 1px 0 rgba(255,255,255,0.08);
}

@keyframes gf-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.bob { animation: gf-bob 4.5s ease-in-out infinite; }

@keyframes gf-breathe {
  0%,100% { transform: scale(1);     filter: brightness(1)   saturate(1); }
  50%     { transform: scale(1.075); filter: brightness(1.2) saturate(1.15); }
}
.breathe { animation: gf-breathe 4.8s ease-in-out infinite; }

.mag { transition: transform 220ms var(--ease); transform-style: preserve-3d; will-change: transform; }
.vel { transition: transform 180ms linear; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob, .breathe { animation: none !important; }
  .reveal, .reveal.on { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .lift:hover, .mag, .vel { transform: none !important; }
  .sw { color: #fff !important; }
}

/* ═══ Interior pages ═══════════════════════════════════════════════════
   Same vocabulary as the home page: a dark rounded card at the top of
   every page instead of the full hero, then white sections beneath. */

.page-head {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--ink); color: #fff;
  box-shadow: 0 40px 120px -40px rgba(11,8,7,0.6);
}
@media (min-width: 640px)  { .page-head { border-radius: 32px; } }
@media (min-width: 1024px) { .page-head { border-radius: var(--r-hero-lg); } }
.page-head-inner { position: relative; padding: 56px 24px 64px; }
@media (min-width: 640px)  { .page-head-inner { padding: 76px 40px 84px; } }
@media (min-width: 1024px) { .page-head-inner { padding: 92px 56px 104px; } }
.page-head h1 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.98; letter-spacing: -0.045em;
  max-width: 20ch;
}
.page-head .lede {
  margin-top: 26px; max-width: 44rem;
  font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,0.68);
}
.page-head .hero-ctas { margin-top: 34px; }
@media (min-width: 1000px) {
  .page-head--split .page-head-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
}

/* ── prose (blog posts, privacy) ──────────────────────────────────────── */
.prose { max-width: 46rem; font-size: 1.0625rem; line-height: 1.75; color: #2A241F; }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  margin-top: 52px; font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.1; letter-spacing: -0.035em; color: var(--ink);
}
.prose h3 {
  margin-top: 36px; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink);
}
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose ul { display: grid; gap: 12px; padding-left: 2px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  height: 6px; width: 6px; border-radius: 50%; background: var(--accent);
}
.prose ol { display: grid; gap: 14px; counter-reset: n; padding-left: 0; list-style: none; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: n; }
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 500; color: var(--accent-deep);
}
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin-left: 0; padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 14px 14px 0;
  font-size: 1.15rem; line-height: 1.55; color: var(--ink);
}
.prose .placeholder {
  border: 1px dashed rgba(11,8,7,0.22);
  border-radius: 14px; padding: 18px 20px;
  background: var(--surface);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted);
}

/* article meta */
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.art-date { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); }
.art-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted);
}
.art-back:hover { color: var(--ink); }

/* in-article CTA */
.art-cta {
  margin-top: 48px; border-radius: var(--r-card);
  background: var(--ink); color: #fff; padding: 30px 28px;
}
.art-cta h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.art-cta p { margin-top: 10px; color: rgba(255,255,255,0.65); font-size: 15px; }

/* ── blog index cards ─────────────────────────────────────────────────── */
.post-card {
  display: flex; flex-direction: column; gap: 16px; height: 100%;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 26px 24px 28px;
}
.post-card--dark { background: var(--ink); color: #fff; border-color: rgba(11,8,7,0.2); }
.post-card h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.035em; }
.post-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.post-card--dark p { color: rgba(255,255,255,0.62); }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-date { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(11,8,7,0.42); }
.post-card--dark .post-date { color: rgba(255,255,255,0.45); }

/* ── FAQ accordion (Klosa's hand-built one) ───────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  width: 100%; padding: 24px 0; background: none; border: 0; cursor: pointer;
  text-align: left; font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
}
.faq-q:hover { color: var(--accent-deep); }
.faq-plus {
  flex: 0 0 30px; height: 30px; width: 30px; margin-top: 2px;
  display: grid; place-items: center; border-radius: 999px;
  border: 1px solid rgba(11,8,7,0.14); background: #fff;
  transition: transform 300ms var(--ease), background-color 200ms ease, border-color 200ms ease;
}
.faq-item.open .faq-plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #0B0807; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: 46rem; padding-bottom: 26px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ── product detail blocks (products page) ────────────────────────────── */
.prod {
  border-radius: var(--r-hero);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 28px 24px;
}
@media (min-width: 640px) { .prod { padding: 44px 40px; } }
.prod--dark   { background: var(--ink); color: #fff; border-color: rgba(11,8,7,0.2); }
.prod--accent { background: var(--accent); color: #0B0807; border-color: rgba(229,92,14,0.45); }
.prod + .prod { margin-top: 16px; }
.prod h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; }
.prod .tagline { margin-top: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.prod .body { margin-top: 18px; max-width: 42rem; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.prod--dark .body   { color: rgba(255,255,255,0.68); }
.prod--accent .body { color: rgba(11,8,7,0.78); }
@media (min-width: 1000px) {
  .prod-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: start; }
}
.prod .checks li { font-size: 14.5px; }
.prod--dark .checks li   { color: rgba(255,255,255,0.78); }
.prod--accent .checks li { color: rgba(11,8,7,0.82); }
.prod--accent .checks .tick { background: rgba(11,8,7,0.16); color: #0B0807; }
.prod--dark .checks .tick   { background: rgba(229,92,14,0.28); color: #F5A05C; }

.price-tag { margin-top: 26px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-tag .amt { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; }
.price-tag .note { font-size: 13px; color: var(--muted); }
.prod--dark .price-tag .note { color: rgba(255,255,255,0.55); }

/* ── numbered report sections (sample report) ─────────────────────────── */
.rep { display: grid; gap: 12px; }
@media (min-width: 800px)  { .rep { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .rep { grid-template-columns: repeat(3, 1fr); } }
.rep-card {
  position: relative; overflow: hidden; height: 100%;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 26px 24px 28px;
}
.rep-n {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--accent-deep);
}
.rep-card h3 { margin-top: 12px; font-size: 1.3rem; letter-spacing: -0.03em; }
.rep-card > p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.rep-sample {
  margin-top: 18px; border-radius: 12px;
  border: 1px solid rgba(11,8,7,0.08);
  background: #fff; padding: 14px 16px;
}
.rep-sample .lbl {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; color: rgba(11,8,7,0.4);
}
.rep-sample p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: #3A322C; }

/* ── team + jobs (about) ──────────────────────────────────────────────── */
.person {
  display: flex; flex-direction: column; gap: 18px; height: 100%;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: var(--surface);
  padding: 26px 24px 28px;
}
.avatar-lg {
  display: grid; place-items: center;
  height: 76px; width: 76px; border-radius: 999px;
  background: rgba(229,92,14,0.12);
  border: 1px dashed rgba(229,92,14,0.45);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-deep);
}
.person h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.person .role { margin-top: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-deep); }
.person p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.job {
  display: grid; gap: 16px;
  border-radius: var(--r-card);
  border: 1px solid rgba(11,8,7,0.08);
  background: #fff;
  padding: 24px;
}
.job + .job { margin-top: 12px; }
@media (min-width: 860px) { .job { grid-template-columns: 1fr auto; align-items: center; } }
.job h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.job .where { margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-deep); }
.job p { margin-top: 12px; max-width: 44rem; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ── contact ──────────────────────────────────────────────────────────── */
.note-card {
  border-radius: 16px; border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03); padding: 18px 20px;
}
.note-card + .note-card { margin-top: 12px; }
.note-card h3 { font-size: 14px; letter-spacing: -0.01em; }
.note-card p { margin-top: 7px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.field select, .field textarea {
  width: 100%; border-radius: 12px;
  border: 1px solid rgba(11,8,7,0.14); background: #fff;
  padding: 13px 15px; font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(229,92,14,0.20);
}
.form-card--dark .field select, .form-card--dark .field textarea {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #fff;
}
.field[hidden] { display: none; }

/* ── little utilities ─────────────────────────────────────────────────── */
.stack-16 > * + * { margin-top: 16px; }
.stack-12 > * + * { margin-top: 12px; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.two-col--top { align-items: start; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nav-pill a.on { color: #fff; background: rgba(255,255,255,0.09); }

/* ═══ Scroll dock ══════════════════════════════════════════════════════
   Once the in-card nav scrolls out of view, this takes over: a smaller
   floating pill in liquid glass, holding every page. Fixed to the body
   (never inside a transformed ancestor, or position:fixed would anchor
   to the wrong box). Desktop shows the links inline; narrow screens
   collapse to a mark + burger that drops the same links in a sheet. */

.dock {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 20px);
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(14,10,8,0.80);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  box-shadow:
    0 20px 50px -20px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.25);
  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-150%) scale(0.96);
  transition:
    transform 460ms var(--ease),
    opacity 260ms ease;
}
.dock.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
/* specular sheen along the top edge — the "liquid" part of liquid glass */
.dock::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    150deg,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.04) 28%,
    transparent 55%
  );
}
.dock > * { position: relative; }

.dock-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0 6px 0 2px;
}
.dock-mark img { height: 22px; width: auto; }

.dock-links {
  display: flex;
  align-items: center;
  gap: 1px;
}
.dock-links a {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255,255,255,0.68);
  transition: color 160ms ease, background-color 160ms ease;
}
.dock-links a:hover { color: #fff; background: rgba(255,255,255,0.09); }
.dock-links a.on { color: #fff; background: rgba(255,255,255,0.11); }

.dock-cta {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #0B0807;
  transition: background-color 180ms ease, transform 180ms var(--ease);
}
.dock-cta:hover { background: #F5822E; transform: translateY(-1px); }

.dock-burger {
  display: none;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.dock-burger:hover { background: rgba(255,255,255,0.15); }
.dock-burger svg { transition: transform 300ms var(--ease); }
.dock.sheet-open .dock-burger svg { transform: rotate(90deg); }

/* the collapsed sheet — same glass, drops under the pill */
.dock-sheet {
  position: fixed;
  top: 66px;
  left: 50%;
  z-index: 59;
  width: min(calc(100vw - 20px), 340px);
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(14,10,8,0.86);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  box-shadow: 0 26px 60px -22px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-12px) scale(0.97);
  transition: transform 320ms var(--ease), opacity 200ms ease;
}
.dock-sheet.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dock-sheet a {
  display: block;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.dock-sheet a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.dock-sheet a.on { background: rgba(255,255,255,0.10); color: #fff; }
.dock-sheet .sheet-cta {
  margin-top: 6px;
  background: var(--accent);
  color: #0B0807;
  font-weight: 600;
  text-align: center;
}
.dock-sheet .sheet-cta:hover { background: #F5822E; color: #0B0807; }

/* Collapse point: the inline links stop fitting well below ~1080px once
   all six pages are in there. */
@media (max-width: 1080px) {
  .dock-links, .dock-cta { display: none; }
  .dock-burger { display: inline-flex; }
  .dock { padding: 6px 6px 6px 10px; }
}
@media (min-width: 1081px) {
  .dock-sheet { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dock, .dock-sheet { transition: opacity 200ms ease !important; }
  .dock { transform: translateX(-50%) translateY(0) scale(1); }
  .dock.on { transform: translateX(-50%) translateY(0) scale(1); }
  .dock-sheet { transform: translateX(-50%); }
  .dock-sheet.on { transform: translateX(-50%); }
  .dock-burger svg, .dock.sheet-open .dock-burger svg { transition: none; transform: none; }
}

/* ═══ Forge ════════════════════════════════════════════════════════════
   The brand is a foundry, so anything that measures progress runs on a
   heat scale instead of a flat fill: cold ember at the low end, working
   orange in the middle, white-hot at the top. Same data, read as
   temperature. Dark surfaces get a cooling-metal glow along the bottom
   edge; the hero carries slow-rising embers. */

:root {
  --ember:  #7A2A05;   /* cold end — barely worked      */
  --hot:    #E55C0E;   /* working heat — the brand core */
  --bright: #FF9500;   /* forge orange                  */
  --white-hot: #FFC77A;
  --molten: linear-gradient(90deg,
    var(--ember)   0%,
    var(--hot)    42%,
    var(--bright) 74%,
    var(--white-hot) 100%);
}

/* every progress fill is now a heat reading */
.bar > i,
.mini-bar > i,
.step-rule > i {
  background: var(--molten);
  box-shadow: 0 0 14px -2px rgba(255,149,0,0.55);
}

/* cooling-metal edge: the underside of a dark surface still glowing */
.hero::after,
.final::after,
.page-head::after,
.card--dark::after,
.prod--dark::after,
.post-card--dark::after,
.tl-card--dark::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(229,92,14,0.55) 35%,
    rgba(255,149,0,0.75) 50%,
    rgba(229,92,14,0.55) 65%,
    transparent);
  box-shadow: 0 0 18px 1px rgba(255,120,20,0.35);
}
.card--dark, .prod--dark, .post-card--dark, .tl-card--dark { position: relative; }

/* ── embers ───────────────────────────────────────────────────────────
   A handful of slow sparks drifting up through the hero. Cheap: four
   blurred dots on staggered loops, no canvas, no library. */
.embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
.embers i {
  position: absolute;
  bottom: -14px;
  height: 4px;
  width: 4px;
  border-radius: 999px;
  background: var(--bright);
  box-shadow: 0 0 10px 2px rgba(255,149,0,0.6);
  opacity: 0;
  animation: gf-ember 11s linear infinite;
}
@keyframes gf-ember {
  0%   { opacity: 0;   transform: translate3d(0, 0, 0) scale(0.6); }
  12%  { opacity: 0.85; }
  70%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translate3d(var(--drift, 30px), -78vh, 0) scale(0.25); }
}
.embers i:nth-child(1) { left: 12%; --drift:  34px; animation-delay: 0s;    animation-duration: 12s; }
.embers i:nth-child(2) { left: 31%; --drift: -22px; animation-delay: 2.6s;  animation-duration: 14s; }
.embers i:nth-child(3) { left: 58%; --drift:  40px; animation-delay: 5.1s;  animation-duration: 10s; }
.embers i:nth-child(4) { left: 74%; --drift: -30px; animation-delay: 7.4s;  animation-duration: 13s; }
.embers i:nth-child(5) { left: 89%; --drift:  18px; animation-delay: 3.8s;  animation-duration: 15s; }

@media (prefers-reduced-motion: reduce) {
  .embers { display: none; }
}

/* ── forge sub-label on the process steps ─────────────────────────────
   Scan / Report / Fix / Track are what we do; assay / mark / forge /
   temper is what it is. */
.step-forge {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11,8,7,0.38);
}
.step h3 + .step-forge { margin-top: 4px; }

/* ── strapline ────────────────────────────────────────────────────────── */
.strap {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
}
.strap--dark { color: var(--accent-lite); }
