/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  --color-bg: #1A1A18;
  --color-bg-elevated: #242420;
  --color-bg-sunken: #141412;
  --color-olive: #5C6440;
  --color-olive-light: #7A8459;
  --color-cream: #F0EBDD;
  --color-cream-muted: #B8B2A0;
  --color-amber: #D6A419;
  --color-amber-dark: #B98C13;
  --color-border: rgba(240, 235, 221, 0.14);

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container-width: 1200px;
  --gap-lg: 3rem;
  --gap-md: 1.5rem;
  --gap-sm: 0.75rem;

  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-cream);
  background: var(--color-bg);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-amber);
  color: var(--color-bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* Shared buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-amber);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-amber-dark);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem var(--gap-md);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap-md);
}

.logo {
  justify-self: start;
}

.logo img {
  height: 48px;
  width: auto;
}

.primary-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: var(--gap-md);
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-item--home > a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  color: inherit;
}

.nav-item.has-submenu:hover .submenu,
.nav-item.has-submenu:focus-within .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  padding: 0.5rem 0;
}

.submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.submenu li a:hover {
  background: var(--color-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  justify-self: end;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cream-muted);
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  line-height: 0;
}

.social-list svg {
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--color-cream);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-bg-sunken);
  color: var(--color-cream-muted);
  padding: var(--gap-lg) var(--gap-md) var(--gap-md);
}

.footer-top {
  max-width: var(--container-width);
  margin: 0 auto var(--gap-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-md);
  padding-bottom: var(--gap-md);
  border-bottom: 1px solid var(--color-border);
}

.footer-top--flush {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-size: 0.85rem;
  color: var(--color-cream-muted);
}

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

.photo-carousel {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-elevated);
  margin-bottom: var(--gap-md);
}

.photo-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.photo-carousel-track::-webkit-scrollbar {
  display: none;
}

.photo-carousel-track img {
  flex: 0 0 auto;
  height: 320px;
  width: auto;
  max-width: 85%;
  object-fit: cover;
  scroll-snap-align: start;
  filter: grayscale(20%);
}

.photo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(20, 20, 18, 0.7);
  color: var(--color-cream);
  font-size: 1.3rem;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-carousel-btn:hover {
  background: var(--color-olive);
  border-color: var(--color-olive);
}

.photo-carousel-btn--prev {
  left: 0.75rem;
}

.photo-carousel-btn--next {
  right: 0.75rem;
}

.get-started-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-cream-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-amber);
  outline-offset: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.get-started-form .btn {
  align-self: flex-start;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-cream-muted);
  margin: 0;
}

.form-status {
  font-size: 0.9rem;
  color: var(--color-amber);
  margin: 0;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  color: var(--color-cream);
}

.form-status a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.form-honeypot {
  display: none;
}

.get-started-form button[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* Mobile: nav collapses behind hamburger toggle, single-column grids */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
    order: 2;
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
  }

  .primary-nav {
    order: 3;
    flex-basis: 100%;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .submenu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .nav-item.has-submenu.is-open .submenu {
    display: block;
  }

  /* With the social icons gone, Get Started fits on the logo/Menu row. */
  .header-actions {
    order: 1;
    margin-left: auto;
  }

  .photo-carousel-track img {
    height: 220px;
    max-width: 80%;
  }

  .photo-carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Redesign: shared layer
   Chakra Petch display + Archivo text. Chamfered corners echo the cut
   hexagon in the FSM mark; hexagon markers echo the logo's badge.
   ========================================================================== */
:root {
  --font-display: "Chakra Petch", "Segoe UI", sans-serif;
  --font-text: "Archivo", var(--font-base);
  --color-olive-wash: #23261C;
  --color-olive-text: #8E9868; /* olive tuned to pass 4.5:1 on charcoal for small text */
  --chamfer: 28px;
  --chamfer-clip: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  --hex-clip: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

main {
  font-family: var(--font-text);
}

/* Charcoal with flowing contour bundles behind every page. It scrolls with the
   content: the line tile spans the page width and repeats down its length
   without seams. */
body {
  background:
    url("../images/flow-bg.svg") top center / 100% auto repeat-y,
    var(--color-bg);
}

/* Narrower screens use a tile drawn for their width so strands keep their weight. */
@media (max-width: 900px) {
  body {
    background:
      url("../images/flow-bg-tall.svg") top center / 100% auto repeat-y,
      var(--color-bg);
  }
}

main h1,
main h2,
main h3,
main h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

main :focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 3px;
}

/* Header and footer pick up the display face for nav and actions. */
.primary-nav,
.site-header .btn,
.nav-toggle,
.footer-contact {
  font-family: var(--font-display);
}

.site-header .btn {
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Interior page head: big left-aligned title, intro, actions ------------- */
.page-head {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--gap-md) clamp(2rem, 5vw, 4rem);
}

.page-head h1 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-head-kicker {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-olive-text);
  margin-bottom: 1rem;
}

