/* Vitality Vault — iteration 1
   Brand: his own logo, black/white/silver. Marble texture deliberately dropped. */

/* ---------------------------------------------------------------
   DISPLAY FACE SWAP POINT

   Pravin wants Timmons NY (Hustle Supply Co) on the headlines. It is a
   PAID face and a desktop licence does NOT cover web embedding, so it
   cannot ship until a webfont licence is bought and the woff2 is in hand.

   To swap it in later, do exactly two things:
     1. drop timmons-ny.woff2 into site/fonts/ and uncomment the block below
     2. change --f-display to:  "Timmons NY", <existing stack>

   Nothing else in this file needs to change: every headline already
   resolves through --f-display.

@font-face {
  font-family: "Timmons NY";
  src: url("fonts/timmons-ny.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
--------------------------------------------------------------- */

:root {
  --bg:        #0A0A0B;
  --bg-2:      #0F0F11;
  --bg-3:      #141417;
  --line:      #232327;
  --line-2:    #303036;
  --white:     #F5F5F3;
  --muted:     #97979E;
  --muted-2:   #6E6E76;
  --silver:    #C9CBD1;

  --f-display: -apple-system, "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono:    ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --shell:     72rem;
  --pad:       clamp(1.25rem, 5vw, 2.5rem);
  --band-y:    clamp(4rem, 11vw, 8rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--bg);
  padding: 0.75rem 1.25rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--white); color: #0A0A0B; }
.btn-primary:hover { background: var(--silver); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--white); }
.btn-lg { padding: 1.2rem 2.6rem; font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  min-height: min(100svh, 46rem);
  display: flex; align-items: center;
  padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(2.5rem, 6vw, 3.5rem);
  background: radial-gradient(110% 80% at 78% 12%, #191920 0%, var(--bg) 60%);
  overflow: hidden;
}

/* Copy left, portrait right, stats spanning the full width underneath.
   On mobile it stacks copy → photo → stats, so the headline and the CTA
   both stay above the fold on a phone. */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 6vw, 3rem) clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.82fr;
    grid-template-areas: "copy photo" "proof photo";
    align-items: end;
    row-gap: clamp(2.5rem, 5vw, 3.5rem);
  }
  .hero-copy  { grid-area: copy; align-self: end; }
  .hero-photo { grid-area: photo; align-self: center; }
  .hero-proof { grid-area: proof; }
}

.hero-photo img {
  width: 100%;
  border: 1px solid var(--line);
}
/* No stacking context here on purpose: mix-blend-mode on the logo can only
   blend with what is painted below it inside the SAME stacking context, and
   z-index on this wrapper would cut it off from the hero background. */

.hero-logo { display: block; margin: 0 0 clamp(1.5rem, 4vw, 2.25rem); }
.hero-logo img {
  width: clamp(7rem, 15vw, 9rem); height: auto; margin: 0;
  /* The source is cropped off a black-marble card. contrast() crushes the
     marble to true black so screen blending drops it into the page. */
  mix-blend-mode: screen;
  filter: contrast(1.5);
}

.hero h1 {
  font-size: clamp(2.9rem, 9.5vw, 5.75rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.5rem);
  text-wrap: balance;
}

.hero-sub {
  max-width: 31rem; margin: 0 0 clamp(1.75rem, 4vw, 2.25rem);
  color: var(--muted); font-size: clamp(0.9375rem, 2.2vw, 1.0625rem); line-height: 1.55;
}

.hero-proof {
  list-style: none; margin: 0; padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: flex-start;
  gap: clamp(1.5rem, 6vw, 3.5rem);
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2);
}
.hero-proof li { display: flex; flex-direction: column; gap: 0.4rem; }
.hero-proof .pn {
  font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--white);
  font-variant-numeric: tabular-nums; text-transform: none;
}
.hero-proof .pn em { font-style: normal; font-size: 0.45em; color: var(--muted); margin-left: 0.1em; }

/* ---------------- bands ---------------- */

.band { padding: var(--band-y) 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-2); }
.band-join { background: var(--bg-2); text-align: center; }

.eyebrow {
  font-family: var(--f-mono); font-size: 0.6875rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 0.9rem;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.04em;
  margin: 0 0 1.1rem; text-wrap: balance;
}

