/* ════════════════════════════════════════════════════════════════════════
   HONEYCOMB — design system v2 ("The Resolve")
   One visual universe built from the hexagon at three scales: substrate,
   structure (Hexlace cells + signal seams).
   Dark planetary foundation · metallic gold structure · semantic signal light.
   Static, dependency-free, accessible, reduced-motion aware.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Space (deep navy → near black) ── */
  --space-0: #04060c;   /* deepest */
  --space-1: #070a12;
  --space-2: #0b0f1b;
  --space-3: #111627;
  --space-4: #18203400; /* transparent helper */
  --panel:   #0c1019;
  --panel-2: #111726;

  /* ── Gold structure (the substrate of understanding) ── */
  --gold:      #f5b942;
  --gold-soft: #e3c489;
  --gold-deep: #b8860b;
  --cream:     #f7ecd4;

  /* ── Seams (gold lines at three intensities) ── */
  --seam:        rgba(229, 196, 137, 0.14);
  --seam-mid:    rgba(229, 196, 137, 0.30);
  --seam-strong: rgba(245, 185, 66, 0.55);
  --gold-glow:   rgba(245, 185, 66, 0.16);

  /* ── Semantic signal light (color = meaning, used sparingly) ── */
  --sig-data:   #4ea8d8;   /* cyan/electric blue — networks & data */
  --sig-safe:   #6fc48a;   /* emerald — verified / safe */
  --sig-ai:     #9d7be8;   /* violet — AI in a Day */
  --sig-warn:   #e8945a;   /* coral-amber — caution */
  --sig-alert:  #d6695a;   /* coral — safety checkpoint / stop */
  /* material-language aliases (restrained blue-violet energy) */
  --blue:       #5e8fc4;
  --violet:     #9d7be8;

  /* ── Text ── */
  --text-0: #f4f1ea;
  --text-1: #d9d5cb;
  --text-2: #a7a298;
  --text-3: #76716a;
  --text-4: #4a4640;

  /* ── Type ── */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Consolas, monospace;

  /* ── Light fields ── */
  --field-deep:
    radial-gradient(ellipse 140% 90% at 50% -20%, rgba(245,185,66,0.10), transparent 52%),
    radial-gradient(ellipse 100% 70% at 8% 18%, rgba(78,168,216,0.05), transparent 50%),
    radial-gradient(ellipse 90% 70% at 96% 88%, rgba(157,123,232,0.045), transparent 52%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(245,185,66,0.06), transparent 50%);
  --gradient-gold: linear-gradient(135deg, #f7d27a 0%, #f5b942 42%, #c9961f 100%);
  --horizon: linear-gradient(180deg, transparent, rgba(245,185,66,0.0) 40%, rgba(245,185,66,0.10) 78%, rgba(78,168,216,0.06) 100%);

  /* ── Depth ── */
  --lift-1: 0 2px 0 rgba(245,185,66,0.05) inset, 0 18px 50px -28px rgba(0,0,0,0.92);
  --lift-2: 0 1px 0 rgba(245,185,66,0.10) inset, 0 26px 70px -34px rgba(245,185,66,0.16), 0 22px 60px -30px rgba(0,0,0,0.92);
  --lift-glow: 0 0 0 1px var(--seam-mid), 0 24px 60px -28px rgba(245,185,66,0.30);

  /* ── Motion ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 220ms;
  --t-mid: 460ms;
  --t-slow: 820ms;

  /* ── Rhythm ── */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --hex-clip: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--space-0);
  color: var(--text-1);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.66;
  font-weight: 400;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Fixed atmosphere (3 strata, behind everything) ── */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmos-field { position: absolute; inset: -10%; background-image: var(--field-deep); }
.atmos-lattice {
  position: absolute; inset: -10%; opacity: 0.05;   /* approved pattern, 4–10% band */
  background-image: url("/assets/visuals/hex-pattern.webp?v=46");
  background-size: 384px 256px;
}
.atmos-horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42vh;
  background: var(--horizon); opacity: 0.7;
}
body > main, body > nav, body > footer, body > .sitewrap { position: relative; z-index: 2; }

/* ── Type scale ── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.012em; color: var(--text-0); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.accent { color: var(--gold); }
.accent-soft { color: var(--gold-soft); }
p { margin: 0 0 1.1em; }
a { color: var(--gold-soft); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--gold); }
strong { color: var(--text-0); font-weight: 600; }
::selection { background: var(--gold-glow); color: var(--cream); }

.lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--text-1); line-height: 1.6; }
.register { font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); display: inline-block; }
.mono { font-family: var(--mono); }

/* ── Layout ── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.scene { padding-block: clamp(64px, 11vh, 130px); position: relative; }
.scene-tight { padding-block: clamp(40px, 7vh, 72px); }
.center { text-align: center; }
.measure { max-width: 64ch; }
.measure-tight { max-width: 52ch; }

/* ── Luminous seam divider ── */
.seam-line { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--seam-strong) 50%, transparent); box-shadow: 0 0 18px rgba(245,185,66,0.22); }

/* ════════════════════════════════════════════════════════════
   HEXLACE — content cells + signal seams (the core structure)
   ════════════════════════════════════════════════════════════ */
.cell {
  position: relative;
  background:
    linear-gradient(158deg, var(--panel-2), var(--panel) 64%, var(--space-1));
  border: 1px solid var(--seam-mid);
  border-radius: 14px;
  padding: 30px 30px 32px;
  overflow: hidden;
  box-shadow: var(--lift-1);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
/* corner hex notch — a small structural mark, top-left */
.cell::before {
  content: ""; position: absolute; top: 14px; left: 14px; width: 12px; height: 11px;
  background: var(--seam-mid);
  clip-path: var(--hex-clip);
  transition: background var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
/* top sheen */
.cell::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(247,236,212,0.05), transparent 20%);
}
a.cell, .cell-link { cursor: pointer; }
a.cell:hover, .cell-link:hover, a.cell:focus-visible, .cell-link:focus-visible {
  transform: translateY(-5px);
  border-color: var(--gold-soft);
  box-shadow: var(--lift-2);
  outline: none;
}
a.cell:hover::before, .cell-link:hover::before, a.cell:focus-visible::before {
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .cell { transition: border-color var(--t-fast) var(--ease); }
  a.cell:hover, .cell-link:hover, a.cell:focus-visible { transform: none; }
}

/* A "signal cell" glows from one edge to read as lit/active */
.cell-signal::after {
  background:
    linear-gradient(180deg, rgba(247,236,212,0.05), transparent 20%),
    radial-gradient(ellipse 80% 50% at 50% -8%, var(--cell-glow, rgba(245,185,66,0.14)), transparent 70%);
}

