/* ============================================
   THE GOLD STANDARD — Pre-launch teaser
   Mobile-first: ~all traffic arrives from an IG story link.
   ============================================ */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy); padding: 14px 20px;
  font-family: var(--font-accent); letter-spacing: 0.12em;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  background: rgba(28,43,58,0);
  transition: background var(--t), backdrop-filter var(--t), box-shadow var(--t);
}
.hdr.stuck {
  background: rgba(22,34,46,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr__cta {
  font-family: var(--font-accent);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: 14px 18px; border-radius: 3px; min-height: 44px; display: inline-flex; align-items: center;
  transition: all var(--t); white-space: nowrap;
}
.hdr__cta:hover { background: var(--gold-hover); }
@media (max-width: 420px) {
  .mark__txt { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 calc(64px + env(safe-area-inset-bottom));
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(22,34,46,0.72) 0%, rgba(22,34,46,0.14) 30%, rgba(22,34,46,0.72) 68%, var(--navy) 100%),
    linear-gradient(90deg, rgba(22,34,46,0.66) 0%, rgba(22,34,46,0.04) 72%);
}
.hero__in { position: relative; }
.hero h1 { margin-bottom: 20px; text-shadow: 0 2px 10px rgba(11,18,25,0.62), 0 1px 34px rgba(11,18,25,0.5); }
.hero .lede { margin-bottom: 30px; text-shadow: 0 1px 8px rgba(11,18,25,0.72); }

.hero__actions {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 22px;
}
@media (min-width: 600px) { .hero__actions { flex-direction: row; } }

.hero__note {
  font-size: 15px; line-height: 1.55;
  color: var(--text-light);
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(232,201,106,0.07);
  border-radius: 0 3px 3px 0;
  max-width: 44ch;
}

.hero__cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 34px; border: 2px solid var(--border-gold); border-radius: 12px;
}
.hero__cue span {
  position: absolute; top: 6px; left: 50%; margin-left: -2px;
  width: 4px; height: 7px; border-radius: 2px; background: var(--gold);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity:0; transform: translateY(0);} 40% { opacity:1;} 75% { opacity:0; transform: translateY(12px);} }
@media (max-width: 599px) { .hero__cue { display: none; } }

/* ---------- Credentials ---------- */
.creds { background: var(--navy-deep); border-block: 1px solid var(--border-gold); }
.creds__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border-gold);
  background-clip: content-box; /* divider color only between cells, not in the side padding */
}
@media (min-width: 720px) { .creds__grid { grid-template-columns: repeat(4, 1fr); } }
.cred {
  background: var(--navy-deep);
  padding: 26px 12px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.cred__n {
  display: block; font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 38px); color: var(--gold); line-height: 1; text-transform: uppercase;
}
.cred__l {
  display: block; margin-top: 6px;
  font-family: var(--font-accent); font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim);
}

/* ---------- Section heads ---------- */
.sec-head { margin-bottom: clamp(36px, 7vw, 56px); }
.sec-head h2 { margin-bottom: 18px; }

/* ---------- Tracks ---------- */
.tracks { display: grid; gap: 20px; }
@media (min-width: 860px) { .tracks { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.track {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: 4px; overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex; flex-direction: row;
}
@media (min-width: 860px) { .track { flex-direction: column; } }
.track:hover { transform: translateY(-4px); border-color: var(--border-gold); box-shadow: var(--shadow-lg); }

.track__img { flex: 0 0 38%; overflow: hidden; background: var(--navy-deep); }
@media (min-width: 860px) { .track__img { flex: none; aspect-ratio: 4/3; } }
.track__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
@media (max-width: 859px) { .track__img { aspect-ratio: 3/4; } }

.track__body { padding: 20px; flex: 1; }
.track__body h3 { color: var(--gold); margin-bottom: 10px; }
.track__body p { font-size: 15px; line-height: 1.6; color: var(--text-dim); }

/* ---------- Claim (poll + form) ---------- */
.claim {
  padding: var(--section-y) 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(232,201,106,0.10) 0%, transparent 60%),
    var(--navy-deep);
  border-top: 1px solid var(--border-gold);
}
.claim__card {
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: clamp(26px, 6vw, 48px);
  box-shadow: var(--shadow-lg);
}
.claim__h { margin-bottom: 14px; }
.claim__sub { margin-bottom: 26px; }

.step--done { text-align: center; }
.tick { display: flex; justify-content: center; margin-bottom: 18px; }
.tick svg path, .tick svg circle { stroke-dasharray: 100; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .tick svg circle { animation: draw 0.6s var(--ease) both; }
  .tick svg path { animation: draw 0.4s var(--ease) 0.35s both; }
  @keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
}

/* Poll */
.poll { display: grid; gap: 12px; }
.poll__opt {
  display: block; width: 100%; text-align: left;
  background: var(--navy-mid);
  border: 2px solid var(--border-light);
  border-radius: 4px;
  padding: 18px 20px;
  min-height: 64px;
  cursor: pointer;
  transition: all var(--t);
}
.poll__opt:hover, .poll__opt:focus-visible {
  border-color: var(--gold);
  background: rgba(232,201,106,0.09);
  transform: translateX(4px);
}
.poll__opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(232,201,106,0.14); }
.poll__t {
  display: block; font-family: var(--font-accent);
  font-size: 21px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
  line-height: 1.15;
}
.poll__d { display: block; font-size: 14px; color: var(--text-dim); margin-top: 2px; }

