/* SolarScan AI v2 landing: editorial paper/ink with one neon, scroll + 3D. */
@property --glow {
  syntax: '<color>';
  inherits: true;
  initial-value: #ff3b30;
}

:root {
  --paper: #f4f4f0;
  --stone: #e2e4da;
  --ink: #0b0c0a;
  --ink-2: #474a43;
  --night: #0d100c;
  --night-2: #080a07;
  --volt: #c8ff2e;
  --panel: #1e3d73;
  --high: #ff3b30;
  --medium: #ff8a00;
  --low: #ffd400;
  --line: rgb(11 12 10 / 14%);
  --line-dark: rgb(244 244 240 / 14%);

  --f-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --f-body: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;
  --f-script: 'Yellowtail', cursive;

  --hero: clamp(3rem, 10vw, 11rem);
  --gut: clamp(1.1rem, 3.5vw, 3.5rem);
  --space-section: clamp(6rem, 4rem + 8vw, 12rem);
  --radius-card: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 600ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
video,
canvas { display: block; max-width: 100%; }

a { color: inherit; }

h1,
h2,
h3,
p { margin: 0; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.script {
  font-family: var(--f-script);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--volt);
}

mark {
  background: var(--volt);
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
}

.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 6px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-2);
}

.kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 1.35rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.45rem 0.45rem 0.45rem 1.35rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background-color 250ms ease;
}

.btn-arrow {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }
.btn:active { transform: scale(0.97); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink .btn-arrow { background: var(--volt); color: var(--ink); }
.btn--ink:hover { background: #22251f; }

.btn--volt { background: var(--volt); color: var(--ink); font-size: 1.08rem; }
.btn--volt .btn-arrow { background: var(--ink); color: var(--volt); width: 2.8rem; height: 2.8rem; }
.btn--volt:hover { background: #d8ff66; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gut);
  pointer-events: none;
}

.nav > * { pointer-events: auto; }

.nav-brand,
.nav-meta,
.nav-link,
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--line);
}

.nav-brand { font: 800 1.02rem/1 var(--f-display); letter-spacing: -0.03em; }

.nav-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 2.5px var(--ink);
  margin-right: 0.15rem;
}

.nav-ai {
  margin-left: 0.1rem;
  font: 500 0.6rem/1 var(--f-mono);
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-top: 0.75rem;
}

.nav-meta { color: var(--ink-2); }
.nav-links { display: flex; gap: 0.4rem; }
.nav-link { font-size: 0.9rem; transition: background-color 200ms ease; }
.nav-link:hover { background: var(--stone); }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 0 0 1px rgb(244 244 240 / 22%);
}

.nav-cta:hover { background: #262a23; }

.nav-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--volt);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- 1 + 2 · Intro (hero -> card over marquee) ---------- */
.intro {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--night);
}

.band {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1vh;
  color: var(--paper);
  opacity: 0;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 0.18em;
  white-space: nowrap;
  font: 800 clamp(4rem, 12vw, 13rem)/0.9 var(--f-display);
  letter-spacing: -0.045em;
  will-change: transform;
}

.marquee span::after {
  content: '—';
  margin-left: 0.18em;
  color: rgb(244 244 240 / 30%);
  font-weight: 400;
}

.marquee em {
  font: 400 0.92em/1 var(--f-script);
  letter-spacing: 0;
  color: var(--volt);
  padding: 0 0.1em;
}

.marquee--a { transform: translateX(-4%); }
.marquee--b { transform: translateX(-36%); }

.band-caption {
  position: absolute;
  left: 50%;
  bottom: 6vh;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgb(244 244 240 / 70%);
}

.rec {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--high);
  animation: blink 1.2s ease-in-out infinite;
}

.hero-frame {
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: 50% 50%;
  will-change: transform;
  box-shadow: 0 40px 120px rgb(0 0 0 / 0%);
}

.hero-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
  clip-path: inset(0 round 0);
}

.band-card { display: none; }