.page-head-intro {
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-cream);
}

.page-head-sub {
  margin: -0.5rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-amber);
}

.page-head .cut-ctas {
  margin-top: 2rem;
}

.cut-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
}

/* Chamfered photo with olive offset plate (home About, interior heads). */
.plate-photo {
  position: relative;
  margin: 0;
}

.plate-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--color-olive);
  clip-path: var(--chamfer-clip);
}

.plate-photo img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: var(--chamfer-clip);
}

/* Banner ---------------------------------------------------------------- */
/* Transparent logo sits straight on the textured page ground. */
.home-banner {
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--gap-md) clamp(1rem, 3vw, 2rem);
}

/* Logo is vector; its tagline is live text sized in container units so it
   scales in step with the artwork at every width. */
.home-logo {
  container-type: inline-size;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.home-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-logo-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3cqw;
  margin: 1.1cqw 0 0;
  font-family: var(--font-display);
  font-size: 2.05cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #DBD1BB;
}

.home-logo-tagline::before,
.home-logo-tagline::after {
  content: "";
  width: 4cqw;
  height: 0.22cqw;
  background: currentColor;
}

/* On phones the logo runs wider than the screen so the wordmark stays
   legible; the side rules trail off past the edges. */
@media (max-width: 600px) {
  .home-banner {
    padding-left: 0;
    padding-right: 0;
  }

  .home-logo {
    width: 165%;
    max-width: none;
    margin-left: -32.5%;
  }
}

/* Key values: three centered columns side by side ----------------------- */
.home-values {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gap-md);
}

.statement-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.statement-rows li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
}

.statement-rows h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.9vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-amber);
}

.statement-rows p {
  margin: 0;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.5;
  color: var(--color-cream);
}

/* About: photo, kinetic chain, text ------------------------------------- */
.home-about {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gap-md) clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) 7.5rem minmax(0, 6fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.home-about-photo {
  position: relative;
  margin: 0;
  align-self: start;
}

/* Olive offset plate behind the photo */
.home-about-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--color-olive);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

.home-about-photo img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}

/* The chain: a vertical rail read from the feet up. */
.kinetic-chain {
  --rail-progress: 1;

  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  margin: 0;
  padding: 0.25rem 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-cream-muted);
}

.kinetic-chain::before,
.kinetic-chain::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: var(--color-border);
}

.kinetic-chain::after {
  background: var(--color-olive-light);
  transform-origin: bottom;
  transform: scaleY(var(--rail-progress));
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.kinetic-chain li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.4s ease;
}

/* Hexagonal joint markers */
.kinetic-chain li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 18px;
  background: var(--color-olive-light);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background-color 0.4s ease;
  transition-delay: inherit;
}

.kinetic-chain li:first-child,
.kinetic-chain li:last-child {
  color: var(--color-cream);
}

