:root {
  --bg: #07090c;
  --surface: #10161d;
  --raised: #171f28;
  --fg: #eef3f7;
  --muted: #8b9aab;
  --ice: #7ec8d8;
  --ember: #e07a45;
  --ember-hot: #f0b27a;
  --line: #243040;
  --ok: #6fbf8a;
  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadow-h: 0 0 0 1px rgba(126, 200, 216, 0.35), 0 18px 40px -24px rgba(0, 0, 0, 0.7);
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; background: var(--bg); color: var(--fg); }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  min-height: 100dvh;
  overflow-x: hidden;
}
a { color: var(--ice); }
img { max-width: 100%; display: block; outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(36,48,64,.8);
  background: rgba(7,9,12,.8);
  backdrop-filter: blur(12px);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand menu";
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: .65rem; color: var(--fg); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.links { grid-area: links; display: none; align-items: center; gap: 1.5rem; font-size: .9rem; }
.menu-btn { grid-area: menu; }
.mark {
  width: 1.75rem; height: 1.75rem; border-radius: 999px;
  background: conic-gradient(from 210deg, var(--ice), #1a2a36, var(--ember), var(--ice));
  box-shadow: 0 0 18px rgba(126,200,216,.35);
  animation: spin-mark 5s linear infinite;
}
.links { display: none; align-items: center; gap: 1.5rem; font-size: .9rem; }
.links a { color: var(--muted); text-decoration: none; position: relative; }
.links a:hover { color: var(--fg); }
.links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.links a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn {
  width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: var(--fg); font-size: 1.4rem;
}
.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: 1rem 0 1.25rem; border-top: 1px solid var(--line); }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--fg); text-decoration: none; min-height: 2.75rem; display: flex; align-items: center; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 8s ease-in-out alternate infinite;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(18px);
  background: radial-gradient(circle, rgba(200, 220, 230, 0.22), transparent 70%);
  animation: steam 7s ease-in-out infinite;
}
.hero::before { left: 16%; bottom: 6%; width: 7rem; height: 11rem; }
.hero::after { left: 28%; bottom: 10%; width: 5rem; height: 9rem; animation-delay: 2.4s; opacity: .7; }
.hero .veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, #07090c 8%, rgba(7,9,12,.72) 46%, rgba(7,9,12,.12) 100%),
    linear-gradient(180deg, transparent 55%, #07090c 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 5.5rem 0 4rem; }
.hero-inner > * {
  animation: fade-up 0.7s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.14s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.22s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.38s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.46s; }
.kicker { margin: 0 0 .75rem; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ember-hot); animation: fade-up 0.7s ease both, kicker-swap 3.2s ease-in-out 0.8s infinite; }
.live-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  vertical-align: 1px;
  border-radius: 999px;
  background: var(--ice);
  box-shadow: 0 0 0 0 rgba(126, 200, 216, 0.65);
  animation: blink 1.3s ease-out infinite;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; max-width: 14ch; }
