/*
Theme Name: The Athletic Hub
Theme URI: https://example.com/
Author: The Athletic Hub
Description: Professional public website for The Athletic Hub with editable coach profiles and a secure staff portal link.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: the-athletic-hub
*/

:root {
  --blue: #203c9d;
  --blue-dark: #14286d;
  --grey: #3a3a3a;
  --ink: #17191f;
  --paper: #f4f4f1;
  --line: #d8d9dc;
  --muted: #696c74;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--grey);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.ah-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ah-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,244,241,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.ah-header-inner {
  min-height: 78px; display: flex; align-items: center; gap: 36px;
}
.ah-logo img { width: 176px; display: block; }
.ah-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.ah-nav a { font-size: 12px; font-weight: 750; }
.ah-nav a:hover { color: var(--blue); }
.ah-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  color: #fff; background: var(--blue);
  border: 0; font-size: 12px; font-weight: 800;
}
.ah-button:hover { background: var(--blue-dark); color: #fff; }
.ah-button-outline { color: var(--blue); background: transparent; border: 1px solid var(--blue); }
.ah-menu-toggle { display: none; margin-left: auto; border: 0; background: none; font-size: 24px; }
.ah-hero {
  min-height: 690px; position: relative; display: flex; align-items: center;
  color: #fff; background: #181b22 url("assets/gym-hero.png") center/cover no-repeat;
}
.ah-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,18,27,.94) 0%, rgba(20,28,55,.75) 47%, rgba(20,28,55,.18) 100%);
}
.ah-hero-content { position: relative; max-width: 710px; padding: 100px 0; }
.ah-kicker, .ah-label {
  color: #9bb0f1; font-size: 10px; font-weight: 850;
  letter-spacing: 2px; text-transform: uppercase;
}
.ah-hero h1 {
  font-size: clamp(52px, 7vw, 92px); line-height: .95;
  letter-spacing: -4px; margin: 20px 0 26px;
}
.ah-hero p { max-width: 560px; color: #d6d8df; font-size: 17px; }
.ah-hero-actions { display: flex; gap: 14px; margin-top: 35px; flex-wrap: wrap; }
.ah-hero .ah-button-outline { color: #fff; border-color: #fff; }
.ah-proof {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25);
  display: flex; gap: 38px; color: #cfd2da; font-size: 12px;
}
.ah-strip { background: var(--blue); color: #fff; }
.ah-strip .ah-container {
  min-height: 70px; display: flex; align-items: center; justify-content: space-between;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; font-weight: 800;
}
.ah-section { padding: 110px 0; }
.ah-section-dark { color: #fff; background: var(--ink); }
.ah-heading-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.ah-section h2 {
  font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -2.5px;
  margin: 13px 0 0;
}
.ah-lead { font-size: 21px; line-height: 1.55; margin-top: 0; }
.ah-copy { color: var(--muted); }
.ah-section-dark .ah-copy { color: #b7bac3; }
.ah-values, .ah-programs, .ah-coaches {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 65px; background: var(--line); border: 1px solid var(--line);
}
.ah-card { padding: 32px; background: var(--paper); }
.ah-card-number { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: 1.4px; }
.ah-card h3 { font-size: 23px; line-height: 1.2; margin: 42px 0 12px; }
.ah-card p { color: var(--muted); font-size: 13px; }
.ah-programs { background: #343842; border-color: #343842; }
.ah-programs .ah-card { color: #fff; background: var(--ink); min-height: 310px; }
.ah-programs .ah-card p { color: #aeb2bd; }
.ah-coaches { background: transparent; border: 0; gap: 22px; }
.ah-coach { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.ah-coach-photo { aspect-ratio: 4/4.7; background: var(--blue); overflow: hidden; }
.ah-coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.ah-coach-body { padding: 25px; }
.ah-coach h3 { font-size: 25px; margin: 6px 0; }
.ah-coach-role { color: var(--blue); font-size: 11px; font-weight: 800; }
.ah-coach p { color: var(--muted); font-size: 12px; }
.ah-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0; }
.ah-tags span { padding: 6px 9px; background: #eef1fa; color: var(--blue); font-size: 9px; font-weight: 750; }
.ah-cv { color: var(--blue); font-size: 11px; font-weight: 800; }
.ah-contact { background: var(--blue); color: #fff; }
.ah-contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.ah-contact h2 { margin-top: 0; }
.ah-contact-list { display: grid; gap: 12px; font-size: 14px; }
.ah-footer { padding: 45px 0; color: #b6bac4; background: #111318; font-size: 11px; }
.ah-footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.ah-empty { padding: 45px; color: var(--muted); background: #fff; border: 1px solid var(--line); text-align: center; }
@media (max-width: 850px) {
  .ah-menu-toggle { display: block; }
  .ah-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 22px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .ah-nav.is-open { display: flex; }
  .ah-heading-grid, .ah-contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .ah-values, .ah-programs, .ah-coaches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ah-container { width: min(100% - 28px, 1180px); }
  .ah-logo img { width: 145px; }
  .ah-hero { min-height: 620px; background-position: 62% center; }
  .ah-hero h1 { letter-spacing: -2px; }
  .ah-proof, .ah-strip .ah-container { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
  .ah-strip .ah-container { padding: 18px 0; }
  .ah-section { padding: 75px 0; }
  .ah-values, .ah-programs, .ah-coaches { grid-template-columns: 1fr; }
  .ah-footer-inner { flex-direction: column; }
}