.band-sub {
  max-width: 36rem; margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
  color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.125rem);
}
.band-join .band-sub { margin-left: auto; margin-right: auto; }

/* ---------------- results ---------------- */

.results {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 34rem) { .results { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .results { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.card img { width: 100%; }

.card-foot { padding: 1.1rem 1.15rem 1.25rem; border-top: 1px solid var(--line); }

.delta {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin: 0 0 0.3rem;
  font-size: clamp(1.6rem, 4.4vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.035em; font-variant-numeric: tabular-nums;
  line-height: 1;
}
.delta i { font-style: normal; color: var(--muted-2); font-size: 0.62em; letter-spacing: -0.08em; }
.delta em { font-style: normal; font-size: 0.5em; font-weight: 600; color: var(--muted); }

.meta { margin: 0; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.01em; }
.meta strong { color: var(--silver); font-weight: 700; }

/* ---------------- who for ---------------- */

.fors {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) { .fors { grid-template-columns: repeat(3, 1fr); } }

.fors li { border-top: 2px solid var(--line-2); padding-top: 1.4rem; }
.fors h3 {
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 0.6rem; line-height: 1.3;
}
.fors p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* ---------------- gaps (placeholders) ---------------- */

.gap {
  border: 1px dashed var(--line-2);
  background: rgba(255,255,255,0.02);
  padding: 1.4rem 1.5rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  text-align: left;
}
.gap-lg { padding: clamp(2rem, 5vw, 3rem); margin-top: 0; }
.gap-sm { padding: 1.1rem 1.25rem; margin-top: 1.75rem; }
.gap p { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.9375rem; max-width: 40rem; }
.gap p:last-child { margin-bottom: 0; }
.gap strong { color: var(--white); }
.gap-tag {
  font-family: var(--f-mono); font-size: 0.625rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver) !important;
}
.gap-note { font-size: 0.8125rem !important; color: var(--muted-2) !important; }
.band-join .gap { text-align: left; max-width: 34rem; margin-left: auto; margin-right: auto; }

/* ---------------- about ---------------- */

.about-copy p { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.125rem); margin: 0 0 1.1rem; max-width: 34rem; }

.arc {
  list-style: none; margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding: 0;
  display: grid; gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 46rem) { .arc { grid-template-columns: repeat(4, 1fr); } }

.arc img { width: 100%; border: 1px solid var(--line); }
.arc-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
  margin: 0.7rem 0 0; font-size: 0.75rem;
  font-family: var(--f-mono); letter-spacing: 0.06em;
}
.arc-cap strong { color: var(--white); font-weight: 500; }
.arc-cap span { color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* ---------------- steps ---------------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: 1fr; counter-reset: none;
}
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step-n {
  display: block; font-family: var(--f-mono);
  font-size: 0.75rem; letter-spacing: 0.18em; color: var(--muted-2);
  margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 0.55rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* ---------------- join ---------------- */

.join-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.85rem; margin-bottom: 0.5rem;
}

.codes { margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.codes-h {
  font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2); margin: 0 0 1.1rem;
}
.codes ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1rem;
}
.codes li {
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--line); padding: 0.5rem 0.9rem;
  font-size: 0.8125rem; color: var(--muted);
}
.codes code {
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--white); background: rgba(255,255,255,0.06); padding: 0.15rem 0.45rem;
}

/* ---------------- footer ---------------- */

.foot { padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(5.5rem, 10vw, 3.5rem); border-top: 1px solid var(--line); }
.foot-brand {
  margin: 0 0 0.3rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.875rem;
}
.foot-meta { margin: 0 0 1.1rem; color: var(--muted-2); font-size: 0.8125rem; }
.foot-credit { margin: 0; color: var(--muted-2); font-size: 0.75rem; }
.foot-credit a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.foot-credit a:hover { color: var(--white); }

/* ---------------- sticky mobile cta ---------------- */

.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  padding: 0.7rem var(--pad) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10,10,11,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .28s ease;
}
.sticky.on { transform: translateY(0); }
.sticky .btn { width: 100%; }
@media (min-width: 46rem) { .sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }

/* ---------------- reveal ---------------- */

.reveal { opacity: 1; }

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .42s ease, transform .42s cubic-bezier(.22,.61,.36,1);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
