/* =========================================================
   TROIB — "The Thermal Gradient" design system
   Palette: abyssal navy · bioluminescent teal · thermal coral · mineral gold
   Type: Archivo Expanded (architectural display) · Space Grotesk (body) · Space Mono (data)
   Headings: brushed-silver / chrome metallic treatment
   ========================================================= */

:root {
  /* depth / surface backgrounds */
  --abyss:      #04111f;
  --abyss-2:    #061a2b;
  --abyss-3:    #08243a;
  --ink:        #02080f;

  /* text */
  --text:       #eaf4f4;
  --muted:      #8fa6b2;
  --faint:      #5d7585;

  /* thermal-gradient accents */
  --coral:      #ff7a45;   /* warm surface */
  --gold:       #ffd166;   /* mineral / sunlit */
  --teal:       #00e0c7;   /* bioluminescent cold */
  --cyan:       #2ad4ff;   /* cold water */
  --indigo:     #6c7dff;   /* deep */

  --line:       rgba(143,166,178,.16);
  --line-bright:rgba(0,224,199,.35);
  --glass:      rgba(8,36,58,.55);

  --grad-thermal: linear-gradient(135deg, var(--coral) 0%, var(--gold) 28%, var(--teal) 64%, var(--cyan) 100%);
  --grad-cold:    linear-gradient(135deg, var(--teal), var(--cyan) 60%, var(--indigo));

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.65);

  --font-display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--abyss);
  line-height: 1.6;
  overflow-x: hidden;
  /* surface-to-abyss vertical wash */
  background-image:
    radial-gradient(1200px 700px at 75% -5%, rgba(255,122,69,.10), transparent 60%),
    radial-gradient(900px 600px at 0% 12%, rgba(255,209,102,.07), transparent 55%),
    linear-gradient(180deg, #07182a 0%, var(--abyss) 30%, var(--ink) 100%);
  background-attachment: fixed;
}

::selection { background: var(--teal); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- decorative layers ---------- */
.ocean-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
main, .footer { position: relative; z-index: 2; }

/* ---------- depth gauge (scroll progress) ---------- */
.depth-gauge {
  position: fixed; top: 0; right: 0; width: 4px; height: 100vh; z-index: 60;
  background: rgba(255,255,255,.05);
}
.depth-gauge__fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--grad-thermal);
  box-shadow: 0 0 16px var(--teal);
}
.depth-gauge__label {
  position: fixed; top: 12px; right: 16px; z-index: 61;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em;
  color: var(--faint);
}

/* ---------- layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 5vw, 2.5rem);
}
.section__head { max-width: 820px; margin-bottom: 3.5rem; }
.kicker {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--teal);
  border: 1px solid var(--line-bright); border-radius: 100px;
  padding: .35rem .8rem; margin-bottom: 1.4rem;
}
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem); line-height: 1.06;
  letter-spacing: -.02em;
}
.section__lead {
  margin-top: 1.2rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 70ch;
}
.grad-text {
  background: var(--grad-thermal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- brushed-silver / chrome display treatment ---------- */
