/* ============================================================
   Align Sports & Performance Psychology — styles
   Palette: deep navy + warm coral accent + warm sand neutrals
   Type: Playfair Display (headings) + Mulish (body)
   ============================================================ */

:root {
  --ink: #15242c;
  --navy: #1d3b4e;
  --navy-deep: #142c3b;
  --accent: #e0613f;
  --accent-dark: #c44e30;
  --calm: #3a7ca5;
  --sand: #f6f1ea;
  --paper: #ffffff;
  --muted: #5c6b73;
  --line: #e6ddd2;
  --shadow: 0 10px 30px rgba(20, 44, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 44, 59, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1140px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--navy-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.2rem; }
:focus-visible { outline: 3px solid var(--calm); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-deep); color: #e9eef1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body); font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; font-size: .78rem; color: var(--accent);
  margin-bottom: .9rem; display: block;
}
.section--navy .eyebrow { color: #f0a58e; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--navy .lead { color: #c4d2da; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(224, 97, 63, .3); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--sand); color: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--navy-deep); color: #cdd9e0; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: center; padding-block: .5rem; }
.topbar a { color: #cdd9e0; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: .8rem; gap: 1rem; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; }
.nav-links a { color: var(--navy-deep); font-weight: 700; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: .3em; color: var(--muted); }
.subnav {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: .5rem; min-width: 230px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.subnav a { display: block; padding: .55rem .8rem; border-radius: 8px; font-size: .95rem; }
.subnav a:hover { background: var(--sand); }
.nav-cta { margin-left: .3rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy-deep); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,44,59,.92) 0%, rgba(29,59,78,.78) 50%, rgba(20,44,59,.6) 100%);
  z-index: 1;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; z-index: 0; will-change: opacity;
  transition: opacity 1.6s ease-in-out;
}
/* active slide sits on top and fades in over the previous one (no dip, no snap) */
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: clamp(4.5rem, 12vw, 9rem) 0; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero p { font-size: 1.3rem; color: #dbe6ec; margin-bottom: 2rem; }
.hero .tag { color: #f0a58e; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }

/* page hero (interior) */
.page-hero { background: var(--navy-deep); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem,6vw,4rem); position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c4d2da; font-size: 1.2rem; max-width: 680px; }
.breadcrumb { font-size: .85rem; color: #91a6b2; margin-bottom: 1rem; }
.breadcrumb a { color: #91a6b2; }
.breadcrumb a:hover { color: #fff; }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); height: 100%; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon { width: 58px; height: 58px; margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 800; font-size: .92rem; display: inline-block; margin-top: 1rem; }

/* ---------- team ---------- */
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.team-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.team-card h3 { margin-bottom: .15rem; }
.team-card .role { color: var(--accent); font-weight: 800; font-size: .9rem; margin-bottom: .8rem; }
.team-card .meta { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.team-card .meta a { color: var(--muted); }
.team-card .body .btn { margin-top: auto; }

/* bio page */
.bio-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start; }
.bio-photo { position: sticky; top: 110px; }
.bio-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.bio-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 1.2rem; box-shadow: var(--shadow); }
.bio-card h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--accent); margin-bottom: .7rem; }
.bio-card ul { list-style: none; margin: 0; }
.bio-card li { padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.bio-card li:last-child { border-bottom: 0; }
.signature { max-width: 170px; margin-top: 1.5rem; }

/* ---------- services ---------- */
.service-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); margin-bottom: 1.8rem; }
.service-block h2 { color: var(--navy-deep); }
.price-tag { display: inline-flex; flex-direction: column; gap: .15rem; background: var(--sand); border-left: 4px solid var(--accent); padding: .9rem 1.2rem; border-radius: 8px; margin-top: .5rem; font-weight: 700; color: var(--navy-deep); }
.price-tag small { font-weight: 600; color: var(--muted); font-size: .85rem; }
.sub-service { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.2rem; }
.sub-service h3 { color: var(--accent-dark); font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; }

/* ---------- stats ---------- */
.stat { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.stat .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: .5rem; }
.stat .cite { font-size: .8rem; color: var(--muted); margin-top: .6rem; }

/* ---------- timeline (program weeks) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.6rem 3.2rem; border-left: 2px solid var(--line); margin-left: 1rem; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline .wk { position: absolute; left: -1.05rem; top: -.2rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: .72rem; display: grid; place-items: center; font-family: var(--font-body); }
.timeline h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin-bottom: .2rem; color: var(--navy-deep); }
.timeline p { color: var(--muted); margin: 0; font-size: .96rem; }

/* feature list with checks */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { position: relative; padding-left: 2.2rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; background: var(--accent); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.checklist strong { color: var(--navy-deep); }

/* ---------- media / video ---------- */
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.video-embed { position: relative; aspect-ratio: 16/9; cursor: pointer; background: #000; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.video-embed:hover img { opacity: .75; }
.video-embed .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-embed .play span { width: 66px; height: 66px; background: rgba(224,97,63,.92); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.video-embed .play span::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .vbody { padding: 1.2rem 1.3rem; }
.video-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; margin-bottom: .3rem; }
.video-card .src { color: var(--accent); font-size: .82rem; font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .9rem; overflow: hidden; box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.25rem 1.4rem; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--navy-deep); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-q::after { content: "+"; font-size: 1.6rem; color: var(--accent); flex: none; transition: transform .25s; line-height: 1; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a ul { margin-top: .5rem; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.3rem; }
.step { position: relative; padding-left: 4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.8rem; height: 2.8rem; background: var(--navy); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 1.2rem; }
.step h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; margin-bottom: .2rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; color: var(--navy-deep); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fdfbf8; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--calm); box-shadow: 0 0 0 3px rgba(58,124,165,.15); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; }
.checkgrid label { display: flex; align-items: flex-start; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.checkgrid input { width: auto; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-status { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e6f4ea; color: #1d6b39; border: 1px solid #b7e0c4; }
.form-status.error { background: #fbe7e3; color: #b23a22; border: 1px solid #f3c2b8; }

/* ---------- contact info blocks ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); text-align: center; }
.info-card .ic { font-size: 1.6rem; margin-bottom: .5rem; }
.info-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-style: italic; color: #fff; max-width: 880px; margin-inline: auto; line-height: 1.35; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe7df; font-size: 1.15rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b8c8d1; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer img.flogo { display: block; width: 100%; height: auto; margin-bottom: 1.1rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #b8c8d1; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--accent); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-disclaimer { font-size: .8rem; color: #8095a1; max-width: 640px; margin-top: .5rem; }

/* ---------- misc ---------- */
.pill { display: inline-block; background: var(--sand); color: var(--navy-deep); border-radius: 999px; padding: .3rem .9rem; font-size: .82rem; font-weight: 700; margin: .2rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2.5rem 0; }
.prose h3 { margin: 1.8rem 0 .6rem; color: var(--navy-deep); }
.prose p { color: #3a4a52; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .7rem 1.2rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 320px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff;
    flex-direction: column; align-items: flex-start; gap: .2rem; padding: 5rem 1.5rem 2rem;
    box-shadow: -10px 0 40px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .3s; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .has-sub > a::after { float: right; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .subnav a { padding: .5rem 0; }
  .nav-cta { margin: .8rem 0 0; }
  .nav-open body { overflow: hidden; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row, .checkgrid { grid-template-columns: 1fr; }
  .topbar .container { font-size: .8rem; gap: .2rem .9rem; }
  .topbar .addr { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
