/* Nero One — Site, Direction C · full page styles
   Vanilla CSS on top of nero.css primitives. Desktop-first, responsive. */

:root {
  --gut: clamp(20px, 9vw, 120px);
  --hero787: 1;       /* tweak: hero numeral scale */
  --ghost-on: 1;      /* tweak: ghost numerals visibility */
}

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #18120C; }

.siteC { overflow-x: clip; }
.siteC ::selection { background: var(--amber); color: var(--ink); }

/* ---------- scroll reveal (armed by JS only; fail-safe static otherwise) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv-armed .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .rv-armed .rv.vis { opacity: 1; transform: none; }
}

/* ---------- top bar ---------- */
.siteC .topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--gut);
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.siteC .topbar .mark { font-size: 24px; color: var(--cream); text-decoration: none; }
.siteC .topbar nav { display: flex; gap: 32px; align-items: center; }
.siteC .topbar nav a { color: var(--cream-dim); text-decoration: none; transition: color 0.15s; }
.siteC .topbar nav a:hover { color: var(--cream); }
.siteC .topbar nav a.hot { color: var(--amber); }

/* ---------- hero ---------- */
.siteC .hero { position: relative; min-height: max(720px, calc(100vh - 65px)); border-bottom: 1px solid var(--hair); overflow: hidden; }
.siteC .hero .vlabel {
  position: absolute; left: 30px; top: 56px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: var(--cream-dim);
}
.siteC .hero .nero-word { position: absolute; left: var(--gut); top: 56px; font-size: clamp(34px, 4vw, 58px); font-weight: 500; }
.siteC .hero .big787 {
  position: absolute; right: -8.5vw; top: 0;
  font-style: italic; font-weight: 500;
  font-size: calc(clamp(260px, 48vw, 720px) * var(--hero787));
  line-height: 0.88; color: var(--amber); letter-spacing: -0.04em;
  user-select: none; pointer-events: none;
}
.siteC .hero .big787 .ghost { color: transparent; -webkit-text-stroke: 1px var(--amber-dim); }
.siteC .hero .pitchline { position: absolute; left: var(--gut); bottom: 210px; max-width: 500px; }
.siteC .hero .pitchline h1 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.18; text-wrap: pretty; }
.siteC .hero .pitchline h1 em { font-style: italic; color: var(--amber); }
.siteC .hero .pitchline p { margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--cream-dim); }
.siteC .hero .cta { position: absolute; left: var(--gut); bottom: 104px; display: flex; gap: 34px; align-items: center; }
.siteC .hero .strip { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--hair); display: flex; background: var(--ink); }
.siteC .hero .strip span { flex: 1; padding: 15px 0 15px var(--gut); border-right: 1px solid var(--hair); white-space: nowrap; }
.siteC .hero .strip span:last-child { border-right: 0; }

/* ---------- ghost numerals ---------- */
.siteC .ghostno {
  position: absolute; right: 40px; top: -36px;
  font-style: italic; font-size: clamp(180px, 24vw, 340px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--amber-dim);
  opacity: calc(0.5 * var(--ghost-on)); pointer-events: none; user-select: none;
}
.paper-sec .ghostno { -webkit-text-stroke-color: rgba(138, 106, 46, 0.55); }

/* ---------- manifesto (the pitch) ---------- */
.paper-sec { background: var(--paper); color: var(--paper-ink); }
.siteC .manifesto { position: relative; padding: 130px var(--gut) 140px; overflow: hidden; }
.siteC .manifesto p { position: relative; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.3; max-width: 900px; text-wrap: pretty; }
.siteC .manifesto p em { font-style: italic; color: var(--amber-dim); }
.siteC .manifesto .sig { margin-top: 38px; color: var(--paper-dim); }

/* ---------- deck screenshot ---------- */
.siteC .shot { position: relative; padding: 110px var(--gut) 110px calc(var(--gut) + 96px); border-bottom: 1px solid var(--hair); }
.siteC .shot .side { position: absolute; left: calc(var(--gut) - 22px); top: 132px; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--cream-dim); }
.siteC .shot .corner { position: absolute; right: var(--gut); top: 72px; }
.siteC .shot .n-ph { aspect-ratio: 16 / 8; }
.siteC .shot .under { display: flex; justify-content: space-between; margin-top: 16px; }

