
:root {
  --brand-navy: #111111;
  --accent-blue: #8a6a1c;
  --error-red: #a88330;
  --charcoal: #2a2a2a;
  --near-black: #000000;
  --white: #ffffff;
  --border-gray: #e8e8e8;
  --accent: var(--error-red);
  --accent-dark: #8a6a1c;
  --ink: #161616;
  --muted: #6b6b6b;
  --line: #e6e6e4;
  --surface: #ffffff;
  --surface-soft: #f5f5f4;
  --surface-alt: #efefee;
  --surface-dark: #111111;
  --gold: #c9a14a;
  --gold-soft: #f7f0df;
  --container: 1200px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
  --font-base: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-base);
  color: var(--ink);
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.page {
  overflow-x: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

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

.section--dark {
  background: #111111;
  color: var(--white);
}

.text-muted {
  color: var(--muted);
}

.download-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

.course-fact-summary h2 {
  margin: 14px 0 20px;
  font-size: 1.35rem;
}

.filter-show-all {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-show-all:hover,
.filter-show-all:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.course-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0 0 24px;
}

.course-fact-grid div {
  min-width: 0;
}

.course-fact-grid dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-fact-grid dd {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

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

.accent {
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2,
.section-head h3,
.headline,
.mission-copy h2,
.footer-brand {
  margin: 0;
  line-height: 1.05;
}

.section-copy h2,
.section-copy h3 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-copy p {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: #141414;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: #000000;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--secondary {
  background: var(--white);
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
}

.btn--secondary:hover {
  background: #f5f5f5;
}

.btn.light {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.btn.light:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.ghost {
  background: #fff;
  border: 1px solid #e8e8e6;
  color: #141414;
}

.btn.ghost:hover {
  background: #f5f5f4;
}

.button-row {
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  box-shadow: var(--card-shadow);
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
}

.input,
.search-input {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input {
  min-height: 40px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.search-input {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.input:focus,
.search-input:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(0, 63, 105, 0.1);
}

.input::placeholder,
.search-input::placeholder {
  color: #999999;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
}

.badge--primary {
  background: var(--error-red);
  color: var(--white);
}

.badge--secondary {
  background: var(--brand-navy);
  color: var(--white);
}

.badge--neutral {
  background: var(--border-gray);
  color: var(--charcoal);
}

.topbar {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 20px;
}

.topbar-links,
.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(230, 230, 228, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  gap: 24px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
}

.logo img {
  width: 100%;
  height: auto;
  max-height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #47413f;
}

.nav-links > a,
.nav-item > a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links > a:hover,
.nav-item > a:hover {
  color: var(--accent);
}

.nav-links > a.active,
.nav-item > a.active {
  color: var(--accent);
  position: relative;
}

.nav-links > a.active::after,
.nav-item > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: currentColor;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-item--mega {
  position: static;
}

.nav-item--mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: min(calc(100vw - 48px), var(--container));
  padding: 28px 28px 24px;
  border: 1px solid rgba(201, 161, 74, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 55px rgba(15, 31, 47, 0.12);
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 30;
}

.nav-item--mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-item--mega.is-open > a {
  color: var(--accent);
}

.nav-item--mega.is-open > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: currentColor;
}

.mega-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 24px;
}

.mega-menu-head h3 {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.mega-menu-head p {
  max-width: 360px;
  margin: 0;
  color: #5c5c5c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 58px;
}

.mega-menu-list {
  display: grid;
  gap: 18px;
}

.mega-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 161, 74, 0);
  color: #4a4a4a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.mega-menu-list a::before {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}

.mega-menu-list a:hover,
.mega-menu-list a:focus-visible {
  color: var(--accent);
  border-color: rgba(201, 161, 74, 0.75);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-badge {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle,
.nav-submenu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle {
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
}

.nav-toggle-label {
  line-height: 1;
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
}

.nav-toggle-line {
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-item-row {
  display: contents;
}

.nav-submenu-toggle {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

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

.hero {
  position: relative;
  background:
    linear-gradient(90deg, #fafafa 0%, #fafafa 56%, transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: stretch;
  min-height: 640px;
}

.hero-copy {
  padding: 78px 36px 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 760px;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-search {
  width: min(100%, 460px);
  display: flex;
  align-items: center;
  border: 1px solid #e8e8e6;
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px 8px 22px;
  box-shadow: 0 14px 34px rgba(22, 22, 22, 0.06);
}

.hero-search input {
  flex: 1;
  border: 0;
  outline: none;
  color: #444444;
  background: transparent;
}

.hero-search button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
  padding-top: 20px;
}

.stat {
  position: relative;
}

.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #e8e8e6;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.95));
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.category-section {
  position: relative;
  padding: 86px 0 78px;
  background: linear-gradient(180deg, #f4f4f3 0%, #f7f7f6 100%);
  overflow: hidden;
}

.bg-word {
  position: absolute;
  left: -18px;
  bottom: 52px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  user-select: none;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 42px;
  position: relative;
  z-index: 1;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.category-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #e8e1de;
  background: rgba(255, 255, 255, 0.92);
  color: #393332;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(29, 25, 25, 0.04);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.category-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: scale(1.02);
}

.category-card::before {
  content: "+";
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid #f1d1d3;
  font-weight: 700;
  flex: 0 0 auto;
}

.venues {
  padding: 98px 0 92px;
}

.venues-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 40px;
  align-items: center;
}

.map-graphic {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.6;
  margin-top: 36px;
}

.home-venue-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 611 / 350;
  margin-top: 36px;
}

.map-graphic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(1);
}

.home-venue-map-points {
  position: absolute;
  inset: 0;
}

.home-venue-map-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  z-index: 1;
}

.home-venue-map-point::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(201, 161, 74, 0.12);
  animation: mapPointPulse 2.4s ease-out infinite;
}

.home-venue-map-point-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.home-venue-map-point-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(190, 190, 188, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-venue-map-point-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid rgba(190, 190, 188, 0.9);
  border-bottom: 1px solid rgba(190, 190, 188, 0.9);
  transform: translate(-50%, -7px) rotate(45deg);
}

.home-venue-map-point:hover,
.home-venue-map-point:focus-visible {
  z-index: 2;
}

.home-venue-map-point:hover .home-venue-map-point-card,
.home-venue-map-point:focus-visible .home-venue-map-point-card {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.home-venue-map-point-flag {
  font-size: 20px;
  line-height: 1;
}

.home-venue-map-point-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-venue-map-point-copy strong,
.home-venue-map-legend-item span {
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-venue-map-point-copy small,
.home-venue-map-legend-item small {
  color: #7b736f;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-venue-map-legend {
  display: none;
  max-width: 520px;
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-venue-map-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #f5f5f4;
  color: inherit;
  text-decoration: none;
}

@keyframes mapPointPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }

  70% {
    transform: scale(1.5);
    opacity: 0;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.map-graphic span {
  position: absolute;
  background: rgba(201, 161, 74, 0.18);
  border-radius: 56% 44% 50% 50%;
  filter: blur(0.2px);
}

.map-graphic span:nth-child(1) {
  left: 4%;
  top: 42%;
  width: 20%;
  height: 25%;
}

.map-graphic span:nth-child(2) {
  left: 22%;
  top: 26%;
  width: 18%;
  height: 20%;
}

.map-graphic span:nth-child(3) {
  left: 39%;
  top: 22%;
  width: 23%;
  height: 18%;
}

.map-graphic span:nth-child(4) {
  left: 54%;
  top: 26%;
  width: 20%;
  height: 16%;
}

.map-graphic span:nth-child(5) {
  left: 68%;
  top: 30%;
  width: 18%;
  height: 20%;
}

.map-graphic span:nth-child(6) {
  left: 29%;
  top: 51%;
  width: 13%;
  height: 22%;
}

.map-graphic span:nth-child(7) {
  left: 59%;
  top: 49%;
  width: 20%;
  height: 24%;
}

.map-graphic .pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  border: 3px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 8px rgba(201, 161, 74, 0.12);
}

.map-graphic .pin.one {
  left: 50%;
  top: 36%;
}

.map-graphic .pin.two {
  left: 61%;
  top: 34%;
}

.map-graphic .pin.three {
  left: 76%;
  top: 40%;
}

.map-graphic .pin.four {
  left: 18%;
  top: 37%;
}

.venue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.venue-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #f5f5f4;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.flag {
  font-size: 24px;
  line-height: 1;
}

.venue-card small {
  display: block;
  margin-top: 4px;
  color: #948d8b;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.centered-section {
  padding: 92px 0;
  background: #f4f4f3;
  text-align: center;
}

.centered-intro {
  max-width: 740px;
  margin: 0 auto 34px;
}

.centered-intro h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.centered-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.logo-card {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 152px;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 14px 32px rgba(33, 29, 29, 0.04);
}

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0f1, #f9dfe1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4e4745;
  font-weight: 700;
}

.featured {
  padding: 96px 0 102px;
}

.quote {
  max-width: 360px;
  margin-top: 26px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 34px rgba(30, 26, 26, 0.05);
}

.course-image {
  position: relative;
  aspect-ratio: 1.25;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.course-body {
  padding: 22px 20px 20px;
}

.course-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  color: #8f8784;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.square-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #141414;
  color: #fff;
}

.carousel-controls {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.carousel-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: #444444;
  cursor: pointer;
}

.mission {
  padding: 86px 0 88px;
  background: #111111;
  color: #fff;
}

.mission-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.mission-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.04em;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.mission-card {
  padding: 12px 8px 0 0;
}

.mission-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 18px;
}

.mission-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.mission-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  font-size: 14px;
}

.expertise {
  position: relative;
  padding: 98px 0;
  overflow: hidden;
}

.expertise .bg-word {
  top: 34px;
  bottom: auto;
  color: rgba(244, 240, 238, 0.95);
}

.expertise-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: center;
}

.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #f0d8da;
  box-shadow: var(--shadow);
}

.video-card img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.video-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.28), rgba(18, 18, 18, 0.08) 32%, rgba(18, 18, 18, 0.4));
  color: #fff;
}

.video-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.video-label {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.video-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles {
  padding: 34px 0 110px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px 20px;
}

.article-date {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 18px 0 12px;
  font-size: 18px;
  line-height: 1.4;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.read-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.84);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(130px, 0.7fr)) minmax(220px, 1fr);
  gap: 28px;
  padding: 58px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  max-width: 240px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  max-height: 25px;
  object-fit: contain;
}

.footer-address {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.9;
  font-size: 13px;
}

.footer-column h4,
.footer-contact h4 {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-column a {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-contact {
  padding: 22px;
  border-left: 1px solid rgba(201, 161, 74, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

.footer-contact a,
.footer-contact p {
  display: block;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.socials a,
.socials span {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
}

.socials a:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0 34px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.footer-legal-copy {
  color: rgba(255, 255, 255, 0.52);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.page-hero--legal {
  background-image:
    linear-gradient(120deg, rgba(28, 25, 26, 0.82), rgba(201, 161, 74, 0.28)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80");
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.legal-rich-text {
  display: grid;
  gap: 24px;
}

.legal-rich-text section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.legal-rich-text h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.legal-rich-text p,
.legal-rich-text li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.legal-rich-text ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-side-stack {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.legal-nav {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.legal-nav a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-meta-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f6 100%);
}

.legal-meta-card strong {
  display: block;
  margin-top: 14px;
  font-size: 20px;
  color: var(--charcoal);
}

.legal-meta-card span {
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 16, 17, 0.88), rgba(38, 17, 19, 0.54) 55%, rgba(18, 16, 18, 0.28));
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: var(--white);
  clip-path: polygon(0 48%, 100% 14%, 100% 100%, 0 100%);
}

.page-hero--course {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80");
}

.page-hero--catalog {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80");
}

.page-hero--venue {
  background-image: url("https://images.unsplash.com/photo-1499092346589-b9b6be3e94b2?auto=format&fit=crop&w=1600&q=80");
}

.page-hero--about {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80");
}

.page-hero--contact {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80");
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 90px 0 110px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.breadcrumbs span:last-child {
  color: rgba(255, 255, 255, 0.96);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-title {
  max-width: 760px;
  margin: 18px 0 12px;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-hero-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.8;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-section {
  padding: 88px 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 30px;
  align-items: start;
}

body[data-page="course-details"] .page-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.55fr);
}

.content-stack,
.side-stack,
.content-block,
.form-stack,
.office-stack {
  display: grid;
  gap: 18px;
}

.side-stack {
  position: sticky;
  top: 108px;
}

.detail-card,
.sidebar-card,
.feature-panel,
.contact-panel,
.filter-panel,
.milestone-card,
.value-card,
.leadership-card,
.venue-showcase-card,
.office-card,
.stat-card,
.mini-card,
.faq-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
}

.detail-card,
.sidebar-card,
.feature-panel,
.contact-panel,
.filter-panel,
.value-card,
.leadership-card,
.venue-showcase-card,
.office-card,
.faq-card {
  padding: 24px;
}

.detail-card p,
.feature-panel p,
.contact-panel p,
.office-card p,
.sidebar-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.detail-card p + p,
.feature-panel p + p,
.contact-panel p + p,
.sidebar-card p + p,
.office-card p + p,
.faq-card p + p {
  margin-top: 12px;
}

.detail-card h3,
.feature-panel h3,
.sidebar-card h3,
.value-card h3,
.leadership-card h3,
.venue-showcase-card h3,
.office-card h3,
.faq-card h3,
.contact-panel h3,
.filter-panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

.detail-list,
.icon-list,
.office-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.icon-list li,
.office-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.75;
}

.detail-list li::before,
.icon-list li::before,
.office-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
}

.schedule-card {
  background: var(--white);
  border: 1px solid #d9e1e5;
  border-radius: 2px;
  box-shadow: 0 18px 42px rgba(0, 63, 105, 0.07);
  overflow: hidden;
}

.schedule-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 16px 20px;
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #f8fafb;
}

.schedule-card-head--red {
  border-bottom: 3px solid var(--brand-navy);
}

.schedule-card-head--green {
  border-bottom: 3px solid #2e9d62;
}

.schedule-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.schedule-table th:nth-child(1),
.schedule-table td:nth-child(1),
.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
  width: 20.5%;
}

.schedule-table th:nth-child(3),
.schedule-table td:nth-child(3) {
  width: 27%;
}

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
  width: 20%;
}

.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5) {
  width: 12%;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid #e8eef0;
  font-size: 13px;
}

