/* ES Performance home page. Colors and type follow SITE_BRIEF.md */

:root {
  --purple: #8C52FF;
  --purple-light: #A87DFF;
  --lavender: #E2D4FF;
  --black: #000000;
  --ink: #120A1F;
  --white: #FFFFFF;
  --gray: #B9B4C4;
  --line: rgba(226, 212, 255, 0.18);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-script: "Dancing Script", cursive;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type */

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin: 0 0 18px;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--purple-light);
}

.lead { font-size: 17px; color: var(--gray); max-width: 46ch; }

.rule {
  width: 64px;
  height: 4px;
  background: var(--purple);
  border: 0;
  margin: 28px 0;
}

/* Circled word, the hand drawn ellipse from Jill Fit */

.circled {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.circled svg {
  position: absolute;
  left: -14%;
  top: -22%;
  width: 128%;
  height: 150%;
  pointer-events: none;
  overflow: visible;
}

.circled path {
  fill: none;
  stroke: var(--purple);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Buttons: square corners, spaced caps, arrow in its own box */

.btn {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--lavender);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn span { padding: 15px 22px; display: flex; align-items: center; }

.btn .arrow {
  border-left: 1px solid currentColor;
  padding: 15px 18px;
  font-size: 16px;
  letter-spacing: 0;
}

.btn:hover, .btn:focus-visible { background: var(--white); color: var(--black); border-color: var(--white); }

.btn.solid { background: var(--purple); border-color: var(--purple); }

.btn.solid .arrow { border-left-color: rgba(255, 255, 255, 0.5); }

.btn.solid:hover, .btn.solid:focus-visible { background: var(--purple-light); border-color: var(--purple-light); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }

/* Announcement bar */

.announce {
  background: var(--purple);
  text-align: center;
  padding: 9px var(--gutter);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.announce a { text-decoration: none; }

.announce a:hover { text-decoration: underline; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.nav .logo img { width: 58px; height: 58px; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.nav ul a {
  text-decoration: none;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.nav ul a:hover { color: var(--white); }

.nav .btn span { padding: 11px 16px; }

.nav .btn .arrow { padding: 11px 13px; }

.menu-toggle { display: none; }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 820px);
  background: var(--ink);
}

.hero-photo { position: relative; overflow: hidden; }

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--gutter) 72px clamp(32px, 6vw, 96px);
}

.hero-copy .script { font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; line-height: 1.1; margin: 0 0 10px; }

.hero .hero-slogan { font-size: clamp(38px, 5.2vw, 72px); margin-bottom: 26px; }

.hero .lead { margin: 0 0 34px; }

/* Featured in strip: white press logos on purple */

.featured {
  background: var(--purple);
  padding: 34px 0 38px;
  text-align: center;
}

.featured .eyebrow { color: var(--white); margin: 0 0 24px; }

.featured ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px clamp(24px, 3.4vw, 46px);
}

.featured li { display: flex; align-items: center; }

.featured img { width: auto; opacity: 0.95; }

/* Each logo gets its own height so they look the same visual size */
.featured .lg-wh { height: 26px; }
.featured .lg-usa { height: 46px; }
.featured .lg-stack { height: 32px; }
.featured .lg-sf { height: 30px; }
.featured .lg-shape { height: 25px; }
.featured .lg-ls { height: 11px; }
.featured .lg-sgp { height: 31px; }

/* Sections */

.section { padding: clamp(72px, 10vw, 128px) 0; }

.section.ink { background: var(--ink); }

.center { text-align: center; }

.center .lead { margin-left: auto; margin-right: auto; }

.center .rule { margin-left: auto; margin-right: auto; }

/* Intro */

.intro h2 { font-size: clamp(34px, 5vw, 64px); }

.intro .lead { font-size: 18px; max-width: 60ch; }

/* Pathways, the numbered cards from Tony Gentilcore */

.pathways .head { margin-bottom: 56px; }

.pathways .head h2 { font-size: clamp(30px, 3.6vw, 46px); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 24px 30px;
}

.card .num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 84px;
  line-height: 0.9;
  color: var(--purple);
}

.card h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 14px 0 12px;
}

.card p { color: var(--gray); font-size: 15px; margin: 0 0 22px; }

.card .photo { aspect-ratio: 4 / 5; overflow: hidden; margin: auto 0 24px; }

.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }

.card:hover .photo img { transform: scale(1.04); }

