/* ===================== HALOS — gravity boots ===================== */
/* Register: hype-drop streetwear. Off-black + concrete + ONE ion-mint accent. */

@font-face {
  font-family: "Archivo";
  src: url("./assets/fonts/archivo-vf.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("./assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("./assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14161a;          /* off-black base (never #000) */
  --ink-2: #1b1e23;        /* raised panel */
  --ink-3: #23272d;        /* hairline / border */
  --concrete: #abadb0;     /* structural mid grey */
  --paper: #e9eaec;        /* primary text */
  --paper-dim: #9aa0a6;    /* secondary text */
  --halo: #34efc6;         /* THE accent — ion mint */
  --halo-soft: #8ff7da;    /* glow bloom tint */

  --measure: 34rem;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --display: "Archivo", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.num { font-family: var(--mono); font-feature-settings: "tnum" 1; font-weight: 500; }

.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---------- masthead ---------- */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem var(--pad);
  background: linear-gradient(180deg, rgba(20,22,26,0.86), rgba(20,22,26,0));
  backdrop-filter: blur(3px);
}
.mark {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.05rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.mark-ring {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  border: 2px solid var(--halo);
  box-shadow: 0 0 10px -1px var(--halo);
}
.masthead-tag { font-size: 0.72rem; color: var(--paper-dim); letter-spacing: 0.01em; }
.masthead-tag a { color: var(--paper-dim); text-underline-offset: 2px; }
.masthead-tag a:hover { color: var(--halo); }

/* ---------- hero (pinned scrub) ---------- */
.hero { position: relative; }
.hero-stage {
  position: relative; height: 100svh; width: 100%;
  overflow: hidden; background: var(--ink);
}
.hero-poster, .hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-canvas { opacity: 0; transition: opacity 0.25s ease; }
.hero-canvas.is-live { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0) 26%),
    linear-gradient(0deg, rgba(20,22,26,0.82) 0%, rgba(20,22,26,0) 42%);
}
.hero-copy {
  position: absolute; left: var(--pad); bottom: clamp(4rem, 14vh, 9rem);
  right: var(--pad); z-index: 3;
}
.hero-kicker {
  font-size: 0.95rem; color: var(--paper-dim); margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}
.hero-title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; line-height: 0.9; letter-spacing: -0.015em;
  font-size: clamp(2rem, 8.4vw, 7rem);
  color: var(--paper);
}
.hero-title--late {
  position: absolute; left: 0; bottom: 0; opacity: 0;
}
.hero-cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; color: var(--paper-dim);
}
.hero-cue-line {
  width: 1px; height: 2.2rem;
  background: linear-gradient(180deg, var(--halo), transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }
.hero-enter {
  position: absolute; right: var(--pad); bottom: clamp(3rem, 12vh, 8rem); z-index: 4;
  opacity: 0; text-decoration: none;
  font-family: var(--display); font-stretch: 110%; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.9rem;
  color: var(--ink); background: var(--halo);
  padding: 0.85rem 1.4rem; border-radius: 2rem;
  box-shadow: 0 0 0 0 rgba(52,239,198,0.5);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.hero-enter:hover { transform: translateY(-2px); box-shadow: 0 8px 30px -6px rgba(52,239,198,0.55); }

/* ---------- shared section furniture ---------- */
section { padding: clamp(5rem, 12vh, 11rem) var(--pad); position: relative; }
.section-lead {
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  color: var(--halo); margin-bottom: 1.5rem;
}
.section-lead--center { text-align: center; }
.section-title {
  font-family: var(--display); font-stretch: 118%; font-weight: 800;
  text-transform: uppercase; line-height: 0.94; letter-spacing: -0.01em;
  font-size: clamp(2rem, 6vw, 4.5rem); margin-bottom: 1.75rem;
}
.body { color: var(--paper-dim); max-width: var(--measure); margin-bottom: 1.1rem; }
.body:last-child { margin-bottom: 0; }

/* ---------- tech ---------- */
.tech {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  border-top: 1px solid var(--ink-3);
}
.tech-media img {
  width: 100%; border-radius: 6px; border: 1px solid var(--ink-3);
}
.spec { margin-top: 2.5rem; border-top: 1px solid var(--ink-3); }
.spec-row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--ink-3);
}
.spec-row dt { color: var(--paper-dim); font-size: 0.9rem; }
.spec-row dd { text-align: right; color: var(--paper); font-size: 0.95rem; }

