/* Babylon Tutors — Design System v2 */

:root {
  --navy: #16307a;
  --navy-deep: #0d1b45;
  --ink: #12141a;
  --muted: #5a6070;
  --gold: #c8961a;
  --gold-bright: #e2b43a;
  --gold-soft: #f6e7b8;
  --teal: #0f6f6c;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: rgba(18, 20, 26, 0.1);
  --max: 1600px;
  --gutter: clamp(1.15rem, 3.2vw, 2.75rem);
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.bt-theme {
  margin: 0;
  font-family: var(--sans);
  color: var(--muted);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }

.bt-container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.bt-skip-link {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--navy); color: #fff; padding: .75rem 1rem;
}
.bt-skip-link:focus { left: 1rem; top: 1rem; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}

/* Kill Astra wrappers */
.ast-container, #content, #primary, .site-content,
.ast-plain-container .site-content > .ast-container {
  max-width: none !important; width: 100% !important;
  padding: 0 !important; margin: 0 !important;
}

/* ========== TOPBAR + HEADER ========== */
.bt-chrome {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}
.main-header-bar,
.ast-main-header-wrap,
.ast-above-header-wrap,
.site-header .main-header-bar-wrap,
#masthead .ast-builder-grid-row-container {
  display: none !important;
  background: transparent !important;
}

.bt-topbar {
  position: relative;
  z-index: 3;
  background: var(--navy-deep);
  color: rgba(255,255,255,.82);
  font-size: .88rem;
}
.bt-topbar__inner {
  position: relative;
  min-height: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.bt-topbar a { color: rgba(255,255,255,.86); }
.bt-topbar a:hover { color: var(--gold-soft); }
.bt-topbar__left, .bt-topbar__right {
  display: flex; align-items: center; gap: 1.25rem;
}
.bt-topbar__left a { display: inline-flex; align-items: center; gap: .4rem; }
.bt-topbar .ph { font-size: 1rem; }

.bt-social { list-style: none; display: flex; gap: .55rem; margin: 0; padding: 0; }
.bt-social a {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
}
.bt-social a:hover { background: var(--gold); color: var(--ink); }
.bt-social--top a { width: 1.7rem; height: 1.7rem; font-size: .75rem; }

.bt-header {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 2;
  background: transparent !important;
  padding: 0;
  margin: 0;
  pointer-events: none;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0;
}
.bt-header.is-scrolled {
  background: transparent !important;
}
.bt-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: .7rem;
  pointer-events: none;
  background: transparent !important;
}
.bt-header__inner > *,
.bt-header__actions {
  pointer-events: auto;
}
.bt-header__spacer {
  width: 148px; /* reserve room for the dropped flag */
  pointer-events: none;
}
.bt-header__actions {
  display: flex; align-items: center; gap: .65rem; justify-self: end;
  margin-top: .55rem;
}

/* Dropped flag — hung from the topbar itself */
.bt-flag {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: block;
  width: 148px;
  color: inherit;
  filter: drop-shadow(0 14px 24px rgba(8,14,36,.2));
  transition: transform .22s var(--ease), filter .22s var(--ease);
}
.bt-flag:hover {
  color: inherit;
  transform: translateY(2px);
  filter: drop-shadow(0 18px 28px rgba(8,14,36,.26));
}
.bt-flag__face {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 168px;
  padding: 1.05rem .95rem 2.35rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f7f3 68%, #efeae0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 50% 100%, 0 calc(100% - 28px));
}
.bt-flag__face::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
}
.bt-flag__face::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 34px;
  height: 1px;
  background: rgba(22,48,122,.14);
}
.bt-flag img {
  width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
.bt-flag .bt-logo__text {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  color: var(--navy); text-align: center; line-height: 1.15;
  position: relative; z-index: 1;
}

/* Shared pill shell for nav + CTA */
.bt-pill {
  display: inline-flex; align-items: center;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.92);
  box-shadow:
    0 12px 28px rgba(8,14,36,.14),
    0 1px 0 rgba(255,255,255,.75) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s;
}
.bt-pill:hover { transform: translateY(-1px); }

.bt-pill--nav {
  justify-self: center;
  margin-top: .55rem;
  padding: 0 .35rem;
  max-width: 100%;
  overflow: visible;
  isolation: isolate;
}
.bt-menu {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: 0;
}
.bt-menu > li { position: relative; }
.bt-menu > li:hover,
.bt-menu > li:focus-within { z-index: 40; }
.bt-menu > li > a {
  display: inline-flex; align-items: center;
  color: var(--ink); font-weight: 600; font-size: .9rem;
  letter-spacing: .01em;
  padding: .65rem .9rem;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.bt-menu > li > a:hover,
.bt-menu > li.current-menu-item > a,
.bt-menu > li.current-menu-ancestor > a {
  background: rgba(22,48,122,.08);
  color: var(--navy);
}
.bt-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + .45rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(18,20,26,.08);
  border-radius: 1.1rem;
  list-style: none;
  margin: 0;
  padding: .55rem;
  z-index: 50;
  box-shadow: 0 18px 40px rgba(13,27,69,.14);
}
/* Invisible bridge so the pointer can cross the visual gap without closing. */
.bt-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: .65rem;
}
.bt-menu > li:hover > .sub-menu,
.bt-menu > li:focus-within > .sub-menu { display: block; }
.bt-menu .sub-menu a {
  display: block; padding: .6rem .85rem; white-space: nowrap;
  border-radius: .7rem; color: var(--ink); font-weight: 600; font-size: .9rem;
}
.bt-menu .sub-menu a:hover { background: rgba(22,48,122,.07); color: var(--navy); }
.bt-menu button, .bt-menu .submenu-toggle, .bt-nav .dropdown-menu-toggle,
.bt-footer-menu button, .bt-footer-menu .submenu-toggle, .ast-header-break-point .main-header-menu .menu-toggle {
  display: none !important;
}

.bt-pill--cta-shell {
  padding: 0 .38rem;
  height: 52px;
}
.bt-cta-chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #efc149 0%, var(--gold) 60%, #b88312 100%);
  color: var(--navy-deep);
  font-weight: 700; font-size: .84rem;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.bt-cta-chip:hover {
  color: var(--navy-deep);
  background: linear-gradient(180deg, #f3cb5d 0%, var(--gold-bright) 55%, var(--gold) 100%);
}

.bt-logo--footer img {
  width: auto;
  max-width: 220px;
  height: auto;
}

.bt-nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; cursor: pointer;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 24px rgba(8,14,36,.12);
  padding: 0 14px;
}
.bt-nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.bt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.4rem; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  line-height: 1.2;
}
.bt-btn:hover { transform: translateY(-1px); }
.bt-btn--trial,
.bt-btn--gold { background: var(--gold); color: var(--ink); }
.bt-btn--trial:hover,
.bt-btn--gold:hover { background: var(--gold-bright); color: var(--ink); }
.bt-btn--primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.bt-btn--primary:hover { background: var(--navy-deep); color: #fff; }
.bt-btn--line,
.bt-btn--ghost {
  background: transparent; border-color: rgba(255,255,255,.75); color: #fff;
}
.bt-btn--line:hover,
.bt-btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.bt-btn--navy-line {
  background: transparent; border-color: var(--navy); color: var(--navy);
}
.bt-btn--navy-line:hover { background: var(--navy); color: #fff; }
.bt-btn--sheen { position: relative; overflow: hidden; }
.bt-btn--sheen::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-130%);
}
.bt-btn--sheen:hover::after { animation: sheen .85s ease; }
@keyframes sheen { to { transform: translateX(130%); } }

