:root {
  --ink: #141414;
  --navy: #141e3b;
  --black: #000000;
  --footer: #0a0e1d;
  --footer-bottom: #070b16;
  --red: #e02b20;
  --red-hot: #fe0000;
  --gold: #c9b100;
  --gold-bright: #ffcc00;
  --lime: #c1cc00;
  --blue-head: rgba(0, 145, 242, 0.78);
  --paper: #eeeeee;
  --white: #ffffff;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --header-h: 66px;
  --top-h: 38px;
  --font: "Lato", Helvetica, Arial, "Lucida Sans", sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  background: var(--paper) url("/images/eebackground3.jpg") left top repeat fixed;
}

img, video { max-width: 100%; height: auto; }

a { color: inherit; }

button, [role="button"], summary { cursor: pointer; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--black);
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 8px; }

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-style: italic;
  min-height: var(--top-h);
}
.topbar-inner,
.header-inner,
.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: var(--top-h);
}
.top-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.top-contact a, .top-links a { color: var(--white); text-decoration: none; }
.top-contact a:hover, .top-links a:hover { opacity: 0.75; }
.top-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.iso {
  color: var(--gold-bright);
  font-style: italic;
  letter-spacing: 0.01em;
}

.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 18px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 42px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav { margin: 0; padding: 0; }
.nav > li > a,
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  font-family: inherit;
}
.nav > li > a:hover,
.nav > li > a:focus-visible,
.nav-btn:hover,
.nav-btn:focus-visible,
.nav > li:hover > a,
.nav > li:focus-within > a {
  background: var(--white);
  color: var(--red-hot);
}
.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  max-width: 420px;
  background: var(--red-hot);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  z-index: 50;
  box-shadow: var(--shadow);
}
.nav > li:hover > .submenu,
.nav > li:focus-within > .submenu { display: block; }
.submenu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 18px;
  line-height: 1.35;
}
.submenu a:hover,
.submenu a:focus-visible {
  background: var(--white);
  color: var(--red-hot);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.hero { background: var(--black); }
.hero video, .hero-mobile {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  background: var(--black);
}
.hero-mobile { display: none; }

.courses {
  background: var(--black);
  padding: 36px 0 48px;
}
.courses h2, .band h2, .block-title {
  margin: 0 0 22px;
  color: var(--white);
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
}
.course-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 18px;
}
.course-card {
  width: 337px;
  min-height: 244px;
  border: 1px solid var(--red);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 18px 16px;
  position: relative;
}
.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}
.course-card > * { position: relative; z-index: 1; }
.course-card .label {
  background: rgba(254, 0, 0, 0.85);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
  margin: 0 28px;
  font-size: 22px;
  line-height: 1.2;
}
.course-card .sub {
  display: none;
  margin: 10px 28px 0;
  background: rgba(254, 0, 0, 0.85);
  color: var(--white);
  text-align: center;
  padding: 6px 10px;
  font-size: 15px;
}
.course-card .rule {
  display: none;
  width: 58%;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
  border: 0;
  margin: 10px auto 0;
}
.course-card:hover .label,
.course-card:focus-visible .label {
  background: rgba(255, 255, 255, 0.88);
  color: var(--black);
}
.course-card:hover .sub,
.course-card:focus-visible .sub,
.course-card:hover .rule,
.course-card:focus-visible .rule { display: block; }

.band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 12px 16px;
}
.band h2 { margin: 0; font-size: 35px; }
.shot { display: block; line-height: 0; background: var(--black); }
.shot img { width: 100%; display: block; }
.shot.framed { border: 4px solid var(--red); }
.shadow-strip { display: block; width: min(834px, 92%); margin: -8px auto 0; }
.shadow-strip.wide { width: min(975px, 94%); }

.feature {
  position: relative;
  background: var(--black);
}
.feature-copy {
  position: absolute;
  left: 6%;
  bottom: 12%;
  width: min(640px, 62%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 18px 22px 20px;
}
.feature-copy h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
  text-shadow: 0.06em 0.06em 0.08em rgba(0, 0, 0, 0.35);
}
.feature-copy em { color: var(--gold-bright); font-style: normal; }
.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 0.45em 1.05em;
  font-weight: 700;
  border: 1px solid transparent;
  line-height: 1.3;
}
.btn:hover, .btn:focus-visible { border-color: var(--white); }
.btn.ghost { background: rgba(0, 0, 0, 0.7); }
.feature-mobile-cta { display: none; text-align: center; padding: 16px; }

.section-head {
  text-align: center;
  padding: 42px 16px 8px;
}
.section-head h2 {
  margin: 0;
  color: var(--blue-head);
  font-size: 32px;
}

.shorts {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 16px 24px;
  scroll-snap-type: x mandatory;
  max-width: 1280px;
  margin: 0 auto;
}
.shorts iframe {
  width: min(280px, 78vw);
  height: 498px;
  border: 0;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #111;
}

