/* ==========================================================================
   STARZ STATIONZ TECHNOLOGIES — visual system 02
   --------------------------------------------------------------------------
   Palette is taken from the official Brand Color & Visual Identity Guide
   (assets/brand/brand-color-guide.pdf), not invented:

     STARZ BLUE        #006BFF   dark #0038B8   highlight #00A8FF
     STATIONZ GREEN    #39D353   dark #168A2F   highlight #7CFF00
     STAR ORANGE-GOLD  #FF9D00   dark #E87500   highlight #FFD166
     BLACK             #000000   ← "primary dark presentation background"
     WHITE             #FFFFFF
     PREMIUM SILVER    #C7CDD4

   ROLE DISCIPLINE — this is what stops three brand colours reading as rainbow.
   Each colour has exactly one job and never takes another's:
     BLUE   interactive. Primary CTA (white text, per the guide), links, focus.
     GOLD   editorial. Section numbers, data pulses, active/selected states,
            the one highlighted element in a diagram.
     GREEN  status only. Live dots. Never decorative.
   The guide's own rule: no purple, pink, rainbow or unrelated accents.

   TYPE — gapped scale, five steps, big jumps, no mid-tones. Never more than
   three sizes visible in one section; that is what stops a page reading as
   documentation.

   COMPOSITION — there is deliberately no generic .card. Each section owns its
   own shape.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Ground. True black, per the guide — and the logo is drawn on black, so it
     composites onto the page with no visible container. */
  /* RishiV1: lifted from pure black -- "abit too dark lah", 2026-09-15; lifted again to
     the slate of the approved homepage preview ("abit more bright"), 2026-10-15. */
  --black:    #1b2230;
  --raised:   #232b3a;
  --elevated: #2b3446;
  --high:     #354057;

  /* Text, contrast-checked on every surface it sits on. Worst case is
     --faint on --elevated at 4.8:1, which clears WCAG AA for normal text. */
  --white:  #ffffff;
  --silver: #c7cdd4;   /* brand Premium Silver — secondary text */
  --muted:  #a3abb4;    /* 5.4:1 on --elevated */
  --faint:  #9aa2ab;    /* 4.8:1 on --elevated, the worst surface it sits on */

  /* Hairlines carry the structure that borders used to. */
  --hair:   rgba(255, 255, 255, 0.09);
  --hair-2: rgba(255, 255, 255, 0.17);
  --hair-3: rgba(255, 255, 255, 0.30);

  /* Brand — interactive */
  --ui:      #006bff;
  --ui-dk:   #0038b8;
  --ui-hi:   #00a8ff;
  --ui-wash: rgba(0, 107, 255, 0.13);
  --ui-dim:  rgba(0, 107, 255, 0.34);

  /* Brand — editorial accent */
  --gold:      #ff9d00;
  --gold-dk:   #e87500;
  --gold-hi:   #ffd166;
  --gold-wash: rgba(255, 157, 0, 0.10);
  --gold-dim:  rgba(255, 157, 0, 0.30);
  --on-gold:   #000000;   /* guide: black/dark text on the gold CTA */

  /* Brand — status */
  --live:      #39d353;
  --live-wash: rgba(57, 211, 83, 0.14);

  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-hero: clamp(3.1rem, 1rem + 8.8vw, 9rem);
  --fs-h2:   clamp(2.25rem, 1.25rem + 4.4vw, 5rem);
  --fs-h3:   clamp(1.2rem, 1.08rem + 0.62vw, 1.6rem);
  --fs-body: clamp(1.05rem, 1rem + 0.35vw, 1.19rem);
  --fs-sm:   0.95rem;
  --fs-mono: 0.72rem;

  --pad:     clamp(1.15rem, 0.4rem + 3.2vw, 4.5rem);
  --section: clamp(5rem, 3rem + 9vw, 12rem);
  --maxw:    1440px;
  --measure: 62ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.28s;

  --header-h: 76px;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
.icon { width: 18px; height: 18px; }   /* inline SVGs carry no intrinsic size */

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 0.96;
  text-wrap: balance;
}
h3, h4 { letter-spacing: -0.02em; line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* The UA rule for [hidden] is display:none and any author display rule beats
   it. Toggling the attribute is the accessible way to hide — make it win. */
[hidden] { display: none !important; }

::selection { background: var(--ui); color: var(--white); }
:focus-visible { outline: 2px solid var(--ui-hi); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; left: 14px; top: -100px; z-index: 300;
  padding: 0.7rem 1.1rem; background: var(--ui); color: var(--white);
  font-weight: 600; border-radius: 6px; transition: top 0.2s var(--ease);
}
.skip:focus { top: 14px; }

.vh {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
main { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 1020px; }

.sect { padding-block: var(--section); position: relative; }
.sect-sm { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); }
.sect-raised { background: var(--raised); }
.sect-line { border-top: 1px solid var(--hair); }

.opener { max-width: 24ch; margin-bottom: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
.opener h1, .opener h2 { font-size: var(--fs-h2); }
.opener .say { max-width: 46ch; margin-top: 1.4rem; }
.opener-wide { max-width: 34ch; }

.opener-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 1.5rem + 3.5vw, 5rem);
}
.opener-row .opener { margin-bottom: 0; }

/* The number is real information — the section's position in the page. */
.tag {
  display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.5rem;
  font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
}
.tag b { color: var(--gold); font-weight: 500; }
.tag::after {
  content: ""; flex: 1; max-width: 90px; height: 1px;
  background: linear-gradient(90deg, var(--hair-2), transparent);
}

.say { color: var(--muted); }
.say-lg { color: var(--silver); font-size: var(--fs-body); }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  border: 1px solid var(--hair-2); border-radius: 999px;
  background: transparent; color: var(--white);
  font-family: var(--body); font-size: 0.94rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform var(--dur) var(--out); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }

/* Guide: Primary CTA #006BFF, hover #0038B8, white text. */
.btn-pri { background: var(--ui); border-color: var(--ui); color: var(--white); }
.btn-pri:hover { background: var(--ui-dk); border-color: var(--ui-dk); }

/* Guide: Premium CTA #FF9D00, hover #E87500, black text. Used sparingly. */
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); }

.btn-sec:hover { border-color: var(--hair-3); background: rgba(255, 255, 255, 0.05); }
.btn-block { width: 100%; }
.btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.tl {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--white);
  padding-bottom: 0.3rem; border-bottom: 1px solid var(--hair-2);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tl svg { width: 15px; height: 15px; transition: transform var(--dur) var(--out); }
.tl:hover { color: var(--ui-hi); border-color: var(--ui); }
.tl:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hdr.stuck {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hair);
}

.nav { display: flex; align-items: center; gap: 1.75rem; height: var(--header-h); transition: height var(--dur) var(--ease); }
.hdr.stuck .nav { height: 64px; }