/* ---------- feature index ---------- */
.siteC .index { position: relative; }
.siteC .index .sec-head { padding: 96px var(--gut) 56px; }
.siteC .index .sec-head h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 500; margin-top: 16px; }
.siteC .index .sec-head h2 em { font-style: italic; color: var(--amber); }
.siteC .row {
  display: grid; grid-template-columns: 240px 1fr 360px; align-items: start; gap: 44px;
  padding: 52px var(--gut); border-top: 1px solid var(--hair);
  transition: background 0.18s ease;
}
.siteC .row:hover { background: var(--ink2); }
.siteC .row .no { font-style: italic; font-size: clamp(56px, 7vw, 96px); line-height: 0.9; color: var(--amber); }
.siteC .row:nth-child(even) .no { color: transparent; -webkit-text-stroke: 1px var(--amber-dim); }
.siteC .row h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; margin-bottom: 10px; }
.siteC .row .desc { font-size: 17.5px; color: var(--cream-dim); line-height: 1.55; max-width: 560px; }
.siteC .row .specs { display: flex; flex-direction: column; gap: 13px; padding-top: 10px; }
.siteC .row .specs .s { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--hair); padding-bottom: 12px; }
.siteC .row .specs .s:last-child { border-bottom: 0; }
.siteC .row .specs .k { color: var(--cream-dim); }
.siteC .row .specs .v { font-style: italic; font-size: 19px; color: var(--amber); white-space: nowrap; }

/* ---------- audience stream ---------- */
.siteC .stream { position: relative; padding: 120px var(--gut); overflow: hidden; display: grid; grid-template-columns: minmax(380px, 520px) 1fr; gap: 72px; align-items: center; }
.siteC .stream h2 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 500; line-height: 1.1; margin: 16px 0 18px; }
.siteC .stream h2 em { font-style: italic; color: var(--amber-dim); }
.siteC .stream .lede { font-size: 19px; line-height: 1.55; color: var(--paper-dim); }
.siteC .stream .url { display: inline-block; margin-top: 30px; font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--paper-ink); border: 1px solid var(--hair-2); padding: 13px 18px; }
.siteC .stream .url b { color: var(--amber-dim); font-weight: 400; }
.siteC .stream .feats { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.siteC .stream .feats .f { display: flex; gap: 14px; align-items: baseline; font-size: 17.5px; color: var(--paper-ink); }
.siteC .stream .feats .f::before { content: "—"; color: var(--amber-dim); font-style: italic; }
.siteC .stream .phwrap { position: relative; }
.siteC .stream .n-ph { aspect-ratio: 4 / 3; }

/* ---------- hardware checklist ---------- */
.siteC .hw { position: relative; border-top: 1px solid var(--hair); padding: 110px 0 0; }
.siteC .hw .sec-head { padding: 0 var(--gut) 52px; }
.siteC .hw .sec-head h2 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; margin-top: 16px; }
.siteC .hw .hrow { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: baseline; padding: 26px var(--gut); border-top: 1px solid var(--hair); }
.siteC .hw .hrow .nm { font-size: 25px; font-weight: 500; }
.siteC .hw .hrow .nm .nt { display: block; font-size: 16px; color: var(--cream-dim); margin-top: 5px; font-weight: 400; }
.siteC .hw .hrow .cost { font-style: italic; font-size: 25px; color: var(--amber); white-space: nowrap; }
.siteC .hw .hrow.opt .nm, .siteC .hw .hrow.opt .cost { opacity: 0.62; }
.siteC .hw .total { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 30px var(--gut) 36px; border-top: 1px solid var(--amber-dim); }
.siteC .hw .total .cost { font-style: italic; font-size: 34px; color: var(--cream); }

/* ---------- pre-configured ---------- */
.siteC .pre { position: relative; padding: 116px var(--gut) 124px; border-top: 1px solid var(--hair); overflow: hidden; }
.siteC .pre h2 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; margin: 16px 0 14px; max-width: 720px; }
.siteC .pre h2 em { font-style: italic; color: var(--amber); }
.siteC .pre .lede { font-size: 19px; color: var(--cream-dim); max-width: 560px; line-height: 1.55; margin-bottom: 54px; }
.siteC .pre .plist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; max-width: 1060px; }
.siteC .pre .p { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 19px 0; border-bottom: 1px solid var(--hair); }
.siteC .pre .p .what { font-size: 20px; }
.siteC .pre .p .state { font-style: italic; font-size: 18px; color: var(--amber); white-space: nowrap; }