/* Status chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; border: 1px solid var(--seam-mid); color: var(--gold-soft); background: rgba(245,185,66,0.05); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.chip-preview { color: var(--sig-data); border-color: rgba(78,168,216,0.3); background: rgba(78,168,216,0.06); }
.chip-preview::before { background: var(--sig-data); box-shadow: 0 0 8px var(--sig-data); }
.chip-live { color: var(--sig-safe); border-color: rgba(111,196,138,0.3); background: rgba(111,196,138,0.06); }
.chip-live::before { background: var(--sig-safe); box-shadow: 0 0 8px var(--sig-safe); }
.chip-review { color: var(--sig-warn); border-color: rgba(232,148,90,0.3); background: rgba(232,148,90,0.06); }
.chip-review::before { background: var(--sig-warn); box-shadow: 0 0 8px var(--sig-warn); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; padding: 14px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn-gold { background: var(--gradient-gold); color: #1a1205; font-weight: 600; box-shadow: 0 10px 30px -12px rgba(245,185,66,0.5); }
.btn-gold:hover, .btn-gold:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(245,185,66,0.6); color: #1a1205; outline: none; }
.btn-line { background: rgba(245,185,66,0.02); color: var(--gold-soft); border-color: var(--seam-mid); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--gold-soft); color: var(--gold); transform: translateY(-2px); background: rgba(245,185,66,0.06); outline: none; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--gold-soft); }
/* Gated CTAs (offers awaiting live checkout wiring): look inert, not clickable. */
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.35); box-shadow: none; }
.btn[aria-disabled="true"]:hover, .btn[aria-disabled="true"]:focus-visible { transform: none; box-shadow: none; }
.btn-gold[aria-disabled="true"]:hover { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:focus-visible { transform: none; } }

/* ── Skip link / a11y ── */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--space-3); color: var(--cream); padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 3px; }

/* ════════════════════════════════════════════════════════════
   NAVIGATION — slim, intent-based, hex-marked
   ════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, 0.7);
  border-bottom: 1px solid var(--seam);
}
.nav-inner { display: flex; align-items: center; gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { font-family: var(--display); font-size: 17px; letter-spacing: 0.01em; color: var(--text-0); line-height: 1; }
.brand-name small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em; color: var(--gold-soft); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-2); padding: 9px 13px; border-radius: 8px; transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); background: rgba(245,185,66,0.06); }
.nav-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; padding: 10px 18px; border-radius: 8px; background: var(--gradient-gold); color: #1a1205 !important; font-weight: 600; }
.nav-cta:hover { color: #1a1205; }
/* "Work With Us" — subtle gold-outlined link so the revenue lane stands out without shouting. */
.nav-svc { color: var(--gold-soft) !important; border: 1px solid var(--seam-mid); }
.nav-svc:hover, .nav-svc[aria-current="page"] { border-color: var(--gold-soft); background: rgba(245,185,66,0.08) !important; }
/* Keep the gold CTA treatment in every state — must beat .nav-links a[aria-current] */
.nav-links .nav-cta,
.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible,
.nav-links .nav-cta[aria-current="page"] {
  background: var(--gradient-gold);
  color: #1a1205 !important;
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--seam-mid); border-radius: 8px; padding: 8px; color: var(--gold-soft); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--gutter) 22px; background: #05070d; border-bottom: 1px solid var(--seam-mid); transform: translateY(-130%); transition: transform var(--t-mid) var(--ease); max-height: calc(100vh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav[data-open="true"] .nav-links { transform: translateY(0); }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid var(--seam); font-size: 14px; }
  .nav-cta { text-align: center; margin-top: 12px; }
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.foot { border-top: 1px solid var(--seam); margin-top: auto; padding-block: 56px 32px; background: linear-gradient(180deg, transparent, rgba(245,185,66,0.02)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 13.5px; color: var(--text-2); max-width: 32ch; }
.foot h4, .foot .foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot li a { font-size: 13.5px; color: var(--text-2); }
.foot li a:hover { color: var(--gold-soft); }
.foot-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--seam); font-size: 12px; color: var(--text-3); line-height: 1.6; }
.foot-bottom { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.foot-bottom a { color: var(--text-3); margin-left: 16px; }
.foot-bottom a:hover { color: var(--gold-soft); }

/* ── Reveal-on-scroll (progressive; visible by default if no JS) ── */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); animation: revealFailsafe 0.01s linear 4s forwards; }
.js .reveal.in { opacity: 1; transform: none; animation: none; }
/* If the reveal observer never runs (script error after .js is set), this keyframe
   forces content visible at 4s so nothing can stay stuck hidden. */
@keyframes revealFailsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Grid helpers ── */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ── Utility ── */
.no-js-only { display: none; }
.no-js .no-js-only { display: block; }
[hidden] { display: none !important; }
.stack-sm > * + * { margin-top: 10px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap { gap: 14px; }
.mt { margin-top: 26px; }
.mt-lg { margin-top: 44px; }

/* ════════════════════════════════════════════════════════════
   COMPATIBILITY PRIMITIVES — shared layout classes used across
   pages migrated from the legacy system. Part of the canonical
   design system now (not a bridge); honeycomb.css is standalone.
   ════════════════════════════════════════════════════════════ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(54px, 9vh, 104px); position: relative; }
.section-tight { padding-block: clamp(36px, 6vh, 64px); position: relative; }

.panel {
  position: relative;
  background: linear-gradient(158deg, var(--panel-2), var(--panel) 64%, var(--space-1));
  border: 1px solid var(--seam-mid);
  border-radius: 14px;
  padding: 30px 32px;
  box-shadow: var(--lift-1);
}
.panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(247,236,212,0.05), transparent 20%); }
a.panel, .panel-link { display: block; text-decoration: none; transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
a.panel:hover, .panel-link:hover, a.panel:focus-visible, .panel-link:focus-visible { transform: translateY(-4px); border-color: var(--gold-soft); box-shadow: var(--lift-2); outline: none; }
@media (prefers-reduced-motion: reduce) { a.panel:hover, .panel-link:hover { transform: none; } }

.form-note { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.form-fallback { font-size: 14px; color: var(--text-2); padding: 14px 16px; border: 1px solid var(--seam-mid); border-radius: 10px; background: rgba(245,185,66,0.03); }

.chip-soon { color: var(--sig-warn); border-color: rgba(232,148,90,0.3); background: rgba(232,148,90,0.06); }
.chip-soon::before { background: var(--sig-warn); box-shadow: 0 0 8px var(--sig-warn); }

/* reveal stagger delays */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* footer disclaimer (legacy pages) */
.footer-disclaimer { font-size: 12px; color: var(--text-3); line-height: 1.6; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--seam); }
.footer-bottom { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* ── Secondary-page primitives (native replacements for legacy substrate classes) ── */
.page-hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
/* Ambient depth on interior heroes — echoes the homepage door-glow so interior
   pages feel dimensional and premium rather than flat. Decorative, no JS.
   Clipped by the hero's overflow:hidden so it never creates horizontal scroll. */
.page-hero::before { content: ""; position: absolute; left: 50%; top: -20%; transform: translateX(-50%);
  width: min(1000px, 100%); height: 150%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 60% at 30% 30%, rgba(245,185,66,0.10), rgba(78,168,216,0.04) 46%, transparent 72%); }