.bt-link {
  font-weight: 700; color: var(--navy);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.bt-kicker {
  margin: 0 0 .65rem; text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 700; color: var(--teal); font-family: var(--sans);
}
.bt-kicker--gold { color: var(--gold-soft); }
.bt-eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.bt-eyebrow--light { color: var(--gold-soft); }

/* ========== HERO ========== */
.bt-hero {
  position: relative; min-height: min(92vh, 860px);
  display: grid; align-items: center; overflow: hidden; color: #fff;
}
.bt-hero__bg {
  position: absolute; inset: 0;
  background: var(--navy-deep) center/cover no-repeat;
  transform: scale(1.04); transition: transform 14s var(--ease);
}
.bt-hero__bg.is-zooming { transform: scale(1.1); }
.bt-hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(112deg, rgba(8,14,36,.92) 0%, rgba(8,14,36,.78) 28%, rgba(8,14,36,.42) 52%, rgba(8,14,36,.18) 72%, rgba(15,111,108,.12) 100%),
    linear-gradient(0deg, rgba(8,14,36,.82) 0%, rgba(8,14,36,.28) 38%, transparent 62%);
}
.bt-hero__glow {
  position: absolute; inset: auto auto -10% -8%;
  width: min(58vw, 720px); height: min(58vw, 720px);
  background: radial-gradient(circle, rgba(200,150,26,.28) 0%, rgba(200,150,26,.08) 38%, transparent 68%);
  pointer-events: none; z-index: 0;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.bt-hero__frame {
  position: absolute; inset: 1.25rem;
  border: 1px solid rgba(246,231,184,.18);
  pointer-events: none; z-index: 1;
}
.bt-hero__frame::before,
.bt-hero__frame::after {
  content: ""; position: absolute; width: 48px; height: 48px;
  border: 2px solid var(--gold);
}
.bt-hero__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.bt-hero__frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.bt-hero__edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10,19,46,.55) 55%, var(--navy-deep));
  pointer-events: none;
}
.bt-hero__stage {
  position: relative; z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
  padding: 7.5rem 0 7rem;
}
.bt-hero__content {
  max-width: 36rem;
  margin: 0;
  text-align: left;
}
.bt-main { position: relative; z-index: 0; }
.bt-hero__brand {
  margin: 0 0 .35rem;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(3.2rem, 6.5vw, 5.6rem); line-height: .92;
  color: #fff; letter-spacing: -.03em;
  text-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.bt-hero__rule {
  display: block; width: 72px; height: 3px; margin: .15rem 0 1rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.bt-hero h1 {
  color: var(--gold-bright); font-weight: 500;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  max-width: 18ch; margin-bottom: 1rem;
}
.bt-hero__lead {
  margin: 0; max-width: 34ch; color: rgba(255,255,255,.94); font-size: 1.12rem;
}
.bt-hero__actions {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem;
  justify-content: flex-start;
}
[data-bt-fade] {
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .9s var(--ease) forwards;
}
[data-bt-fade]:nth-child(1) { animation-delay: .05s; }
[data-bt-fade]:nth-child(2) { animation-delay: .14s; }
[data-bt-fade]:nth-child(3) { animation-delay: .22s; }
[data-bt-fade]:nth-child(4) { animation-delay: .32s; }
[data-bt-fade]:nth-child(5) { animation-delay: .42s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes heroGlow {
  from { opacity: .75; transform: translate(0, 0) scale(1); }
  to { opacity: 1; transform: translate(4%, -3%) scale(1.06); }
}

/* ========== PROOF STRIP ========== */
.bt-proof {
  position: relative; z-index: 2;
  margin-top: -2.75rem;
  padding: 0 0 1.5rem;
  background: #efece4;
}
.bt-proof__rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(247,246,242,.96) 55%, rgba(246,231,184,.22) 100%);
  border: 1px solid rgba(255,255,255,.65);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow:
    0 22px 50px rgba(8,14,36,.16),
    0 1px 0 rgba(255,255,255,.8) inset;
  backdrop-filter: blur(12px);
}
.bt-proof__item {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1rem;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(22,48,122,.06);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.bt-proof__item:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: rgba(200,150,26,.35);
}
.bt-proof__icon {
  flex: 0 0 auto;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 55%, #1f4a9a);
  color: var(--gold-soft);
  box-shadow: 0 10px 22px rgba(13,27,69,.2);
  font-size: 1.35rem;
}
.bt-proof__copy {
  display: grid; gap: .15rem; min-width: 0;
}
.bt-proof__copy strong {
  color: var(--ink); font-size: .98rem; font-weight: 700; line-height: 1.2;
}
.bt-proof__copy small {
  color: var(--muted); font-size: .82rem; line-height: 1.35;
}

/* ========== BANDS ========== */
.bt-band { padding: clamp(3.75rem, 8vw, 6rem) 0; }
.bt-band__head { margin-bottom: 2.4rem; max-width: 38rem; }
.bt-band__head--center { text-align: center; margin-inline: auto; }
.bt-band__head--split {
  max-width: none; display: flex; justify-content: space-between;
  align-items: end; gap: 1.5rem;
}

/* ========== SERVICES / PATHWAYS ========== */
.bt-services {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(200,150,26,.08), transparent 55%),
    linear-gradient(180deg, #efece4 0%, var(--paper) 45%, var(--paper) 100%);
}
.bt-pathways {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}
.bt-pathways__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .7fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
}
.bt-pathways__intro h2 {
  max-width: 16ch;
  margin-bottom: 0;
}
.bt-pathways__intro-aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-bottom: .2rem;
}
.bt-pathways__lede {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.bt-pathways__all {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid rgba(22,48,122,.35);
  padding-bottom: .35rem;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.bt-pathways__all:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: .75rem;
}
.bt-pathways__stage {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(340px, .9fr);
  align-items: stretch;
  background: var(--navy-deep);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px rgba(13,27,69,.16);
}
.bt-pathways__media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #0a1638;
}
.bt-pathways__shot {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .55s var(--ease), transform 1.1s var(--ease);
}
.bt-pathways__shot.is-active {
  opacity: 1;
  transform: scale(1);
}
.bt-pathways__media-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 45%, rgba(10,22,56,.5)),
    linear-gradient(180deg, rgba(10,22,56,.08), transparent 40%, rgba(10,22,56,.55));
}
.bt-pathways__media-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  max-width: min(90%, 18ch);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.bt-pathways__list {
  list-style: none;
  margin: 0;
  padding: .55rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(165deg, #152a68 0%, var(--navy-deep) 42%, #091232 100%);
  border-left: 1px solid rgba(246,231,184,.12);
}
.bt-pathways__list > li {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bt-pathways__list > li:last-child { border-bottom: 0; }
.bt-pathway {
  width: 100%;
  display: grid;
  grid-template-columns: 3.1rem 1fr 2rem;
  gap: .85rem;
  align-items: start;
  padding: 1.05rem 1.45rem 1.05rem 1.25rem;
  color: rgba(255,255,255,.72);
  transition: background .3s var(--ease), color .3s var(--ease);
  position: relative;
}
.bt-pathway::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold-bright);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.bt-pathway:hover,
.bt-pathway:focus-visible,
.bt-pathway.is-active {
  color: #fff;
  background: rgba(246,231,184,.07);
}
.bt-pathway:hover::before,
.bt-pathway:focus-visible::before,
.bt-pathway.is-active::before {
  transform: scaleY(1);
}
.bt-pathway__index {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-soft);
  opacity: .7;
  line-height: 1.4;
  padding-top: .1rem;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.bt-pathway.is-active .bt-pathway__index,
.bt-pathway:hover .bt-pathway__index {
  opacity: 1;
  color: var(--gold-bright);
}
.bt-pathway__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.bt-pathway__title {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
}
.bt-pathway__icon {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold-soft);
  font-size: .95rem;
  flex-shrink: 0;
}
.bt-pathway__text {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: .86rem;
  line-height: 1.45;
  color: rgba(255,255,255,.78);
  transition: max-height .35s var(--ease), opacity .3s var(--ease), margin .3s var(--ease);
}
.bt-pathway.is-active .bt-pathway__text,
.bt-pathway:focus-visible .bt-pathway__text {
  max-height: 4.5rem;
  opacity: 1;
  margin-top: .25rem;
}
.bt-pathway__go {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: .15rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.bt-pathway.is-active .bt-pathway__go,
.bt-pathway:hover .bt-pathway__go {
  color: var(--ink);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translate(.1rem, -.1rem);
}

/* Archive tiles still supported */
.bt-tile {
  position: relative; overflow: hidden; display: flex; align-items: end;
  min-height: 280px; color: #fff;
  background: var(--navy-deep) center/cover no-repeat;
  background-image: var(--bt-tile-img);
  border-radius: var(--radius);
  transition: transform .35s var(--ease);
}
.bt-tile:hover { transform: scale(1.01); color: #fff; }
.bt-tile__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,16,40,.15) 0%, rgba(9,16,40,.35) 40%, rgba(9,16,40,.92) 100%);
}
.bt-tile__icon, .bt-tile__copy { position: relative; z-index: 1; }
.bt-tile__icon {
  position: absolute; top: 1.1rem; left: 1.1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14); font-size: 1.2rem;
}
.bt-tile__copy { padding: 1.35rem 1.3rem; width: 100%; }
.bt-tile__title {
  display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600; line-height: 1.15; margin-bottom: .35rem;
}
.bt-tile__more {
  font-size: .88rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold-soft);
}
.bt-tile__excerpt {
  display: block; font-size: .92rem; color: rgba(255,255,255,.82);
  margin: 0 0 .55rem; max-width: 28ch;
}
.bt-tile--archive { min-height: 300px; }

