@layer reset, base, layout, components;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, figure, h1, h2, h3, p { margin: 0; }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  button { font: inherit; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    --forest: #102b21;
    --deep: #0a2118;
    --green: #236145;
    --lime: #dbfa65;
    --paper: #f8f7f0;
    --white: #fffefa;
    --muted: #506258;
    --line: #dce3d7;
    --desktop-header-height: 103px;
    --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
  }
  html { scroll-behavior: smooth; }
  body { background: var(--paper); color: var(--forest); font: 400 1rem/1.65 var(--body); }
  a { text-underline-offset: .24em; }
  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid #408963;
    outline-offset: 5px;
  }
  h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .96; text-transform: uppercase; }
  h2 { font-size: clamp(2.85rem, 6vw, 5.05rem); letter-spacing: -.015em; }
  h3 { font-size: clamp(1.72rem, 3.4vw, 2.2rem); }
  p + p { margin-top: .85rem; }
  ::selection { background: var(--lime); color: var(--deep); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
  }
}

@layer layout {
  .wrap { width: min(1192px, calc(100% - clamp(2rem, 9vw, 10rem))); margin-inline: auto; }
  .section { padding-block: clamp(4rem, 8vw, 7.25rem); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 6vw, 5.5rem); align-items: center; }
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
  .section-heading > p { max-width: 29ch; color: var(--muted); }
  .intro > p:not(.eyebrow) { margin-top: 1.35rem; color: var(--muted); max-width: 54ch; }
  .intro .text-link { margin-top: 1.35rem; }
  @media (max-width: 760px) {
    .split, .cards { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; }
  }
}