.page-hero > .wrap, .page-hero > .container { position: relative; z-index: 1; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vh, 96px); position: relative; }
.section-head { margin-bottom: 32px; }
.panel { position: relative; background: linear-gradient(158deg, var(--panel-2), var(--panel) 64%, var(--space-1)); border: 1px solid var(--seam-mid); border-radius: 14px; padding: 28px 30px; box-shadow: var(--lift-1); }
.panel-link { display: block; text-decoration: none; transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.panel-link:hover, .panel-link:focus-visible { transform: translateY(-4px); border-color: var(--gold-soft); box-shadow: var(--lift-2); outline: none; }
@media (prefers-reduced-motion: reduce) { .panel-link:hover { transform: none; } }
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.deck-item h3 { margin-bottom: 8px; }
.deck-item p { color: var(--text-2); font-size: 14px; }
.deck-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-3); margin-top: 12px; }
.chip-soon, .chip-review { color: var(--sig-warn); border-color: rgba(232,148,90,0.3); background: rgba(232,148,90,0.06); }
.chip-soon::before, .chip-review::before { background: var(--sig-warn); box-shadow: 0 0 8px var(--sig-warn); }
.prose { max-width: 72ch; line-height: 1.75; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; color: var(--text-2); }
.form-note { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.form-fallback { font-size: 14px; color: var(--text-2); padding: 14px 16px; border: 1px solid var(--seam-mid); border-radius: 10px; background: rgba(245,185,66,0.04); }
.footer-disclaimer { font-size: 12px; color: var(--text-3); line-height: 1.6; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--seam); }
.footer-bottom { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* ── v4.3 mobile composition: reduce hero height, line length, and vertical
   spacing so the first actionable control comes into view sooner. ── */
@media (max-width: 640px) {
  .page-hero { padding: 40px 0 22px; }
  .page-hero h1, .scene h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1.08; }
  .lead { font-size: 1.02rem; line-height: 1.5; max-width: 38ch; }
  .scene { padding-block: clamp(30px, 5vh, 52px); }
  .section { padding-block: clamp(28px, 5vh, 48px); }
  /* tighten the register/eyebrow spacing */
  .register { margin-bottom: 8px; }
  /* prevent long runs of oversized identical cards: trim card padding on mobile */
  .deck-item, .panel { padding: 18px 18px; }
}

/* ════════════════════════════════════════════════════════════════════════
   ORIENTATION SYSTEM — breadcrumb, live journey map, prev/next/Core.
   Injected by /assets/orientation.js into <div data-orient>. Premium, restrained.
   ════════════════════════════════════════════════════════════════════════ */
.orient { border: 1px solid var(--seam-mid); border-radius: 13px; padding: 15px 18px 14px;
  background: linear-gradient(158deg, rgba(17,23,38,0.55), rgba(11,15,27,0.55));
  box-shadow: var(--lift-1); margin: 0 0 8px; }