/* ========== STORY ========== */
.bt-story__visual {
  min-height: min(78vh, 720px);
  background: var(--navy-deep) center/cover no-repeat;
  display: grid; align-items: center;
  position: relative;
}
.bt-story__visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,16,40,.78) 0%, rgba(9,16,40,.45) 48%, rgba(9,16,40,.2) 100%);
}
.bt-story__panel {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(160px, 360px) minmax(0, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
  align-items: center;
  width: min(980px, calc(100% - (var(--gutter) * 2)));
  margin: 4rem auto 4rem max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: rgba(247,246,242,.96);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.bt-story__portrait {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 12px 28px rgba(13,27,69,.12);
  border: 1px solid rgba(22,48,122,.08);
}
.bt-story__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bt-story__panel-copy {
  min-width: 0;
}
.bt-story__panel h2 { color: var(--ink); }
.bt-prose p { margin: 0 0 1rem; }
.bt-prose--narrow { max-width: 760px; }

/* ========== SINGLE ARTICLE ========== */
.bt-article { background: var(--paper); }
.bt-article-banner {
  position: relative;
  min-height: clamp(360px, 52vw, 620px);
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--navy-deep) center / cover no-repeat;
  isolation: isolate;
}
.bt-article-banner__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(9,16,40,.15) 0%, rgba(9,16,40,.35) 42%, rgba(9,16,40,.82) 100%);
}
.bt-article-banner__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), 1280px);
  margin-inline: auto;
  padding-top: clamp(5.5rem, 12vw, 8rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.bt-article-banner h1 {
  color: #fff;
  max-width: 24ch;
  margin-bottom: .65rem;
  font-size: clamp(2.2rem, 4.6vw, 3.85rem);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.bt-article-banner__meta {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  letter-spacing: .02em;
}
.bt-article-body {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.bt-article-body__inner.bt-container {
  width: min(100% - (var(--gutter) * 2), 1280px);
}
.bt-article-body__nav {
  margin: 0 0 1.5rem;
}
.bt-prose--article {
  max-width: none;
  font-size: clamp(1.0625rem, 1.15vw, 1.175rem);
  line-height: 1.75;
  color: var(--muted);
}
.bt-prose--article > *:first-child { margin-top: 0; }
.bt-prose--article h2,
.bt-prose--article h3 {
  margin-top: 2.25rem;
  margin-bottom: .75rem;
}
.bt-prose--article ul,
.bt-prose--article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.bt-prose--article li { margin-bottom: .4rem; }
.bt-prose--article::after {
  content: "";
  display: table;
  clear: both;
}
.bt-prose--article .wp-block-image {
  margin: 1.25rem 0 1.5rem;
  max-width: 100%;
}
.bt-prose--article .wp-block-image img,
.bt-prose--article p > img,
.bt-prose--article > img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: var(--radius-sm);
}
/* Keep wide hero-style body images readable edge-to-edge within the column */
.bt-prose--article .wp-block-image.size-full:not(.alignleft):not(.alignright):not(.aligncenter) img {
  max-width: min(100%, 940px);
}
.bt-prose--article .wp-block-image.aligncenter,
.bt-prose--article .aligncenter {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.bt-prose--article .wp-block-image.alignleft,
.bt-prose--article .alignleft {
  float: left;
  display: table;
  margin: .35rem 1.35rem 1rem 0;
}
.bt-prose--article .wp-block-image.alignright,
.bt-prose--article .alignright {
  float: right;
  display: table;
  margin: .35rem 0 1rem 1.35rem;
}
.bt-prose--article .wp-block-image.alignwide img,
.bt-prose--article .wp-block-image.alignfull img {
  width: 100%;
  max-width: 100%;
}
.bt-prose--article .wp-block-image figcaption {
  display: block;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .9em;
  line-height: 1.4;
  text-align: center;
}
.bt-prose--article a {
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Gutenberg columns (Key Formulas etc. — 3 images in a row) */
.bt-prose--article .wp-block-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(.75rem, 1.5vw, 1.35rem);
  align-items: flex-start;
  margin: 1.15rem 0 1.75rem;
}
.bt-prose--article .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}
.bt-prose--article .wp-block-columns .wp-block-image {
  margin: 0;
  width: 100%;
}
.bt-prose--article .wp-block-columns .wp-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Article tables — card on the table only; caption stays normal text below */
.bt-prose--article figure.wp-block-table,
.bt-prose--article .wp-block-table {
  margin: 2rem 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.bt-prose--article figure.wp-block-table > table,
.bt-prose--article .wp-block-table > table,
.bt-prose--article .wp-block-table__wrapper,
.bt-prose--article table {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(22, 48, 122, .12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 27, 69, .06);
  border-collapse: collapse;
  border-spacing: 0;
  font-size: .98em;
  line-height: 1.45;
  color: var(--ink);
}
.bt-prose--article figure.wp-block-table > table,
.bt-prose--article .wp-block-table > table {
  display: table;
  min-width: 480px;
}
.bt-prose--article .wp-block-table__wrapper {
  display: block;
}
.bt-prose--article .wp-block-table__wrapper > table {
  box-shadow: none;
  border: 0;
  border-radius: 0;
  min-width: 480px;
}
.bt-prose--article table caption {
  caption-side: bottom;
  padding: .75rem 0 0;
  text-align: left;
  color: var(--muted);
  font-size: .95em;
  background: transparent;
  border: 0;
}
.bt-prose--article table th,
.bt-prose--article table td {
  padding: .85rem 1.05rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(22, 48, 122, .1);
  border-right: 1px solid rgba(22, 48, 122, .06);
}
.bt-prose--article table th:last-child,
.bt-prose--article table td:last-child {
  border-right: 0;
}
.bt-prose--article table thead th,
.bt-prose--article table thead td,
.bt-prose--article table:not(:has(thead)) tbody tr:first-child td,
.bt-prose--article table:not(:has(thead)) tbody tr:first-child th {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom-color: transparent;
  border-right-color: rgba(255, 255, 255, .12);
}
.bt-prose--article table thead th:last-child,
.bt-prose--article table thead td:last-child,
.bt-prose--article table:not(:has(thead)) tbody tr:first-child td:last-child {
  border-right-color: transparent;
}
.bt-prose--article table thead strong,
.bt-prose--article table:not(:has(thead)) tbody tr:first-child strong {
  color: inherit;
  font-weight: 700;
}
.bt-prose--article table tbody tr:nth-child(even) td {
  background: rgba(22, 48, 122, .035);
}
.bt-prose--article table:not(:has(thead)) tbody tr:first-child:nth-child(even) td {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.bt-prose--article table tbody tr:hover td {
  background: rgba(200, 150, 26, .08);
}
.bt-prose--article table:not(:has(thead)) tbody tr:first-child:hover td {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.bt-prose--article table tbody tr:last-child td {
  border-bottom: 0;
}
.bt-prose--article .wp-block-table .wp-element-caption,
.bt-prose--article .wp-block-table figcaption,
.bt-prose--article figure.wp-block-table > figcaption {
  display: block;
  margin: .7rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: .98em;
  line-height: 1.55;
  text-align: left;
}

.bt-article-footer {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.bt-article-footer__label {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--ink);
  font-weight: 600;
}
.bt-article-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ========== SINGLE SERVICE ========== */
.bt-service-detail {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}
.bt-service-detail__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(13,27,69,.12);
  border: 1px solid rgba(22,48,122,.08);
}
.bt-service-detail__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.bt-service-detail__copy {
  max-width: 40rem;
}
.bt-service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem !important;
}
.bt-service-cta {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--paper);
}
.bt-service-cta__panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(246,231,184,.2);
  box-shadow: 0 18px 44px rgba(13,27,69,.14);
  background: var(--navy-deep);
}
.bt-service-cta__veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(10,19,46,.92) 0%, rgba(22,48,122,.78) 48%, rgba(10,19,46,.55) 100%),
    var(--bt-service-cta-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
.bt-service-cta__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.6rem) clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
}
.bt-service-cta__copy h2 {
  margin: .35rem 0 .55rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  max-width: 18ch;
  line-height: 1.15;
}
.bt-service-cta__copy p:last-child {
  margin: 0;
  max-width: 40ch;
  color: rgba(255,255,255,.88);
  line-height: 1.45;
}
.bt-service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: flex-end;
}