/* Card buttons fill the card and share one height, so long labels can wrap without breaking the row */
.card .btn { align-self: stretch; min-height: 64px; font-size: 12px; letter-spacing: 0.14em; line-height: 1.4; }

.card .btn span { padding: 12px 14px; }

.card .btn span:first-child { flex: 1; }

.card .btn .arrow { padding: 12px 14px; }

/* About */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.about-copy {
  background: var(--ink);
  border-top: 6px solid var(--purple);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px);
}

.about-copy h2 { font-size: clamp(32px, 4vw, 52px); }

.about-copy p { color: var(--gray); }

.creds {
  list-style: none;
  margin: 28px 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.creds li {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-left: 18px;
  position: relative;
}

.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--purple);
}

/* Books */

.books .head { margin-bottom: 56px; }

.books .head h2 { font-size: clamp(30px, 3.6vw, 46px); }

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.book {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  padding: 36px 28px 40px;
}

.book img { width: 100%; max-width: 440px; margin-bottom: 24px; }

/* 3D book mockups, built in CSS so they stay sharp */

.book3d {
  --t: 38px;                 /* book thickness */
  --r: 0.671;                /* cover width / height */
  width: min(calc(400px * var(--r)), 66%);
  margin: 18px auto 52px;
  perspective: 1500px;
  position: relative;
}

.book3d-sfa { --r: 0.6678; }

/* purple glow and floor shadow */
.book3d::before {
  content: "";
  position: absolute;
  inset: 8% -18% 4%;
  background: radial-gradient(closest-side, rgba(140, 82, 255, 0.38), rgba(140, 82, 255, 0) 70%);
  filter: blur(18px);
  z-index: -1;
}

.book3d::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -8%;
  bottom: -26px;
  height: 26px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  filter: blur(4px);
  z-index: -1;
}

.book3d-obj {
  position: relative;
  aspect-ratio: var(--r);
  transform-style: preserve-3d;
  transform: rotateY(34deg) rotateX(4deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.book:hover .book3d-obj { transform: rotateY(18deg) rotateX(2deg) translateY(-6px); }

.book3d-front,
.book3d-back {
  position: absolute;
  inset: 0;
  border-radius: 2px 4px 4px 2px;
  overflow: hidden;
}

.book3d-front {
  transform: translateZ(calc(var(--t) / 2));
  container-type: inline-size;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.book3d .book3d-front img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }

/* hinge crease and a soft light sweep across the cover */
.book3d-front::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.12) 1.2%, rgba(255, 255, 255, 0.18) 2.6%, rgba(0, 0, 0, 0.1) 4.2%, rgba(0, 0, 0, 0) 7%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.10) 52%, rgba(255, 255, 255, 0) 70%);
}

.book3d-back {
  transform: translateZ(calc(var(--t) / -2)) rotateY(180deg);
  background: #0c0712;
}

.book3d-spine {
  position: absolute;
  top: 0;
  left: calc(var(--t) * -1);
  width: var(--t);
  height: 100%;
  transform-origin: right center;
  transform: translateZ(calc(var(--t) / 2)) rotateY(-90deg);
  display: flex;
  flex-direction: row;       /* row runs top to bottom in vertical writing mode */
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 3px 0 0 3px;
}