@layer components {
  .skip { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: .75rem; transform: translateY(-200%); background: var(--lime); color: var(--deep); }
  .skip:focus { transform: none; }
  .header { position: relative; z-index: 3; background: var(--deep); color: var(--white); border-bottom: 1px solid #ffffff26; }
  .nav-wrap { display: flex; min-height: calc(var(--desktop-header-height) - 1px); gap: 1.25rem; align-items: center; justify-content: space-between; }
  @media not all and (max-width: 1020px) {
    html { scroll-padding-top: calc(var(--desktop-header-height) + 1rem); }
    .header { position: sticky; top: 0; }
  }
  .brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; line-height: .9; white-space: nowrap; }
  .brand img { width: 62px; height: auto; flex: none; }
  .header .brand { gap: .8rem; }
  .header .brand img { width: 82px; }
  .header .brand span { font-size: 2.2rem; }
  .brand span { font: 800 1.85rem/.88 var(--display); letter-spacing: .035em; }
  .brand small { display: block; margin-top: .37rem; font: 700 .54rem/1 var(--body); letter-spacing: .15em; }
  nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
  nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
  nav a:not(.btn):hover, nav a[aria-current="page"] { color: var(--lime); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .45rem .7rem; border: 1px solid #ffffff70; border-radius: .35rem; background: transparent; color: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
  .menu-toggle span { width: 1em; font-size: 1.15rem; line-height: 1; text-align: center; }
  .menu-toggle[aria-expanded="true"] { background: var(--lime); color: var(--deep); }
  .btn, .text-link { display: inline-flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 800; }
  .btn { justify-content: center; padding: .85rem 1.15rem; min-height: 49px; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; background: var(--lime); color: var(--deep); transition: background .2s, color .2s, border-color .2s; }
  .btn:hover { background: #eeffab; }
  .btn-small { min-height: 42px; padding: .55rem .95rem; font-size: .85rem; }
  .btn-outline { background: transparent; border-color: #ffffff80; color: var(--white); }
  .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--forest); }
  .btn-dark { background: var(--deep); color: var(--white); }
  .btn-dark:hover { background: #284d36; }
  .text-link { color: var(--green); text-decoration-thickness: 1px; }
  a.text-link:hover { color: var(--deep); }
  .eyebrow { margin-bottom: .7rem; font-size: .72rem; line-height: 1.35; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--green); }
  .hero { isolation: isolate; position: relative; overflow: hidden; display: grid; align-items: center; min-height: min(628px, 86svh); background: var(--deep); color: var(--white); }
  .hero-media { position: absolute; inset: 0 0 0 27%; z-index: -3; }
  .hero-media img { height: 100%; width: 100%; object-fit: cover; object-position: 56% 52%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #0a2118 23%, #0a2118f5 34%, #0a211870 61%, #0a211811 100%), linear-gradient(0deg, #081b15ae, transparent 48%); }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, transparent 0 63px, #b3e6cc12 64px), repeating-linear-gradient(90deg, transparent 0 63px, #b3e6cc12 64px); mask-image: linear-gradient(90deg, #000, transparent 53%); pointer-events: none; }
  .hero-inner { padding-block: 4.25rem 5rem; }
  .hero-tag { color: var(--lime); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .65rem; }
  .hero-tag span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
  .hero h1 { font-size: clamp(4.8rem, 9.7vw, 9.4rem); line-height: .81; letter-spacing: -.025em; }
  .hero h1 em { color: var(--lime); font-style: normal; }
  .hero-text { margin-top: 1.7rem; max-width: 42ch; color: #e2eee5; font-size: clamp(1rem, 1.7vw, 1.15rem); }
  .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
  .quick { background: var(--lime); color: var(--forest); }
  .quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .quick-grid > div { padding: 1.35rem clamp(.6rem, 3vw, 2.6rem); border-left: 1px solid #102b2130; }
  .quick-grid > div:first-child { padding-left: 0; border-left: 0; }
  .quick-grid > div:last-child { padding-right: 0; }
  .quick strong { display: block; font: 800 clamp(1.36rem, 3.6vw, 2.45rem)/1 var(--display); text-transform: uppercase; }
  .quick span { display: block; margin-top: .38rem; font-size: clamp(.7rem, 1.3vw, .92rem); line-height: 1.32; }
  .feature-photo { position: relative; border-radius: .6rem; overflow: hidden; background: var(--line); }
  .feature-photo img { width: 100%; height: auto; aspect-ratio: 1.46; object-fit: cover; }
  .video-feature { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .6rem; background: var(--white); }
  .video-feature video { display: block; width: 100%; height: auto; aspect-ratio: 848 / 478; background: var(--deep); }
  .video-feature figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding: .85rem 1rem; }
  .video-feature figcaption strong { display: block; }
  .video-feature figcaption div span { display: block; color: var(--muted); font-size: .85rem; }
  .video-feature figcaption a { font-size: .85rem; font-weight: 800; color: var(--green); }
  .coach .feature-photo img { object-position: 50% 35%; }
  .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.8rem; }
  .values article { padding: 1.45rem; border-top: 2px solid #83a790; background: var(--white); }
  .values p { margin-top: .65rem; color: var(--muted); }
  .value-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .75rem; border-radius: 50%; background: #e9efdc; color: var(--green); font-size: 1.15rem; }
  .venues, .photo-section { background: #eaf0e5; }
  .card { overflow: hidden; border-radius: .6rem; border: 1px solid var(--line); background: var(--white); }
  .card > img, .event-card img { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; background: #d7e3d5; }
  .card-body { padding: clamp(1.2rem, 3vw, 1.7rem); }
  .card-body > p:not(.eyebrow) { margin-top: .65rem; color: var(--muted); }
  .card-body .text-link { margin-top: .9rem; }
  .events { background: var(--forest); color: var(--white); }
  .header a:focus-visible, .menu-toggle:focus-visible, .hero a:focus-visible, .footer a:focus-visible { outline-color: var(--lime); }
  .event-card { color: var(--forest); }
  .event-card a { display: block; text-decoration: none; }
  .event-card a:focus-visible { outline-offset: -4px; }
  .event-card a:hover .text-link { text-decoration: underline; }
  .event-card img { transition: filter .2s; }
  .event-card a:hover img { filter: brightness(1.1); }
  .faq { align-items: start; }
  details { border-bottom: 1px solid #ccd8cb; }
  details:first-child { border-top: 1px solid #ccd8cb; }
  summary { position: relative; padding: 1rem 2rem 1rem 0; list-style: none; cursor: pointer; font-weight: 800; }
  summary::-webkit-details-marker { display: none; }
  summary::after { position: absolute; right: .25rem; content: "+"; color: var(--green); }
  details[open] summary::after { content: "−"; }
  details p { padding: 0 1rem 1rem 0; color: var(--muted); }
  .enroll { background: var(--lime); color: var(--deep); padding-block: clamp(3.25rem, 7vw, 5.2rem); }
  .enroll-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; }
  .enroll h2 + p { margin-top: .85rem; max-width: 52ch; }
  .contact-number { font-weight: 800; font-size: .9rem; margin-top: .65rem; }
  .footer { background: var(--deep); color: #e4efe7; padding-top: 3rem; }
  .footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 2rem; }
  .footer-grid h2 { font: 800 1rem/1.3 var(--body); margin-bottom: .5rem; text-transform: none; }
  .footer-grid p { font-size: .9rem; margin: .5rem 0; color: #bccdc2; }
  .footer-grid > div > a:not(.brand) { display: block; width: fit-content; font-size: .9rem; overflow-wrap: anywhere; }
  .footer a:hover { color: var(--lime); }
  .partner-recommendation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.5rem; margin-top: 1.75rem; padding: .9rem 1.15rem; border: 1px solid #ffffff29; border-radius: .35rem; }
  .partner-recommendation h2 { font: 800 .9rem/1.35 var(--body); text-transform: none; }
  .partner-recommendation p { margin-top: .3rem; color: #bccdc2; font-size: .82rem; }
  .partner-recommendation a { flex: none; color: var(--lime); font-size: .85rem; font-weight: 700; }
  .footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid #ffffff29; margin-top: 2.5rem; padding: 1rem 0; font-size: .8rem; color: #bccdc2; }
  .page-top { padding-block: clamp(3.2rem, 7vw, 6.5rem); background: var(--forest); color: var(--white); }
  .page-top .eyebrow { color: var(--lime); margin-top: 1.2rem; }
  .page-top h1 { font-size: clamp(3.3rem, 9vw, 7.5rem); max-width: 16ch; }
  .page-top h1 + p { max-width: 58ch; margin-top: 1.15rem; color: #dbe8df; }
  .page-top a:focus-visible { outline-color: var(--lime); }
  .reading { max-width: 74ch; }
  .reading h2 { font-size: clamp(2.3rem, 5vw, 3.65rem); margin-bottom: 1rem; }
  .reading section + section, .reading h2:not(:first-child) { margin-top: 2rem; }
  .reading h3 { margin-top: 1.1rem; }
  .reading h3 + p { margin-top: .45rem; }
  .reading .btn { margin-top: 1.35rem; }
  .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: .9rem; margin-block: 1.25rem 3rem; }
  .gallery a { border-radius: .4rem; overflow: hidden; background: var(--line); }
  .gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; height: auto; transition: filter .2s; }
  .gallery a:hover img { filter: brightness(.85); }
  .gallery-showcase {
    grid-template-columns: minmax(0, 1.9fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(145px, 17vw, 222px));
    margin-block: 0 1.5rem;
  }
  .gallery-showcase a { display: block; position: relative; }
  .gallery-showcase a:first-child { grid-row: span 2; }
  .gallery-showcase a:focus-visible { outline: 3px solid var(--lime); outline-offset: -5px; }
  .gallery-showcase img { width: 100%; height: 100%; aspect-ratio: auto; }
  .gallery-showcase span {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    align-items: end;
    padding: 1.85rem .75rem .65rem;
    background: linear-gradient(transparent, #0a2118f2);
    color: var(--white);
    font-size: .85rem;
    line-height: 1.25;
    font-weight: 800;
  }
  .gallery-showcase b { color: var(--lime); }
  @media (max-width: 760px) {
    .gallery-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .gallery-showcase a { aspect-ratio: 1.28; }
    .gallery-showcase a:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.5; }
  }

  .gallery-single { max-width: 36rem; grid-template-columns: 1fr; }
  .gallery-single img { aspect-ratio: auto; }
  .lightbox { padding: .85rem; border: 0; border-radius: .5rem; background: var(--deep); color: var(--white); max-width: min(calc(100% - 2rem), 1000px); }
  .lightbox::backdrop { background: #06160fe8; }
  .lightbox img { max-height: 70vh; object-fit: contain; margin: auto; }
  .lightbox-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; }
  .lightbox button { min-height: 44px; cursor: pointer; border: 1px solid #ffffff60; border-radius: .3rem; background: transparent; color: var(--white); padding: .48rem .6rem; }
  .lightbox button:focus-visible { outline-color: var(--lime); }
  @media (max-width: 1020px) {
    .nav-wrap { flex-wrap: wrap; gap: .35rem .65rem; padding-block: .55rem; min-height: 74px; }
    .header .brand img { width: 66px; }
    .header .brand span { font-size: 1.85rem; }
    nav { width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-block: .7rem .3rem; }
    .nav-ready nav {
      position: absolute;
      inset: 100% 0 auto;
      max-height: calc(100vh - 5.5rem);
      max-height: calc(100dvh - 5.5rem);
      overflow-y: auto;
      overscroll-behavior-y: contain;
      padding: .35rem max(1rem, 4.5vw) .85rem;
      border-top: 1px solid #ffffff26;
      background: var(--deep);
      box-shadow: 0 12px 24px #0a211850;
    }
    nav a { display: flex; align-items: center; min-height: 44px; padding: .5rem .45rem; }
    nav a:not(.btn) { border-bottom: 1px solid #ffffff26; }
    nav .btn { margin-top: .7rem; }
  }
  @media (max-width: 760px) {
    .hero { min-height: 625px; align-items: end; }
    .hero-media { inset: 0 0 27%; }
    .hero-media img { object-position: 50% 44%; }
    .hero::before { background: linear-gradient(0deg, #0a2118 20%, #0a2118f5 34%, #0a21183b 76%, #0a211800); }
    .hero-inner { padding-top: 15rem; padding-bottom: 2rem; }
    .hero h1 { font-size: clamp(4.5rem, 12.5vw, 6.4rem); }
    .values, .footer-grid { grid-template-columns: 1fr; }
    .coach .intro { grid-row: 1; }
    .enroll-inner { align-items: start; flex-direction: column; }
    .page-top h1 { font-size: clamp(2.65rem, 10vw, 4.75rem); }
    .lightbox img { max-height: 62vh; max-height: 62dvh; }
  }
  @media (max-width: 380px) {
    .header .brand { gap: .45rem; }
    .header .brand img { width: 55px; }
    .header .brand span { font-size: 1.6rem; }
    .header .brand small { font-size: .49rem; }
    .quick-grid > div { padding-block: .9rem; }
    .quick strong { font-size: 1.1rem; }
    .hero h1 { font-size: 3.95rem; }
  }
}