/* ========== WHY ONLINE ========== */
.bt-why-online {
  background:
    radial-gradient(ellipse 50% 45% at 88% 10%, rgba(200,150,26,.08), transparent 55%),
    var(--paper);
}
.bt-why-online .bt-band__lede {
  margin: .65rem auto 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.45;
}
.bt-why-online__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.35rem);
  margin-top: clamp(1.75rem, 3vw, 2.4rem);
}
.bt-why-online__card {
  grid-column: span 2;
  padding: 1.25rem 1.2rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(22,48,122,.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(13,27,69,.05);
}
.bt-why-online__card:nth-child(4) {
  grid-column: 2 / span 2;
}
.bt-why-online__card:nth-child(5) {
  grid-column: 4 / span 2;
}
.bt-why-online__icon {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: .85rem;
  border-radius: 999px;
  background: rgba(22,48,122,.07);
  color: var(--navy);
  font-size: 1.2rem;
}
.bt-why-online__card h3 {
  margin: 0 0 .45rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
}
.bt-why-online__card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

/* ========== FLAGSHIP PATHWAY ========== */
.bt-flagship {
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(200,150,26,.16), transparent 55%),
    linear-gradient(135deg, #12265f 0%, var(--navy-deep) 48%, #091232 100%);
  color: #fff;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-block: 3px solid var(--gold);
}
.bt-flagship__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.bt-flagship__copy {
  max-width: min(100%, 46rem);
}
.bt-flagship__copy h2 {
  color: #fff;
  max-width: none;
  white-space: nowrap;
  margin-bottom: .55rem;
}
.bt-flagship__copy p {
  margin: 0;
  color: rgba(255,255,255,.88);
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.45;
}
.bt-flagship__cta {
  flex-shrink: 0;
  align-self: flex-end;
}

/* ========== FULL BLEED CTAs ========== */
.bt-cta-bleed {
  position: relative; min-height: 460px;
  background: var(--navy-deep) center/cover no-repeat;
  color: #fff; display: grid; align-items: center;
  overflow: hidden;
}
.bt-cta-bleed__veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9,16,40,.88) 0%, rgba(9,16,40,.55) 55%, rgba(15,111,108,.35) 100%);
}
.bt-cta-bleed__inner, .bt-cta-bleed__split {
  position: relative; z-index: 1; padding: 4.5rem 0;
}
.bt-cta-bleed__inner { max-width: 720px; }
.bt-cta-bleed__inner--center {
  max-width: 760px; margin-inline: auto; text-align: center;
}
.bt-cta-bleed h2 { color: #fff; max-width: 14ch; }
.bt-cta-bleed__inner--center h2 { max-width: none; }
.bt-cta-bleed p { color: rgba(255,255,255,.9); max-width: 42ch; }
.bt-cta-bleed__inner--center p { margin-inline: auto; }
.bt-cta-bleed__split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
.bt-cta-bleed__quote {
  margin: 0; padding: 1.6rem 1.5rem;
  background: rgba(255,255,255,.1); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  backdrop-filter: blur(6px);
}
.bt-cta-bleed__quote p { margin: 0; max-width: none; }

/* ========== PROCESS ========== */
.bt-process {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200,150,26,.08), transparent 55%),
    linear-gradient(180deg, #f3f1ea 0%, var(--paper) 100%);
}
.bt-process .bt-band__head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.bt-process .bt-band__head h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.bt-process__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  position: relative;
}
.bt-process__grid::before {
  content: "";
  position: absolute;
  top: 2.35rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,150,26,.5) 15%, rgba(200,150,26,.5) 85%, transparent);
  pointer-events: none;
  z-index: 0;
}
.bt-process__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: .55rem;
  padding: 1.35rem 1.25rem 1.45rem;
  background: #fff;
  border: 1px solid rgba(22,48,122,.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13,27,69,.06);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bt-process__step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13,27,69,.1);
}
.bt-process__badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: .75rem;
  margin-bottom: .15rem;
  min-height: 3.2rem;
}
.bt-process__num {
  position: absolute;
  top: .35rem;
  right: .55rem;
  display: block;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: .8;
  color: var(--gold);
  opacity: .18;
  letter-spacing: -.03em;
  pointer-events: none;
  z-index: 0;
}
.bt-process__icon,
.bt-process__title,
.bt-process__text {
  position: relative;
  z-index: 1;
}
.bt-process__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: var(--gold-soft);
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(13,27,69,.16);
}
.bt-process__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}
.bt-process__text {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.45;
}
.bt-process__action {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3.5vw, 2.4rem);
}

