/* ==========================================================================
   PROTOCOL 714 — 714 ARMY
   One-pager long-scroll · mobile-first (390px) → desktop (900px+)
   Regole di brand invariabili:
     · border-radius: 0 OVUNQUE (angoli tagliati con clip-path, mai arrotondati)
     · un solo accento: rosso --red
     · nessun gradiente morbido, nessuna soft shadow (eccetto glow CTA hover)
   ========================================================================== */

@import url('../fonts/fonts.css');

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colori */
  --bg:            #0A0A0C;   /* sfondo pagina — nero neutro, mai caldo */
  --bg-black:      #000000;   /* footer, divider glitch */
  --bg-lifted:     #101012;   /* card pillars/program/FAQ, sezione Free Intel */
  --bg-card:       #141416;   /* card merch */
  --hairline:      #2A2A2C;   /* tutti i bordi 1px e le cuciture di griglia */
  --text:          #EDEDED;   /* copy enfatizzato */
  --text-head:     #FFFFFF;   /* titoli */
  --text-muted:    #B8B8B8;   /* copy, caption, subhead */
  --text-faint:    #5A5A5E;   /* prezzo barrato, copyright */
  --red:           #C1121F;   /* UNICO accento — tweakable: #C1121F / #B70000 / #9A1216 */
  --red-glow:      rgba(193, 18, 31, .45);
  --red-radial:    rgba(168, 0, 0, .22);

  /* Tipografia */
  --font-display:  'Oswald', 'Arial Narrow', sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  /* Scala tipografica fluida */
  --fs-h1:         clamp(2.6rem, 13vw, 4rem);
  --fs-h1-lg:      clamp(2.7rem, 6.4vw, 5.6rem);
  --fs-h2-huge:    clamp(3rem, 15vw, 10rem);      /* manifesto */
  --fs-h2-large:   clamp(2.8rem, 13vw, 8.5rem);   /* problema */
  --fs-h2-cta:     clamp(3rem, 14vw, 8.5rem);     /* final CTA */
  --fs-h2:         clamp(2.6rem, 11vw, 6rem);     /* method / program / faq / uniform */
  --fs-h2-sm:      clamp(2.2rem, 9vw, 4.5rem);    /* free intel */
  --fs-body:       clamp(1.05rem, 1.3vw, 1.2rem);
  --fs-lead:       clamp(1.05rem, 1.25vw, 1.18rem);
  --fs-eyebrow:    .72rem;

  /* Spaziature */
  --pad-x:         1.6rem;
  --pad-y:         clamp(4rem, 9vh, 6.5rem);
  --pad-y-lg:      clamp(4.5rem, 11vh, 8rem);
  --max-w:         1200px;
  --max-w-narrow:  820px;

  /* Motion */
  --ease:          cubic-bezier(.2, .7, .2, 1);
  --ease-reveal:   cubic-bezier(.16, 1, .3, 1);

  /* Forme */
  --clip-btn:      polygon(0 0, 100% 0, 100% 100%, 10px 100%);
  --clip-btn-alt:  polygon(0 0, 100% 0, 100% 70%, calc(100% - 14px) 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* lo sticky bar non deve coprire l'ancora di destinazione */
  scroll-padding-bottom: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--text-head); }
button { font: inherit; }

/* Radius 0 ovunque — regola di brand, non negoziabile */
*, *::before, *::after { border-radius: 0 !important; }

/* Focus visibile e coerente con la palette */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.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;
}

/* --------------------------------------------------------------------------
   3. OVERLAY GLOBALI — grana + scanline
   -------------------------------------------------------------------------- */
.fx-grain,
.fx-scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.fx-grain {
  z-index: 60;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fx-scan {
  z-index: 59;
  opacity: .35;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .25) 3px 4px);
}

/* --------------------------------------------------------------------------
   4. PRIMITIVE RIUSABILI
   -------------------------------------------------------------------------- */

/* Sezione standard: hairline rossa in alto */
.section {
  position: relative;
  overflow: hidden;
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
  border-top: 1px solid var(--red);
}

.container       { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.container--narrow { max-width: var(--max-w-narrow); }

/* Eyebrow con tick rosso */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 34px;
  height: 2px;
  background: var(--red);
}
.eyebrow--plain { display: block; }
.eyebrow--plain::before { display: none; }

