/* ============================================
   GCTM — GymCrew Talent Management
   Aesthetic: Athletic editorial. Charcoal base,
   gold accent, serif display + grotesque body.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --ink:      #0e0e10;
  --ink-soft: #16161a;
  --panel:    #1c1c21;
  --line:     #2c2c33;
  --paper:    #f4f1ea;
  --muted:    #9a9aa3;
  --gold:     #c8a24a;
  --gold-hi:  #e3c477;
  --white:    #ffffff;

  --display: 'Fraunces', Georgia, serif;
  --body:    'Archivo', -apple-system, sans-serif;

  --maxw: 1180px;
  --pad:  clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,16,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.brand {
  font-family: var(--display);
  font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.6rem;
}
.brand .mark { color: var(--gold); }
.brand-logo {
  height: 34px; width: auto; display: block; flex-shrink: 0;
}
.footer .brand-logo { height: 30px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--muted);
  transition: color 0.25s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.6rem 1.15rem; border-radius: 999px;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--paper); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1000px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 600px; }
  .nav-links a {
    width: 100%; padding: 1.05rem var(--pad);
    border-bottom: 1px solid var(--line);
  }
  .nav-cta { margin: 1rem var(--pad); text-align: center; }
  .nav-toggle { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 18%, rgba(200,162,74,0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 90%, rgba(200,162,74,0.06), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.3rem);
  font-weight: 600;
}
.hero h1 em {
  font-style: italic; color: var(--gold-hi); font-weight: 500;
}
.hero p.lede {
  margin-top: 1.6rem; font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--muted); max-width: 34ch;
}
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-figure {
  position: relative; aspect-ratio: 4/5;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, var(--panel), var(--ink-soft));
}
.hero-figure .ph-label { position: absolute; inset: 0; }
.hero-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(transparent, rgba(14,14,16,0.92));
  font-family: var(--display); font-size: 1.05rem;
}
.hero-tag span { display: block; color: var(--gold); font-family: var(--body);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.3rem; }

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  transition: transform 0.2s, background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- SECTIONS ---------- */
section { position: relative; }
.section-pad { padding: clamp(4rem, 11vh, 8rem) 0; }
.section-head { max-width: 56ch; margin-bottom: 3.4rem; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 0.9rem;
}
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; }

.alt { background: var(--ink-soft); border-block: 1px solid var(--line); }

/* ---------- AUDIENCE SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.split.cols-3 { grid-template-columns: repeat(3, 1fr); }
.split-card {
  position: relative; padding: clamp(2rem, 4vw, 3.3rem);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.split-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.split-card:hover { border-color: #3a3a42; transform: translateY(-4px); }
.split-card:hover::after { transform: scaleX(1); }
.split-card .num {
  font-family: var(--display); font-size: 0.95rem; color: var(--gold);
  letter-spacing: 0.15em;
}
.split-card h3 { font-size: 1.85rem; margin: 0.8rem 0 0.9rem; }
.split-card p { color: var(--muted); margin-bottom: 1.7rem; }
.split-card .link {
  font-weight: 600; font-size: 0.92rem; color: var(--paper);
  display: inline-flex; gap: 0.5rem; align-items: center;
}
.split-card .link .arr { color: var(--gold); transition: transform 0.2s; }
.split-card:hover .link .arr { transform: translateX(5px); }

@media (max-width: 960px) { .split.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split.cols-3 { grid-template-columns: 1fr; } }

/* ---------- STATS STRIP ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { background: var(--ink-soft); padding: 2.2rem 1.5rem; text-align: center; }
.stat .v { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--gold-hi); font-weight: 600; }
.stat .k { font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.5rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- SERVICES LIST ---------- */
.svc { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 2rem;
  padding: 2.6rem 0; border-bottom: 1px solid var(--line);
  align-items: start; transition: padding-left 0.3s;
}
.svc-row:hover { padding-left: 0.8rem; }
.svc-row .idx { font-family: var(--display); color: var(--gold); font-size: 1.1rem; }
.svc-row h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.svc-row .desc { color: var(--muted); margin-top: 0.7rem; max-width: 52ch; }
@media (max-width: 700px) { .svc-row { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- CASE / FEATURE ---------- */
.feature-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
}
.feature-figure {
  aspect-ratio: 4/5; border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(150deg, var(--panel), var(--ink-soft));
  position: relative; overflow: hidden;
}
.feature-figure .badge {
  position: absolute; top: 1.3rem; left: 1.3rem;
  background: var(--gold); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.45rem 0.85rem; border-radius: 999px;
}
.feature-grid h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.feature-grid p { color: var(--muted); margin-top: 1.2rem; }
.feature-grid .quote {
  margin-top: 1.8rem; padding-left: 1.4rem; border-left: 2px solid var(--gold);
  font-family: var(--display); font-style: italic; font-size: 1.18rem; color: var(--paper);
}
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative; text-align: center;
  padding: clamp(4.5rem, 12vh, 8rem) 0;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink));
  border-block: 1px solid var(--line); overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(200,162,74,0.12), transparent 60%);
}
.cta-band h2 { position: relative; font-size: clamp(2rem, 5vw, 3.6rem); }
.cta-band p { position: relative; color: var(--muted); margin: 1.1rem auto 2.4rem; max-width: 46ch; }