/* ========== TUTORS ========== */
.bt-tutor-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.bt-tutor-portrait__media {
  aspect-ratio: 3/4; overflow: hidden; background: var(--navy-deep); margin-bottom: 1rem;
  border-radius: var(--radius);
}
.bt-tutor-portrait__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.bt-tutor-portrait:hover img { transform: scale(1.04); }
.bt-avatar {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 50%, var(--gold));
  color: #fff; font-family: var(--serif); font-size: 3rem; font-weight: 700;
}
.bt-tutor-portrait__meta .bt-kicker { margin-bottom: .3rem; }
.bt-tutor-portrait__meta p:last-child { margin: .4rem 0 0; }

/* ========== QUOTES ========== */
.bt-quotes {
  background:
    radial-gradient(ellipse 60% 45% at 18% 12%, rgba(200,150,26,.12), transparent 55%),
    #efece4;
  padding: clamp(3.75rem, 8vw, 6rem) 0;
}
.bt-quotes .bt-band__head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.bt-quotes .bt-band__head h2 {
  max-width: 16ch;
  margin-inline: auto;
}
.bt-quotes__rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  align-items: center;
}
.bt-quotes__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.4rem) / 3);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .15rem .1rem .35rem;
}
.bt-quotes__track[data-count="1"] {
  grid-auto-columns: 100%;
}
.bt-quotes__track[data-count="2"] {
  grid-auto-columns: calc((100% - 1.2rem) / 2);
}
.bt-quotes__track[data-count="3"] {
  grid-auto-columns: calc((100% - 2.4rem) / 3);
}
.bt-quotes__rail--static {
  display: block;
}
.bt-quotes__rail--static .bt-quotes__track {
  overflow: visible;
  scroll-snap-type: none;
}
.bt-quotes__track::-webkit-scrollbar { display: none; }
.bt-quote { margin: 0; }
.bt-quote--tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.4rem;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 58%, #0a1638 100%);
  border: 1px solid rgba(246,231,184,.14);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(13,27,69,.18);
}
.bt-quote--tile .bt-quote__text,
.bt-quote--tile p {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.4;
  font-weight: 500;
}
.bt-quote--tile .bt-expandable__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.bt-quote--tile .bt-expandable.is-expanded .bt-expandable__text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.bt-expandable {
  display: grid;
  gap: .55rem;
}
.bt-expandable__toggle {
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.bt-expandable__toggle--on-dark {
  color: var(--gold-soft);
}
.bt-tutor-portrait__meta .bt-expandable__text {
  margin: .4rem 0 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.bt-tutor-portrait__meta .bt-expandable.is-expanded .bt-expandable__text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.bt-tutor-portrait__meta .bt-tag-list {
  margin-top: .75rem;
}
.bt-quote footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
}
.bt-quote__avatar {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(246,231,184,.35);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-weight: 700;
  font-size: .82rem;
}
.bt-quote__meta {
  display: grid;
  gap: .1rem;
  min-width: 0;
}
.bt-quote footer strong { color: #fff; font-weight: 700; }
.bt-quotes__nav {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(22,48,122,.16);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(13,27,69,.08);
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s;
}
.bt-quotes__nav:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
}
/* ========== ARTICLES ========== */
.bt-article-list { display: grid; gap: 1rem; }
.bt-article-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem;
  align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line);
  color: inherit;
}
.bt-article-row:hover { color: inherit; }
.bt-article-row__media {
  display: block; min-height: 140px; background: var(--navy) center/cover no-repeat;
  border-radius: var(--radius-sm);
}
.bt-article-row__copy { display: grid; gap: .35rem; }
.bt-article-row__date {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--teal);
}
.bt-article-row__title {
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.8rem);
  color: var(--ink); font-weight: 600; line-height: 1.2;
}
.bt-article-row:hover .bt-article-row__title { color: var(--navy); }