/* Headline */
.h1, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  color: var(--text-head);
  margin: 0;
}
.h1 { font-size: var(--fs-h1); line-height: .94; }
.h2 { font-size: var(--fs-h2); }
.h2--huge  { font-size: var(--fs-h2-huge); }
.h2--large { font-size: var(--fs-h2-large); }
.h2--cta   { font-size: var(--fs-h2-cta); }
.h2--sm    { font-size: var(--fs-h2-sm); }
.dot { color: var(--red); }

/* Body copy */
.lead {
  max-width: 46ch;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
}
.lead b, .lead strong { color: var(--text); font-weight: 600; }

/* --- Bottoni ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1.15rem 2.4rem;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease,
              box-shadow .2s ease, transform .2s ease;
  clip-path: var(--clip-btn);
}

.btn--primary {
  background: var(--red);
  color: #FFFFFF;
}
.btn--primary:hover,
.btn--primary:focus-visible {
  color: #FFFFFF;
  box-shadow: 0 0 28px var(--red-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--text);
  clip-path: none;
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--red);
  color: var(--text-head);
}

.btn--lg { padding: 1.25rem 3rem; font-size: 1rem; }
.btn--sm { padding: .8rem 1.6rem; font-size: .85rem; }

/* Ghost del merch: taglio in basso a destra */
.btn--drop {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-weight: 700;
  letter-spacing: .08em;
  padding: 16px 32px;
  clip-path: var(--clip-btn-alt);
}
.btn--drop:hover,
.btn--drop:focus-visible { border-color: var(--red); color: var(--text-head); }

/* Stato "coming soon": stesso ingombro e stessi spigoli vivi del bottone,
   ma non cliccabile. Si rimuove quando lo shop ha un URL (vedi TODO GO-LIVE
   in index.html). */
.btn--soon {
  color: var(--text-muted);
  border-color: var(--hairline);
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.btn--soon:hover,
.btn--soon:focus-visible { border-color: var(--hairline); color: var(--text-muted); }

/* --- Griglia hairline (pillars / program / FAQ) -------------------------- */
.hairgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.hairgrid > * { background: var(--bg-lifted); }

/* --- Chip / tag slot ----------------------------------------------------- */
.tag {
  position: absolute;
  z-index: 5;
  padding: .45rem .7rem;
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tag b { color: var(--red); font-weight: 600; }

/* --------------------------------------------------------------------------
   5. GLITCH TEXT — [data-glitch]
   Loop 3.6s: pulito fino al 92%, poi due flash hard-cut steps(2,end)
   -------------------------------------------------------------------------- */
[data-glitch] {
  position: relative;
  display: inline-block;
  color: var(--red);
}
[data-glitch]::before,
[data-glitch]::after {
  content: attr(data-t);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  color: var(--red);
}
[data-glitch]::before { animation: glitch-top 3.6s steps(2, end) infinite; }
[data-glitch]::after  { animation: glitch-bottom 3.6s steps(2, end) infinite; }

@keyframes glitch-top {
  0%, 92%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translate(0, 0); }
  93% { opacity: .9; clip-path: inset(0 0 68% 0);  transform: translate(-2px, -1px); }
  96% { opacity: .9; clip-path: inset(40% 0 20% 0); transform: translate(2px, 1px); }
}
@keyframes glitch-bottom {
  0%, 92%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translate(0, 0); }
  94% { opacity: .9; clip-path: inset(72% 0 0 0);  transform: translate(2px, 1px); }
  97% { opacity: .9; clip-path: inset(30% 0 40% 0); transform: translate(-2px, -1px); }
}

/* --------------------------------------------------------------------------
   6. REVEAL ON SCROLL
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Se il JS non parte, il contenuto resta comunque leggibile */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
  background: var(--bg);
}

.hero__left {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem var(--pad-x) 4.5rem;
}

