:root {
  --yellow: #f8c422;
  --black: #111111;
  --dark-grey: #333133;
  --yellow-dark: #e0b220;
  --text-alt: #434345;
  --white: #fff8e4;
  --muted: #bfb7a7;
  --line: rgba(248, 196, 34, .28);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --radius: 22px;
  --container: 1180px;
  --title-font: 'Montserrat', system-ui, sans-serif;
  --body-font: 'Raleway', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--white);
  background: var(--black);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
code {
  color: inherit;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .08rem .34rem;
  font-size: .88em;
}

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 9999;
  background: var(--yellow); color: var(--black); padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px; padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(17, 17, 17, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  transition: min-height .25s ease, background .25s ease;
}
.site-header.is-scrolled { min-height: 64px; background: rgba(17,17,17,.92); }
.brand img { width: 82px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-weight: 700; font-size: .9rem; color: #fff;
  padding: 10px 12px; border-radius: 999px; text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--yellow); color: var(--black); transform: translateY(-1px); outline: none; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 28px; height: 2px; background: var(--yellow); margin: 6px 0; transition: .25s ease; }

.section { padding: clamp(72px, 10vw, 132px) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--dark-grey); color: var(--white); }
.section-yellow { background: var(--yellow); color: var(--black); }
.texture {
  background:
    radial-gradient(circle at 12% 20%, rgba(248,196,34,.11), transparent 26%),
    linear-gradient(135deg, var(--black), #171717 55%, #0b0b0b);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-family: var(--title-font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-yellow .eyebrow { color: var(--black); opacity: .72; }
h1, h2, h3 {
  font-family: var(--title-font);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 4.8vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.22rem); color: #f2ead7; max-width: 760px; }
.section-yellow p, .section-yellow li { color: #211d16; }

.hero { min-height: 100vh; display: grid; align-items: center; padding-top: 96px; overflow: hidden; }
.hero__content { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, .78fr); gap: clamp(34px, 6vw, 82px); align-items: center; }
.hero__text { padding: 40px 0; }
.hero-logo { width: clamp(110px, 12vw, 168px); height: auto; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 28px; }
.hero-actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; box-shadow: 0 14px 36px rgba(0,0,0,.25); }
.btn-primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.36); }
.section-yellow .btn-ghost { color: var(--black); border-color: rgba(17,17,17,.36); }
.btn-full { width: 100%; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; flex-shrink: 0; }
.hero-points { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.hero-points li::before { content: '•'; color: var(--yellow); margin-right: 10px; font-weight: 900; }
.hero__visual { position: relative; }
.hero__visual::before {
  content: ''; position: absolute; inset: -22px; border-radius: calc(var(--radius) + 12px);
  background: linear-gradient(135deg, rgba(248,196,34,.95), rgba(224,178,32,.15)); transform: rotate(-2deg); z-index: 0;
}
.hero__visual picture { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero__visual img { aspect-ratio: 4 / 5; width: 100%; height: 100%; object-fit: cover; }

.split-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .78fr); gap: 28px; align-items: end; margin-bottom: 42px; }
.split-intro p:last-child { margin-bottom: 0; color: rgba(255,255,255,.74); }
.section-yellow .split-intro p:last-child { color: rgba(17,17,17,.72); }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); overflow: hidden;
}
.card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yellow); }
.card h3 { margin-bottom: 8px; }
.card .meta { color: var(--muted); margin: 0 0 20px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map-frame { display: none; margin-top: 20px; border-radius: 18px; overflow: hidden; background: #ddd; }
.card.is-map-open .map-frame { display: block; }
.map-frame iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; display: block; }

.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.schedule-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.schedule-card__head { padding: 26px 28px; border-bottom: 1px solid var(--line); }
.schedule-card__head p { margin: 0; color: var(--muted); }
.course-list { display: grid; }
.course {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 28px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.course:last-child { border-bottom: 0; }
.course time { color: var(--yellow); font-family: var(--title-font); font-weight: 800; font-size: 1.16rem; }
.course strong { display: block; font-family: var(--title-font); }
.badge { display: inline-flex; align-items: center; justify-content: center; background: rgba(248,196,34,.16); color: var(--yellow); border: 1px solid rgba(248,196,34,.28); border-radius: 999px; padding: 6px 10px; font-size: .78rem; font-weight: 800; white-space: nowrap; }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-card { background: rgba(17,17,17,.93); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.price-card h3 { color: var(--yellow); }
.price-list { display: grid; gap: 12px; margin: 24px 0; }
.price-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,.25); }
.price-line strong { color: #fff; }
.price-line span { color: var(--yellow); font-family: var(--title-font); font-size: 1.2rem; font-weight: 800; }
.price-card p, .price-card li { color: var(--muted); }
.notes { margin: 0; padding-left: 1.1rem; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.05fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-details { display: grid; gap: 12px; margin-top: 28px; }
.contact-detail { padding: 15px 17px; border-radius: 16px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); }
.contact-detail span { display: block; color: var(--yellow); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-detail a { color: var(--white); font-weight: 700; }
.contact-form {
  background: #fffaf0; color: var(--black); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label, legend { font-weight: 800; font-size: .9rem; }
input, select, textarea {
  width: 100%; margin-top: 7px; padding: 12px 13px; border: 2px solid #e2d7bd; border-radius: 13px; background: #fff; color: var(--black);
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow-dark); box-shadow: 0 0 0 4px rgba(248,196,34,.18); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.checks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 9px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 999px; background: #f0e5c7; cursor: pointer; }
.checks input { width: auto; margin: 0; accent-color: var(--yellow-dark); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-weight: 600; color: #423727; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--yellow-dark); }
.anti-spam { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 28px; margin: 14px 0 0; font-weight: 800; }
.form-status.is-success { color: #146b33; }
.form-status.is-error { color: #a01919; }
.recaptcha-terms { margin: 12px 0 0; font-size: 0.78rem; text-align: center; color: #70685c; line-height: 1.4; }
.recaptcha-terms a { color: #524738; text-decoration: underline; }
.recaptcha-terms a:hover { color: var(--yellow-dark); }

.events-mini .event-list { display: grid; gap: 16px; }
.event-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.event-item time { color: var(--yellow); font-weight: 800; white-space: nowrap; }
.event-item__content { display: flex; flex-direction: column; gap: 8px; }
.event-item h3 { margin-bottom: 0; }
.event-desc { margin: 0; color: var(--muted); }
.event-location { margin: 0; font-size: .92rem; color: var(--white); }
.event-link { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.event-link:hover { color: var(--yellow-dark); }
.event-actions { margin-top: 10px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .82rem; border-radius: 10px; }
.event-empty { padding: 26px; border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.28); color: var(--muted); }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 28px; }
.video-card { background: rgba(17,17,17,.93); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.youtube-placeholder { aspect-ratio: 16/9; display: grid; place-items: center; background: linear-gradient(135deg, #1b1b1b, #3d3320); cursor: pointer; position: relative; }
.youtube-placeholder::before { content: '▶'; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 1.6rem; padding-left: 4px; }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-card div:last-child { padding: 18px 20px; }
.video-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.video-card p { color: var(--muted); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--black); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); filter: saturate(1.08); }

.footer-cta { text-align: center; }
.footer-cta p:not(.eyebrow) { max-width: 720px; margin-inline: auto; color: var(--muted); }
.site-footer { background: #070707; color: var(--muted); padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--yellow); font-weight: 800; }

.lightbox { width: min(980px, calc(100vw - 32px)); border: 0; padding: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; background: #111; }
.lightbox p { margin: 10px 0 0; text-align: center; font-weight: 800; }
.lightbox-close { position: fixed; top: 18px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--black); font-size: 2rem; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 14px auto 14px; display: none; flex-direction: column; align-items: stretch; padding: 14px;
    background: rgba(17,17,17,.98); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; box-shadow: var(--shadow);
  }
  .site-header.is-open .main-nav { display: flex; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero__content, .split-intro, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__visual { order: -1; margin-top: 30px; }
  .hero__visual img { aspect-ratio: 4/5; }
  .contact-copy { position: static; }
  .cards-grid, .schedule, .pricing, .video-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { padding-inline: 14px; }
  .brand img { width: 72px; }
  .section { padding-block: 62px; }
  .hero { padding-top: 86px; }
  .form-row.two { grid-template-columns: 1fr; }
  .course { grid-template-columns: 74px minmax(0, 1fr); }
  .course .badge { grid-column: 2; justify-self: start; }
  .event-item { flex-direction: column; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
