/* ==========================================================================
   EvoOne Wellness — main.css
   Dark / premium single-page landing.
   ========================================================================== */

:root {
  /* Colors */
  --bg: #060606;
  --bg-elevated: #0d0d0c;
  --bg-card: #0f0f0e;
  --text: #f3f2ef;
  --text-dim: #a3a19b;
  --text-faint: #6f6d68;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --gold: #c9a15a;
  --gold-bright: #e3c083;
  --gold-dim: rgba(201, 161, 90, 0.35);

  --silver: #b9c4cc;
  --silver-bright: #e2ecf1;
  --silver-dim: rgba(185, 196, 204, 0.3);

  /* Type */
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge/IE */
}
html::-webkit-scrollbar { display: none; } /* Chrome/Safari — scroll still works, just no visible track */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hidden-field { position: absolute; left: -9999px; top: -9999px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

/* Fade each section's own background into solid black at the seams, so
   whatever texture/video sits behind it (hero video, stat sweep, etc.)
   never ends on a hard edge — sections blend into one another instead
   of reading as separate solid blocks. */
.section::before,
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(50px, 8vw, 110px);
  pointer-events: none;
  z-index: 1;
}
.section::before {
  top: -1px;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}
.section::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

.section > .container {
  position: relative;
  z-index: 2;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4em 1em;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.dot-accent { color: var(--gold-bright); }
.tm { font-size: 0.5em; vertical-align: super; }

/* ---------- Reveal animation (JS toggles .is-visible; GSAP enhances if loaded) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-outline {
  border: 1px solid var(--gold-dim);
  color: var(--text);
  background: rgba(201, 161, 90, 0.06);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 161, 90, 0.12);
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #100c04;
  font-weight: 600;
  position: relative;
}
.btn-solid:hover { box-shadow: 0 8px 30px -8px var(--gold-dim); }

/* ---------- Logo ---------- */
.logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-transform: lowercase;
}
.logo-dot { color: var(--gold-bright); }
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: lowercase;
  color: var(--text-dim);
  padding-left: 0.1em;
}
.logo-sm .logo-word { font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 6, 6, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav {
  display: flex;
  gap: 2.5rem;
}
.main-nav a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
}
.nav-toggle span {
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 30%, #141210 0%, #060606 70%);
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-video.is-ready {
  opacity: 0.84;
  filter: saturate(1.32) contrast(1.08) brightness(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.34) 0%, rgba(6,6,6,0.16) 35%, rgba(6,6,6,0.7) 85%, rgba(6,6,6,1) 100%),
    radial-gradient(ellipse at 50% 45%, transparent 0%, rgba(6,6,6,0.4) 80%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(60px);
  background:
    radial-gradient(circle at 28% 55%, rgba(80, 210, 195, 0.22), transparent 42%),
    radial-gradient(circle at 74% 58%, rgba(227, 192, 131, 0.24), transparent 42%);
  animation: heroGlowPulse 9s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  animation: heroLogoBreathe 7s ease-in-out infinite;
}
@keyframes heroLogoBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}
.hero-logo .logo-dot {
  display: inline-block;
  animation: heroDotPulse 2.6s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(227, 192, 131, 0.4); }
  50% { opacity: 0.82; text-shadow: 0 0 18px rgba(227, 192, 131, 0.7); }
}
.hero-logo-word {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 7rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
  text-transform: lowercase;
}
.hero-logo-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  letter-spacing: 0.4em;
  text-transform: lowercase;
  color: var(--text-dim);
  padding-left: 0.4em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  line-height: 1.3;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: var(--line-strong);
  overflow: hidden;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--gold-bright);
  animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ---------- Stat section ---------- */
.stat-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stat-sweep {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent 40%, rgba(213, 168, 78, 0.06) 50%, transparent 60%);
  transform: rotate(6deg);
}

.stat-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.stat-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 90% at 50% 100%, rgba(255, 255, 255, 0.04), transparent 55%);
}

.stat-grid {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.stat-caption {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 260px;
  text-align: left;
  padding-bottom: 0.5rem;
}

/* ---------- Category section ---------- */
.category-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.category-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}
.category-copy p {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--text-dim);
  margin-bottom: 0.4em;
}
.category-copy .highlight {
  color: var(--text);
  font-weight: 500;
  margin-top: 1rem;
}

/* ---------- Next phase: narrative teaser ---------- */
.next-phase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* -- ambient field: thermal haze, mist, science texture -- */
.next-phase-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  filter: brightness(calc(1 + var(--np-progress, 0) * 0.1));
}