/* ========== TRAINING ========== */
.bt-train { background: var(--navy-deep); color: #fff; }
.bt-train__inner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.bt-train__copy {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.bt-train h2 { color: #fff; }
.bt-train p { color: rgba(255,255,255,.88); max-width: 40ch; }
.bt-train__media { background: center/cover no-repeat; min-height: 320px; }

/* ========== FOOTER ========== */
.bt-join-wrap {
  position: relative;
  z-index: 3;
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: -4.5rem;
}
.bt-footer {
  position: relative;
  z-index: 1;
  background: #0a132e;
  color: rgba(255,255,255,.8);
  padding-top: 6.75rem;
}
.bt-join {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 320px;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--navy-deep);
  border: 1px solid rgba(246,231,184,.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 50px rgba(5,10,28,.35);
  overflow: hidden;
  color: #fff;
}
.bt-join__veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(10,19,46,.92) 0%, rgba(22,48,122,.78) 48%, rgba(10,19,46,.55) 100%),
    var(--bt-join-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.bt-join__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.bt-join__inner h2 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.bt-join__inner p {
  margin: 0 auto 1.35rem;
  max-width: 42ch;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.5;
}
.bt-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr 1.15fr 1.15fr;
  gap: 2rem;
  padding: 2.75rem 0 2.5rem;
}
.bt-footer h3 {
  color: #fff; font-family: var(--sans); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.bt-footer a { color: rgba(255,255,255,.86); }
.bt-footer a:hover { color: var(--gold-soft); }
.bt-footer__tagline {
  max-width: 38ch;
  margin: .85rem 0 1.1rem;
  line-height: 1.45;
  color: rgba(255,255,255,.78);
}
.bt-footer-menu, .bt-footer-contact {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem;
}
.bt-footer-contact {
  gap: .65rem;
}
.bt-footer-contact__card a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .85rem;
  background: #fff;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(5,10,28,.16);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.bt-footer-contact__card a:hover {
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(5,10,28,.22);
}
.bt-footer-contact__card i {
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 1.05rem;
}
.bt-footer-contact__card span {
  min-width: 0;
  word-break: break-word;
  font-weight: 600;
  font-size: .92rem;
}
.bt-footer-contact__address {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.45;
  padding-top: .15rem;
}
.bt-footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  font-size: .88rem;
}
.bt-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.25rem;
}
.bt-footer__copy,
.bt-footer__credit {
  margin: 0;
  color: rgba(255,255,255,.72);
}
.bt-footer__credit {
  text-align: right;
}
.bt-footer__credit a {
  color: rgba(255,255,255,.9);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.bt-footer__credit a:hover {
  color: var(--gold-soft);
}

/* Page templates shared */
.bt-page-hero {
  padding: 6.5rem 0 3.25rem;
  background: linear-gradient(180deg, rgba(22,48,122,.07), transparent), var(--paper);
  border-bottom: 1px solid var(--line);
}
.bt-page-hero--image {
  position: relative; min-height: 420px; color: #fff;
  background: var(--navy-deep) center/cover no-repeat; display: grid; align-items: end;
  padding-top: 0;
}
.bt-page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9,16,40,.75), rgba(9,16,40,.35));
}
.bt-page-hero--image .bt-container {
  position: relative; z-index: 1;
  padding-top: 7.25rem; padding-bottom: 2.5rem;
}
.bt-page-hero--image h1 { color: #fff; }
.bt-page-hero--image p {
  max-width: 46ch;
  color: rgba(255,255,255,.88);
}

.bt-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.bt-section--muted { background: rgba(22,48,122,.04); }
.bt-section-head { margin-bottom: 2rem; max-width: 40rem; }
.bt-grid { display: grid; gap: 1.25rem; }
.bt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bt-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Legacy card support for archives */
.bt-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--navy-deep); }
.bt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bt-card__body { padding: 1rem 0 0; }
.bt-card__icon {
  position: absolute; left: 1rem; bottom: 1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
}
.bt-card__media { position: relative; }
.bt-tag-list { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.bt-tag-list li { font-size: .85rem; border-bottom: 1px solid var(--line); padding-bottom: .15rem; color: var(--ink); }

.bt-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.bt-form label { display: grid; gap: .35rem; color: var(--ink); font-weight: 600; }
.bt-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.bt-form select,
.bt-form textarea {
  width: 100%; padding: .85rem .95rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff; font: inherit; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bt-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.bt-form select:focus,
.bt-form textarea:focus {
  outline: none;
  border-color: rgba(22,48,122,.35);
  box-shadow: 0 0 0 3px rgba(22,48,122,.1);
}
.bt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bt-check {
  display: flex !important;
  align-items: center;
  gap: .55rem;
  width: auto;
  margin: 0;
  padding: .55rem .7rem;
  border: 1px solid rgba(22,48,122,.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.bt-check:hover {
  border-color: rgba(22,48,122,.28);
  background: rgba(22,48,122,.03);
}
.bt-check:has(input:checked) {
  border-color: rgba(22,48,122,.4);
  background: rgba(22,48,122,.06);
  box-shadow: inset 0 0 0 1px rgba(22,48,122,.08);
}
.bt-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: 0 0 1.05rem;
  border: 1.5px solid rgba(22,48,122,.35);
  border-radius: .28rem;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.bt-check input[type="checkbox"]::before {
  content: "";
  width: .55rem;
  height: .55rem;
  transform: scale(0);
  transition: transform .12s var(--ease);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  background: #fff;
}
.bt-check input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}
.bt-check input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.bt-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.bt-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}
.bt-check-grid .bt-check {
  min-height: 2.55rem;
}
.bt-fieldset {
  border: 1px solid rgba(22,48,122,.1);
  border-radius: var(--radius);
  padding: 0;
  background: var(--paper);
  overflow: hidden;
}
.bt-fieldset__block {
  padding: 1rem 1.1rem 1.15rem;
}
.bt-fieldset__block + .bt-fieldset__block {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(22,48,122,.08);
}
.bt-check--level {
  width: fit-content;
  margin-bottom: .45rem;
  padding: .5rem .85rem;
  background: rgba(22,48,122,.05);
  border-color: rgba(22,48,122,.14);
}
.bt-check--level strong {
  color: var(--navy);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.bt-check--level:has(input:checked) {
  background: rgba(22,48,122,.1);
  border-color: rgba(22,48,122,.35);
}
.bt-help {
  margin: .15rem 0 .7rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.bt-wordcount {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.bt-file input[type="file"] {
  padding: .7rem .8rem;
  background: var(--paper);
}
.bt-form__section {
  display: grid;
  gap: 1rem;
  padding-top: 1.15rem;
  margin-top: .35rem;
  border-top: 1px solid rgba(22,48,122,.08);
}
.bt-form__section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.bt-form__section h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.2;
}

.bt-apply {
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(200,150,26,.1), transparent 55%),
    #efece4;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.bt-apply__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.bt-apply__card {
  background: #fff;
  border: 1px solid rgba(22,48,122,.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(13,27,69,.07);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.bt-apply__card-head {
  margin-bottom: .85rem;
}
.bt-apply__card-head h2 {
  margin: .25rem 0 .45rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}
.bt-apply__card-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.45;
}
.bt-form--apply {
  margin-top: .5rem;
}
.bt-form--apply .bt-btn {
  justify-self: start;
  margin-top: .5rem;
}
.bt-apply__aside {
  position: sticky;
  top: 7.5rem;
}
.bt-apply__panel {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 70%);
  border: 1px solid rgba(246,231,184,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(13,27,69,.18);
  color: #fff;
}
.bt-apply__panel-body {
  padding: 1.45rem 1.4rem 1.55rem;
  display: grid;
  gap: 1rem;
}
.bt-apply__panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.15;
}
.bt-apply__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.bt-apply__facts li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: rgba(255,255,255,.88);
  font-size: .93rem;
  line-height: 1.4;
}
.bt-apply__facts i {
  color: var(--gold-soft);
  font-size: 1.1rem;
  margin-top: .12rem;
}
.bt-apply__note {
  padding: 1rem 1.05rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(246,231,184,.18);
  border-radius: var(--radius);
}
.bt-apply__note strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--gold-soft);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bt-apply__note p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: .92rem;
  line-height: 1.45;
}
.bt-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.bt-calendly {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(22,48,122,.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13,27,69,.06);
}
.bt-calendly__head {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, rgba(200,150,26,.12), rgba(200,150,26,.04));
  border-bottom: 1px solid rgba(200,150,26,.22);
}
.bt-calendly__badge {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: var(--gold-soft);
  font-size: 1.15rem;
}
.bt-calendly__head strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
}
.bt-calendly__head p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
}
.bt-calendly__widget {
  width: 100% !important;
  min-width: 0 !important;
  height: 720px !important;
  overflow: hidden;
  background: #fff;
}
.bt-calendly__widget iframe {
  display: block;
  width: 100% !important;
  border: 0 !important;
}
.bt-alert { padding: .9rem 1rem; margin: 0 0 1rem; border-radius: var(--radius-sm); }
.bt-alert--success { background: #e7f6ef; color: #0d5c45; }
.bt-alert--error { background: #fdecea; color: #8a1f11; }

.bt-enquire {
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(200,150,26,.1), transparent 55%),
    #efece4;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.bt-enquire__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.bt-enquire__card {
  background: #fff;
  border: 1px solid rgba(22,48,122,.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(13,27,69,.07);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.bt-enquire__card-head {
  margin-bottom: .35rem;
}
.bt-enquire__card-head h2 {
  margin: .25rem 0 .45rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}
.bt-enquire__card-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.45;
}
.bt-calendly--solo {
  margin-top: 1rem;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.bt-enquire__layout--trial .bt-enquire__main {
  min-width: 0;
}
.bt-form--enquire {
  margin-top: 1.15rem;
}
.bt-form--enquire .bt-btn {
  justify-self: start;
  margin-top: .35rem;
}
.bt-check--trial {
  width: 100%;
  padding: .95rem 1rem;
  background: linear-gradient(180deg, rgba(200,150,26,.1), rgba(200,150,26,.04));
  border: 1px solid rgba(200,150,26,.28);
  border-radius: var(--radius);
  align-items: flex-start;
}
.bt-check--trial:has(input:checked) {
  background: linear-gradient(180deg, rgba(200,150,26,.16), rgba(200,150,26,.06));
  border-color: rgba(200,150,26,.4);
  box-shadow: none;
}
.bt-check--trial span {
  display: grid;
  gap: .15rem;
}
.bt-check--trial strong {
  color: var(--ink);
  font-weight: 700;
}
.bt-check--trial em {
  font-style: normal;
  font-weight: 500;
  font-size: .88rem;
  color: var(--muted);
}
.bt-enquire__aside {
  position: sticky;
  top: 7.5rem;
}
.bt-enquire__panel {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 70%);
  border: 1px solid rgba(246,231,184,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(13,27,69,.18);
  color: #fff;
}
.bt-enquire__media {
  aspect-ratio: 16 / 10;
  background: center/cover no-repeat;
}
.bt-enquire__panel-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: grid;
  gap: 1rem;
}
.bt-enquire__panel blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.bt-enquire__panel blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
  color: rgba(255,255,255,.94);
}
.bt-enquire__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.bt-enquire__facts li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: rgba(255,255,255,.86);
  font-size: .92rem;
  line-height: 1.35;
}
.bt-enquire__facts i {
  color: var(--gold-soft);
  font-size: 1.05rem;
  margin-top: .1rem;
}
.bt-enquire__contacts {
  display: grid;
  gap: .55rem;
}
.bt-enquire__chip {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .8rem;
  background: #fff;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 8px 18px rgba(5,10,28,.16);
}
.bt-enquire__chip:hover {
  color: var(--navy);
}
.bt-enquire__chip i {
  color: var(--navy);
  font-size: 1rem;
}
.bt-contact-grid, .bt-tutor-single, .bt-story__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.bt-story__grid--portrait {
  grid-template-columns: minmax(160px, 360px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}
.bt-contact-grid--simple {
  grid-template-columns: minmax(0, 36rem);
}
.bt-story__media img {
  width: 100%; min-height: 420px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.bt-story__grid--portrait .bt-story__media img {
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
}
.bt-pagination { margin-top: 2.5rem; }
.bt-pagination .nav-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.bt-pagination a, .bt-pagination span {
  display: inline-flex; padding: .55rem .9rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600;
}
.bt-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.bt-card--article .bt-card__body h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: .4rem;
}
.bt-page-hero__icon {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin-top: 1rem;
  border-radius: 50%; background: rgba(255,255,255,.14); font-size: 1.25rem;
}
.bt-prose .bt-btn { margin-right: .5rem; margin-top: .75rem; }
.bt-contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.bt-contact-list li { display: flex; gap: .8rem; }
.bt-contact-map iframe { width: 100%; min-height: 400px; border: 0; }
.bt-included {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(200,150,26,.1), transparent 55%),
    #efece4;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.bt-included .bt-band__head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.bt-included__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}
.bt-included__grid[data-count="1"] {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
}
.bt-included__grid[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.bt-included__grid[data-count="4"] {
  grid-template-columns: repeat(2, 1fr);
}
.bt-included__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(22,48,122,.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(13,27,69,.06);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bt-included__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13,27,69,.1);
}
.bt-included__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}
.bt-included__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.bt-included__card:hover .bt-included__media img {
  transform: scale(1.04);
}
.bt-included__num {
  position: absolute;
  top: .85rem;
  right: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: .8;
  color: var(--gold);
  opacity: .22;
  letter-spacing: -.03em;
  pointer-events: none;
  z-index: 1;
}
.bt-included__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .55rem;
  padding: 1.25rem 1.3rem 1.45rem;
}
.bt-included__body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  max-width: 18ch;
}
.bt-included__text {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.5;
}
.bt-included__text p {
  margin: 0 0 .65rem;
}
.bt-included__text p:last-child {
  margin-bottom: 0;
}
.bt-included__text .bt-expandable__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.bt-included__text .bt-expandable.is-expanded .bt-expandable__text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.bt-avatar-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-deep), var(--gold)); color: #fff;
  font-family: var(--serif); font-size: 2.5rem; font-weight: 700;
}
.bt-avatar-fallback--lg { min-height: 340px; font-size: 4rem; }

