:root {
  --green: #009B3A;
  --green-dark: #006B28;
  --gold: #FED100;
  --black: #000000;
  --ink: #111111;
  --ink-soft: #444444;
  --paper: #ffffff;
  --paper-alt: #f6f6f2;
  --radius: 12px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
/* Header + hero: wider column so the hero text sits closer to the left edge, aligned with the logo */
.container-wide { max-width: 1440px; padding-left: clamp(16px, 4vw, 56px); padding-right: clamp(16px, 4vw, 56px); }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .5px; line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
.lead { font-size: 1.15rem; }
.gold { color: var(--gold); }

.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; margin: 0 0 .75rem; color: var(--gold); }
.eyebrow.green { color: var(--green); }

.placeholder { background: #fff6c2; border-left: 4px solid var(--gold); padding: .5rem .75rem; font-size: .9rem; color: #5c4b00; }
.placeholder-light { opacity: .7; font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; border-bottom: 4px solid var(--green); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { height: 56px; width: 56px; object-fit: contain; transform: scale(1.15); }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.brand-name small { font-size: .85rem; color: var(--gold); letter-spacing: 1.5px; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--black); padding: .5rem 16px 1rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid #222; }
  .site-nav a.btn { margin-top: .8rem; text-align: center; border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: var(--black) url("../assets/images/training-session.jpg") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.32) 100%); }