/* Slim variant for utility/tool pages: a quiet single strip, no journey map. */
.orient-slim { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 11px 18px; background: rgba(11,15,27,0.4); }
.orient-slim .orient-crumb { margin: 0; }
.orient-slim .orient-nav { margin-top: 0; flex: 0 0 auto; gap: 8px; }
.orient-slim .orient-nav > * { flex: 0 0 auto; min-width: 0; padding: 8px 13px; }
.orient-slim .orient-nav .on-name { display: none; }
.orient-crumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.orient-crumb .oc-home { color: var(--text-3); text-decoration: none; }
.orient-crumb .oc-home:hover { color: var(--gold-soft); }
.orient-crumb .oc-sep { color: var(--text-4); }
.orient-crumb .oc-here { color: var(--cream); text-transform: uppercase; }
.orient-crumb .oc-stage { margin-left: auto; color: var(--gold-soft); text-transform: uppercase; font-size: 10px; border: 1px solid var(--seam-mid); padding: 3px 9px; border-radius: 999px; }
.orient-slim .oc-stage { margin-left: 4px; }
.orient-map { margin: 12px 0 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.orient-map svg { width: 100%; min-width: 380px; height: auto; display: block; }
@media (max-width: 680px){
  .orient-map { margin: 10px -4px 2px; padding-bottom: 4px; }
  .orient-map svg { min-width: 460px; }
  .orient-map .om-label { font-size: 11px; }
}
.orient-map .om-node { cursor: pointer; }
.orient-map .om-node circle { transition: r var(--t-fast) var(--ease), fill var(--t-fast) var(--ease); }
.orient-map .om-node:hover circle:first-child { stroke: var(--gold-soft); }
.orient-map .om-node:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.orient-map .om-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; fill: var(--text-3); }
.orient-map .om-label.is-current { fill: var(--gold); }
.orient-why { margin: 12px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.55; max-width: 64ch; }
.orient-nav { display: flex; align-items: stretch; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.orient-nav > * { flex: 1 1 0; min-width: 130px; display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  border: 1px solid var(--seam-mid); border-radius: 9px; padding: 11px 14px; background: rgba(6,8,14,0.5);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.orient-nav a:hover { border-color: var(--seam-strong); background: rgba(6,8,14,0.8); }
.orient-nav a:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.orient-nav .on-dir { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.orient-nav .on-name { font-size: 14px; color: var(--text-0); }
.orient-nav .on-next { text-align: right; }
.orient-nav .on-core { flex: 0 0 auto; min-width: 0; align-items: center; justify-content: center; flex-direction: row;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); border-color: var(--gold); }
.orient-nav .on-core:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.orient-nav .is-disabled { opacity: 0.4; }
@media (max-width: 680px){
  .orient { padding: 16px 16px 14px; }
  .orient-nav { gap: 8px; }
  .orient-nav > * { min-width: 100%; flex-basis: 100%; }
  .orient-nav .on-core { order: -1; }
  .orient-nav .on-next { text-align: left; }
}

/* ════════════════════════════════════════════════════════════════════════
   PRACTICE — Wallet Simulator (two-party agreement). Injected by practice-sim.js.
   ════════════════════════════════════════════════════════════════════════ */
#practice-sim { border:1px solid var(--seam-mid); border-radius:16px; padding:26px 28px 30px; background:linear-gradient(160deg, var(--panel-2), var(--panel) 60%, var(--space-1)); box-shadow:var(--lift-2); position:relative; }
.ps-head .ps-sub { font-size:13px; color:var(--text-2); margin:6px 0 0; }
.ps-steps { list-style:none; display:flex; gap:6px; margin:18px 0 22px; padding:0; flex-wrap:wrap; }
.ps-step { display:flex; align-items:center; gap:7px; font-family:var(--mono); font-size:10px; letter-spacing:0.06em; color:var(--text-3); border:1px solid var(--seam); border-radius:999px; padding:6px 11px; }
.ps-step .ps-no { width:16px; height:16px; border-radius:50%; background:var(--seam); color:var(--text-2); display:flex; align-items:center; justify-content:center; font-size:9px; }
.ps-step.is-current { color:var(--gold); border-color:var(--gold); }
.ps-step.is-current .ps-no { background:var(--gold); color:#0a0a0a; }
.ps-step.is-done { color:var(--gold-soft); cursor:pointer; }
.ps-step.is-done .ps-no { background:var(--gold-deep); color:#0a0a0a; }
.ps-step.is-done:focus-visible { outline:2px solid var(--gold-soft); outline-offset:2px; }
.ps-body h3 { font-size:1.2rem; margin:0 0 8px; }
.ps-lead { font-size:14.5px; color:var(--text-1); line-height:1.6; margin:0 0 16px; max-width:66ch; }
.ps-lead.ps-warn { color:var(--alert); }
.ps-note { font-size:13px; color:var(--text-2); line-height:1.55; margin:14px 0 0; border-left:2px solid var(--seam-strong); padding:4px 0 4px 14px; }
.ps-scenarios { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:18px; }
@media (max-width:620px){ .ps-scenarios{ grid-template-columns:1fr; } }
.ps-scn { text-align:left; display:flex; flex-direction:column; gap:3px; padding:14px 16px; border:1px solid var(--seam-mid); border-radius:10px; background:rgba(6,8,14,0.5); cursor:pointer; transition:border-color var(--t-fast) var(--ease); }
.ps-scn:hover { border-color:var(--seam-strong); }
.ps-scn.is-sel { border-color:var(--gold); background:rgba(245,185,66,0.06); }
.ps-scn b { font-size:15px; color:var(--text-0); }
.ps-scn span { font-size:12.5px; color:var(--text-2); }
.ps-agree { display:flex; align-items:stretch; gap:12px; flex-wrap:wrap; }
.ps-agree .ps-party { flex:1 1 200px; border:1px solid var(--seam-mid); border-radius:10px; padding:14px 16px; background:rgba(6,8,14,0.4); display:flex; flex-direction:column; gap:5px; }
.ps-agree .pp-role { font-family:var(--mono); font-size:9.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold-soft); }
.ps-agree .pp-line { font-size:14px; color:var(--text-1); }
.ps-agree .ps-vs { align-self:center; font-family:var(--mono); font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-3); }
.ps-routes { margin:8px 0; }
.pr-label { font-family:var(--mono); font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-3); display:block; margin-bottom:8px; }
.pr-list { display:flex; gap:8px; flex-wrap:wrap; }
.pr-chip { font-size:13px; color:var(--text-1); border:1px solid var(--seam-mid); border-radius:8px; padding:8px 12px; background:rgba(6,8,14,0.5); }
.pr-chip.is-stable { border-color:rgba(122,177,147,0.4); }
.pr-chip.is-good { border-color:var(--gold); color:var(--gold); background:rgba(245,185,66,0.07); }
.ps-compare { display:flex; flex-direction:column; gap:1px; background:var(--seam); border:1px solid var(--seam-mid); border-radius:10px; overflow:hidden; margin:6px 0; }
.pc-row { display:grid; grid-template-columns:1.6fr 0.9fr 0.9fr 0.9fr 1fr 0.9fr; gap:8px; align-items:center; padding:11px 14px; background:var(--panel); font-size:13px; color:var(--text-2); }
.pc-row.pc-head { font-family:var(--mono); font-size:9.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-3); background:var(--panel-2); }
.pc-row.is-sel { background:rgba(245,185,66,0.07); }
.pc-route { color:var(--text-0); font-weight:500; }
.pc-yes { color:var(--sig-safe,#8ab193); font-style:normal; }
.pc-no { color:var(--text-3); font-style:normal; }
.pc-pick { font-family:var(--mono); font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold-soft); background:transparent; border:1px solid var(--seam-mid); border-radius:6px; padding:6px 10px; cursor:pointer; }
.pc-pick:hover { border-color:var(--gold); }
@media (max-width:760px){ .pc-row{ grid-template-columns:1.4fr 1fr 1fr; } .pc-row span:nth-child(4),.pc-row span:nth-child(5){ display:none; } }
.ps-verify { display:flex; flex-direction:column; gap:8px; margin:6px 0 14px; }
.pv-item { display:flex; gap:12px; align-items:flex-start; border:1px solid var(--seam-mid); border-radius:10px; padding:13px 15px; cursor:pointer; background:rgba(6,8,14,0.4); transition:border-color var(--t-fast) var(--ease); }
.pv-item.is-checked { border-color:var(--sig-safe,#8ab193); background:rgba(122,177,147,0.06); }
.pv-item input { margin-top:3px; width:17px; height:17px; accent-color:var(--gold); flex:0 0 auto; }
.pv-txt b { display:block; font-size:14px; color:var(--text-0); }
.pv-txt span { font-size:12.5px; color:var(--text-2); }
.ps-addr { display:flex; flex-direction:column; gap:5px; border:1px dashed var(--seam-strong); border-radius:10px; padding:13px 15px; margin:6px 0; }
.ps-addr .pa-lab { font-family:var(--mono); font-size:9.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-3); }
.ps-addr code { font-family:var(--mono); font-size:15px; color:var(--cream); letter-spacing:0.06em; }
.ps-addr .pa-hint { font-size:12px; color:var(--text-2); }
.ps-wrongnet { margin:14px 0 0; }
.pw-toggle { font-family:var(--mono); font-size:11px; letter-spacing:0.06em; color:var(--alert); background:transparent; border:1px solid rgba(201,106,90,0.4); border-radius:8px; padding:9px 13px; cursor:pointer; }
.pw-toggle:hover { background:rgba(201,106,90,0.07); }
.pw-body { margin-top:10px; font-size:13px; color:var(--text-2); line-height:1.55; border-left:2px solid var(--alert); padding:4px 0 4px 14px; }
.ps-flow { display:flex; flex-direction:column; gap:10px; margin:6px 0 16px; }
.pf-stage { display:flex; flex-direction:column; gap:2px; border:1px solid var(--seam-mid); border-radius:10px; padding:13px 16px 13px 34px; position:relative; background:rgba(6,8,14,0.4); opacity:0; transform:translateY(6px); animation:pfIn 0.5s var(--ease) forwards; }
.pf-stage:nth-child(2){ animation-delay:0.5s; } .pf-stage:nth-child(3){ animation-delay:1s; } .pf-stage:nth-child(4){ animation-delay:1.5s; }
.pf-stage .pf-dot { position:absolute; left:14px; top:16px; width:10px; height:10px; border-radius:50%; background:var(--gold); box-shadow:0 0 10px rgba(245,185,66,0.6); }
.pf-stage b { font-size:14px; color:var(--text-0); }
.pf-stage span { font-size:12.5px; color:var(--text-2); }
@keyframes pfIn { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .pf-stage{ animation:none; opacity:1; transform:none; } }
.ps-done { font-size:13.5px; color:var(--text-1); border:1px solid var(--seam-mid); border-radius:10px; padding:14px 16px; background:rgba(122,177,147,0.05); }
.ps-controls { display:flex; gap:12px; justify-content:space-between; margin-top:22px; }
.ps-controls .btn { min-width:130px; }
.ps-controls .btn.is-armed { box-shadow:0 0 0 2px rgba(245,185,66,0.3); }
.ps-flash { position:absolute; left:50%; bottom:18px; transform:translateX(-50%) translateY(8px); background:rgba(6,8,14,0.95); border:1px solid var(--alert); color:var(--text-1); font-size:13px; padding:10px 16px; border-radius:8px; opacity:0; pointer-events:none; transition:opacity var(--t-fast) ease, transform var(--t-fast) ease; z-index:5; }
.ps-flash.on { opacity:1; transform:translateX(-50%); }

/* ════════════════════════════════════════════════════════════════════════
   HOMEPAGE JOURNEY MAP — clear Core → Learn → Practice → Assess → Solutions
   progression with nested contents. Replaces the old
   scattered product constellation. Premium, atmospheric, JS-independent.
   ════════════════════════════════════════════════════════════════════════ */
.journey { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: stretch;
  border: 1px solid var(--seam-mid); border-radius: 18px; padding: 24px;
  background: radial-gradient(ellipse 70% 120% at 8% 50%, rgba(245,185,66,0.08), transparent 60%), linear-gradient(150deg, rgba(17,23,38,0.6), rgba(8,11,18,0.6)); box-shadow: var(--lift-1); position: relative; }
.jr-core { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
  min-width: 132px; padding: 18px 16px; border-right: 1px solid var(--seam); position: relative; }
.jr-core .jrc-ring { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0.5; position: absolute; top: 14px; }
.jr-core .jrc-dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f7d27a, var(--gold-deep)); box-shadow: 0 0 18px rgba(245,185,66,0.55); margin-top: 14px; margin-bottom: 18px; }
.jr-core .jrc-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.jr-core .jrc-name { font-family: var(--display); font-size: 1.25rem; color: var(--text-0); }
.jr-core:hover .jrc-ring { opacity: 0.85; }
.jr-core:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 12px; }
.jr-track { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jr-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
/* connecting progression line behind the stage heads */
.jr-stages::before { content: ""; position: absolute; top: 16px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--seam-strong) 100%); opacity: 0.5; z-index: 0; }
.jr-stage { display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 1; }
.jrs-head { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 7px 0; }
.jrs-head .jrs-no { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.jrs-head .jrs-name { font-family: var(--display); font-size: 1.18rem; color: var(--text-0); display: inline-flex; align-items: center; gap: 8px; }
.jrs-head .jrs-name::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px rgba(245,185,66,0.6); flex: 0 0 auto; }
.jrs-head:hover .jrs-name { color: var(--gold); }
.jrs-head:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; border-radius: 8px; }
.jrs-inside { display: flex; flex-direction: column; gap: 5px; padding-left: 19px; border-left: 1px solid var(--seam); }
.jrs-inside a { font-size: 13px; color: var(--text-2); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.jrs-inside a::before { content: "↳ "; color: var(--text-4); }
.jrs-inside a:hover { color: var(--gold-soft); }
@media (max-width: 860px){
  .journey { grid-template-columns: 1fr; gap: 16px; }
  .jr-core { border-right: 0; border-bottom: 1px solid var(--seam); flex-direction: row; gap: 14px; min-width: 0; padding: 6px 4px 16px; justify-content: flex-start; }
  .jr-core .jrc-ring { position: static; width: 30px; height: 30px; }
  .jr-core .jrc-dot { position: absolute; left: 20px; margin: 0; }
  .jr-stages { grid-template-columns: 1fr 1fr; gap: 16px; }
  .jr-stages::before { display: none; }
}
@media (max-width: 520px){
  .jr-stages { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   MATERIAL LANGUAGE LAYER — "fluid Honeycomb"
   Molten-gold pathways (guidance/connection/value flow), organic connected
   structures, restrained blue-violet energy, alive-not-mechanical motion.
   All effects respect prefers-reduced-motion. Gold = flow, never decoration.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Page enter: a calm, premium settle (not a flashy transition) ── */
@keyframes hcPageEnter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js main#main { animation: hcPageEnter var(--t-mid) var(--ease) both; }
@media (prefers-reduced-motion: reduce){ .js main#main { animation: none; } }

/* ── Molten-gold pathway: a flowing dash that reads as value moving along a seam ──
   Apply .flow-path to an SVG <path>/<line> (stroke set by caller). The journey
   map and homepage seam use this so connections feel alive, not static. */
@keyframes hcFlow { to { stroke-dashoffset: -240; } }
.flow-path { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round;
  stroke-dasharray: 5 14; opacity: 0.55; animation: hcFlow 5.5s linear infinite; }
@media (prefers-reduced-motion: reduce){ .flow-path { animation: none; stroke-dasharray: 0; opacity: 0.4; } }

/* homepage journey seam: layer a flowing molten line over the static progression */
.jr-track { position: relative; }
.jr-flow { position: absolute; top: 16px; left: 6%; right: 6%; height: 2px; z-index: 0; overflow: hidden; pointer-events: none; }
.jr-flow::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, #f7d27a 50%, var(--gold) 82%, transparent);
  background-size: 220% 100%; opacity: 0.5; animation: hcSheen 6s linear infinite; }
@keyframes hcSheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce){ .jr-flow::before { animation: none; } }

/* ── Cards: organic gold-edge lift + a faint living inner warmth on hover ── */
.cell, .panel, .deck-item, .district, .goal-router a, .loop-cell {
  position: relative; transition: border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease); }
.cell:hover, .panel:hover, .deck-item:hover, .district:hover, .loop-cell:hover {
  border-color: var(--seam-mid); box-shadow: var(--lift-glow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce){
  .cell:hover, .panel:hover, .deck-item:hover, .district:hover, .loop-cell:hover { transform: none; } }

/* ── Active states: gold flow underline that draws in (guidance, not decoration) ── */
.nav-links a { position: relative; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--gradient-gold); border-radius: 2px;
  box-shadow: 0 0 10px rgba(245,185,66,0.5); transform-origin: left;
  animation: hcDrawIn var(--t-mid) var(--ease) both; }
@keyframes hcDrawIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce){ .nav-links a[aria-current="page"]::after { animation: none; } }

