/* ==========================================================================
   WHITE GORILLA FITNESS — Design System v2
   Black & gold athletic language. One theme (dark), one accent (tan-gold).
   Photo-forward, rounded, layered. Inspiration: premium black+gold gym sites.
   Type: Anton (display) / Barlow Condensed (labels) / Barlow (body)
   Radius: pill buttons, 24px cards, 32px hero panels, 14px small.
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  --bg: #0d0c0a;            /* true off-black, warm */
  --bg-raise: #17150f;      /* raised surface */
  --bg-panel: #201c15;      /* panel surface */
  --bg-glass: rgba(23, 21, 15, 0.68);
  --line: rgba(237, 231, 218, 0.11);
  --line-strong: rgba(237, 231, 218, 0.22);
  --bone: #efe9dc;          /* primary text */
  --bone-dim: #b6af9e;      /* secondary text */
  --bone-faint: #7f7869;    /* tertiary text */
  --tan: #cda55c;           /* the one accent */
  --tan-bright: #e0bd74;    /* hover / highlight */
  --tan-deep: #a8843f;
  --tan-block: #d3ac5c;     /* tan color-block background */
  --tan-ink: #17130a;       /* text on tan */
  --danger: #c15d43;        /* form errors only */
  --ok: #86a06e;            /* form success only */

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;

  --container: 1280px;
  --nav-h: 74px;

  --r-sm: 14px;
  --r-card: 24px;
  --r-lg: 34px;
  --r-pill: 999px;

  --shadow-card: 0 26px 60px -28px rgba(0, 0, 0, 0.78);
  --shadow-float: 0 20px 44px -18px rgba(0, 0, 0, 0.72);
  --shadow-glow: 0 18px 50px -20px rgba(205, 165, 92, 0.34);

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

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--tan); color: var(--tan-ink); }

/* ---- Type scale ---- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.005em;
}
.h-hero { font-size: clamp(2.7rem, 6.6vw, 5.4rem); }
.h-xl   { font-size: clamp(2.3rem, 6vw, 4.4rem); }
.h-lg   { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.h-md   { font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1; }
.h-accent { color: var(--tan); }
.h-outline {
  -webkit-text-stroke: 1.5px var(--bone);
  color: transparent;
}

.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--bone-dim); max-width: 36em; }
.body-dim { color: var(--bone-dim); }
.body-max { max-width: 64ch; }

.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.84rem;
  color: var(--tan);
}
.label::before {
  content: ""; width: 22px; height: 1.5px; background: var(--tan); opacity: 0.7;
}
.label.plain::before { display: none; }

.num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  color: var(--bone);
  line-height: 1;
}
.num em { font-style: normal; color: var(--tan); }

/* ---- Layout primitives ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { padding-block: clamp(72px, 10vw, 132px); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.section-line { border-top: 1px solid var(--line); }

/* ---- Buttons (pill + arrow) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
  padding: 15px 15px 15px 28px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .ico {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  flex: none;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}
.btn .ico svg { width: 15px; height: 15px; }
.btn:hover .ico { transform: translate(2px, -2px) rotate(0deg); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--tan); color: var(--tan-ink); box-shadow: var(--shadow-glow); }
.btn-primary .ico { background: var(--tan-ink); color: var(--tan); }
.btn-primary:hover { background: var(--tan-bright); }

.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--bone); padding-left: 28px; }
.btn-ghost .ico { background: rgba(237,231,218,0.1); color: var(--bone); }
.btn-ghost:hover { border-color: var(--tan); color: var(--tan); }
.btn-ghost:hover .ico { background: var(--tan); color: var(--tan-ink); }

.btn-onlight { background: var(--tan-ink); color: var(--bone); }
.btn-onlight .ico { background: var(--tan); color: var(--tan-ink); }
.btn-onlight:hover { background: #000; }

.btn-lg { font-size: 1.08rem; padding: 18px 18px 18px 34px; }
.btn-lg .ico { width: 34px; height: 34px; }
.btn-block { width: 100%; }
.btn-text-only { padding-left: 28px; padding-right: 28px; }
.btn-text-only .ico { display: none; }

/* Circular arrow button (icon only) */
.btn-round {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--tan); color: var(--tan-ink);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}
.btn-round svg { width: 18px; height: 18px; }
.btn-round:hover { transform: translate(2px, -2px); background: var(--tan-bright); }

