/* MetaVista demo site — design system and layout */
:root {
  --ink: #05070b;
  --ink-2: #0a0f18;
  --ink-3: #111a28;
  --line-d: rgba(255, 255, 255, .14);
  --line: #e1e5eb;
  --red: #c8161f;
  --red-2: #a3121a;
  --red-lt: #ff4e56;
  --paper: #fff;
  --paper-2: #f2f4f7;
  --text: #161a21;
  --muted: #545c6a;
  --muted-d: #b6bfcc;
  --font-h: "Saira", "Arial Narrow", system-ui, sans-serif;
  --font-b: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Cinzel", Georgia, serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-h);
  line-height: 1.02;
  margin: 0 0 .5em;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .005em;
}
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--red); color: #fff; padding: .7rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red-lt); outline-offset: 3px; }
.red { color: var(--red); }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 250; pointer-events: none; }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 50px; padding: .8rem 1.4rem;
  font-family: var(--font-h); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(200, 22, 31, .75); }
.btn-red:hover { background: var(--red-2); }
.btn-red::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: transform .8s var(--ease);
}
.btn-red:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(5, 7, 11, .25); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: .55rem; padding-bottom: .25rem;
  font-family: var(--font-h); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); text-decoration: none; border-bottom: 1.5px solid currentColor;
}
.text-link .i { transition: transform .35s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.on-dark .text-link, .dark-sec .text-link { color: var(--red-lt); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .45); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .header-inner { height: 66px; }
.brand { display: block; line-height: 0; }
.brand img { width: clamp(180px, 22vw, 300px); height: auto; margin-bottom: -18px; transition: width .35s var(--ease); }
.site-header.is-scrolled .brand img { width: clamp(170px, 19vw, 250px); margin-bottom: -14px; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.nav ul { display: flex; gap: clamp(1rem, 1.8vw, 1.8rem); list-style: none; margin: 0; padding: 0; }
.nav ul a {
  position: relative; display: block; padding: .5rem 0;
  font-family: var(--font-h); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: #20242c; white-space: nowrap;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: .6rem 1.2rem; }
.menu-toggle { display: none; }

/* Eyebrows and headings */
.eyebrow {
  display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem;
  font-family: var(--font-h); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--red-lt); }
.center .eyebrow { justify-content: center; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.sec-head { max-width: 780px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section.tint { background: var(--paper-2); }
.dark-sec { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark-sec .lede { color: var(--muted-d); }
.dark-sec .eyebrow { color: var(--red-lt); }
.dark-sec .red { color: var(--red-lt); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 70%);
}

/* Reveal on scroll */
.has-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(580px, 88vh, 880px); color: #fff; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 5, 9, .94) 0%, rgba(3, 5, 9, .74) 36%, rgba(3, 5, 9, .18) 68%, rgba(3, 5, 9, .38) 100%),
    linear-gradient(0deg, rgba(3, 5, 9, .9) 0%, transparent 38%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .03;
  background: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 4px);
}
.flight-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.flight-path path { fill: none; vector-effect: non-scaling-stroke; }
.flight-path .trail { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-dasharray: 5 9; animation: dash 40s linear infinite; }
.flight-path .comet { stroke: var(--red-lt); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 90 2400; animation: comet 7s var(--ease) infinite; filter: drop-shadow(0 0 6px rgba(255, 78, 86, .9)); }
.hero-inner { padding-block: 5.5rem 8rem; }
.hero-title { font-size: clamp(2.9rem, 7.4vw, 6.4rem); font-weight: 800; line-height: .95; margin-bottom: 1.5rem; }
.line { display: block; overflow: hidden; padding-bottom: .05em; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1.05s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
.line:nth-child(3) > span { animation-delay: .24s; }
.hero-title .red, .page-hero h1 .red { color: #e5262f; }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.38rem); max-width: 40ch; color: #e7eaef; opacity: 0; animation: fadeUp .9s .55s var(--ease) forwards; }
.hero .btn-row { margin-top: 2.2rem; opacity: 0; animation: fadeUp .9s .75s var(--ease) forwards; }
.btn-play {
  display: inline-flex; align-items: center; gap: .85rem; padding: .3rem .4rem; margin-left: .3rem;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-family: var(--font-h); font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.btn-play small { color: var(--muted-d); font-weight: 500; }
.play-ring { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); transition: background .3s, color .3s; }
.play-ring .i { width: 18px; height: 18px; margin-left: 2px; }
.play-ring::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); animation: pulse 2.4s ease-out infinite; }
.btn-play:hover .play-ring { background: #fff; color: var(--ink); }
.hero-motto {
  position: absolute; right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); bottom: 3.4rem; margin: 0;
  display: flex; flex-direction: column; line-height: 1.35;
  font-family: var(--font-h); font-size: clamp(1rem, 1.6vw, 1.45rem); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.hero-motto span { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.hero-motto span:nth-child(1) { animation-delay: 1s; }
.hero-motto span:nth-child(2) { animation-delay: 1.15s; }
.hero-motto span:nth-child(3) { animation-delay: 1.3s; }
.video-toggle {
  position: absolute; left: max(1.25rem, calc((100vw - var(--wrap)) / 2)); bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 30px; cursor: pointer;
  font-family: var(--font-h); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.video-toggle .i { width: 12px; height: 12px; }
.video-toggle:hover { background: rgba(0, 0, 0, .6); }

/* ---------- MetaMind band ---------- */
.metamind { background: radial-gradient(ellipse at 14% 42%, #1b2740 0%, var(--ink-2) 46%, var(--ink) 100%); color: #fff; padding: clamp(4rem, 7vw, 6rem) 0; position: relative; overflow: hidden; }
.metamind-grid { position: relative; display: grid; grid-template-columns: minmax(230px, .85fr) 1.35fr minmax(260px, .95fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.mm-mark { position: relative; max-width: 360px; width: 100%; margin-inline: auto; }
.mm-video { width: 100%; height: auto; aspect-ratio: 864 / 960; object-fit: cover; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 90px 10px rgba(160, 190, 255, .14); }
.mm-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.mm-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: .45rem .9rem; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); border-radius: 30px; color: #fff; cursor: pointer; font-family: var(--font-h); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.mm-btn .i { width: 14px; height: 14px; }
.mm-btn:hover { background: #fff; color: var(--ink); }
.mm-btn.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.mm-copy { border-left: 1px solid var(--line-d); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.mm-wordmark { font-family: var(--font-mark); font-weight: 900; font-size: clamp(2.6rem, 4.8vw, 4.3rem); line-height: 1; margin-bottom: .35rem; transform: skewX(-9deg); transform-origin: left bottom; letter-spacing: .01em; }
.mm-wordmark span { color: #e5262f; }
.mm-wordmark sup { font-family: var(--font-b); font-size: .22em; font-weight: 500; vertical-align: top; margin-left: .15em; position: relative; top: .5em; }
.mm-sub { font-family: var(--font-h); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.45rem); text-transform: uppercase; color: var(--red-lt); margin-bottom: 1rem; }
.mm-copy p { color: #d3d9e2; }
.mm-copy .btn { margin-top: .6rem; }
.cap-list { list-style: none; margin: 0 0 1.4rem; padding: 0 0 0 clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line-d); }
.cap-list li { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; font-family: var(--font-h); font-size: .84rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.cap-list .i { width: 26px; height: 26px; color: var(--red-lt); stroke-width: 1.5; }
.mm-tag { margin: 0; padding-left: clamp(1rem, 2vw, 2rem); font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red-lt); }

/* MetaMind step cycle */
.mm-cycle { position: relative; margin-top: clamp(3rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .025); }
.cycle-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-d); }
.cycle-tab { position: relative; padding: 1.05rem 1rem; background: none; border: 0; color: #aeb6c4; text-align: left; cursor: pointer; font-family: var(--font-h); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.cycle-tab b { display: block; font-size: 1.35rem; letter-spacing: .02em; color: #fff; opacity: .45; }
.cycle-tab[aria-selected="true"] { color: #fff; }
.cycle-tab[aria-selected="true"] b { opacity: 1; color: var(--red-lt); }
.cycle-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.cycle-tab[aria-selected="true"]::after { animation: tabfill 6s linear forwards; }
.paused .cycle-tab[aria-selected="true"]::after { animation: none; transform: scaleX(1); }
.cycle-panel { padding: clamp(1.6rem, 3vw, 2.6rem); animation: fadeUp .6s var(--ease); }
.cycle-panel h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cycle-panel p { color: #cfd6e0; font-size: 1.15rem; max-width: 42ch; margin: 0; }
.cycle-visual { position: relative; min-height: 330px; overflow: hidden; border-left: 1px solid var(--line-d); }
.cycle-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.hud { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 7, 11, .15), rgba(5, 7, 11, .55)); }
.hud::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 78, 86, .85), transparent); box-shadow: 0 0 18px rgba(255, 78, 86, .6); animation: scan 3.8s linear infinite; }
.hud::after {
  content: ""; position: absolute; inset: 18px;
  background:
    linear-gradient(#fff, #fff) left top / 26px 2px no-repeat, linear-gradient(#fff, #fff) left top / 2px 26px no-repeat,
    linear-gradient(#fff, #fff) right top / 26px 2px no-repeat, linear-gradient(#fff, #fff) right top / 2px 26px no-repeat,
    linear-gradient(#fff, #fff) left bottom / 26px 2px no-repeat, linear-gradient(#fff, #fff) left bottom / 2px 26px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 26px 2px no-repeat, linear-gradient(#fff, #fff) right bottom / 2px 26px no-repeat;
  opacity: .85;
}
.reticle { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; margin: -59px 0 0 -59px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); animation: spin 14s linear infinite; }
.reticle::before, .reticle::after { content: ""; position: absolute; background: rgba(255, 255, 255, .85); }
.reticle::before { left: 50%; top: -14px; bottom: -14px; width: 1.5px; }
.reticle::after { top: 50%; left: -14px; right: -14px; height: 1.5px; }
.hud-label { position: absolute; left: 34px; bottom: 30px; display: flex; align-items: center; gap: .6rem; font-family: var(--font-h); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.hud-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-lt); box-shadow: 0 0 10px var(--red-lt); animation: blink 1.4s infinite; }

/* ---------- Feature strip ---------- */
.feature-strip { background: #000; color: #fff; border-top: 1px solid var(--line-d); }
.strip { list-style: none; margin: 0 auto; padding: 1.35rem 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.strip li { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .45rem 1rem; border-left: 1px solid var(--line-d); font-family: var(--font-h); font-size: .84rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.strip li:first-child { border-left: 0; }
.strip .i { width: 40px; height: 40px; stroke-width: 1.35; transition: transform .5s var(--ease), color .3s; }
.strip li:hover .i { color: var(--red-lt); transform: rotate(-8deg) scale(1.1); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.points { list-style: none; counter-reset: pt; padding: 0; margin: 2rem 0; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 3rem 1fr; gap: .15rem 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: "0" counter(pt); grid-row: span 2; font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; color: var(--red); }
.points strong { font-family: var(--font-h); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.points span { color: var(--muted); }
.dark-sec .points li { border-color: var(--line-d); }
.dark-sec .points li::before { color: var(--red-lt); }
.dark-sec .points span { color: var(--muted-d); }
.media-frame { position: relative; isolation: isolate; margin: 0; }
.media-frame::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid var(--red); z-index: -1; }
.media-frame .clip { overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 91% 100%, 0 100%); }
.media-frame img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transform: scale(1.12); }
.media-frame figcaption { position: absolute; left: 0; bottom: 0; padding: .7rem 1rem; background: var(--ink); color: #fff; font-family: var(--font-h); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.media-frame.tall img { aspect-ratio: 4 / 3.4; }
/* Show the full photo (no crop, no zoom) so the whole tank and its label are visible */
.media-frame.whole .clip { clip-path: none; }
.media-frame.whole img { aspect-ratio: auto 1447 / 1087; height: auto; object-fit: contain; transform: none; }
/* Footer logo keeps its original colors on a light plate */
.footer-plate { display: inline-block; margin: 0 auto 1.5rem; padding: clamp(1rem, 2.4vw, 1.6rem) clamp(1.4rem, 4vw, 2.6rem) clamp(.3rem, 1vw, .7rem); background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 20px 60px -18px rgba(90, 170, 255, .5); }
.footer-plate .footer-logo { display: block; width: min(68vw, 420px); margin: 0; }

/* ---------- Hydrogen ---------- */
.hydrogen { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(540px, 56vw, 660px); background: linear-gradient(100deg, #f7f9fc 0%, #e8edf4 45%, #cfd8e4 100%); }
.hydrogen-media { position: absolute; inset: 0 0 0 36%; }
.hydrogen-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hydrogen-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #eef2f7 0%, rgba(238, 242, 247, .88) 16%, rgba(238, 242, 247, 0) 48%); }
.energy { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.energy span { position: absolute; left: -30%; height: 2px; width: 30%; background: linear-gradient(90deg, transparent, #48a6ff, transparent); box-shadow: 0 0 12px #48a6ff; opacity: .7; animation: energy 5s linear infinite; }
.energy span:nth-child(1) { top: 72%; }
.energy span:nth-child(2) { top: 76%; animation-delay: 1.7s; }
.energy span:nth-child(3) { top: 80%; animation-delay: 3.3s; }
.hydrogen-inner { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.hydrogen-copy { max-width: 520px; padding-block: 4rem; }
.hydrogen-copy p { color: #353c47; font-size: 1.12rem; }
.hydrogen-copy .btn { margin-top: .8rem; }
.hydrogen-stamp { margin: 4.5rem 0 0; font-family: var(--font-h); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2.1rem); line-height: 1.12; text-transform: uppercase; color: #0b1220; transform: rotate(-5deg); text-align: right; }

/* ---------- Platform tiles ---------- */
.platform { background: var(--ink); color: #fff; }
.platform-head { text-align: center; padding: clamp(3rem, 5vw, 4.2rem) 1.25rem 2.4rem; background: radial-gradient(ellipse at 50% 0, #17243b, transparent 70%); }
.band-title { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; margin-bottom: .7rem; }
.band-title .red { color: #e5262f; }
.platform-head p { color: var(--muted-d); max-width: 62ch; margin: 0 auto; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: #000; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 3.5; color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, .05) 72%); }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tile-body { position: absolute; inset: auto 0 0; z-index: 1; padding: 1.4rem 1.1rem; text-align: center; }
.tile-num { display: block; margin-bottom: .45rem; font-family: var(--font-h); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red-lt); }
.tile h3 { margin: 0; font-size: clamp(.95rem, 1.2vw, 1.12rem); font-weight: 600; letter-spacing: .08em; }
.tile-more { display: inline-flex; align-items: center; gap: .4rem; max-height: 0; opacity: 0; overflow: hidden; font-family: var(--font-h); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; transition: max-height .45s var(--ease), opacity .45s, margin .45s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.09); filter: saturate(1.05); }
.tile:hover::before, .tile:focus-visible::before { transform: scaleX(1); }
.tile:hover .tile-more, .tile:focus-visible .tile-more { max-height: 2rem; opacity: 1; margin-top: .6rem; }
.tile:focus-visible { outline-offset: -4px; }

/* ---------- Process ---------- */
.process-steps { position: relative; list-style: none; counter-reset: s; margin: 3.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-steps::before, .process-steps::after { content: ""; position: absolute; top: 23px; left: 23px; right: 0; height: 2px; background: var(--line); }
.process-steps::after { background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.process-steps.is-visible::after { transform: scaleX(1); }
.process-steps li { position: relative; counter-increment: s; padding-top: 4.2rem; }
.process-steps li::before { content: "0" counter(s); position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); font-family: var(--font-h); font-weight: 700; font-size: .95rem; }
.process-steps h3 { font-size: 1.3rem; }
.process-steps p { color: var(--muted); margin: 0; }
.tint .process-steps li::before { background: var(--paper-2); }

/* ---------- Films ---------- */
.films { background: var(--ink-2); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.films-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85); outline: 1px solid var(--line-d); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-caption { margin-top: .9rem; font-family: var(--font-h); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.film-list { list-style: none; display: grid; gap: .6rem; margin: 1.6rem 0 0; padding: 0; }
.film-btn { width: 100%; display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 1rem; padding: .5rem; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-d); color: #fff; text-align: left; cursor: pointer; font: inherit; transition: border-color .3s, background .3s; }
.film-btn img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; }
.film-btn strong { display: block; font-family: var(--font-h); font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; }
.film-btn span { font-size: .9rem; color: var(--muted-d); }
.film-btn time { padding-right: .5rem; font-family: var(--font-h); font-size: .85rem; color: var(--red-lt); }
.film-btn:hover { border-color: rgba(255, 255, 255, .45); }
.film-btn[aria-current="true"] { border-color: var(--red); background: rgba(200, 22, 31, .14); }

/* ---------- Closing ---------- */
.closing { background: linear-gradient(180deg, #fff, #eef2f6); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.rule { width: 56px; height: 3px; background: var(--red); border: 0; margin: 0 0 1.4rem; }
.closing p { color: #3a414d; font-size: 1.1rem; }
.cta-card { padding-left: clamp(0rem, 3vw, 3rem); border-left: 1px solid var(--line); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(6rem, 12vw, 9.5rem) 0 clamp(4.5rem, 8vw, 6.5rem); color: #fff; background: var(--ink); }
.page-hero-bg { position: absolute; inset: -12% 0 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 5, 9, .93) 0%, rgba(3, 5, 9, .7) 45%, rgba(3, 5, 9, .3) 100%), linear-gradient(0deg, rgba(3, 5, 9, .7), transparent 40%); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; max-width: 16ch; line-height: .98; }
.page-hero .lede { color: #dfe4eb; opacity: 0; animation: fadeUp .9s .45s var(--ease) forwards; }
.page-hero .eyebrow { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); margin-top: 2.8rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; overflow: hidden; padding: 2rem 1.75rem; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s, background .45s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 22, 31, .09), transparent 70%); }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(10, 20, 40, .4); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.i-badge { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.25rem; border: 1.5px solid var(--line); border-radius: 50%; color: var(--red); transition: background .4s, color .4s, border-color .4s; }
.i-badge .i { width: 24px; height: 24px; }
.card:hover .i-badge { background: var(--red); border-color: var(--red); color: #fff; }
.card h3 { font-size: 1.25rem; letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); }
.card-kicker { display: block; margin-bottom: .6rem; font-family: var(--font-h); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.card-num { display: block; margin-bottom: 1rem; font-family: var(--font-h); font-weight: 800; font-size: 2.9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--red); }
.dark-sec .card { background: rgba(255, 255, 255, .03); border-color: var(--line-d); color: #fff; }
.dark-sec .card p { color: var(--muted-d); }
.dark-sec .card:hover { background: rgba(255, 255, 255, .06); }
.dark-sec .i-badge { border-color: var(--line-d); color: var(--red-lt); }
.dark-sec .card-num { -webkit-text-stroke-color: var(--red-lt); }
.dark-sec .card::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 78, 86, .14), transparent 70%); }

/* ---------- Technology: system layers ---------- */
.layers { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: stretch; margin-top: 3.2rem; }
.layer { position: relative; padding: 2.1rem 1.9rem; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.layer:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(10, 20, 40, .4); }
.layer-kicker { display: block; margin-bottom: .8rem; font-family: var(--font-h); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.layer h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.layer p { margin: 0; color: var(--muted); }
.layer .i-badge { margin-bottom: 1.1rem; }
.layer.is-core { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 34px 70px -34px rgba(200, 22, 31, .6); }
.layer.is-core p { color: var(--muted-d); }
.layer.is-core .layer-kicker { color: var(--red-lt); }
.layer.is-core .i-badge { border-color: var(--line-d); color: var(--red-lt); }
.layer-link { position: relative; align-self: center; width: clamp(2rem, 4.5vw, 4.5rem); height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1s linear infinite; }
.layer-link::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--red); border-right: 0; }

/* ---------- Applications explorer ---------- */
.explorer { margin-top: 3rem; border: 1px solid var(--line-d); }
.has-js .explorer { display: grid; grid-template-columns: 290px 1fr; }
.explorer-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line-d); }
.ex-tab { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1.35rem 1.4rem; background: none; border: 0; border-bottom: 1px solid var(--line-d); color: #b9c1ce; text-align: left; cursor: pointer; font: 600 .9rem/1.2 var(--font-h); letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s; scroll-margin-top: 110px; }
.ex-tab:last-child { border-bottom: 0; }
.ex-tab b { font-size: .8rem; color: var(--red-lt); }
.ex-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.ex-tab[aria-selected="true"] { background: rgba(200, 22, 31, .16); color: #fff; }
.ex-tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.ex-panel { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 460px; }
.explorer:not(.has-tabs) .ex-panel + .ex-panel { border-top: 1px solid var(--line-d); }
.ex-panel figure { position: relative; margin: 0; overflow: hidden; min-height: 260px; }
.ex-panel figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoomOut 1.4s var(--ease); }
.ex-body { align-self: center; padding: clamp(1.8rem, 3vw, 2.8rem); animation: fadeUp .7s var(--ease); }
.ex-body h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.ex-body p { color: var(--muted-d); font-size: 1.1rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; }
.tags li { padding: .38rem .8rem; border: 1px solid var(--line-d); font-family: var(--font-h); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Approach: timeline, questions, orbit ---------- */
.timeline { position: relative; list-style: none; max-width: 880px; margin: 3.2rem 0 0; padding: 0 0 0 5.5rem; }
.timeline::before, .timeline-fill { content: ""; position: absolute; left: 1.4rem; top: 0; width: 2px; }
.timeline::before { bottom: 0; background: var(--line); }
.timeline-fill { height: calc(var(--tl, 0) * 100%); background: var(--red); }
.timeline li { position: relative; padding-bottom: 3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: attr(data-n); position: absolute; left: calc(-5.5rem + 1.4rem - 23px); top: -.3rem; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--muted); font-family: var(--font-h); font-weight: 700; transition: background .4s, border-color .4s, color .4s; }
.timeline li.is-active::before { background: var(--red); border-color: var(--red); color: #fff; }
.timeline h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.timeline p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 60ch; }
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.8rem; }
.q { padding: 1.6rem 1.5rem; background: #fff; border-top: 3px solid var(--ink); box-shadow: 0 16px 36px -30px rgba(10, 20, 40, .5); transition: border-color .35s, transform .45s var(--ease); }
.q:hover { border-color: var(--red); transform: translateY(-4px); }
.q .i { width: 28px; height: 28px; color: var(--red); margin-bottom: .9rem; }
.q h3 { font-size: 1.15rem; letter-spacing: .04em; }
.q p { margin: 0; color: var(--muted); }
.quote-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 11vw, 8.5rem) 0; color: #fff; text-align: center; background: var(--ink); }
.quote-band .page-hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(3, 5, 9, .68); }
.quote-band blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--font-h); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.05; text-transform: uppercase; }
.quote-band blockquote span { display: block; color: #e5262f; }
.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; inset: 12%; border: 1.5px dashed #c1c8d2; border-radius: 50%; animation: spin 60s linear infinite; }
.orbit-core { position: absolute; inset: 33%; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: clamp(.85rem, 1.6vw, 1.05rem); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 0 0 14px rgba(200, 22, 31, .14), 0 0 0 30px rgba(200, 22, 31, .06); animation: breathe 4s ease-in-out infinite; }
.orbit-node { position: absolute; display: grid; place-items: center; align-content: center; gap: .35rem; width: 29%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .4); font-family: var(--font-h); font-size: clamp(.66rem, 1.3vw, .8rem); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: transform .45s var(--ease); }
.orbit-node:hover { transform: scale(1.08); }
.orbit-node .i { width: 26px; height: 26px; color: var(--red); }
.orbit-node:nth-child(3) { left: 35.5%; top: -1%; }
.orbit-node:nth-child(4) { right: -1%; top: 35.5%; }
.orbit-node:nth-child(5) { left: 35.5%; bottom: -1%; }
.orbit-node:nth-child(6) { left: -1%; top: 35.5%; }

/* ---------- Technology: fueling partnerships ---------- */
.fuel-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.fuel-row.flip .fuel-media { order: 2; }
.fuel-media { position: relative; isolation: isolate; margin: 0; }
.fuel-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1.5px solid var(--red-lt); }
.fuel-media img { width: 100%; height: auto; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.fuel-media figcaption { position: absolute; left: 0; bottom: 0; padding: .6rem .9rem; background: var(--red); color: #fff; font-family: var(--font-h); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.fuel-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.fuel-copy p { color: var(--muted-d); font-size: 1.1rem; }
@media (max-width: 900px) {
  .fuel-row { grid-template-columns: 1fr; }
  .fuel-row.flip .fuel-media { order: 0; }
}

/* ---------- About ---------- */
.logo-card { padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.logo-card img { width: 100%; height: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(3.5rem, 6vw, 5rem) 0; background: var(--red); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(-55deg, #000 0 2px, transparent 2px 22px); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; max-width: 24ch; font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 800; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.email-card { display: flex; align-items: center; gap: 1.1rem; margin: 1.8rem 0; padding: 1.3rem 1.5rem; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.email-card:hover { border-color: var(--red); box-shadow: 0 20px 40px -30px rgba(200, 22, 31, .6); }
.email-card .i-badge { margin: 0; }
.email-card strong { display: block; font-family: var(--font-h); font-size: 1.3rem; letter-spacing: .02em; }
.email-card span { color: var(--muted); font-size: .95rem; }
.brief-guide { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.brief-guide li { display: grid; grid-template-columns: 2rem 1fr; gap: .1rem .8rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.brief-guide .i { width: 22px; height: 22px; color: var(--red); grid-row: span 2; margin-top: .15rem; }
.brief-guide strong { font-family: var(--font-h); font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; }
.brief-guide span { color: var(--muted); }
.next-block { margin-top: 2.5rem; padding: 2rem; background: var(--ink); color: #fff; }
.next-block h3 { font-size: 1.4rem; }
.next-block p { color: var(--muted-d); }
.brief { position: relative; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(10, 20, 40, .5); scroll-margin-top: 90px; }
.brief-head { padding: 1.7rem 2rem; background: var(--ink); color: #fff; }
.brief-head h2 { margin: 0 0 .3rem; font-size: 1.55rem; }
.brief-head p { margin: 0; color: var(--muted-d); font-size: .96rem; }
.brief-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 1.3rem 0 0; padding: 0; }
.brief-steps li { padding-top: .6rem; border-top: 3px solid rgba(255, 255, 255, .18); color: #8f98a8; font-family: var(--font-h); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.brief-steps li.is-current { color: #fff; border-color: var(--red); }
.brief-steps li.is-done { color: #dfe4eb; border-color: #dfe4eb; }
.brief-body { padding: 2rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 1.2rem; font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
legend:focus { outline: none; }
.has-js fieldset[data-step]:not(.is-active) { display: none; }
fieldset[data-step] + fieldset[data-step] { margin-top: 2rem; }
.has-js fieldset[data-step] + fieldset[data-step] { margin-top: 0; }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); }
.hint { display: block; margin-top: .1rem; font-weight: 400; font-size: .88rem; color: var(--muted); }
input, select, textarea { width: 100%; padding: .8rem .9rem; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #bfc6d0; border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 22, 31, .2); }
[aria-invalid="true"] { border-color: #b00020; }
.error { margin: .35rem 0 0; font-size: .9rem; font-weight: 600; color: #b00020; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.brief-nav .spacer { flex: 1; }
.review { margin: 0 0 1rem; padding: 1.2rem 1.4rem; background: var(--paper-2); font-size: .95rem; }
.review dl { display: grid; grid-template-columns: minmax(120px, .45fr) 1fr; gap: .45rem 1rem; margin: 0; }
.review dt { font-weight: 600; }
.review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #3a414d; }
.privacy-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 4px solid #b00020; background: #fdecee; }
.form-status:focus { outline: 2px solid #b00020; }
.brief-success { padding: 3rem 2rem; text-align: center; }
.brief-success:focus { outline: none; }
.brief-success .i-badge { margin: 0 auto 1.2rem; width: 70px; height: 70px; background: var(--red); border-color: var(--red); color: #fff; }
.brief-success .i-badge .i { width: 32px; height: 32px; }
.brief-success h2 { font-size: 1.8rem; }
.brief-success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ---------- Simple pages ---------- */
.simple-page { min-height: 60vh; display: grid; place-items: center; padding: 6rem 0; text-align: center; }
.simple-page h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
.simple-page p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.simple-page .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Film modal ---------- */
.film-modal { width: min(92vw, 1200px); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.film-modal::backdrop { background: rgba(2, 4, 8, .9); backdrop-filter: blur(6px); }
.film-modal video { width: 100%; max-height: 82vh; background: #000; }
.modal-close { position: absolute; right: 0; top: -3.2rem; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; cursor: pointer; font-family: var(--font-h); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.modal-close:hover { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(4rem, 8vw, 6rem); color: #fff; background: #01030a; }
.footer-space { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 64%, rgba(255, 255, 255, .7), transparent), radial-gradient(1.5px 1.5px at 44% 18%, #fff, transparent), radial-gradient(1px 1px at 63% 42%, rgba(255, 255, 255, .8), transparent), radial-gradient(1px 1px at 78% 16%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 58%, rgba(255, 255, 255, .8), transparent), radial-gradient(1px 1px at 6% 70%, rgba(255, 255, 255, .6), transparent), radial-gradient(1px 1px at 54% 8%, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 94% 30%, #fff, transparent), radial-gradient(1px 1px at 36% 38%, rgba(255, 255, 255, .5), transparent); }
.planet { position: absolute; left: -25%; right: -25%; top: 58%; height: 190%; border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, #2a64b8 0%, #123a78 14%, #0a2250 32%, #040b1c 60%); box-shadow: 0 -8px 50px rgba(90, 170, 255, .55), 0 -2px 8px rgba(190, 225, 255, .8), inset 0 14px 30px rgba(150, 205, 255, .5); }
.planet::before { content: ""; position: absolute; left: 30%; right: 30%; top: -30px; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 244, 220, .75), rgba(255, 200, 140, .15) 45%, transparent 70%); filter: blur(4px); }
.footer-top { position: relative; padding-bottom: clamp(3.5rem, 7vw, 5.5rem); text-align: center; }
.footer-logo { width: min(80%, 470px); height: auto; margin: 0 auto 1.2rem; }
.footer-tag { margin: 0 0 .4rem; font-family: var(--font-h); font-size: clamp(.95rem, 1.6vw, 1.2rem); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.footer-sub { margin: 0; color: #c3cbd8; font-size: .95rem; }
.footer-kicker { position: absolute; right: 0; top: -1rem; margin: 0; font-family: var(--font-h); font-size: .72rem; line-height: 1.9; letter-spacing: .3em; text-align: left; text-transform: uppercase; color: #dfe5ee; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; color: #cfd6e1; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Keyframes ---------- */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes dash { to { stroke-dashoffset: -1400; } }
@keyframes comet { from { stroke-dashoffset: 2490; } to { stroke-dashoffset: 0; } }
@keyframes tabfill { to { transform: scaleX(1); } }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes flow { to { background-position: 28px 0; } }
@keyframes flowY { to { background-position: 0 28px; } }
@keyframes energy { to { left: 130%; } }
@keyframes zoomOut { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 20px rgba(200, 22, 31, .16), 0 0 0 40px rgba(200, 22, 31, .05); } }
@keyframes orbitDot { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 1.5px solid var(--line); border-radius: 2px; cursor: pointer; }
  .bars { position: relative; display: block; width: 22px; height: 16px; }
  .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
  .bars span:nth-child(1) { top: 0; }
  .bars span:nth-child(2) { top: 7px; }
  .bars span:nth-child(3) { top: 14px; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 66px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem 1.25rem 3rem; background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s, transform .35s var(--ease), visibility .35s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 1rem 0; font-size: 1.35rem; font-weight: 600; color: #fff; border-bottom: 1px solid var(--line-d); }
  .nav ul a::after { bottom: -1px; }
  body.menu-open { overflow: hidden; }
  .metamind-grid { grid-template-columns: minmax(200px, .8fr) 1.3fr; }
  .mm-list { grid-column: 1 / -1; }
  .cap-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.5rem; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-d); padding-top: 1rem; }
  .mm-tag { padding-left: 0; }
}
@media (max-width: 900px) {
  .split, .closing-grid, .films-grid, .contact-grid, .mm-cycle { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .cycle-visual { border-left: 0; border-top: 1px solid var(--line-d); min-height: 260px; }
  .strip { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
  .strip li { border-left: 0; justify-content: flex-start; }
  .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .tile { scroll-snap-align: start; }
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .process-steps::before, .process-steps::after { display: none; }
  .layers { grid-template-columns: 1fr; }
  .layer-link { justify-self: center; width: 2px; height: 42px; background: repeating-linear-gradient(180deg, var(--red) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: flowY; }
  .layer-link::after { right: auto; left: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--red); border-bottom: 0; }
  .has-js .explorer { grid-template-columns: 1fr; }
  .explorer-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .ex-tab { flex: none; border-bottom: 0; border-right: 1px solid var(--line-d); padding: 1rem 1.1rem; }
  .ex-tab[aria-selected="true"]::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .ex-panel { grid-template-columns: 1fr; min-height: 0; }
  .q-grid, .card-grid.three { grid-template-columns: 1fr 1fr; }
  .hydrogen { flex-direction: column; align-items: stretch; min-height: 0; }
  .hydrogen-media { position: relative; inset: auto; height: 300px; order: 2; }
  .hydrogen-media::before { background: linear-gradient(180deg, #eef2f7 0%, rgba(238, 242, 247, 0) 35%); }
  .hydrogen-inner { flex-direction: column; }
  .hydrogen-copy { padding-block: 4rem 0; }
  .hydrogen-stamp { margin: 0 0 1rem; align-self: flex-end; }
  .cta-card { padding-left: 0; border-left: 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
  .footer-kicker { position: static; text-align: center; margin-bottom: 2rem; }
  .hero-motto { position: static; flex-direction: row; flex-wrap: wrap; gap: 0 1rem; margin-top: 2.5rem; font-size: 1rem; }
  .hero-inner { padding-block: 4.5rem 6rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  body { font-size: 1rem; }
  .metamind-grid { grid-template-columns: 1fr; }
  .mm-mark { max-width: 260px; }
  .mm-copy { border-left: 0; padding-left: 0; }
  .cap-list { grid-template-columns: 1fr 1fr; }
  .cap-list li { font-size: .74rem; gap: .6rem; }
  .cycle-tabs { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li:last-child { grid-column: 1 / -1; }
  .process-steps, .q-grid, .card-grid.three, .field-row { grid-template-columns: 1fr; }
  .tiles { grid-auto-columns: 82%; }
  .film-btn { grid-template-columns: 88px 1fr auto; }
  .film-btn img { width: 88px; }
  .timeline { padding-left: 4.2rem; }
  .timeline li::before { left: calc(-4.2rem + 1.4rem - 23px); }
  .brief-head, .brief-body { padding: 1.4rem 1.2rem; }
  .brief-steps li { font-size: .6rem; letter-spacing: .06em; }
  .review dl { grid-template-columns: 1fr; }
  .review dd { margin-bottom: .6rem; }
  .btn-play { margin-left: 0; }
  .orbit-node { font-size: .6rem; }
  .orbit-node .i { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .hero-video { transform: none; }
}
