/* ============================================
   Exception Training — stylesheet
   ============================================ */

:root {
  --ink: #0b1a2e;        /* darkest navy — page-deep backgrounds */
  --navy: #16304f;        /* core dark navy — header, bands */
  --harbor: #1f3f66;      /* mid navy — cards on dark */
  --steel: #4a7ab5;       /* brand blue, pulled from the logo */
  --steel-light: #7fa4d1;
  --silver: #c9d0da;      /* logo ring metallic */
  --bone: #f4f2ec;        /* warm off-white section background */
  --bone-dim: #e9e5db;
  --white: #ffffff;
  --ink-text: #152233;
  --amber: #d99433;       /* single warm accent — CTAs & stat numbers */
  --amber-dark: #b97722;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-text);
  background: var(--bone);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: var(--ink); padding: 0.75rem 1.25rem;
  z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}
.section-head h2 {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 3.1rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-head p {
  margin-top: 0.9rem;
  font-size: 1.1rem;
  color: #4a5668;
  max-width: 54ch;
}
.section-head.on-dark h2 { color: var(--white); }
.section-head.on-dark p { color: var(--silver); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #241404;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 0.9rem 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled {
  background: rgba(11, 26, 46, 0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.55rem 0;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand-logo { height: 42px; width: auto; transition: height 0.25s ease; }
.site-header.scrolled .brand-logo { height: 36px; }
.main-nav ul { display: flex; gap: 1.9rem; }
.main-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--white); padding: 0.3rem 0.1rem; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: var(--amber); transition: right 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta-group { display: flex; align-items: center; gap: 1rem; }
.btn-nav { padding: 0.65rem 1.3rem; font-size: 0.9rem; }

.nav-toggle {
  display: none; background: none; border: none; width: 40px; height: 34px;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 0; background: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; text-align: center; gap: 2rem; }
  .main-nav a { font-size: 1.6rem; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,36,0.55) 0%, rgba(10,20,36,0.35) 35%, rgba(8,16,28,0.88) 92%),
              linear-gradient(90deg, rgba(8,16,28,0.75) 0%, rgba(8,16,28,0.15) 62%);
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 var(--pad) clamp(3rem, 7vw, 5.5rem);
}
.hero-location {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--silver); margin-bottom: 1.1rem; max-width: 46ch;
}
.hero h1 {
  font-size: clamp(2.9rem, 5.4vw + 1rem, 5.8rem);
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero-sub {
  margin-top: 1.4rem; font-size: clamp(1.1rem, 1.1vw + 0.9rem, 1.35rem);
  max-width: 36ch; color: #eef1f5; font-style: italic; font-weight: 400;
}
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-reveal { opacity: 0; transform: translateY(16px); animation: reveal 0.9s ease forwards; }
.hero-reveal:nth-child(1) { animation-delay: 0.05s; }
.hero-reveal:nth-child(2) { animation-delay: 0.18s; }
.hero-reveal:nth-child(3) { animation-delay: 0.32s; }
.hero-reveal:nth-child(4) { animation-delay: 0.46s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-reveal { opacity: 1; transform: none; animation: none; } }

/* ---------- Section spacing ---------- */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
section[id] { scroll-margin-top: 90px; }
.on-dark { background: var(--ink); }

/* ---------- Pathways ---------- */
.pathway-list { border-top: 1px solid #d9d4c7; }
.pathway-row {
  display: grid; grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2rem; padding: 2rem 0; border-bottom: 1px solid #d9d4c7;
  align-items: baseline;
}
.pathway-row h3 {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem); color: var(--ink);
}
.pathway-row p { color: #4a5668; font-size: 1.05rem; max-width: 56ch; }
@media (max-width: 760px) {
  .pathway-row { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------- Results ---------- */
.results { background: var(--ink); color: var(--white); }
.athlete-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.athlete-card { display: flex; flex-direction: column; }
.athlete-photo { aspect-ratio: 3/4; background: var(--harbor); }

/* ---------- Phase photo: two images auto-crossfade forever ---------- */
.phase-photo {
  position: relative; overflow: hidden;
}
.phase-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  animation: phase-cycle 9s ease-in-out infinite;
}
.phase-photo img.phase-a { animation-delay: 0s; }
.phase-photo img.phase-b { animation-delay: -4.5s; }
@keyframes phase-cycle {
  0%, 38% { opacity: 1; }
  50%, 88% { opacity: 0; }
  100% { opacity: 1; }
}
.athlete-strip .athlete-card:nth-child(2) .phase-photo img { animation-duration: 10s; }
.athlete-strip .athlete-card:nth-child(3) .phase-photo img { animation-duration: 8.5s; }
.athlete-strip .athlete-card:nth-child(4) .phase-photo img { animation-duration: 9.5s; }
@media (prefers-reduced-motion: reduce) {
  .phase-photo img { animation: none; opacity: 0; }
  .phase-photo img.phase-a { opacity: 1; }
}
.athlete-quote {
  margin-top: 1rem; font-size: 0.98rem; color: #e7ebf1; flex: 1;
}
.athlete-quote q { quotes: "\201C" "\201D"; }
.athlete-name {
  margin-top: 0.9rem; font-family: var(--font-display); font-weight: 700; color: var(--white);
}
.athlete-role { font-size: 0.85rem; color: var(--silver); margin-top: 0.15rem; }

@media (max-width: 980px) {
  .athlete-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .athlete-strip { grid-template-columns: 1fr; }
}

.transformations h3 {
  font-size: clamp(1.6rem, 1.8vw + 1rem, 2.1rem); color: var(--white);
  margin-bottom: 2rem;
}
.transformation-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
@media (max-width: 980px) { .transformation-grid { grid-template-columns: 1fr; } }

.transform-card {
  background: var(--harbor); padding: 1.5rem; border-radius: 3px;
  display: flex; flex-direction: column; gap: 1rem;
}
.transform-stat {
  font-family: var(--font-display); font-weight: 900; color: var(--amber);
  font-size: 3.2rem; line-height: 1; letter-spacing: -0.02em;
}
.transform-stat span { font-size: 1.1rem; font-weight: 700; color: var(--silver); margin-left: 0.4rem; }

.transform-photo-swap {
  aspect-ratio: 3/4; border-radius: 2px; overflow: hidden;
  background: #0b1c30;
}
.transform-quote { font-size: 0.98rem; color: #e7ebf1; }
.transform-name { font-family: var(--font-display); font-weight: 700; }
.transform-role { font-size: 0.85rem; color: var(--silver); }

/* ---------- Founders ---------- */
.credentials-list {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.credentials-list li {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  color: var(--navy); background: var(--bone-dim); border: 1.5px solid var(--silver);
  padding: 0.5rem 1rem; border-radius: 20px; letter-spacing: 0.01em;
}
.founder-block {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem);
}
.founder-block.reverse { grid-template-columns: 1fr 340px; }
.founder-block.reverse .founder-photo { order: 2; }
.founder-photo {
  aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
}
.founder-photo img { width: 100%; height: 100%; object-fit: contain; }
.founder-copy p { color: #3c4a5c; font-size: 1.05rem; margin-bottom: 1rem; }
.founder-copy p:last-child { margin-bottom: 0; }
.founder-copy .founder-name {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(1.6rem, 2vw + 0.8rem, 2.3rem); margin-bottom: 0.2rem;
}
.founder-copy .founder-role {
  font-family: var(--font-display); font-weight: 600; color: var(--steel);
  font-size: 1rem; margin-bottom: 1.1rem;
}
@media (max-width: 760px) {
  .founder-block, .founder-block.reverse { grid-template-columns: 1fr; }
  .founder-block.reverse .founder-photo { order: 0; }
  .founder-photo img { aspect-ratio: 16/10; max-width: 420px; }
}

.approach-band {
  margin-top: clamp(2rem, 5vw, 3rem);
  border-radius: 4px; overflow: hidden; color: var(--white);
  display: grid; grid-template-columns: 1fr 1.2fr; background: var(--ink);
}
.approach-photo { background: #06111f; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.approach-photo img { width: 100%; height: 100%; object-fit: contain; max-height: 480px; }
.approach-inner { padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.approach-inner p { font-size: clamp(1.02rem, 1vw + 0.8rem, 1.2rem); line-height: 1.6; margin-bottom: 1rem; color: #e7ebf1; }
.approach-inner p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .approach-band { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem;
}
.step-num {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: 1rem; color: var(--amber-dark); margin-bottom: 1rem; letter-spacing: 0.02em;
}
.steps h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 0.6rem; }
.steps p { color: #4a5668; font-size: 1rem; }
.steps li { padding-top: 1.4rem; border-top: 3px solid var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Programs ---------- */
.program-list { border-top: 1px solid #d9d4c7; }
.program-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem;
  padding: 1.9rem 0; border-bottom: 1px solid #d9d4c7; align-items: center;
}
.program-row h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 0.4rem; }
.program-row p { color: #4a5668; font-size: 1rem; max-width: 54ch; }
.program-from {
  font-family: var(--font-display); font-weight: 700; color: var(--steel);
  white-space: nowrap; font-size: 1rem; text-align: right;
}
@media (max-width: 640px) {
  .program-row { grid-template-columns: 1fr; }
  .program-from { text-align: left; }
}
.programs-note { margin-top: 2rem; color: #4a5668; font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.accordion-item { border-bottom: 1px solid #d9d4c7; }
.accordion-item:first-child { border-top: 1px solid #d9d4c7; }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; background: none; border: none; padding: 1.5rem 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  list-style: none; cursor: pointer;
}
.accordion-trigger::-webkit-details-marker,
.accordion-trigger::marker { display: none; content: ""; }
.accordion-trigger .icon {
  flex-shrink: 0; width: 28px; height: 28px; position: relative;
}
.accordion-trigger .icon::before, .accordion-trigger .icon::after {
  content: ""; position: absolute; background: var(--ink); transition: transform 0.2s ease;
}
.accordion-trigger .icon::before { left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-50%); }
.accordion-trigger .icon::after { top: 4px; bottom: 4px; left: 50%; width: 2px; transform: translateX(-50%); }
.accordion-item[open] .accordion-trigger .icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion-panel { padding: 0 0 1.8rem; color: #3c4a5c; font-size: 1.02rem; max-width: 68ch; }
.accordion-panel p { margin-bottom: 0.9rem; }
.accordion-panel p:last-child { margin-bottom: 0; }

.price-grid { display: grid; gap: 0.9rem; margin: 1rem 0 1.3rem; }
.price-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.85rem 1.1rem; background: var(--bone-dim); border-radius: 2px;
}
.price-row .label { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.price-row .sub { display: block; font-family: var(--font-body); font-weight: 400; color: #5c6779; font-size: 0.85rem; margin-top: 0.15rem; }
.price-row .amount { font-family: var(--font-display); font-weight: 800; color: var(--steel); white-space: nowrap; }
.faq-fine { font-size: 0.9rem; color: #5c6779; }

/* ---------- Contact / Final CTA ---------- */
.contact { background: var(--ink); color: var(--white); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-copy h2 { color: var(--white); font-size: clamp(2.1rem, 3vw + 1rem, 3rem); }
.contact-copy > p { margin-top: 1.1rem; color: var(--silver); font-size: 1.08rem; max-width: 42ch; }
.contact-points { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-points li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-points .num { font-family: var(--font-display); font-weight: 900; color: var(--amber); font-size: 1.1rem; }
.contact-points .txt { color: #e7ebf1; font-size: 0.98rem; }
.contact-points .txt strong { color: var(--white); display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 0.15rem; }

@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; } }

.assessment-form {
  background: var(--harbor); padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 4px;
  display: grid; gap: 1.2rem;
}
.form-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--silver); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--white); padding: 0.8rem 0.9rem; border-radius: 2px; font-family: var(--font-body); font-size: 1rem;
}
.field input::placeholder, .field textarea::placeholder { color: #93a1b4; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field select option { color: #111; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 0.3rem; width: 100%; }
.form-note { font-size: 0.85rem; color: #93a1b4; margin-top: -0.3rem; }
.form-status { font-size: 0.95rem; margin-top: 0.2rem; }
.form-status.success { color: #8fd19e; }
.form-status.error { color: #e38b8b; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1626; color: var(--silver); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { height: 54px; width: auto; margin-bottom: 1.1rem; }
.footer-top p { font-size: 0.95rem; max-width: 34ch; color: #a7b2c1; }
.footer-col h4 { font-family: var(--font-display); color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.95rem; color: #a7b2c1; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  padding-top: 1.6rem; font-size: 0.85rem; color: #78869b;
}