/* ---- Navigation ---- */
.nav {
  position: fixed; inset: 12px 0 auto 0; z-index: 60;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  width: calc(100% - 32px); max-width: var(--container);
  height: var(--nav-h);
  padding: 0 12px 0 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-float);
}
.nav-logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.06rem; letter-spacing: 0.03em; }
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-logo .lg-sub { color: var(--tan); }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.9rem; color: var(--bone-dim);
  transition: color 0.15s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-cta { margin-left: 4px; padding: 11px 12px 11px 22px; font-size: 0.9rem; }
.nav-cta .ico { width: 26px; height: 26px; }
.nav-burger { display: none; margin-left: auto; width: 46px; height: 46px; position: relative; border-radius: 50%; }
.nav-burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--bone);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 23px; }
.nav-burger span:nth-child(3) { top: 28px; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-inner { padding-right: 8px; }
  .nav-links {
    position: absolute; inset: calc(var(--nav-h) + 12px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 10px;
    box-shadow: var(--shadow-float);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 15px 18px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links a:hover { background: rgba(237,231,218,0.05); }
  .nav-cta { margin: 8px 0 4px; justify-content: space-between; }
  .nav-burger { display: block; }
}

main { padding-top: calc(var(--nav-h) + 12px); }

/* ---- HERO v2: full-bleed rounded image + overlaid content + floating cards ---- */
.hero {
  position: relative;
  margin: 8px clamp(8px, 2vw, 16px) 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: min(86vh, 780px);
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(13,12,10,0.94) 2%, rgba(13,12,10,0.35) 40%, rgba(13,12,10,0.18) 70%),
    linear-gradient(95deg, rgba(13,12,10,0.86) 0%, rgba(13,12,10,0.30) 46%, transparent 72%);
}
.hero-body { width: 100%; padding: clamp(24px, 4vw, 56px); }
.hero-copy { max-width: min(1000px, 100%); }
.hero-copy .lead { margin-top: 20px; color: var(--bone); opacity: 0.92; overflow-wrap: break-word; }
.hero-copy h1 { overflow-wrap: break-word; }
@media (max-width: 560px) {
  .hero { min-height: min(82vh, 680px); }
  .hero-copy h1 { font-size: clamp(2.15rem, 9.6vw, 3rem); }
  .hero-copy .lead { font-size: 1.02rem; }
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.82rem; color: var(--bone);
  background: var(--bg-glass); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 9px 16px;
}
.chip strong { color: var(--tan); font-weight: 700; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tan); }

/* Floating glass card (overlay on hero / images) */
.float-card {
  position: absolute; z-index: 2;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: 20px 22px;
}
.float-card.tr { top: clamp(90px, 12vw, 130px); right: clamp(16px, 3vw, 40px); }
.float-card .fc-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--tan); line-height: 1; }
.float-card .fc-label { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--bone-dim); margin-top: 4px; }
@media (max-width: 720px) { .float-card { display: none; } }

/* ---- Marquee (single use, home) ---- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding-block: 16px; margin-top: 8px;
}
.marquee-track { display: inline-flex; gap: 44px; padding-right: 44px; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: 0.04em; color: var(--bone-faint);
  display: inline-flex; align-items: center; gap: 44px;
}
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tan); opacity: 0.6; }
.marquee-track span em { font-style: normal; color: var(--tan); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---- Category / challenge photo cards (text over image + arrow) ---- */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.cat-grid .feature { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid .feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 580px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid .feature { grid-column: auto; }
}
.cat-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-card);
  min-height: 260px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(13,12,10,0.92) 4%, rgba(13,12,10,0.35) 46%, rgba(13,12,10,0.05) 82%);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .cat-body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; min-height: 260px; }