.speak {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr);
  gap: 24px;
  align-items: center;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 10px auto 36px;
}
.speak h2 {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 32px;
}
.quote {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 22px 22px 16px;
  min-height: 180px;
}
.quote p { margin: 0 0 14px; font-size: 18px; }
.quote h3 { margin: 0; font-size: 20px; color: var(--ink); }
.quote .role { color: var(--muted); font-style: italic; }
.stars { color: var(--gold); letter-spacing: 2px; margin: 6px 0; font-size: 16px; }
.slider-ui { display: flex; gap: 8px; margin-top: 12px; }
.slider-ui button {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  background: var(--white);
  font-size: 20px;
}
.mascot {
  width: min(320px, 100%);
  max-height: 440px;
  object-fit: contain;
  object-position: center bottom;
  margin-left: auto;
  display: block;
}

.site-footer { background: var(--footer); color: var(--white); padding: 48px 0 0; }
.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
.site-footer h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { position: relative; padding-left: 14px; margin: 0 0 6px; }
.site-footer li::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0.55em;
}
.site-footer a { color: var(--white); text-decoration: none; font-style: italic; }
.site-footer a:hover { opacity: 0.7; }
.inline-links { font-style: italic; line-height: 1.8; }
.inline-links a { white-space: nowrap; }
.footer-bottom {
  margin-top: 28px;
  background: rgba(0, 0, 0, 0.32);
  padding: 16px 0 18px;
}
.footer-bottom-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.bottom-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bottom-nav a {
  color: var(--lime);
  font-style: italic;
  font-size: 18px;
  text-decoration: none;
}
.bottom-nav a:hover { opacity: 0.7; }
.copy { color: var(--white); font-style: italic; margin: 8px 0 0; font-size: 17px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: #f7f7f7;
  font-style: normal;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.socials a:hover { background: var(--white); color: var(--black); }

.page-hero {
  background: var(--black) center/cover no-repeat;
  color: var(--white);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45));
}
.page-hero-inner {
  position: relative;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 42px;
}
.crumbs { margin: 0 0 10px; font-size: 14px; font-style: italic; }
.crumbs a { color: var(--gold-bright); text-decoration: none; }
.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
}
.page-hero h1 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  max-width: 22em;
}
.lede { margin: 0; max-width: 62ch; font-size: 18px; }

.layout {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 28px auto 48px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 22px 22px 8px;
}
.panel h2 { color: var(--blue-head); font-size: 26px; margin: 0 0 10px; }
.panel h3 { margin: 18px 0 8px; font-size: 18px; color: var(--navy); }
.panel ul, .panel ol { margin: 0 0 16px; padding-left: 1.15em; }
.panel li { margin: 0 0 6px; }
.side {
  background: var(--navy);
  color: var(--white);
  padding: 20px;
  position: sticky;
  top: 84px;
}
.side h2 { color: var(--gold-bright); font-size: 22px; margin: 0 0 8px; font-style: italic; }
.side p, .side li { font-style: italic; }
.side a { color: var(--white); }
.side .btn { background: var(--red); margin-top: 8px; }
.side .btn:hover { border-color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.chip {
  border: 1px solid var(--red);
  color: var(--red);
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}
.card-grid, .post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mini {
  display: block;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  min-height: 100%;
}
.mini img { width: 100%; height: 140px; object-fit: cover; display: block; }
.mini div { padding: 12px 12px 14px; }
.mini strong { display: block; margin-bottom: 4px; }
.mini span { color: var(--muted); font-size: 14px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery figcaption { padding: 8px 10px 12px; font-size: 14px; }
.crm {
  width: 100%;
  min-height: 640px;
  border: 0;
  background: #fff;
}
.note { font-size: 14px; color: var(--muted); }

.callback {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--red);
  color: var(--white);
  border: 0;
  font-family: inherit;
  font-weight: 700;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.dialog {
  border: 0;
  padding: 0;
  width: min(520px, calc(100% - 24px));
  background: var(--white);
}
.dialog::backdrop { background: rgba(0, 0, 0, 0.62); }
.dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
  color: var(--white);
  padding: 12px 14px;
}
.dialog header h2 { margin: 0; font-size: 18px; color: var(--white); }
.dialog header button {
  background: transparent;
  color: var(--white);
  border: 0;
  font-size: 22px;
  line-height: 1;
}
.dialog .body { padding: 8px; }

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    max-height: calc(100vh - 70px);
    overflow: auto;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .nav.open { display: flex; }
  .nav > li > a, .nav-btn { width: 100%; justify-content: space-between; }
  .submenu {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    box-shadow: none;
  }
  .nav > li.open > .submenu,
  .nav > li:focus-within > .submenu { display: block; }
  .nav > li:hover > .submenu { display: none; }
  .nav > li.open:hover > .submenu,
  .nav > li.open > .submenu { display: block; }
  .hero video { display: none; }
  .hero-mobile { display: block; max-height: none; }
  .course-card { width: min(100%, 420px); }
  .feature-copy { position: static; width: auto; }
  .speak, .layout, .footer-grid, .card-grid, .post-grid, .gallery {
    grid-template-columns: 1fr;
  }
  .side { position: static; }
  .mascot { margin: 0 auto; }
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .page-hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .courses h2, .band h2 { font-size: 28px; }
  .footer-bottom-inner { align-items: flex-start; }
  .shorts iframe { height: 430px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
