/* ============================================================
   GevuraX — Firm-Power Creation Platform · Company Landing Page
   Light theme. Fire palette: blue core / red body / orange tip / green flame.
   Ethos: judgment, limitation, restraint, resilience — the element of fire.
   Type: Archivo (strength) · Newsreader (ethos serif) · JetBrains Mono (labels)
   ============================================================ */

:root {
  /* paper + ink */
  --paper:   #ffffff;
  --paper-2: #f7f6f3;
  --paper-3: #efece6;
  --ink:     #131210;
  --ink-2:   #45413a;
  --mute:    #8c867b;
  --mute-2:  #b4afa4;
  --line:    rgba(19,18,16,0.12);
  --line-2:  rgba(19,18,16,0.22);
  --line-3:  rgba(19,18,16,0.40);

  /* fire — element colors (from the GevuraX logo) */
  --blue:    #1f9fd6;   /* logo cyan-blue */
  --red:     #e5341f;   /* logo red-orange */
  --orange:  #f5701a;   /* flame tip */
  --gold:    #d99a2b;   /* logo gold */
  --green:   #2fae3a;   /* logo green */
  --blue-d:  #176f9c;
  --red-d:   #b21f10;

  /* signature flame gradient — mirrors the logo wordmark sweep: red -> gold -> blue -> green */
  --flame: linear-gradient(100deg, #e5341f 0%, #f5701a 22%, #d99a2b 44%, #1f9fd6 72%, #2fae3a 100%);
  --flame-soft: linear-gradient(180deg, rgba(229,52,31,0.10), rgba(217,154,43,0.10) 50%, rgba(31,159,214,0.10));

  --maxw: 1320px;
  --gut: clamp(20px, 5vw, 80px);
  --serif: "Newsreader", Georgia, serif;
  --grot:  "Archivo", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--grot);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); position: relative; }
.section { padding-block: clamp(72px, 11vw, 170px); position: relative; }
.section--tight { padding-block: clamp(54px, 8vw, 110px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.bg-soft { background: var(--paper-2); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 0.7em; font-weight: 500;
}
.eyebrow b { font-weight: 500; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow .tick { width: 28px; height: 2px; background: var(--flame); display: inline-block; }

.display {
  font-family: var(--grot); font-weight: 800; line-height: 0.94;
  letter-spacing: -0.035em; text-wrap: balance;
}
.h2 {
  font-family: var(--grot); font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.0;
  letter-spacing: -0.03em; text-wrap: balance;
}
.lede {
  font-size: clamp(1.08rem, 1.55vw, 1.4rem); line-height: 1.5;
  color: var(--ink-2); max-width: 46ch; text-wrap: pretty;
}
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.flame-text { background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }

.shead { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(40px, 5vw, 74px); }
.shead .h2 { max-width: 19ch; }
@media (min-width: 920px) {
  .shead--split { grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: 56px; }
  .shead--split .lede { justify-self: end; max-width: 42ch; }
}

/* xpl sections (Why now / Platform / Capabilities / Site / Rollout) — center-aligned */
.xpl-sec .shead { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 18px; }
.xpl-sec .shead > * { justify-self: center; }
.xpl-sec .shead .lede { max-width: 56ch !important; margin-inline: auto; }
.xpl-sec .shead .h2 { max-width: 22ch; margin-inline: auto; }
.xpl-sec .shead .eyebrow { justify-content: center; }
.xpl-sec .flow, .xpl-sec .caps, .xpl-sec .why, .xpl-sec .site-grid, .xpl-sec .phases { margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background 0.4s var(--ease), border-color 0.4s, padding 0.4s var(--ease), box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--grot); font-weight: 800; letter-spacing: -0.02em; font-size: 1.12rem; }
.brand-logo { height: 76px; width: auto; display: block; }
@media (max-width: 800px) { .brand-logo { height: 40px; } }
@media (max-width: 480px) { .brand-logo { height: 34px; } }
.brand .mark { width: 30px; height: 32px; position: relative; flex: 0 0 auto; background: url("logo-mark.png") center/contain no-repeat; }
.brand .mark::before { content: none; }
.brand b { font-weight: 800; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .sub { color: var(--mute); font-weight: 500; letter-spacing: 0; }
.nav-links { display: none; gap: 32px; align-items: center; }
.nav-links a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); transition: color 0.25s; position: relative; padding-block: 4px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-1px; height:2px; width:0; background: var(--flame); transition: width 0.3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
@media (min-width: 1080px) { .nav-links { display: flex; } }

.btn {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.7em; padding: 13px 22px;
  border: 1.5px solid var(--ink); color: var(--ink); border-radius: 2px;
  transition: all 0.3s var(--ease); cursor: pointer; background: transparent; font-weight: 600; white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--flame { border: 0; color: #fff; background: var(--flame); background-size: 160% 160%; background-position: 0% 50%; transition: background-position 0.5s var(--ease), box-shadow 0.4s, transform 0.3s; }
.btn--flame:hover { background-position: 100% 50%; box-shadow: 0 12px 34px rgba(223,44,24,0.28); color: #fff; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(84px, 11vh, 124px); height: 100svh; min-height: 540px; display: flex; flex-direction: column; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 88% 8%, rgba(251,122,30,0.10), transparent 60%),
              radial-gradient(60% 50% at 95% 30%, rgba(31,79,224,0.07), transparent 65%);
}
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100%/6) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
  opacity: 0.5;
}
/* video background — masked so it melts into the white page */
.hero-video { position: absolute; top: 0; left: 0; right: 0; height: min(100svh, 1040px); z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(135% 96% at 50% 34%, #000 30%, rgba(0,0,0,0.55) 58%, transparent 80%);
  mask-image: radial-gradient(135% 96% at 50% 34%, #000 30%, rgba(0,0,0,0.55) 58%, transparent 80%);
}
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(1.05); background: var(--paper); transition: opacity 0.7s linear; }
.hero-vid-b { opacity: 0; }
.hero-video::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.62) 80%, var(--paper) 99%),
    linear-gradient(90deg, var(--paper) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, var(--paper) 100%),
    linear-gradient(0deg, rgba(255,255,255,0) 74%, rgba(255,255,255,0.5) 100%);
}
.hero--video .hero-top { padding-bottom: clamp(10px, 2.4vw, 26px); }
@media (prefers-reduced-motion: reduce) { .hero-vid { display: none; } }