/* ---------- drop ---------- */
.drop { text-align: center; border-top: 1px solid var(--ink-3); background: var(--ink-2); }
.drop-title {
  font-family: var(--display); font-stretch: 120%; font-weight: 800;
  text-transform: uppercase; line-height: 0.94; letter-spacing: -0.01em;
  font-size: clamp(2rem, 6vw, 4.5rem); margin-bottom: 2.5rem;
}
.countdown {
  display: inline-flex; align-items: flex-start; gap: clamp(0.5rem, 2vw, 1.5rem);
  padding: 1.5rem clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--ink-3); border-radius: 10px; background: var(--ink);
}
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-width: 2.6ch; }
.cd-num {
  font-family: var(--mono); font-feature-settings: "tnum" 1; font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1; color: var(--paper);
}
#cd-s { color: var(--halo); text-shadow: 0 0 18px rgba(52,239,198,0.4); }
.cd-label { font-size: 0.7rem; color: var(--paper-dim); }
.cd-sep { font-family: var(--mono); font-size: clamp(1.6rem, 5vw, 2.6rem); color: var(--ink-3); line-height: 1.2; }
.drop-when { margin-top: 1.1rem; color: var(--paper-dim); font-size: 0.9rem; }

.drop-facts {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(2rem, 8vw, 5rem); margin: 3.5rem 0 3rem;
}
.fact { display: flex; flex-direction: column; gap: 0.35rem; }
.fact .num { font-size: clamp(2rem, 6vw, 3rem); color: var(--paper); line-height: 1; }
.fact-label { font-size: 0.8rem; color: var(--paper-dim); }

.join { max-width: 30rem; margin: 0 auto; }
.join-label { display: block; margin-bottom: 0.9rem; color: var(--paper); font-size: 0.95rem; }
.join-row { display: flex; gap: 0.5rem; }
.join-input {
  flex: 1; min-width: 0; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink-3); border-radius: 6px; padding: 0.85rem 1rem;
  font-family: var(--body); font-size: 1rem;
}
.join-input::placeholder { color: #5f666d; }
.join-input:focus { outline: none; border-color: var(--halo); box-shadow: 0 0 0 3px rgba(52,239,198,0.18); }
.join-btn {
  flex: 0 0 auto; cursor: pointer; border: none; border-radius: 6px;
  background: var(--halo); color: var(--ink);
  font-family: var(--display); font-stretch: 110%; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.85rem;
  padding: 0 1.4rem; transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.join-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(52,239,198,0.6); }
.join-note { margin-top: 0.85rem; font-size: 0.82rem; color: var(--paper-dim); }
.join-note.is-ok { color: var(--halo); }

/* ---------- lookbook ---------- */
.look {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch;
  border-top: 1px solid var(--ink-3);
}
.look-hero { position: relative; margin: 0; }
.look-hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.look-hero figcaption {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  font-family: var(--body); font-size: 0.95rem; color: var(--paper);
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}
.look-aside { display: flex; flex-direction: column; gap: clamp(1.5rem, 4vw, 3rem); }
.look-product { margin: 0; flex: 1; }
.look-product img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid var(--ink-3); }
.look-quote {
  margin: 0; padding: 1.75rem; background: var(--ink-2);
  border: 1px solid var(--ink-3); border-radius: 6px;
}
.look-quote p {
  font-family: var(--display); font-stretch: 112%; font-weight: 700;
  text-transform: uppercase; line-height: 1; letter-spacing: -0.005em;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--paper);
}

/* ---------- fine print ---------- */
.fine { border-top: 1px solid var(--ink-3); }
.fine-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.fine-grid .body { max-width: none; }

/* ---------- footer ---------- */
.footer {
  text-align: center; padding: clamp(4rem, 10vh, 7rem) var(--pad) 4rem;
  border-top: 1px solid var(--ink-3); background: var(--ink-2);
}
.footer-mark {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem;
}
.footer-line {
  font-family: var(--display); font-stretch: 110%; font-weight: 600;
  text-transform: uppercase; color: var(--halo); font-size: 0.95rem;
  letter-spacing: 0.03em; margin-bottom: 1.75rem;
}
.footer-tag { color: var(--paper-dim); font-size: 0.82rem; max-width: 32rem; margin: 0 auto; }
.footer-tag a { color: var(--paper); text-underline-offset: 2px; }
.footer-tag a:hover { color: var(--halo); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .tech { grid-template-columns: 1fr; }
  .tech-media { order: 2; }
  .look { grid-template-columns: 1fr; }
  .look-aside { flex-direction: row; }
  .look-aside > * { flex: 1; }
}
@media (max-width: 560px) {
  .masthead-tag { display: none; }
  .look-aside { flex-direction: column; }
  .hero-enter { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cue-line { animation: none; }
}

/* ---------- keyboard focus (a11y polish, 2026-07-06 audit) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--halo);
  outline-offset: 3px;
  border-radius: 3px;
}