.sub { margin-top: 1.4rem; max-width: 32rem; font-size: 1.1rem; line-height: 1.6; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.5rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ember {
  position: relative;
  overflow: hidden;
  background: var(--ember);
  color: var(--bg);
  animation: pulse-ember 1.6s ease-in-out infinite;
}
.btn-ember::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: sheen 1.6s ease-in-out infinite;
  pointer-events: none;
}
.btn-ember:hover { background: var(--ember-hot); }
.btn-ghost { color: var(--fg); box-shadow: var(--shadow); background: transparent; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 32rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stats dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: .25rem 0 0; font-family: var(--display); font-size: 1.5rem; }
.ice { color: var(--ice); }
.ember { color: var(--ember-hot); }
.section { padding: 4rem 0; }
.grid-3, .bento, .grid-2, .two, .photos, .offers, .chips {
  display: grid;
  gap: 1rem;
}
.chips { gap: .5rem; margin: .75rem 0 1.25rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.offers { grid-template-columns: 1fr; }
.bento {
  grid-template-columns: 1fr;
  grid-template-areas:
    "protocol"
    "gear"
    "garage";
}
.area-protocol { grid-area: protocol; }
.area-gear { grid-area: gear; }
.area-garage { grid-area: garage; }
.deck {
  display: grid;
  gap: 1.5rem;
  grid-template-areas:
    "copy"
    "rail";
}
.deck-copy { grid-area: copy; }
.deck-rail { grid-area: rail; }
.lab {
  display: grid;
  gap: 1.5rem;
  grid-template-areas:
    "intro"
    "table"
    "shots"
    "circuit"
    "filter";
}
.lab-intro { grid-area: intro; }
.lab-table { grid-area: table; }
.lab-shots { grid-area: shots; }
.lab-circuit { grid-area: circuit; }
.lab-filter { grid-area: filter; }
.card, .offer {
  background: var(--surface); border-radius: 1.1rem; padding: 1.4rem;
  box-shadow: var(--shadow); text-decoration: none; color: var(--fg);
  display: flex; flex-direction: column; gap: .7rem;
}
.card:hover, .offer:hover { box-shadow: var(--shadow-h); }
.card h2, .offer h3 { font-size: 1.4rem; }
.muted { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.tag { align-self: start; border-radius: 999px; background: var(--raised); padding: .25rem .7rem; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.filter { background: var(--surface); border-radius: 1.75rem; padding: 1.5rem; box-shadow: var(--shadow); }
.chips { display: grid; gap: .5rem; margin: .75rem 0 1.25rem; }
.chip {
  min-height: 3.5rem; text-align: left; border-radius: 1rem; padding: .75rem 1rem;
  background: var(--surface); color: var(--muted); box-shadow: var(--shadow); border: 0; cursor: pointer;
}
.chip.on { background: var(--raised); color: var(--fg); box-shadow: var(--shadow-h); }
.chip b { display: block; color: var(--fg); font-size: .9rem; }
.chip span { font-size: .75rem; }
.lane { background: var(--raised); border-radius: 1rem; padding: 1.25rem; margin-top: 1.5rem; }
.lane p.tiny { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ember-hot); margin: 0; }
.offers { display: grid; gap: 1rem; margin-top: 1.5rem; }
.note { border-left: 4px solid var(--ember); background: var(--raised); padding: 1rem 1.25rem; border-radius: 1rem; color: var(--muted); font-size: .9rem; }
.steps { display: grid; gap: 1rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; background: var(--surface); border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow); }
.n { font-family: var(--display); font-size: 1.5rem; color: var(--ice); }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 1rem; overflow: hidden; }
th, td { text-align: left; padding: .9rem 1rem; font-size: .9rem; }
th { background: var(--raised); color: var(--muted); }
tr { border-top: 1px solid var(--line); }
form { display: grid; gap: .6rem; max-width: 24rem; }
input[type=email] {
  min-height: 3rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--raised); color: var(--fg); padding: 0 1rem; font: inherit;
}
.lab-grid {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(126,200,216,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(224,122,69,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.photos { gap: 1rem; margin: 2.5rem 0; }
.photos img { height: 14rem; width: 100%; object-fit: cover; border-radius: 1rem; }
.gate { background: var(--raised); border-radius: 1rem; padding: 1.25rem; }
.gate .row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.sticky {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40;
  min-height: 3rem; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--ember); color: var(--bg); text-decoration: none; font-weight: 600; font-size: .9rem;
}
main { padding-bottom: 4.5rem; }
footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .85rem; color: var(--muted); }
.ok { color: var(--ok); font-size: .9rem; }
.meter { height: 0.75rem; background: var(--bg); border-radius: 999px; overflow: hidden; margin-top: 0.75rem; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--ice); width: 0; transition: width .2s ease; }
.meter.bad > span { background: var(--ember); }
.clock { font-family: var(--display); font-size: 3.5rem; font-variant-numeric: tabular-nums; margin: 0.5rem 0 0; }
@media (min-width: 768px) {
  .nav {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand links menu";
  }
  .links { display: flex; justify-content: flex-end; }
  .menu-btn, .sticky { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .bento {
    grid-template-columns: 1.35fr 1fr;
    grid-template-areas:
      "protocol gear"
      "protocol garage";
  }
  .deck {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas: "copy rail";
    align-items: start;
  }
  .lab {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas:
      "intro shots"
      "table shots"
      "circuit circuit"
      "filter filter";
    align-items: start;
  }
  .grid-2, .two { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .photos { grid-template-columns: 1.4fr 1fr; }
  .offers { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
  main { padding-bottom: 0; }
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 26rem;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.split .c { background: rgba(126, 200, 216, 0.2); color: var(--ice); padding: .9rem 1rem; text-align: center; animation: glow-ice 3.2s ease-in-out infinite; }
.split .h { background: rgba(224, 122, 69, 0.24); color: var(--ember-hot); padding: .9rem 1rem; text-align: center; animation: glow-ember 3.2s ease-in-out infinite 1.6s; }
.shot {
  position: relative;
  overflow: hidden;
  min-height: 13.5rem;
  padding: 1.25rem;
  justify-content: flex-end;
}
.area-protocol.shot { min-height: 28rem; }
.shot img.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
  transform: scale(1.04);
  animation: ken-card 14s ease-in-out alternate infinite;
  transition: transform .45s ease;
}
.chip { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.chip:hover { transform: translateY(-2px); }
.chip:active { transform: scale(0.98); }
.tag { animation: tag-in 0.8s ease both; }
.shot:hover img.cover { animation-play-state: paused; transform: scale(1.1); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,12,.05) 10%, rgba(7,9,12,.88) 78%);
}
.shot > *:not(img) { position: relative; z-index: 1; }
.shot h2 { font-size: 1.85rem; }
.shot .muted { color: #c5d0db; }
@keyframes pulse-ember {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 122, 69, 0); }
  50% { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(224, 122, 69, 0.28); }
}
@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.18) translate3d(-2%, -1.5%, 0); }
}
@keyframes sheen {
  0% { transform: translateX(-130%); }
  45%, 100% { transform: translateX(130%); }
}
@keyframes blink {
  0% { box-shadow: 0 0 0 0 rgba(126, 200, 216, 0.7); opacity: 1; }
  70% { box-shadow: 0 0 0 12px rgba(126, 200, 216, 0); opacity: 0.55; }
  100% { box-shadow: 0 0 0 0 rgba(126, 200, 216, 0); opacity: 1; }
}
@keyframes kicker-swap {
  0%, 100% { color: var(--ember-hot); }
  50% { color: var(--ice); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ken-card {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
@keyframes spin-mark {
  to { transform: rotate(1turn); }
}
@keyframes steam {
  0% { transform: translate3d(0, 12px, 0) scale(0.9); opacity: 0; }
  30% { opacity: 0.55; }
  100% { transform: translate3d(8px, -70px, 0) scale(1.15); opacity: 0; }
}
@keyframes glow-ice {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(126, 200, 216, 0); }
  50% { box-shadow: inset 0 0 24px rgba(126, 200, 216, 0.28); }
}
@keyframes glow-ember {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(224, 122, 69, 0); }
  50% { box-shadow: inset 0 0 24px rgba(224, 122, 69, 0.32); }
}
@keyframes tag-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-ember,
  .mark,
  .hero img.bg,
  .hero::before,
  .hero::after,
  .hero-inner > *,
  .shot img.cover,
  .split .c,
  .split .h,
  .tag,
  .kicker,
  .live-dot,
  .btn-ember::after { animation: none !important; }
  .shot img.cover,
  .chip { transition: none; }
}
