/* ============================================================
   SOSHY TRADEZ — global styles
   Palette: near-black, off-white, single gold accent.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0A0B;
  --bg-alt: #0E0E10;
  --surface: #151517;
  --hairline: rgba(245, 245, 247, 0.08);
  --text: #F5F5F7;
  --muted: #8A8A8F;
  --gold: #C9A227;
  --gold-bright: #E4C766;
  --gold-glow: rgba(201, 162, 39, 0.35);

  --font: "Inter", -apple-system, "SF Pro Display", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container: min(1200px, 92vw);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}
html.lenis { scroll-behavior: auto; } /* Lenis takes over */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin-inline: auto; }

/* ---------- shared type ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 0.45s var(--ease-out),
    color 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
  will-change: transform;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #141005;
  box-shadow: 0 0 0 rgba(201, 162, 39, 0);
}
.btn-gold:hover {
  box-shadow: 0 8px 40px var(--gold-glow);
}

.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--text);
  background: rgba(245, 245, 247, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(228, 199, 102, 0.45);
  color: var(--gold-bright);
}

.btn-sm { padding: 10px 22px; font-size: 13.5px; }

.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), backdrop-filter 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.nav-mark { width: 28px; height: 28px; }
.nav-wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

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

.hero {
  position: relative;
  /* pin length is driven by ScrollTrigger; this is the fallback height */
  min-height: 100svh;
}

.hero-pin {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 62% at 50% 48%, rgba(10, 10, 11, 0.82) 0%, rgba(10, 10, 11, 0.35) 60%, rgba(10, 10, 11, 0.75) 100%),
    linear-gradient(to bottom, rgba(10, 10, 11, 0.65) 0%, transparent 22%, transparent 72%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(880px, 92vw);
  padding-top: 34px; /* optical offset below fixed nav */
}

.hero-headline {
  margin-top: 22px;
  font-size: clamp(44px, 7.6vw, 104px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #FFFFFF 55%, rgba(245, 245, 247, 0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--muted);
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* scroll-story captions (crossfaded by GSAP during the pin) */
.hero-caption {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 90vw);
  text-align: center;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  opacity: 0;
  pointer-events: none;
}
.hero-caption em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-cue {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.hero-cue-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  overflow: hidden;
  position: relative;
}
.hero-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--gold-bright), transparent);
  transform: translateY(-100%);
  animation: cue-drop 2.4s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- generic sections ---------- */

.section {
  position: relative;
  padding: clamp(110px, 14vw, 180px) 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.h2 {
  margin-top: 22px;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.h3 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 650;
  letter-spacing: -0.015em;
}
.gold {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.7;
  color: var(--muted);
}
.lede-strong { color: var(--text); }
.narrow { max-width: 640px; }
.center { margin-inline: auto; text-align: center; }
.body-copy {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
}
.body-copy .gold { font-weight: 600; }

/* gold thread — the disciplined line, echoed between sections */
.thread {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 1px;
  margin-bottom: 56px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), transparent);
  transform-origin: left center;
}
.thread-center {
  margin-inline: auto;
  max-width: 160px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform-origin: center;
}

/* ---------- 02 · the real problem ---------- */

.problem-lines {
  margin: clamp(64px, 8vw, 110px) 0;
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}
.problem-line {
  font-size: clamp(24px, 3.6vw, 46px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 900px;
  color: var(--text);
}

.problem-close { max-width: 680px; display: grid; gap: 22px; }

/* ---------- 03 · the shift ---------- */

.narrow { margin-top: 30px; }

.steps {
  list-style: none;
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.step-num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
}
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- 04 · cards ---------- */

.cards {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 199, 102, 0.28);
}
.card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- 05 · two paths ---------- */

.paths {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.path-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.path-panel .btn { margin-top: auto; }
.path-panel p { color: var(--muted); font-size: 16px; }
.path-panel .h3 { max-width: 400px; }
.path-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold) !important;
}
.path-panel-gold {
  border-color: rgba(201, 162, 39, 0.35);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 55%),
    var(--surface);
}
.path-panel strong { color: var(--text); }

@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path-panel { padding: 36px 28px; }
}

/* ---------- 06 · proof ---------- */

.quotes {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote blockquote {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
}
.quote figcaption {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.cred-row {
  list-style: none;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}
.cred-row li {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cred-row li::before {
  content: "◆";
  font-size: 8px;
  color: var(--gold);
  margin-right: 12px;
  vertical-align: 2px;
}

@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ---------- 07 · about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(201, 162, 39, 0.07) 0%, transparent 70%),
    var(--surface);
}
.about-mark img { width: min(380px, 82%); height: auto; }
.about-sig {
  margin-top: 30px;
  font-weight: 650;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-mark { max-width: 340px; }
}

/* ---------- 08 · membership ---------- */

.tiers {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tier-gold {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 60px rgba(201, 162, 39, 0.07);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 38px;
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #141005;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tier-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-gold .tier-name { color: var(--gold); }
.tier-price {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tier-list {
  list-style: none;
  margin: 20px 0 30px;
  display: grid;
  gap: 12px;
}
.tier-list li {
  padding-left: 26px;
  position: relative;
  font-size: 15px;
  color: var(--muted);
}
.tier-list li strong { color: var(--text); }
.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
}

/* ---------- 09 · faq ---------- */

.faq-container { max-width: min(820px, 92vw); }

.faq {
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--hairline);
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 26px 44px 26px 0;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.35s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.4s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--gold-bright); }
.faq details p {
  padding: 0 44px 28px 0;
  color: var(--muted);
  max-width: 680px;
}

/* ---------- 10 · final cta ---------- */

.final {
  padding-top: clamp(140px, 18vw, 220px);
  padding-bottom: clamp(140px, 18vw, 220px);
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(201, 162, 39, 0.06) 0%, transparent 70%),
    var(--bg);
}
.final-inner { text-align: center; }
.final .thread { margin-bottom: 48px; }
.final-headline {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  background: linear-gradient(180deg, #FFFFFF 55%, rgba(245, 245, 247, 0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final .lede { margin-top: 26px; }
.final .hero-ctas { margin-top: 44px; }
.btn-lg { padding: 19px 40px; font-size: 16px; }

/* ---------- 11 · footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  gap: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.35s var(--ease-out);
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-fine {
  font-size: 12.5px;
  color: var(--muted);
  opacity: 0.75;
  max-width: 560px;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero-cue { display: none; }
  .hero-caption { display: none; }
  [data-hero-reveal] { opacity: 1 !important; transform: none !important; }
}