.cat-card .feature-min { min-height: 420px; }
.cat-card h3 { font-size: 1.5rem; }
.cat-card.feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cat-card p { color: var(--bone-dim); margin-top: 8px; font-size: 0.97rem; max-width: 42ch; }
.cat-card .cat-arrow {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-glass); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); color: var(--bone);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.cat-card .cat-arrow svg { width: 17px; height: 17px; }
.cat-card:hover .cat-arrow { background: var(--tan); color: var(--tan-ink); transform: translate(2px,-2px); }
.cat-card .cat-tag {
  align-self: flex-start; margin-bottom: 12px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.74rem; color: var(--tan-ink);
  background: var(--tan); border-radius: var(--r-pill); padding: 5px 12px;
}
.cat-card.feature .feature-min { min-height: 420px; }

/* ---- Plain content card / tier ---- */
.card {
  border: 1px solid var(--line);
  background: var(--bg-raise);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 34px);
}
.card-media {
  border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Stat band ---- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-band > div {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--bg-raise);
}
.stat-band .label { color: var(--bone-faint); margin-top: 12px; display: flex; }
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr; } }

/* ---- Index list (numbered big rows) ---- */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 28px 8px; border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}
.index-row:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(205,165,92,0.06), transparent 60%); }
.index-row .ix-n { font-family: var(--font-display); font-size: 1.7rem; color: var(--tan); }
.index-row .ix-t { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.35rem; }
.index-row .ix-d { color: var(--bone-dim); margin-top: 4px; max-width: 62ch; font-size: 0.98rem; }
.index-row .ix-icon { color: var(--bone-faint); }
@media (max-width: 720px) {
  .index-row { grid-template-columns: 56px 1fr; }
  .index-row .ix-icon { display: none; }
}

/* ---- Value stack ---- */
.stack { border: 1px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; }
.stack-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 18px 26px; background: var(--bg-raise);
}
.stack-row + .stack-row { border-top: 1px solid var(--line); }
.stack-row .what { font-weight: 600; }
.stack-row .what small { display: block; font-weight: 400; color: var(--bone-dim); font-size: 0.9rem; margin-top: 2px; }
.stack-row .worth { font-family: var(--font-label); font-weight: 600; color: var(--bone-faint); white-space: nowrap; letter-spacing: 0.05em; }
.stack-total {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 26px; background: var(--bg-panel);
  border-top: 1px solid var(--line-strong);
}
.stack-total .worth-total { font-family: var(--font-display); font-size: 1.5rem; color: var(--bone-faint); text-decoration: line-through; text-decoration-color: var(--danger); }
.stack-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--tan); line-height: 1; }