.brandmark {
  position: absolute;
  top: 2rem;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.brandmark__glyph { width: 40px; height: 40px; flex-shrink: 0; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .28em;
  color: var(--text-head);
}
.wordmark .dot { color: var(--red); }

.hero__eyebrow { margin-bottom: 1.1rem; }
.hero__h1 { margin: 0 0 1.6rem; }
.hero__h1 .line-mask { display: block; overflow: hidden; }
.hero__h1 .line { display: block; }

.hero__sub {
  max-width: 36ch;
  margin: 0 0 1.9rem;
  color: var(--text-muted);
  font-size: var(--fs-lead);
}
.hero__sub b { color: var(--text); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}

.hero__right {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #08090D;
}
.hero__glow {
  position: absolute;
  z-index: 0;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--red-radial), transparent 62%);
  filter: blur(30px);
}
.hero__emblem-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__emblem {
  width: 56%;
  height: auto;
  opacity: .5;
  animation: float 7s ease-in-out infinite;
}
/* iframe 3D — asset già pronto, solo ri-embeddato */
.hero__3d {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  background: transparent;
}
.hero__3d.is-ready { opacity: 1; }
/* L'emblema SVG è il fallback: sparisce appena la scena 3D è pronta */
.hero.has-3d .hero__emblem-wrap { display: none; }

.hero__tag { top: 5.5rem; left: 1.4rem; }

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.9) 100%);
}

.hero__cue {
  display: none;
  position: absolute;
  z-index: 5;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--red), transparent);
}

/* Mobile: il 3D vive nella metà alta della hero e il copy resta su nero pieno.
   A tutto schermo il casco copriva l'headline e uccideva la leggibilità —
   e il traffico arriva quasi tutto da Instagram, cioè da mobile. */
@media (max-width: 899px) {
  /* La scena 3D viene renderizzata in un riquadro quadrato e poi scalata:
     dentro un iframe verticale stretto il casco veniva schiacciato e tagliato. */
  .hero__3d {
    left: 50%;
    top: 1.5rem;
    bottom: auto;
    width: 620px;
    height: 620px;
    transform: translateX(-50%) scale(.85);
    transform-origin: top center;
  }
  .hero__3d.is-ready { opacity: .9; }
  .hero__emblem-wrap { bottom: auto; height: 54%; }
  .hero__glow { top: 2%; height: 52%; }
}

@media (max-width: 639px) {
  .hero__3d { transform: translateX(-50%) scale(.6); }
  .hero__vignette {
    background: linear-gradient(180deg,
      rgba(8, 9, 13, .28) 0%,
      rgba(10, 10, 12, .55) 40%,
      rgba(10, 10, 12, .95) 60%,
      #0A0A0C 76%);
  }
}

/* Coreografia d'ingresso — parte al load, non allo scroll */
[data-anim] { opacity: 0; }
.js .hero[data-entrance] [data-anim] { animation: rise .7s var(--ease) forwards; }
.js .hero[data-entrance] .brandmark   { animation-delay: .10s; }
.js .hero[data-entrance] .hero__eyebrow { animation-delay: .25s; }
.js .hero[data-entrance] .hero__sub   { animation-duration: .8s; animation-delay: .80s; }
.js .hero[data-entrance] .hero__cta   { animation-duration: .8s; animation-delay: .95s; }
.js .hero[data-entrance] .hero__cue   { animation-duration: 1s;  animation-delay: 1.50s; display: none; }

/* Le righe H1 usano il mask-reveal, non il rise */
.js .hero[data-entrance] .hero__h1 .line {
  opacity: 1;
  transform: translateY(110%);
  animation: line-reveal .9s var(--ease-reveal) forwards;
}
.js .hero[data-entrance] .hero__h1 .line-mask:nth-child(1) .line { animation-delay: .35s; }
.js .hero[data-entrance] .hero__h1 .line-mask:nth-child(2) .line { animation-delay: .48s; }

/* Senza JS: tutto visibile subito */
.no-js [data-anim] { opacity: 1; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes line-reveal { to { transform: translateY(0); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ==========================================================================
   02 · TICKER BAND
   ========================================================================== */
.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: .9rem 0;
  background: var(--bg);
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.ticker__item {
  padding-right: 3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.82rem, 2.4vw, .95rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   03 · MANIFESTO
   ========================================================================== */
.manifesto {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) var(--pad-x);
  background: var(--bg);
}
/* Slot video: finché manca il file, il poster statico fa da fallback */
.manifesto__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  background: var(--bg);
}
.manifesto__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,.6) 45%, rgba(10,10,12,.9) 100%);
}
.manifesto__tag { bottom: 1.4rem; left: 1.4rem; }
.manifesto__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 3vh, 2rem);
}
.manifesto__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.25vw, 1.15rem);
}

