/* =========================================================
   TRUE VOICE — ALT page skin
   Refined evolution of the remix: centered "broadcast" hero
   built around the ResonanceField. Loaded LAST.
   Black · blood red · air. Condensed display + clean body.
   ========================================================= */

/* ── boot ─────────────────────────────────────────────── */
html, body { background: #060607; }

/* ── HERO ─────────────────────────────────────────────── */
.av-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 6vw, 80px) clamp(80px, 12vh, 120px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 38%, #0E0E10 0%, #08080A 55%, #060607 100%);
}

/* full-bleed field layer */
.av-hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.rf-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* scan-line texture over the field for broadcast feel */
.av-hero-field::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg, rgba(246,244,240,0.03) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}

/* corner registration ticks */
.av-corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 0 solid rgba(246,244,240,0.28);
  z-index: 4; pointer-events: none;
}
.av-corner--tl { top: 92px;    left: clamp(16px,5vw,54px);  border-top-width: 1px;    border-left-width: 1px; }
.av-corner--tr { top: 92px;    right: clamp(16px,5vw,54px); border-top-width: 1px;    border-right-width: 1px; }
.av-corner--bl { bottom: 64px; left: clamp(16px,5vw,54px);  border-bottom-width: 1px; border-left-width: 1px; }
.av-corner--br { bottom: 64px; right: clamp(16px,5vw,54px); border-bottom-width: 1px; border-right-width: 1px; }
@media (max-width: 760px){ .av-corner { display: none; } }

/* ── hero content ─────────────────────────────────────── */
.av-hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.6vh, 30px);
  width: 100%;
  max-width: 1100px;
}

/* meta pills */
.av-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.av-pill {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 8px 14px;
  border: 1px solid var(--hairline-strong);
  background: rgba(8,8,10,0.5);
  backdrop-filter: blur(6px);
}
.av-pill--accent { color: var(--fg); border-color: rgba(230,0,18,0.5); }
.av-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tv-accent);
  box-shadow: 0 0 10px var(--tv-accent-glow);
  animation: tvPulse 1.6s ease-in-out infinite;
}

/* WORDMARK — the waveform runs right through it */
.av-wordmark {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.012em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 40px);
  margin: clamp(2px, 1vh, 12px) 0;
  font-size: clamp(72px, 17vw, 248px);
}
.av-wordmark .w1 {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.16vw, 2.4px) rgba(246,244,240,0.92);
}
.av-wordmark .w2 {
  color: var(--tv-accent);
  text-shadow: 0 0 80px rgba(230,0,18,0.55);
}
@media (max-width: 640px){
  .av-wordmark { flex-direction: column; gap: 0; line-height: 0.86; }
}

/* headline */
.av-headline {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--fg);
  max-width: 22ch;
  text-wrap: balance;
}
.av-headline .ital { font-style: italic; font-weight: 300; color: var(--tv-accent); text-transform: none; }
.av-headline .accent { color: var(--tv-accent); }

/* sub */
.av-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0;
}

/* offer row — price chip + CTA */
.av-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}
.av-price {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--hairline-strong);
  background: rgba(8,8,10,0.55);
  backdrop-filter: blur(6px);
}
.av-price .old {
  font-family: var(--font-body); font-size: 15px; color: var(--fg-faint);
  text-decoration: line-through;
}
.av-price .arr { color: var(--tv-accent); font-size: 18px; }
.av-price .new {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 40px); color: var(--fg);
  line-height: 1;
}
.av-price { position: relative; }
.av-price .til {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-faint);
  border-left: 1px solid var(--hairline); padding-left: 12px;
}

/* discount stamp — sticker hanging off the price chip */
.av-save {
  position: absolute;
  top: 50%; left: -84px; margin-top: -38px;
  z-index: 6;
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--tv-accent);
  color: #fff;
  transform: rotate(-12deg);
  border: 1.5px dashed rgba(255,255,255,0.7);
  box-shadow: 0 0 26px var(--tv-accent-glow), 0 8px 20px rgba(0,0,0,0.45);
}
.av-save .pct {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1; letter-spacing: -0.01em;
}
.av-save .lbl {
  font-family: var(--font-body); font-size: 7.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 3px; opacity: 0.92;
}
@keyframes avStamp {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-12deg) scale(1.07); }
}
@media (prefers-reduced-motion: no-preference) {
  .av-save { animation: avStamp 2.6s ease-in-out infinite; }
}
.av-cta {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); border: 0;
  padding: 0 30px;
  min-height: 62px;
  background: var(--tv-accent);
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
}
.av-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #060607; transform: translateY(101%);
  transition: transform 380ms var(--ease-spring, cubic-bezier(0.16,1,0.3,1));
}
.av-cta:hover::before { transform: translateY(0); }
.av-cta .arrow { transition: transform 380ms var(--ease-spring, cubic-bezier(0.16,1,0.3,1)); }
.av-cta:hover .arrow { transform: translateX(7px); }