.hero-top { flex: 1; display: flex; align-items: center; position: relative; z-index: 1; }
.hero-inner { width: 100%; }
/* centered hero layout */
.hero-center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-center::before { content: ""; position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); width: 116%; height: 150%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 52% 46% at 50% 50%, rgba(255,255,255,0.66), rgba(255,255,255,0.28) 55%, rgba(255,255,255,0) 74%); }
.hero-center .lede { max-width: 58ch; margin: clamp(20px,2.4vw,30px) auto 0; color: var(--ink-2); font-size: clamp(1.02rem, 1.35vw, 1.24rem); }
.hero-center .hero-actions { justify-content: center; margin-top: clamp(20px, 2.4vw, 30px); }
.hero-tag { margin-top: clamp(16px, 2vw, 26px); color: var(--ink-2); letter-spacing: 0.16em; }
.hero-tag .sep { color: var(--red); margin-inline: 0.6em; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); margin: clamp(16px,2vw,24px) 0 0; }
.hero-sub { display: grid; gap: 30px; margin-top: 38px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .hero-sub { grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: end; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* fit the full hero (header + capability strip + ticker) on short viewports */
@media (max-height: 720px) {
  .hero { padding-top: clamp(66px, 9vh, 92px); }
  .hero h1 { font-size: clamp(2rem, 4.8vw, 3.5rem); margin-top: 16px; }
  .hero-center .lede { margin-top: 16px; font-size: 1rem; }
  .hero-center .hero-actions { margin-top: 18px; }
  .hero-tag { margin-top: 14px; }
  .statband { margin-top: 16px; }
  .statband .cell { padding-top: 13px; padding-bottom: 14px; }
}
@media (max-height: 600px) {
  .hero-tag { display: none; }
  .hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); }
  .hero-center .lede { font-size: 0.94rem; }
}