/* ── Loading / fallback: a living molten-gold shimmer instead of a dead spinner ── */
.hc-loading { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.hc-loading::before { content: ""; width: 56px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%; animation: hcSheen 1.4s linear infinite; }
@media (prefers-reduced-motion: reduce){ .hc-loading::before { animation: none; background: var(--seam-mid); } }

/* ── Orientation map: make the progress seam molten ── */
.orient-map .om-progress { animation: hcDash 4s linear infinite; }
@keyframes hcDash { to { stroke-dashoffset: -120; } }
@media (prefers-reduced-motion: reduce){ .orient-map .om-progress { animation: none; } }


/* ════════════════════════════════════════════════════════════════════════
   Available-Now service pages (AI in a Day, Readiness Review, Prep, Status)
   Built additively on the existing design system — navy/ivory/molten-gold.
   ════════════════════════════════════════════════════════════════════════ */
.wrap-narrow { max-width: 920px; margin-inline: auto; }
.section-portal { position: relative; }

/* hero price badge */
.svc-price-badge { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--gold-soft);
  padding: 9px 14px; border: 1px solid var(--seam-mid); border-radius: 8px; background: rgba(245,185,66,0.05); }

/* four prose columns: who / covers / leave-with / not-do */
.prose-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
@media (max-width: 760px) { .prose-cols { grid-template-columns: 1fr; } }
.pcol-h { font-size: 1.18rem; margin-bottom: 12px; }
.pcol p { color: var(--text-2); line-height: 1.6; margin: 0; }
.ticked, .crossed { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.ticked li, .crossed li { position: relative; padding-left: 28px; color: var(--text-2); line-height: 1.5; font-size: 14.5px; }
.ticked li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px;
  background: var(--emerald, #6fc48a); clip-path: var(--hex-clip); opacity: 0.9; }
.ticked li::after { content: "✓"; position: absolute; left: 3px; top: 1px; font-size: 10px; color: #06140c; font-weight: 700; }
.crossed li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px;
  background: var(--seam-mid); clip-path: var(--hex-clip); }
.crossed li::after { content: "×"; position: absolute; left: 4px; top: 0; font-size: 13px; color: var(--text-3); }
.pcol-not .pcol-h em { color: var(--text-1); font-style: normal; border-bottom: 1px solid var(--seam-mid); }

/* scope callout */
.scope-callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--seam-mid);
  border-left: 3px solid var(--gold); border-radius: 12px; background: rgba(245,185,66,0.05); }