.schedule-table th {
  color: #667881;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-table tbody tr {
  transition: background 0.2s ease;
}

.schedule-table tbody tr:hover {
  background: #f7fafb;
}

.schedule-table td:first-child,
.schedule-table td:nth-child(2) {
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.25;
}

.schedule-table td:nth-child(3) {
  color: #42545c;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.schedule-table td:last-child,
.schedule-table th:last-child {
  padding-right: 8px;
  text-align: right;
}

.schedule-fee-cell {
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}

.schedule-fee-stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.schedule-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--brand-navy);
  border-radius: 50%;
  background: var(--brand-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.schedule-register-link:hover {
  background: var(--accent-blue);
  color: var(--white);
  transform: translateX(2px);
}

.schedule-meta {
  padding: 15px 20px;
  color: var(--brand-navy);
  background: #f8fafb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.live-tile {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.live-tile-body {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 14px 24px 22px;
  text-align: center;
  align-items: start;
}

.live-tile-body > div {
  width: 100%;
}

.live-tile-body strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.live-date-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px 0;
  border-top: 1px solid #e8eef0;
  color: #42545c;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.live-date-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.schedule-register-link--live {
  width: 30px;
  height: 30px;
  border-radius: 2px;
  background: #2e9d62;
}

.live-date-line:first-child {
  border-top: 0;
}

.live-date-line strong {
  margin-bottom: 0;
  color: var(--brand-navy);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.fee-with-vat {
  white-space: nowrap;
}

.fee-with-vat small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a999e;
}

.invoice-summary {
  display: grid;
  gap: 12px;
}

.registration-invoice {
  position: relative;
  margin-bottom: 12px;
  padding: 28px 24px 34px;
  background: #fffdfa;
  border: 1px solid #e7ded8;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.registration-invoice::before {
  content: "INVOICE PREVIEW";
  display: block;
  margin: -4px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #d8cdc7;
  color: #8f8f8f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: right;
}

.registration-invoice::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -10px;
  left: -1px;
  height: 11px;
  background: linear-gradient(135deg, transparent 7px, #fffdfa 0) 0 0 / 14px 11px repeat-x;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.08));
}

.registration-invoice > .eyebrow {
  color: var(--brand-navy);
}

.registration-invoice .invoice-summary {
  gap: 0;
  margin-top: 20px !important;
}

.registration-invoice .invoice-line {
  min-height: 44px;
  padding: 11px 0;
  border-bottom: 1px solid #eee7e2;
  color: #5c5c5c;
  font-size: 12px;
}

.registration-invoice .invoice-line span {
  flex: 0 0 auto;
}

.registration-invoice .invoice-line strong {
  max-width: 68%;
  color: #2e2a28;
  font-size: 13px;
  text-align: right;
}

.registration-invoice .invoice-line:first-child {
  align-items: flex-start;
  min-height: 58px;
}

.registration-invoice .invoice-line:first-child strong {
  font-size: 15px;
  line-height: 1.25;
}

.registration-invoice .invoice-line--total {
  min-height: 62px;
  margin-top: 5px;
  padding-top: 18px;
  border-top: 2px solid var(--brand-navy);
  border-bottom: 0;
  color: var(--brand-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registration-invoice .invoice-line--total strong {
  color: var(--brand-navy);
  font-size: 19px;
}

.registration-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.registration-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.registration-fact {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f6f6f5;
}

.registration-fact span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.registration-fact strong {
  font-size: 14px;
  color: var(--charcoal);
}

.registration-discount-box {
  padding: 18px;
  border: 1px solid var(--line);
  background: #faf6ec;
}

.registration-tier-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.registration-tier-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.registration-form-section {
  display: grid;
  gap: 18px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #eee5e2;
}

.registration-form-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.registration-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.registration-form-head h4 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.registration-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.registration-add-button {
  white-space: nowrap;
}

.participant-list {
  display: grid;
  gap: 16px;
}

.participant-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: #f7f7f6;
}

.participant-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.participant-card-head h4 {
  margin: 10px 0 0;
  font-size: 18px;
}

.participant-remove-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.participant-remove-button[hidden] {
  display: none;
}

.invoice-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e6e4;
  font-size: 12px;
}

.invoice-line strong {
  font-size: 14px;
}

.invoice-line small {
  font-size: 10px;
  color: #8f8f8f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invoice-line--total {
  border-bottom: 0;
  padding-bottom: 0;
}

.side-menu {
  display: grid;
}

.side-menu a {
  padding: 12px 0;
  border-top: 1px solid #f1e9e7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-menu a:first-child {
  border-top: 0;
}

.side-menu a.active,
.side-menu a:hover {
  color: var(--accent);
}

.register-card {
  background: linear-gradient(180deg, #423e3e, #bababa);
  color: var(--white);
}

.register-card h3,
.register-card p,
.register-card .mini-meta {
  color: inherit;
}

.register-card .btn {
  width: 100%;
  margin-top: 18px;
  background: var(--white);
  color: var(--charcoal);
}

.register-card .btn:hover {
  background: #f5f5f4;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-box {
  display: grid;
  gap: 14px;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #f1e9e7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-box .contact-line:nth-of-type(2) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.support-box .contact-line > span:first-child {
  min-width: 0;
}

.support-box .contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--brand-navy);
}

.support-box .contact-line a:hover {
  color: var(--accent-blue);
}

.support-box .download-icon {
  margin-right: 0;
}

.module-list {
  display: grid;
  gap: 16px;
}

.module-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.module-day {
  display: grid;
  place-items: center;
  background: #f6f6f5;
  border-right: 1px solid var(--line);
  color: #948a87;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.module-day strong {
  display: block;
  margin-top: 8px;
  color: var(--charcoal);
  font-size: 38px;
  letter-spacing: -0.04em;
}

.module-body {
  padding: 20px 22px;
}

.module-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.module-body ul {
  margin: 0;
  padding-left: 18px;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.8;
}

.partner-grid,
.value-grid,
.leadership-grid,
.venue-showcase-grid,
.milestone-grid,
.contact-card-grid,
.office-grid,
.stats-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.partner-card {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(22, 20, 20, 0.04);
  text-align: center;
}

.partner-card strong {
  font-size: 26px;
  letter-spacing: -0.04em;
}

.partner-card span {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #948a87;
}

.cta-banner {
  padding: 36px 0;
  background: #2b2728;
  color: var(--white);
}

.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

.catalog-layout,
.contact-layout,
.split-feature,
.spotlight-layout,
.venue-map-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.catalog-layout {
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
}

.filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chip.active,
.chip:hover {
  color: var(--accent);
  border-color: #f1d1d3;
}

.filter-panel {
  background: #f6f6f5;
}

.filter-group + .filter-group {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #eee5e3;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #514b49;
  font-size: 13px;
}