.kinetic-chain li:first-child::before {
  background: var(--color-amber);
}

/* Before it draws in (set by main.js only when motion is allowed) */
.kinetic-chain.is-pending {
  --rail-progress: 0;
}

.kinetic-chain.is-pending li {
  color: var(--color-border);
}

.kinetic-chain.is-pending li::before {
  background: var(--color-border);
}

.kinetic-chain.is-pending li:first-child::before {
  background: var(--color-amber);
}

.kinetic-chain li:nth-child(2) { transition-delay: 0.3s; }
.kinetic-chain li:nth-child(3) { transition-delay: 0.55s; }
.kinetic-chain li:nth-child(4) { transition-delay: 0.8s; }
.kinetic-chain li:nth-child(5) { transition-delay: 1.05s; }
.kinetic-chain li:nth-child(6) { transition-delay: 1.3s; }

.home-about-text {
  align-self: center;
  max-width: 36rem;
}

.home-about-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.home-about-text p {
  color: var(--color-cream-muted);
  line-height: 1.65;
}

.home-about-text .home-about-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--color-cream);
  padding-left: 1rem;
  border-left: 3px solid var(--color-amber);
}

.home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-top: 2rem;
}

/* Chamfered buttons; focus ring sits inside since clip-path would hide an outer one. */
.cut-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 0.95rem 2rem;
  min-height: 48px;
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.cut-btn:focus-visible {
  outline-offset: -5px;
  outline-color: var(--color-bg);
}

.cut-btn--amber {
  background: var(--color-amber);
  color: var(--color-bg);
}

.cut-btn--amber:hover {
  background: var(--color-amber-dark);
}

.cut-btn--ghost {
  background: var(--color-bg-elevated);
  color: var(--color-cream);
}

.cut-btn--ghost:hover {
  background: var(--color-olive);
}

.cut-btn--ghost:focus-visible {
  outline-color: var(--color-amber);
}

/* Testimonials: pick a name, read the quote ----------------------------- */
.home-voices {
  background: var(--color-olive-wash);
  clip-path: polygon(0 var(--chamfer), var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
}

.home-voices-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gap-md);
}

.home-voices h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.voices {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

/* Without JS every quote is shown in sequence. */
.voices:not(.is-enhanced) {
  grid-template-columns: 1fr;
}

.voices-names {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(240, 235, 221, 0.12);
}

.voices-names[hidden] {
  display: none;
}

.voices-names button {
  appearance: none;
  background: none;
  border: 0;
  margin-left: -2px;
  border-left: 2px solid transparent;
  padding: 0.85rem 1rem;
  min-height: 48px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-cream-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.voices-names button:hover {
  color: var(--color-cream);
}

.voices-names button[aria-selected="true"] {
  color: var(--color-cream);
  border-left-color: var(--color-amber);
}

.voices-names button:focus-visible {
  outline-offset: -2px;
}

.voice {
  margin: 0 0 2.5rem;
  max-width: 44rem;
}

/* Panels share one cell so the band keeps the tallest quote's height. */
.voices.is-enhanced .voices-panels {
  display: grid;
}

.voices.is-enhanced .voice {
  grid-area: 1 / 1;
  margin: 0;
}

.voices.is-enhanced .voice[hidden] {
  display: block;
  visibility: hidden;
}

.voices.is-enhanced .voice:not([hidden]) {
  animation: voice-in 0.35s ease;
}

@keyframes voice-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.voice p {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.45;
  color: var(--color-cream);
}

.voice cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  color: var(--color-amber);
}

.voice cite::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--color-olive-light);
}

/* Gallery: reel carousel ---------------------------------------------- */
.home-gallery {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gap-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* Drop the boxed frame the athlete-gallery carousels use. */
.home-gallery.photo-carousel {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  margin-bottom: 0;
}

.home-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-md);
}

.home-gallery-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.home-gallery-follow {
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--color-amber);
  border-bottom: 1px solid currentColor;
}

