/* ============================================================
   THE 100 NETWORK — Storefront
   ============================================================ */

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

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Pit lighting: warm pointer-tracked radial + grain.
   Highest-leverage "why does this feel expensive" lever. ---- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(
    620px circle at var(--mx, 50%) var(--my, 22%),
    rgba(245, 158, 11, 0.055),
    rgba(245, 158, 11, 0.018) 42%,
    transparent 68%
  );
  transition: background var(--dur-slow) var(--ease-out);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer, section { position: relative; z-index: 1; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: var(--sp-2);
}

.lede { font-size: var(--step-1); color: var(--text-secondary); max-width: 34ch; }

.foil {
  background: var(--grad-foil);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: foil-glint 7s var(--ease-in-out) infinite;
}
/* Long dwell, fast sweep = a glint, not a casino shimmer */
@keyframes foil-glint {
  0%, 82%  { background-position: 130% 0; }
  92%      { background-position: -30% 0; }
  100%     { background-position: -30% 0; }
}

/* ---- Layout ---- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding-block: var(--sp-6); }

/* ---- Light strip: Vegas signage as a gesture. 1px hairline, no bulbs ---- */
.hairline { height: 1px; background: var(--grad-hair); opacity: 0.5; border: 0; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) max(4vw, 1rem);
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-primary); text-decoration: none;
  display: flex; align-items: center; gap: 0.55rem;
}
.brand .mark {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: #0a0a0f;
}
.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav a {
  color: var(--text-secondary); text-decoration: none;
  font-size: var(--step--1); letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav a:hover { color: var(--text-primary); }
@media (max-width: 700px) { .nav .hide-sm { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.btn-primary {
  background: var(--grad-gold); color: #0a0a0f;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,158,11,0.32); }
.btn-primary:active { transform: translateY(0); }
/* .nav a (0,1,1) outranks .btn-primary (0,1,0) and painted the header CTA
   text grey-on-gold on every page. Found on the first live deploy, 2026-09-07. */
.nav .btn-primary { color: #0a0a0f; }
.btn-ghost {
  background: transparent; color: var(--text-primary); border-color: var(--border-lit);
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-200); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: var(--step-1); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid; align-items: center; gap: var(--sp-5);
  grid-template-columns: 1fr;
  padding-block: var(--sp-6) var(--sp-5);
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; } }

.hero-copy h1 { margin-bottom: var(--sp-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.hero-points {
  list-style: none; margin-top: var(--sp-4);
  display: grid; gap: 0.6rem;
  font-size: var(--step--1); color: var(--text-secondary);
}
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; }
.hero-points li::before {
  content: ''; flex: none;
  width: 5px; height: 5px; margin-top: 0.55em; border-radius: 50%;
  background: var(--gold-400);
}

/* ============================================================
   THE CARD AS AN OBJECT (D30)
   The differentiation gap: nobody in the category gives the card
   depth, weight, or a sense of being a physical thing.
   ============================================================ */
.card-stage {
  perspective: 1400px;
  display: grid; place-items: center;
  padding: var(--sp-4) 0;
}
.card-3d {
  position: relative;
  width: min(460px, 82vw);
  aspect-ratio: var(--card-ratio);
  border-radius: var(--card-radius);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg));
  transition: transform var(--dur) var(--ease-out);
  box-shadow: var(--shadow-card);
  background: #fbfbfa;              /* white PVC stock (D2) */
  overflow: hidden;
  cursor: pointer;
}
/* Edge highlight — the lit rim that sells thickness */
.card-3d::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.22),
    inset 0 0 0 1px rgba(0,0,0,0.08);
  pointer-events: none;
}
/* Sheen sweep, tilt-tracked */
.card-3d::before {
  content: ''; position: absolute; inset: -30%;
  background: linear-gradient(
    100deg, transparent 41%,
    rgba(255,255,255,0.26) 48%,
    rgba(255,255,255,0.07) 54%,
    transparent 60%);
  transform: translateX(var(--sheen, -12%));
  transition: transform var(--dur-slow) var(--ease-out);
  pointer-events: none; z-index: 3;
}

.card-face { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; justify-content: space-between; }
.card-logo {
  font-family: var(--font-display); font-size: clamp(1.1rem, 4.2cqw, 1.8rem);
  font-weight: 700; color: #0a0a0f; letter-spacing: -0.02em; line-height: 1;
}
.card-name { font-family: var(--font-body); color: #0a0a0f; }
.card-name strong { display: block; font-size: clamp(0.8rem, 3cqw, 1.05rem); font-weight: 600; }
.card-name span { display: block; font-size: clamp(0.62rem, 2.2cqw, 0.8rem); color: #55555f; margin-top: 2px; }

.nfc-glyph { position: absolute; right: 7%; bottom: 8%; width: 26px; height: 26px; opacity: 0.5; }
.nfc-glyph path { stroke: #0a0a0f; stroke-width: 1.6; fill: none; stroke-linecap: round; }

/* ---- Tap ripple — the ONLY neon on the page ----
   It's the NFC field made visible. Answers "does this thing work?" ---- */
.tap-ripple {
  position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 1.5px solid var(--neon);
  opacity: 0; pointer-events: none; z-index: 4;
}
.card-3d.tapped .tap-ripple { animation: ripple 1100ms var(--ease-out) forwards; }
.card-3d.tapped .tap-ripple:nth-child(2) { animation-delay: 170ms; }
.card-3d.tapped .tap-ripple:nth-child(3) { animation-delay: 340ms; }
@keyframes ripple {
  0%   { opacity: 0.85; transform: scale(0.35); box-shadow: 0 0 18px var(--neon-dim); }
  100% { opacity: 0;    transform: scale(7);    box-shadow: 0 0 0 var(--neon-dim); }
}

.tap-hint {
  margin-top: var(--sp-3); text-align: center;
  font-family: var(--font-mono); font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
}
.tap-hint b { color: var(--neon); font-weight: 500; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-head { max-width: 56ch; margin-bottom: var(--sp-5); }
.section-head p { color: var(--text-secondary); margin-top: var(--sp-2); }

.grid-3 { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.tile {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(16,16,26,0.55) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.tile:hover { border-color: var(--border-lit); transform: translateY(-3px); }
.tile .num {
  font-family: var(--font-mono); font-size: var(--step--1);
  color: var(--gold-500); letter-spacing: 0.14em; display: block; margin-bottom: var(--sp-2);
}
.tile h3 { margin-bottom: 0.5rem; }
.tile p { color: var(--text-secondary); font-size: var(--step--1); }

/* ---- Price block ---- */
.price-row { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.price {
  font-family: var(--font-display); font-size: var(--step-3);
  color: var(--gold-200); font-weight: 600;
}
.price-note { color: var(--text-muted); font-size: var(--step--1); }

.spec-list { list-style: none; display: grid; gap: 0.7rem; margin-top: var(--sp-3); }
.spec-list li {
  display: flex; gap: 0.7rem; align-items: baseline;
  font-size: var(--step--1); color: var(--text-secondary);
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--border);
}
.spec-list li b { color: var(--text-primary); font-weight: 500; min-width: 8.5rem; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-4);
  color: var(--text-muted); font-size: var(--step--1);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center; }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