/* Form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-accent); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim);
}
.field input {
  width: 100%;
  background: var(--navy-deep);
  border: 2px solid var(--border-light);
  border-radius: 4px;
  padding: 15px 16px;
  min-height: 54px;
  font-size: 16px; /* 16px prevents iOS zoom-on-focus */
  color: var(--white);
  transition: border-color var(--t), background var(--t);
}
.field input::placeholder { color: rgba(255,255,255,0.28); }
.field input:focus { border-color: var(--gold); background: #101A24; outline: none; }
.field input[aria-invalid="true"] { border-color: #E8736A; }

.form__submit { margin-top: 4px; }
.form__submit[disabled] { opacity: 0.6; cursor: wait; }
.form__err {
  font-size: 14px; color: #F0A59E;
  background: rgba(232,115,106,0.10);
  border-left: 3px solid #E8736A;
  padding: 11px 14px; border-radius: 0 3px 3px 0;
}
.form__fine { font-size: 13px; line-height: 1.55; color: var(--text-dim); text-align: center; }

.step__back {
  display: block; margin: 20px auto 0;
  background: none; border: none; cursor: pointer;
  font-size: 14px; color: var(--text-dim);
  text-decoration: underline; text-underline-offset: 3px;
  padding: 8px;
}
.step__back:hover { color: var(--gold); }

.link-gold { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About ---------- */
.about { background: var(--navy); }
.about__grid { display: grid; gap: clamp(28px, 6vw, 56px); align-items: center; }
@media (min-width: 880px) { .about__grid { grid-template-columns: 0.9fr 1.1fr; } }
.about__img { border-radius: 4px; overflow: hidden; border: 1px solid var(--border-gold); background: var(--navy-deep); }
.about__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__body .lede + .lede { margin-top: 16px; }
.about__cta { margin-top: 28px; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-deep); border-top: 1px solid var(--border-gold); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.ftr__in { display: grid; gap: 16px; justify-items: center; text-align: center; }
@media (min-width: 760px) {
  .ftr__in { grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; text-align: left; }
  .ftr__c { text-align: center; }
}
.ftr__ig {
  font-family: var(--font-accent); letter-spacing: 0.14em;
  color: var(--gold); font-size: 15px;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 4px;
}
.ftr__ig:hover { text-decoration: underline; text-underline-offset: 4px; }


/* ---------- No-JS fallback ----------
   If scripts fail, the step machine never advances, so the signup
   form would be unreachable. Reveal it and hide the poll instead. */
.nojs-note {
  background: rgba(232,201,106,0.10);
  border-left: 3px solid var(--gold);
  padding: 13px 16px; border-radius: 0 3px 3px 0;
  font-size: 15px; margin-bottom: 22px;
}

/* ---------- Desktop hero: photo in a framed panel ----------
   The source photos top out around 1,400px, so a full-bleed background has to be
   stretched 1.4-1.8x on a desktop screen (up to 3.7x on Retina) and looks pixelated.
   From 960px up the photo sits in a panel on the right at or below its real size,
   and the headline gets its own column instead of sitting on top of her face. */
@media (min-width: 960px) {
  .hero {
    min-height: 0; align-items: center;
    padding: 150px 0 110px;
    background:
      radial-gradient(70% 60% at 82% 38%, rgba(232,201,106,0.09), transparent 62%),
      var(--navy);
  }
  .hero__scrim { display: none; }
  .hero__media {
    left: auto; bottom: auto;
    top: 118px;
    right: max(var(--gutter), calc((100vw - 1140px) / 2 + var(--gutter)));
    width: min(38vw, 460px);
    height: calc(100% - 196px);
    max-height: 620px;
    border-radius: 6px; overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
  }
  .hero__media img { object-position: 50% 20%; }
  .hero__in { padding-right: calc(min(38vw, 460px) + 64px + var(--gutter)); }
  .hero__in h1, .hero__in .lede { text-shadow: none; }
  .hero__cue { display: none; }
}

/* ---------- Launch: buy box replaces the email form (SALES_OPEN) ---------- */
.buy { display: none; text-align: center; }
.sales-open .buy { display: block; }
.sales-open #lead-form { display: none; }
.buy__price { font-family: var(--font-accent); font-size: 56px; line-height: 1; margin-bottom: 6px; }
.buy__was { font-size: 28px; color: var(--text-dim); text-decoration: line-through; margin-left: 8px; }
.buy__was[hidden] { display: none; }
.buy__note { margin-bottom: 18px; }
.buy .form__submit { width: 100%; }
.buy .form__fine { margin-top: 12px; }