/* mobile hero: let it grow with content instead of forcing 100svh */
@media (max-width: 800px) {
  .hero { height: auto; min-height: 0; padding-top: 70px; padding-bottom: 28px; }
  .hero-top { flex: 0 0 auto; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); margin-top: 18px; }
  .hero-center .lede { font-size: 0.96rem; margin-top: 16px; max-width: 38ch; }
  .hero-center .hero-actions { margin-top: 20px; }
  .hero-actions .btn { padding: 11px 16px; font-size: 0.66rem; flex: 1 1 auto; justify-content: center; }
  .hero-tag { margin-top: 18px; font-size: 0.62rem; letter-spacing: 0.12em; }
  .hero-tag .sep { display: inline; }
  .statband { margin-top: 22px; gap: 10px; padding: 10px 0 0; }
  .statband .cell { min-height: 0; padding: 14px 14px; border-radius: 5px; }
  .statband .cell .ic { margin-bottom: 10px; width: 11px; height: 14px; }
  .statband .cell .v { font-size: 1.05rem; }
  .statband .cell .k { margin-top: 6px; font-size: 0.58rem; letter-spacing: 0.12em; }
  .ticker span { font-size: 0.62rem; padding: 11px 0; margin-right: 36px; gap: 36px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.7rem, 9vw, 2.1rem); }
  .hero-center .lede { font-size: 0.9rem; }
  .statband .cell .v { font-size: 0.96rem; }
}

/* hero capability strip — full-bleed card row */
.statband {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: clamp(12px, 1.4vw, 22px);
  margin-top: clamp(22px, 3.2vw, 44px);
  padding: clamp(16px, 2vw, 28px) 0 clamp(8px, 1.4vw, 18px);
  background: transparent;
}
@media (min-width: 800px) { .statband { grid-template-columns: repeat(4,1fr); } }
.statband .cell {
  position: relative;
  padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.2vw, 32px);
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s, background 0.4s;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(140px, 16vh, 200px);
  overflow: hidden;
}
.statband .cell::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--flame); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.statband .cell:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.96);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px -18px rgba(19,18,16,0.18);
}
.statband .cell:hover::after { transform: scaleX(1); }
.statband .ic {
  width: 14px; height: 17px; background: var(--flame);
  clip-path: path("M7 0 C 7 4.5, 14 7, 10 13 C 8.8 15.4, 5.2 15.4, 4 13 C 1.4 8.5, 7 7, 7 0 Z");
  margin-bottom: 18px;
}
.statband .v { font-family: var(--grot); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.statband .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-top: 14px; line-height: 1.5; }

/* domain ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; z-index: 1; background: var(--paper); }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 40s linear infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce){ .ticker-track { animation: none; } }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); padding: 15px 0; margin-right: 56px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 7px; height: 9px; background: var(--flame); clip-path: path("M3.5 0 C 3.5 2.5, 7 3.5, 5 6.5 C 4.3 8, 2.6 8, 2 6.5 C 0.6 4.5, 3.5 3.5, 3.5 0 Z"); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- exploded-view scroll group (pinned canvas, frosted content) ---------- */
.xpl { position: relative; background: var(--paper); }
.xpl-bg { position: sticky; top: 0; height: 100svh; z-index: 0; overflow: hidden; background: var(--paper); }
.xpl-canvas { display: block; width: 100%; height: 100%; }
.xpl-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(255,255,255,0.32) 9%, rgba(255,255,255,0.30) 86%, var(--paper) 100%),
    radial-gradient(125% 75% at 50% 48%, rgba(255,255,255,0) 38%, rgba(255,255,255,0.22) 100%);
}
.xpl-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: var(--mute); letter-spacing: 0.2em; opacity: 0.85; z-index: 1; }
.xpl-content { position: relative; z-index: 1; margin-top: -100svh; }
.xpl-sec { position: relative; }

/* frosted content panels floating over the engineering viewport */
.xpl .flow .fnode, .xpl .caps .cap, .xpl .why .whyc {
  background: rgba(255,255,255,0.74);
  -webkit-backdrop-filter: blur(11px) saturate(1.16);
  backdrop-filter: blur(11px) saturate(1.16);
}
.xpl .flow .fnode:hover, .xpl .caps .cap:hover, .xpl .why .whyc:hover { background: rgba(255,255,255,0.9); }
/* keep the hairline-grid look but let it read over the bg */
.xpl .caps, .xpl .why { background: rgba(19,18,16,0.10); }
/* a soft plate behind each section header so type stays crisp over the busy frames */
.xpl .shead { position: relative; }
.xpl .shead::before { content: ""; position: absolute; inset: -22px -28px; z-index: -1; border-radius: 8px;
  background: radial-gradient(130% 130% at 30% 40%, rgba(255,255,255,0.82), rgba(255,255,255,0) 78%); }