.book3d-spine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.45));
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.book3d-pages {
  position: absolute;
  top: 1.5%;
  bottom: 1.5%;
  left: 100%;
  width: calc(var(--t) - 3px);
  transform-origin: left center;
  transform: translateZ(calc(var(--t) / 2 - 1px)) rotateY(90deg);
  background:
    repeating-linear-gradient(90deg, #f4f1f7 0 1px, #d9d3e0 1px 2px),
    #eee;
}

/* Female Athlete High Performance spine */
.book3d-fahp .book3d-spine {
  background:
    repeating-linear-gradient(0deg, rgba(140, 82, 255, 0.16) 0 2px, rgba(0, 0, 0, 0) 2px 6px),
    #0d0812;
  color: #fff;
}

.book3d-fahp .sp-title { font-family: "Oswald", var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }
.book3d-fahp .sp-title em { font-style: normal; color: #9a3cff; }
.book3d-fahp .sp-title i { font-style: normal; font-family: "Open Sans", var(--font-body); font-weight: 700; font-size: 9px; letter-spacing: 0.2em; margin-top: 8px; color: #ddd; }
.book3d .sp-author { font-family: "Open Sans", var(--font-body); font-weight: 700; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }

/* The Strong Female Athlete: real spine art from the cover file */
.book3d-sfa .book3d-spine { background: #fff url("images/spine_sfa.png") center / 100% 100% no-repeat; }

.book3d .book3d-back img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .book3d-obj { transition: none; }
}

.book h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.book p { color: var(--gray); margin: 0 0 26px; max-width: 40ch; }

/* Speaking */

.speaking {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.speaking h2 { font-size: clamp(30px, 3.6vw, 46px); }

.speaking p { color: var(--gray); }

.topics {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.topics li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Future speaking contact form drops into this slot */
.speaking-form-slot:empty { display: none; }

/* Podcast */

.podcast {
  background: var(--purple);
  text-align: center;
}

.podcast .eyebrow { color: var(--white); }

.podcast h2 { font-size: clamp(32px, 5vw, 64px); margin-bottom: 18px; }

.podcast p { max-width: 54ch; margin: 0 auto 34px; color: var(--white); opacity: 0.9; }

.podcast .btn { border-color: var(--white); }

/* Quote band */

.quote-band {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--black) url("images/team_shirts.jpg") center / cover no-repeat;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(18, 10, 31, 0.35) 100%);
}

.quote-band .wrap { position: relative; }

.quote-band blockquote { margin: 0; max-width: 760px; }

.quote-band blockquote p {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  margin: 0 0 22px;
}

.quote-band cite {
  font-style: normal;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
}

/* Email sign up */

.signup {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.signup img { width: 100%; max-width: 420px; margin: 0 auto; }

.signup h2 { font-size: clamp(30px, 3.6vw, 46px); }

.signup h2 .accent { color: var(--purple); }

.signup p { color: var(--gray); }

.signup form { display: flex; margin: 28px 0 14px; max-width: 520px; }

.signup input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--lavender);
  border-right: 0;
  color: var(--white);
  font: inherit;
  padding: 0 18px;
  border-radius: 0;
}

.signup input::placeholder { color: var(--gray); }

.signup button { cursor: pointer; font: inherit; }

.signup .fine { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }

/* Footer */

.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}

.footer .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer img { width: 110px; }

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.footer ul a, .footer .contact a {
  text-decoration: none;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer a:hover { color: var(--white); }

.footer .contact { text-align: right; display: grid; gap: 8px; }

.footer .contact span { font-family: var(--font-label); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }

.footer .copy { grid-column: 1 / -1; color: var(--gray); font-size: 13px; border-top: 1px solid var(--line); padding-top: 24px; margin: 8px 0 0; }

/* Tablet */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav ul { gap: 20px; }
}

/* Phone */

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid var(--lavender);
    color: var(--white);
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 10px 14px;
    cursor: pointer;
  }

  .nav .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
  }

  .nav.open .links { display: block; }

  .nav ul { flex-direction: column; gap: 0; }

  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }

  .nav .cta-desktop { display: none; }

  .hero, .about, .speaking, .signup, .book-grid { grid-template-columns: 1fr; }

  .hero-photo { height: min(72vh, 120vw); }

  .hero-copy { padding: 48px var(--gutter) 64px; }

  .featured ul { gap: 20px 28px; }

  .about-photo { aspect-ratio: 1 / 1; }

  .creds { grid-template-columns: 1fr; }

  .footer .wrap { grid-template-columns: 1fr; }

  .footer .contact { text-align: left; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .btn span { padding: 14px 16px; }
  .btn .arrow { padding: 14px 14px; }
}

/* Training dropdown in the nav */

.nav .has-sub { position: relative; }

.nav .sub-trigger { display: inline-flex; align-items: center; gap: 8px; }

.nav .caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav .sub {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 230px;
  padding: 14px 0 10px;
  background: var(--black);
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 20;
}

.nav .has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: flex; margin-top: 14px; }

.nav .sub a { display: block; padding: 10px 20px; color: var(--gray); }

.nav .sub a:hover, .nav .sub a[aria-current="page"] { color: var(--white); background: rgba(140, 82, 255, 0.16); }

.nav ul a[aria-current="page"] { color: var(--white); }

/* Training pages */

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: min(84vh, 760px);
  background: var(--ink);
}

.page-hero .hero-photo img { object-position: center 35%; }

.page-hero .hero-copy .hero-slogan { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 22px; }