.scope-callout .scope-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); padding: 5px 9px; border: 1px solid var(--seam-mid); border-radius: 7px; white-space: nowrap; margin-top: 1px; flex: none; }
.scope-callout p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* intake form */
.intake { margin-top: 30px; }
@media (max-width: 680px) {
  .intake { margin-top: 26px; }
  .intake-grid { gap: 20px; }
  .intake label { gap: 9px; }
  .scene .svc-head .lead { margin-bottom: 6px; }
}
/* Browser autofill paints inputs white/yellow — a hard clash on the dark canon. */
.intake input:-webkit-autofill, .intake textarea:-webkit-autofill, .intake select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0b0f1a inset; -webkit-text-fill-color: var(--cream);
  caret-color: var(--cream); transition: background-color 9999s ease-out; }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .intake-grid { grid-template-columns: 1fr; } }
.intake label { display: flex; flex-direction: column; gap: 7px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.intake .intake-wide { grid-column: 1 / -1; }
.intake input, .intake select, .intake textarea { font-family: var(--sans); font-size: 15px; color: var(--cream);
  background: rgba(8,11,18,0.7); border: 1px solid var(--seam-mid); border-radius: 9px; padding: 12px 14px;
  text-transform: none; letter-spacing: 0; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.intake input:focus, .intake select:focus, .intake textarea:focus { outline: none; border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(245,185,66,0.12); }
.intake textarea { resize: vertical; min-height: 84px; }
.intake-ack { flex-direction: row !important; align-items: flex-start; gap: 12px; margin-top: 20px;
  text-transform: none !important; letter-spacing: 0 !important; font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--text-2) !important; line-height: 1.5; }
.intake-ack input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--gold); }
.intake-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.intake-note { font-size: 13px; color: var(--gold-soft); }

/* status page list */
.status-list { display: flex; flex-direction: column; gap: 12px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px;
  border: 1px solid var(--seam-mid); border-radius: 13px; background: var(--panel); }
