/* ===== Brand ===== */
:root {
  --orange: #fc4c02;
  --orange-dark: #d93f00;
  --ink: #1c1b1c;
  --ink-2: #262526;
  --line: rgba(255, 255, 255, .12);
  --paper: #f6f4f1;
  --text: #1c1b1c;
  --muted: #6b6866;
  --radius: 18px;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled, body.menu-open .site-header { background: rgba(28, 27, 28, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--orange); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 76px; left: 0; right: 0; height: calc(100dvh - 76px); background: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 20px;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .site-nav.open { transform: none; }
  .site-nav a:not(.btn) { font-size: 1.8rem; font-weight: 600; padding: 8px 0; }
  .site-nav .btn { margin-top: 18px; font-size: 1rem; padding: 14px 28px; }
}

/* ===== Hero ===== */
.hero {
  background: var(--ink); color: #fff;
  padding: 130px 0 80px; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; margin-bottom: .35em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.75); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 440px; }
}

/* ===== Manifesto ===== */
.manifesto { background: var(--orange); color: #fff; padding: 56px 0; }
.manifesto p {
  margin: 0; font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; max-width: 26ch;
}

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { margin-bottom: 48px; max-width: 640px; }
.section-sub { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-grid > div > p { color: var(--muted); max-width: 58ch; }
.about-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; position: sticky; top: 100px; background: var(--ink); }
.about-media video { width: 100%; height: 100%; object-fit: cover; }
.values { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid #dedad5; }
.values li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid #dedad5; }
.values h3 { margin-bottom: .25em; }
.values p { margin: 0; color: var(--muted); }
.value-num { font-weight: 700; color: var(--orange); font-size: .9rem; padding-top: 3px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { position: static; max-width: 440px; }
}

/* Schedule */
.run-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.run-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.run-card-accent { background: var(--orange); border-color: var(--orange); }
.run-day { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.run-card-accent .run-day { color: #fff; opacity: .85; }
.run-card h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.run-card dl { margin: 0 0 24px; display: grid; gap: 10px; }
.run-card dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.run-card-accent dl div { border-color: rgba(255,255,255,.3); }
.run-card dt { color: rgba(255,255,255,.6); }
.run-card-accent dt { color: rgba(255,255,255,.85); }
.run-card dd { margin: 0; font-weight: 600; text-align: right; }
.run-map { margin-top: auto; font-weight: 600; text-decoration: none; }
.run-map:hover { text-decoration: underline; }

/* Events */
.event-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #dedad5; }
.event { display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid #dedad5; }
.event-date { font-weight: 600; font-size: .85rem; letter-spacing: .1em; color: var(--muted); text-align: center; line-height: 1.1; }
.event-date span { display: block; font-size: 2.6rem; font-weight: 800; color: var(--orange); letter-spacing: -.03em; }
.event-body h3 { font-size: 1.4rem; margin-bottom: .3em; }
.event-body p { margin: 0; color: var(--muted); }

@media (max-width: 640px) {
  .event { grid-template-columns: 64px 1fr; gap: 18px; }
  .event-date span { font-size: 2rem; }
  .event .btn { grid-column: 2; justify-self: start; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ink-2); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.g-tall { grid-row: span 2; }
.g-placeholder { display: grid; place-items: center; border: 1px dashed var(--line); }
.g-placeholder img { width: 80px; height: 80px; object-fit: contain; opacity: .9; }
.g-placeholder:hover img { transform: none; }
.g-placeholder figcaption { position: absolute; bottom: 18px; font-size: .85rem; color: rgba(255,255,255,.55); }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-bottom: 1px solid #dedad5; }
.faq details:first-child { border-top: 1px solid #dedad5; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.15rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--orange); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 60ch; }

@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* Join */
.join { background: var(--orange); color: #fff; padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.join-inner { display: flex; flex-direction: column; align-items: center; }
.join-mark { width: 96px; height: 96px; margin-bottom: 28px; }
.join h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
.join p { font-size: 1.15rem; max-width: 46ch; opacity: .9; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.social {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; transition: transform .2s, background .2s;
}
.social:hover { transform: translateY(-2px); background: #000; }
.social svg { width: 20px; height: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 40px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; }
.footer-inner img { height: 40px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