.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
/* The mark ships on black, so on a black ground it needs no container. */
.brand img { width: 34px; height: 34px; border-radius: 6px; background: #000; }  /* mark is drawn on black */
.brand-txt {
  display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.brand-txt b { font-weight: 600; color: var(--white); }
.brand-txt span { color: var(--gold); font-size: 0.58rem; letter-spacing: 0.2em; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav-link {
  position: relative; padding: 0.5rem 0.9rem; font-size: 0.94rem;
  color: var(--muted); transition: color var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.on { color: var(--white); }
.nav-link.on::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.05rem;
  height: 1px; background: var(--gold);
}

.nav-side { display: flex; align-items: center; gap: 0.6rem; margin-left: 1.25rem; }
.nav-side .btn { min-height: 42px; padding: 0.45rem 1.15rem; font-size: 0.85rem; }
.nav-portal {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--hair);
  font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-portal:hover { border-color: var(--ui-dim); color: var(--white); }
.nav-portal svg { width: 13px; height: 13px; }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--hair-2); border-radius: 8px; background: transparent; cursor: pointer;
}
.burger span { position: relative; display: block; width: 18px; height: 12px; }
.burger i {
  position: absolute; left: 0; width: 18px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity 0.15s linear;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 5.25px; }
.burger i:nth-child(3) { top: 10.5px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  display: flex; flex-direction: column; padding: 1.5rem var(--pad) 2.5rem;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--hair); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) linear;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; }
.d-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 0; border-bottom: 1px solid var(--hair);
  font-family: var(--display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em;
}
.d-link svg { width: 18px; height: 18px; color: var(--faint); }
.d-link.on { color: var(--gold); }
.drawer-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.7rem; }
.drawer-meta { margin-top: 1.5rem; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
body.locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. HERO — asymmetric: type left, live system right, rail beneath
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 4vw, 5rem); overflow: hidden; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center; gap: clamp(1.5rem, 0.5rem + 3vw, 4rem);
  min-height: clamp(430px, 60vh, 700px);
}

/* Guide: premium metallic lockup belongs in hero areas. */
.hero-lockup { width: clamp(190px, 21vw, 290px); margin-bottom: 0.5rem; background: #000; border-radius: 12px; padding: .6rem .9rem; }

.hero h1 {
  font-size: var(--fs-hero); font-weight: 600;
  letter-spacing: -0.055em; line-height: 0.88; margin-top: 1.5rem;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; }

.hero-line {
  margin-top: 1.9rem; font-family: var(--mono);
  font-size: clamp(0.8rem, 0.74rem + 0.3vw, 0.95rem);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver);
}
.hero .btns { margin-top: 2.4rem; }

.hero-stage { position: relative; align-self: stretch; min-height: 320px; }
#sysCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Capability rail — deliberately the thinnest thing on the page */
.rail {
  display: flex; align-items: center; gap: clamp(0.9rem, 2.6vw, 3.25rem); flex-wrap: wrap;
  padding-block: 1.5rem clamp(2.5rem, 2rem + 2vw, 4rem);
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-top: 1px solid var(--hair);
  font-family: var(--mono); font-size: var(--fs-mono);
  letter-spacing: 0.22em; text-transform: uppercase;
}
.rail .lead { color: var(--faint); margin-right: auto; }
.rail a { color: var(--silver); transition: color var(--dur) var(--ease); }
.rail a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   7. WORK PANELS — the biggest thing on the page
   -------------------------------------------------------------------------- */
.panel {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center; gap: clamp(1.75rem, 1rem + 4vw, 5.5rem);
  padding-block: clamp(3rem, 2rem + 4vw, 6.5rem);
  border-top: 1px solid var(--hair);
}
.panel:first-of-type { border-top: 0; }
/* The whole panel is the hit area, but there is still only one link in the
   tab order — the heading. */
.panel { position: relative; }
.panel h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.panel.flip .shot { order: -1; }
/* Flipping only reorders — without swapping the track widths the image would
   land in the narrow column and render half-size on every other panel. */
.panel.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.panel.hide { display: none; }

.panel-cat {
  font-family: var(--mono); font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.15rem;
}
.panel h3 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -0.045em; line-height: 0.98; }
.panel h3 a { transition: color var(--dur) var(--ease); }
.panel:hover h3 a { color: var(--ui-hi); }
.panel-flow {
  margin-top: 1.6rem; font-family: var(--mono); font-size: 0.78rem;
  color: var(--muted); line-height: 2.1;
}
.panel-flow i { color: var(--gold); font-style: normal; padding-inline: 0.4rem; }
.panel-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
.panel-tech span {
  font-family: var(--mono); font-size: 0.66rem; color: var(--faint);
  border: 1px solid var(--hair); padding: 0.2rem 0.5rem; border-radius: 3px;
}
.panel .tl { margin-top: 2rem; }

.shot {
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--raised); border: 1px solid var(--hair);
  aspect-ratio: 16 / 10;
  transition: border-color var(--dur) var(--ease);
}
.panel:hover .shot { border-color: var(--hair-2); }

/* Browser chrome, so a screenshot reads as a product rather than a stray image */
.chrome { position: absolute; inset: 0; display: grid; grid-template-rows: 28px 1fr; }
.chrome-bar {
  display: flex; align-items: center; gap: 5px; padding-inline: 11px;
  background: var(--elevated); border-bottom: 1px solid var(--hair);
}
.chrome-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--hair-2); }
.chrome-bar b {
  margin-left: 10px; font-family: var(--mono); font-size: 0.58rem;
  font-weight: 400; letter-spacing: 0.08em; color: var(--faint);
}
.chrome-body { position: relative; overflow: hidden; background: var(--black); }
.chrome-body img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.chrome-body svg { width: 100%; height: 100%; display: block; }

.shot-note {
  position: absolute; left: 12px; bottom: 10px; z-index: 3;
  font-family: var(--mono); font-size: 0.57rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint);
  background: rgba(0, 0, 0, 0.7); padding: 0.22rem 0.5rem; border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   8. BUILD BENTO — each tile carries a drawn metaphor
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.tile {
  position: relative; background: var(--black); overflow: hidden;
  padding: clamp(1.35rem, 1rem + 1.2vw, 2.1rem);
  display: flex; flex-direction: column; min-height: 232px;
  transition: background var(--dur) var(--ease);
}
.tile:hover { background: var(--raised); }
.tile-lg { grid-column: span 4; min-height: 330px; }
.tile-md { grid-column: span 2; }
.tile-full { grid-column: 1 / -1; }

/* The full-width tile would read as a stretched box in one column, so it gets
   its own arrangement instead. */
