:root {
  --navy: #07183f;
  --navy-2: #10265d;
  --gold: #efc879;
  --gold-dark: #8a651d;
  --gold-focus: #f0b94e;
  --cream: #f7f3eb;
  --accent: var(--gold-dark);
  --white: #fff;
  --ink: #07183f;
  --muted: rgba(7, 24, 63, .68);
  --line: rgba(7, 24, 63, .13);
  --line-warm: rgba(138, 101, 29, .28);
  --surface: var(--cream);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shadow-sm: 0 10px 30px rgba(7, 24, 63, .07);
  --shadow-lg: 0 24px 70px rgba(7, 24, 63, .13);
  --radius: 18px;
  --header-height: 76px;
  --section: clamp(64px, 8vw, 112px);
}
section[id], h1[id], h2[id] { scroll-margin-top: calc(var(--header-height) + 20px); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 11px 17px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

h1, h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.1rem, 7vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
h3 {
  margin: 0;
  color: var(--navy);
  font: 700 1.12rem/1.3 var(--sans);
  letter-spacing: -.015em;
}
p { margin: 0 0 1rem; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold); }
.large-copy { color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.mobile-hero-copy { display: none; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
  font-weight: 700;
  font-size: .84rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: var(--shadow-sm); }
.button.warm { border-color: var(--navy); background: var(--navy); color: var(--white); }
.button.outline, .button.ghost { border-color: var(--navy); background: transparent; color: var(--navy); }
.navy .button.outline, .hero .button.ghost { border-color: rgba(255,255,255,.72); color: var(--white); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
}
.nav-wrap { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); line-height: 1; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 1.15rem; letter-spacing: -.035em; }
.brand small { margin-top: 5px; font-size: .68rem; font-weight: 600; }
.desktop-nav { display: none; margin-left: auto; align-items: center; gap: 16px; }
.desktop-nav a { position: relative; padding: 12px 0; font-size: .83rem; font-weight: 700; text-decoration: none; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: '';
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current=page]::after { opacity: 1; transform: scaleX(1); }
.desktop-nav .nav-cta { min-height: 44px; padding: 10px 15px; border: 1px solid var(--navy); border-radius: 12px; background: var(--navy); color: var(--white); white-space: nowrap; }
.desktop-nav .nav-cta::after { display: none; }
.desktop-nav .nav-cta:hover { background: var(--navy-2); }
.menu-button {
  position: relative;
  z-index: 160;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.menu-button span { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 3px; background: var(--navy); transition: .25s ease; }
.menu-button span:nth-child(1) { top: 15px; }
.menu-button span:nth-child(2) { top: 22px; }
.menu-button span:nth-child(3) { top: 29px; }
.menu-button.is-open { opacity: 0; pointer-events: none; }
body.menu-open { overflow: hidden; }
.menu-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(7,24,63,.55); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 150;
  display: flex;
  width: min(88vw, 420px);
  height: 100dvh;
  padding: 26px 28px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: -24px 0 70px rgba(7,24,63,.18);
  color: var(--navy);
  visibility: hidden;
  pointer-events: none;
  transform: translateX(102%);
  transition: transform .3s ease, visibility 0s linear .3s;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
.mobile-nav-header { position: sticky; top: -26px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding: 26px 0 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.mobile-panel-brand { display: flex !important; }
.mobile-panel-brand img { width: 44px; height: 44px; }
.mobile-nav-close { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.mobile-nav-close span { position: absolute; top: 21px; left: 11px; width: 22px; height: 2px; background: currentColor; }
.mobile-nav-close span:first-child { transform: rotate(45deg); }
.mobile-nav-close span:last-child { transform: rotate(-45deg); }
.mobile-nav > a:not(.button) { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.04rem; font-weight: 700; text-decoration: none; }
.mobile-nav > a[aria-current=page] { color: var(--accent); }
.mobile-nav-footer { margin-top: auto; padding-top: 24px; }
.mobile-nav-footer .button { width: 100%; }
.mobile-nav-footer p { margin: 15px 0 6px; color: var(--muted); font-size: .84rem; }
.mobile-nav-email { display: inline-block; font-size: .84rem; font-weight: 700; text-decoration: none; }

.hero { position: relative; isolation: isolate; min-height: 600px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78); }
.hero::after { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,24,63,.98) 0%, rgba(7,24,63,.92) 48%, rgba(7,24,63,.4) 100%); content: ''; }
.hero-inner { display: flex; min-height: 600px; align-items: center; padding-block: 64px; }
.hero-copy { max-width: 650px; }
.hero h1 { max-width: 650px; color: var(--white); }
.hero h1 em { color: #dbe5f4; font-weight: inherit; white-space: nowrap; }
.booking-reassurance { margin: 10px 0 0; color: #eef3fb; font-size: .86rem; line-height: 1.4; }
.booking-grid { display: grid; gap: 18px; }
.booking-card { display: flex; min-width: 0; padding: 26px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.booking-card h3 { margin: 8px 0; }
.booking-card .button { align-self: flex-start; margin-top: auto; }
.booking-type { margin: 0; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.booking-price { margin: 8px 0 14px; color: var(--navy); font: 700 2rem/1 var(--serif); }
.booking-price span { font: 700 .84rem/1.3 var(--sans); }
.booking-status { padding: 12px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); font-size: .84rem; }
.button.disabled { border-color: var(--line); background: var(--surface); color: var(--muted); cursor: not-allowed; }
.booking-alternatives { display: flex; margin-top: 14px; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; font-weight: 700; }
.booking-note, .terms-note { color: var(--muted); font-size: .84rem; }
.booking-questions { grid-column: 1 / -1; margin: -2px 0 2px; color: var(--muted); font-size: .84rem; }
.booking-questions a { font-weight: 700; }
.booking-status-inline { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: .84rem; }
.booking-status-inline a { font-weight: 700; }
.consultation-card { border-color: var(--line-warm); }
.diagnostic-card { border-top: 3px solid var(--gold-dark); background: linear-gradient(145deg,var(--white),var(--cream)); }
.diagnostic-highlight { border-color: var(--line-warm); background: linear-gradient(135deg,var(--cream),var(--white)); }
.diagnostic-highlight .feature-icon { border-color: var(--line-warm); background: var(--gold); color: var(--navy); }
.comparison-grid { display: grid; gap: 18px; }
.check-list { display: grid; margin: 18px 0 0; padding: 0; gap: 10px; list-style: none; }
.check-list li { position: relative; padding-left: 24px; color: var(--muted); }
.check-list li::before { position: absolute; left: 0; color: var(--gold-dark); content: '✓'; font-weight: 800; }
.terms-note { margin: 26px 0 0; }
.hero-lede { max-width: 600px; margin: 20px 0 0; color: rgba(255,255,255,.86); font-size: 1.06rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .button.warm { border-color: var(--white); background: var(--white); color: var(--navy); }
.hero .button.warm:hover { background: var(--white); }
.hero-proof { display: grid; max-width: 610px; margin: 25px 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; list-style: none; }
.hero-proof li { display: flex; min-height: 44px; align-items: center; padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(7,24,63,.35); color: rgba(255,255,255,.88); font-size: .76rem; line-height: 1.25; }
.hero-proof li::before { flex: none; margin-right: 7px; color: var(--gold); content: '✓'; font-weight: 700; }

.trust-strip { padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.trust-grid div { display: flex; min-width: 0; padding: 14px; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.trust-grid strong { color: var(--navy); font-size: .9rem; line-height: 1.3; }
.trust-grid span, .trust-grid a { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.trust-grid a { font-weight: 600; text-underline-offset: 3px; }
.home-intro { padding: 48px 0 0; }
.home-intro p { max-width: 760px; margin: 0; color: var(--navy); font: 400 clamp(1.2rem,2vw,1.5rem)/1.55 var(--serif); }

@media (min-width: 768px) {
  .hero-inner { padding-block: 44px; }
  .hero-lede { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-proof { margin-top: 18px; }
  .booking-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .comparison-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.section { padding: var(--section) 0; }
.section.alt { background: var(--surface); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; }
.section-heading > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); }
.section.navy .section-heading > p:last-child { color: rgba(255,255,255,.68); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.card, .subject-card, .mini-card, .quote-card, .confidence-panel, .cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover, .subject-card:hover, .mini-card:hover { transform: translateY(-3px); border-color: var(--line-warm); box-shadow: var(--shadow-lg); }
.card { padding: 26px; }
.card h2, .card h3 { margin: 8px 0 10px; }
.card p { margin: 0; color: var(--muted); }
.card p + * { margin-top: 16px; }
.card-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 18px; color: var(--navy); font-weight: 700; text-underline-offset: 4px; }
.path-card { display: flex; min-height: 260px; flex-direction: column; }
.path-card .card-link { margin-top: auto; }
.number { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.process-grid, .subject-grid { margin: 0; padding: 0; list-style: none; }
.process-card { min-height: 205px; }
.process-card h3 { margin-top: 20px; }
.subject-coverage-layout { display: grid; gap: 28px; }
.subject-coverage-layout .section-heading { margin-bottom: 0; }
.subject-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.topic-card { display: flex; min-height: 58px; padding: 10px 14px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--navy); font-size: .82rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.topic-card span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; background: var(--surface); color: var(--accent); font-size: .66rem; letter-spacing: -.01em; }

.page-hero, .editorial-hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero .shell, .editorial-hero .shell { max-width: 1160px; }
.page-hero h1, .editorial-hero h1 { max-width: 900px; }
.page-hero p, .editorial-hero p:not(.eyebrow):not(.crumbs) { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.tuition-hero { border-bottom: 0; background: var(--navy); color: var(--white); }
.tuition-hero h1 { color: var(--white); }
.tuition-hero .crumbs, .tuition-hero .crumbs a, .tuition-hero p:not(.eyebrow):not(.crumbs) { color: rgba(255,255,255,.72); }
.tuition-hero .eyebrow { color: var(--gold); }
.tuition-hero .button { border-color: var(--white); background: var(--white); color: var(--navy); }
.tuition-hero .button.outline { background: transparent; color: var(--white); }
.crumbs { margin: 0 0 17px; color: var(--muted); font-size: .78rem; }
.crumbs a { text-underline-offset: 3px; }
.content { max-width: 780px; }
.content h2 { margin: 42px 0 16px; font-size: clamp(1.9rem,3.5vw,2.8rem); }
.content h3 { margin: 28px 0 10px; }
.content p, .content li { color: var(--muted); }
.content li { margin-bottom: 7px; }
.notice { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px; border: 1px solid var(--line); text-align: left; }
th { background: var(--surface); color: var(--navy); }

.gcse-split, .about-grid, .contact-grid, .meet-ben-intro, .meet-ben-story, .article-layout { display: grid; gap: 38px; align-items: start; }
.support-list { display: grid; gap: 12px; }
.mini-card { display: grid; padding: 18px; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.mini-card h3 { margin: 2px 0 5px; }
.mini-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.feature-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--accent); font-size: .78rem; font-weight: 700; }
.subject-card { padding: 24px; }
.subject-card h3 { margin: 13px 0 7px; }
.subject-card p { margin: 0; color: var(--muted); }
.board-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.board-list span, .resource-labels span, .resource-status { display: inline-flex; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--white); font-size: .72rem; font-weight: 700; }
.confidence-panel { padding: 28px; }
.confidence-panel p { color: var(--navy); font: 400 1.25rem/1.55 var(--serif); }
.confidence-panel p:last-child { margin-bottom: 0; }

.portrait { width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }
.about-grid > .portrait { width: min(100%, 280px); justify-self: center; }
.portrait-frame { margin: 0; }
.portrait-frame > p { margin-top: 12px; color: var(--muted); font-size: .84rem; }
.meet-ben-photo { width: min(100%, 360px); }
.personal-story { max-width: 760px; }
.personal-story p { margin: 0 0 1.15em; color: var(--muted); }
.personal-story .large-copy { color: var(--navy); }
.story-close { margin-top: 1.8em !important; color: var(--navy) !important; font: 400 1.25rem/1.55 var(--serif); }

.resource-grid .resource-card { display: flex; flex-direction: column; }
.resource-filter-bar { position: sticky; top: 76px; z-index: 40; padding: 12px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.resource-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.resource-filters button { min-height: 42px; padding: 8px 14px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 700; cursor: pointer; }
.resource-filters button.active, .resource-filters button:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
[data-resource-category][hidden], [data-resource-section][hidden] { display: none; }
.resource-card .resource-cover-image { width: 100%; height: auto; max-height: 390px; aspect-ratio: 4/5; margin-bottom: 20px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); object-fit: contain; }
.resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; }
.resource-actions .card-link { margin: 0; }
.paid-resource-card { border-top: 3px solid var(--accent); }
.resource-note { margin-top: 13px !important; font-size: .85rem; }
.coming-soon { border-style: dashed; }
.resource-cover { display: grid; aspect-ratio: 16/10; margin-bottom: 18px; place-content: center; border-radius: 14px; background: var(--navy); color: var(--white); text-align: center; }
.resource-cover span, .resource-cover small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.resource-cover strong { font: 400 1.8rem var(--serif); }
.tes-cta { display: flex; margin-top: 26px; padding: 28px; align-items: center; justify-content: space-between; gap: 20px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.tes-cta h3 { color: var(--white); }
.tes-cta p { margin: 7px 0 0; color: rgba(255,255,255,.7); }
.tes-cta .button { flex: none; border-color: var(--white); background: var(--white); color: var(--navy); }

.quote-card { display: flex; min-height: 260px; margin: 0; padding: 26px; flex-direction: column; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.055); box-shadow: none; }
.quote-card blockquote { margin: 0 0 18px; color: var(--white); font: 400 1.08rem/1.55 var(--serif); }
.quote-card .stars { margin: auto 0 10px; color: var(--gold); letter-spacing: .08em; }
.quote-card figcaption { display: grid; gap: 2px; margin-top: auto; }
.quote-card figcaption strong { color: var(--white); font-size: .88rem; }
.quote-card figcaption span { color: rgba(255,255,255,.65); font-size: .74rem; }
.testimonial-track:focus-visible, .service-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

.faq-list { max-width: 850px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 46px 20px 0; color: var(--navy); font-weight: 700; cursor: pointer; }
.faq-list summary::after { position: absolute; top: 16px; right: 5px; color: var(--accent); content: '+'; font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 720px; margin: 0 0 20px; color: var(--muted); }
.cta-panel { padding: 36px; border-color: transparent; background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); }
.cta-panel h2 { color: var(--white); }
.cta-panel p { max-width: 650px; margin: 14px 0 22px; color: rgba(255,255,255,.72); }

.article-layout { grid-template-columns: minmax(0,780px); }
.article-meta { color: var(--muted); font-size: .8rem; }
.article-card { display: flex; flex-direction: column; }
.article-card .card-link { margin-top: auto; }
.article-card .article-meta { margin-top: 18px; font-size: .75rem; }
.featured-article { display: grid; gap: 26px; padding: 28px; align-items: center; }
.featured-article h2 { max-width: 680px; }
.featured-article p { max-width: 650px; }
.featured-article img { width: min(100%,240px); max-height: 290px; justify-self: center; border: 1px solid var(--line); border-radius: 14px; object-fit: cover; object-position: top; }
.article-library .article-card { min-height: 270px; }
.blog-audiences { margin-bottom: 24px; }
.article-content { max-width: 780px; }
.article-content > p, .article-content li { color: var(--muted); }
.article-content h2 { margin-top: 48px; }
.article-content h3 { margin-top: 28px; }
.article-content pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: var(--navy); color: var(--white); font: .88rem/1.6 Consolas,monospace; }
.article-content table { margin: 20px 0; }
.key-takeaway { margin: 34px 0; padding: 24px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--surface); }
.key-takeaway h2, .key-takeaway h3 { margin-top: 0; }
.article-toc { margin: 28px 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.article-toc h2 { margin: 0 0 10px; font-size: 1.4rem; }
.article-toc ul { margin: 0; padding-left: 20px; }
.article-next-steps { margin-top: 54px; padding-top: 40px; border-top: 1px solid var(--line); }
.article-next-steps > h2 { margin-top: 8px; }
.article-related-grid { display: grid; gap: 12px; margin-top: 22px; }
.article-related-grid .card { padding: 20px; }
.article-related-grid .card h3 { margin-top: 0; }
.article-enquiry { display: grid; gap: 18px; margin-top: 28px; padding: 26px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.article-enquiry h2 { margin: 5px 0 8px; color: var(--white); font-size: clamp(1.8rem,4vw,2.5rem); }
.article-enquiry p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.72); }
.article-enquiry .button { align-self: center; border-color: var(--white); background: var(--white); color: var(--navy); }
.article-aside { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.footer { padding: 54px 0 20px; background: var(--navy); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; gap: 30px; }
.footer h2 { margin: 0 0 11px; color: var(--gold); font: 700 .7rem var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.footer p, .footer span { color: rgba(255,255,255,.62); }
.footer a { display: block; margin: 7px 0; color: var(--white); font-size: .88rem; text-decoration-color: rgba(185,202,228,.7); text-underline-offset: 3px; }
.footer-brand { gap: 15px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 10px; background: var(--white); }
.footer-brand strong, .footer-brand small { color: var(--white); }
.footer-bottom { display: flex; margin-top: 30px; padding-top: 17px; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.48); font-size: .72rem; }
.footer-bottom a { display: inline; margin: 0; color: inherit; }

.cookie-panel { position: fixed; inset: auto 0 0; z-index: 300; padding: 14px; background: rgba(7,24,63,.55); backdrop-filter: blur(8px); }
.cookie-panel[hidden] { display: none; }
.cookie-panel-inner { width: min(1080px,100%); margin: auto; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.cookie-panel h2 { margin: 0 0 7px; font-size: 1.7rem; }
.cookie-panel p { color: var(--muted); }
.cookie-panel a { font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.cookie-actions button { min-width: 170px; }
.cookie-actions button:disabled { opacity: .55; cursor: not-allowed; }
.cookie-signal { margin-top: 12px !important; font-size: .8rem; }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .about-grid { grid-template-columns: .75fr 1.25fr; gap: 56px; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 42px; }
  .footer-grid { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .gcse-split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .meet-ben-intro { grid-template-columns: .75fr 1.25fr; gap: 60px; }
  .tes-cta { flex-direction: row; }
  .subject-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .featured-article { grid-template-columns: minmax(0,1fr) 260px; padding: 40px; }
  .article-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .article-enquiry { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 850px) {
  .meet-ben-story { grid-template-columns: 320px minmax(0,760px); gap: 72px; }
  .meet-ben-story .portrait-frame { position: sticky; top: 110px; }
}

@media (min-width: 1100px) {
  .desktop-nav { display: flex; }
  .menu-button, .mobile-nav { display: none !important; }
  .grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .subject-coverage-layout { grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
  .subject-coverage-layout > p { grid-column: 2; margin: -14px 0 0; }
  .article-layout { grid-template-columns: minmax(0,780px) 280px; gap: 54px; }
  .article-aside { position: sticky; top: 110px; }
}

@media (max-width: 767px) {
  :root { --section: 56px; --header-height: 62px; }
  .shell { width: min(100% - 28px,1160px); }
  .desktop-hero-copy { display: none; }
  .mobile-hero-copy { display: block; }
  .nav-wrap { min-height: 62px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.06rem; }
  .brand small { display: none; }
  .menu-button { width: 44px; height: 44px; }
  h2 { font-size: clamp(2rem,9vw,2.75rem); }
  .hero { min-height: 0; }
  .hero-image { z-index: -3; object-position: 76% 54%; filter: saturate(.82) brightness(.88); }
  .hero::after { background: linear-gradient(90deg,rgba(7,24,63,.97),rgba(7,24,63,.88) 60%,rgba(7,24,63,.66)),linear-gradient(180deg,rgba(7,24,63,.05),rgba(7,24,63,.35)); }
  .hero-inner { min-height: 0; padding-block: 34px; }
  .hero h1 { max-width: 11ch; font-size: clamp(2.3rem,10vw,3rem); line-height: 1; }
  .hero-lede { margin-top: 13px; font-size: .94rem; line-height: 1.55; }
  .hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 18px; }
  .hero-actions .button { width: auto; min-height: 44px; }
  .hero-proof { margin-top: 17px; gap: 8px; }
  .hero-proof li { min-height: 50px; padding: 9px 10px; background: rgba(7,24,63,.57); font-size: .72rem; }
  .trust-strip { padding: 16px 0 18px; }
  .trust-grid { gap: 8px; }
  .trust-grid div { padding: 12px; }
  .trust-grid strong { font-size: .84rem; }
  .trust-grid span, .trust-grid a { font-size: .72rem; }
  .home-intro { padding-top: 30px; }
  .home-intro p { font-size: 1.08rem; text-align: left; }
  .section-heading { margin-bottom: 25px; }
  .section-heading > p:last-child { margin-top: 13px; font-size: .92rem; }
  .grid-2, .grid-3, .grid-4 { gap: 12px; }
  .card { padding: 20px; }
  .path-card { min-height: 220px; }
  .service-track, .testimonial-track { display: flex; gap: 12px; margin-inline: -14px; padding: 0 14px 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
  .service-track .path-card { flex: 0 0 82vw; width: 82vw; max-width: 315px; scroll-snap-align: start; }
  .testimonial-track .quote-card { flex: 0 0 84vw; width: 84vw; max-width: 330px; scroll-snap-align: start; }
  .page-hero, .editorial-hero { padding: 48px 0 42px; }
  .page-hero h1, .editorial-hero h1 { font-size: clamp(2.4rem,11vw,3.3rem); }
  .page-hero p, .editorial-hero p:not(.eyebrow):not(.crumbs) { font-size: .95rem; }
  .gcse-split, .about-grid, .contact-grid, .meet-ben-intro, .meet-ben-story { gap: 26px; }
  .about-grid > .portrait, .meet-ben-photo { width: min(62%,240px); justify-self: start; }
  .mini-card { padding: 15px; }
  .subject-card { padding: 20px; }
  .confidence-panel, .cta-panel { padding: 24px; }
  .resource-card .resource-cover-image { max-height: 300px; }
  .tes-cta { display: flex; align-items: flex-start; flex-direction: column; padding: 23px; }
  .quote-card { min-height: 245px; padding: 22px; }
  .faq-list summary { padding-block: 17px; }
  .footer { padding-top: 42px; }
  .footer-grid { gap: 24px; }
  .cookie-panel { padding: 8px; }
  .cookie-panel-inner { max-height: calc(100dvh - 16px); padding: 18px; overflow-y: auto; }
  .cookie-actions { display: grid; }
  .cookie-actions button { width: 100%; min-width: 0; }
}

@media (max-width: 339px) {
  .hero-proof, .trust-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; font-size: 2.2rem; }
}

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

@media print {
  .site-header, .footer, .skip-link, .terms-content + *, .page-hero .button-row { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .page-hero, .section { padding: 20px 0; background: #fff !important; color: #000 !important; }
  .page-hero h1, .page-hero p, .page-hero a, .terms-content h2 { color: #000 !important; }
  .terms-content { max-width: none; }
  .terms-content h2 { break-after: avoid; }
  .terms-content table, .terms-content ul { break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
}