/* Architectural metal: vertical polished-steel sheen + faint brushed grain */
.section__title,
.hero__title,
.cta h2,
.nav__name,
.region-panel h3,
.flow__source h3 {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 3px, rgba(2,8,15,.05) 3px 4px),
    linear-gradient(176deg,
      #ffffff 0%,
      #e4e9f0 20%,
      #b3bcca 42%,
      #828c9b 51%,
      #aab3c1 60%,
      #e8edf3 80%,
      #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.10)) drop-shadow(0 2px 6px rgba(0,0,0,.45));
  letter-spacing: -.005em;
}
/* keep the thermal accent word readable as a colored highlight inside metallic headings */
.hero__title .grad-text { filter: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--solid {
  background: var(--grad-thermal); color: var(--ink); font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(0,224,199,.6);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(0,224,199,.8); }
.btn--ghost {
  border-color: var(--line-bright); color: var(--text); background: rgba(0,224,199,.04);
}
.btn--ghost:hover { border-color: var(--teal); transform: translateY(-3px); background: rgba(0,224,199,.1); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem);
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(4,17,31,.72); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__name {
  font-family: var(--font-display); font-weight: 800; letter-spacing: .12em;
  font-size: 1.15rem;
}
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: .92rem; color: var(--muted); position: relative; transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--grad-thermal); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: .6rem 1.1rem; font-size: .88rem; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s var(--ease); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: 7rem clamp(1.25rem, 5vw, 2.5rem) 3rem;
}
.eyebrow {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6.8vw, 5.2rem); line-height: 1.02; letter-spacing: -.01em;
  max-width: 18ch;
}
.hero__sub {
  margin-top: 1.8rem; max-width: 60ch; color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.hero__sub strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__ticker {
  list-style: none; display: grid; gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(4, auto); margin-top: 4rem;
  border-top: 1px solid var(--line); padding-top: 2rem;
}
.hero__ticker li { display: flex; flex-direction: column; }
.hero__ticker .counter {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--grad-thermal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__ticker em {
  font-style: normal; font-size: .82rem; color: var(--faint); margin-top: .25rem;
  font-family: var(--font-mono); letter-spacing: .04em;
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 3rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--faint); align-self: flex-start;
}
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ---------- CRISIS ---------- */
.crisis-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.crisis-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: 20px;
  padding: 2rem; backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.crisis-card:hover { transform: translateY(-6px); border-color: var(--line-bright); box-shadow: var(--shadow); }
.crisis-card__num {
  font-family: var(--font-mono); font-size: .8rem; color: var(--coral);
  letter-spacing: .15em; margin-bottom: 1rem;
}
.crisis-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .7rem; }
.crisis-card p { color: var(--muted); font-size: .98rem; }
.crisis-card p strong { color: var(--teal); font-weight: 600; }

.thesis-bridge {
  margin-top: 3.5rem; display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,122,69,.08), rgba(42,212,255,.08));
  border: 1px solid var(--line);
}
.thesis-bridge__line {
  width: 5px; align-self: stretch; border-radius: 5px; flex: none;
  background: var(--grad-thermal);
}
.thesis-bridge p { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--text); }
.thesis-bridge strong { color: var(--gold); }

/* ---------- FLOW ---------- */
.section--flow { }
.flow { position: relative; }
.flow__source {
  text-align: center; max-width: 640px; margin: 0 auto;
  background: var(--glass); border: 1px solid var(--line-bright); border-radius: 20px;
  padding: 2rem;
}
.flow__pill {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .22em; color: var(--cyan);
}
.flow__source h3 { font-family: var(--font-display); font-size: 1.6rem; margin: .5rem 0; }
.flow__source p { color: var(--muted); }
.flow__split {
  width: 2px; height: 56px; margin: 0 auto; background: linear-gradient(var(--teal), transparent);
}
.flow__branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.flow__branch {
  border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem;
  background: var(--abyss-2); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.flow__branch::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
}
.flow__branch--a::before { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.flow__branch--b::before { background: linear-gradient(90deg, var(--gold), var(--teal)); }
.flow__branch--c::before { background: linear-gradient(90deg, var(--teal), var(--indigo)); }
.flow__branch:hover { transform: translateY(-6px); border-color: var(--line-bright); }
.flow__zone {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--faint);
}
.flow__branch h4 { font-family: var(--font-display); font-size: 1.2rem; margin: .5rem 0 1rem; }
.flow__branch ul { list-style: none; display: grid; gap: .5rem; }
.flow__branch li { color: var(--muted); font-size: .92rem; padding-left: 1.2rem; position: relative; }
.flow__branch li::before { content: "▸"; position: absolute; left: 0; color: var(--teal); }

/* ---------- REGIONS ---------- */
.region-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.region-tab {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--muted);
  background: var(--abyss-2); border: 1px solid var(--line); border-radius: 100px;
  padding: .7rem 1.2rem; transition: .3s var(--ease);
}
.region-tab__tag {
  font-family: var(--font-mono); font-size: .72rem; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,224,199,.12); color: var(--teal);
}
.region-tab:hover { color: var(--text); border-color: var(--line-bright); }
.region-tab.is-active { color: var(--ink); background: var(--grad-thermal); border-color: transparent; }
.region-tab.is-active .region-tab__tag { background: rgba(2,8,15,.25); color: var(--ink); }

/* Region panel: full-bleed cinematic photo, text overlay on left */
.region-panel {
  display: none; position: relative; overflow: hidden;
  border-radius: 24px; border: 1px solid rgba(0,224,199,.2);
  background: var(--ink);
}
.region-panel.is-active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* text body: left column, vertically centered over the photo */
.region-panel__body {
  position: relative; z-index: 2;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  width: min(660px, 60%);
  min-height: clamp(520px, 80vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
}
.region-panel h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: .4rem; }
.region-panel__strap {
  font-family: var(--font-mono); font-size: .82rem; color: var(--gold); margin: .5rem 0 1.4rem;
  letter-spacing: .03em;
}
.region-panel__body p { color: #d4e8ee; margin-bottom: 1rem; font-size: 1.02rem; }
.region-panel__body strong { color: var(--text); font-weight: 600; }
.region-panel__stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 1.8rem;
  border-top: 1px solid rgba(0,224,199,.2); padding-top: 1.8rem;
}
.region-panel__stats div { display: flex; flex-direction: column; }
.region-panel__stats b {
  font-family: var(--font-display); font-size: 2rem;
  background: var(--grad-cold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.region-panel__stats span { font-size: .74rem; color: rgba(93,117,133,.9); font-family: var(--font-mono); }

/* photo fills entire panel as absolute background */
.region-panel__art {
  position: absolute; inset: 0;
  margin: 0; border: none; border-radius: 0;
  background: transparent; overflow: hidden;
}
.region-panel__art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; position: absolute; inset: 0;
}
/* gradient: very dark on left (text area) → transparent toward right (shows photo) */
.region-panel__art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(3,13,24,.97) 0%, rgba(3,13,24,.86) 28%,
      rgba(3,13,24,.48) 52%, rgba(3,13,24,.10) 72%, transparent 90%),
    linear-gradient(180deg, rgba(3,13,24,.35) 0%, transparent 30%, rgba(3,13,24,.4) 100%);
}
.region-panel__art .art-tag {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: #eaf4f4;
  background: rgba(2,8,15,.55); border: 1px solid rgba(143,166,178,.2);
  padding: .32rem .6rem; border-radius: 7px; backdrop-filter: blur(4px);
}

/* ---------- TECH ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tech-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 2rem; background: var(--abyss-2);
  transition: .35s var(--ease);
}
.tech-card:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.tech-card h3 { font-family: var(--font-display); font-size: 1.3rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.tech-card__abbr {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--ink);
  background: var(--grad-thermal); padding: .25rem .55rem; border-radius: 6px;
}
.tech-card p { color: var(--muted); }

/* ---------- MINERAL ---------- */
.mineral-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mineral-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 2rem; background: var(--glass);
  position: relative; overflow: hidden; transition: .35s var(--ease);
}
.mineral-card:hover { transform: translateY(-6px); border-color: var(--line-bright); }
.mineral-card__sym {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--gold);
  margin-bottom: 1rem;
}
.mineral-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .6rem; }
.mineral-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.mineral-card__yield {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--teal);
}
.mineral-card__yield span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .72rem; color: var(--faint); }