@media (min-width: 1024px) {
  .tile-full {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 1rem + 3vw, 5rem);
    align-content: center;
    min-height: 210px;
  }
  .tile-full h3 { grid-column: 1; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
  .tile-full p { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 40ch; font-size: var(--fs-body); }
  .tile-full .tile-foot { grid-column: 1; padding-top: 1.25rem; }
}

.tile-viz { position: absolute; inset: 0; pointer-events: none; opacity: 0.42; transition: opacity 0.4s var(--ease); }
.tile:hover .tile-viz { opacity: 1; }
.tile > *:not(.tile-viz) { position: relative; z-index: 1; }

.tile h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.tile p { color: var(--muted); font-size: var(--fs-sm); max-width: 34ch; }
.tile-foot { margin-top: auto; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tile-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.62rem; color: var(--faint); }
.tile-tags span + span::before { content: "·"; padding-right: 0.35rem; color: var(--hair-3); }
.tile-go { color: var(--faint); transition: color var(--dur) var(--ease), transform var(--dur) var(--out); }
.tile:hover .tile-go { color: var(--gold); transform: translateX(3px); }
.tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* --------------------------------------------------------------------------
   9. ARCHITECTURE — assembles as you scroll
   -------------------------------------------------------------------------- */
.arch { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.arch-copy { position: sticky; top: calc(var(--header-h) + 3rem); }

.stack { display: grid; }
.layer {
  position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: center; gap: 1.25rem; padding: 1.15rem 1.5rem;
  border: 1px solid var(--hair); border-radius: 9px; background: var(--raised);
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s var(--out), transform 0.55s var(--out),
              border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.layer + .layer { margin-top: 13px; }
.stack.in .layer { opacity: 1; transform: none; }
.layer:hover { border-color: var(--ui-dim); background: var(--elevated); }
.layer-n { font-family: var(--mono); font-size: var(--fs-mono); color: var(--gold); }
.layer b { display: block; font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; }
.layer span { display: block; margin-top: 0.25rem; font-size: 0.83rem; color: var(--faint); }
.layer-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hair-3); transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.layer:hover .layer-dot { background: var(--ui); box-shadow: 0 0 0 4px var(--ui-wash); }

/* The connector draws itself in */
.layer::after {
  content: ""; position: absolute; left: 2.75rem; bottom: -13px;
  width: 1px; height: 13px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--out);
}
.stack.in .layer::after { transform: scaleY(1); }
.layer:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   10. TECHNOLOGY CONSTELLATION
   -------------------------------------------------------------------------- */
.constel { position: relative; width: 100%; aspect-ratio: 16 / 9.5; max-height: 600px; }
.constel svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constel svg.links line { stroke: var(--hair-2); stroke-width: 1; }

.node {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--hair-2); background: var(--raised);
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
  cursor: default; white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.node:hover, .node:focus-visible { border-color: var(--gold); color: var(--white); background: var(--elevated); z-index: 5; }
.node-core {
  padding: 0.85rem 1.4rem; border: 0; background: transparent;
}
.node-core img { width: clamp(74px, 9vw, 116px); height: auto; border-radius: 8px; }

.constel-out {
  margin-top: 1.5rem; min-height: 3.4rem; padding-top: 1.25rem;
  border-top: 1px solid var(--hair); display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
}
.constel-out b { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.constel-out span { color: var(--muted); font-size: var(--fs-sm); max-width: 62ch; }

/* A tap-only device cannot hover a graph — it gets a legible list instead */
.constel-list { display: none; }
.constel-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--hair); }
.constel-list b { font-family: var(--mono); font-size: 0.78rem; color: var(--white); }
.constel-list span { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--faint); }

/* --------------------------------------------------------------------------
   11. PROCESS PATH
   -------------------------------------------------------------------------- */
.path { position: relative; }
.path-line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--hair); overflow: hidden; }
.path-line i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 1.2s var(--out); }
.path.in .path-line i { width: 100%; }

.stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2.5rem); }
.stop { padding-top: 2.75rem; position: relative; }
.stop-dot {
  position: absolute; top: 1px; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--hair-3);
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.path.in .stop-dot { border-color: var(--gold); }
.path.in .stop:first-child .stop-dot { background: var(--gold); }
.stop-n { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.16em; color: var(--gold); }
.stop h3 { margin: 0.7rem 0 0.6rem; font-size: var(--fs-h3); text-transform: uppercase; }
.stop p { color: var(--muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   12. ABOUT STATEMENT + PRINCIPLES
   -------------------------------------------------------------------------- */
.statement { font-family: var(--display); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; max-width: 15ch; }
.statement em { font-style: normal; color: var(--faint); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hair); border-top: 1px solid var(--hair); margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); }
.principle { background: var(--black); padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) clamp(1.25rem, 1rem + 1vw, 2rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.principle .pn { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.18em; color: var(--gold); }
.principle h3 { margin: 1.1rem 0 0.85rem; font-size: var(--fs-h3); text-transform: uppercase; }
.principle p { color: var(--muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   13. ESTIMATOR — reads as a device screen, not a form
   -------------------------------------------------------------------------- */
.est { border: 1px solid var(--hair-2); border-radius: 14px; background: linear-gradient(180deg, var(--elevated), var(--raised) 58%); overflow: hidden; }
.est-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.95rem clamp(1.1rem, 1rem + 1vw, 2rem);
  border-bottom: 1px solid var(--hair); background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint);
}
.est-pips { display: flex; align-items: center; gap: 7px; }
.est-pips i { width: 22px; height: 2px; border-radius: 1px; background: var(--hair-2); transition: background 0.3s var(--ease); }
.est-pips i.done { background: var(--gold-dim); }
.est-pips i.now { background: var(--gold); }

.est-body { padding: clamp(1.5rem, 1rem + 2.5vw, 3.25rem); }
.est-step { display: none; }
.est-step.on { display: block; animation: estIn 0.36s var(--out); }
@keyframes estIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.est-q { font-family: var(--display); font-size: clamp(1.7rem, 1.15rem + 2.4vw, 3.1rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.est-hint { margin-top: 0.9rem; color: var(--faint); font-size: var(--fs-sm); }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 0.55rem; margin-top: 2.25rem; }
.opt {
  position: relative; display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.05rem 1.15rem; min-height: 66px;
  border: 1px solid var(--hair-2); border-radius: 9px;
  background: var(--black); color: var(--muted);
  font-size: var(--fs-sm); font-weight: 500; text-align: left; cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.opt small { font-family: var(--mono); font-size: 0.63rem; color: var(--faint); font-weight: 400; }
.opt:hover { border-color: var(--hair-3); color: var(--white); transform: translateY(-2px); }
.opt[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-wash); color: var(--white); }
.opt[aria-pressed="true"] small { color: var(--gold); }
.opt[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.est-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }
.est-field { margin-top: 2rem; }
.est-field textarea {
  width: 100%; min-height: 150px; padding: 1rem 1.15rem; resize: vertical;
  border: 1px solid var(--hair-2); border-radius: 9px;
  background: var(--black); color: var(--white); font-size: var(--fs-sm); line-height: 1.6;
}
.est-field textarea::placeholder { color: var(--faint); }
.est-field textarea:focus { outline: none; border-color: var(--ui); }

/* Result — a generated architecture, not a table */
.result { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: 2.25rem; align-items: start; }
.result-kind { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.result h4 { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; margin: 0.8rem 0 0; line-height: 1.02; }
.result-approach { display: grid; gap: 0.65rem; margin-top: 1.75rem; }
.result-approach li { position: relative; padding-left: 1.2rem; color: var(--muted); font-size: var(--fs-sm); }
.result-approach li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 1px; background: var(--gold); }

.result-arch { border: 1px solid var(--hair); border-radius: 10px; background: var(--black); padding: 1.25rem; }
.result p.h, .result-arch p.h { font-family: var(--mono); font-size: 0.61rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.arch-node {
  padding: 0.6rem 0.8rem; border: 1px solid var(--hair-2); border-radius: 6px;
  background: var(--elevated); font-family: var(--mono); font-size: 0.72rem; color: var(--white);
  animation: nodeIn 0.4s var(--out) backwards;
}
.arch-node.acc { border-color: var(--gold); color: var(--gold); }
.arch-link { width: 1px; height: 12px; background: var(--hair-2); margin-inline: auto; }
@keyframes nodeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.meter { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.meter-bar { display: flex; gap: 3px; }
.meter-bar i { width: 20px; height: 5px; border-radius: 2px; background: var(--hair-2); }
.meter-bar i.on { background: var(--gold); }
.meter b { font-size: var(--fs-sm); }
.est-note { margin-top: 1.75rem; font-size: 0.82rem; color: var(--faint); max-width: 62ch; }

/* --------------------------------------------------------------------------
   14. CONTACT
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.contact h1, .contact h2 { font-size: var(--fs-h2); }

.channels { display: grid; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--hair); }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); transition: padding-left var(--dur) var(--ease); }
a.channel:hover { padding-left: 0.6rem; }
.channel svg { width: 17px; height: 17px; color: var(--ui-hi); }
.channel small { display: block; font-family: var(--mono); font-size: 0.61rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.channel b { display: block; font-weight: 500; font-size: var(--fs-sm); margin-top: 0.2rem; }

.form-card { border: 1px solid var(--hair-2); border-radius: 14px; background: linear-gradient(180deg, var(--elevated), var(--raised) 60%); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.f { display: grid; gap: 0.5rem; margin-bottom: 1.1rem; }
.f label { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.f label .rq { color: var(--gold); }
.f input, .f select, .f textarea {
  width: 100%; padding: 0.9rem 1.05rem; min-height: 52px;
  border: 1px solid var(--hair-2); border-radius: 9px;
  background: var(--black); color: var(--white); font-size: var(--fs-sm); appearance: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.f textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.f input::placeholder, .f textarea::placeholder { color: var(--faint); }
.f input:hover, .f select:hover, .f textarea:hover { border-color: var(--hair-3); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ui); background: var(--raised); }
.f select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c838d' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
  padding-right: 2.6rem; cursor: pointer;
}
.f select option { background: var(--elevated); color: var(--white); }
.fnote { margin-top: 1.1rem; font-size: 0.78rem; color: var(--faint); }

.alert { padding: 1rem 1.15rem; border-radius: 9px; border: 1px solid var(--hair-2); font-size: var(--fs-sm); margin-bottom: 1.4rem; }
.alert-err { border-color: rgba(255, 122, 122, 0.36); background: rgba(255, 122, 122, 0.08); color: #ffbdbd; }
.alert-ok { border-color: var(--live-wash); background: var(--live-wash); color: #a9f2c1; }
.alert ul { display: grid; gap: 0.3rem; margin-top: 0.5rem; }
.alert li { padding-left: 0.9rem; position: relative; }
.alert li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 4px; height: 1px; background: currentColor; }

/* --------------------------------------------------------------------------
   15. CLOSER + FOOTER
   -------------------------------------------------------------------------- */
.closer { text-align: center; padding-block: clamp(5rem, 3rem + 7vw, 10rem); border-top: 1px solid var(--hair); }
.closer h2 { font-size: var(--fs-h2); max-width: 15ch; margin-inline: auto; }
.closer .say { margin: 1.5rem auto 2.75rem; max-width: 44ch; }
.closer .btns { justify-content: center; }

.ftr { border-top: 1px solid var(--hair); padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.ftr-lockup { width: clamp(160px, 17vw, 210px); background: #000; border-radius: 10px; padding: .5rem .7rem; }
.ftr-say { margin-top: 1.5rem; font-family: var(--mono); font-size: 0.78rem; line-height: 2.1; letter-spacing: 0.08em; color: var(--silver); }
.ftr h3 { font-family: var(--mono); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.15rem; }
.ftr li + li { margin-top: 0.65rem; }
.ftr a, .ftr li span { font-size: var(--fs-sm); color: var(--muted); transition: color var(--dur) var(--ease); }
.ftr a:hover { color: var(--ui-hi); }
.ftr-bot {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--hair);
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.1em; color: var(--faint);
}
.ftr-bot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.wa {
  position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.15rem;
  border-radius: 999px; border: 1px solid var(--hair-2); background: rgba(10, 11, 13, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.wa:hover { color: var(--white); border-color: var(--live); transform: translateY(-2px); }
.wa svg { width: 17px; height: 17px; color: var(--live); }

/* --------------------------------------------------------------------------
   16. INNER PAGES
   -------------------------------------------------------------------------- */
.crumbs {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 2rem;
}
.crumbs svg { width: 12px; height: 12px; }
.crumbs a:hover { color: var(--gold); }

.page-head { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head h1 { font-size: var(--fs-h2); max-width: 18ch; }
.page-head .say { margin-top: 1.6rem; max-width: 54ch; }

.proj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.blk { padding-block: clamp(1.75rem, 1.25rem + 1.6vw, 2.75rem); border-top: 1px solid var(--hair); }
.blk:first-child { border-top: 0; padding-top: 0; }
.blk h2 { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.blk p { color: var(--muted); max-width: var(--measure); }

.steps { display: grid; gap: 0.7rem; counter-reset: st; }
.steps li {
  display: flex; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--hair);
  border-radius: 8px; background: var(--raised); font-size: var(--fs-sm); color: var(--muted);
  transition: border-color var(--dur) var(--ease);
}
.steps li:hover { border-color: var(--hair-2); }
.steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  font-family: var(--mono); font-size: var(--fs-mono); color: var(--gold);
  flex-shrink: 0; padding-top: 0.2rem;
}

.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.side-card { padding: 1.4rem; border: 1px solid var(--hair); border-radius: 10px; background: var(--raised); }
.side-card h3 { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.side-rows { display: grid; gap: 0.7rem; }
.side-rows div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); }
.side-rows dt { color: var(--faint); }
.side-rows dd { margin: 0; text-align: right; }
.ends { display: grid; gap: 0.4rem; }
.ends li { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); padding: 0.45rem 0.6rem; border: 1px solid var(--hair); border-radius: 5px; background: rgba(255, 255, 255, 0.02); overflow-wrap: anywhere; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.cell { background: var(--black); padding: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); }
.cell :is(h2, h3) { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.cell p { color: var(--muted); font-size: var(--fs-sm); }

.checks { display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.75rem; font-size: var(--fs-sm); color: var(--muted); }
.checks svg { width: 15px; height: 15px; margin-top: 0.3rem; color: var(--gold); }

.numbered { display: grid; counter-reset: nn; }
.numbered li {
  counter-increment: nn; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--hair);
  font-size: var(--fs-sm); color: var(--muted);
}
.numbered li::before { content: counter(nn, decimal-leading-zero); font-family: var(--mono); font-size: var(--fs-mono); color: var(--gold); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.18rem 0.55rem;
  border-radius: 999px; border: 1px solid var(--hair); font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); flex-shrink: 0;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.chip.live { color: var(--live); border-color: var(--live-wash); background: var(--live-wash); }
.chip.live i { background: var(--live); box-shadow: 0 0 0 3px var(--live-wash); }

.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.6rem; }
.mod { padding: 1.1rem 1.25rem; border: 1px solid var(--hair); border-radius: 9px; background: var(--raised); }
.mod.planned { opacity: 0.58; border-style: dashed; }
.mod-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.mod b { font-size: var(--fs-sm); font-weight: 600; }
.mod p { font-size: 0.82rem; color: var(--faint); line-height: 1.5; }
a.mod { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
a.mod:hover { border-color: var(--ui-dim); transform: translateY(-2px); }
a.mod .mod-top svg { width: 15px; height: 15px; color: var(--ui-hi); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter {
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--hair);
  background: transparent; cursor: pointer; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.filter:hover { color: var(--white); border-color: var(--hair-2); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.empty { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--hair-2); border-radius: 10px; color: var(--faint); }

.prose { max-width: var(--measure); }
.prose h2 { font-family: var(--display); font-size: var(--fs-h3); margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--hair); }
.prose h2:first-of-type { margin-top: 2rem; }
.prose p, .prose li { color: var(--muted); font-size: var(--fs-sm); }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; display: grid; gap: 0.55rem; }
.prose ul li { padding-left: 1.15rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 1px; background: var(--gold); }
.prose a { color: var(--ui-hi); }
.notice { padding: 1.15rem 1.35rem; border: 1px solid var(--hair-2); border-left: 2px solid var(--gold); border-radius: 8px; background: rgba(255, 255, 255, 0.02); font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   17. REVEAL
   -------------------------------------------------------------------------- */
[data-rv] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--out), transform 0.7s var(--out); }
[data-rv].in { opacity: 1; transform: none; }

.hero h1 .ln > span { transform: translateY(105%); transition: transform 0.9s var(--out); }
.hero.ready h1 .ln > span { transform: none; }
.hero h1 .ln:nth-child(2) > span { transition-delay: 0.07s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: 0.14s; }
.hero .fade { opacity: 0; transition: opacity 0.7s var(--out) 0.22s; }
.hero.ready .fade { opacity: 1; }

/* --------------------------------------------------------------------------
   18. RESPONSIVE — mobile is composed for mobile, not compressed from desktop
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  /* Two per row at this width — mixed spans leave holes once the grid is 4 wide. */
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-lg, .tile-md, .tile-full { grid-column: span 2; }
  .proj-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .result { grid-template-columns: minmax(0, 1fr) 230px; }
}

@media (max-width: 1023px) {
  .nav-links, .nav-side { display: none; }
  .burger { display: inline-flex; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 2.5rem; }
  .hero-stage { min-height: 290px; order: -1; }

  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel.flip .shot { order: 0; }

  .arch { grid-template-columns: minmax(0, 1fr); }
  .arch-copy { position: static; }
  .contact, .proj-layout, .grid-2, .grid-3, .principles { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }

  .stops { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .path-line { display: none; }

  .constel, .constel-out { display: none; }
  .constel-list { display: block; }

  .result { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }

  .hero { padding-top: 1.25rem; }
  .hero h1 { margin-top: 1.15rem; }
  .hero .btns .btn { flex: 1 1 100%; }
  .hero-stage { min-height: 240px; }
  .rail { gap: 0.85rem 1.4rem; }
  .rail .lead { flex: 1 1 100%; margin-right: 0; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-lg, .tile-md, .tile-full { grid-column: span 1; }
  .tile { min-height: 195px; }
  .tile-lg { min-height: 235px; }

  .shot { aspect-ratio: 16 / 11; }

  /* Vertical spine */
  .stops { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-left: 1.75rem; }
  .path-line { display: block; left: 6px; top: 8px; bottom: 8px; right: auto; width: 1px; height: auto; }
  .path-line i { width: 100%; height: 0; transition: height 1.2s var(--out); }
  .path.in .path-line i { height: 100%; }
  .stop { padding: 1.4rem 0; }
  .stop:first-child { padding-top: 0; }
  .stop-dot { left: -1.75rem; top: 1.7rem; }
  .stop:first-child .stop-dot { top: 0.3rem; }

  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
  .ftr-bot { flex-direction: column; align-items: flex-start; }

  .wa { padding: 0.85rem; }
  .wa span { display: none; }
  .wa svg { width: 22px; height: 22px; }
}

@media (max-width: 420px) { .opts { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1600px) { :root { --maxw: 1520px; } }

/* --------------------------------------------------------------------------
   19. REDUCED MOTION — resolve to the final state, never leave content hidden
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  [data-rv], .layer, .hero .fade { opacity: 1 !important; transform: none !important; }
  .hero h1 .ln > span { transform: none !important; }
  .layer::after { transform: scaleY(1) !important; }
  .path .path-line i { width: 100% !important; }
  .btn:hover, .tile:hover, .opt:hover, .wa:hover, a.mod:hover { transform: none; }
}

@media print {
  .hdr, .drawer, .wa, .est, .closer, #sysCanvas { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ===========================================================================
   RishiV1 SHOP — cart, ready-built PCs, parts deals, repair.
   Reuses the brand tokens above: --ui for anything you press, --gold only for
   the price (the one editorial highlight), --live never.
   =========================================================================== */
.shop-h { font-family: var(--display); font-size: var(--fs-h3); margin: 0 0 1.4rem; }
.shop-note { color: var(--muted); font-size: var(--fs-sm); margin-top: 1rem; max-width: var(--measure); }
.shop-notice { border: 1px solid var(--gold-dim); background: var(--gold-wash); padding: .9rem 1.1rem; border-radius: 10px; margin: 1rem 0; }
.price { font-family: var(--display); color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.srp { color: var(--faint); font-size: var(--fs-sm); margin-right: .5rem; }

.shop-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.pc { display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; }
.pc-img { position: relative; background: #fff;  /* most Dynacore case photos are on white; the rest are transparent */ aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pc-img { overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; padding: .7rem; }  /* max-height:% does not constrain a grid item -- tall photos stretched their card */
.pc-target { position: absolute; left: .7rem; top: .7rem; font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; background: var(--black); border: 1px solid var(--hair-2); padding: .25rem .5rem; border-radius: 6px; }
.pc-body { display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem; flex: 1; }
.pc-body h3 { font-family: var(--display); font-size: 1.15rem; margin: 0; }
.pc-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .85rem; }
.pc-specs li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; color: var(--silver); }
.pc-specs b { font-family: var(--mono); font-size: var(--fs-mono); color: var(--muted); padding-top: .15rem; }
.pc-more summary { cursor: pointer; color: var(--ui-hi); font-size: var(--fs-sm); min-height: 44px; display: flex; align-items: center; }
.pc-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.pc-buy .price { font-size: 1.5rem; }
.shop-add { min-height: 44px; }

.parts-cat { border-top: 1px solid var(--hair); }
.parts-cat summary { cursor: pointer; font-family: var(--display); font-size: 1.1rem; padding: 1rem 0; min-height: 44px; }
.parts-cat summary span { color: var(--muted); font-family: var(--mono); font-size: var(--fs-mono); margin-left: .4rem; }
.parts { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.parts li { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--hair); }
.parts-name { color: var(--silver); font-size: .95rem; }
.parts-price { text-align: right; white-space: nowrap; }
.parts li > * { min-width: 0; }           /* grid items default to min-width:auto; a long part code then refuses to shrink */
.parts-name { overflow-wrap: anywhere; }  /* "A620AM-K-CSM" has no break points of its own */
@media (max-width: 640px) {
  .parts li { grid-template-columns: 1fr auto; }
  .parts li .shop-add { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .parts-price { white-space: normal; }
  .parts-price .srp { display: block; margin: 0; }   /* SRP above the price, not beside it */
}

.cart-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; margin-left: .3rem; border-radius: 99px; background: var(--ui); color: var(--white); font-size: .72rem; }
.cart-count[hidden] { display: none; }
.cart { max-width: 820px; margin-top: 1.5rem; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--hair); }
.cart-line img { width: 56px; height: 56px; object-fit: contain; background: var(--elevated); border-radius: 8px; }
.cart-line:not(:has(img)) { grid-template-columns: 1fr auto auto; }
.cart-name { color: var(--silver); font-size: .95rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair-2); border-radius: 10px; }
.qty button { background: none; border: 0; color: var(--white); width: 44px; height: 44px; font-size: 1.15rem; cursor: pointer; }
.qty button:focus-visible { outline: 2px solid var(--ui); outline-offset: -2px; }
.qty b { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-foot { display: grid; gap: .9rem; margin-top: 1.4rem; }
.cart-total { font-family: var(--display); font-size: 1.4rem; display: flex; justify-content: space-between; margin: 0; }
.cart-total b { color: var(--gold); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 48px 1fr; }
  .cart-line img { width: 48px; height: 48px; }
  .cart-line .qty { grid-column: 2; justify-self: start; }
  .cart-line .price { grid-column: 2; justify-self: start; }
}

.repair-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.repair { background: var(--raised); border: 1px solid var(--hair); border-radius: 14px; padding: 1.4rem; }
.repair h2 { font-family: var(--display); font-size: var(--fs-h3); margin: 0 0 .6rem; }
.repair p { color: var(--silver); margin: 0; }
/* --------------------------------------------------------------------------
   Build your PC (build.php) + parts search (shop.php) — 2026-10-15
   -------------------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.build-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); border-radius: 16px; border: 1px solid var(--gold-dim);
  background: linear-gradient(120deg, var(--gold-wash), transparent 60%), var(--raised); color: var(--silver); }
.build-cta b { display: block; font-family: var(--display); font-size: var(--fs-h3); color: var(--white); margin-bottom: .3rem; }
.build-cta > span:first-child { flex: 1 1 320px; max-width: 60ch; }
.build-cta:hover .btn { transform: translateY(-1px); }

.parts-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: .8rem; }
.parts-search { flex: 1 1 280px; max-width: 520px; }
.parts-search input { width: 100%; min-height: 48px; padding: 0 1rem; border-radius: 12px; border: 1px solid var(--hair-3);
  background: var(--black); color: var(--white); font: inherit; }
.parts-search input:focus { outline: 2px solid var(--ui); outline-offset: 1px; }
.parts-cat[hidden], .parts li[hidden] { display: none; }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(1.2rem, 1rem + 2vw, 2.5rem); align-items: start; }
.builder-steps { display: grid; gap: 1rem; }
.bstep { background: var(--raised); border: 1px solid var(--hair); border-radius: 14px; padding: 1rem 1.1rem; }
.bstep-label { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1.1rem; margin-bottom: .7rem; color: var(--white); }
.bstep-label b { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--gold); color: var(--on-gold); font-size: .9rem; }
.bstep select { width: 100%; min-height: 48px; padding: 0 .8rem; border-radius: 10px; border: 1px solid var(--hair-3);
  background: var(--black); color: var(--white); font: inherit; font-size: .95rem; }
.bstep select:focus { outline: 2px solid var(--ui); outline-offset: 1px; }
.bstep select:disabled { opacity: .55; }
.bstep-hint { color: var(--muted); font-size: var(--fs-sm); margin: .55rem 0 0; }
.bstep-hint:empty { display: none; }

.builder-sum { position: sticky; top: 90px; background: var(--elevated); border: 1px solid var(--hair-2); border-radius: 16px; padding: 1.2rem; display: grid; gap: .8rem; }
.builder-sum h2 { font-family: var(--display); font-size: var(--fs-h3); margin: 0; }
.bsum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.bsum-lines li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding-bottom: .55rem; border-bottom: 1px solid var(--hair); font-size: .9rem; }
.bsum-lines li > span:first-child { grid-column: 1 / -1; font-family: var(--mono); font-size: var(--fs-mono); color: var(--muted); text-transform: uppercase; }
.bsum-name { color: var(--silver); overflow-wrap: anywhere; }
.bsum-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin: 0; }
.bsum-total .price { font-size: 1.6rem; }
.builder-sum .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.builder-bar { display: none; }

@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .builder-sum { position: static; scroll-margin-top: 80px; }
  .builder-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center;
    gap: 1rem; padding: .7rem var(--pad); background: rgba(27, 34, 48, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--hair-2); }
  .builder-bar .price { font-size: 1.3rem; }
  .builder { padding-bottom: 4.5rem; }
}
@media (max-width: 900px) {
  /* keep "Review" clear of the floating WhatsApp bubble */
  .builder-bar { padding-right: calc(var(--pad) + 4.2rem); }
}

/* --------------------------------------------------------------------------
   Price lists admin (prices-admin.php)
   -------------------------------------------------------------------------- */
.pa { display: grid; gap: 1.2rem; }
.pa .opener { margin-bottom: 0; }
.pa-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.pa-card { background: var(--raised); border: 1px solid var(--hair); border-radius: 16px; padding: 1.2rem; display: grid; gap: .9rem; min-width: 0; }
.pa-card h2 { font-family: var(--display); font-size: 1.3rem; margin: 0; }
.pa-card h3 { font-family: var(--display); font-size: 1.05rem; margin: .6rem 0 0; }
.pa-field { display: grid; gap: .4rem; color: var(--silver); font-size: var(--fs-sm); }
.pa-field select, .pa-field input { min-height: 48px; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--hair-3); background: var(--black); color: var(--white); font: inherit; }
.pa-status { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--hair-2); background: var(--raised); }
.pa-status span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pa-on span { background: var(--live); box-shadow: 0 0 0 4px var(--live-wash); }
.pa-off span { background: var(--gold); }
.pa-ok b { color: var(--live); }
.pa-bad b, .pa-bad { color: var(--gold); }
.pa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .92rem; color: var(--silver); }
.pa-list small { display: block; color: var(--muted); }
.pa-nums { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.pa-nums div { background: var(--black); border-radius: 12px; padding: .9rem; }
.pa-nums b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--white); }
.pa-nums span { color: var(--muted); font-size: var(--fs-sm); }
.pa-scroll { overflow-x: auto; }
.pa-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pa-table th, .pa-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
.pa-table th { font-family: var(--mono); font-size: var(--fs-mono); color: var(--muted); text-transform: uppercase; font-weight: 500; }
.pa-up { color: var(--gold); } .pa-down { color: var(--live); }
.pa-review { margin: .5rem 0 0; padding-left: 1rem; display: grid; gap: .5rem; font-size: .82rem; color: var(--silver); max-height: 320px; overflow: auto; }
.pa-review code, .pa code { font-family: var(--mono); font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Homepage (index.php) — the approved preview, 2026-10-15. Prefix h2- = home v2.
   -------------------------------------------------------------------------- */
.h2-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.h2-glow { position: absolute; border-radius: 50%; pointer-events: none; animation: h2glow 6s ease-in-out infinite alternate; }
.h2-glow-a { width: 720px; height: 720px; right: -180px; top: -220px; background: radial-gradient(circle, rgba(0, 140, 255, .5), rgba(0, 140, 255, 0) 65%); }
.h2-glow-b { width: 520px; height: 520px; left: -220px; bottom: -280px; background: radial-gradient(circle, rgba(255, 157, 0, .3), rgba(255, 157, 0, 0) 65%); }
@keyframes h2glow { from { opacity: .6; transform: scale(1); } to { opacity: .95; transform: scale(1.08); } }
.h2-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.h2-hero-copy { display: grid; gap: 1.3rem; }
.h2-eyebrow, .h2-no { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }
.h2-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.9rem, 1.6rem + 5.5vw, 5.4rem); line-height: .97; letter-spacing: -.02em; margin: 0; }
.h2-hero h1 span { color: var(--ui-hi); }
.h2-lede { color: var(--silver); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.6; max-width: 36rem; margin: 0; }
.h2-years { display: flex; align-items: center; gap: .8rem; }
.h2-years b { font-family: var(--display); font-weight: 900; font-size: 2.2rem; color: var(--gold); }
.h2-years span { color: var(--silver); font-size: .95rem; line-height: 1.35; }
.h2-doors { display: flex; flex-wrap: wrap; gap: .6rem; }
.h2-doors button, .h2-filters button { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--hair-3); background: transparent; color: var(--white); font: inherit; font-size: .95rem; cursor: pointer; transition: background var(--dur) var(--out), border-color var(--dur) var(--out), transform .15s; }
.h2-doors button:hover, .h2-filters button:hover { transform: translateY(-2px); }
.h2-doors button[aria-selected="true"], .h2-filters button[aria-pressed="true"] { background: var(--ui); border-color: var(--ui); font-weight: 600; }
.h2-panels { min-width: 0; }
.h2-panel { background: linear-gradient(160deg, var(--elevated), var(--raised)); border: 1px solid var(--hair-2); border-radius: 22px; padding: clamp(1.1rem, 1rem + 1vw, 1.7rem); display: grid; gap: 1rem; }
.h2-panel[hidden] { display: none; }
.h2-panel p { color: var(--silver); margin: 0; line-height: 1.6; }
.h2-in { animation: h2in .45s var(--out) both; }
@keyframes h2in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.h2-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.h2-kicker { font-family: var(--mono); font-size: var(--fs-mono); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.h2-live { display: inline-flex; align-items: center; gap: .5rem; color: var(--silver); font-size: .85rem; }
.h2-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: h2pulse 1.8s ease-in-out infinite; }
@keyframes h2pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(57, 211, 83, .6); } 50% { box-shadow: 0 0 0 6px rgba(57, 211, 83, 0); } }
.h2-photo { background: #fff; border-radius: 14px; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.h2-photo img { width: 100%; height: 100%; object-fit: contain; padding: .8rem; }
.h2-pick { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.h2-pick b { display: block; font-family: var(--display); font-size: 1.25rem; }
.h2-pick span { color: var(--muted); font-size: .88rem; }
.h2-pick strong { font-family: var(--display); font-weight: 900; font-size: 1.9rem; color: var(--gold); }
.h2-banner { width: 100%; border-radius: 12px; display: block; }
.h2-panel-h { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.15; }
.h2-shipped { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.h2-shipped a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: 12px; background: var(--high); color: var(--white); }
.h2-shipped a:hover { background: var(--ui-wash); }
.h2-shipped b { font-family: var(--display); font-size: 1.1rem; }
.h2-shipped span { color: var(--silver); font-size: .85rem; }

.h2-ticker { border-block: 1px solid var(--hair); background: var(--raised); overflow: hidden; padding: .85rem 0; }
.h2-ticker-track { display: flex; gap: 3rem; width: max-content; font-family: var(--mono); font-size: .88rem; white-space: nowrap; animation: h2tick 45s linear infinite; }
.h2-ticker:hover .h2-ticker-track { animation-play-state: paused; }
@keyframes h2tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.h2-ticker-track span { display: inline-flex; align-items: center; gap: .6rem; color: var(--silver); }
.h2-ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.h2-ticker-track b { color: var(--white); font-weight: 500; }

.h2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.h2-head > div:first-child { max-width: 40rem; display: grid; gap: .8rem; }
.h2-head h2, #vmail h2, #sw-title, #repair-title { font-family: var(--display); font-weight: 900; font-size: var(--fs-h2); line-height: 1.02; margin: 0; }
.h2-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.h2-lift { transition: transform .25s var(--out), border-color .25s, box-shadow .25s; }
.h2-lift:hover { transform: translateY(-6px); border-color: rgba(0, 107, 255, .6); box-shadow: 0 18px 40px rgba(0, 107, 255, .18); }
.pc[hidden] { display: none; }
.h2-build { margin-top: 2rem; }

.h2-vmail { background: linear-gradient(180deg, var(--black), var(--raised) 40%, var(--black)); }
.h2-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.h2-split > div:first-child { display: grid; gap: 1.1rem; }
.h2-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.h2-brand img { width: 52px; height: 52px; object-fit: contain; }
.h2-brand b { font-family: var(--display); font-weight: 900; font-size: 2rem; }
.h2-pill { padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(57, 211, 83, .5); color: var(--white); }
.h2-mailbox { background: var(--elevated); border: 1px solid var(--hair-2); border-radius: 22px; padding: clamp(1.1rem, 1rem + 1vw, 1.7rem); display: grid; gap: 1rem; }
.h2-mailbox-top { display: flex; justify-content: space-between; align-items: center; }
.h2-mailbox-top b { font-family: var(--display); font-size: 1.2rem; }
.h2-mailbox-top span { font-family: var(--mono); font-size: var(--fs-mono); color: var(--muted); text-transform: uppercase; }
.h2-meter-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--silver); }
.h2-meter-row span:last-child { font-family: var(--mono); color: var(--white); }
.h2-meter { height: 18px; border-radius: 999px; background: var(--black); border: 1px solid var(--hair); overflow: hidden; }
.h2-meter div { height: 100%; width: 94%; border-radius: 999px; background: linear-gradient(90deg, #c94f00, var(--gold)); /* guide v2.0 approved orange-gold gradient */ transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.h2-freed .h2-meter div { background: var(--live); }
.h2-meter-status { margin: 0; font-weight: 600; font-size: .92rem; color: var(--gold); }
.h2-freed .h2-meter-status { color: var(--live); }
.h2-mb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.h2-mb-grid div { background: var(--black); border-radius: 14px; padding: .9rem 1rem; }
.h2-mb-grid span { display: block; color: var(--muted); font-size: .85rem; }
.h2-mb-grid b { font-family: var(--display); font-size: 1.25rem; }
.h2-gold { color: var(--gold); }

.h2-wide { max-width: 22ch; }
#build-for-you .wrap > .say { margin-top: .9rem; }
.h2-cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 2.2rem; }
.h2-card { display: grid; gap: .6rem; align-content: start; background: var(--raised); border: 1px solid var(--hair); border-radius: 18px; padding: 1.4rem; color: var(--white); }
.h2-card span { font-family: var(--mono); font-size: var(--fs-mono); color: var(--ui-hi); }
.h2-card b { font-family: var(--display); font-size: 1.25rem; }
.h2-card p { margin: 0; color: var(--silver); line-height: 1.6; font-size: .95rem; }
.h2-chips { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 2rem; }
.h2-chips-lead { color: var(--muted); margin-right: .4rem; }
.h2-chips a { padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--hair-2); color: var(--white); font-weight: 600; font-size: .95rem; }
.h2-chips a:hover { border-color: var(--ui); }
.h2-chips a span { color: var(--muted); font-weight: 400; }
.h2-quote { margin-top: 2.5rem; padding: clamp(1.3rem, 1rem + 2vw, 2.2rem); border-radius: 22px; background: var(--ui); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.h2-quote b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.h2-quote span { color: #fff; }
.h2-btn-white { background: #fff; border-color: #fff; color: var(--ui-dk); font-weight: 700; }
.h2-btn-white:hover { background: #e9f1ff; }
.h2-btn-white span { color: var(--ui-dk); }

.h2-repair { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.h2-repair > div:first-child { max-width: 38rem; display: grid; gap: .9rem; }
.h2-repair-chips { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.h2-repair-chips span { padding: .75rem 1.1rem; border-radius: 12px; background: var(--elevated); }

@media (max-width: 900px) {
  .h2-hero-grid, .h2-split { grid-template-columns: 1fr; }
  .h2-glow-a { width: 460px; height: 460px; right: -200px; top: -160px; }
}
@media (prefers-reduced-motion: reduce) {
  .h2-glow, .h2-live i, .h2-ticker-track, .h2-in { animation: none; }
  .h2-meter div, .h2-lift { transition: none; }
}
.h2-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .h2-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .h2-grid3 { grid-template-columns: 1fr; } }
/* Premium lockup in the hero: on black (the logo is drawn on black), clear space ~10% of its width (guide v2.0 p.5). */
.h2-lockup { width: min(100%, 300px); height: auto; background: #000; border-radius: 16px; padding: 14px 30px; box-sizing: content-box; max-width: calc(100% - 60px); }

/* ---------------------------------------------------------------------------
   3d-printing.php (2026-10-15)
   --------------------------------------------------------------------------- */
.p3-facts { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin: 0; }
.p3-facts div { background: var(--raised); border: 1px solid var(--hair); border-radius: 14px; padding: 1rem 1.2rem; }
.p3-facts dt { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.p3-facts dd { margin: 0; color: var(--white); }
.p3-est { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.p3-est > div:first-child { display: grid; gap: 1rem; }
.p3-est h2 { font-family: var(--display); font-size: var(--fs-h3); margin: 0; }
.p3-sizes { display: grid; gap: .6rem; }
.p3-size { text-align: left; display: grid; gap: .2rem; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--hair); background: var(--elevated); color: var(--white); font: inherit; cursor: pointer; }
.p3-size:hover, .p3-size:focus-visible { border-color: var(--ui); }
.p3-size span { color: var(--muted); font-size: var(--fs-sm); }
.p3-calc { display: grid; gap: .55rem; background: var(--raised); border: 1px solid var(--hair); border-radius: 16px; padding: 1.4rem; }
.p3-calc label { font-size: var(--fs-sm); color: var(--silver); margin-top: .4rem; }
.p3-calc input, .p3-calc select { width: 100%; min-height: 48px; padding: 0 .8rem; border-radius: 10px; border: 1px solid var(--hair); background: var(--elevated); color: var(--white); font: inherit; }
.p3-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--hair); }
.p3-total output { font-family: var(--display); font-size: 2rem; color: var(--gold); }
.p3-note { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 .6rem; max-width: var(--measure); }
.p3-calc .btn { justify-content: center; }