/* trust line */
.av-trust {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
  font-family: var(--font-body); font-size: 12.5px;
  color: var(--fg-muted); max-width: 60ch;
  line-height: 1.5;
}
.av-trust .stars { color: var(--tv-accent); letter-spacing: 0.1em; font-size: 12px; }
.av-trust em { font-style: italic; color: var(--fg); }
.av-trust .sep { width: 1px; height: 14px; background: var(--hairline-strong); }

/* bullets */
.av-bullets {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: center;
}
.av-bullets li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 12.5px;
  color: var(--fg-muted);
}
.av-bullets li .b {
  width: 5px; height: 5px; background: var(--tv-accent);
  transform: rotate(45deg); flex-shrink: 0;
}
.av-bullets strong { color: var(--fg); font-weight: 600; }

/* scroll cue */
.av-scrollcue {
  position: absolute;
  bottom: clamp(18px, 4vh, 34px);
  left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--fg-faint);
}
.av-scrollcue .track {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, transparent, var(--hairline-strong) 30%, var(--hairline-strong));
  position: relative; overflow: hidden;
}
.av-scrollcue .track::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 1px; height: 14px; background: var(--tv-accent);
  box-shadow: 0 0 8px var(--tv-accent-glow);
  animation: avScroll 2.2s ease-in-out infinite;
}
@keyframes avScroll {
  0%   { transform: translateY(-16px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(42px); opacity: 0; }
}

/* tape strip (under content, above field) */
.av-tape {
  position: absolute;
  top: clamp(92px, 12vh, 120px);
  left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg-faint);
}
.av-tape .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--tv-accent);
  box-shadow: 0 0 8px var(--tv-accent-glow);
  animation: tvPulse 1.4s ease-in-out infinite;
}
@media (max-width: 760px){ .av-tape { display: none; } }

/* ── hero entrance (staggered) ─────────────────────────── */
/* Base = visible end-state; animate FROM hidden with `both` fill so a
   frozen timeline / export / reduced-motion still shows the content. */
.av-rise {
  opacity: 1;
  transform: none;
}
@keyframes avRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.av-wordmark .w1, .av-wordmark .w2 {
  display: inline-block;
  opacity: 1;
  transform: none;
}
@keyframes avWord {
  from { opacity: 0; transform: translateY(0.18em); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .av-rise {
    animation: avRise 1s var(--ease-spring, cubic-bezier(0.16,1,0.3,1)) both;
    animation-delay: var(--d, 0ms);
  }
  .av-wordmark .w1, .av-wordmark .w2 {
    animation: avWord 1.1s var(--ease-spring, cubic-bezier(0.16,1,0.3,1)) both;
  }
  .av-wordmark .w1 { animation-delay: 160ms; }
  .av-wordmark .w2 { animation-delay: 300ms; }
}

/* ── section reveal polish (works WITH remix-kinetic) ──── */
/* slightly richer reveal curve for the alt page */
.av-page .kx-reveal { transform: translateY(46px); }

/* ── intro veil (fades after mount, lets hero settle) ──── */
.av-veil {
  position: fixed; inset: 0; z-index: 90;
  background: #060607; pointer-events: none;
  opacity: 1; transition: opacity 900ms ease-out;
}
.av-veil.gone { opacity: 0; }

/* ── safety: guarantee hero content is visible even if the
   animation timeline never advances (capture / export) ── */
.av-shown .av-rise,
.av-shown .av-wordmark .w1,
.av-shown .av-wordmark .w2 { opacity: 1 !important; transform: none !important; }

/* ── mobile: guarantee the offer + CTA land on the first screen ── */
@media (max-width: 640px){
  .av-hero {
    justify-content: flex-start;
    padding: 50px 18px 40px;
  }
  .av-hero-inner { gap: 9px; }
  .av-meta { gap: 6px; flex-wrap: nowrap; }
  .av-pill { font-size: 8.5px; padding: 6px 9px; letter-spacing: 0.12em; }
  .av-wordmark { font-size: clamp(52px, 19vw, 80px); margin: 0; }
  .av-headline { font-size: clamp(20px, 5.6vw, 28px); max-width: 16ch; }
  .av-sub { font-size: 12.5px; line-height: 1.45; max-width: 38ch; }
  .av-offer {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 4px;
  }
  .av-price { justify-content: center; padding: 12px 18px; }
  .av-cta { width: 100%; justify-content: center; min-height: 56px; }
  .av-save { top: -22px; left: auto; right: -8px; margin-top: 0; width: 60px; height: 60px; }
  .av-save .pct { font-size: 18px; }
  /* secondary proof flows below the fold */
  .av-scrollcue { display: none; }
}