/* mobile: video/canvas dropped — render sections like the rest of the page */
@media (max-width: 900px) {
  .xpl-content .section { padding-block: clamp(48px, 11vw, 96px); }
  .xpl .flow .fnode,
  .xpl .caps .cap,
  .xpl .why .whyc,
  .xpl .site-grid .sitec,
  .xpl .phases .phase {
    background: var(--paper) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .xpl .shead::before { content: none; }
  .xpl-hint { display: none; }
}

/* ---------- ethos ---------- */
.ethos { position: relative; overflow: hidden; }
.ethos-grid { display: grid; gap: clamp(36px, 5vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px){ .ethos-grid { grid-template-columns: 1.05fr 0.95fr; align-items: end; } }
.ethos .ec { position: relative; }
.ethos .word { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); display: inline-flex; align-items: center; gap: 0.7em; font-weight: 500; }
.ethos .word .tick { width: 28px; height: 2px; background: var(--flame); display: inline-block; }
.ethos .big { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: -0.01em; margin-top: 26px; text-wrap: balance; max-width: 18ch; }
.ethos .big em { font-style: italic; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-body { position: relative; padding-left: clamp(0px, 2vw, 26px); }
@media (min-width: 920px){ .ec-body { border-left: 1px solid var(--line); padding-left: clamp(28px, 3.4vw, 56px); } }
.ethos .body { color: var(--ink-2); font-size: 1.05rem; line-height: 1.65; max-width: 46ch; }
.ethos-defs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ethos-defs .d { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 9px 14px; border-radius: 2px; background: var(--paper); transition: border-color 0.3s, color 0.3s, transform 0.3s; }
.ethos-defs .d:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.ethos-defs .d.fire { border-color: var(--red); color: var(--red); }
.ethos-defs .d.fire:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- reveal (frozen-safe: transform-only, never hides content) ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: riseIn 0.85s var(--ease) both; }
  .reveal.in[data-d="1"]{ animation-delay: 0.08s; }
  .reveal.in[data-d="2"]{ animation-delay: 0.16s; }
  .reveal.in[data-d="3"]{ animation-delay: 0.24s; }
  .reveal.in[data-d="4"]{ animation-delay: 0.32s; }
  .reveal.in[data-d="5"]{ animation-delay: 0.40s; }
}
@keyframes riseIn { from { transform: translateY(24px); } to { transform: none; } }

/* ---------- capability nodes (fire-coded, no vendors) ---------- */
.caps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 680px){ .caps { grid-template-columns: repeat(3,1fr); } }
.cap { background: var(--paper); padding: clamp(28px,2.6vw,42px) clamp(26px,2.2vw,36px); position: relative; min-height: 300px; display: flex; flex-direction: column; transition: background 0.4s var(--ease); --c: var(--ink); }
.cap::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.cap:hover { background: var(--paper-2); }
.cap:hover::before { transform: scaleX(1); }
.cap--blue { --c: var(--blue); }
.cap--red { --c: var(--red); }
.cap--green { --c: var(--green); }
.cap--orange { --c: var(--orange); }
.cap .no { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--c); font-weight: 500; }
.cap h3 { font-family: var(--grot); font-weight: 700; font-size: clamp(1.3rem,1.8vw,1.6rem); line-height: 1.05; margin-top: 18px; letter-spacing: -0.02em; }
.cap p { color: var(--mute); margin-top: 14px; font-size: 0.96rem; line-height: 1.55; }
.cap .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.cap .tags em { font-family: var(--mono); font-style: normal; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); padding: 4px 8px; border-radius: 2px; }