.home-gallery-follow:hover {
  color: var(--color-cream);
}

/* Four reels plus a quarter of the fifth, so the overflow reads as scrollable.
   Vertical padding leaves room for the lift and shadow inside the scroller. */
.reel-track {
  --reel-gap: 12px;
  --reels-visible: 4.25;
  gap: var(--reel-gap);
  padding: 0.75rem 0 1.5rem;
}

.reel-track li {
  position: relative;
  flex: 0 0 calc((100% - var(--reel-gap) * (var(--reels-visible) - 0.25)) / var(--reels-visible));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--color-bg-elevated);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-track li:hover,
.reel-track li:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
}

.home-gallery .reel-track a,
.home-gallery .reel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.home-gallery .reel-track img {
  object-fit: cover;
  filter: none;
}

.home-gallery .reel-track a img {
  position: static;
}

/* Home responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
  .home-about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }

  .home-about-photo {
    grid-column: 1;
    grid-row: 1;
  }

  .home-about-text {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  /* Chain turns horizontal under the photo: feet on the left. */
  .kinetic-chain {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 1.5rem;
    font-size: 0.75rem;
  }

  .kinetic-chain::before,
  .kinetic-chain::after {
    top: 8px;
    bottom: auto;
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    height: 2px;
  }

  .kinetic-chain::after {
    transform-origin: left;
    transform: scaleX(var(--rail-progress));
  }

  .kinetic-chain li {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --chamfer: 18px;
  }

  /* "Compassionate" is too long for three columns at this width; stack them. */
  .statement-rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .statement-rows li {
    gap: 0.35rem;
    padding: 1rem 0;
  }

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

  .home-about-photo,
  .kinetic-chain,
  .home-about-text {
    grid-column: 1;
    grid-row: auto;
  }

  .home-about-photo {
    margin-right: 1.25rem;
  }

  .home-about-photo img {
    aspect-ratio: 5 / 4;
  }

  .kinetic-chain {
    margin-top: 1rem;
  }

  .voices.is-enhanced {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Names become a swipeable row above the quote. */
  .voices-names {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    border-left: 0;
    border-bottom: 2px solid rgba(240, 235, 221, 0.12);
    margin: 0 calc(var(--gap-md) * -1);
    padding: 0 var(--gap-md);
  }

  .voices-names::-webkit-scrollbar {
    display: none;
  }

  .voices-names button {
    flex: 0 0 auto;
    margin: 0 0 -2px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
  }

  .voices-names button[aria-selected="true"] {
    border-bottom-color: var(--color-amber);
  }

  .reel-track {
    --reels-visible: 3.25;
  }
}

@media (max-width: 480px) {
  /* Keep the two ends labelled; middle joints stay as markers. */
  .kinetic-chain li:not(:first-child):not(:last-child) {
    font-size: 0;
  }

  .home-ctas .cut-btn,
  .cut-ctas .cut-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .reel-track {
    --reels-visible: 2.25;
  }

  /* Arrows get their own row so the heading and handle stay on one line. */
  .home-gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel-track li {
    transition: none;
  }

  .kinetic-chain::after,
  .kinetic-chain li,
  .kinetic-chain li::before {
    transition: none;
  }

  .voices.is-enhanced .voice:not([hidden]) {
    animation: none;
  }
}

/* ==========================================================================
   Interior pages: shared pieces
   ========================================================================== */
/* Page head with a photo beside the text */
.page-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-head-photo {
  justify-self: end;
  width: 100%;
  max-width: 440px;
  margin-right: 1.25rem;
}

/* Hexagon bullets */
.tick-list {
  margin: 0 0 1.5rem;
}

.tick-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.75rem;
  color: var(--color-cream-muted);
  line-height: 1.6;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 11px;
  background: var(--color-olive-light);
  clip-path: var(--hex-clip);
}