/* ---------- METRICS ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.metric {
  text-align: center; padding: 2rem 1rem; border: 1px solid var(--line); border-radius: 18px;
  background: var(--abyss-2);
}
.metric .counter {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem);
  background: var(--grad-thermal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric b { display: block; margin-top: .4rem; color: var(--muted); font-weight: 500; font-size: .85rem; font-family: var(--font-mono); }

/* ---------- FINANCIALS ---------- */
.fin-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; }
.fin-chart {
  position: relative; padding: 1rem 1rem 3.5rem 3.5rem; border: 1px solid var(--line);
  border-radius: 20px; background: var(--abyss-2); min-height: 380px;
}
.fin-chart__yaxis {
  position: absolute; left: .6rem; top: 1rem; bottom: 3.5rem; width: 2.6rem;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono); font-size: .62rem; color: var(--faint); text-align: right;
}
.fin-chart__cols { display: flex; align-items: flex-end; justify-content: space-around; height: 320px; gap: 1.5rem; }
.fin-col { display: flex; flex-direction: column; align-items: center; flex: 1; height: 100%; justify-content: flex-end; }
.fin-col__stack { width: 100%; max-width: 70px; display: flex; flex-direction: column-reverse; height: 100%; justify-content: flex-start; }
.fin-seg { width: 100%; height: 0; transition: height 1.1s var(--ease); border-radius: 2px; }
.fin-seg--dc     { background: var(--coral); }
.fin-seg--grid   { background: var(--gold); }
.fin-seg--water  { background: var(--teal); }
.fin-seg--mineral{ background: var(--cyan); }
.fin-seg--fuel   { background: var(--indigo); }
.fin-col__label { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-top: .7rem; }
.fin-col__val { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--text); margin-top: .2rem; }
.fin-chart__legend {
  position: absolute; left: 3.5rem; right: 1rem; bottom: .8rem;
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
}
.fin-chart__legend span { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }
.fin-chart__legend span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; }
.fin-chart__legend [data-k="dc"]::before     { background: var(--coral); }
.fin-chart__legend [data-k="grid"]::before    { background: var(--gold); }
.fin-chart__legend [data-k="water"]::before    { background: var(--teal); }
.fin-chart__legend [data-k="mineral"]::before  { background: var(--cyan); }
.fin-chart__legend [data-k="fuel"]::before     { background: var(--indigo); }

.fin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.fin-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 420px; }
.fin-table th, .fin-table td { padding: .85rem 1rem; text-align: right; border-bottom: 1px solid var(--line); }
.fin-table th:first-child, .fin-table td:first-child { text-align: left; }
.fin-table thead th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; }
.fin-table td { color: var(--muted); font-family: var(--font-mono); }
.fin-table td:first-child { color: var(--text); font-family: var(--font-body); }
.fin-table td em { color: var(--faint); font-style: normal; font-size: .8rem; }
.fin-table__total td { color: var(--text); font-weight: 700; border-top: 2px solid var(--line-bright); background: rgba(0,224,199,.04); }
.fin-table__opex td { color: var(--coral); }
.fin-table__ebitda td { color: var(--gold); font-weight: 700; font-family: var(--font-mono); }
.fin-table__ebitda td:first-child { font-family: var(--font-body); }

