/* Carters Run: dark forest green with high-vis lime, like their race video titles. Mobile first. */
:root { --bg:#0E1A14; --bg2:#13241B; --ink:#F2F5EE; --soft:#A9B8AC; --lime:#C8F031; --line:rgba(242,245,238,.14);
  --display:'Big Shoulders Display', Impact, sans-serif; --sans:'Inter', system-ui, sans-serif; --ease:cubic-bezier(.16,1,.3,1); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 9vw, 4rem); line-height: .95; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 24px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }

.btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn-lime { background: var(--lime); color: #0E1A14; }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-small { padding: 8px 16px; background: var(--lime); color: #0E1A14; font-size: .92rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(14,26,20,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { font-family: var(--display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--lime); }
.links { display: none; gap: 26px; font-weight: 500; }
.links a { text-decoration: none; color: var(--soft); } .links a:hover { color: var(--ink); }

/* Hero: contour lines behind, two runners side by side */
.hero { position: relative; padding: 44px 0 0; overflow: hidden; isolation: isolate; }
.topo { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-radial-gradient(ellipse at 80% 30%, transparent 0 22px, rgba(200,240,49,.10) 22px 23.5px),
              repeating-radial-gradient(ellipse at 10% 90%, transparent 0 30px, rgba(200,240,49,.07) 30px 31.5px); }
.hero-in { display: grid; gap: 34px; align-items: center; }
.title { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 26vw, 9.5rem); line-height: .82; text-transform: uppercase; margin-bottom: 20px; }
.title span { color: var(--lime); }
.lead { font-size: clamp(1.05rem, 4vw, 1.2rem); color: var(--soft); max-width: 36ch; margin-bottom: 26px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; width: 100%; justify-self: center; padding-bottom: 26px; }
.duo figure { position: relative; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.4); animation: up .9s var(--ease) both; }
.duo .p2 { translate: 0 26px; animation-delay: .12s; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: 4px; background: var(--lime); color: #0E1A14; font-family: var(--display); font-weight: 900; font-size: 1.15rem; text-transform: uppercase; }
@keyframes up { from { opacity: 0; translate: 0 30px; } }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 46px; background: var(--line); border-top: 1px solid var(--line); padding: 0; }
.stats div { background: var(--bg); padding: 20px 18px; }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--lime); }
.stats span { font-size: .88rem; color: var(--soft); }

/* Sections */
.section { padding: 76px 0; }
.section-dark { background: var(--bg2); }
.section-lime { background: var(--lime); color: #0E1A14; }
.intro { color: var(--soft); max-width: 62ch; margin: -8px 0 30px; }
.more { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--lime); }

.kosci { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.kosci-in { display: grid; gap: 34px; align-items: center; }
.kosci p { color: var(--soft); max-width: 60ch; margin-bottom: 16px; }

/* Brothers */
.bros { display: grid; gap: 20px; }
.bro { background: var(--bg2); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.bro img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; object-position: center 30%; }
.bro-body { padding: 22px 22px 24px; }
.bro h3 { font-family: var(--display); font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: 1; }
.handle { display: inline-block; margin: 4px 0 16px; color: var(--lime); font-weight: 500; text-decoration: none; }
.results { list-style: none; }
.results li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--soft); }
.results b { display: inline-block; min-width: 92px; color: var(--ink); font-family: var(--display); font-size: 1.3rem; }
.note { margin-top: 22px; color: var(--soft); font-style: italic; }

/* Training cards */
.cards { display: grid; gap: 14px; }
.card { padding: 22px; border-radius: 10px; background: var(--bg); border-left: 4px solid var(--lime); }
.card b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 4px; }
.card p { color: var(--soft); font-size: .96rem; }

/* Video clips */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.clip { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; }
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.clip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; font-size: .82rem; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.clip.stopped::after { content: "▶"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0E1A14; font-size: 1.2rem; }
.kosci-clip { max-width: 340px; width: 100%; justify-self: center; }

/* Links */
.section-lime h2 { color: #0E1A14; }
.linklist { display: grid; gap: 12px; }
.linklist a { display: flex; flex-direction: column; padding: 18px 22px; border-radius: 10px; background: #0E1A14; color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.linklist a:hover { transform: translateY(-3px); }
.linklist b { font-family: var(--display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; }
.linklist b::after { content: " ↗"; color: var(--lime); }
.linklist span { color: var(--soft); font-size: .92rem; }

.foot { border-top: 1px solid var(--line); padding: 30px 0; font-size: .9rem; color: var(--soft); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; }
.credit a { color: var(--ink); }

/* Fade up on scroll (only when JS adds .rv) */
.rv { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.rv.in { opacity: 1; translate: 0 0; }

@media (max-width: 520px) { .clips { grid-template-columns: 1fr 1fr; } .clips .clip:last-child { grid-column: 1 / -1; } .clips .clip:last-child video { aspect-ratio: 4 / 5; } }
@media (min-width: 760px) {
  .wrap { padding: 0 36px; }
  .links { display: flex; }
  .hero { padding-top: 70px; }
  .hero-in { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .kosci-in { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .bros { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .linklist { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; translate: none; } }