/* ==========================================================================
   04 · THE PROBLEM
   ========================================================================== */
.problem { display: flex; flex-direction: column; justify-content: center; }
.problem__watermark {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  height: 110%;
  max-width: none;
  filter: invert(1);
  opacity: .045;
  pointer-events: none;
}
.problem .h2 { margin-bottom: 1.8rem; }

/* ==========================================================================
   05 · DIVIDER GLITCH (wordmark 714 PROTOCOL)
   mix-blend-mode:screen è OBBLIGATORIO — è ciò che evita il rettangolo
   ========================================================================== */
.divider {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: clamp(3.5rem, 9vh, 6rem) var(--pad-x);
  background: var(--bg-black);
  border-top: 1px solid var(--red);
}
.divider__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.25) 3px 4px);
}
.glitch-mark {
  position: relative;
  display: inline-block;
  line-height: 0;
  filter: drop-shadow(0 0 30px rgba(193, 18, 31, .25));
}
.glitch-mark picture { display: block; line-height: 0; }
.glitch-mark img { display: block; width: min(78vw, 520px); height: auto; }
.glitch-mark .g-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen; /* NON rimuovere */
}
.glitch-mark .g-base { position: relative; animation: gm-slice 2.4s steps(1) infinite; }
.glitch-mark .g-cyan { animation: gm-cyan  2.4s steps(1) infinite; }
.glitch-mark .g-red  { animation: gm-red   2.4s steps(1) infinite; }

@keyframes gm-cyan {
  0%, 42% { transform: translate(0, 0); opacity: 0; }
  46% { transform: translate(-5px, 1px);  opacity: .75; filter: hue-rotate(160deg) saturate(3); }
  54% { transform: translate(4px, -2px);  opacity: .70; filter: hue-rotate(160deg) saturate(3); }
  62% { transform: translate(-3px, 0);    opacity: .75; filter: hue-rotate(160deg) saturate(3); }
  70% { transform: translate(5px, 1px);   opacity: .65; filter: hue-rotate(160deg) saturate(3); }
  78% { transform: translate(-4px, -1px); opacity: .75; filter: hue-rotate(160deg) saturate(3); }
  88% { transform: translate(2px, 0);     opacity: .55; filter: hue-rotate(160deg) saturate(3); }
  100% { transform: translate(0, 0); opacity: 0; }
}
@keyframes gm-red {
  0%, 42% { transform: translate(0, 0); opacity: 0; }
  46% { transform: translate(5px, -1px);  opacity: .70; }
  54% { transform: translate(-4px, 2px);  opacity: .65; }
  62% { transform: translate(3px, 0);     opacity: .70; }
  70% { transform: translate(-5px, -1px); opacity: .60; }
  78% { transform: translate(4px, 1px);   opacity: .70; }
  88% { transform: translate(-2px, 0);    opacity: .50; }
  100% { transform: translate(0, 0); opacity: 0; }
}
@keyframes gm-slice {
  0%, 42% { clip-path: none; transform: none; }
  47% { clip-path: inset(20% 0 58% 0); transform: translateX(6px); }
  50% { clip-path: inset(0); transform: none; }
  58% { clip-path: inset(62% 0 14% 0); transform: translateX(-7px); }
  61% { clip-path: inset(0); transform: none; }
  73% { clip-path: inset(40% 0 36% 0); transform: translateX(5px); }
  76% { clip-path: inset(0); transform: none; }
  100% { clip-path: none; transform: none; }
}

/* ==========================================================================
   06 · THE METHOD
   ========================================================================== */
.method .lead,
.program .lead,
.uniform .lead { margin-bottom: 2.2rem; }
.method .h2,
.program .h2,
.uniform .h2 { margin-bottom: 1rem; }