.status-main { display: flex; flex-direction: column; gap: 4px; }
.status-name { font-family: var(--display); font-size: 1.16rem; color: var(--cream); }
.status-name a { color: var(--cream); text-decoration: none; }
.status-name a:hover { color: var(--gold-soft); }
.status-note { font-size: 13px; color: var(--text-3); line-height: 1.45; max-width: 60ch; }
.status-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 8px; white-space: nowrap; flex: none; }
.sb-live { color: #6fc48a; border: 1px solid rgba(111,196,138,0.4); background: rgba(111,196,138,0.08); }
.sb-soon { color: var(--sig-warn, #e8945a); border: 1px solid rgba(232,148,90,0.4); background: rgba(232,148,90,0.07); }
.sb-review { color: var(--gold-soft); border: 1px solid var(--seam-mid); background: rgba(245,185,66,0.05); }
.sb-off { color: var(--text-3); border: 1px solid var(--seam); background: rgba(255,255,255,0.02); }
@media (max-width: 560px) {
  .status-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ════════════════════════════════════════════════════════════════════════
   Practice — pathways map + multi-wallet workbench (educational simulation)
   ════════════════════════════════════════════════════════════════════════ */
.pathmap { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:18px; align-items:stretch; margin:30px 0 8px; }
.pm-col { padding:22px 22px; border:1px solid var(--seam-mid); border-radius:14px; background:linear-gradient(158deg, rgba(20,27,44,0.7), rgba(11,15,27,0.85)); }
.pm-h { font-size:1.05rem; margin:0 0 14px; padding-bottom:10px; border-bottom:1px solid var(--seam); display:flex; align-items:center; gap:8px; }
.pm-h::before { content:""; width:10px; height:9px; clip-path:var(--hex-clip); flex:none; }
.pm-in::before { background:var(--sig-data,#4ea8d8); }
.pm-move::before { background:var(--gold); }
.pm-out::before { background:var(--sig-safe,#6fc48a); }
.pm-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px; }
.pm-list li { font-size:13.5px; color:var(--text-2); line-height:1.5; }
.pm-list li b { color:var(--text-1); font-weight:600; }
.pm-arrow { align-self:center; font-size:1.6rem; color:var(--gold-soft); opacity:0.7; }
@media (max-width:880px){
  .pathmap { grid-template-columns:1fr; }
  .pm-arrow { transform:rotate(90deg); justify-self:center; margin:-4px 0; }
}

/* workbench */
#workbench .wb-head h3 { font-size:1.3rem; margin:0 0 6px; }
#workbench .wb-head p { color:var(--text-2); font-size:14px; line-height:1.55; max-width:70ch; margin:0 0 20px; }
.wb-group { margin-bottom:26px; }
.wb-grouphead { display:flex; align-items:center; gap:9px; font-size:0.95rem; color:var(--text-1); margin:0 0 14px; font-family:var(--display); font-weight:500; }
.wb-grouphead small { color:var(--text-3); font-family:var(--sans); font-size:12.5px; font-weight:400; }
.wb-dot { width:9px; height:9px; border-radius:50%; flex:none; }
.wb-dot-you { background:var(--gold); box-shadow:0 0 8px var(--gold-glow); }
.wb-dot-them { background:var(--text-4); }
.wb-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:860px){ .wb-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .wb-grid { grid-template-columns:1fr; } }
.wb-card { padding:18px 18px 16px; border:1px solid var(--seam); border-radius:14px; background:rgba(12,16,25,0.5); display:flex; flex-direction:column; gap:9px; transition:border-color var(--t-fast) var(--ease); }
.wb-card:hover { border-color:var(--seam-mid); }
.wb-owned { background:linear-gradient(158deg, rgba(245,185,66,0.05), rgba(12,16,25,0.6)); border-color:rgba(245,185,66,0.22); }
.wb-owned:hover { border-color:var(--gold-soft); }
.wb-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.wb-name { font-family:var(--display); font-size:1.08rem; color:var(--cream); line-height:1.2; }
.wb-net { font-family:var(--mono); font-size:8.5px; letter-spacing:0.1em; text-transform:uppercase; padding:3px 7px; border:1px solid; border-radius:6px; white-space:nowrap; flex:none; margin-top:2px; }
.wb-plain { font-size:13px; color:var(--text-1); line-height:1.45; }
.wb-meta { display:flex; }
.wb-role { font-size:11px; color:var(--text-3); font-style:italic; }
.wb-bals { display:flex; flex-wrap:wrap; gap:6px 8px; }
.wb-bal { font-family:var(--mono); font-size:12px; color:var(--gold-soft); background:rgba(245,185,66,0.06); padding:3px 8px; border-radius:6px; }
.wb-bal span { color:var(--text-3); font-size:10px; }
.wb-request { font-size:12.5px; color:var(--text-1); padding:9px 11px; background:rgba(78,168,216,0.07); border:1px solid rgba(78,168,216,0.25); border-radius:9px; }
.wb-request b { color:var(--sig-data,#4ea8d8); }
.wb-request small { color:var(--text-3); }
.wb-card-foot { margin-top:auto; padding-top:10px; border-top:1px solid var(--seam); display:flex; flex-direction:column; gap:10px; }
.wb-addr { font-family:var(--mono); font-size:10.5px; color:var(--text-3); }
.wb-card-actions { display:flex; gap:8px; }
.wb-copy, .wb-pay { font-family:var(--mono); font-size:11px; padding:8px 13px; border-radius:8px; cursor:pointer; border:1px solid var(--seam-mid); background:rgba(255,255,255,0.02); color:var(--text-1); transition:border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.wb-copy:hover, .wb-pay:hover { border-color:var(--gold-soft); color:var(--gold); background:rgba(245,185,66,0.06); }
.wb-pay { background:var(--gradient-gold); color:#1a1205; border-color:transparent; font-weight:600; }
.wb-pay:hover { color:#1a1205; }
.wb-send, .wb-receive { padding:22px 22px; border:1px solid var(--seam-mid); border-radius:13px; background:rgba(12,16,25,0.5); margin-bottom:16px; }
.wb-send h4, .wb-receive h4 { font-size:1.1rem; margin:0 0 14px; }
.wb-row { display:flex; align-items:center; gap:12px; margin-bottom:13px; flex-wrap:wrap; }
.wb-row > label { font-family:var(--mono); font-size:10px; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-3); width:96px; flex:none; }
.wb-row select, .wb-row input { font-family:var(--sans); font-size:14px; color:var(--cream); background:rgba(8,11,18,0.7); border:1px solid var(--seam-mid); border-radius:8px; padding:10px 12px; flex:1; min-width:0; }
.wb-row input:focus, .wb-row select:focus { outline:none; border-color:var(--gold-soft); box-shadow:0 0 0 3px rgba(245,185,66,0.12); }
.wb-fromnet { font-family:var(--mono); font-size:11px; color:var(--text-3); }
.wb-row button, .wb-netbtn, .wb-assetbtn, .wb-chip { font-family:var(--mono); font-size:12px; padding:9px 14px; border-radius:8px; cursor:pointer; border:1px solid var(--seam-mid); background:transparent; color:var(--text-1); transition:border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.wb-row button:hover, .wb-netbtn:hover, .wb-assetbtn:hover, .wb-chip:hover { border-color:var(--gold-soft); color:var(--gold); }
.wb-netgroup { display:flex; gap:8px; flex-wrap:wrap; flex:1; }
.wb-netbtn.on, .wb-assetbtn.on { background:var(--gradient-gold); color:#1a1205; border-color:transparent; }
#wbSendBtn { background:var(--gradient-gold); color:#1a1205; border-color:transparent; font-weight:600; }
.wb-send-actions { justify-content:flex-end; }
.wb-send-actions button.ghost, #wbTest { background:transparent; color:var(--text-2); }
.wb-verify { margin:6px 0 14px; }
.wb-vbar { display:flex; align-items:center; gap:6px; font-family:var(--mono); font-size:14px; padding:10px 14px; border-radius:8px; border:1px solid var(--seam-mid); }
.wb-vok { border-color:rgba(111,196,138,0.5); background:rgba(111,196,138,0.07); }
.wb-vwarn { border-color:rgba(232,148,90,0.5); background:rgba(232,148,90,0.07); }
.wb-vneutral { font-family:var(--mono); font-size:12px; color:var(--text-3); }
.wb-vchunk { color:var(--cream); letter-spacing:0.05em; }
.wb-vmid { color:var(--gold-soft); }
.wb-vdots { color:var(--text-4); }
.wb-vlabel { font-size:12px; color:var(--text-3); margin-top:7px; }
.wb-vlabel b { color:var(--text-1); }
.wb-sub { font-size:13px; color:var(--text-3); margin:0 0 12px; }
.wb-chips { display:flex; flex-wrap:wrap; gap:9px; }
.wb-coach { padding:16px 18px; border-radius:11px; border:1px solid var(--seam-mid); background:rgba(8,11,18,0.55); border-left:3px solid var(--gold-soft); transition:border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.wb-coach p { margin:0; font-size:13.5px; color:var(--text-1); line-height:1.55; }
.wb-coach[data-tone="ok"] { border-left-color:var(--sig-safe,#6fc48a); background:rgba(111,196,138,0.06); }
.wb-coach[data-tone="warn"] { border-left-color:var(--sig-warn,#e8945a); background:rgba(232,148,90,0.06); }
.sim-note { font-size:12px; color:var(--text-3); line-height:1.5; margin-top:14px; }

/* ── Section atmosphere textures (generated hex bands, very low opacity) ── */
.scene.has-texture { position: relative; }
.scene.has-texture::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("/assets/texture-1.webp?v=46"); background-size: cover; background-position: center;
  opacity: 0.12; mix-blend-mode: screen; }
.scene.has-texture.tex-2::before { background-image: url("/assets/texture-2.webp?v=46"); }
.scene.has-texture > * { position: relative; z-index: 1; }

/* ── Homepage journey map: the guided path made visible ── */
.journey { margin: 34px 0 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.journey svg { width: 100%; min-width: 640px; height: auto; display: block; }
.j-seam { stroke: var(--seam-mid); stroke-width: 2; fill: none; }
.j-pulse { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round;
  stroke-dasharray: 70 730; stroke-dashoffset: 800; opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(245,185,66,0.55));
  animation: j-travel 6s linear infinite; }
@keyframes j-travel { to { stroke-dashoffset: 0; } }
.j-cell { fill: rgba(12,16,25,0.92); stroke: none; }
.j-ring { fill: none; stroke: var(--seam-mid); stroke-width: 2; transition: stroke 0.25s var(--ease); }
.j-node { text-decoration: none; cursor: pointer; }
.j-node:hover .j-ring, .j-node:focus-visible .j-ring { stroke: var(--gold); filter: drop-shadow(0 0 8px rgba(245,185,66,0.5)); }
.j-node:hover .j-ic, .j-node:focus-visible .j-ic { stroke: var(--gold); }
.j-here .j-ring { stroke: var(--gold-soft); }
.j-dot { fill: var(--gold); animation: j-breathe 2.6s ease-in-out infinite; }
@keyframes j-breathe { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.j-ic { stroke: var(--cream); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s var(--ease); }
.j-ic rect { fill: none; }
.j-ic .j-ic-hot { fill: rgba(245,185,66,0.35); stroke: var(--gold-soft); }
.j-ic circle { fill: var(--cream); stroke: none; }
.j-label { fill: var(--text-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; text-anchor: middle; }
.j-node:hover .j-label { fill: var(--cream); }
.j-num { fill: var(--gold-soft); }
@media (prefers-reduced-motion: reduce) {
  .j-pulse { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; opacity: 0.25; }
  .j-dot { animation: none; opacity: 0.9; }
}

/* ---- Journey rail ("Where next") — injected by assets/journey.js ---- */
.journey-next { padding: 64px 0 72px; border-top: 1px solid var(--seam); position: relative; }
.journey-next h2 { margin: 6px 0 26px; }
.jn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.jn-card { display: block; background: var(--panel); border: 1px solid var(--seam); border-radius: 12px; padding: 22px 24px; text-decoration: none; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.jn-card { position: relative; overflow: hidden; }
.jn-card::before { content: ""; position: absolute; inset: 0; background: url("/assets/visuals/hex-pattern.webp?v=46") center/420px; opacity: 0.04; pointer-events: none; }
.jn-card:hover { transform: translateY(-3px); border-color: var(--gold-deep); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.jn-card h3 { font-family: var(--body); font-weight: 600; font-size: 16px; color: var(--text-0); margin-bottom: 6px; }
.jn-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin-bottom: 12px; }
.jn-go { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.jn-lead { border-color: rgba(245,185,66,0.35); background: linear-gradient(160deg, rgba(245,185,66,0.05), var(--panel) 55%); }
@media (prefers-reduced-motion: reduce) { .jn-card, .jn-card:hover { transform: none; } }

/* ---- Discovery intake (progressive 3-step) — assets/discovery.js ---- */
.disc { max-width: 640px; }
.disc-prog { display: block; margin-bottom: 16px; font-size: 10px; }
.disc-step { border: 0; padding: 0; margin: 0 0 8px; }
.disc-q { font-family: var(--display); font-size: 1.25rem; color: var(--text-0); margin-bottom: 8px; }
.disc-sub { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.disc-opts { display: grid; gap: 9px; }
.disc-opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 15px; border: 1px solid var(--seam-mid); border-radius: 10px; background: rgba(8,11,18,0.5); cursor: pointer; line-height: 1.45; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.disc-opt:hover { border-color: var(--gold-soft); background: rgba(245,185,66,0.05); }
.disc-opt.sel { border-color: var(--gold); background: rgba(245,185,66,0.08); }
.disc-opt input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--gold); }
.disc-opt span { color: var(--text-1); font-size: 14.5px; }
.disc-opt-inline { display: inline-flex; padding: 9px 14px; }
.disc-ta { display: block; width: 100%; background: rgba(8,11,18,0.7); border: 1px solid var(--seam-mid); border-radius: 10px; color: var(--cream); font: 400 15px/1.55 var(--sans); padding: 12px 14px; resize: vertical; min-height: 96px; }
.disc-ta:focus { outline: none; border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(245,185,66,0.12); }
.disc-count { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); margin: 6px 0 14px; text-align: right; }
.disc-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.disc-field input { font-family: var(--sans); font-size: 15px; color: var(--cream); background: rgba(8,11,18,0.7); border: 1px solid var(--seam-mid); border-radius: 9px; padding: 12px 14px; text-transform: none; letter-spacing: 0; }
.disc-field input:focus { outline: none; border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(245,185,66,0.12); }
.disc-pref { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.disc-pref-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.disc-ack { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 12px; color: var(--text-1); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.disc-ack input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--gold); }
.disc-warn { color: var(--gold-soft); font-size: 13.5px; border: 1px solid rgba(245,185,66,0.35); border-radius: 9px; padding: 10px 14px; margin-bottom: 14px; }
.disc-btn { margin-top: 4px; }
.disc-done .disc-q { color: var(--gold); }
@media (max-width: 680px) { .disc-opts { gap: 11px; } .disc-field { margin-bottom: 18px; } }

/* ---- Approved visual: page-hero media banner ---- */
.hero-media { margin-top: 34px; }
.hero-media img { display: block; width: 100%; height: clamp(160px, 30vw, 320px); object-fit: cover; border-radius: 14px; border: 1px solid var(--seam-mid); opacity: 0.92; }


/* ════════════════════════════════════════════════════════════════════════
   v3.3 — CUTOFF FIXES + PREMIUM POLISH
   ════════════════════════════════════════════════════════════════════════ */

/* 1. Anchor targets scroll clear of the sticky nav (was: headings hidden under it) */
[id] { scroll-margin-top: 92px; }

/* 2. Typography that never cuts or orphans: balanced headings, no mid-word clips */
h1, h2, h3, h4 { text-wrap: balance; overflow-wrap: break-word; }
p, .lead, li { overflow-wrap: break-word; }
@supports (text-wrap: pretty) { p, .lead { text-wrap: pretty; } }

/* 3. Illustrated banners shown WHOLE — never cover-cropped.
   The visual family (learn/assess/practice/services) carries baked-in
   labels; cover-cropping cut those words off. Art is framed, not cropped. */
.hero-media--art { max-width: 720px; margin-inline: auto; }
.hero-media--art img { height: auto; max-height: none; object-fit: unset; opacity: 1; }
.hero-media--art.is-portrait { max-width: 400px; }

/* 4. Status badges may wrap on small phones instead of clipping */
@media (max-width: 420px) { .status-badge { white-space: normal; text-align: right; } }

/* 5. Long unbroken strings (addresses, hashes) wrap instead of overflowing */
code, .wb-addr, .mono { overflow-wrap: anywhere; }

/* 6. Premium settle on framed art: hairline + inner glow, consistent with panels */
.hero-media--art img { border: 1px solid var(--seam-mid); box-shadow: var(--lift-1); }
