
:root {
  --navy: #101a33;
  --navy-2: #0b1328;
  --blue: #1258a5;
  --blue-2: #0e78c7;
  --saltire: #0e64b4;
  --gold: #ffd35c;
  --ink: #172033;
  --muted: #607086;
  --line: #dce4ef;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --shadow: 0 22px 55px rgba(16, 26, 51, 0.18);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(14, 100, 180, 0.035) 0 18%, transparent 18% 38%, rgba(14, 100, 180, 0.035) 38% 58%, transparent 58%),
    #fff;
  pointer-events: none;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--navy);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 26, 51, 0.08);
  box-shadow: 0 8px 30px rgba(16, 26, 51, 0.06);
}

.announcement-bar {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
}

.announcement-bar a {
  color: #fff;
  font-weight: 800;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 68px;
  height: 62px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 760;
  font-size: 0.96rem;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(18, 88, 165, 0.1);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 18%, transparent 18% 41%, rgba(255, 255, 255, 0.09) 41% 60%, transparent 60%),
    linear-gradient(90deg, rgba(11, 19, 40, 0.92), rgba(16, 88, 165, 0.74));
}

.hero__image-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
}

.hero--home .hero__image-bg {
  opacity: 0.68;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 640px;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.hero__inner--narrow {
  grid-template-columns: minmax(0, 820px);
  min-height: 440px;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}

.hero .eyebrow,
.eyebrow--light {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: inherit;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  letter-spacing: -0.07em;
}

.hero--compact h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.hero__lead,
.standfirst {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.5;
}

.hero__lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.91);
  margin: 1.3rem 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 88, 165, 0.26);
}

.button--primary:hover {
  color: #fff;
  background: var(--navy);
}

.button--light {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.4);
}

.button--light:hover {
  color: var(--navy);
  background: var(--gold);
}

.hero-card,
.flyer-frame,
.media-card,
.badge-panel {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.badge-card {
  padding: clamp(1rem, 3vw, 2rem);
  transform: rotate(1.4deg);
}

.badge-card img {
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section--light {
  background: var(--soft);
}

.section--blue {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 18%, transparent 18% 40%, rgba(255, 255, 255, 0.09) 40% 60%, transparent 60%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.split--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.split--center {
  align-items: center;
}

.section-copy > * + * {
  margin-top: 1.1rem;
}

.section-copy p {
  font-size: 1.05rem;
}

.section-copy--light p {
  color: rgba(255, 255, 255, 0.88);
}

.media-card {
  padding: 0.65rem;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.media-card--portrait {
  max-width: 450px;
}

.media-card--poster {
  max-width: 420px;
  justify-self: center;
}

.date-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  font-weight: 900;
}

.date-pill--dark {
  background: rgba(18, 88, 165, 0.1);
  color: var(--navy);
  border-color: rgba(18, 88, 165, 0.18);
}

.flyer-frame {
  padding: 0.65rem;
  transform: rotate(-1.2deg);
  justify-self: center;
}

.flyer-frame img {
  width: min(100%, 430px);
  border-radius: 18px;
}

.flyer-frame--light {
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-heading--light p,
.section-heading--light h2 {
  color: #fff;
}

.card-grid {
  display: grid;
  gap: 1.1rem;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.notice-card,
.policy-card,
.fee-card,
.terms-panel {
  border: 1px solid rgba(16, 26, 51, 0.09);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 26, 51, 0.08);
}

.info-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card h3,
.policy-card h2,
.notice-card h2 {
  color: var(--navy);
}

.info-card p,
.policy-card p,
.notice-card p {
  color: var(--muted);
}

.info-card a {
  font-weight: 900;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.team-card img {
  aspect-ratio: 1 / 0.95;
  width: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 1.4rem;
}

.team-card__body p {
  margin: 0.8rem 0 0;
}

.role {
  color: var(--blue);
  font-weight: 900;
}

.notice-card {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff, #f5f9ff);
}

.class-grid,
.policy-grid {
  display: grid;
  gap: 1.25rem;
}

.class-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2rem);
  align-items: center;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.class-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.class-card > div {
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.class-card p {
  color: var(--muted);
}

.time-block {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(18, 88, 165, 0.1);
  color: var(--navy) !important;
  font-weight: 900;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.fee-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}

.fee-card--featured {
  background: #fff;
  color: var(--navy);
  transform: translateY(-10px);
}

.price {
  margin: 1.2rem 0 0.2rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.muted-light {
  color: rgba(255, 255, 255, 0.78);
}

.fee-card--featured .muted-light {
  color: var(--muted);
}

.centered-cta {
  text-align: center;
  margin-top: 2rem;
}

.price-badge {
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  padding: 1.7rem;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  text-align: center;
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}

.price-badge span {
  display: block;
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.price-badge small {
  display: block;
  max-width: 180px;
  margin-top: 0.6rem;
  color: var(--blue);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 750;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.big-price {
  color: var(--blue);
  font-size: 1.6rem !important;
  font-weight: 950;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-stack img {
  position: absolute;
  border: 10px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack img:first-child {
  top: 0;
  left: 0;
  width: 48%;
  height: 520px;
}

.image-stack img:last-child {
  right: 0;
  bottom: 0;
  width: 68%;
  height: 340px;
}

.two-column-copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.terms-panel {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
}

.terms-panel ul {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.terms-panel a {
  color: #fff;
  font-weight: 900;
}

.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.policy-card .button {
  margin-top: auto;
}

.badge-panel {
  justify-self: center;
  padding: 1.5rem;
}

.badge-panel img {
  border-radius: 18px;
}

.site-footer {
  background: var(--navy-2);
  color: #fff;
  padding-block: 3.4rem 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr) minmax(220px, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  flex: 0 0 95px;
  width: 95px;
  height: auto;
  border-radius: 18px;
  background: #fff;
}

.footer-brand h2 {
  font-size: 1.5rem;
}

.footer-brand p,
.footer-contact,
.footer-bottom {
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact {
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .announcement-bar {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    top: calc(100% - 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list a {
    justify-content: center;
    border-radius: 14px;
  }

  .hero__inner,
  .hero__inner--narrow,
  .split,
  .split--reverse,
  .two-column-copy,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .badge-card,
  .price-badge {
    justify-self: start;
  }

  .card-grid--three,
  .team-grid,
  .fees-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .fee-card--featured {
    transform: none;
  }

  .class-card {
    grid-template-columns: 1fr;
  }

  .class-card > div {
    padding: 0 1.4rem 1.5rem;
  }

  .class-card img {
    min-height: 260px;
    max-height: 360px;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .image-stack img,
  .image-stack img:first-child,
  .image-stack img:last-child {
    position: static;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .navbar {
    min-height: 76px;
  }

  .brand span {
    max-width: 150px;
    line-height: 1.05;
  }

  .brand img {
    width: 58px;
    height: 53px;
  }

  h1 {
    letter-spacing: -0.055em;
  }

  .section {
    padding-block: 3.7rem;
  }

  .hero__inner {
    padding-block: 4rem;
  }

  .button {
    width: 100%;
  }

  .footer-brand,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