/* Keeps hero text readable over the lighter tint */
.hero-text { text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.hero-content { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
.hero-text { max-width: 580px; }
/* Crest in the top-right corner of the hero, over the wall/sky so it doesn't cover people in the photo.
   The crest sits on a black square; the round mask hides the square's corners. */
.hero-crest {
  position: absolute; z-index: 1; top: 24px; right: clamp(8px, 3vw, 48px);
  width: clamp(150px, 15vw, 220px); height: auto;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 55%, transparent 61%);
  mask-image: radial-gradient(circle at 50% 48%, #000 55%, transparent 61%);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
@media (max-width: 820px) {
  .hero-crest { width: 110px; top: 12px; right: 4px; }
  /* Start the text below the crest so they never collide on short phones */
  .hero { align-items: flex-start; }
  .hero-content { padding-top: 132px; }
}
.hero-content .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--black); color: #fff; }
.section-green { background: var(--green); color: #fff; }
.section-green .lead { color: #eafff0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.center-v { display: flex; justify-content: center; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

.media-placeholder {
  display: grid; place-items: center; min-height: 200px; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #eee, #eee 12px, #e4e4e4 12px, #e4e4e4 24px);
  color: #777; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem;
}
.media-frame .media-placeholder { min-height: 360px; }
.media-frame img { border-radius: var(--radius); width: 100%; height: auto; }
#about .media-frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; max-height: 560px; }

.impact-photo { margin: 2.5rem auto 0; max-width: 900px; }
.impact-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 4px solid var(--gold); }
.impact-photo figcaption { text-align: center; margin-top: .75rem; font-weight: 600; color: #eafff0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.pillar-icon { font-size: 2rem; }
.pillar h3 { color: var(--gold); margin-top: .5rem; }
.pillar p { color: #ccc; margin: 0; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Program cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.card { background: var(--paper-alt); border-radius: var(--radius); padding: 1.75rem; border-top: 5px solid var(--green); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* Events */
.section-alt { background: var(--paper-alt); }
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.event { display: flex; gap: 1.25rem; background: #fff; border-radius: var(--radius); padding: 1.5rem; border-top: 5px solid var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.event-date {
  flex: none; width: 68px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--black); color: #fff; border-radius: 10px; line-height: 1;
}
.event-month { font-weight: 700; font-size: .8rem; letter-spacing: 1.5px; color: var(--gold); }
.event-day { font-family: var(--font-display); font-size: 2rem; margin-top: .2rem; }
.event-body { display: flex; flex-direction: column; min-width: 0; }
.event-body h3 { margin-bottom: .3rem; }
.event-body p { margin: 0 0 .75rem; }
.event-type { font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .75rem; color: var(--green); margin: 0 0 .3rem !important; }
.event-meta { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.event-rsvp { align-self: flex-start; margin-top: auto; }
.event-featured {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 2.5rem; align-items: center;
  margin-top: 2.5rem; padding: 2rem; background: var(--black); color: #fff; border-radius: var(--radius); border-left: 6px solid var(--gold);
}
.event-flyer { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.event-flyer img { width: 100%; height: auto; transition: transform .3s ease; }
.event-flyer:hover img { transform: scale(1.02); }
.event-featured-body { position: relative; }
.event-badge { display: inline-block; margin: 0 0 1rem !important; background: var(--green); color: #fff; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; padding: .3rem .8rem; border-radius: 999px; }
.event-date-lg { width: 84px; height: 88px; background: var(--gold); color: var(--black); margin-bottom: 1rem; }
.event-date-lg .event-month { color: var(--black); }
.event-date-lg .event-day { font-size: 2.6rem; }
.event-featured .event-type { color: var(--gold); }
.event-featured h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3rem; }
.event-presented { margin: 0 0 1.25rem; color: #ccc; }
.event-facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.event-facts li { padding-bottom: .5rem; border-bottom: 1px solid #262626; }
.event-facts strong { display: inline-block; width: 4.5rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; }
.event-featured-body > p:not(.event-type):not(.event-presented):not(.event-badge) { color: #e6e6e6; margin: 0 0 1.5rem; }
@media (max-width: 820px) {
  .event-featured { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; }
  .event-flyer { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 980px) { .events { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; } }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; align-items: stretch; }
.tier { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem 1.75rem; position: relative; }
.tier-featured { border: 4px solid var(--gold); transform: scale(1.03); }
.tier-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--black); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; padding: .3rem .8rem; border-radius: 999px; margin: 0; white-space: nowrap; }
.tier-price { font-weight: 700; color: var(--green); }
.tier ul { padding-left: 1.2rem; margin: 0; }
.tier li { margin-bottom: .4rem; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } .tier-featured { transform: none; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery-item { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; min-height: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
.video-feature {
  display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: 3rem; align-items: center;
  margin-top: 3rem; padding: 2rem; background: var(--paper-alt); border-radius: var(--radius); border-left: 6px solid var(--green);
}
.video-text h3 { font-size: 2.2rem; margin-bottom: .2rem; }
.video-role { margin: 0 0 1rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; }
.video-wrap video { width: 100%; height: auto; max-height: 540px; border-radius: var(--radius); background: var(--black); display: block; }
@media (max-width: 820px) {
  .video-feature { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; }
  .video-wrap { max-width: 300px; margin: 0 auto; width: 100%; }
}

/* Founder page */
.site-nav a[aria-current="page"] { color: var(--gold); }
.founder-hero { background: var(--black); color: #fff; padding: 4rem 0 4.5rem; }
.founder-hero h1 { margin-bottom: .15em; }
.founder-role { margin: 0 0 1.25rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: .9rem; }
.founder-hero .lead { color: #e6e6e6; }
.founder-hero .media-frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; max-height: 560px; border: 4px solid var(--green); }
.founder-stats { background: var(--gold); color: var(--black); padding: 2.5rem 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1000px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat p { margin: 0; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.stat-label { font-weight: 600; margin-top: .4rem !important; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; gap: 1.5rem; } }

.timeline { list-style: none; margin: 2rem 0 0; padding: 0 0 0 1.75rem; border-left: 4px solid var(--green); }
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(-1.75rem - 12px); top: .2rem;
  width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid var(--black);
}
.timeline-year { margin: 0 0 .25rem; font-weight: 700; color: var(--green); letter-spacing: 1.5px; }
.timeline-item h3 { font-size: 1.7rem; margin-bottom: .25rem; }
.timeline-item p:not(.timeline-year) { margin: 0; color: var(--ink-soft); }
.founder-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.founder-actions-left { justify-content: flex-start; }
.founder-link { display: inline-block; margin-top: .5rem; font-weight: 700; color: var(--green); }

/* Form */
.contact-form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 2px solid #ddd; border-radius: 8px; font: inherit; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.contact-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--black); color: #fff; padding: 2.5rem 0; border-top: 4px solid var(--gold); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.footer-inner p { margin: 0; }
.footer-contact a { color: var(--gold); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.contact-direct a { color: var(--green); font-weight: 700; }
.icon-link { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; vertical-align: bottom; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }
