: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; }

.page-body { background: #f4f5f7; }
.layout {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0 clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px) clamp(10px, 2vw, 20px);
}
.panel h2 {
  color: var(--navy);
  font-size: clamp(22px, 2.4vw, 26px);
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
}
.panel > h2:first-child { margin-top: 0; }
.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; }
.panel li::marker { color: var(--red); }
.side {
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 34px #00000026;
  position: sticky;
  top: 84px;
}
.side .eyebrow { margin: 0 0 0.6rem; letter-spacing: 0.17em; font-size: 0.68rem; }
.side h2 { color: var(--white); font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
.side > p { margin: 0; color: #b9c6d2; font-size: 15px; line-height: 1.6; }
.side-meta {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.side-meta dt {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 0 0 0.2rem;
}
.side-meta dd { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.side a { color: var(--white); text-decoration: none; }
.side a:hover { color: var(--gold-bright); }
.side .btn { background: var(--red); width: 100%; text-align: center; font-family: inherit; font-size: 16px; cursor: pointer; border-radius: 6px; padding: 0.7em 1em; }
.side .btn:hover { color: var(--white); 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; }

.admit {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.2rem, 4.5vw, 3.4rem) 0;
}
.admit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 2.6rem);
  align-items: start;
}
.admit-grid > * { min-width: 0; }
.admit .eyebrow { margin: 0 0 0.8rem; letter-spacing: 0.17em; font-size: 0.68rem; }
.admit h2 {
  margin: 0 0 0.5em;
  color: var(--white);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.admit-copy > p { margin: 0; color: #b9c6d2; max-width: 46ch; line-height: 1.6; }
.admit-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.8rem 0 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.admit-meta dt {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 0 0 0.25rem;
}
.admit-meta dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.admit-meta a { color: var(--white); text-decoration: none; }
.admit-meta a:hover { color: var(--gold-bright); }
.admit-shot { margin: 1.8rem 0 0; }
.admit-shot img {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 34px #00000038;
}
.admit-shot figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: #b9c6d2; }
.admit-form {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 34px #00000038;
}
.admit-form .crm { height: 760px; }

.c-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.2rem, 4.5vw, 3.6rem) 0;
}
.c-grid {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  gap: 2.6rem;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: start;
}
.c-grid > * { min-width: 0; }
.c-hero h1 {
  margin: 0 0 0.5em;
  color: var(--white);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  max-width: none;
}
.c-hero .eyebrow {
  margin: 0 0 0.8rem;
  letter-spacing: 0.17em;
  font-size: 0.68rem;
}
.c-hero .lede {
  margin: 0;
  color: #b9c6d2;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.6;
}
.c-hero a { color: var(--white); }
.c-hero a:hover { color: var(--gold-bright); }
.c-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.5rem;
  margin: 1.8rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.c-details dt,
.a-label {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 0 0 0.25rem;
}
.c-details dd { margin: 0; font-weight: 700; font-size: 1rem; overflow-wrap: anywhere; }
.c-addr address {
  font-style: normal;
  line-height: 1.7;
  color: #c3d1dc;
  margin: 0 0 1.1rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }
.c-form {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 34px #00000038;
}
.c-form .crm { height: 980px; }
.c-map {
  padding: clamp(2.4rem, 5vw, 4.2rem) 0;
  background: #f6f6f6;
}
.c-map .wrap { width: min(1200px, calc(100% - 2.5rem)); }
.c-map h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
}
.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 1.4rem;
  background: #fff;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.c-map .note { margin-top: 1rem; max-width: 70ch; font-size: 0.93rem; }
.crm {
  width: 100%;
  min-height: 320px;
  border: 0;
  background: #fff;
  display: block;
}
.note { font-size: 14px; color: var(--muted); }

.footer-callback {
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
}
.footer-callback:hover, .footer-callback:focus-visible { border-color: var(--white); }
.footer-enquiry { margin: 0 0 16px; }

@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;
  }
  .admit-grid { grid-template-columns: 1fr; }
  .admit-shot { display: none; }
  .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; }
  .c-details { grid-template-columns: 1fr; }
}

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

@media (max-width: 720px) {
  .c-grid, .c-details { grid-template-columns: 1fr; }
  .c-form .crm { height: 1040px; }
}

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

/* Course pages restored from the original site: red hero with the call-back form, then the archived copy. */
.ac-hero {
  background: linear-gradient(180deg, #e02b20 0%, #b8231a 100%);
  color: var(--white);
  padding: clamp(28px, 4vw, 48px) 0;
}
.ac-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.ac-hero .crumbs a { color: var(--white); text-decoration: underline; }
.ac-hero h1 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
}
.ac-sub { margin: 0 0 18px; font-size: 19px; opacity: 0.95; }
.ac-facts { list-style: none; margin: 0 0 16px; padding: 0; font-size: 18px; }
.ac-facts li { margin: 0 0 6px; padding-left: 1.6em; position: relative; }
.ac-facts li::before { content: "✔"; position: absolute; left: 0; }
.ac-rating { margin: 0; font-size: 18px; font-weight: 700; }
.ac-rating span { color: var(--gold-bright); letter-spacing: 2px; }
.ac-form {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px #00000040;
}
.ac-form-title {
  margin: 0;
  padding: 14px 20px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}
.ac-form .crm { height: 700px; }
.ac-body { background: #fdf6f0; padding: clamp(32px, 5vw, 56px) 0; }
.ac-prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 40px);
}
.ac-cta { text-align: center; margin: 28px 0 0; }
.ac-cta .btn { background: var(--red); border-radius: 6px; padding: 0.7em 1.4em; }
.ac-certs { background: #fff; padding: clamp(32px, 5vw, 56px) 0; text-align: center; }
.ac-certs h2 { margin: 0 0 22px; color: var(--blue-head); font-size: clamp(26px, 3vw, 34px); }
.ac-cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; }
.ac-cert-row img { width: 100%; height: 260px; object-fit: contain; }

/* Archived copy: headings, lists, images and module accordions. */
.prose { line-height: 1.65; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { color: var(--navy); margin: 28px 0 10px; line-height: 1.25; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); }
.prose h3 { font-size: clamp(20px, 2vw, 24px); }
.prose h4 { color: var(--red); margin: 18px 0 6px; font-size: 17px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.2em; }
.prose li { margin: 0 0 5px; }
.prose li::marker { color: var(--red); }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 6px 0 18px; }
.prose a { color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose details {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 10px;
  background: #fafafa;
}
.prose summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--white);
  background: #3b3b3b;
  border-radius: 8px;
  list-style-position: inside;
}
.prose details[open] summary { border-radius: 8px 8px 0 0; }
.prose details > :not(summary) { margin-left: 18px; margin-right: 18px; }
.prose details > :last-child { margin-bottom: 16px; }
.prose details > summary + * { margin-top: 14px; }

@media (max-width: 900px) {
  .ac-hero-grid { grid-template-columns: 1fr; }
  .ac-cert-row { grid-template-columns: repeat(2, 1fr); }
  .ac-cert-row img { height: 200px; }
}
.ac-prose > ul { columns: 2; column-gap: 40px; }
.ac-prose > ul li { break-inside: avoid; }
@media (max-width: 640px) { .ac-prose > ul { columns: 1; } }
.ac-facts s { opacity: 0.75; }
.ac-facts strong { font-size: 1.15em; }
.ac-grads { margin: 26px 0 0; }
.ac-grads figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
  opacity: 0.9;
}
.ac-grads-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ac-grads-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px #00000040;
}
@media (max-width: 640px) { .ac-grads-row { grid-template-columns: repeat(2, 1fr); } }
/* Left column fills the row; the student photos sit at its bottom, level with the form card. */
.ac-hero-grid { align-items: stretch; }
.ac-form { align-self: start; }
.ac-copy { display: flex; flex-direction: column; }
.ac-grads { margin-top: auto; padding-top: 26px; }
@media (max-width: 900px) { .ac-grads { margin-top: 0; } }
/* Spread the course facts so they share the column height with the student photos. */
.ac-hero h1 { margin-bottom: 14px; }
.ac-sub { margin-bottom: 28px; }
.ac-facts { margin-bottom: 28px; font-size: 19px; }
.ac-facts li { margin-bottom: 18px; }
.ac-facts li:last-child { margin-bottom: 0; }

/* Phones: keep archived content inside the column and the header on one line. */
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
}
.prose { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; }
.prose iframe, .prose video { max-width: 100%; }
@media (max-width: 420px) {
  .logo img { height: 34px; }
  .header-inner { gap: 10px; }
}
/* Phones: one-line top bar (phone + email); the other links are in the menu and footer. */
@media (max-width: 640px) {
  .top-links { display: none; }
  .topbar-inner { flex-direction: row; padding: 6px 0; min-height: 0; }
  .top-contact { gap: 12px; font-size: 14px; }
}
/* Phones: course facts, then the call-back form, then the student photos. */
@media (max-width: 900px) {
  .ac-hero-grid { row-gap: 0; }
  .ac-copy { display: contents; }
  .ac-form { order: 2; margin: 24px 0 0; }
  .ac-grads { order: 3; padding-top: 28px; }
}

/* About Us: the original layout — intro beside the banner, alternating icon/illustration rows. */
.ab-intro, .ab-row { padding: clamp(36px, 5vw, 64px) 0; background: #fff; }
.ab-row-alt { background: #f4f5f7; }
.ab-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ab-flip .ab-copy { order: 2; }
.ab-copy p { margin: 0 0 14px; line-height: 1.7; }
.ab-copy h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.ab-icon { width: 72px; height: 72px; border-radius: 50%; display: block; margin: 0 0 14px; }
.ab-photo { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 40px #00000030; display: block; }
.ab-art { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; }
.ab-btn { background: var(--red); border-radius: 6px; padding: 0.7em 1.4em; }
.ab-btn-ghost { background: transparent; border: 2px solid var(--white); border-radius: 6px; padding: 0.6em 1.3em; }
.ab-ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ab-ticks li { padding-left: 1.7em; position: relative; margin: 0 0 10px; font-size: 18px; }
.ab-ticks li::before { content: "✔"; position: absolute; left: 0; color: var(--red); }
.ab-contact { display: grid; gap: 14px; margin: 0; }
.ab-contact dt { font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 700; color: var(--red); margin: 0 0 3px; }
.ab-contact dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.ab-contact a { color: var(--navy); text-decoration: none; }
.ab-cta { background: var(--red); color: var(--white); text-align: center; padding: clamp(36px, 5vw, 56px) 0; }
.ab-cta h2 { margin: 0 0 6px; color: var(--white); font-size: clamp(26px, 3vw, 36px); }
.ab-cta p { margin: 0 0 18px; font-size: 18px; }
.ab-cta .ab-btn { background: var(--black); }
.ab-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 800px) {
  .ab-split { grid-template-columns: 1fr; }
  .ab-flip .ab-copy { order: 0; }
  .ab-art { max-width: 260px; }
}