.pillar {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.7rem 1.4rem;
}
.pillar__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--red);
}
.pillar__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-head);
}
.pillar__body {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   07 · THE PROGRAM
   ========================================================================== */
.enlist-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.7rem 1.4rem;
}
.enlist-block__title {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-head);
}
.marker {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background: var(--red);
}
.marker--outline { background: transparent; border: 1px solid var(--red); }

.enlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.enlist-list li {
  display: flex;
  gap: .8rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.5;
}
.enlist-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: .55em;
  background: var(--red);
}
.enlist-list--not li::before {
  content: '\2715';
  width: auto;
  height: auto;
  margin-top: 0;
  background: none;
  font-family: var(--font-display);
  line-height: 1.5;
  color: var(--red);
}
.enlist-note {
  margin: auto 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: .95rem;
}

/* ==========================================================================
   08 · FINAL CTA / PRICING
   ========================================================================== */
.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--pad-y-lg) var(--pad-x);
}
.pricing .h2 { margin-bottom: 1.6rem; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.price-row__old {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text-faint);
  text-decoration: line-through;
}
.price-row__now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 4.5rem);
  line-height: 1;
  color: var(--text-head);
}
.price-row__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing__note {
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  font-size: .85rem;
}

/* ==========================================================================
   09 · FAQ
   ========================================================================== */
.faq .h2 { margin-bottom: 2rem; }
.faq__item { background: var(--bg-lifted); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.2rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-head);
}
.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
}
.faq__a {
  display: none;
  padding: 0 3.5rem 1.2rem 1.2rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.faq__item.is-open .faq__a { display: block; }

/* ==========================================================================
   10 · FREE INTEL
   ========================================================================== */
.intel { background: var(--bg-lifted); }
.intel .h2 { margin-bottom: 1rem; }
.intel .lead {
  margin-bottom: 1.8rem;
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
}
.intel .btn { padding: 1.05rem 2.4rem; }

/* ==========================================================================
   11 · THE UNIFORM (merch)
   ========================================================================== */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.gear-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--hairline);
  background: var(--bg-card);
}
/* Riquadro quadrato identico per tutti e tre i prodotti. L'immagine è in
   position:absolute così non contribuisce all'altezza del box: altrimenti
   la balaclava (779×1400, molto più verticale delle t-shirt) lo gonfiava
   con la propria altezza intrinseca e la card usciva disallineata. */
.gear-card__imgbox {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.gear-card__imgbox img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
}
.gear-card__name {
  margin: 14px 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.gear-card__micro {
  margin: 0;
  font-size: .85rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.gear-cta { display: flex; justify-content: center; margin-top: 32px; }

@media (max-width: 640px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gear-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 7px);
    margin: 0 auto;
  }
}

/* ==========================================================================
   12 · FOOTER
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  /* Lo spazio in fondo tiene conto della sticky bar, che altrimenti coprirebbe
     la riga con copyright e i link Terms/Privacy rendendoli non cliccabili.
     --sticky-h è impostata da main.js sull'altezza reale della barra. */
  padding: 3rem var(--pad-x) calc(2rem + var(--sticky-h, 0px));
  background: var(--bg-black);
  border-top: 1px solid var(--red);
}
.footer__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand img { width: 34px; height: auto; filter: invert(1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__link:hover { color: var(--text-head); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  font-size: .75rem;
  color: var(--text-faint);
}
.footer__legal a { color: var(--text-faint); }
.footer__legal a:hover { color: var(--text-muted); }
.footer__legal-links { display: flex; gap: 1.2rem; }

/* ==========================================================================
   STICKY PURCHASE BAR
   ========================================================================== */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 10, 12, .9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline);
  transform: translateY(120%);
  transition: transform .35s var(--ease);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__text {
  font-family: var(--font-display);
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-head);
}
.sticky-bar__text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}
.sticky-bar .btn { flex-shrink: 0; }

/* ==========================================================================
   PAGINE LEGALI — /terms · /privacy
   Stessi token del sito. Nessuna sticky bar, nessuna hero: header minimo,
   una colonna di testo leggibile, ritorno alla home.
   ========================================================================== */
.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--bg);
}