/* ---------- pricing ---------- */
.siteC .price { position: relative; min-height: 620px; border-top: 1px solid var(--hair); overflow: hidden; }
.siteC .price .bignum {
  position: absolute; left: -40px; bottom: -50px;
  font-style: italic; font-weight: 500; font-size: clamp(200px, 30vw, 430px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--amber-dim); letter-spacing: -0.03em; white-space: nowrap;
  opacity: calc(0.35 + 0.65 * var(--ghost-on));
  pointer-events: none; user-select: none;
}
.siteC .price .inner { position: relative; margin-left: auto; max-width: 460px; padding: 130px var(--gut) 130px 0; }
.siteC .price h2 { font-size: clamp(36px, 3.8vw, 50px); font-weight: 500; line-height: 1.08; margin: 14px 0 18px; }
.siteC .price .lede { font-size: 18.5px; line-height: 1.55; color: var(--cream-dim); margin-bottom: 38px; }
.siteC .price .fine { margin-top: 24px; display: block; color: var(--cream-dim); line-height: 2.1; }

/* ---------- compatibility ---------- */
.siteC .compat { border-top: 1px solid var(--hair); padding: 110px var(--gut); text-align: center; }
.siteC .compat h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 500; }
.siteC .compat h2 em { font-style: italic; color: var(--amber); }
.siteC .compat p { font-size: 20px; line-height: 1.55; color: var(--cream-dim); max-width: 560px; margin: 22px auto 0; text-wrap: pretty; }
.siteC .compat .nope { margin-top: 34px; }

/* ---------- final CTA + footer ---------- */
.siteC .buy { border-top: 1px solid var(--hair); padding: 130px var(--gut); text-align: center; position: relative; overflow: hidden; }
.siteC .buy h2 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 500; margin: 18px 0 40px; }
.siteC .buy h2 em { font-style: italic; color: var(--amber); }
.siteC .buy .note { display: block; margin-top: 24px; color: var(--cream-dim); }
.siteC .foot { border-top: 1px solid var(--hair); display: flex; justify-content: space-between; align-items: center; padding: 30px var(--gut); }
.siteC .foot .mark { font-size: 21px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .siteC .row { grid-template-columns: 150px 1fr; }
  .siteC .row .specs { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 10px 28px; padding-top: 18px; }
  .siteC .row .specs .s { border-bottom: 0; padding-bottom: 0; gap: 10px; }
  .siteC .stream { grid-template-columns: 1fr; gap: 48px; }
  .siteC .pre .plist { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .siteC .topbar nav a:not(.hot) { display: none; }
  .siteC .hero { min-height: 0; padding: 120px 0 0; }
  .siteC .hero .vlabel { writing-mode: horizontal-tb; transform: none; left: var(--gut); top: 86px; font-size: 10px; }
  .siteC .hero .nero-word { position: static; display: block; padding: 56px var(--gut) 0; }
  .siteC .hero .big787 { position: absolute; right: -14vw; top: 18px; font-size: calc(54vw * var(--hero787)); }
  .siteC .hero .pitchline { position: static; max-width: none; padding: 26vw var(--gut) 0; }
  .siteC .hero .cta { position: static; padding: 34px var(--gut) 46px; }
  .siteC .hero .strip { position: static; flex-direction: column; }
  .siteC .hero .strip span { border-right: 0; border-bottom: 1px solid var(--hair); padding: 13px var(--gut); }
  .siteC .hero .strip span:last-child { border-bottom: 0; }
  .siteC .shot { padding: 80px var(--gut); }
  .siteC .shot .side { display: none; }
  .siteC .shot .corner { top: 44px; }
  .siteC .row { grid-template-columns: 1fr; gap: 18px; padding: 44px var(--gut); }
  .siteC .row .no { font-size: 64px; }
  .siteC .row .specs { grid-column: 1; }
  .siteC .price .inner { margin: 0; padding: 90px var(--gut); max-width: none; }
  .siteC .price .bignum { opacity: calc(0.4 * var(--ghost-on)); }
  .siteC .n-btn { width: 100%; justify-content: center; min-height: 52px; }
  .siteC .hero .cta .n-btn { width: auto; }
  .siteC .foot { flex-direction: column; gap: 14px; }
}