/* ---- Tan color block (deliberate accent moment) ---- */
.tan-band {
  background: var(--tan-block); color: var(--tan-ink);
  border-radius: var(--r-lg);
  margin-inline: clamp(8px, 2vw, 16px);
  padding: clamp(36px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.tan-band .label { color: var(--tan-ink); opacity: 0.7; }
.tan-band .label::before { background: var(--tan-ink); }
.tan-band h2, .tan-band h3 { color: var(--tan-ink); }
.tan-band p { color: rgba(23,19,10,0.82); }
.tan-band .guar-conditions { display: grid; gap: 12px; margin-top: 24px; }
.tan-band .guar-conditions li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.06rem; color: var(--tan-ink); }
.tan-band .guar-conditions .gc-n { font-family: var(--font-display); color: var(--tan-ink); font-size: 1.15rem; opacity: 0.55; flex: none; }
.tan-band .wm {
  position: absolute; right: -3%; bottom: -18%; width: 320px; opacity: 0.12;
  pointer-events: none; z-index: 0;
}
.tan-band > * { position: relative; z-index: 1; }

/* ---- Guarantee panel (dark variant) ---- */
.guarantee {
  border: 1px solid var(--tan);
  border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(700px 340px at 10% 0%, rgba(205, 165, 92, 0.11), transparent 62%),
    var(--bg-raise);
}
.guarantee ol { counter-reset: g; margin-top: 22px; display: grid; gap: 14px; }
.guarantee ol li { counter-increment: g; display: flex; gap: 16px; align-items: baseline; color: var(--bone-dim); }
.guarantee ol li::before {
  content: counter(g, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.05rem; color: var(--tan);
  min-width: 34px;
}

/* ---- Weeks timeline ---- */
.weeks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.week {
  display: grid; grid-template-columns: 130px minmax(0, 1fr);
  gap: clamp(16px, 4vw, 52px); padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.week .wk { font-family: var(--font-display); font-size: 1.4rem; color: var(--tan); }
.week h4 { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.08rem; }
.week p { color: var(--bone-dim); margin-top: 6px; max-width: 60ch; }
@media (max-width: 720px) { .week { grid-template-columns: 1fr; gap: 6px; } }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display); font-size: 1.5rem; color: var(--tan);
  transition: transform 0.25s var(--ease); flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 24px; color: var(--bone-dim); max-width: 72ch; }

/* ---- Forms ---- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.84rem; color: var(--bone-dim); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--bone);
  padding: 14px 16px;
  font: inherit;
  width: 100%;
  transition: border-color 0.15s var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--bone-faint); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--tan); outline-offset: 1px; border-color: var(--tan);
}
.form-row .hint { font-size: 0.88rem; color: var(--bone-faint); }
.form-row .error { font-size: 0.88rem; color: var(--danger); display: none; }
.form-row.invalid .error { display: block; }
.form-row.invalid input, .form-row.invalid select { border-color: var(--danger); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-success {
  display: none; border: 1px solid var(--ok); border-radius: var(--r-card);
  padding: 32px; text-align: center; background: var(--bg-raise);
}
.form-success.show { display: block; }
.form-success .fs-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(134,160,110,0.16); color: var(--ok); margin: 0 auto 16px; }

/* ---- Apply drawer (slide-over) ---- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(6, 6, 5, 0.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 91;
  width: min(460px, 100vw); height: 100dvh;
  background: var(--bg-raise);
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -30px rgba(0,0,0,0.8);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head .label { margin: 0; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--bone); transition: background 0.2s, color 0.2s; }
.drawer-close:hover { background: var(--tan); color: var(--tan-ink); }
.drawer-body { padding: 22px; overflow-y: auto; flex: 1; }
.drawer-body h3 { font-size: 1.5rem; }
.drawer-note { font-size: 0.9rem; color: var(--bone-faint); }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-scrim { transition: none; }
}

/* ---- YouTube facade ---- */
.yt {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--bg-raise) center/cover no-repeat;
  cursor: pointer; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.yt.short { aspect-ratio: 9 / 16; }
.yt img.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.yt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,12,10,0.7), rgba(13,12,10,0.05) 60%); }
.yt:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.yt:hover img.yt-thumb { transform: scale(1.04); }
.yt .yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tan); color: var(--tan-ink);
  box-shadow: var(--shadow-glow);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.yt:hover .yt-play { transform: translate(-50%,-50%) scale(1.08); background: var(--tan-bright); }
.yt .yt-play svg { width: 24px; height: 24px; margin-left: 3px; }
.yt .yt-title {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.9rem; color: var(--bone);
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; margin-inline: calc(-1 * clamp(20px, 4vw, 48px)); padding-inline: clamp(20px, 4vw, 48px);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.video-scroller > * { scroll-snap-align: start; }

/* ---- Sticky mobile CTA ---- */
.sticky-cta {
  position: fixed; inset: auto 12px 12px; z-index: 55;
  display: none;
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 88px; }
  .sticky-cta .btn { box-shadow: var(--shadow-float), var(--shadow-glow); }
}