/* Motion */
[data-bt-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-bt-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-bt-fade], [data-bt-reveal], .bt-hero__bg, .bt-hero__glow, .bt-btn--sheen::after {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .bt-pathways__intro { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .bt-pathways__intro h2 { max-width: 18ch; }
  .bt-pathways__lede { max-width: 46ch; }
  .bt-pathways__stage {
    grid-template-columns: 1fr 1fr;
  }
  .bt-pathways__media { min-height: 420px; }
  .bt-tutor-rail, .bt-proof__rail, .bt-process__grid { grid-template-columns: repeat(2, 1fr); }
  .bt-why-online__grid { grid-template-columns: repeat(2, 1fr); }
  .bt-why-online__card,
  .bt-why-online__card:nth-child(4),
  .bt-why-online__card:nth-child(5) { grid-column: auto; }
  .bt-process__grid::before { display: none; }
  .bt-quotes__track,
  .bt-quotes__track[data-count="3"] { grid-auto-columns: calc((100% - 1.2rem) / 2); }
  .bt-quotes__track[data-count="1"] { grid-auto-columns: 100%; }
  .bt-quotes__track[data-count="2"] { grid-auto-columns: calc((100% - 1.2rem) / 2); }
  .bt-service-detail { grid-template-columns: 1fr; }
  .bt-service-detail__media img { min-height: 260px; }
  .bt-service-cta__body { grid-template-columns: 1fr; }
  .bt-service-cta__actions { justify-content: flex-start; }
  .bt-included__grid[data-count="3"] {
    grid-template-columns: 1fr 1fr;
  }
  .bt-included__grid[data-count="3"] .bt-included__card:last-child {
    grid-column: 1 / -1;
    max-width: none;
  }
  .bt-hero__frame { inset: .85rem; }
  .bt-flagship__inner { flex-direction: column; align-items: flex-start; }
  .bt-flagship__cta { align-self: flex-start; }
  .bt-flagship__copy h2 { white-space: normal; }
  .bt-cta-bleed__split, .bt-train__inner { grid-template-columns: 1fr; }
  .bt-footer__grid { grid-template-columns: 1fr 1fr; }
  .bt-pill { height: 48px; }
  .bt-pill--nav { justify-self: center; }
  .bt-menu > li > a { padding: .55rem .65rem; font-size: .84rem; }
  .bt-cta-chip { height: 36px; font-size: .82rem; padding: 0 1rem; }
  .bt-flag { width: 124px; }
  .bt-header__spacer { width: 124px; }
  .bt-flag__face { min-height: 148px; padding: .9rem .75rem 2.1rem; }
  .bt-flag img { max-height: 100px; }
  .bt-pill--cta-shell { height: 48px; }
  .bt-cta-chip { height: 34px; }
}

@media (max-width: 900px) {
  .bt-topbar__left span { display: none; }
  .bt-nav-toggle { display: inline-block; }
  /* Flag lives in .bt-topbar — keep that layer under the header/menu */
  .bt-topbar { z-index: 1; }
  .bt-header { z-index: 6; }
  .bt-flag { z-index: 1; }
  .bt-header__inner {
    position: relative;
    grid-template-columns: 1fr auto;
  }
  .bt-header__spacer { display: none; }
  .bt-pill--nav {
    display: none;
    position: absolute;
    top: calc(100% + .45rem);
    /* Hard left inset past the 104px flag so "About us" never sits under it */
    left: 7.75rem;
    right: .5rem;
    z-index: 80;
    width: auto;
    max-width: calc(100vw - 7.75rem - .5rem - (var(--gutter) * 2));
    height: auto !important;
    max-height: min(70vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    justify-self: stretch;
    border-radius: 1.35rem;
    padding: .85rem;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 40px rgba(13,27,69,.16);
  }
  .bt-pill--nav.is-open {
    display: block;
  }
  .bt-pill--nav.is-open:hover {
    transform: none;
  }
  .bt-menu {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    min-width: 0;
  }
  .bt-menu > li {
    min-width: 0;
  }
  .bt-menu > li > a {
    display: flex;
    width: 100%;
    max-width: 100%;
    border-radius: .85rem;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
  .bt-menu .sub-menu {
    position: static;
    display: block;
    transform: none;
    left: auto;
    min-width: 0;
    max-width: 100%;
    border: 0;
    box-shadow: none;
    padding: .15rem 0 .15rem .65rem;
    background: transparent;
  }
  .bt-menu .sub-menu a {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
  .bt-pill--cta-shell,
  .bt-nav-toggle {
    height: 46px;
  }
  .bt-cta-chip { height: 32px; font-size: .8rem; padding: 0 .85rem; }
  .bt-flag { width: 104px; }
  .bt-header__spacer { width: 104px; }
  .bt-flag__face { min-height: 126px; padding: .75rem .6rem 1.85rem; }
  .bt-flag img { max-height: 86px; }
  .bt-pathways__stage { grid-template-columns: 1fr; min-height: 0; }
  .bt-pathways__media { min-height: 240px; }
  .bt-pathway__text {
    max-height: 4.5rem;
    opacity: .85;
    margin-top: .2rem;
  }
  .bt-enquire__layout, .bt-apply__layout, .bt-contact-grid, .bt-tutor-single,
  .bt-story__grid, .bt-story__grid--portrait,
  .bt-grid--3, .bt-article-row { grid-template-columns: 1fr; }
  .bt-story__grid--portrait .bt-story__media {
    max-width: 360px;
  }
  .bt-enquire__aside,
  .bt-apply__aside { position: static; }
  .bt-form__row { grid-template-columns: 1fr; }
  .bt-included__grid,
  .bt-included__grid[data-count="3"],
  .bt-included__grid[data-count="4"] {
    grid-template-columns: 1fr;
  }
  .bt-band__head--split {
    flex-direction: column; align-items: flex-start;
  }
  .bt-join-wrap {
    margin-bottom: -3.5rem;
  }
  .bt-footer {
    padding-top: 5.5rem;
  }
  .bt-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .bt-footer__credit {
    text-align: left;
  }
  .bt-quotes__rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
  }
  .bt-quotes__track,
  .bt-quotes__track[data-count="1"],
  .bt-quotes__track[data-count="2"],
  .bt-quotes__track[data-count="3"] {
    flex: 1 1 100%;
    order: 1;
    grid-auto-columns: 85%;
  }
  .bt-quotes__rail--static .bt-quotes__track,
  .bt-quotes__rail--static .bt-quotes__track[data-count="1"],
  .bt-quotes__rail--static .bt-quotes__track[data-count="2"],
  .bt-quotes__rail--static .bt-quotes__track[data-count="3"] {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: unset;
  }
  .bt-quotes__nav { order: 2; }
  .bt-story__panel {
    margin: 3rem var(--gutter);
    width: auto;
    grid-template-columns: minmax(140px, 280px) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .bt-story__panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .bt-story__portrait {
    width: min(180px, 55%);
  }
  .bt-proof__rail, .bt-tutor-rail, .bt-process__grid, .bt-why-online__grid, .bt-check-grid, .bt-grid--4, .bt-footer__grid { grid-template-columns: 1fr; }
  .bt-why-online__card,
  .bt-why-online__card:nth-child(4),
  .bt-why-online__card:nth-child(5) { grid-column: auto; }
  .bt-proof { margin-top: -1.5rem; }
  .bt-hero__frame { display: none; }
  .bt-topbar__left,
  .bt-topbar__right { display: none; }
  .bt-topbar { min-height: 0; }
  .bt-topbar__inner { min-height: 0; }
  .bt-flag { position: absolute; top: 0; }
  .bt-header { top: 0; }
  .bt-pill--nav, .bt-header__actions { margin-top: .55rem; }
  .bt-hero { min-height: 86vh; }
  .bt-hero__stage { padding: 6.25rem 0 5.5rem; }
  .bt-hero__content { max-width: 100%; }
  .bt-article-banner { min-height: 280px; }
  .bt-article-banner h1 { max-width: none; }
  .bt-article-footer__actions { flex-direction: column; align-items: stretch; }
  .bt-article-footer__actions .bt-btn { width: 100%; text-align: center; }
  .bt-prose--article table th,
  .bt-prose--article table td { padding: .7rem .8rem; }
  .bt-prose--article table { min-width: 420px; }
  .bt-prose--article .wp-block-columns {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .bt-prose--article .wp-block-column { flex: 1 1 100%; }
  #ast-scroll-top,
  #ast-scroll-top.ast-scroll-to-top-right {
    right: 1rem;
    bottom: 1rem;
    width: 2.65rem;
    height: 2.65rem;
  }
}

/* ========== SCROLL TO TOP (Astra) ========== */
#ast-scroll-top {
  display: none;
  position: fixed !important;
  right: 1.5rem;
  bottom: 1.5rem;
  left: auto;
  z-index: 120;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(246,231,184,.28);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-soft);
  box-shadow: 0 12px 28px rgba(13,27,69,.28);
  cursor: pointer;
  text-align: center;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s, box-shadow .2s;
}
#ast-scroll-top.ast-scroll-to-top-right {
  right: 1.5rem;
  bottom: 1.5rem;
  left: auto;
}
#ast-scroll-top.ast-scroll-to-top-left {
  left: 1.5rem;
  right: auto;
  bottom: 1.5rem;
}
#ast-scroll-top:hover,
#ast-scroll-top:focus {
  background: linear-gradient(145deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(200,150,26,.35);
  transform: translateY(-2px);
  outline: none;
}
#ast-scroll-top .ast-icon.icon-arrow {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
#ast-scroll-top .ast-icon.icon-arrow svg,
#ast-scroll-top .ast-arrow-svg {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 !important;
  vertical-align: middle;
  transform: translateY(0) rotate(180deg);
  fill: currentColor;
}