/* Name / detail rows */
.roster {
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--color-border);
}

.roster li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.roster-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-cream);
}

.roster-note {
  color: var(--color-amber);
  font-size: 0.95rem;
  text-align: right;
}

.rank {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* ==========================================================================
   About page: career timeline
   ========================================================================== */
.timeline,
.principles {
  list-style: none;
  padding-left: 0;
}

.timeline {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem) var(--gap-md) clamp(3rem, 7vw, 5.5rem);
}

.timeline-stage {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
}

.timeline-stage h2 {
  position: sticky;
  top: 100px;
  align-self: start;
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.timeline-body {
  position: relative;
  max-width: 46rem;
  padding: 0.35rem 0 clamp(3rem, 6vw, 5rem) 2.5rem;
  border-left: 2px solid var(--color-olive);
}

/* Hexagon joint where each stage meets the rail */
.timeline-body::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 0.6rem;
  width: 20px;
  height: 22px;
  background: var(--color-olive-light);
  clip-path: var(--hex-clip);
}

.timeline-stage--now .timeline-body {
  border-image: linear-gradient(var(--color-olive), transparent) 1;
  padding-bottom: 0;
}

.timeline-stage--now .timeline-body::before {
  background: var(--color-amber);
}

.timeline-body p {
  color: var(--color-cream-muted);
  line-height: 1.7;
}

.timeline-body strong {
  color: var(--color-cream);
  font-weight: 600;
}

.timeline-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.principles {
  margin: 0.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.principles li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.principles strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.principles span {
  color: var(--color-cream-muted);
}

.timeline-body .timeline-closer {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--color-cream);
}

.timeline-body .cut-ctas {
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .timeline-stage {
    grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .page-head--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-head-photo {
    justify-self: start;
    max-width: 360px;
  }

  /* Rail moves to the left edge of each stage; heading sits on it. */
  .timeline-stage {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 1.5rem;
    border-left: 2px solid var(--color-olive);
  }

  .timeline-stage h2 {
    position: relative;
    top: auto;
    margin-bottom: 1rem;
  }

  .timeline-stage h2::before {
    content: "";
    position: absolute;
    left: calc(-1.5rem - 11px);
    top: 0.15em;
    width: 20px;
    height: 22px;
    background: var(--color-olive-light);
    clip-path: var(--hex-clip);
  }

  .timeline-stage--now h2::before {
    background: var(--color-amber);
  }

  .timeline-body {
    padding: 0 0 3rem;
    border-left: 0;
  }

  .timeline-body::before {
    content: none;
  }

  .timeline-stage--now {
    border-image: linear-gradient(var(--color-olive), transparent) 1;
  }

  .timeline-stage--now .timeline-body {
    border-image: none;
  }

  .roster-note {
    text-align: left;
  }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.service-rows {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gap-md) clamp(3rem, 7vw, 5.5rem);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 90px;
}

/* Flipped rows mirror the columns so every photo gets the same 5fr width. */
.service-row:nth-child(even) {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.service-row:nth-child(even) .service-row-photo {
  order: 2;
}

.service-row-photo {
  margin-right: 1.25rem;
}

.service-row-photo img {
  aspect-ratio: 4 / 3;
}

.service-row-text {
  max-width: 34rem;
}

.service-row-text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.service-row-text p {
  color: var(--color-cream-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .service-row:nth-child(even) .service-row-photo {
    order: 0;
  }

  /* The mobile header is ~80px (one row); land anchors below it. */
  .service-row {
    scroll-margin-top: 100px;
  }
}

/* ==========================================================================
   Athlete Gallery page
   ========================================================================== */
.page-head-statement {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--color-amber);
}

/* Standout results: the biggest feats up front, before the sections */
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.feats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(0.75rem, 1.6vw, 1rem) clamp(0.85rem, 1.8vw, 1.15rem);
  background: var(--color-bg-elevated);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.feat-stat {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-amber);
}

.feat-label {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--color-cream);
}