.checkbox-row input {
  accent-color: var(--accent);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.catalog-summary {
  color: #8c8481;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.pagination a.active,
.pagination span.active,
.pagination a:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

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

.stat-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.venue-showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venue-showcase-card {
  padding: 0;
  overflow: hidden;
}

.venue-card-media {
  position: relative;
  margin: 18px 18px 0;
  overflow: hidden;
}

.venue-card-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.venue-showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.venue-showcase-card-body {
  padding: 20px 22px 22px;
}

.venue-showcase-card p,
.leadership-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.venue-course-meta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.venue-course-meta-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.venue-course-meta-item strong {
  display: block;
  margin-bottom: 2px;
  color: #141414;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.venue-course-meta-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141414;
}

.venue-course-meta-icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1400px) {
  .venue-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.spotlight-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.spotlight-media img,
.split-feature-media img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.split-feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

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

.milestone-card {
  padding: 24px;
  background: #f6f6f5;
  border: 1px solid var(--line);
}

.milestone-card strong {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

.milestone-card span {
  display: block;
  margin-top: 10px;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.value-grid,
.leadership-grid,
.contact-card-grid,
.office-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leadership-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 18px;
}

.leadership-role {
  display: block;
  margin-bottom: 10px;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card-grid,
.office-grid {
  gap: 20px;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

.contact-panel--dark {
  background: #2a2627;
  color: var(--white);
}

.contact-panel--dark h3,
.contact-panel--dark p,
.contact-panel--dark li,
.contact-panel--dark a {
  color: inherit;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #756d6a;
}

textarea.input {
  min-height: 160px;
  resize: vertical;
}

.contact-card {
  padding: 24px;
}

.contact-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.loading-state,
.empty-state {
  padding: 24px;
  border: 1px solid var(--line);
  background: #f6f6f5;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.8;
}

.page-loader {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.loader-icon {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(37, 34, 34, 0.14);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: loader-spin 0.9s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.rich-text p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.map-box {
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
  .page-layout,
  .catalog-layout,
  .contact-layout,
  .split-feature,
  .spotlight-layout,
  .venue-map-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="course-details"] .page-layout {
    display: block;
  }

  body[data-page="course-details"] .side-stack {
    position: static;
    margin-top: 18px;
  }

  .registration-highlight,
  .registration-facts {
    grid-template-columns: 1fr;
  }

  .registration-form-head,
  .participant-card-head {
    flex-direction: column;
  }

  .catalog-grid,
  .venue-showcase-grid,
  .value-grid,
  .leadership-grid,
  .office-grid,
  .contact-card-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .side-stack {
    position: static;
  }
}

@media (max-width: 860px) {
  .page-hero {
    min-height: 320px;
  }

  .page-hero::after {
    height: 84px;
  }

  .cta-banner-inner,
  .filter-toolbar,
  .schedule-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .catalog-grid,
  .venue-showcase-grid,
  .value-grid,
  .leadership-grid,
  .contact-card-grid,
  .office-grid,
  .faq-grid,
  .legal-meta-grid,
  .stats-grid,
  .partner-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

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

  .module-day {
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-layout,
  .schedule-grid {
    gap: 18px;
  }

  body[data-page="course-details"] .page-layout {
    gap: 18px;
  }

  body[data-page="course-details"] .page-hero-meta {
    gap: 10px 14px;
  }

  body[data-page="course-details"] .schedule-table thead {
    display: none;
  }

  body[data-page="course-details"] .schedule-table,
  body[data-page="course-details"] .schedule-table tbody,
  body[data-page="course-details"] .schedule-table tr,
  body[data-page="course-details"] .schedule-table td {
    display: block;
    width: 100%;
  }

  body[data-page="course-details"] .schedule-table tr {
    padding: 14px 18px;
    border-bottom: 1px solid #e6e6e4;
  }

  body[data-page="course-details"] .schedule-table tr:last-child {
    border-bottom: 0;
  }

  body[data-page="course-details"] .schedule-table td {
    padding: 8px 0;
    border-bottom: 0;
    text-align: left;
  }

  body[data-page="course-details"] .schedule-table td::before {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f8f8f;
  }

  body[data-page="course-details"] .schedule-table td::before {
    content: attr(data-label);
  }

  body[data-page="course-details"] .schedule-fee-cell,
  body[data-page="course-details"] .schedule-table td:last-child,
  body[data-page="course-details"] .schedule-table th:last-child {
    text-align: left;
  }

  body[data-page="course-details"] .schedule-fee-stack {
    flex-wrap: wrap;
    gap: 10px;
  }

  body[data-page="course-details"] .fee-with-vat {
    white-space: normal;
  }

  body[data-page="course-details"] .fee-with-vat small {
    display: block;
    margin-top: 4px;
  }

  body[data-page="course-details"] .live-date-line {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="course-details"] .live-date-actions {
    width: 100%;
    justify-content: space-between;
  }

  body[data-page="course-details"] .contact-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-side-stack {
    position: static;
  }
}

@media (max-width: 560px) {
  .course-fact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    padding: 72px 0 88px;
  }

  .page-section {
    padding: 72px 0;
  }

  .detail-card,
  .sidebar-card,
  .feature-panel,
  .contact-panel,
  .filter-panel,
  .value-card,
  .leadership-card,
  .office-card,
  .faq-card,
  .contact-card,
  .stat-card {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-title {
    font-size: 2.2rem;
  }

  body[data-page="course-details"] .page-hero-meta {
    gap: 8px;
    font-size: 10px;
  }

  body[data-page="course-details"] .schedule-table tr {
    padding: 12px 14px;
  }

  body[data-page="course-details"] .schedule-card-head,
  body[data-page="course-details"] .schedule-meta,
  body[data-page="course-details"] .live-tile-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  body[data-page="course-details"] .side-menu a {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

/* Admin workspace: deliberately quiet and dense for repeated operational work. */
body[data-page^="admin-"] .page-section {
  padding: 42px 0 64px;
  background: #f6f7f8;
}

body[data-page^="admin-"] .page-hero {
  min-height: 250px;
}

body[data-page^="admin-"] .page-hero::after {
  height: 56px;
}

body[data-page^="admin-"] .page-hero-inner {
  padding: 62px 0 72px;
}

.admin-shell-layout {
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 20px;
}

.admin-shell-sidebar,
.admin-side-stack {
  gap: 12px;
}

.admin-sidebar-card,
.admin-sidebar-card--brand,
.admin-side-nav a,
.admin-mini-stat,
.admin-kpi-card,
.admin-status-item,
.admin-panel-muted,
.admin-page-lead,
.admin-summary-card,
.admin-action-card {
  border-radius: 6px;
  box-shadow: none;
}

.admin-sidebar-card {
  padding: 16px;
  background: #fff;
}

.admin-sidebar-card--brand {
  background: #141414;
}

.admin-sidebar-card--brand h3 {
  font-size: 20px;
}

.admin-side-nav {
  gap: 4px;
  margin-top: 12px;
}

.admin-side-nav a {
  min-height: 52px;
  padding: 10px 12px;
  border-color: #e7e8ea;
}

.admin-side-link-copy strong {
  font-size: 13px;
}

.admin-side-link-copy small {
  font-size: 10px;
}

.admin-side-link-index {
  width: 26px;
  height: 26px;
  border-radius: 4px;
}

.admin-side-nav a:hover,
.admin-side-nav a.is-active {
  transform: none;
  background: #141414;
  border-color: #141414;
}

.admin-page-stack,
.admin-dashboard-panels {
  gap: 16px;
  margin-top: 0;
}

.admin-page-lead,
.admin-overview-hero,
.admin-overview-aside,
.admin-form-card,
.admin-table-card,
.admin-summary-card,
.admin-panel-muted {
  padding: 22px;
  background: #fff;
  border: 1px solid #e2e4e7;
  box-shadow: none;
}

.admin-page-lead h3,
.admin-overview-hero h3,
.admin-overview-aside h3,
.admin-summary-card h3,
.admin-panel-muted h3,
.admin-form-card h3,
.admin-table-card h3 {
  font-size: 22px;
}

.admin-mini-stats,
.admin-kpi-grid {
  gap: 10px;
  margin-top: 16px;
}

.admin-mini-stat,
.admin-kpi-card {
  padding: 14px;
  border: 1px solid #e7e8ea;
  background: #fafbfc;
}

.admin-mini-stat strong,
.admin-kpi-card strong {
  margin-top: 8px;
  font-size: 22px;
}

.admin-workspace-grid,
.admin-overview-grid {
  gap: 16px;
}

.admin-table-wrap {
  margin-top: 8px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-color: #e9eaec;
}

.admin-table th {
  background: #f6f7f8;
  color: #5f646a;
}

.admin-table small {
  color: #747a81;
}

@media (max-width: 1024px) {
  .admin-shell-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
    font-size: 11px;
  }

  .mega-menu {
    width: min(calc(100vw - 32px), 980px);
    padding: 24px 22px 20px;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 36px;
  }

  .hero-inner,
  .category-layout,
  .venues-layout,
  .expertise-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-media {
    min-height: 420px;
  }

  .category-grid,
  .logo-grid,
  .course-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    border-left: 0;
    border-top: 1px solid rgba(201, 161, 74, 0.5);
  }
}

@media (max-width: 980px) {
  .mega-menu {
    width: min(calc(100vw - 24px), 760px);
  }

  .home-venue-map-point-card {
    display: none;
  }

  .home-venue-map-legend {
    display: grid;
  }
}


.admin-section {
  background: linear-gradient(180deg, #f7f2ef 0%, #ffffff 22%, #ffffff 100%);
}

.admin-hero-inner {
  display: grid;
  gap: 24px;
}

.admin-hero-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.auth-shell {
  width: min(100%, 520px);
  margin: 0 auto;
}

.admin-shell-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-shell-main {
  min-width: 0;
}

.admin-shell-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  align-self: start;
}

.admin-sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 242, 0.96)),
    #fff;
}

.admin-sidebar-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.admin-sidebar-card--brand {
  background: linear-gradient(160deg, #161616 0%, #403638 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.admin-sidebar-card--brand .eyebrow,
.admin-sidebar-card--brand p {
  color: rgba(255, 255, 255, 0.74);
}

.admin-sidebar-card--brand h3 {
  margin: 16px 0 0;
  font-size: 30px;
  line-height: 1.05;
  color: var(--white);
}

.admin-sidebar-identity {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar-identity span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-sidebar-identity strong {
  font-size: 22px;
  color: var(--white);
}

.admin-side-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #ece1de;
  border-radius: 18px;
  background: #fff;
  color: var(--charcoal);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-side-link-copy {
  display: grid;
  gap: 5px;
}

.admin-side-link-copy strong {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.admin-side-link-copy small {
  color: #807675;
  font-size: 11px;
  line-height: 1.5;
}

.admin-side-link-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f5efed;
  color: #5c5351;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.admin-side-nav a:hover,
.admin-side-nav a.is-active {
  transform: translateX(4px);
  border-color: var(--accent);
  background: linear-gradient(135deg, #161616, #3a3133);
  color: var(--white);
}

.admin-side-nav a:hover .admin-side-link-copy small,
.admin-side-nav a.is-active .admin-side-link-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.admin-side-nav a:hover .admin-side-link-index,
.admin-side-nav a.is-active .admin-side-link-index {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.admin-side-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #efe5e2;
  color: #5f5653;
  font-size: 13px;
}

.admin-side-stat:first-of-type {
  margin-top: 14px;
}

.admin-side-stat strong {
  color: var(--charcoal);
  font-size: 24px;
}

.admin-side-stat span {
  color: #7b7270;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-card,
.admin-stat-card,
.verify-result,
.admin-document-preview-card {
  border-radius: 24px;
}

.admin-stats-grid,
.admin-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 6px;
}

.admin-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.admin-action-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.admin-action-card .button-row {
  margin-top: 20px;
}

.admin-action-grid--dashboard .admin-action-card:last-child {
  grid-column: 1 / -1;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.admin-overview-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f5 100%);
}

.admin-overview-hero h3,
.admin-overview-aside h3 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.admin-overview-hero > p,
.admin-overview-aside > p {
  max-width: 780px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.admin-overview-aside {
  align-self: start;
}

.admin-page-stack {
  display: grid;
  gap: 24px;
}

.admin-page-lead {
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f5 100%);
}

.admin-page-lead h3 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.admin-page-lead p {
  max-width: 860px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.admin-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-mini-stat {
  padding: 20px;
  border: 1px solid #eadfdb;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.admin-mini-stat span {
  color: #888888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-mini-stat strong {
  display: block;
  margin-top: 14px;
  color: var(--charcoal);
  font-size: 28px;
  line-height: 1.05;
}

.admin-mini-stat p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.admin-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.admin-form-card {
  min-width: 0;
}

.admin-side-stack {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.admin-summary-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf6f4 100%);
}

.admin-summary-card h3,
.admin-panel-muted h3,
.admin-form-card h3,
.admin-table-card h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.12;
}

.admin-panel-muted {
  background: #f7f7f6;
}

.admin-panel-muted p,
.admin-form-card p,
.admin-table-card p,
.admin-summary-card p {
  color: var(--muted);
  line-height: 1.8;
}

.admin-summary-lines {
  margin-top: 18px;
}

.admin-key-value {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-key-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #ece3e0;
}

.admin-key-value-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-key-value-row span {
  color: #7a716f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-key-value-row strong {
  color: var(--charcoal);
  font-size: 16px;
  text-align: right;
}

.admin-note-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.admin-note-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.admin-table-card {
  min-width: 0;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-kpi-card {
  padding: 20px;
  border: 1px solid #eadfdb;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.admin-kpi-card span {
  color: #888888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 14px;
  color: var(--charcoal);
  font-size: 34px;
  line-height: 1;
}

.admin-kpi-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.admin-status-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-status-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbf7f6;
}

.admin-status-item span {
  color: #888888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-status-item strong {
  display: block;
  margin-top: 12px;
  color: var(--charcoal);
  font-size: 22px;
  line-height: 1.15;
}

.admin-status-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.admin-dashboard-panels {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

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

.admin-grid--secondary {
  align-items: start;
}

body[data-page="certificate-verification"] .admin-grid--secondary {
  grid-template-columns: 1fr;
}

body[data-page="certificate-verification"] .certificate-stage {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.admin-grid--tables {
  margin-top: 32px;
}

.admin-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

#admin-document-form {
  gap: 24px;
}

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

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-field--full,
.admin-form-grid .button-row {
  grid-column: 1 / -1;
}

.admin-form textarea.input {
  min-height: 140px;
  resize: vertical;
}

.button-row form {
  margin: 0;
}

.admin-alert {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.admin-alert--success {
  background: #edf7f1;
  border: 1px solid #cfe8d8;
  color: #215c37;
}

.admin-alert--error {
  background: #fff2f1;
  border: 1px solid #f3d2cf;
  color: #8a2424;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.admin-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.6;
}

.admin-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-table-link {
  color: var(--brand-navy);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.admin-table-link:hover {
  color: var(--accent);
}

.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.verify-result--success {
  border-color: #cfe8d8;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
}

.verify-result--error {
  border-color: #f0d6d2;
  background: linear-gradient(180deg, #ffffff 0%, #fff6f4 100%);
}

.verify-result-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.verify-result-status h3 {
  margin: 4px 0 0;
}

.verify-result-check {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #1f8a4c;
}

.verify-result-check svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.verify-result-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 24px;
  margin: 22px 0 6px;
  padding-top: 18px;
  border-top: 1px solid #dcebe1;
}

.verify-result-details dt {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.verify-result-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-document-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-document-amount {
  min-width: 220px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.admin-document-amount h3,
.admin-stat-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
}

.admin-preview-actions {
  margin-top: 0;
}

.admin-preview-actions .btn,
.admin-preview-actions form {
  margin: 0;
}

#admin-document-summary {
  display: grid;
  gap: 14px;
}

.certificate-stage {
  display: grid;
  gap: 16px;
}

.certificate-stage-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(201, 161, 74, 0.12);
  color: #8a6a1c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Web twin of the certificate PDF: laid out once at a fixed design size (1120 x 792, A4 landscape)
   and scaled as a whole, so it keeps the printed proportions on every screen. */
.certificate-sheet {
  position: relative;
  width: 100%;
  aspect-ratio: 841.89 / 595.28;
  container-type: inline-size;
  overflow: hidden;
  background: #fdfcf9;
  box-shadow: 0 28px 48px rgba(17, 17, 17, 0.14);
}

.certificate-sheet-canvas {
  --certificate-design-width: 1120px;
  --cs-gold: #c9a14a;
  --cs-deep-gold: #8a6a1c;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--certificate-design-width);
  height: calc(var(--certificate-design-width) * 595.28 / 841.89);
  box-sizing: border-box;
  border: 19px solid #111111;
  color: #111111;
  font-family: var(--font-base);
  text-align: center;
  transform-origin: top left;
  transform: scale(tan(atan2(100cqw, var(--certificate-design-width))));
}

.certificate-sheet-canvas::before,
.certificate-sheet-canvas::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.certificate-sheet-canvas::before {
  inset: 9px;
  border: 1.5px solid var(--cs-gold);
}

.certificate-sheet-canvas::after {
  inset: 15px;
  border: 0.6px solid var(--cs-gold);
}

.cs-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 0 solid var(--cs-gold);
}

.cs-corner::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--cs-gold);
  transform: rotate(45deg);
}

.cs-corner--tl { top: 24px; left: 24px; border-width: 2px 0 0 2px; }
.cs-corner--tr { top: 24px; right: 24px; border-width: 2px 2px 0 0; }
.cs-corner--bl { bottom: 24px; left: 24px; border-width: 0 0 2px 2px; }
.cs-corner--br { bottom: 24px; right: 24px; border-width: 0 2px 2px 0; }
.cs-corner--tl::after { top: 5px; left: 5px; }
.cs-corner--tr::after { top: 5px; right: 5px; }
.cs-corner--bl::after { bottom: 5px; left: 5px; }
.cs-corner--br::after { bottom: 5px; right: 5px; }

.cs-body {
  position: absolute;
  top: 64px;
  left: 50%;
  width: 760px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-logo {
  display: block;
  width: 176px;
  height: auto;
}

.cs-logo-sub,
.cs-subtitle,
.cs-meta span,
.cs-verify-copy span {
  color: var(--cs-deep-gold);
  font-weight: 600;
  text-transform: uppercase;
}

.cs-logo-sub {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.8em;
}

.cs-title {
  margin: 22px 0 0;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.cs-subtitle {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.55em;
}

.cs-subtitle::before,
.cs-subtitle::after {
  content: "";
  width: 78px;
  height: 1px;
  background: var(--cs-gold);
}

.cs-certify,
.cs-tagline {
  margin: 0;
  color: #6b6b6b;
  font-style: italic;
  font-weight: 300;
}

.cs-certify {
  margin-top: 26px;
  font-size: 15px;
}

.cs-name {
  max-width: 750px;
  margin: 10px 0 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.cs-rule {
  position: relative;
  width: 454px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--cs-gold) 0 47%, transparent 47% 53%, var(--cs-gold) 53%);
}

.cs-rule::after {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  background: var(--cs-gold);
  transform: rotate(45deg);
}

.cs-completed {
  margin: 18px 0 0;
  color: #2a2a2a;
  font-size: 14.5px;
}

.cs-course {
  max-width: 750px;
  margin: 12px 0 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.22;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.cs-tagline {
  margin-top: 12px;
  font-size: 12px;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 720px;
  margin-top: 22px;
}

.cs-meta div {
  padding: 2px 12px;
}

.cs-meta div + div {
  border-left: 1px solid var(--cs-gold);
}

.cs-meta span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.26em;
}

.cs-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.cs-bottom {
  position: absolute;
  left: 104px;
  right: 104px;
  bottom: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}

.cs-sign {
  display: grid;
  justify-items: center;
  width: 266px;
}

.cs-sign img {
  width: auto;
  height: 86px;
  margin-bottom: -2px;
}

.cs-sign strong {
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid #2a2a2a;
  font-size: 11.5px;
  font-weight: 600;
}

.cs-sign small {
  margin-top: 3px;
  color: #6b6b6b;
  font-size: 10px;
}

.cs-seal {
  display: block;
  width: 124px;
  height: 124px;
  margin-bottom: 6px;
  font-family: var(--font-base);
}

.cs-verify {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.cs-verify-copy {
  display: grid;
  justify-items: end;
  text-align: right;
}

.cs-verify-copy span {
  font-size: 9px;
  letter-spacing: 0.2em;
}

.cs-verify-copy strong {
  margin: 4px 0 12px;
  font-size: 12px;
  font-weight: 600;
}

.cs-verify-copy a {
  margin-top: 4px;
  color: var(--cs-deep-gold);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cs-qr {
  flex: 0 0 98px;
  width: 98px;
  height: 98px;
  padding: 5px;
  border: 1px solid var(--cs-gold);
  background: #ffffff;
}

.cs-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.cs-footer {
  position: absolute;
  left: 60px;
  right: 60px;
  bottom: 26px;
  margin: 0;
  color: #9a9a96;
  font-size: 9px;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .admin-shell-layout,
  .admin-overview-grid,
  .admin-workspace-grid,
  .admin-action-grid,
  .admin-stats-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-mini-stats,
  .admin-kpi-grid,
  .admin-action-grid--dashboard {
    grid-template-columns: 1fr;
  }

  .admin-shell-sidebar,
  .admin-side-stack {
    position: static;
  }

  .admin-document-header,
  .admin-hero-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-document-amount {
    width: 100%;
    min-width: 0;
  }

  .admin-table {
    min-width: 560px;
  }

}

@media print {
  body[data-page="admin-certificate-preview"] .page-hero,
  body[data-page="admin-certificate-preview"] .admin-shell-sidebar,
  body[data-page="admin-certificate-preview"] .admin-alert,
  body[data-page="admin-certificate-preview"] .admin-grid,
  body[data-page="admin-certificate-preview"] .admin-preview-actions,
  body[data-page="certificate-verification"] .page-hero,
  body[data-page="certificate-verification"] .admin-grid > :not(.certificate-stage),
  body[data-page="certificate-verification"] .verify-result {
    display: none !important;
  }

  body[data-page="admin-certificate-preview"] .admin-shell-layout,
  body[data-page="certificate-verification"] .admin-grid {
    display: block;
  }

  body[data-page="admin-certificate-preview"] .container,
  body[data-page="certificate-verification"] .container {
    width: 100%;
    max-width: none;
  }

  body[data-page="admin-certificate-preview"] .certificate-sheet,
  body[data-page="certificate-verification"] .certificate-sheet {
    box-shadow: none;
    border: 0;
    break-inside: avoid;
  }
}

@media (max-width: 980px) {
  .mega-menu-head {
    flex-direction: column;
    gap: 12px;
  }

  .mega-menu-head p {
    max-width: none;
    text-align: left;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .topbar-inner,
  .section-head,
  .mission-head,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-inner {
    min-height: 72px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .navbar.is-mobile-menu-open .nav-links {
    display: flex;
  }

  .nav-links > a,
  .nav-item {
    width: 100%;
  }

  .nav-links > a,
  .nav-item-row > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 0;
  }

  .nav-links > a {
    border-bottom: 1px solid rgba(230, 230, 228, 0.9);
  }

  .nav-item {
    display: block;
    border-bottom: 1px solid rgba(230, 230, 228, 0.9);
  }

  .nav-item--mega::after {
    display: none;
  }

  .nav-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-item-row > a {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-submenu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-links > a.active::after,
  .nav-item > a.active::after,
  .nav-item--mega.is-open > a::after {
    display: none;
  }

  .mega-menu {
    display: none;
    position: static;
    width: 100%;
    padding: 0 0 14px;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
  }

  .nav-item--mega.is-open .mega-menu {
    display: block;
  }

  .mega-menu-head {
    margin: 4px 0 14px;
    gap: 10px;
  }

  .mega-menu-head p {
    max-width: none;
    text-align: left;
  }

  .mega-menu-grid,
  .mega-menu-list {
    gap: 0;
  }

  .mega-menu-list a {
    padding: 12px 0 12px 14px;
  }

  .navbar.is-mobile-menu-open .nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .navbar.is-mobile-menu-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .navbar.is-mobile-menu-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mega-menu {
    display: none;
  }

  .hero {
    background: #fafafa;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-stats,
  .category-grid,
  .venue-list,
  .logo-grid,
  .course-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .stat:not(:first-child)::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    display: none;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy,
  .category-section,
  .venues,
  .centered-section,
  .featured,
  .mission,
  .expertise,
  .articles {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-search {
    padding-left: 16px;
  }

  .btn,
  .hero-search button {
    min-height: 48px;
  }

  .play-button {
    width: 68px;
    height: 68px;
    font-size: 20px;
  }
}
/* ===== Brand refresh: black & gray base, gold reserved for actions, numbers and highlights ===== */
.btn--primary,
.btn.gold {
  background: var(--gold);
  color: #111;
}

.btn--primary:hover,
.btn.gold:hover {
  background: #b8913a;
  color: #111;
}

.hero-search button {
  background: var(--gold);
  color: #111;
}

.eyebrow {
  color: var(--accent);
}

.eyebrow::before {
  background: var(--gold);
}

.stat strong {
  color: var(--ink);
}

.stat strong::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-top: 10px;
  background: var(--gold);
}

.mission-icon {
  color: var(--gold);
  border-color: rgba(201, 161, 74, 0.35);
}

.footer {
  border-top: 3px solid var(--gold);
}

/* All photography in grayscale so gold stays the only colour that draws the eye. */
main img,
.hero-media img,
.video-card img {
  filter: grayscale(100%);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

.hero-points li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--accent);
}

.home-faq {
  padding: 86px 0;
  background: var(--surface-soft);
}

.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 48px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list p {
  margin: 12px 0 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.home-cta {
  background: #0d0d0d;
  color: #fff;
  border-top: 3px solid var(--gold);
}

.home-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 0;
}

.home-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.03em;
}

.home-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .home-faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Venue cards and map markers: country-code badges instead of emoji flags. */
.venue-card {
  background: #fff;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.venue-card::after {
  content: "\2192";
  margin-left: auto;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 160ms ease;
}

.venue-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.venue-card:hover::after {
  transform: translateX(3px);
}

.flag,
.home-venue-map-point-flag {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.flag:empty,
.home-venue-map-point-flag:empty {
  background: #111 radial-gradient(circle, var(--gold) 0 3px, transparent 4px);
}

.map-graphic-image {
  filter: grayscale(1);
  opacity: 0.28;
}

.home-venue-map-point::before {
  background: rgba(201, 161, 74, 0.28);
}

.home-venue-map-point-dot {
  background: var(--gold);
  border-color: #111;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.home-venue-map-point-card {
  border-radius: 10px;
  border-color: #111;
  background: #111;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.home-venue-map-point-card::after {
  background: #111;
  border-color: #111;
}

.home-venue-map-point-copy small {
  color: rgba(255, 255, 255, 0.6);
}

.home-venue-map-point-card .home-venue-map-point-flag {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: #111;
}

@media (prefers-reduced-motion: reduce) {
  .home-venue-map-point::before {
    animation: none;
  }
}

/* ===== Search-first layout: home hero, course finder and course page ===== */
.breadcrumbs--links a {
  color: inherit;
}

.breadcrumbs--links a:hover {
  color: var(--gold);
}

.breadcrumbs--links > * + *::before {
  content: "/";
  margin-right: 12px;
  opacity: 0.5;
}

.btn--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 10px;
}

.btn:focus-visible,
.finder-field input:focus-visible,
.finder-field select:focus-visible,
.home-venue-map-point:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Shared search form (home hero + course finder). */
.finder-form {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.finder-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 10px 14px;
  background: var(--surface-soft);
  border-radius: 4px;
}

.finder-field span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.finder-field input,
.finder-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.finder-form .btn {
  min-height: 100%;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .finder-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-field--wide,
  .finder-form .btn {
    grid-column: 1 / -1;
  }

  .finder-form .btn {
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .finder-form {
    grid-template-columns: 1fr;
  }
}

/* Home: the search is the hero. */
.home-search-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.92)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1800&q=70") center / cover;
  background-blend-mode: normal, luminosity;
}

.home-search-hero-inner {
  padding: 96px 0 64px;
  text-align: center;
}

.home-search-hero .eyebrow {
  justify-content: center;
}

.home-search-hero h1 {
  max-width: 900px;
  margin: 20px auto 16px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home-search-hero h1 .accent {
  color: var(--gold);
}

.home-search-hero p {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.home-search-hero .finder-form {
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.home-search-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.home-search-popular a {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease;
}

.home-search-popular a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.home-search-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-search-stats div,
.finder-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.home-search-stats dd,
.finder-stats dd {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.home-search-stats dt,
.finder-stats dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 680px) {
  .home-search-hero-inner {
    padding: 64px 0 48px;
  }

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

/* Course finder page. */
.finder-hero {
  padding: 56px 0 48px;
  background: #0d0d0d;
  color: #fff;
}

.finder-title {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.finder-copy {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.finder-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin: 28px 0 0;
}

.finder-results {
  padding-top: 40px;
}

.finder-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.finder-summary {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.finder-summary strong {
  color: var(--ink);
}

.finder-reset {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.finder-list {
  display: grid;
  gap: 10px;
}

.finder-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 120px auto;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.finder-row:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.finder-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  background: #111;
  color: #fff;
  border-radius: 4px;
  text-align: center;
}

.finder-date strong {
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
}

.finder-date span {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finder-category {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.finder-main h3 {
  margin: 6px 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.finder-main h3 a:hover {
  color: var(--accent);
}

.finder-main p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.finder-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.finder-price small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.finder-price strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.pagination {
  flex-wrap: wrap;
  align-items: center;
}

.pagination a {
  width: auto;
  min-width: 42px;
  padding: 0 12px;
}

.pagination a.active,
.pagination a:hover {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
}

.pagination .pagination-status {
  width: auto;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 760px) {
  .finder-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px 16px;
  }

  .finder-price {
    align-items: flex-start;
    grid-column: 2;
  }

  .finder-cta {
    grid-column: 1 / -1;
  }
}

/* Course page. */
.course-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 48px;
  background:
    linear-gradient(120deg, rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.86)),
    #0d0d0d;
  color: #fff;
}

/* The course photo, barely visible behind the dark hero; strongest on the right, away from the title. */
.course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--course-hero-image, none) center / cover no-repeat;
  opacity: 0.12;
  filter: grayscale(0.35);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, #000 55%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, #000 55%);
  pointer-events: none;
}

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

.course-hero-title {
  max-width: 900px;
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.course-hero-copy {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.course-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 32px 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
}

.course-hero-facts div {
  padding: 16px 18px;
  background: #121212;
}

.course-hero-facts dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.course-hero-facts dd {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-tabs {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.course-tabs-inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.course-tabs a {
  flex: none;
  padding: 18px 0 16px;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-tabs a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.course-page {
  padding-top: 48px;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.course-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.course-block {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  scroll-margin-top: 150px;
}

.course-block h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.course-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.course-subhead {
  margin: 28px 0 8px;
  font-size: 16px;
}

.course-text,
.course-block .rich-text {
  max-width: 72ch;
  color: #3d3d3d;
  font-size: 14.5px;
  line-height: 1.85;
}

.course-text a,
.sessions-note a {
  color: var(--accent);
  font-weight: 700;
}

.select-field--inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.select-field--inline select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.sessions-table-wrap {
  overflow-x: auto;
}

.sessions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sessions-table th {
  padding: 12px 14px;
  border-bottom: 2px solid #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}

.sessions-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.sessions-table tbody tr:hover {
  background: var(--surface-soft);
}

.sessions-table time {
  display: block;
  font-weight: 700;
  white-space: nowrap;
}

.sessions-table td small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.session-venue {
  display: flex;
  align-items: center;
  gap: 12px;
}

.session-venue strong {
  display: block;
}

.session-fee .fee-with-vat {
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.session-fee .fee-with-vat small {
  display: inline;
  margin: 0;
  font-weight: 600;
}

.session-fee--online .fee-with-vat {
  font-weight: 700;
  color: #3d3d3d;
}

.session-fee--online a {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.session-action {
  text-align: right;
}

.sessions-more {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--line);
  background: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.sessions-more:hover {
  border-color: var(--gold);
}

.sessions-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--gold-soft);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #4a4130;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3d3d3d;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.outline-list {
  display: grid;
  gap: 12px;
}

.outline-list .module-day {
  background: #111;
  color: var(--gold);
}

.course-aside {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 16px;
}

.booking-card,
.help-card {
  padding: 26px;
  border-radius: 6px;
}

.booking-card {
  background: #0d0d0d;
  color: #fff;
  border-top: 3px solid var(--gold);
}

.booking-card .eyebrow {
  color: var(--gold);
}

.booking-card h3 {
  margin: 12px 0 8px;
}

.booking-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.booking-date {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.booking-venue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.booking-venue .flag {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: #111;
}

.booking-fee {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-fee .fee-with-vat {
  font-size: 26px;
  font-weight: 800;
}

.booking-fee .fee-with-vat small {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.booking-fee > small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.booking-card .btn {
  width: 100%;
}

.booking-link {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.booking-link:hover {
  color: var(--gold);
}

.help-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.help-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.help-card p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.help-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.help-line span {
  color: var(--muted);
}

.help-card .btn {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 1020px) {
  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-aside {
    position: static;
  }

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

@media (max-width: 720px) {
  .course-block {
    padding: 22px 18px;
  }

  .course-tabs {
    top: 0;
  }

  .sessions-table thead {
    display: none;
  }

  .sessions-table,
  .sessions-table tbody,
  .sessions-table tr,
  .sessions-table td {
    display: block;
    width: 100%;
  }

  .sessions-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .sessions-table tr[hidden] {
    display: none;
  }

  .sessions-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }

  .sessions-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
  }

  .sessions-table td.session-action {
    display: block;
  }

  .sessions-table td.session-action::before {
    content: none;
  }

  .session-action .btn {
    width: 100%;
    margin-top: 6px;
  }
}

.finder-hint {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #6b5216;
  font-size: 11px;
  font-weight: 700;
}

/* ===== Inner pages (about, contact, venues, register, legal, search): same system as the course pages ===== */
.page-hero {
  min-height: 0;
  align-items: stretch;
  background-color: #0d0d0d;
  background-blend-mode: luminosity;
}

.page-hero::before {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.8));
}

.page-hero::after {
  display: none;
}

.page-hero-inner {
  padding: 56px 0 48px;
}

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

.page-hero-title {
  max-width: 900px;
  margin: 16px 0 10px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  text-wrap: balance;
}

.page-hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
}

.page-section {
  padding: 48px 0 72px;
}

.breadcrumbs > * + *::before {
  content: "/";
  margin-right: 12px;
  opacity: 0.5;
}

/* Light cards share one treatment. */
.detail-card,
.sidebar-card,
.contact-card,
.faq-card,
.stat-card,
.milestone-card,
.value-card,
.contact-panel,
.feature-panel,
.venue-showcase-card,
.registration-fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}

.venue-showcase-card {
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.venue-showcase-card:hover,
.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.stat-card strong,
.milestone-card strong {
  color: var(--ink);
}

.stat-card strong::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-top: 10px;
  background: var(--gold);
}

/* Dark cards: same look as the course booking card. */
.register-card,
.contact-panel--dark,
.cta-banner {
  background: #0d0d0d;
  color: #fff;
  border-color: #0d0d0d;
  border-top: 3px solid var(--gold);
}

.register-card .eyebrow,
.contact-panel--dark .eyebrow,
.cta-banner .eyebrow {
  color: var(--gold) !important;
}

.cta-banner-inner > div:first-child {
  background: none;
}

.registration-discount-box,
.registration-highlight {
  background: var(--gold-soft);
  border: 0;
  border-radius: 6px;
}

.invoice-line {
  border-bottom-color: var(--line);
}

/* Forms: same fields as the course finder. */
.form-field label,
.form-field > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

/* Venue course lists use finder rows. */
.finder-list + .loading-state,
#venue-load-state {
  margin-top: 16px;
}

.venue-showcase-card img {
  filter: grayscale(100%);
}

.split-feature-media,
.map-box img,
.map-box iframe {
  filter: grayscale(100%);
}

.stat-card strong {
  overflow-wrap: anywhere;
}

.module-day strong {
  color: var(--gold);
}

.mega-menu {
  border-top: 2px solid var(--gold);
}

/* ===== Registration page ===== */
.register-hero {
  padding: 48px 0;
  background: #0d0d0d;
  color: #fff;
}

.register-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
}

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

.register-title {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.register-copy {
  max-width: 600px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.register-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.register-chips li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.register-chips span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.register-chips strong {
  font-size: 13px;
}

.seat-card {
  padding: 26px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.seat-card .eyebrow {
  color: var(--accent);
}

.seat-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 16px;
}

.seat-price strong {
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.seat-price span,
.seat-label {
  font-size: 13px;
  color: var(--muted);
}

.seat-label {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--ink);
}

.seat-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.seat-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.seat-tier span {
  font-size: 11px;
  font-weight: 700;
}

.seat-tier em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #6b5216;
}

.seat-tier strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.seat-tier:hover {
  border-color: var(--gold);
}

.seat-tier.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.seat-tier.is-active em {
  background: var(--gold);
  color: #111;
}

.seat-savings {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.seat-ticks {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12.5px;
  font-weight: 600;
}

.seat-ticks li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--accent);
}

.register-page {
  padding-top: 40px;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.register-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.register-step {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.register-step-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.register-step-head > div {
  flex: 1;
  min-width: 0;
}

.register-step-head h2 {
  margin: 2px 0 4px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.register-step-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.register-step-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  font-weight: 800;
}

.register-step .participant-card {
  border-radius: 6px;
}

.register-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.register-submit p {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.register-submit a:not(.btn) {
  color: var(--accent);
  font-weight: 700;
}

.register-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

@media (max-width: 1020px) {
  .register-hero-inner,
  .register-layout {
    grid-template-columns: 1fr;
  }

  .register-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .seat-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-step,
  .register-submit {
    padding: 20px 16px;
  }

  .register-step-head {
    flex-wrap: wrap;
  }
}

/* overflow: hidden on the page wrapper disables position: sticky; clip keeps the same visual result. */
.page {
  overflow-x: clip;
}

/* Lists and lead-in lines inside imported course text match the page's own lists. */
.course-block .rich-text p {
  margin: 0 0 14px;
}

.course-block .rich-text strong {
  color: var(--ink);
}

.course-block .rich-text ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
}

.course-block .rich-text li {
  position: relative;
  padding-left: 22px;
}

.course-block .rich-text li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

/* Header WhatsApp shortcut: opens the chat directly. */
.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.nav-whatsapp:hover {
  background: #b8913a;
}

.nav-whatsapp:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .nav-whatsapp span {
    display: none;
  }

  .nav-whatsapp {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
}

/* Course finder embedded on venue pages (city is fixed, so one field fewer). */
.finder-form--inline {
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  box-shadow: none;
}

@media (max-width: 980px) {
  .finder-form--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .finder-form--inline {
    grid-template-columns: 1fr;
  }
}

/* Registration: fixed session + attendance choice */
.session-fixed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #0d0d0d;
  color: #fff;
  border-left: 3px solid var(--gold);
}

.session-fixed span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.session-fixed strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.session-fixed a {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.delivery-option {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.delivery-option input {
  margin-top: 3px;
  accent-color: #111;
}

.delivery-option:hover {
  border-color: var(--gold);
}

.delivery-option:has(input:checked) {
  border-color: #111;
  background: var(--gold-soft);
}

.delivery-option:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.delivery-option-body {
  display: grid;
  gap: 3px;
}

.delivery-option-body strong {
  font-size: 15px;
}

.delivery-option-body small {
  font-size: 12.5px;
  color: var(--muted);
}

.delivery-option-body em {
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Registration: VAT lookup */
.vat-lookup {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 6px;
  background: var(--surface-soft);
  border: 1px dashed #cfcfcc;
}

.vat-lookup label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.vat-lookup-row {
  display: flex;
  gap: 8px;
}

.vat-lookup-row .input {
  flex: 1;
  min-width: 0;
  background: #fff;
  text-transform: uppercase;
}

.vat-lookup-row .btn {
  flex: none;
}

.vat-lookup-status {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.vat-lookup-status[data-state="success"] {
  color: #1d6b45;
  font-weight: 700;
}

.vat-lookup-status[data-state="error"] {
  color: #9b3b2f;
}

/* Registration: price details as a small paper invoice */
.invoice-paper {
  position: relative;
  padding: 26px 24px 30px;
  background: #fffefb;
  color: var(--ink);
  border-top: 4px solid #111;
  box-shadow: 0 1px 0 #ececea, 0 18px 40px rgba(0, 0, 0, 0.12);
  font-size: 13px;
}

.invoice-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background:
    linear-gradient(-45deg, transparent 6px, #fffefb 0) 0 0 / 14px 10px repeat-x,
    linear-gradient(45deg, transparent 6px, #fffefb 0) 0 0 / 14px 10px repeat-x;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.06));
}

.invoice-paper-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e4;
}

.invoice-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.invoice-brand small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.invoice-paper-meta {
  text-align: right;
}

.invoice-paper-meta strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.invoice-paper-meta small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.invoice-paper-course {
  display: grid;
  gap: 3px;
  padding: 16px 0;
}

.invoice-paper-course > span,
.invoice-paper-lines th,
.invoice-paper-totals dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.invoice-paper-course strong {
  font-size: 14px;
  line-height: 1.35;
}

.invoice-paper-course small {
  color: var(--muted);
  font-size: 12px;
}

.invoice-paper-lines {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.invoice-paper-lines th {
  padding: 8px 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #e6e6e4;
  text-align: left;
}

.invoice-paper-lines th:not(:first-child),
.invoice-paper-lines td:not(:first-child) {
  text-align: right;
}

.invoice-paper-lines td {
  padding: 10px 0;
  border-bottom: 1px dashed #dcdcd9;
  vertical-align: top;
  font-weight: 700;
}

.invoice-paper-lines td small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.invoice-paper-lines td small small {
  display: inline;
  margin: 0;
}

.invoice-paper-totals {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.invoice-paper-totals div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.invoice-paper-totals div::before {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 1px dotted #c9c9c6;
}

.invoice-paper-totals dt {
  order: 0;
}

.invoice-paper-totals dd {
  order: 2;
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.invoice-paper-totals dd small {
  margin-left: 4px;
  color: var(--accent);
}

.invoice-paper-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #0d0d0d;
  color: #fff;
}

.invoice-paper-total span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.invoice-paper-total strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.invoice-paper-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 520px) {
  .delivery-options {
    grid-template-columns: 1fr;
  }

  .vat-lookup-row {
    flex-direction: column;
  }
}

/* ===== Registration confirmation ===== */
.confirm-hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 161, 74, 0.18), transparent 55%),
    #0d0d0d;
  color: #fff;
  text-align: center;
}

.confirm-hero-inner {
  max-width: 760px;
}

.confirm-hero .eyebrow {
  justify-content: center;
  color: var(--gold);
}

.confirm-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
}

.confirm-check svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirm-check circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 151;
  animation: confirmDrawCircle 700ms ease-out;
}

.confirm-check path {
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: 36;
  animation: confirmDrawCheck 900ms ease-out;
}

/* Drawn by default; the animations only start from hidden, so a paused animation still shows the mark. */
@keyframes confirmDrawCircle {
  from {
    stroke-dashoffset: 151;
  }
}

@keyframes confirmDrawCheck {
  0%,
  55% {
    stroke-dashoffset: 36;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-check circle,
  .confirm-check path {
    animation: none;
  }
}

.confirm-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.confirm-hero p {
  margin: 0 auto;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.confirm-hero p strong {
  color: #fff;
}

.confirm-email {
  display: inline-block;
  margin-top: 18px !important;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px !important;
}

.confirm-email[data-state="sent"]::before {
  content: "\2709";
  margin-right: 8px;
  color: var(--gold);
}

.confirm-page {
  padding-top: 0;
}

.confirm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
  margin-top: -28px;
}

.confirm-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

/* Ticket-style summary with a perforated stub. */
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--gold);
}

.ticket-main {
  padding: 28px;
  min-width: 0;
}

.ticket-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.ticket-main h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ticket-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0 0 20px;
}

.ticket-facts dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticket-facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.ticket-people {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.ticket-people li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticket-people strong {
  display: block;
  font-size: 13.5px;
}

.ticket-people small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ticket-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.ticket-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px;
  background: var(--surface-soft);
  border-left: 2px dashed #d4d4d1;
  border-radius: 0 10px 10px 0;
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  left: -13px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
}

.ticket-stub::before {
  top: -14px;
}

.ticket-stub::after {
  bottom: -12px;
}

.ticket-code {
  font-size: 15px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.ticket-barcode {
  width: 100%;
  height: 46px;
  object-fit: fill;
  filter: none;
}

.ticket-stub-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.ticket-stub-row span {
  color: var(--muted);
}

.ticket-stub-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.ticket-total {
  margin-top: auto;
  padding: 12px 14px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 6px;
}

.ticket-total span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.ticket-total strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.confirm-steps {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.confirm-steps h2 {
  margin: 10px 0 20px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.confirm-steps ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.confirm-steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 52px;
  counter-increment: step;
}

.confirm-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  font-weight: 800;
}

.confirm-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: -18px;
  width: 2px;
  background: var(--line);
}

.confirm-steps strong {
  font-size: 15px;
}

.confirm-steps span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.confirm-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

@media (max-width: 1020px) {
  .confirm-layout {
    grid-template-columns: 1fr;
  }

  .confirm-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .ticket {
    grid-template-columns: 1fr;
  }

  .ticket-stub {
    border-left: 0;
    border-top: 2px dashed #d4d4d1;
    border-radius: 0 0 10px 10px;
  }

  .ticket-stub::before,
  .ticket-stub::after {
    display: none;
  }

  .ticket-facts {
    grid-template-columns: 1fr;
  }
}

/* ===== Registration status timeline ===== */
.status-timeline-section {
  position: relative;
  margin-top: -28px;
  padding-bottom: 36px;
}

.status-timeline {
  padding: 28px 30px;
  background: #fff;
  border-radius: 10px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.status-timeline-head h2 {
  margin: 10px 0 22px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.status-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-step {
  position: relative;
  padding-right: 18px;
}

/* Connector line between the step dots. */
.status-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 44px;
  right: 6px;
  height: 2px;
  background: var(--line);
}

.status-step--done:not(:last-child)::after {
  background: var(--gold);
}

.status-step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.status-step--done .status-step-dot {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.status-step--current .status-step-dot {
  border-color: #111;
  background: #111;
  color: var(--gold);
  box-shadow: 0 0 0 6px var(--gold-soft);
}

.status-step-body {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.status-step-state {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-step--done .status-step-state {
  color: var(--accent);
}

.status-step--current .status-step-state {
  color: #111;
}

.status-step-body strong {
  font-size: 15px;
  line-height: 1.3;
}

.status-step-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.status-step--upcoming .status-step-body strong {
  color: var(--muted);
}

.status-step-body .btn {
  justify-self: start;
  margin-top: 8px;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.status-pay-note {
  font-size: 11.5px;
  color: var(--muted);
}

.status-timeline-section + .confirm-page .confirm-layout {
  margin-top: 0;
}

@media (max-width: 860px) {
  .status-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .status-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding-right: 0;
  }

  .status-step-body {
    margin-top: 0;
  }

  .status-step:not(:last-child)::after {
    top: 42px;
    bottom: -22px;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

/* Email check for status links opened without their key. */
.status-access {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 26px auto 0;
}

.status-access .input {
  flex: 1;
  min-width: 0;
  background: #fff;
}

.status-access-error {
  margin-top: 14px !important;
  color: #f0b4a8 !important;
}

@media (max-width: 520px) {
  .status-access {
    flex-direction: column;
  }
}

/* ===== Pre-course participant information ===== */
.pc-hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 161, 74, 0.16), transparent 45%),
    #0d0d0d;
  color: #fff;
}

.pc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
}

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

.pc-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.pc-hero p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.pc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.pc-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.pc-stats dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pc-stats dd {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.pc-hero-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px;
  background: #fff;
  border-radius: 10px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pc-hero-card span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.pc-hero-card i {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: #ededeb;
}

.pc-hero-card i.short {
  width: 60%;
  background: var(--gold-soft);
}

.pc-hero-card b {
  position: absolute;
  right: -14px;
  bottom: -16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
}

.pc-hero-card b::before {
  content: "\2713  ";
}

.pc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.pc-form {
  display: grid;
  gap: 16px;
}

.pc-required {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.pc-required span {
  color: var(--accent);
}

.pc-error {
  margin: 0;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fbeceb;
  color: #8f2d22;
  font-size: 13.5px;
  font-weight: 600;
}

.pc-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pc-group {
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pc-group-head {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.pc-group-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.pc-group-head h2 {
  margin: 2px 0 4px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.pc-group-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.pc-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 6px;
  background: var(--surface-soft);
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.pc-consent input {
  margin-top: 3px;
  accent-color: #111;
}

.pc-consent a {
  color: var(--accent);
  font-weight: 700;
}

.pc-form > .btn {
  justify-self: start;
}

.pc-done {
  padding: 48px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  text-align: center;
}

.pc-done .confirm-check circle {
  stroke: var(--gold);
}

.pc-done .confirm-check path {
  stroke: #111;
}

.pc-done .eyebrow {
  justify-content: center;
}

.pc-done h2 {
  margin: 12px 0 10px;
  font-size: 1.6rem;
}

.pc-done p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--muted);
  line-height: 1.7;
}

.pc-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.pc-next {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pcnext;
}

.pc-next li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 38px;
  counter-increment: pcnext;
}

.pc-next li::before {
  content: counter(pcnext);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.pc-next strong {
  font-size: 13.5px;
}

.pc-next span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1020px) {
  .pc-hero-inner,
  .pc-layout {
    grid-template-columns: 1fr;
  }

  .pc-hero-card {
    display: none;
  }

  .pc-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .pc-group {
    padding: 20px 16px;
  }
}

/* ===== Pre-course form v2: numbered questions and answer tiles (no dropdowns) ===== */
.pc-required i,
.pc-q i,
.pc-consent i {
  font-style: normal;
  color: var(--accent);
}

.pc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.pc-fields--course {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.pc-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pc-field--full {
  grid-column: 1 / -1;
}

.pc-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.pc-q b {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--goldDark, #8a6a1c);
  font-size: 11px;
  font-weight: 800;
}

.pc-q em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.pc-field .input {
  min-height: 48px;
  border-radius: 8px;
}

.pc-field textarea.input {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.pc-counter {
  justify-self: end;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pc-choice {
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.pc-choice + .pc-choice {
  margin-top: 22px;
}

.pc-group-head + .pc-choice {
  padding-top: 0;
  border-top: 0;
}

.pc-choice legend {
  margin-bottom: 12px;
}

.pc-hint {
  margin: -4px 0 12px 34px;
  font-size: 12.5px;
  color: var(--muted);
}

.pc-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pc-option {
  position: relative;
  cursor: pointer;
}

/* The real input stays focusable for keyboards and screen readers; the tile draws the state. */
.pc-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.pc-option span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  height: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #2e2e2e;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.pc-option span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid #c9c9c6;
  border-radius: 999px;
  background: #fff;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.pc-option input[type="checkbox"] + span::before {
  border-radius: 5px;
}

.pc-option:hover span {
  border-color: var(--gold);
}

.pc-option input:checked + span {
  border-color: #111;
  background: var(--gold-soft);
  color: #111;
}

.pc-option input[type="radio"]:checked + span::before {
  border-color: #111;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #fff;
}

.pc-option input[type="checkbox"]:checked + span::before {
  border-color: #111;
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23c9a14a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pc-option input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pc-choice.is-invalid .pc-options,
.pc-field.is-invalid .input {
  border-radius: 10px;
  box-shadow: 0 0 0 2px #e7b3ab;
}

.pc-choice.is-invalid legend::after,
.pc-field.is-invalid .pc-q::after {
  content: "Please answer this question";
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #9b3b2f;
}

.pc-consent.is-invalid {
  box-shadow: 0 0 0 2px #e7b3ab;
}

.pc-submit {
  min-width: 220px;
}

@media (max-width: 980px) {
  .pc-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pc-options,
  .pc-fields {
    grid-template-columns: 1fr;
  }

  .pc-hint {
    margin-left: 0;
  }

  .pc-submit {
    width: 100%;
  }
}

.pc-done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Trainer brand guidelines (/branding) ---------- */
.br-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.br-hero-inner {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.br-subnav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.br-subnav-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.br-subnav-track::-webkit-scrollbar {
  display: none;
}

.br-subnav a {
  flex-shrink: 0;
  padding: 16px 14px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.br-subnav a:hover {
  border-bottom-color: var(--gold);
}

.br-section {
  scroll-margin-top: 60px;
}

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

.br-section--dark {
  background: #0d0d0d;
  color: #fff;
}

.br-head {
  max-width: 760px;
  margin-bottom: 32px;
  scroll-margin-top: 90px;
}

.br-head .eyebrow {
  color: var(--accent-dark);
}

.br-section--dark .br-head .eyebrow {
  color: var(--gold);
}

.br-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.br-head p,
.br-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.br-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

.br-subhead {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

/* Downloads */
.br-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.br-download {
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.br-download h3,
.br-download p,
.br-download .btn {
  margin-left: 24px;
  margin-right: 24px;
}

.br-download h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.br-download p {
  flex: 1;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.br-download .btn {
  align-self: flex-start;
}

.btn.dark {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.btn.dark:hover {
  background: #2a2a2a;
}

.br-download-art {
  display: grid;
  place-items: center;
  height: 150px;
  background: var(--surface-soft);
}

.br-download-art img {
  width: 150px;
  height: auto;
}

.br-download-art--dark {
  background: #111;
}

.br-download-art--deck {
  position: relative;
  background: #111;
}

.br-download-art--deck span {
  position: absolute;
  width: 128px;
  height: 72px;
  border-radius: 4px;
  background: #2a2a2a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.br-download-art--deck span:nth-child(1) {
  transform: translate(-26px, -14px);
}

.br-download-art--deck span:nth-child(2) {
  transform: translate(0, 0);
  background: #3a3a3a;
}

.br-download-art--deck span:nth-child(3) {
  transform: translate(26px, 14px);
  background: #fff;
  box-shadow: inset 0 -16px 0 #f5f5f4, 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Colours */
.br-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.br-swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.br-swatch:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.br-swatch:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.br-swatch-chip {
  height: 96px;
}

.br-swatch-chip.is-light {
  border-bottom: 1px solid var(--line);
}

.br-swatch-body {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.br-swatch-body code {
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
}

.br-swatch-body small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.br-swatch-copied {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0 8px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 22px;
}

.br-swatch-copied:empty {
  display: none;
}

.br-balance {
  display: flex;
  height: 14px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 999px;
}

/* Typography */
.br-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.br-rules {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-rules li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.br-rules li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.br-rules--light li {
  color: #d9d9d9;
}

.br-rules--light strong {
  color: #fff;
}

.br-type {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.br-type-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.br-type-row:last-child {
  border-bottom: 0;
}

.br-type-row small {
  flex-shrink: 0;
  color: var(--muted);
  font-family: var(--font-base);
  font-size: 0.8rem;
}

.br-type--title {
  color: #111;
  font-size: 1.9rem;
  font-weight: 700;
}

.br-type--card {
  font-size: 1.25rem;
  font-weight: 700;
}

.br-type--body {
  color: #161616;
  font-size: 1.05rem;
}

.br-type--label {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.br-type--caption {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Logo use */
.br-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.br-logo-tile {
  display: grid;
  place-items: center;
  gap: 18px;
  margin: 0;
  padding: 40px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.br-logo-tile img {
  width: 170px;
  height: auto;
}

.br-logo-tile figcaption {
  color: var(--muted);
  font-size: 0.85rem;
}

.br-logo-tile--dark {
  border-color: #111;
  background: #111;
}

.br-logo-tile--dark figcaption {
  color: #bdbdbd;
}

.br-logo-tile--space span {
  padding: 18px;
  border: 1px dashed var(--gold);
}

.br-logo-tile--space img {
  display: block;
  outline: 1px dashed rgba(201, 161, 74, 0.6);
}

.br-dodont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.br-do,
.br-dont {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.br-do h3,
.br-dont h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.br-do h3 span,
.br-dont h3 span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
}

.br-do h3 span {
  background: #111;
}

.br-dont h3 span {
  background: #8c1d17;
}

.br-do ul,
.br-dont ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--charcoal);
  line-height: 1.55;
}

/* Slide structure */
.br-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-steps li {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.br-steps b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
}

.br-steps span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.br-steps li.is-dark {
  background: #111;
  color: #fff;
}

.br-steps li.is-dark b {
  background: var(--gold);
  color: #111;
}

.br-steps li.is-dark span {
  color: #bdbdbd;
}

.br-mocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.br-mocks figure {
  margin: 0;
}

.br-mocks figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.br-mocks figcaption strong {
  color: var(--ink);
}

/* Slide mock-ups: 16:9 boxes drawn in CSS */
.br-mock {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 7% 6%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  box-shadow: var(--card-shadow);
}

.br-mock--dark {
  border-color: #111;
  background: #111;
  color: #fff;
}

.br-mock > img:first-child {
  display: block;
  width: 22%;
  margin-bottom: 9%;
}

.br-mock small {
  display: block;
  color: var(--gold);
  font-size: clamp(0.5rem, 1vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.br-mock strong {
  display: block;
  max-width: 62%;
  margin-top: 6px;
  font-size: clamp(0.9rem, 2.2vw, 1.5rem);
  line-height: 1.15;
}

.br-mock em {
  display: block;
  margin-top: 10px;
  color: #bdbdbd;
  font-size: clamp(0.55rem, 1.1vw, 0.78rem);
  font-style: normal;
}

.br-mock .br-mock-title {
  max-width: none;
  margin: 0 0 6%;
  font-size: clamp(0.8rem, 1.7vw, 1.15rem);
}

.br-mock ul,
.br-mock ol {
  display: grid;
  gap: 7%;
  width: 46%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-mock li {
  height: 7px;
  border-radius: 4px;
  background: #e6e6e4;
}

.br-mock li:nth-child(2n) {
  width: 80%;
}

.br-mock--dark li {
  background: #3a3a3a;
}

.br-mock-img {
  position: absolute;
  top: 24%;
  right: 6%;
  width: 40%;
  height: 56%;
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(0, 0, 0, 0.05) 50%, transparent 52%),
    #f0f0ef;
}

.br-mock-logo {
  position: absolute;
  bottom: 6%;
  left: 6%;
  width: 14%;
}

.br-mock-timer {
  position: absolute;
  top: 24%;
  right: 6%;
  display: grid;
  place-items: center;
  align-content: center;
  width: 30%;
  height: 54%;
  border-radius: 6px;
  background: #111;
  color: #fff;
}

.br-mock-timer b {
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  line-height: 1;
}

.br-mock-timer small {
  margin-top: 4px;
}

.br-mock-dots li {
  position: relative;
  margin-left: 14px;
}

.br-mock-dots li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.br-mock-next {
  position: absolute;
  top: 26%;
  right: 6%;
  width: 34%;
  height: 50%;
  border-radius: 6px;
  background: #1e1e1e;
}

.br-mock-ring {
  position: absolute;
  top: 12%;
  right: -12%;
  width: 52%;
  aspect-ratio: 1;
  border: 14px solid #2a2a2a;
  border-radius: 50%;
}

.br-mock-dot {
  position: absolute;
  right: 26%;
  bottom: 14%;
  width: 4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
}

.br-mock--divider b {
  display: block;
  margin-top: 2px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.br-mock--divider strong {
  max-width: 50%;
  margin: 6px 0 8%;
  font-size: clamp(0.8rem, 1.6vw, 1.1rem);
}

.br-mock--divider ul {
  width: 40%;
}

.br-mock-qr {
  position: absolute;
  top: 12%;
  right: 6%;
  display: grid;
  gap: 8px;
  width: 34%;
  padding: 4%;
  border-radius: 6px;
  background: #fff;
}

.br-mock-qr svg {
  width: 100%;
}

.br-mock-qr em {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #111;
  font-size: clamp(0.5rem, 1vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.br-mock-qr em i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.br-hero-visual .br-mock {
  border-color: #2a2a2a;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* Day dividers */
.br-divider-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.br-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background: #161616;
}

.br-callout h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 1rem;
}

.br-callout p {
  margin: 0;
  color: #d9d9d9;
  font-size: 0.93rem;
  line-height: 1.65;
}

.br-divider-visual .br-mock {
  border-color: #2a2a2a;
}

/* Timing */
.br-columns--timing {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 40px;
}

.br-day {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-day li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.br-day time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.br-day span {
  display: grid;
  gap: 2px;
}

.br-day small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.br-day em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  white-space: nowrap;
}

.br-day li.br-day--break {
  background: var(--surface-soft);
  border-style: dashed;
}

.br-day li.br-day--checkin,
.br-day li.br-day--recap {
  border-color: #111;
  background: #111;
  color: #fff;
}

.br-day--checkin small,
.br-day--recap small,
.br-day--checkin em,
.br-day--recap em {
  color: #bdbdbd;
}

.br-day--checkin time,
.br-day--recap time {
  color: var(--gold);
}

.br-split {
  display: flex;
  gap: 4px;
  height: 18px;
  margin-bottom: 18px;
}

.br-split i {
  border-radius: 4px;
  background: #111;
}

.br-split i:nth-child(2) {
  background: #6b6b6b;
}

.br-split i:nth-child(3) {
  background: var(--gold);
}

.br-split-legend {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.br-split-legend li {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.br-split-legend b {
  min-width: 48px;
  font-size: 1.2rem;
}

.br-split-legend span {
  display: grid;
  gap: 2px;
}

.br-split-legend small {
  color: var(--muted);
  font-size: 0.88rem;
}

.br-time-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.br-time-rules div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.br-time-rules b {
  color: var(--accent-dark);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.br-time-rules small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.br-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-week li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.br-week li:first-child {
  border-color: #111;
  background: #111;
  color: #fff;
}

.br-week small {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.br-week li:first-child small {
  color: var(--gold);
}

.br-week span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.br-week li:first-child span {
  color: #bdbdbd;
}

/* Writing rules */
.br-writing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-writing li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.br-writing b {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1.4rem;
}

.br-writing p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Certificate protocol */
.br-protocol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.br-protocol li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.br-protocol b {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: var(--gold);
}

.br-protocol span {
  color: var(--muted);
  line-height: 1.6;
}

.br-protocol strong {
  display: block;
  color: var(--ink);
}

/* Checklist */
.br-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.br-checklist fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.br-checklist legend {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.br-checklist label {
  clear: both;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  line-height: 1.5;
  cursor: pointer;
}

.br-checklist input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #111;
}

.br-checklist input:checked + span {
  color: var(--muted);
  text-decoration: line-through;
}

.br-checklist-foot {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 8px;
  background: #111;
  color: #fff;
}

.br-checklist-foot b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* Closing call to action */
.br-cta {
  padding: 56px 0;
  background: #0d0d0d;
  color: #fff;
}

.br-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.br-cta h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.br-cta p {
  max-width: 640px;
  margin: 0;
  color: #bdbdbd;
  line-height: 1.7;
}

.br-cta a:not(.btn) {
  color: var(--gold);
}

.br-cta code {
  color: #fff;
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .br-hero-inner,
  .br-divider-grid,
  .br-columns,
  .br-columns--timing {
    grid-template-columns: 1fr;
  }

  .br-hero-visual {
    max-width: 480px;
  }

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

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

@media (max-width: 720px) {
  .br-downloads,
  .br-logo-grid,
  .br-dodont,
  .br-steps,
  .br-mocks,
  .br-protocol,
  .br-checklist,
  .br-week,
  .br-time-rules {
    grid-template-columns: 1fr;
  }

  .br-swatches,
  .br-writing {
    grid-template-columns: 1fr;
  }

  .br-type-row {
    flex-direction: column;
    gap: 4px;
  }

  .br-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Title tiles in front of the name on the pre-course form */
.pc-name {
  margin: 0;
  padding: 0;
  border: 0;
}

.pc-name legend {
  margin-bottom: 4px;
}

.pc-titles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.pc-titles .pc-option span {
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
}

.pc-name.is-invalid .pc-titles .pc-option span {
  border-color: #b3261e;
}

@media (max-width: 560px) {
  .pc-titles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pc-titles .pc-option span::before {
  display: none;
}

.pc-titles .pc-option input:checked + span {
  border-color: #111;
  background: #111;
  color: var(--gold);
}

/* Venues page: global reach maps. Dotted SVG maps with city tags placed by the server (--x/--y in %). */
/* Full-bleed black band: the border-image paints the background out to the viewport edges without adding
   horizontal scroll, while the content keeps the container width. */
.reach-panel {
  margin-top: 56px;
  padding: 72px 0;
  border-image: conic-gradient(#0d0d0d 0 0) fill 0 // 0 100vw;
  color: #fff;
}

.reach-actions {
  margin-top: 24px;
}

.reach-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.reach-panel:first-child {
  margin-top: 0;
}

.venues:has(> .container > .reach-panel:first-child) {
  padding: 0;
}

.reach-head h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  color: #fff;
}

.reach-head h3 {
  margin: 14px 0 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  color: #fff;
}

.reach-head p {
  margin: 0;
  color: #a8a8a4;
  line-height: 1.6;
}

.reach-maps {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.reach-map {
  margin: 0;
  padding: 18px 18px 22px;
  border: 1px solid #262626;
  border-radius: 6px;
  background: #121212;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reach-map figcaption {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.reach-map-canvas {
  position: relative;
  width: 100%;
}

.reach-map-canvas img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

.reach-pins {
  position: absolute;
  inset: 0;
}

.reach-europe-box {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 1px dashed rgba(201, 161, 74, 0.7);
  border-radius: 3px;
  background: rgba(201, 161, 74, 0.06);
}

.reach-europe-box span {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.reach-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
  color: #fff;
  text-decoration: none;
  z-index: 1;
}

.reach-pin-dot {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.22);
}

.reach-pin-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 74, 0.6);
  animation: reachPulse 2.6s ease-out infinite;
}

.reach-pin-tag {
  position: absolute;
  top: 0;
  left: 12px;
  transform: translateY(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.reach-pin--left .reach-pin-tag {
  left: auto;
  right: 12px;
}

.reach-pin--top .reach-pin-tag,
.reach-pin--bottom .reach-pin-tag {
  left: 0;
  transform: translateX(-50%);
}

.reach-pin--top .reach-pin-tag {
  top: auto;
  bottom: 11px;
}

.reach-pin--bottom .reach-pin-tag {
  top: 11px;
}

.reach-pin:hover,
.reach-pin:focus-visible {
  z-index: 2;
}

.reach-pin:hover .reach-pin-tag,
.reach-pin:focus-visible .reach-pin-tag,
.reach-pin.is-active .reach-pin-tag {
  background: var(--gold);
  color: #111;
}

.reach-pin:focus-visible {
  outline: none;
}

.reach-pin:focus-visible .reach-pin-tag {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.reach-pin--quiet {
  pointer-events: none;
}

.reach-pin--quiet .reach-pin-dot {
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.reach-pin--quiet .reach-pin-dot::after {
  display: none;
}

.reach-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.reach-city {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #262626;
  border-radius: 6px;
  background: #121212;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.reach-city .flag {
  font-size: 20px;
  line-height: 1;
}

.reach-city strong {
  display: block;
  font-size: 14px;
}

.reach-city small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #8f8f8b;
}

.reach-city:hover,
.reach-city:focus-visible,
.reach-city.is-active {
  border-color: var(--gold);
  background: #1a1710;
}

@keyframes reachPulse {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reach-pin-dot::after { animation: none; display: none; }
}

@media (max-width: 980px) {
  .reach-panel { padding: 56px 0; }
  .reach-head,
  .reach-maps { grid-template-columns: 1fr; }
  .reach-head { gap: 14px; }
}

@media (max-width: 560px) {
  .reach-panel { padding: 44px 0; }
  .reach-map { padding: 14px 10px 16px; }
  .reach-pin-tag { font-size: 10px; padding: 3px 7px; }
  .reach-cities { grid-template-columns: 1fr 1fr; gap: 8px; }
  .reach-map--world .reach-pin .reach-pin-tag {
    top: 9px;
    bottom: auto;
    left: 0;
    right: auto;
    transform: translateX(-50%);
  }
  .reach-city { padding: 10px; gap: 8px; }
}

/* Branding: logo downloads, deck setup grid and the slide protocol table. */
.br-downloads--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.br-setup {
  margin-bottom: 48px;
}

.br-columns--grid {
  align-items: center;
}

.br-grid-visual small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.br-grid-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 11px;
}

.br-grid-margin {
  position: absolute;
  inset: 7.9% 4.4%;
  border: 1px dashed rgba(201, 161, 74, 0.7);
}

.br-grid-bar {
  position: absolute;
  top: 8%;
  left: 4.4%;
  width: 9%;
  height: 1.2%;
  background: var(--gold);
}

.br-grid-title {
  position: absolute;
  top: 11%;
  left: 4.4%;
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 700;
  color: #111;
}

.br-grid-text,
.br-grid-image {
  position: absolute;
  top: 24%;
  bottom: 18%;
  display: grid;
  place-items: center;
  border-radius: 3px;
  font-weight: 600;
  color: var(--muted);
}

.br-grid-text {
  left: 4.4%;
  width: 49%;
  background: repeating-linear-gradient(180deg, #f1f1ef 0 10px, transparent 10px 18px);
}

.br-grid-image {
  right: 4.4%;
  width: 39%;
  background: #e9e9e6;
}

.br-grid-logo {
  position: absolute;
  bottom: 5%;
  left: 3%;
  width: 9%;
}

.br-grid-page {
  position: absolute;
  right: 4.4%;
  bottom: 5%;
  color: var(--muted);
}

.br-rules--defs li {
  color: var(--muted);
}

.br-rules--defs strong {
  color: var(--ink);
}

.br-specs {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.br-specs-row {
  display: grid;
  grid-template-columns: 190px 190px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.br-specs-row--head {
  border-top: 0;
  background: #111;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.br-specs-row strong {
  color: var(--ink);
}

.br-specs-row span {
  color: var(--muted);
}

.br-specs-row span:nth-child(2) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.br-specs-chip {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.br-specs-chip.is-dark {
  border-color: #111;
  background: #111;
}

@media (max-width: 860px) {
  .br-downloads--two { grid-template-columns: 1fr; }
  .br-specs-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .br-specs-row--head { display: none; }
}

/* Home: mission cards. */
.mission {
  padding: 96px 0;
}

.mission-head {
  align-items: flex-end;
}

.mission-intro {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.mission-grid {
  gap: 20px;
  margin-top: 52px;
}

.mission-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #161616;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mission-card:hover {
  border-color: rgba(201, 161, 74, 0.55);
  transform: translateY(-3px);
}

.mission-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}

.mission-card-top b {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.28);
}

.mission .mission-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  background: rgba(201, 161, 74, 0.1);
}

.mission-icon svg {
  width: 22px;
  height: 22px;
}

.mission-card h3 {
  font-size: 20px;
}

.mission-card p {
  flex: 1;
  font-size: 15px;
}

.mission-card a {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.mission-card a:hover {
  color: #fff;
}

/* Home: expertise. */
.expertise {
  padding: 104px 0;
}

.expertise-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
}

.expertise .section-copy p {
  margin: 18px 0 0;
}

.expertise-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise-stats div {
  padding: 20px 0 18px;
}

.expertise-stats div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.expertise-stats dt {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.expertise-stats dd {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.expertise-media {
  position: relative;
  margin: 0 0 0 24px;
}

.expertise-media::before {
  content: "";
  position: absolute;
  inset: -24px 24px 24px -24px;
  border: 1px solid var(--gold);
  border-radius: 6px;
}

.expertise-media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.expertise-media figcaption {
  position: absolute;
  left: -24px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.expertise-media figcaption span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.expertise-media figcaption strong {
  font-size: 15px;
}

/* Home: FAQ. */
.home-faq {
  padding: 100px 0;
}

.home-faq-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}

.home-faq-side {
  position: sticky;
  top: 110px;
}

.home-faq-side h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-faq-side > p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-faq-help {
  display: grid;
  gap: 6px;
  margin-top: 32px;
  padding: 24px;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  background: #fff;
}

.home-faq-help strong {
  font-size: 16px;
  color: var(--ink);
}

.home-faq-help span {
  font-size: 14px;
  color: var(--muted);
}

.home-faq-help-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 14px;
}

.home-faq-help-links a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
}

.home-faq .faq-list {
  display: grid;
  gap: 10px;
}

.home-faq .faq-list details {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.home-faq .faq-list details[open] {
  border-color: var(--gold);
}

.home-faq .faq-list summary {
  align-items: center;
  padding: 20px 22px;
  font-size: 16px;
}

.home-faq .faq-list summary::after {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 16px;
}

.home-faq .faq-list details[open] summary::after {
  background: #111;
  color: var(--gold);
}

.home-faq .faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  max-width: none;
  font-size: 15px;
}

/* Site footer (shared by every page through index.html). */
.site-footer {
  padding-top: 72px;
}

.sf-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
}

.sf-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.sf-brand p {
  max-width: 360px;
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

.sf-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: 28px;
}

.sf-contact div {
  display: grid;
  gap: 4px;
}

.sf-label,
.sf-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.sf-contact a {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.sf-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-col h4 {
  margin: 4px 0 8px;
}

.sf-col a {
  width: fit-content;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-col a:hover,
.sf-contact a:hover,
.sf-bottom a:hover {
  color: var(--gold);
}

.sf-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.sf-bottom a {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .mission-head { flex-direction: column; align-items: flex-start; }
  .mission-grid { grid-template-columns: 1fr; }
  .expertise-layout { grid-template-columns: 1fr; gap: 64px; }
  .expertise-media { margin: 24px 0 0 24px; }
  .home-faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .home-faq-side { position: static; }
  .sf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
  .sf-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .mission, .expertise, .home-faq { padding: 64px 0; }
  .mission-card { padding: 24px 20px; }
  .expertise-stats div + div { padding-left: 14px; }
  .expertise-media figcaption { left: -12px; bottom: 16px; padding: 14px 16px; }
  .expertise-media::before { inset: -14px 14px 14px -14px; }
  .expertise-media { margin: 14px 0 0 14px; }
  .home-faq .faq-list summary { padding: 16px 18px; font-size: 15px; }
  .home-faq .faq-list p { padding: 0 18px 18px; }
  .sf-top { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-top: 52px; }
}

/* Course cards: whole card is one link (stretched .course-card-link), icons for the key facts, lift on hover. */
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.course-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 3;
}

.course-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

.course-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.course-card .course-image {
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
}

.course-card .course-image img {
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

.course-card .course-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.course-card .course-tag {
  z-index: 1;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 9px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.course-reach {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.course-reach svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.course-card .course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.course-card .course-body h3 {
  display: -webkit-box;
  min-height: calc(1.35em * 2);
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.25s ease;
}

.course-card .course-meta {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.course-card .course-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.course-card .course-meta svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent-dark);
}

.course-card .course-meta-fee {
  font-weight: 700;
  color: var(--ink);
}

.course-card .course-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.course-card .course-meta + .course-footer {
  margin-top: 20px;
}

.course-card .square-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.course-card .square-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.course-card:hover,
.course-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 161, 74, 0.5);
  box-shadow: 0 24px 50px rgba(17, 17, 17, 0.12);
}

.course-card:hover::after,
.course-card:focus-within::after {
  transform: scaleX(1);
}

.course-card:hover .course-image img,
.course-card:focus-within .course-image img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.course-card:hover .course-body h3 {
  color: var(--accent-dark);
}

.course-card:hover .square-arrow {
  background: var(--gold);
  color: #111;
}

.course-card:hover .square-arrow svg {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .course-card,
  .course-card .course-image img,
  .course-card .square-arrow svg {
    transition: none;
  }
  .course-card:hover { transform: none; }
  .course-card:hover .course-image img { transform: none; }
}

/* Course card price: a white tab cut into the image corner that flows into the card body. */
.course-price {
  position: absolute;
  right: 0;
  bottom: -1px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 6px;
  padding: 10px 16px 6px 18px;
  border-top-left-radius: 14px;
  background: #fff;
  color: var(--ink);
  line-height: 1;
}

.course-price::before,
.course-price::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 0 0, transparent 13.5px, #fff 14px);
}

.course-price::before {
  right: 0;
  top: -14px;
}

.course-price::after {
  left: -14px;
  bottom: 0;
}

.course-price small {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.course-price strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.course-price em {
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.course-card:hover .course-price strong {
  color: var(--accent-dark);
}

/* Course finder (/courses, venue pages): the same cards as the home page, in a grid or as a list. */
.finder-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.finder-list > .empty-state {
  grid-column: 1 / -1;
}

.finder-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.finder-view {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.finder-view button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.finder-view button svg {
  width: 15px;
  height: 15px;
}

.finder-view button[aria-pressed="true"] {
  background: #111;
  color: var(--gold);
}

/* List layout: image on the left, facts in the middle, price and action on the right. */
.finder-list.is-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.finder-list.is-list .course-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.finder-list.is-list .course-card:hover {
  transform: translateY(-3px);
}

.finder-list.is-list .course-image {
  aspect-ratio: auto;
  min-height: 150px;
}

.finder-list.is-list .course-image img {
  position: absolute;
  inset: 0;
}

.finder-list.is-list .course-price {
  display: none;
}

.finder-list.is-list .course-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  padding: 20px 24px;
}

.finder-list.is-list .course-body h3 {
  grid-column: 1;
  min-height: 0;
  font-size: 18px;
}

.finder-list.is-list .course-meta {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 12px;
}

.finder-list.is-list .course-footer {
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 28px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.course-footer-price {
  display: none;
}

.finder-list.is-list .course-footer-price {
  display: grid;
  gap: 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
  text-transform: none;
}

.finder-list.is-list .course-footer-price small {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

@media (max-width: 1180px) {
  .finder-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .finder-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-list.is-list .course-card { grid-template-columns: 1fr; }
  .finder-list.is-list .course-image { min-height: 0; aspect-ratio: 16 / 9; }
  .finder-list.is-list .course-price { display: grid; }
  .finder-list.is-list .course-body { display: flex; }
  .finder-list.is-list .course-footer { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 20px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .finder-list.is-list .course-footer-price { display: none; }
}

@media (max-width: 560px) {
  .finder-list { grid-template-columns: 1fr; }
  .finder-toolbar { flex-wrap: wrap; }
  .finder-view { display: none; }
}

/* Course page FAQ: same cards as the home FAQ. */
.course-faq {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.course-faq details {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.course-faq details[open] {
  border-color: var(--gold);
}

.course-faq summary {
  align-items: center;
  padding: 18px 20px;
  font-size: 15px;
}

.course-faq summary::after {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 16px;
}

.course-faq details[open] summary::after {
  background: #111;
  color: var(--gold);
}

.course-faq p {
  margin: 0;
  padding: 0 20px 18px;
  max-width: none;
  font-size: 15px;
}

/* Mobile menu: the open sub-menu must not keep the desktop centring (translate -50%), which pushed it off screen. */
@media (max-width: 860px) {
  .mega-menu,
  .nav-item--mega.is-open .mega-menu {
    left: auto;
    width: 100%;
    margin: 0;
    padding: 4px 0 16px;
    border: 0;
    transform: none;
  }

  .mega-menu-head {
    margin: 0 0 8px;
  }

  .mega-menu-head h3 {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mega-menu-head p {
    display: none;
  }

  .mega-menu-grid,
  .mega-menu-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-menu-list a {
    padding: 11px 0 11px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .nav-item--mega.is-open > a {
    color: var(--accent);
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  .mega-menu-grid {
    display: block;
    columns: 2;
    column-gap: 28px;
  }

  .mega-menu-list {
    display: block;
  }

  .mega-menu-list a {
    break-inside: avoid;
  }
}

@media (max-width: 860px) {
  .nav-submenu-toggle span {
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .nav-submenu-toggle[aria-expanded="true"] {
    border-color: var(--gold);
    background: #111;
    color: var(--gold);
  }

  .nav-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }
}

/* Printed certificate add-on (online registrations). */
.print-option {
  margin-top: 14px;
  border: 1.5px dashed var(--gold);
  border-radius: 6px;
  background: #fffdf8;
}

.print-option-toggle {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
}

.print-option-toggle input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #111;
}

.print-option-toggle span {
  display: grid;
  gap: 4px;
}

.print-option-toggle small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.print-option-toggle b,
.print-zone b {
  color: var(--accent-dark);
}

.print-option:has(input[name="printedCertificate"]:checked) {
  border-style: solid;
  border-color: #111;
}

.print-option-address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 4px 18px 18px;
}

.print-option-address[hidden] {
  display: none;
}

.print-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  border: 0;
}

.print-zone legend {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.print-zone label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.print-zone input {
  accent-color: #111;
}

@media (max-width: 640px) {
  .print-option-address {
    grid-template-columns: 1fr;
  }
}

/* Printed certificate order page. */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

.order-layout > .order-done {
  grid-column: 1 / -1;
}

.order-form {
  display: grid;
  gap: 18px;
}

.order-form h2 {
  margin: 0;
  font-size: 1.35rem;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-qty {
  max-width: 200px;
}

.order-form .btn {
  justify-self: start;
}

.order-error,
.order-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  font-size: 14px;
}

.order-error {
  border-color: #b42318;
  background: #fff4f2;
  color: #7a1b12;
}

.order-small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.order-summary {
  position: sticky;
  top: 110px;
  border-top: 3px solid var(--gold);
}

.order-summary h3 {
  margin: 8px 0 6px;
}

.order-summary p small {
  color: var(--muted);
}

.order-perks {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.order-perks li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent-dark);
  font-weight: 700;
}

.order-totals {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.order-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.order-totals dd {
  margin: 0;
  font-weight: 700;
}

.order-totals .order-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}

.order-address {
  white-space: pre-line;
}

@media (max-width: 860px) {
  .order-layout,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}