.np-thermal {
  position: absolute;
  left: 4%;
  top: 16%;
  width: min(38vw, 460px);
  height: 62%;
  background: radial-gradient(ellipse at 32% 40%, rgba(201, 161, 90, 0.16), transparent 68%);
  filter: blur(50px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 2s var(--ease);
  animation: npThermalDrift 17s ease-in-out infinite;
}

.np-mist { position: absolute; inset: 0; }
.np-mist span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--silver-bright);
  opacity: 0;
  animation: npMistFloat 10s ease-in-out infinite;
}
.np-mist span:nth-child(2) { animation-duration: 12s; animation-delay: 1.5s; }
.np-mist span:nth-child(3) { animation-duration: 9s; animation-delay: 3s; }
.np-mist span:nth-child(4) { animation-duration: 13s; animation-delay: 0.8s; }
.np-mist span:nth-child(5) { animation-duration: 11s; animation-delay: 2.2s; }
.np-mist span:nth-child(6) { animation-duration: 14s; animation-delay: 4s; }

.np-scilines { position: absolute; inset: 0; }
.np-label {
  position: absolute;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.np-label-1 { top: 12%; right: 13%; }
.np-label-2 { top: 38%; left: 6%; transition-delay: 0.25s; }
.np-label-3 { bottom: 14%; right: 8%; transition-delay: 0.5s; }

.np-graph {
  position: absolute;
  left: 5%;
  bottom: 9%;
  width: min(300px, 28vw);
  height: 60px;
  opacity: 0;
  transition: opacity 1.8s var(--ease) 0.35s;
}
.np-graph polyline { fill: none; stroke: var(--gold-dim); stroke-width: 1; }

.np-crosshair { position: absolute; width: 22px; height: 22px; opacity: 0; transition: opacity 1.6s var(--ease); }
.np-crosshair::before, .np-crosshair::after { content: ""; position: absolute; background: var(--line-strong); }
.np-crosshair::before { top: 50%; left: 0; width: 100%; height: 1px; }
.np-crosshair::after { top: 0; left: 50%; width: 1px; height: 100%; }
.np-crosshair-1 { top: 15%; left: 9%; }
.np-crosshair-2 { bottom: 18%; right: 11%; transition-delay: 0.4s; }

.next-phase.is-charged .np-thermal { opacity: 1; }
.next-phase.is-charged .np-mist span { opacity: 1; }
.next-phase.is-charged .np-label { opacity: 0.32; }
.next-phase.is-charged .np-graph { opacity: 0.26; }
.next-phase.is-charged .np-crosshair { opacity: 0.28; }

@keyframes npThermalDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(1.5%, -2%) scale(1.06); }
}
@keyframes npMistFloat {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  20% { opacity: 0.55; }
  75% { opacity: 0.12; }
  100% { transform: translate(var(--mx, -30px), var(--my, 10px)) scale(1); opacity: 0; }
}

/* -- layout: eyebrow / headline / core / copy / soon -- */
.next-phase-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-areas:
    "eyebrow core"
    "headline core"
    "copy core"
    "soon core";
  column-gap: clamp(2rem, 6vw, 5rem);
  row-gap: 1.15rem;
  align-items: center;
}
.np-eyebrow { grid-area: eyebrow; margin-bottom: 0; justify-self: start; }
.np-headline { grid-area: headline; }
.np-copy { grid-area: copy; }
.np-soon { grid-area: soon; }
.np-core-wrap { grid-area: core; justify-self: center; align-self: center; }

.np-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--text-dim);
  max-width: 620px;
}
.np-word-strong { color: var(--text); font-weight: 600; }
.np-word-gold { color: var(--gold-bright); font-weight: 500; }

.np-copy {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  max-width: 460px;
}

