/* ============================================================
   Athletic Performance Coaching — Design System v3
   Bebas Neue display · Inter body · Monochrome · Sleek
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F7F7F7;
  --bg-white:   #FFFFFF;
  --surface:    #EFEFEF;
  --border:     #DCDCDC;
  --black:      #0A0A0A;
  --charcoal:   #222222;
  --muted:      #555555;
  --red:        #D90B1C;
  --red-dark:   #B50016;
  --white:      #FFFFFF;
  --max-w:      1280px;
  --radius:     2px;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Global grain texture ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9998;
}

/* ── Dot grid background ──────────────────────────────────── */
.dot-bg {
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Diagonal section separator ──────────────────────────── */
.section--angled {
  clip-path: polygon(0 3%, 100% 0%, 100% 97%, 0% 100%);
  margin: -32px 0;
  padding: 144px 0;
  position: relative;
  z-index: 1;
}

/* ── Photo background section ────────────────────────────── */
.photo-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.photo-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.photo-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  z-index: 1;
}
.photo-section__content {
  position: relative;
  z-index: 2;
}

/* ── Red accent shape ─────────────────────────────────────── */
.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 24px;
}

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

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.section     { padding: 112px 0; }
.section--sm { padding: 72px 0; }

/* ── Display Type (Bebas Neue) ────────────────────────────── */
.display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

/* ── Overline ─────────────────────────────────────────────── */
.overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover { background: var(--charcoal); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-secondary:hover { background: var(--black); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-dark); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,247,247,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .18s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--black); }

/* ── Section Headers ──────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.10); transform: translateY(-2px); }

/* ── Stats ────────────────────────────────────────────────── */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 76px);
  letter-spacing: 0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Ticker ───────────────────────────────────────────────── */
.ticker {
  background: var(--black);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  transform: skewY(-1.2deg);
  margin: 8px 0;
}
.ticker__track {
  display: inline-flex;
  animation: ticker 32s linear infinite;
}
.ticker__item {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  padding: 0 28px;
  color: #888;
}
.ticker__item--accent { color: var(--red); }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 152px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 80px;
  height: 3px;
  background: var(--red);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin-bottom: 28px;
}
.page-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 36px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.footer__tagline { font-size: 13px; color: #555; max-width: 220px; line-height: 1.6; }
.footer__nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__nav-group h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 18px;
}
.footer__nav-group ul { list-style: none; }
.footer__nav-group ul li { margin-bottom: 10px; }
.footer__nav-group ul a { font-size: 13px; color: #666; transition: color .18s; }
.footer__nav-group ul a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 11px; color: #444; }
.footer__socials { display: flex; gap: 20px; }
.footer__socials a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
  transition: color .18s;
}
.footer__socials a:hover { color: var(--white); }

/* ── Grid helpers ─────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ── Responsive ───────────────────────────────────────────── */
/* ── Mobile Menu ──────────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all .25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: rgba(247,247,247,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color .18s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover, .nav__mobile a.active { color: var(--black); }
.nav__mobile .btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .container, .nav__inner, .footer__inner { padding-left: 24px; padding-right: 24px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .section { padding: 72px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .footer__nav { gap: 36px; }
  .page-hero { padding: 120px 0 64px; }
}
