:root {
  color-scheme: light;
  --paper: #f5f3ea;
  --white: #fffdf6;
  --ink: #161c16;
  --muted: #4d554b;
  --dark: #151d16;
  --green: #d4eb87;
  --line: #d3d6c6;
  --label: #42582e;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #88832b; outline-offset: 5px; }
img { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1; letter-spacing: -.055em; }
.wrap { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; transform: translateY(-160%); z-index: 5; padding: .7rem 1rem; background: var(--white); }
.skip:focus { transform: none; }
.masthead { background: var(--dark); color: var(--white); border-bottom: 1px solid #374336; }
.bar, .footer-bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; font-weight: 720; white-space: nowrap; }
.mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); color: var(--dark); border-radius: 50%; font-weight: 830; }
nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
nav a { text-decoration: none; color: #ecefe2; font-size: .91rem; font-weight: 600; }
nav a:hover { color: var(--green); }
.hero { background: var(--dark); color: var(--white); overflow: hidden; }
.hero-grid { min-height: 625px; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; }
.hero-copy { padding: 69px 0 72px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .71rem; line-height: 1.35; font-weight: 790; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.eyebrow span { width: .52rem; height: .52rem; background: currentColor; border-radius: 50%; flex: none; }
.hero .eyebrow { color: var(--green); }
h1 { font-size: clamp(5.3rem, 9.1vw, 9.1rem); line-height: .82; letter-spacing: -.09em; margin: .24em 0 .24em -.059em; font-weight: 840; }
h1 em { color: var(--green); font-style: normal; }
.intro { font-size: clamp(1rem, 1.55vw, 1.23rem); color: #d5dfd0; max-width: 450px; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .95rem; padding: .76rem .95rem; border: 1px solid #63735c; border-radius: 4px; text-decoration: none; font-weight: 680; font-size: .88rem; }
.button:hover { border-color: var(--green); }
.button.primary { background: var(--green); color: var(--dark); border-color: var(--green); }
.button.primary:hover { background: #efffc1; }
.track { position: relative; height: min(43vw, 515px); min-height: 350px; border: 1px solid #40513b; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 86% 22%, #536746 0%, #2c3c2b 40%, #1c281d 82%); }
.track::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(126deg, transparent 0 3px, #10191020 3px 4px), linear-gradient(90deg,#131b1752,transparent 28% 80%,#131b1752); }
.lanes { position: absolute; inset: 0; transform: rotate(-23deg) scale(1.09); }
.lanes i { position: absolute; height: calc(100% - var(--offset)); width: calc(172% - var(--offset)); left: -64%; top: calc(var(--offset) / 2); border: 1px solid #c2d69c9c; border-radius: 44% 58% 58% 44% / 50%; }
.lanes i:nth-child(1) { --offset: -7%; }
.lanes i:nth-child(2) { --offset: 7%; }
.lanes i:nth-child(3) { --offset: 21%; }
.lanes i:nth-child(4) { --offset: 35%; }
.lanes i:nth-child(5) { --offset: 49%; }
.lanes i:nth-child(6) { --offset: 63%; }
.start-line { position: absolute; border-left: 1px dashed #dfefb8ab; height: 130%; top: -15%; left: 62%; transform: rotate(33deg); }
.track-monogram { position: absolute; z-index: 1; bottom: 5%; right: 7%; color: #e2eecc; font-size: clamp(3rem, 7vw, 7.75rem); font-weight: 800; letter-spacing: -.12em; line-height: .82; }
.about, .training { padding: 88px 0 94px; scroll-margin-top: 10px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 9%; margin-top: 17px; }
h2 { font-size: clamp(2.75rem, 5.6vw, 5.1rem); font-weight: 810; }
.lead { margin: 26px 0 13px; font-size: 1.15rem; font-weight: 600; max-width: 41ch; }
.about-grid > div > p:not(.lead), .experience p { color: var(--muted); }
.about-grid > div > p { max-width: 48ch; }
.experience { padding-top: 7px; }
.experience article { padding: 17px 0 19px; border-top: 1px solid var(--line); }
.experience article:last-child { border-bottom: 1px solid var(--line); }
h3 { font-size: 1.35rem; font-weight: 780; }
.experience p { margin-top: .55rem; }
.training { background: #e7ebdc; }
.training h2 { margin-top: 13px; }
.training-intro { margin-top: 16px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.program { background: var(--white); border: 1px solid #cdd2bf; display: flex; flex-direction: column; min-width: 0; }
.poster { height: clamp(205px, 25vw, 310px); display: grid; place-items: start center; overflow: hidden; padding-top: 22px; }
.poster-running { background: #252c20; }
.poster-ruck { background: #353b2c; }
.poster img { width: min(70%, 265px); height: auto; display: block; box-shadow: 0 12px 36px #101510a6; transform: rotate(-3deg); }
.poster-ruck img { transform: rotate(3deg); }
.program-body { padding: 26px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.program-body h3 { font-size: clamp(1.45rem, 3vw, 2.25rem); margin: 10px 0; }
.program-body p:not(.eyebrow) { color: var(--muted); margin-bottom: 18px; }
.text-link { font-weight: 740; text-decoration: none; border-bottom: 1px solid currentColor; display: inline-flex; gap: .65rem; align-items: baseline; }
.text-link:hover { color: var(--label); }
.program-body .text-link { margin-top: auto; }
.footer-bar { min-height: 88px; }
.footer-bar p { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { min-height: 510px; }
  .about-grid { gap: 5%; }
  h1 { font-size: clamp(4.3rem, 11vw, 6rem); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 66px; gap: .7rem; }
  nav { gap: 16px; }
  .desktop { display: none; }
  .hero-grid, .about-grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 60px 0 34px; }
  .track { margin-bottom: 27px; min-height: 0; height: 54vw; }
  .about, .training { padding: 56px 0; }
  .experience { margin-top: 15px; }
  .footer-bar { flex-wrap: wrap; padding: 21px 0; justify-content: space-between; }
  .footer-bar p { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