/* Header minimo: emblema + wordmark, hairline rossa sotto */
.legal-head {
  padding: 1.6rem var(--pad-x);
  border-bottom: 1px solid var(--red);
}
.legal-head__inner {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.legal-head__inner:hover .wordmark { color: var(--text-head); }
.legal-head img { width: 34px; height: 34px; filter: invert(1); }

.legal-main {
  flex: 1;
  padding: clamp(2.8rem, 7vh, 4.5rem) var(--pad-x) clamp(3.5rem, 9vh, 6rem);
}
.legal-body {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.legal-title {
  margin: 0 0 .9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 10vw, 4.5rem);
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text-head);
}

.legal-updated {
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.legal-body p {
  margin: 0 0 1.3rem;
  max-width: 66ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.legal-body p b,
.legal-body p strong { color: var(--text); font-weight: 600; }
.legal-body p:last-of-type { margin-bottom: 0; }

/* Elenco dei rimandi alle policy dell'app — marker rosso quadrato */
.legal-links {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--hairline);
  background: var(--bg-lifted);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.legal-links li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.5;
}
.legal-links li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: .1em;
  background: var(--red);
}
.legal-links a {
  color: var(--text);
  border-bottom: 1px solid var(--hairline);
  transition: color .2s ease, border-color .2s ease;
  overflow-wrap: anywhere;
}
.legal-links a:hover,
.legal-links a:focus-visible { color: var(--text-head); border-bottom-color: var(--red); }
.legal-links .legal-links__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  padding: 1rem 2rem;
  border: 1.5px solid var(--hairline);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color .2s ease, color .2s ease;
}
.legal-back:hover,
.legal-back:focus-visible { border-color: var(--red); color: var(--text-head); }

/* Piede sottile: copyright + rimando all'altra pagina legale */
.legal-foot {
  padding: 1.4rem var(--pad-x);
  background: var(--bg-black);
  border-top: 1px solid var(--red);
}
.legal-foot__inner {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
  color: var(--text-faint);
}
.legal-foot__inner a { color: var(--text-faint); }
.legal-foot__inner a:hover,
.legal-foot__inner a:focus-visible { color: var(--text-muted); }

@media (min-width: 900px) {
  .legal-head { padding: 1.8rem clamp(2rem, 6vw, 6rem); }
  .legal-main { padding-left: clamp(2rem, 6vw, 6rem); padding-right: clamp(2rem, 6vw, 6rem); }
  .legal-foot { padding: 1.6rem clamp(2rem, 6vw, 6rem); }
}

@media (max-width: 560px) {
  /* Su schermo stretto l'URL va a capo sotto l'etichetta, ma il marker resta
     accanto all'etichetta invece di restare orfano su una riga sua. */
  .legal-links li {
    display: grid;
    grid-template-columns: 6px 1fr;
    column-gap: .8rem;
    row-gap: .25rem;
  }
  .legal-links li::before { grid-column: 1; grid-row: 1; margin-top: .5em; }
  .legal-links .legal-links__label { grid-column: 2; grid-row: 1; }
  .legal-links a { grid-column: 2; grid-row: 2; }
}

/* ==========================================================================
   DESKTOP ≥ 900px
   ========================================================================== */
@media (min-width: 900px) {
  .hero { grid-template-columns: 55fr 45fr; }
  .hero__left {
    justify-content: center;
    padding: clamp(2rem, 6vw, 6rem);
    padding-right: clamp(2rem, 4vw, 3rem);
  }
  .hero__right { position: relative; inset: auto; }
  .hero__vignette { background: radial-gradient(120% 90% at 30% 45%, transparent 40%, rgba(0,0,0,.55) 100%); }
  .brandmark { position: static; margin: 0 0 clamp(2rem, 5vh, 3.5rem); }
  .hero__h1 { font-size: var(--fs-h1-lg); }
  .hero__cta { flex-direction: row; align-items: center; }
  .hero__tag { top: auto; bottom: 1.4rem; }
  .hero__emblem { width: min(62%, 340px); opacity: .9; }
  .js .hero[data-entrance] .hero__cue { display: flex; }

  .hairgrid--3 { grid-template-columns: repeat(3, 1fr); }
  .hairgrid--2 { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION — disattiva tutto, globalmente
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-anim], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__3d { display: none; }
  .glitch-mark .g-layer { opacity: 0 !important; }
  .sticky-bar { transition: none; }
}
