/* Solaris tour — graphite and orange.
   Outside data-ui: page rules. Inside data-ui: the product's own conventions. */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #17181A;
  --panel: #1E2023;
  --panel-2: #26292D;
  --ink: #ECEDEE;
  --muted: #9AA0A6;
  --accent: #FF4A1F;
  --accent-ink: #180C07;

  --f-display: clamp(2.5rem, 6vw, 4.6rem);
  --f-head: clamp(1.75rem, 3vw, 2.5rem);
  --f-lead: clamp(1.125rem, 1.6vw, 1.5rem);
  --f-body: 1.0625rem;
  --f-small: 0.875rem;
  --f-micro: 0.8125rem;

  --pad: clamp(1.25rem, 3vw, 2rem);
  --max: 1280px;
  --gap: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(.22,.61,.24,1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--f-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 99;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 1rem; }

.hud {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem var(--pad);
  background: var(--bg);
}
.hud__mark { text-decoration: none; font-size: 1.0625rem; letter-spacing: -.02em; }
.hud__mark b { font-weight: 600; }
.hud__mark span { color: var(--muted); }
.hud__nav { display: flex; gap: 1.5rem; margin-left: auto; }
.hud__nav a { font-size: var(--f-small); text-decoration: none; color: var(--muted); transition: color .2s var(--ease); }
.hud__nav a:hover { color: var(--ink); }
.hud__cta {
  font-size: var(--f-small);
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .55rem 1rem;
  font-weight: 500;
  transition: background .2s var(--ease);
}
.hud__cta:hover { background: #FF6A45; }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.hero__copy { padding-top: clamp(2.5rem, 9vh, 6rem); }

.hero h1 {
  margin: 0;
  font-size: var(--f-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 11ch;
}

.lead {
  margin: 1.5rem 0 0;
  font-size: var(--f-lead);
  line-height: 1.45;
  max-width: 38ch;
}

.beats { margin-top: clamp(3rem, 12vh, 8rem); }
.beat {
  min-height: 58vh;
  padding-top: 1rem;
  max-width: 34ch;
}
.beat h2 {
  margin: 0 0 .7rem;
  font-size: var(--f-head);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.beat p { margin: 0; color: #D6D9DC; }

.stage {
  position: sticky;
  top: 5.2rem;
  padding-top: clamp(2rem, 7vh, 4rem);
}

/* ---------- monitor (product) ---------- */

.monitor {
  background: #0F1012;
  border: 1px solid #2A2D31; /* taste-skill-ignore */
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
}

.monitor__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .75rem;
  background: #1A1C1F;
  border-bottom: 1px solid #2A2D31; /* taste-skill-ignore */
}

.tag {
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9CDD1;
  background: #2B2F34;
  padding: .15rem .4rem;
  border-radius: 3px;
}

.monitor__file { color: #A5ABB1; font-size: 11.5px; }
.monitor__state { margin-left: auto; font-size: 11px; color: var(--accent); }

.screenrow {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: .45rem;
  padding: .5rem .75rem 0;
}
.screen { position: relative; background: #000; aspect-ratio: 16 / 9; }
.vector {
  background: #0B0C0D;
  border-radius: 3px;
  padding: .35rem .4rem .25rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.vector canvas { flex: 1; min-height: 0; width: 100%; }
.screen canvas, .deck__screen canvas { width: 100%; height: 100%; display: block; }

.tc {
  position: absolute;
  left: .6rem;
  bottom: .5rem;
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.55);
  padding: .1rem .35rem;
  border-radius: 2px;
}

.scopes { padding: .5rem .75rem 0; }
.scope { position: relative; margin-bottom: .35rem; }
.scope__label {
  margin: 0 0 .25rem;
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #A7ADB3;
}
.scope canvas { width: 100%; display: block; }

.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--accent);
  pointer-events: none;
}
.playhead::after {
  content: "";
  position: absolute;
  top: -3px; left: -3px;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.transport {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .75rem .7rem;
  border-top: 1px solid #2A2D31; /* taste-skill-ignore */
  margin-top: .4rem;
}

.ctrl {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid #33373C;
  border-radius: 4px;
  background: #23272B;
  color: var(--ink);
  cursor: pointer;
}
.ctrl:hover { background: #2E3338; }
.ctrl[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.clock { font-size: 12px; font-variant-numeric: tabular-nums; color: #D5D9DC; }
.clock span { color: #9AA0A6; }

.scrub {
  flex: 1;
  appearance: none;
  height: 4px;
  background: #3A3F45;
  border-radius: 2px;
  outline-offset: 6px;
}
.scrub::-webkit-slider-thumb {
  appearance: none;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 2px;
  cursor: pointer;
}
.scrub::-moz-range-thumb {
  width: 14px; height: 14px;
  border: 0;
  background: var(--accent);
  border-radius: 2px;
  cursor: pointer;
}

.speed { font-size: 11px; color: #A0A6AC; }

.stage__note {
  margin: .7rem 0 0;
  font-size: var(--f-micro);
  color: #B4B9BE;
  max-width: 46ch;
}

/* ---------- tour ---------- */

.tour { margin-top: var(--gap); }
.tour__head { max-width: 46rem; }
.tour h2 {
  margin: 0 0 1rem;
  font-size: var(--f-head);
  font-weight: 400;
  letter-spacing: -.025em;
}
.tour__head p { margin: 0; color: #D6D9DC; max-width: 52ch; }

.console {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 0;
  background: var(--panel);
  border-radius: 6px;
  overflow: hidden;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 1rem;
  background: #191B1E;
  display: grid;
  gap: .35rem;
  align-content: start;
}
.step button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  padding: .8rem .9rem;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.step button:hover { background: var(--panel-2); color: var(--ink); }
.step__name { display: block; font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: .25rem; }
.step__hint { display: block; font-size: var(--f-small); line-height: 1.45; color: var(--muted); }
.step[data-state="done"] button { background: rgba(255,74,31,.055); }
.step[data-state="done"] .step__name::after { content: " · done"; color: #FF9B7B; font-weight: 400; font-size: var(--f-small); }
.step[data-state="active"] button { background: var(--panel-2); }

.deck { padding: 1rem 1rem 1.15rem; min-width: 0; }
.deck__top {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .7rem;
}
.deck__status { font-size: 12px; color: #8D949A; }
.scan {
  margin-left: auto;
  font: inherit;
  font-size: var(--f-small);
  font-weight: 500;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding: .55rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s var(--ease);
  text-decoration: none;
  display: inline-block;
}
.scan:hover { background: #FF6A45; }
.scan:disabled { opacity: .45; cursor: default; }
.scan--ghost { background: #2B2F34; color: var(--ink); }
.scan--ghost:hover { background: #363B41; }

.deck__screenrow {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: .55rem;
}
.deck__side {
  background: #101113;
  border-radius: 4px;
  padding: .4rem .45rem;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: .15rem;
  min-height: 0;
}
.deck__side canvas { width: 100%; display: block; }
.deck__side .scope__label:last-of-type { margin-top: .3rem; }
.deck__screen {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
}
.deck__tc {
  position: absolute;
  left: .6rem; bottom: .5rem;
  font-size: 12px;
  letter-spacing: .06em;
  background: rgba(0,0,0,.55);
  padding: .1rem .35rem;
  border-radius: 2px;
}

.flags { position: absolute; inset: 0; pointer-events: none; }
.flags button {
  position: absolute;
  pointer-events: auto;
  transform: translateX(-50%);
  top: .6rem;
  width: 18px; height: 18px;
  border-radius: 3px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  cursor: pointer;
  padding: 0;
}

.deck__scopes {
  position: relative;
  margin-top: .6rem;
  background: #101113;
  border-radius: 4px;
  padding: .35rem .4rem;
}
.deck__scopes canvas { width: 100%; display: block; }
.playhead--deck { top: .35rem; bottom: .35rem; }

.deck__transport {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem 0 .2rem;
}

.ghost {
  font: inherit;
  font-size: var(--f-small);
  background: var(--panel-2);
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  padding: .5rem .85rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.ghost:hover { background: #363B41; }
.ghost--sm { font-size: var(--f-micro); padding: .3rem .6rem; }

.deck__read {
  margin-top: .8rem;
  padding: .8rem .9rem;
  background: var(--panel-2);
  border-radius: 4px;
  min-height: 6.5rem;
}
.deck__empty { margin: 0; color: #8D949A; font-size: var(--f-small); }
.finding__kind {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}
.finding__time { margin: 0 0 .35rem; font-size: var(--f-small); font-variant-numeric: tabular-nums; }
.finding__ev { margin: 0 0 .6rem; font-size: var(--f-small); color: var(--muted); max-width: 60ch; }

.deck__report {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: .8rem;
  padding-top: .9rem;
  border-top: 1px solid #2A2D31; /* taste-skill-ignore */
  flex-wrap: wrap;
}
.report__score { display: flex; align-items: baseline; gap: .4rem; }
.score { font-size: 2rem; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.score__label { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: #9AA0A6; }
.report__facts { flex: 1; min-width: 12rem; }
.report__facts p { margin: 0; font-size: var(--f-small); }
.report__facts .muted { color: var(--muted); font-size: var(--f-micro); }

/* ---------- compare ---------- */

.compare { margin-top: var(--gap); }
.compare h2, .proof h2, .who h2 {
  margin: 0 0 2rem;
  font-size: var(--f-head);
  font-weight: 400;
  letter-spacing: -.025em;
}

.table { border-radius: 6px; overflow: hidden; }
.trow {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: 1.5rem;
  padding: 1.05rem 1.2rem;
  font-size: var(--f-small);
  align-items: baseline;
}
.trow:nth-child(odd) { background: var(--panel); }
.trow--head { background: var(--bg) !important; font-weight: 600; color: var(--muted); padding-bottom: .6rem; }
.trow .feat { color: var(--ink); }
.trow span:not(.feat) { color: var(--muted); }

/* ---------- proof ---------- */

.proof { margin-top: var(--gap); }
.figs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.fig dt {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}
.fig dd { margin: .7rem 0 0; font-size: var(--f-small); color: var(--muted); max-width: 26ch; }

.shot { margin: 3rem 0 0; }
.shot img { width: 100%; height: auto; border-radius: 4px; background: var(--panel); }
.shot figcaption { margin-top: .8rem; font-size: var(--f-micro); color: var(--muted); }

/* ---------- who ---------- */

.who {
  margin-top: var(--gap);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.who__img img { width: 100%; height: auto; }
.who__text h2 { margin-bottom: 1.4rem; max-width: 16ch; }
.who__text p { margin: 0 0 1.1rem; max-width: 54ch; }
.sign { margin-top: 1.8rem !important; font-weight: 500; }
.sign span { display: block; font-weight: 400; font-size: var(--f-small); color: var(--muted); margin-top: .2rem; }

/* ---------- end ---------- */

.end { margin-top: var(--gap); padding-bottom: var(--gap); }
.end__h {
  margin: 0;
  font-size: var(--f-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 14ch;
}
.end .lead { max-width: 44ch; }
.end__row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; align-items: center; }

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--pad) 4rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: var(--f-micro);
}
.foot__name { margin: 0; font-size: 2.2rem; color: var(--ink); letter-spacing: -.03em; }
.foot__note { margin: 0; max-width: 46ch; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .stage { position: static; padding-top: 2rem; }
  .beats { margin-top: 3rem; }
  .beat { min-height: 0; max-width: none; padding: 1.6rem 0; }
  .console { grid-template-columns: 1fr; }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .figs { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr; }
  .who__img img { max-width: 26rem; }
}

@media (max-width: 640px) {
  .hud { gap: 1rem; padding: .8rem 1rem; }
  .hud__nav { display: none; }
  .hud__cta { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 1fr; gap: .3rem; padding: .9rem 1rem; }
  .trow--head { display: none; }
  .trow .feat::before { content: "Solaris · "; color: var(--accent); }
  .trow span:nth-child(2)::before { content: "By hand · "; color: #7C838A; }
  .figs { grid-template-columns: 1fr; gap: 1.6rem; }
  .deck__report { gap: .8rem; }
}

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


/* scan sweep */
.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 24px 8px rgba(255,74,31,.35); /* taste-skill-ignore */
  animation: sweep 1.1s linear forwards;
  pointer-events: none;
  z-index: 5;
}
@keyframes sweep { from { top: 0 } to { top: 100% } }
.end__h { scroll-margin-top: 6rem; }


/* ---------- rooms ---------- */
.rooms { margin-top: var(--gap); }
.rooms h2 {
  margin: 0 0 2rem;
  font-size: var(--f-head);
  font-weight: 400;
  letter-spacing: -.025em;
}
.rooms__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.rooms figure { margin: 0; }
.rooms img { width: 100%; height: auto; border-radius: 4px; }
.rooms figcaption { margin-top: .8rem; font-size: var(--f-micro); color: var(--muted); max-width: 46ch; }

@media (max-width: 760px) {
  .rooms__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}


/* ---------- entrance ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.hud__cta, .scan, .ghost, .ctrl, .hud__nav a, .step button, .flags button { transition: background .2s var(--ease), color .2s var(--ease), transform .12s var(--ease); }
.scan:active, .ghost:active, .hud__cta:active { transform: translateY(1px); }
.flags button:hover { transform: translateX(-50%) scale(1.15); }
.monitor { opacity: 0; transform: translateY(14px) scale(.995); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.ready .monitor { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .screenrow { grid-template-columns: 1.35fr 1fr; }
  .deck__screenrow { grid-template-columns: 1fr; }
  .deck__side { grid-template-rows: auto 120px auto 70px; }
}

#parade { height: 74px; }
#parade2 { height: 70px; }
#strip { height: 34px; }
#wave { height: 120px; }
#wave2 { height: 110px; }
.vector canvas { height: 100%; }
