:root {
  --ink: #080b0e;
  --panel: #11161b;
  --steel: #87929b;
  --paper: #f4f1e8;
  --orange: #ff5c00;
  --yellow: #dfff00;
  --blue: #78d8ff;
  --line: rgba(244,241,232,.18);
  --gauge: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.cursor-glow { position: fixed; width: 36rem; height: 36rem; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(255,92,0,.11), transparent 67%); transform: translate(-50%,-50%); transition: opacity .25s; }
.site-header { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1rem 2.2rem; border-bottom: 1px solid var(--line); background: rgba(8,11,14,.76); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 950; letter-spacing: -.04em; font-size: 1.12rem; width: max-content; }
.brand > span:last-child > span { color: var(--orange); }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: var(--ink); background: var(--yellow); border-radius: 50% 50% 48% 52% / 58% 58% 42% 42%; font-size: .72rem; letter-spacing: -.08em; transform: rotate(-5deg); box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--yellow); }
nav { display: flex; gap: 2rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
nav a { color: rgba(244,241,232,.68); transition: color .2s; }
nav a:hover { color: var(--yellow); }
.mini-buy { justify-self: end; color: var(--ink); background: var(--paper); padding: .72rem 1rem; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; transform: skew(-6deg); }
.mini-buy span { color: var(--orange); }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: minmax(0,.82fr) minmax(24rem,1.18fr); align-items: center; padding: 8rem 5vw 5rem; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(8,11,14,.95) 0%, rgba(8,11,14,.68) 42%, rgba(8,11,14,.18) 75%), linear-gradient(0deg, var(--ink) 0%, transparent 22%), url("assets/fuel-depot-bg.png") 58% center / cover no-repeat; opacity: .82; }
.hero::after { content: ""; position: absolute; z-index: -2; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 11.8vw, rgba(255,255,255,.035) 11.9vw 12vw); }
.road-lines { position: absolute; z-index: -1; width: 65vw; height: 1px; right: -14vw; bottom: 17%; background: var(--orange); box-shadow: 0 0 22px var(--orange); transform: rotate(-8deg); opacity: .7; }
.hero-copy { position: relative; z-index: 2; max-width: 43rem; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -2rem -5rem -2rem -2rem; background: radial-gradient(ellipse at 35% 45%, rgba(5,7,9,.88) 0%, rgba(5,7,9,.62) 48%, transparent 74%); pointer-events: none; }
.eyebrow, .section-label { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; color: var(--yellow); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow span { width: 2.2rem; height: 3px; background: var(--yellow); box-shadow: 0 0 12px rgba(223,255,0,.8); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.35rem; color: #ece8df; font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: clamp(4.4rem, 8.3vw, 9.7rem); line-height: .78; letter-spacing: -.055em; font-weight: 900; text-transform: uppercase; -webkit-text-stroke: 1.5px rgba(0,0,0,.96); paint-order: stroke fill; text-shadow: 0 .045em 0 rgba(0,0,0,.72), 0 .11em .22em rgba(0,0,0,.92); }
h1 em, .finale h2 em { color: var(--orange); font-style: normal; -webkit-text-stroke: 1px var(--paper); text-shadow: .06em .06em 0 rgba(255,92,0,.25); }
.hero-lede { max-width: 35rem; color: rgba(244,241,232,.72); font-size: clamp(1rem,1.3vw,1.18rem); line-height: 1.55; border-left: 3px solid var(--orange); padding-left: 1rem; }
.hero-actions, .finale-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 3.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .85rem; padding: .9rem 1.2rem; border: 1px solid var(--line); color: var(--paper); background: rgba(8,11,14,.55); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(8px); transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 0 0 32px rgba(223,255,0,.1); }
.button-primary:hover { box-shadow: 0 0 32px rgba(223,255,0,.28); }
.button-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-art-wrap { position: relative; z-index: 1; min-width: 0; transform: translateX(3vw); }
.hero-art { position: relative; display: block; width: min(69vw, 62rem); max-width: none; margin-left: -4vw; filter: drop-shadow(0 2rem 2.5rem rgba(0,0,0,.72)); animation: idle 5s ease-in-out infinite; transform-origin: 55% 76%; }
.hero-shadow { position: absolute; width: 70%; height: 10%; left: 16%; bottom: 2%; z-index: -1; background: #000; filter: blur(24px); border-radius: 50%; opacity: .75; }
.orbit-label { position: absolute; z-index: 2; font-size: .63rem; font-weight: 900; letter-spacing: .18em; color: var(--yellow); border: 1px solid rgba(223,255,0,.45); border-radius: 50%; width: 7.5rem; height: 7.5rem; display: grid; place-items: center; animation: spin 16s linear infinite; }
.orbit-label::before { content: ""; position: absolute; inset: .55rem; border: 1px dashed rgba(223,255,0,.32); border-radius: 50%; }
.orbit-label-a { top: 3%; right: 14%; }
.orbit-label-b { bottom: 12%; left: 2%; color: var(--orange); border-color: rgba(255,92,0,.5); animation-direction: reverse; }
.hero-status { position: absolute; right: 2.2rem; bottom: 2rem; z-index: 3; display: grid; grid-template-columns: auto minmax(4rem,8rem) auto; align-items: center; gap: .5rem .9rem; writing-mode: vertical-rl; }
.hero-status .status-kicker { color: rgba(244,241,232,.45); font-size: .58rem; font-weight: 800; letter-spacing: .16em; }
.hero-status strong { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.route-line { height: 4.2rem; width: 1px; background: rgba(244,241,232,.25); display: block; position: relative; }
.route-line i { position: absolute; inset: auto -2px 0; height: 40%; background: var(--orange); animation: route 2s ease-in-out infinite; }
.scroll-cue { position: absolute; bottom: 2rem; left: 5vw; display: flex; gap: .8rem; align-items: center; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: rgba(244,241,232,.5); }
.scroll-cue i { width: 4rem; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; width: 50%; height: 100%; background: var(--yellow); animation: scan 1.8s linear infinite; }

.contract { display: grid; grid-template-columns: .7fr 1.3fr; align-items: end; gap: 3rem; padding: 5rem 5vw; background: var(--paper); color: var(--ink); }
.contract .section-label { color: #916300; }
.contract h2, .story h2, .ritual h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: clamp(2.8rem,5.8vw,6.6rem); line-height: .88; letter-spacing: -.04em; text-transform: uppercase; }
.ca-box { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; width: 100%; border: 2px solid var(--ink); background: transparent; color: var(--ink); min-width: 0; padding: 1rem; cursor: pointer; box-shadow: .5rem .5rem 0 var(--orange); transition: transform .2s, box-shadow .2s; }
.ca-box:hover { transform: translate(.25rem,.25rem); box-shadow: .25rem .25rem 0 var(--orange); }
.ca-prefix, .copy-label { font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .12em; }
.ca-prefix { background: var(--ink); color: var(--yellow); padding: .7rem; }
.ca-box code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; text-align: left; }

.story { padding: 8rem 5vw; background: var(--ink); }
.story-intro { display: grid; grid-template-columns: .55fr 1fr 1fr; gap: 4vw; align-items: end; padding-bottom: 4rem; border-bottom: 1px solid var(--line); }
.story-intro .section-label { align-self: start; }
.story-intro p:last-child { color: rgba(244,241,232,.64); line-height: 1.7; font-size: 1.05rem; max-width: 34rem; }
.tenets { display: grid; grid-template-columns: repeat(3,1fr); }
.tenets article { position: relative; min-height: 25rem; padding: 2rem; border-right: 1px solid var(--line); overflow: hidden; }
.tenets article:first-child { border-left: 1px solid var(--line); }
.tenets article::after { content: ""; position: absolute; inset: auto 0 0; height: 0; background: var(--yellow); transition: height .35s cubic-bezier(.2,.8,.2,1); z-index: 0; }
.tenets article:hover::after { height: 100%; }
.tenets article > * { position: relative; z-index: 1; transition: color .3s; }
.tenets article:hover > * { color: var(--ink); }
.tenet-number { color: rgba(244,241,232,.35); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.tenet-icon { margin: 6rem 0 2rem; font-size: 2.4rem; }
.tenets h3 { margin-bottom: .8rem; font-size: clamp(1.3rem,2vw,2.1rem); text-transform: uppercase; letter-spacing: -.02em; }
.tenets p { max-width: 22rem; color: rgba(244,241,232,.58); line-height: 1.6; }

.ritual { position: relative; min-height: 47rem; padding: 8rem 8vw; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7vw; isolation: isolate; overflow: hidden; }
.ritual-scene { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,11,14,.98), rgba(8,11,14,.72) 45%, rgba(8,11,14,.36)), url("assets/fuel-depot-bg.png") center / cover; filter: saturate(.72); }
.ritual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 70% 50%, rgba(255,92,0,.2), transparent 30%); }
.ritual-copy > p:not(.section-label) { color: rgba(244,241,232,.68); font-size: 1.05rem; line-height: 1.6; }
.ritual-note { font-size: .78rem !important; max-width: 28rem; border-left: 2px solid var(--yellow); padding-left: .8rem; }
.pump-console { justify-self: center; width: min(100%, 27rem); padding: 2rem; background: linear-gradient(145deg, #242a2e, #0d1114); border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; box-shadow: 1.4rem 1.5rem 0 rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.12); }
.gauge { width: 100%; aspect-ratio: 1.7; overflow: hidden; margin-bottom: 1.4rem; border-radius: 14rem 14rem 1rem 1rem; background: #050708; border: 8px solid #3f474c; box-shadow: inset 0 0 40px #000, 0 0 0 2px #070809; }
.gauge-face { width: 100%; height: 200%; border-radius: 50%; position: relative; background: radial-gradient(circle at 50% 50%, #172026 0 40%, #0b0e10 61%, #030404 62%); }
.gauge-empty, .gauge-full { position: absolute; top: 38%; font-weight: 950; font-size: 1.5rem; color: var(--orange); }
.gauge-empty { left: 11%; }
.gauge-full { right: 11%; color: var(--yellow); }
.ticks { position: absolute; inset: 14% 15%; border-top: 10px dashed rgba(244,241,232,.82); border-radius: 50%; }
.needle { position: absolute; width: 35%; height: 5px; left: 15%; top: 50%; background: linear-gradient(90deg, transparent 0 12%, var(--orange) 12%); transform-origin: 100% 50%; transform: rotate(calc(-54deg + var(--gauge) * 1.08deg)); transition: transform .08s linear; box-shadow: 0 0 11px var(--orange); }
.needle-pin { position: absolute; width: 1.6rem; height: 1.6rem; left: calc(50% - .8rem); top: calc(50% - .8rem); background: #bcc4c9; border: .35rem solid #343a3e; border-radius: 50%; }
.gauge strong { position: absolute; top: 63%; left: 50%; transform: translateX(-50%); font-family: Impact, sans-serif; font-size: 1.7rem; letter-spacing: .08em; }
.gauge small { position: absolute; top: 71%; left: 50%; transform: translateX(-50%); color: var(--steel); font-size: .55rem; letter-spacing: .3em; }
.fuel-button { position: relative; width: 100%; min-height: 4.8rem; overflow: hidden; border: 1px solid var(--yellow); background: transparent; color: var(--yellow); font-size: .8rem; font-weight: 950; letter-spacing: .18em; cursor: pointer; transition: color .15s; }
.fuel-progress { position: absolute; inset: 0; width: calc(var(--gauge) * 1%); background: var(--yellow); transition: width .06s linear; }
.fuel-button-text { position: relative; z-index: 1; mix-blend-mode: difference; color: white; }
.fuel-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.console-status { display: flex; justify-content: center; align-items: center; gap: .55rem; margin-top: 1rem; color: var(--steel); text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; }
.console-light { width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }

.finale { padding: 8rem 5vw 7rem; text-align: center; background: var(--orange); color: var(--ink); }
.finale .section-label { justify-content: center; color: var(--ink); }
.finale h2 { margin: 0 auto; max-width: 75rem; font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: clamp(3.5rem,8vw,9rem); line-height: .86; letter-spacing: -.045em; }
.finale h2 em { color: var(--paper); -webkit-text-stroke-color: var(--ink); }
.finale-actions { justify-content: center; }
.finale .button-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.finale .button-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.finale .button-ghost:hover { background: var(--paper); }
.disclaimer { max-width: 48rem; margin: 3.2rem auto 0; font-size: .75rem; line-height: 1.6; opacity: .72; }
footer { padding: 2rem 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; border-top: 1px solid var(--line); font-size: .75rem; color: rgba(244,241,232,.55); }
footer p { margin: 0; text-transform: uppercase; letter-spacing: .12em; }
footer > div { justify-self: end; display: flex; gap: .7rem; }
footer a:hover { color: var(--yellow); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 2rem; transform: translate(-50%,150%); padding: .85rem 1.2rem; background: var(--paper); color: var(--ink); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; box-shadow: .35rem .35rem 0 var(--yellow); transition: transform .3s; }
.toast.show { transform: translate(-50%,0); }
.full-tank-banner { position: fixed; z-index: 45; left: -5%; right: -5%; top: 50%; transform: translateY(-50%) rotate(-4deg) scaleY(0); display: flex; gap: 3rem; align-items: center; white-space: nowrap; padding: 1rem; background: var(--yellow); color: var(--ink); border-block: 5px solid var(--ink); font-family: Impact, sans-serif; font-size: clamp(2rem,5vw,5rem); letter-spacing: .03em; transition: transform .5s cubic-bezier(.15,.8,.2,1.2); pointer-events: none; }
.full-tank-banner i { color: var(--orange); font-style: normal; }
body.full-tank .full-tank-banner { animation: banner 1.5s both; }
body.full-tank .hero-art { animation: ignition .8s cubic-bezier(.2,.8,.2,1); }
body.full-tank .console-light { background: var(--yellow); box-shadow: 0 0 18px var(--yellow); }

@keyframes idle { 0%,100% { transform: translateY(0) rotate(-.3deg); } 50% { transform: translateY(-9px) rotate(.3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes route { 0%,100% { height: 15%; opacity: .3; } 50% { height: 90%; opacity: 1; } }
@keyframes scan { from { transform: translateX(-110%); } to { transform: translateX(210%); } }
@keyframes ignition { 0%,100% { transform: translate(0); } 12% { transform: translate(-8px,3px) rotate(-1deg); } 25% { transform: translate(7px,-3px) rotate(1deg); } 42% { transform: translate(-4px,1px); } 65% { transform: translate(2px,-1px); } }
@keyframes banner { 0% { transform: translateY(-50%) rotate(-4deg) scaleY(0); } 18%,70% { transform: translateY(-50%) rotate(-4deg) scaleY(1); } 100% { transform: translateY(-250%) rotate(-4deg) scaleY(1); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: .85rem 1rem; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 7rem 1rem 5rem; }
  .hero-copy { z-index: 4; }
  h1 { font-size: clamp(4rem,20vw,7rem); }
  .hero-art-wrap { margin-top: -1rem; transform: translateX(0); }
  .hero-art { width: 120%; margin-left: -11%; }
  .hero-status { display: none; }
  .scroll-cue { bottom: 1rem; left: 1rem; }
  .contract { grid-template-columns: 1fr; padding: 4rem 1rem; }
  .story { padding: 5rem 1rem; }
  .story-intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .tenets { grid-template-columns: 1fr; }
  .tenets article, .tenets article:first-child { min-height: 19rem; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .tenet-icon { margin: 3rem 0 1.5rem; }
  .ritual { grid-template-columns: 1fr; padding: 5rem 1rem; }
  .pump-console { width: min(100%,24rem); }
  .finale { padding: 5rem 1rem; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer > div { justify-self: center; }
  .cursor-glow { display: none; }
}

@media (max-width: 520px) {
  .brand { font-size: .95rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .mini-buy { font-size: .65rem; padding: .65rem .7rem; }
  .hero-actions .button { width: 100%; }
  .ca-box { grid-template-columns: auto minmax(0,1fr); }
  .copy-label { grid-column: 1 / -1; text-align: right; }
  .orbit-label { width: 5.5rem; height: 5.5rem; font-size: .48rem; }
  .pump-console { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