.page-hero .note {
  margin: 18px 0 0;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-hero .note a { color: var(--lavender); }

.stats {
  background: var(--purple);
  padding: 28px 0;
}

.stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
}

.stats span {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head { margin-bottom: 52px; }

.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }

.section-head .lead { margin-top: 18px; }

/* Pillars: what she trains */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pillar .photo { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; }

.pillar .photo img { width: 100%; height: 100%; object-fit: cover; }

.pillar h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.pillar h3 b { color: var(--purple); font-weight: 600; margin-right: 8px; }

.pillar p { color: var(--gray); font-size: 15px; margin: 0; }

.center-cta { text-align: center; margin-top: 52px; }

/* Split block: copy beside a photo */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split.flip > :first-child { order: 2; }

.split h2 { font-size: clamp(30px, 3.6vw, 46px); }

.split p { color: var(--gray); }

.split .photo img { width: 100%; }

.checks {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li { position: relative; padding-left: 30px; }

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 7px;
  height: 13px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
}

/* Option cards: private and small group */

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}

.option {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--black);
}

.option .photo { aspect-ratio: 16 / 10; overflow: hidden; }

.option .photo img { width: 100%; height: 100%; object-fit: cover; }

.option .body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }

.option h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.option p { color: var(--gray); margin: 0 0 8px; }

.option .checks { margin: 16px 0 28px; }

.option .btn { margin-top: auto; align-self: flex-start; }

/* Photo gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery figure { margin: 0; overflow: hidden; }

.gallery img { width: 100%; height: 100%; object-fit: cover; }

.gallery .tall { grid-row: span 2; }

.gallery .wide { grid-column: span 2; }

/* Steps: how to get started */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.steps li {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps .num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 64px;
  line-height: 0.9;
  color: var(--purple);
}

.steps h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 16px 0 10px;
}

.steps p { color: var(--gray); margin: 0; font-size: 15px; }

/* Coach strip */

.coach {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.coach img { width: 100%; }

.coach h2 { font-size: clamp(28px, 3.2vw, 42px); }

.coach p { color: var(--gray); }

/* Booking band, the last big call to action */

.book-band {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
  text-align: center;
  background: var(--black) center / cover no-repeat;
}

.book-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 10, 31, 0.82), rgba(0, 0, 0, 0.9));
}

.book-band .wrap { position: relative; }

.book-band h2 { font-size: clamp(32px, 5vw, 62px); margin-bottom: 18px; }

.book-band p { max-width: 54ch; margin: 0 auto 34px; color: var(--lavender); }

.book-band .btn-row { justify-content: center; }

.book-band .fine { margin: 26px auto 0; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }

.book-band .fine a { color: var(--lavender); }

/* Sticky booking bar on phones */

.book-bar { display: none; }

@media (max-width: 1024px) {
  .pillars, .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav .has-sub::after { display: none; }
  .nav .sub-trigger { display: flex; }
  .nav .sub li:last-child a { border-bottom: 0; }
  .nav .caret { display: none; }
  .nav .sub {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0 0 0 18px;
    margin: 0;
    background: none;
    border: 0;
  }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { margin-top: 0; }
  .nav .sub a { padding: 12px 0; background: none; }

  .page-hero, .split, .options, .coach { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }

  .book-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: var(--black);
    border-top: 1px solid var(--line);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  }
  .book-bar .btn { flex: 1; }
  .book-bar .btn span:first-child { flex: 1; justify-content: center; }
  body.has-book-bar { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; }
}

.page-hero .lead { margin: 0 0 30px; }

.split .photo img[src$=".png"] { max-width: 520px; margin: 0 auto; }

/* Lighter tint for darker background photos in the booking band */
.book-band.light::before { background: linear-gradient(180deg, rgba(18, 10, 31, 0.5), rgba(0, 0, 0, 0.72)); }

/* Training page heroes on phones: taller photo so the whole athlete shows */
@media (max-width: 820px) {
  .page-hero .hero-photo { height: auto; aspect-ratio: 4 / 5; }
}

/* Card buttons: a second button can sit under the first, and on wide screens every card
   reserves room for two so the photos stay lined up */
.card-actions { display: flex; flex-direction: column; gap: 10px; }

@media (min-width: 1025px) {
  .card-actions { min-height: 138px; }
}