/* ---------- ADVANTAGES ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.adv-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 2rem; background: var(--abyss-2);
  transition: .35s var(--ease);
}
.adv-card:hover { transform: translateY(-6px); border-color: var(--line-bright); box-shadow: var(--shadow); }
.adv-card__big {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; margin-bottom: .6rem;
  background: var(--grad-thermal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.adv-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .6rem; }
.adv-card p { color: var(--muted); font-size: .95rem; }
.adv-card strong { color: var(--teal); }

/* ---------- CTA ---------- */
.section--cta { }
.cta {
  text-align: center; padding: clamp(2.5rem, 6vw, 5rem); border-radius: 28px;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(255,122,69,.16), transparent 60%),
    linear-gradient(160deg, rgba(0,224,199,.10), rgba(108,125,255,.10)), var(--abyss-2);
  border: 1px solid var(--line-bright); position: relative; overflow: hidden;
}
.cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.04; margin: 1rem 0; }
.cta p { color: var(--muted); max-width: 60ch; margin: 0 auto 2rem; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__fine { font-family: var(--font-mono); font-size: .8rem; color: var(--faint); margin-top: 2rem; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 3.5rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  max-width: var(--maxw); margin: 0 auto;
}
.footer__top { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer__brand { max-width: 42ch; }
.footer__brand .nav__name { font-size: 1.4rem; }
.footer__brand p { color: var(--muted); margin-top: .8rem; font-size: .92rem; }
.footer__nav { display: grid; grid-auto-flow: row; gap: .6rem; align-content: start; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .25s; }
.footer__nav a:hover { color: var(--teal); }
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .74rem; color: var(--faint);
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .rig__server, .rig__pipe span, .city__loop::after, .canyon__drop span, .canyon__crystal, .hero__scroll svg { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(4,17,31,.96); backdrop-filter: blur(14px); padding: 1.5rem; gap: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .crisis-grid, .flow__branches, .mineral-grid, .metric-grid, .adv-grid, .tech-grid { grid-template-columns: 1fr; }
  .region-panel__body { width: auto; padding: 2rem 1.75rem; min-height: clamp(420px, 75vh, 650px); }
  .region-panel__stats b { font-size: 1.6rem; }
  .fin-wrap { grid-template-columns: 1fr; }
  .hero__ticker { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero__ticker { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2){ opacity: 0; }
  .nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   PHOTOGRAPHY, IMAGE BANDS, SCHEMATICS & TECHNICAL LIBRARY
   ========================================================= */

/* ---- hero background photo (rig at night) — full-bleed, text on top ---- */
.hero { position: relative; }
.hero__bg { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; z-index: 0; overflow: hidden; }
.hero__inner, .hero__scroll { position: relative; z-index: 2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--abyss) 4%, rgba(4,17,31,.55) 50%, rgba(4,17,31,.12) 100%),
    linear-gradient(180deg, rgba(4,17,31,.7) 0%, transparent 35%, var(--abyss) 98%);
}

/* ---- full-bleed image bands (dividers) ---- */
.imgband { position: relative; min-height: clamp(560px, 88vh, 960px); display: flex; align-items: center; overflow: hidden; }
.imgband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgband::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,13,24,.95) 0%, rgba(3,13,24,.65) 45%, rgba(3,13,24,.28) 72%, rgba(3,13,24,.1) 100%),
    linear-gradient(180deg, rgba(3,13,24,.4) 0%, transparent 28%, rgba(3,13,24,.5) 100%);
}
.imgband--center::after {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(3,13,24,.6), rgba(3,13,24,.82)),
    linear-gradient(180deg, rgba(3,13,24,.72) 0%, rgba(3,13,24,.45) 45%, rgba(3,13,24,.72) 100%);
}
.imgband__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 2.5rem); }
.imgband__kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.imgband__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.04; margin-top: .9rem; max-width: 22ch;
  background-image: linear-gradient(176deg,#fff 0%,#e4e9f0 22%,#b3bcca 44%,#828c9b 52%,#aab3c1 62%,#e8edf3 82%,#fff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.65)); }
.imgband__sub { color: #cfe0e6; max-width: 58ch; margin-top: 1.1rem; font-size: 1.18rem; line-height: 1.6; }

/* ---- schematics grid ---- */
.schem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.figure { background: var(--abyss-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .35s var(--ease); }
.figure:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.figure__media { background: #04111f; padding: .6rem; }
.figure__media img { width: 100%; display: block; border-radius: 10px; }
.figure figcaption { padding: 1rem 1.3rem 1.4rem; }
.figure__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; color: var(--teal); }
.figure h3 { font-family: var(--font-display); font-size: 1.05rem; margin: .35rem 0 .4rem; }
.figure p { color: var(--muted); font-size: .9rem; }

/* ---- technical library (white papers) ---- */
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.paper-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--abyss-2); transition: .3s var(--ease); }
.paper-card:hover { border-color: var(--line-bright); transform: translateY(-4px); box-shadow: var(--shadow); }
.paper-card__doc { flex: none; font-family: var(--font-mono); font-size: .64rem; color: var(--gold); border: 1px solid var(--line); border-radius: 9px; padding: .55rem .55rem; text-align: center; line-height: 1.5; }
.paper-card h3 { font-family: var(--font-display); font-size: 1.06rem; line-height: 1.2; }
.paper-card p { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.paper-card__meta { font-family: var(--font-mono); font-size: .68rem; color: var(--faint); margin-top: .6rem; display: inline-flex; gap: .5rem; align-items: center; }
.paper-card__arrow { color: var(--teal); transition: transform .3s var(--ease); }
.paper-card:hover .paper-card__arrow { transform: translateX(4px); }

.credits { font-family: var(--font-mono); font-size: .68rem; color: var(--faint); }
.credits a { color: var(--muted); }

@media (max-width: 920px) {
  .schem-grid, .lib-grid { grid-template-columns: 1fr; }
  .imgband__title { max-width: 100%; }
  .imgband { min-height: clamp(420px, 75vh, 700px); }
}

/* =========================================================
   "TRUE GREEN ENERGY" — EV / dirty-grid ad section
   ========================================================= */
.ev-ad { position: relative; overflow: hidden; min-height: clamp(460px, 74vh, 760px); display: flex; align-items: center; }
.ev-ad__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ev-ad::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,8,15,.5) 0%, rgba(3,8,15,.78) 70%, rgba(4,17,31,.95) 100%),
    radial-gradient(130% 90% at 18% 25%, rgba(255,72,40,.28), transparent 58%);
}
.ev-ad__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 2.5rem); }
.ev-ad__badge {
  display: inline-flex; gap: .5rem; align-items: center; font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #ffb199;
  border: 1px solid rgba(255,122,69,.5); border-radius: 100px; padding: .42rem .95rem;
  background: rgba(255,72,40,.08);
}
.ev-ad__head {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.01em;
  margin: 1.3rem 0; max-width: 19ch; text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.ev-ad__head .hot { color: var(--coral); }
.ev-ad__body { color: #e4ecef; max-width: 58ch; font-size: clamp(1.02rem, 1.7vw, 1.22rem); }
.ev-ad__body strong { color: #fff; }
.ev-ad__rule { height: 2px; width: min(520px, 80%); margin: 2rem 0 1.6rem;
  background: linear-gradient(90deg, var(--teal), transparent); }
.ev-ad__answer {
  font-family: var(--font-display); font-weight: 700; color: var(--text);
  font-size: clamp(1.15rem, 2.3vw, 1.7rem); line-height: 1.18; max-width: 30ch;
}
.ev-ad__answer b { font-weight: 800; background: var(--grad-cold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-ad__stamp { margin-top: 1.7rem; display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ev-ad__stamp .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.ev-ad__disclaim { margin-top: 1.6rem; font-family: var(--font-mono); font-size: .68rem; color: var(--faint); max-width: 64ch; }

/* ---- paper-card inner links (Read / PDF) ---- */
.paper-card__main { display: flex; flex-direction: column; }
.paper-card__main h3 a { color: inherit; transition: color .25s var(--ease); }
.paper-card__main h3 a:hover { color: var(--teal); }
.paper-card__links { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-family: var(--font-mono); font-size: .7rem; }
.paper-card__links .doc { color: var(--faint); margin-right: .2rem; }
.paper-card__links a { color: var(--teal); border: 1px solid var(--line-bright); border-radius: 7px; padding: .28rem .55rem; transition: .25s var(--ease); }
.paper-card__links a:hover { background: rgba(0,224,199,.1); }