.np-soon {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.np-soon::before { content: ""; width: 26px; height: 1px; background: var(--line-strong); }

/* -- the energy core -- */
.np-core-wrap {
  position: relative;
  width: clamp(200px, 24vw, 300px);
  height: clamp(200px, 24vw, 300px);
  opacity: 0;
  transform: translate(var(--np-shift-x, 0px), var(--np-shift-y, 0px)) scale(calc(1 + var(--np-progress, 0) * 0.05));
  filter: brightness(calc(1 + var(--np-progress, 0) * 0.22 + var(--np-pointer, 0) * 0.12));
  transition: opacity 1.6s var(--ease);
}
.next-phase.is-charged .np-core-wrap { opacity: 1; }

.np-dial {
  position: absolute;
  inset: -16%;
  opacity: 0.5;
  animation: npDialSpin 110s linear infinite;
}
.np-dial circle {
  fill: none;
  stroke: var(--gold-dim);
  stroke-width: 1;
  stroke-dasharray: 2 11;
}
@keyframes npDialSpin { to { transform: rotate(360deg); } }

.np-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  animation: npWaveRipple 7s var(--ease) infinite;
}
.np-wave.wave-2 { inset: 9%; border-color: var(--silver-dim); animation-duration: 8.5s; animation-delay: 1.4s; }
.np-wave.wave-3 { inset: 19%; animation-duration: 6.4s; animation-delay: 2.8s; }
@keyframes npWaveRipple {
  0% { transform: scale(0.82); opacity: 0; }
  35% { opacity: 0.4; }
  70% { opacity: 0.1; }
  100% { transform: scale(1.16); opacity: 0; }
}

.np-core-glow {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright) 0%, rgba(201, 161, 90, 0.35) 45%, transparent 75%);
  filter: blur(18px);
  animation: npGlowBreathe 5.5s ease-in-out infinite;
}
@keyframes npGlowBreathe {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

.np-core-dot {
  position: absolute;
  inset: 43%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  animation: npCorePulse 4.4s ease-in-out infinite;
}
@keyframes npCorePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px 4px var(--gold-dim); }
  50% { transform: scale(1.08); box-shadow: 0 0 34px 10px var(--gold-dim); }
}

/* -- sutil TM watermark along the edge -- */
.np-tm-detail {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .next-phase { min-height: auto; }
  .next-phase-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "headline"
      "core"
      "copy"
      "soon";
    row-gap: 1.5rem;
    text-align: center;
  }
  .np-eyebrow { justify-self: center; }
  .np-headline, .np-copy { max-width: 100%; }
  .np-soon { justify-content: center; }
  .np-core-wrap { width: clamp(160px, 46vw, 220px); height: clamp(160px, 46vw, 220px); }
  .np-thermal { opacity: 0 !important; display: none; }
  .np-mist span:nth-child(n+4) { display: none; }
  .np-tm-detail { display: none; }
}

/* ---------- Credibility section ---------- */
.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.credibility-grid h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
}
.credibility-copy p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  max-width: 480px;
}
.credibility-copy strong { color: var(--text); font-weight: 600; }
.credibility-copy .highlight-gold {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}

/* ---------- Signup section ---------- */
.signup-section {
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 161, 90, 0.06), transparent 60%);
}
.signup-inner { display: flex; flex-direction: column; align-items: center; }
.signup-inner .tag { margin-bottom: 1.5rem; }
.signup-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.signup-caption {
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.btn-loading { display: none; }

.form-success, .form-error {
  display: none;
  margin-top: 1.2rem;
  font-size: 0.9rem;
}
.form-success { color: var(--gold-bright); }
.form-error { color: #e08383; }

/* ---------- Lead modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open { opacity: 1; }

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 5vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-dim);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal .tag { margin-bottom: 1.25rem; }
.modal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.modal-caption {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.modal-form { display: flex; flex-direction: column; gap: 0.75rem; }
.modal-field {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elevated);
}
.modal-field input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.3rem;
}
.modal-field input::placeholder { color: var(--text-faint); }
.modal-field input:focus { outline: none; }
.modal-field:has(input:focus) { border-color: var(--gold); }

.modal-submit { width: 100%; margin-top: 0.4rem; }
.modal-form.is-loading .btn-label { display: none; }
.modal-form.is-loading .btn-loading { display: inline; }
.modal-form.is-loading .modal-submit { opacity: 0.75; pointer-events: none; }

.modal-form .form-success,
.modal-form .form-error { margin-top: 1rem; }
.modal-form.is-success .modal-field,
.modal-form.is-success .modal-submit { display: none; }
.modal-form.is-success .form-success { display: block; }
.modal-form.is-error .form-error { display: block; }

body.modal-open { overflow: hidden; }

@media (max-width: 480px) {
  .modal { padding: 2.25rem 1.5rem; border-radius: 22px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--text-dim); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .category-grid,
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-caption { text-align: left; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 6, 6, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .main-nav.is-open { max-height: 260px; }
  .main-nav a {
    padding: 1.1rem var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .footer-inner { flex-direction: column; text-align: center; }
}