/* Compact menu below 1060px wide: the full menu (with Training and Explore dropdowns) no longer fits */
@media (max-width: 1060px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid var(--lavender);
    color: var(--white);
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 10px 14px;
    cursor: pointer;
  }
  .nav .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav.open .links { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .cta-desktop { display: none; }
  .nav .has-sub::after { display: none; }
  .nav .caret { display: none; }
  .nav .sub-trigger { display: flex; }
  .nav .sub {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0 0 0 18px;
    margin: 0;
    background: none;
    border: 0;
  }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { margin-top: 0; }
  .nav .sub a { padding: 12px 0; background: none; }
  .nav .sub li:last-child a { border-bottom: 0; }
}

/* Close-up speaking photo inside the Speaking text column */
.speaking-photo { margin: 26px 0 8px; aspect-ratio: 4 / 3; overflow: hidden; }
.speaking-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* The keyword line above each big slogan is the page's H1 for search engines,
   styled like the small spaced capitals label */
h1.eyebrow { line-height: 1.5; }

/* FAQ on the training pages */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.3;
}
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-label);
  font-size: 28px;
  line-height: 1;
  color: var(--purple);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--gray); margin: 0 0 24px; max-width: 70ch; }
.faq-item summary:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 4px; }

/* Forms (Netlify Forms) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.es-form { margin: 30px 0 8px; display: grid; gap: 16px; }
.es-form .form-title {
  margin: 0 0 4px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.es-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.es-form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
}
.es-form input, .es-form select, .es-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  font: 400 16px/1.4 var(--font-body);
  letter-spacing: normal;
  text-transform: none;
  padding: 12px 14px;
}
.es-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lavender) 50%), linear-gradient(135deg, var(--lavender) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.es-form select option { color: #000; }
.es-form input:focus, .es-form select:focus, .es-form textarea:focus { outline: none; border-color: var(--purple-light); }
.es-form .btn { justify-self: start; }
.es-form .fine { margin: 0; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.es-form .fine a { color: var(--lavender); }
@media (max-width: 560px) { .es-form .field-row { grid-template-columns: 1fr; } }

/* Simple pages: thank-you and not-found */
.simple-page { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.simple-page h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
.simple-page p { color: var(--gray); max-width: 52ch; margin: 0 auto 30px; }
.simple-page .btn-row { justify-content: center; }

/* Remote training: second hero photo, real coaching cards, consult fee card */
.hero-photo.duo .inset {
  position: absolute;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 36px);
  width: clamp(150px, 34%, 280px);
  margin: 0;
  background: var(--ink);
  border: 4px solid var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hero-photo.duo .inset img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; }
.hero-photo.duo figcaption {
  padding: 8px 10px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
  text-align: center;
}
.page-hero .note + .note { margin-top: 8px; }
.steps.real h3 { color: var(--white); }
.checks b { color: var(--white); font-weight: 600; }
.fee-card {
  align-self: center;
  border: 1px solid var(--line);
  border-top: 6px solid var(--purple);
  background: var(--black);
  padding: clamp(28px, 4vw, 48px);
}
.fee-card .fee {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.95;
  color: var(--purple);
  margin: 6px 0 10px;
}
.fee-card .fee-note { color: var(--white); font-size: 18px; font-weight: 600; margin: 0; }
.fee-card p { color: var(--gray); }
@media (max-width: 820px) {
  .hero-photo.duo .inset { width: 42%; }
}

/* Buttons that are real <button>s match the link buttons */
button.btn { font-family: var(--font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }

/* Speaking: keep the audience photo at the top of its column while the form scrolls by */
@media (min-width: 821px) {
  .speaking { align-items: start; }
  .speaking > div:last-child { position: sticky; top: 110px; }
}

/* Home: college programs carousel, between the hero and the Featured strip */
.colleges {
  background: var(--black);
  padding: clamp(40px, 5vw, 60px) 0 clamp(36px, 4.5vw, 52px);
  text-align: center;
  border-top: 1px solid var(--line);
}
.colleges .eyebrow { margin-bottom: 10px; }
.colleges h2 { font-size: clamp(24px, 2.8vw, 36px); max-width: 30ch; margin: 0 auto 12px; text-wrap: balance; }
.colleges .lead { margin: 0 auto 28px; max-width: 62ch; font-size: 15px; }
.college-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.college-row + .college-row { margin-top: 14px; }
.colleges .division {
  margin: 0;
  text-align: left;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
}
/* The scrolling strip: the track holds the list twice and slides left by half its width, then repeats */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: college-scroll 70s linear infinite;
  will-change: transform;
}
.college-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 45s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes college-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.colleges ul {
  list-style: none;
  margin: 0;
  padding: 0 26px 0 0;
  display: flex;
  gap: 26px;
}
.colleges li {
  flex: 0 0 auto;
  width: 70px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Transparent logos on black. A thin white edge traced around each logo keeps dark marks visible. */
.colleges li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}
@media (max-width: 560px) {
  .college-row { grid-template-columns: 1fr; gap: 8px; }
  .colleges .division { text-align: center; }
  .colleges li { width: 58px; height: 40px; }
  .colleges ul { gap: 20px; padding-right: 20px; }
}
/* People who turn off motion get a still row they can swipe or scroll sideways */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track ul[aria-hidden="true"] { display: none; }
}