/* ---------- flow architecture ---------- */
.flow { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 720px){ .flow { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1080px){ .flow { grid-template-columns: repeat(5,1fr); } }
.fnode { border: 1px solid var(--line); border-radius: 3px; padding: 22px 20px; position: relative; transition: border-color 0.35s, background 0.35s; background: var(--paper); }
.fnode:hover { border-color: var(--line-3); background: var(--paper-2); }
.fnode .st { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.fnode .st .n { background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.fnode h4 { font-family: var(--grot); font-weight: 700; font-size: 1.06rem; margin-top: 12px; letter-spacing: -0.01em; }
.fnode p { color: var(--mute); margin-top: 8px; font-size: 0.84rem; line-height: 1.45; }

/* ---------- serve grid ---------- */
.serve { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px){ .serve { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1020px){ .serve { grid-template-columns: repeat(3,1fr); } }
.srv { background: var(--paper); padding: clamp(26px,2.6vw,40px); transition: background 0.4s; }
.srv:hover { background: var(--paper-2); }
.srv .no { font-family: var(--mono); font-size: 0.7rem; color: var(--mute); }
.srv h3 { font-family: var(--grot); font-weight: 700; font-size: 1.32rem; margin-top: 14px; letter-spacing: -0.015em; }
.srv p { color: var(--mute); margin-top: 10px; font-size: 0.95rem; line-height: 1.55; }

/* ---------- principles (discipline) ---------- */
.principles { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 860px){ .principles { grid-template-columns: repeat(3,1fr); } }
.prin { background: var(--paper); padding: clamp(34px,3.6vw,60px) clamp(28px,2.6vw,46px); position: relative; }
.prin .heb { font-family: var(--serif); font-size: 2.4rem; line-height: 1; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prin h3 { font-family: var(--grot); font-weight: 700; font-size: clamp(1.5rem,2.1vw,1.9rem); margin-top: 20px; letter-spacing: -0.02em; }
.prin .en { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }
.prin p { color: var(--ink-2); margin-top: 18px; font-size: 1rem; line-height: 1.6; max-width: 34ch; }

/* ---------- why-now statements ---------- */
.why { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px){ .why { grid-template-columns: repeat(3,1fr); } }
.whyc { background: var(--paper); padding: clamp(30px,3vw,52px) clamp(26px,2.4vw,40px); }
.whyc .big { font-family: var(--grot); font-weight: 800; font-size: clamp(2.4rem,4vw,3.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.whyc .big .u { font-size: 0.42em; vertical-align: baseline; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 0.1em; }
.whyc .lbl { color: var(--ink-2); margin-top: 18px; font-size: 0.98rem; line-height: 1.5; max-width: 30ch; }

/* ---------- site grid ---------- */
.site-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px){ .site-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .site-grid { grid-template-columns: repeat(4,1fr); } }
.sitec { background: var(--paper); padding: clamp(24px,2.4vw,36px); transition: background 0.4s; position: relative; }
.sitec:hover { background: var(--paper-2); }
.sitec .no { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.sitec .no::before { content:""; display:inline-block; width:18px; height:2px; background: var(--flame); margin-right: 10px; vertical-align: middle; }
.sitec h4 { font-family: var(--grot); font-weight: 700; font-size: 1.12rem; margin-top: 14px; letter-spacing: -0.015em; }
.sitec p { color: var(--mute); margin-top: 8px; font-size: 0.88rem; line-height: 1.5; }
.xpl .site-grid .sitec { background: rgba(255,255,255,0.74); -webkit-backdrop-filter: blur(11px) saturate(1.16); backdrop-filter: blur(11px) saturate(1.16); }
.xpl .site-grid .sitec:hover { background: rgba(255,255,255,0.9); }

/* ---------- rollout phases ---------- */
.phases { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 680px){ .phases { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1080px){ .phases { grid-template-columns: repeat(4,1fr); } }
.phase { background: var(--paper); padding: clamp(28px,2.8vw,44px); position: relative; min-height: 240px; display: flex; flex-direction: column; }
.phase::before { content:""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--flame); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.phase:hover::before { transform: scaleX(1); }
.phase:hover { background: var(--paper-2); }
.phase .ph-no { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--mute); }
.phase .ph-cap { font-family: var(--grot); font-weight: 800; font-size: clamp(2.2rem,3.4vw,3rem); line-height: 1; letter-spacing: -0.035em; margin-top: 16px; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase .ph-cap .u { font-size: 0.42em; vertical-align: baseline; margin-left: 0.15em; -webkit-text-fill-color: currentColor; color: var(--ink); background: none; }
.phase h4 { font-family: var(--grot); font-weight: 700; font-size: 1.18rem; margin-top: 22px; letter-spacing: -0.015em; }
.phase p { color: var(--mute); margin-top: 10px; font-size: 0.92rem; line-height: 1.5; }
.xpl .phases .phase { background: rgba(255,255,255,0.74); -webkit-backdrop-filter: blur(11px) saturate(1.16); backdrop-filter: blur(11px) saturate(1.16); }
.xpl .phases .phase:hover { background: rgba(255,255,255,0.9); }

/* ---------- contact CTA ---------- */
.cta {
  margin-top: clamp(20px,4vw,40px); border-radius: 5px; overflow: hidden; position: relative;
  background: var(--ink); color: var(--paper);
  padding: clamp(44px,6vw,92px);
  display: grid; gap: 32px;
}
.cta::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 130% at 100% 100%, rgba(251,122,30,0.30), transparent 55%), radial-gradient(70% 120% at 0% 0%, rgba(31,79,224,0.22), transparent 55%); pointer-events:none; }
@media (min-width: 900px){ .cta { grid-template-columns: 1.3fr auto; align-items: center; } }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-family: var(--grot); font-weight: 800; font-size: clamp(2rem,3.8vw,3.4rem); line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance; }
.cta p { color: rgba(255,255,255,0.66); margin-top: 18px; max-width: 40ch; font-size: 1.05rem; line-height: 1.55; }
.cta .req { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta .btn:hover { background: #fff; color: var(--ink); border-color:#fff; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(54px,6vw,84px); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 880px){ .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; } }
.foot-col h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; font-weight: 500; }
.foot-col a { display: block; color: var(--ink-2); font-size: 0.95rem; padding: 5px 0; transition: color 0.25s; }
.foot-col a:hover { color: var(--ink); }
.foot-note { font-size: 0.9rem; color: var(--mute); line-height: 1.65; max-width: 44ch; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; margin-top: clamp(40px,5vw,64px); padding-top: 26px; border-top: 1px solid var(--line); }
.foot-bottom .mono-tag { color: var(--mute-2); }

/* ---------- mobile nav: burger + drawer ---------- */
.burger { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(255,255,255,0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  padding: 80px 24px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-menu nav a { font-family: var(--grot); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink); }
.mobile-menu nav a:hover { color: var(--red); }
.mobile-menu-cta { font-size: 0.78rem !important; padding: 14px 26px !important; }

@media (max-width: 1079px) {
  .burger { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 800px) {
  .nav { padding: 10px var(--gut); }
  .nav.scrolled { padding-block: 8px; }
}

/* ---------- mobile: drop the pinned exploded-view canvas ---------- */
@media (max-width: 900px) {
  .xpl { display: contents; }                 /* let the inner sections flow as normal */
  .xpl-bg { display: none !important; }       /* kill the sticky canvas + scrim */
  .xpl-content { margin-top: 0 !important; }
}

/* scroll progress (flame) */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--flame); z-index: 60; width: 0; }

/* ---------- footer legal links ---------- */
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 22px; }
.foot-legal a { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute-2); transition: color 0.25s; }
.foot-legal a:hover { color: var(--ink); }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: clamp(16px, 2.4vw, 28px); transform: translateX(-50%);
  z-index: 70; max-width: min(720px, calc(100% - 24px)); width: 100%;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgba(19,18,16,0.28);
  padding: 18px 22px; opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.cookie-banner.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: grid; gap: 16px; align-items: center; }
@media (min-width: 720px){ .cookie-inner { grid-template-columns: 1fr auto; } }
.cookie-text { font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }
.cookie-text a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.cookie-text a:hover { border-bottom-color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.66rem; }

/* ---------- legal pages ---------- */
.legal-page { padding-top: clamp(110px, 14vh, 160px); padding-bottom: clamp(80px, 10vw, 140px); }
.legal-page .legal-wrap { max-width: 760px; margin: 0 auto; padding-inline: var(--gut); }
.legal-page h1 { font-family: var(--grot); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; }
.legal-page .updated { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 18px; }
.legal-page h2 { font-family: var(--grot); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.015em; margin-top: 48px; }
.legal-page p, .legal-page li { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.legal-page p { margin-top: 14px; }
.legal-page ul { margin-top: 14px; padding-left: 22px; }
.legal-page li { margin-top: 6px; }
.legal-page a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.legal-page a:hover { border-bottom-color: var(--ink); }
.legal-page .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-bottom: 32px; }
.legal-page .back:hover { color: var(--ink); }