/* ---- Split ---- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px); align-items: center;
}
.split-media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---- Pain / check lists (SVG bullets via data-URI) ---- */
.pain-list { display: grid; gap: 15px; }
.pain-list li {
  position: relative; padding-left: 38px; color: var(--bone-dim); font-size: 1.06rem; min-height: 26px;
  background-repeat: no-repeat; background-position: left 3px; background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23c15d43'%20stroke-width='3'%20stroke-linecap='round'%3E%3Cpath%20d='M18%206%206%2018M6%206l12%2012'/%3E%3C/svg%3E");
}
.pain-list.check li {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23cda55c'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E");
}

/* ---- Supplement grid ---- */
.supp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.supp {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--bg-raise); padding: 28px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.supp:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.supp .label { margin-top: 8px; }
.supp p { font-size: 0.95rem; margin-top: 10px; }
@media (max-width: 900px) { .supp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .supp-grid { grid-template-columns: 1fr; } }

/* ---- Pricing tiers ---- */
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); align-items: stretch; }
.tier {
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--bg-raise); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
}
.tier .btn { margin-top: auto; }
.tier-grid .tier.feature { border-color: var(--tan); box-shadow: var(--shadow-glow); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---- Owner-only landing-page index ---- */
.owner-list { display: grid; gap: 12px; }
.owner-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--bg-raise); padding: 20px 24px;
}
.owner-row .owner-name { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.1rem; }
.owner-row .owner-url {
  display: inline-block; margin-top: 6px; font-family: var(--font-body);
  font-size: 0.92rem; color: var(--tan); word-break: break-all;
  background: rgba(205,165,92,0.08); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 10px;
}
.owner-row .btn { flex: none; }

/* ---- Inline product inquiry form ---- */
.inquire {
  border: 1px solid var(--tan);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(700px 340px at 90% 0%, rgba(205, 165, 92, 0.11), transparent 62%),
    var(--bg-raise);
}
.applying-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.84rem; color: var(--bone);
  border: 1px solid var(--tan); border-radius: var(--r-pill); padding: 9px 18px;
  background: rgba(205, 165, 92, 0.08);
}
.applying-chip svg { width: 16px; height: 16px; color: var(--tan); flex: none; }
.applying-chip strong { color: var(--tan); font-weight: 700; }

/* Anti-spam honeypot: hidden from humans, present for bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Anchor scroll offset so the fixed nav never covers a section heading */
[id] { scroll-margin-top: 100px; }

/* ---- Application steps ---- */
.apply-step {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px;
}
.apply-step legend {
  font-family: var(--font-display); text-transform: uppercase;
  padding: 0 10px; margin-left: -10px; color: var(--tan); font-size: 1.3rem;
}

/* ---- CTA band ---- */
.cta-band {
  margin: 0 clamp(8px, 2vw, 16px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(800px 400px at 85% 20%, rgba(205, 165, 92, 0.12), transparent 60%),
    var(--bg-raise);
  border: 1px solid var(--line);
}
.cta-band .cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 15em; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); background: var(--bg-raise); margin-top: clamp(48px, 7vw, 96px); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px);
}
.footer h4 { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.86rem; color: var(--bone-faint); margin-bottom: 16px; }
.footer a { color: var(--bone-dim); font-size: 0.97rem; transition: color 0.15s; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--tan); }
.footer-brand img { width: 76px; margin-bottom: 16px; }
.footer-brand p { color: var(--bone-dim); font-size: 0.95rem; max-width: 34ch; }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between;
  color: var(--bone-faint); font-size: 0.86rem;
}
.footer-legal .fl-tag { font-family: var(--font-display); color: var(--bone-dim); letter-spacing: 0.04em; }
.footer-disclaimer { padding-bottom: 28px; color: var(--bone-faint); font-size: 0.82rem; max-width: 92ch; line-height: 1.55; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Utilities ---- */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; } .mt-5 { margin-top: 72px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.badge-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge-strip span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.82rem; color: var(--bone-dim);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 9px 16px;
}
.badge-strip strong { color: var(--tan); font-weight: 700; }