/* Home hero: expert positioning (H1), location tags and photo credential badge */
.hero-expert {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 4px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--purple);
}

.hero-expert span { display: block; color: var(--purple-light); white-space: nowrap; }

.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 34px;
  padding: 0;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(168, 125, 255, 0.45);
  background: rgba(140, 82, 255, 0.12);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
}

.hero-tags svg { width: 15px; height: 15px; fill: none; stroke: var(--purple-light); stroke-width: 1.8; stroke-linejoin: round; }

.hero-badge {
  position: absolute;
  left: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  background: rgba(18, 10, 31, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 4px solid var(--purple);
  color: var(--white);
  max-width: calc(100% - 32px);
}

.hero-badge p { margin: 0; }

.hero-badge .hb-num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--purple-light);
}

.hero-badge .hb-num span { font-size: 14px; margin-left: 3px; letter-spacing: 0.04em; }

.hero-badge .hb-text {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.hero-badge .hb-text span { display: block; font-weight: 500; font-size: 11px; color: var(--gray); margin-top: 3px; }

@media (max-width: 480px) {
  .hero-expert { font-size: 15px; }
  .hero-expert span { white-space: normal; }
  .hero-tags { gap: 6px; }
  .hero-tags li { font-size: 10.5px; letter-spacing: 0.1em; padding: 6px 9px; gap: 5px; }
  .hero-tags svg { width: 13px; height: 13px; }
  .hero-badge { padding: 10px 14px 10px 12px; gap: 10px; }
  .hero-badge .hb-num { font-size: 30px; }
  .hero-badge .hb-text { font-size: 11px; }
  .hero-badge .hb-text span { font-size: 10px; }
}

/* Speaking photo: keep her face in frame */
.speaking-photo img.pos-top { object-position: center 4%; }

/* Reviews: one sideways scrolling row of Google review screenshots */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.reviews-head .display { font-size: clamp(30px, 3.6vw, 46px); margin: 0; }

.reviews-meta {
  margin: 14px 0 0;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
}

.rv-stars { color: #FBBC04; letter-spacing: 0.08em; margin-right: 6px; font-size: 15px; }

.rv-controls { display: flex; gap: 8px; flex-shrink: 0; }

.rv-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.rv-controls button:hover { background: var(--purple); border-color: var(--purple); }
.rv-controls button:disabled { opacity: 0.35; cursor: default; background: transparent; border-color: var(--line); }

.rv-track {
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(520px, 84vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
}

.rv-track:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 4px; }

.rv-card { scroll-snap-align: start; display: flex; }

.rv-open {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-top: 3px solid var(--purple);
  background: #fff;
  cursor: zoom-in;
  text-align: left;
}

.rv-open img { display: block; width: 100%; height: auto; }

.rv-dialog {
  max-width: min(900px, 94vw);
  padding: 18px 16px 16px;
  border: 0;
  border-top: 4px solid var(--purple);
  background: #fff;
}

.rv-dialog::backdrop { background: rgba(8, 4, 16, 0.85); }
.rv-dialog img { display: block; width: 100%; height: auto; }
.rv-dialog form { text-align: right; margin: -6px -4px 6px 0; }

.rv-close {
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

@media (max-width: 640px) {
  .reviews-head { align-items: flex-start; flex-direction: column; }
  .rv-controls { display: none; }
}
.rv-hint { display: none; }
@media (max-width: 640px) {
  .rv-hint { display: block; margin: -12px 0 14px; font-size: 13px; color: var(--gray); }
}