/* ---------- FORM ---------- */
.form-wrap {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; padding: clamp(2rem, 5vw, 3.4rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.3rem; }
.field label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line);
  color: var(--paper); padding: 0.85rem 1rem; border-radius: 4px;
  font-family: var(--body); font-size: 0.97rem; transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- PODCAST ---------- */
.pod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.pod-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 1.9rem; transition: transform 0.3s, border-color 0.3s;
}
.pod-card:hover { transform: translateY(-4px); border-color: #3a3a42; }
.pod-card .ep { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.pod-card h3 { font-size: 1.25rem; margin: 0.7rem 0 0.6rem; }
.pod-card p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 800px) { .pod-grid { grid-template-columns: 1fr; } }

/* ---------- GENERIC PAGE HEADER ---------- */
.page-head {
  padding: clamp(4rem, 10vh, 6.5rem) 0 clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(200,162,74,0.1), transparent 60%);
}
.page-head h1 { position: relative; font-size: clamp(2.4rem, 6vw, 4.4rem); margin-top: 0.9rem; }
.page-head p { position: relative; color: var(--muted); margin-top: 1.1rem; max-width: 54ch; font-size: 1.08rem; }

/* ---------- PROSE ---------- */
.prose p { color: var(--muted); margin-bottom: 1.3rem; max-width: 68ch; }
.prose h3 { font-size: 1.5rem; margin: 2.4rem 0 1rem; color: var(--paper); }
.prose ul { list-style: none; margin: 1.2rem 0; max-width: 64ch; }
.prose li { color: var(--muted); padding-left: 1.6rem; position: relative; margin-bottom: 0.8rem; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem;
  background: var(--ink-soft);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer .brand { margin-bottom: 1rem; }
.footer p { color: var(--muted); font-size: 0.92rem; max-width: 38ch; }
.footer h4 { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: var(--paper); font-size: 0.92rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold); }
.footer-base {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--muted); font-size: 0.84rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- PLACEHOLDER IMG TREATMENT ---------- */
.ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--line);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.02) 25%, transparent 25%);
  background-size: 22px 22px;
}
.ph span {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--line); padding: 0.5rem 0.9rem;
  border-radius: 4px;
}

/* ---------- REVEAL ON SCROLL ---------- */
/* Only hide when JS is active (html.js). If JS fails or is slow,
   content stays fully visible — never a blank page. */
.reveal { transition: opacity 0.7s, transform 0.7s; }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- THANK YOU ---------- */
.ty { text-align: center; padding: clamp(5rem,16vh,9rem) 0; }
.ty h1 { font-size: clamp(2.4rem,6vw,4rem); }
.ty p { color: var(--muted); margin: 1.2rem auto 2.4rem; max-width: 44ch; }
