/* Epicenter Fit — shared site styles */
:root {
  --teal: #0a2224;
  --teal-2: #10393c;
  --teal-3: #1a4a4d;
  --cream: #fcf7f7;
  --cream-2: #f3ecea;
  --yellow: #ffcc00;
  --yellow-2: #ffd633;
  --ink: #0a2224;
  --muted: #4b5f60;
  --muted-light: #b9c8c8;
  --line: rgba(10, 34, 36, .14);
  --line-light: rgba(252, 247, 247, .18);
  --radius: 14px;
  --max: 1180px;
  --font: "Jost", "Futura PT", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --shadow: 0 18px 40px -22px rgba(10, 34, 36, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: .6em 1em; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* Announcement bar */
.announce { background: var(--yellow); color: #000; text-align: center; font-size: .9rem; font-weight: 500; padding: .55rem 1rem; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 500; font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.logo img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a, .nav button.drop-toggle { font: inherit; font-size: .9rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: .6rem .7rem; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.nav a:hover, .nav button.drop-toggle:hover { background: var(--cream-2); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.has-drop { position: relative; }
.drop-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.dropdown { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease; }
.dropdown a { display: block; padding: .6rem .8rem; letter-spacing: .06em; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop.open .drop-toggle svg { transform: rotate(180deg); }
.nav .btn { margin-left: .5rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); background: var(--cream); flex-direction: column; align-items: stretch; padding: 5.5rem 1.5rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; z-index: 60; }
  .nav.open { transform: none; visibility: visible; box-shadow: -20px 0 40px -20px rgba(0,0,0,.35); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav button.drop-toggle { font-size: 1.05rem; padding: .85rem .5rem; width: 100%; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 .5rem 1rem; display: none; min-width: 0; }
  .has-drop.open .dropdown { display: block; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
  .menu-close { position: absolute; top: 1rem; right: 1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { z-index: 70; }
  .scrim { position: fixed; inset: 0; background: rgba(10,34,36,.5); z-index: 60; opacity: 0; visibility: hidden; transition: .2s; }
  .scrim.show { opacity: 1; visibility: visible; }
}
@media (min-width: 961px) { .menu-close, .scrim { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font); font-weight: 600; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; line-height: 1.1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: #000 !important; }
.btn-primary:hover { background: var(--yellow-2); }
.btn-outline { border-color: currentColor; background: transparent; }
.nav .btn-primary { padding: .7rem 1.2rem; font-size: .82rem; background: var(--yellow); border-radius: 999px; font-weight: 600; }
.nav .btn-primary:hover { background: var(--yellow-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Sections */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-dark { background: var(--teal); color: var(--cream); }
.section-dark .muted, .section-dark .lead { color: var(--muted-light); }
.section-alt { background: var(--cream-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; color: var(--teal-3); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--yellow); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Home hero */
.hero { position: relative; color: var(--cream); background: var(--teal); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,34,36,.72) 0%, rgba(10,34,36,.82) 60%, rgba(10,34,36,.95) 100%); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding: clamp(80px, 14vw, 170px) 0 clamp(70px, 11vw, 140px); }
.hero h1 { margin: 0; }
.hero .wordmark { display: block; font-size: clamp(3rem, 13vw, 9.5rem); font-weight: 600; letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
.hero .tagline { display: block; margin-top: 1rem; font-size: clamp(1.15rem, 3vw, 2rem); font-style: italic; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.hero .btn-row { justify-content: center; }

/* Inner page hero */
.page-hero { position: relative; background: var(--teal); color: var(--cream); overflow: hidden; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,36,.94) 0%, rgba(10,34,36,.8) 55%, rgba(10,34,36,.45) 100%); }
@media (max-width: 820px) { .page-hero::after { background: rgba(10,34,36,.82); } }
.page-hero-inner { position: relative; z-index: 1; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); max-width: 820px; }
.page-hero .lead { color: #dfe8e7; }
.breadcrumbs { font-size: .85rem; letter-spacing: .06em; margin-bottom: 1.4rem; color: var(--muted-light); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Award band */
.award { text-align: center; }
.award .badge { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); margin-bottom: 1rem; }
.award .badge svg { width: 32px; height: 32px; }
.award h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media.landscape img { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.section-dark .card { background: var(--teal-2); border-color: var(--line-light); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); color: #000; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-weight: 700; }
.card .icon svg { width: 24px; height: 24px; }
.link-card { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; padding: 0; transition: transform .18s ease, box-shadow .18s ease; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.link-card .body { padding: 1.3rem 1.4rem 1.5rem; }
.link-card .more { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-3); }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--yellow); color: #000; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: .25em; }

/* Details table (youth program) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--teal-2); padding: 1.5rem 1.4rem; }
.fact dt { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: .4rem; }
.fact dd { margin: 0; font-size: 1.15rem; font-weight: 500; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.price { font-size: 1.6rem; font-weight: 700; color: var(--yellow); }
.callout { border-left: 4px solid var(--yellow); background: rgba(255, 204, 0, .1); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin-top: 1.5rem; font-weight: 500; }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 10px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.15rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--yellow); color: #000; text-align: center; }
.cta-band .lead { color: #2b2b2b; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-dark { background: var(--teal); color: var(--cream); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 80px); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { margin-bottom: 1rem; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .85rem; font-weight: 500; letter-spacing: .04em; margin-bottom: .35rem; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border-radius: 10px; border: 1px solid var(--line-light); background: rgba(252, 247, 247, .06); color: var(--cream); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: .85rem; color: var(--muted-light); margin: 0; }
.form .btn { justify-self: start; }

/* Map */
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); filter: grayscale(.2); }

/* Footer */
.site-footer { background: #061617; color: var(--muted-light); padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: var(--cream); margin-bottom: 1rem; }
.site-footer .logo img { filter: invert(1); }
.footer-title { color: var(--cream); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: inline-flex; align-items: center; justify-content: center; color: var(--cream); }
.social a:hover { background: var(--teal-3); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--line-light); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }

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