.feat-name {
  margin-top: auto;
  padding-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-olive-text);
}

@media (max-width: 768px) {
  .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  background: var(--color-bg-elevated);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.2s ease;
}

.jump-links a:hover {
  background: var(--color-olive);
}

.jump-links a:focus-visible {
  outline-offset: -4px;
}

.org-block {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gap-md);
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 80px;
}

.org-block-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.org-block-head h2 {
  flex: 1;
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.org-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Photo strip: controls live in the section head, not over the photos. */
.org-block .photo-carousel {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.photo-carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.org-block .photo-carousel-btn,
.home-gallery .photo-carousel-btn {
  position: static;
  transform: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--color-bg-elevated);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-size: 1.6rem;
}

.org-block .photo-carousel-btn:hover,
.home-gallery .photo-carousel-btn:hover {
  background: var(--color-olive);
}

.org-block .photo-carousel-btn:focus-visible,
.home-gallery .photo-carousel-btn:focus-visible {
  outline-offset: -4px;
}

.org-block .photo-carousel-track {
  gap: 6px;
}

.org-block .photo-carousel-track img {
  height: clamp(260px, 32vw, 420px);
  max-width: 85%;
  filter: none;
}

/* Mentor plate beside the roster */
.org-block-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.mentor {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-olive-wash);
  clip-path: var(--chamfer-clip);
}

/* Hexagonal portrait echoes the badge in the FSM mark */
.mentor-portrait {
  grid-row: span 2;
  margin: 0;
}

.mentor-portrait img {
  width: 112px;
  height: 124px;
  object-fit: cover;
  clip-path: var(--hex-clip);
}

.mentor-kicker {
  align-self: end;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-olive-text);
}

.mentor h3 {
  align-self: start;
  margin: 0.25rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.2;
}
.mentor .tick-list {
  grid-column: 1 / -1;
  margin: 1.25rem 0 0;
}

.mentor .tick-list li {
  font-size: 0.95rem;
}

.org-roster h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-cream-muted);
}

@media (max-width: 768px) {
  .org-block-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .org-block .photo-carousel-track img {
    height: 260px;
  }

  .org-block {
    scroll-margin-top: 100px;
  }
}

@media (max-width: 480px) {
  .mentor {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .mentor-portrait img {
    width: 84px;
    height: 93px;
  }

  .org-logo {
    width: 44px;
    height: 44px;
  }

  .org-block .photo-carousel-btn,
  .home-gallery .photo-carousel-btn {
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Get Started page
   ========================================================================== */
.start-layout {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--gap-md) clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas:
    "intro form"
    "photo form";
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.start-intro {
  grid-area: intro;
}

.start-intro h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.start-intro .cut-ctas {
  margin-top: 2rem;
}

.start-photo {
  grid-area: photo;
  margin-right: 1.25rem;
}

.start-photo img {
  aspect-ratio: 3 / 2;
}

.start-form {
  grid-area: form;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-olive-wash);
  clip-path: var(--chamfer-clip);
}

.start-form .form-group label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-cream);
}

/* 1rem text keeps phones from zooming in on focus */
.start-form .form-group input,
.start-form .form-group textarea {
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-bottom: 2px solid var(--color-olive-light);
  border-radius: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.start-form .form-group input:focus,
.start-form .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-amber);
}

.start-form .form-group input:focus-visible,
.start-form .form-group textarea:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 0;
}

.start-form .form-group textarea {
  min-height: 160px;
}

.start-form .form-note a {
  color: var(--color-cream);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 768px) {
  .start-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "form"
      "photo";
  }

  .start-photo {
    max-width: 420px;
  }
}

/* Very narrow phones: tighten the header row so logo, Get Started,
   and Menu stay on one line. */
@media (max-width: 400px) {
  .header-inner {
    column-gap: 0.75rem;
  }

  .header-actions .btn {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}
