:root {
  --ibw-primary: #082B59;
  --ibw-primary-dark: #04183a;
  --ibw-navy: #082B59;
  --ibw-accent: #2596be;
  --ibw-accent-dark: #1a7796;
  --ibw-ink: #2A3340;
  --ibw-muted: #5C6A7A;
  --ibw-bg: #DEE6F1;
  --ibw-bg-soft: #EBF1F8;
  --ibw-bg-card: #FFFFFF;
  --ibw-border: #C9D5E4;
  --ibw-pop: #F36E30;
  --ibw-pop-dark: #C45520;
  --shadow-xs: 0 1px 1px rgba(8, 43, 89,.04);
  --shadow-sm: 0 2px 4px rgba(8, 43, 89,.06), 0 1px 2px rgba(8, 43, 89,.04);
  --shadow-md: 0 10px 24px -8px rgba(8, 43, 89,.18), 0 4px 8px -4px rgba(8, 43, 89,.08);
  --shadow-lg: 0 24px 48px -12px rgba(8, 43, 89,.30), 0 8px 16px -8px rgba(8, 43, 89,.12);
  --shadow-xl: 0 40px 80px -20px rgba(8, 43, 89,.40), 0 12px 24px -10px rgba(8, 43, 89,.18);
  --shadow-glow: 0 0 0 6px rgba(37, 150, 190,.10), 0 14px 30px -10px rgba(37, 150, 190,.45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 112px; overflow-x: hidden; }
body {
  color: var(--ibw-ink);
  background: var(--ibw-bg);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Verdana, Geneva, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--cookie-banner-offset, 0px);
  transition: padding-bottom .2s ease;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Raleway', system-ui, Tahoma, Geneva, sans-serif; font-weight: 600; color: var(--ibw-navy); letter-spacing: -.005em; }
h1 { font-weight: 700; }
a { color: var(--ibw-accent); }
a:hover { color: var(--ibw-accent-dark); }

.section       { padding: 4.5rem 0; }
.section-soft  { background: var(--ibw-bg-soft); }
.section-navy  { background: var(--ibw-navy); color: #E6EEF7; }
.section-navy h2, .section-navy h3 { color: #fff; }
.container-x   { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 600; color: var(--ibw-accent); margin-bottom: .75rem;
}
.h-display { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em; }
.h-display .accent { color: var(--ibw-accent); }
.lead { font-size: 1.125rem; color: var(--ibw-ink); }
.muted { color: var(--ibw-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap; box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--ibw-accent); color: #fff; }
.btn-primary:hover { background: var(--ibw-accent-dark); color: #fff; }
.btn-accent { background: var(--ibw-primary); color: #fff;
  box-shadow: 0 8px 18px -6px rgba(8, 43, 89,.45), 0 2px 4px rgba(8, 43, 89,.08); }
.btn-accent:hover { background: var(--ibw-primary-dark); color: #fff;
  box-shadow: 0 14px 26px -10px rgba(8, 43, 89,.55), 0 4px 8px rgba(8, 43, 89,.1); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--ibw-navy); }
.btn-outline { background: transparent; color: var(--ibw-navy); border: 2px solid var(--ibw-navy); box-shadow: none; }
.btn-outline:hover { background: var(--ibw-navy); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .72rem; }

.card { background: var(--ibw-bg-card); border-radius: 1rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.tile { position: relative; display: block; border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 4/3; background: #0a253b; }
.tile img { width:100%; height:100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.tile .tile-overlay { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 43, 89,.92) 0%, rgba(8, 43, 89,.4) 45%, rgba(8, 43, 89,0) 75%); }
.tile .tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.25rem; color: #fff; }
.tile .tile-title { font-family: 'Raleway',sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: #fff; }
.tile .tile-meta  { font-size: .8rem; opacity: .9; margin-top: .15rem; }
.tile .tile-badge { position: absolute; top: .85rem; left: .85rem;
  background: var(--ibw-pop); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }

.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 999px;
  background: rgba(8, 43, 89,.12); color: var(--ibw-primary-dark); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ibw-border);
  box-shadow: 0 1px 0 rgba(8, 43, 89,.04);
}
.site-header-inner {
  max-width: 1380px;
  gap: 1rem;
}
.header-brand,
.header-tools,
.desktop-actions {
  flex: 0 0 auto;
}
.desktop-nav,
.desktop-actions {
  display: none;
}
.desktop-nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.header-menu-button {
  display: inline-flex;
}
.site-logo {
  display: block;
  height: clamp(52px, 6vw, 72px);
  width: auto;
  transition: transform .25s var(--ease-out);
}
.site-logo:hover { transform: scale(1.03); }
.nav-link { position: relative; color: var(--ibw-navy); font-weight: 500; font-size: .84rem;
  padding: .55rem .1rem; margin: 0 .55rem; transition: color .15s ease; }
.nav-link:hover { color: var(--ibw-accent); }
.nav-link.is-active { color: var(--ibw-accent); }
.nav-link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.35rem;
  height: 3px; background: var(--ibw-accent); border-radius: 2px; }

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-group .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s var(--ease-out);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 17rem;
  max-width: min(23rem, calc(100vw - 2rem));
  max-height: min(72vh, 34rem);
  overflow-y: auto;
  padding: .45rem;
  border: 1px solid var(--ibw-border);
  border-radius: 1rem;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 1.3rem;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--ibw-border);
  border-left: 1px solid var(--ibw-border);
  transform: rotate(45deg);
}

.nav-dropdown-link {
  position: relative;
  display: block;
  padding: .75rem .9rem;
  border-radius: .8rem;
  color: var(--ibw-navy);
  font-size: .85rem;
  font-weight: 600;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.is-active {
  color: var(--ibw-accent-dark);
  background: rgba(37, 150, 190, .1);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-group:hover .nav-caret,
.nav-group:focus-within .nav-caret,
.nav-group.is-open .nav-caret {
  transform: rotate(180deg);
}

@media (min-width: 1360px) {
  .desktop-nav,
  .desktop-actions {
    display: flex;
  }

  .header-menu-button {
    display: none;
  }

  .mobile-nav-panel {
    display: none !important;
  }
}

@media (min-width: 1360px) and (max-width: 1439px) {
  .nav-link {
    margin: 0 .42rem;
    font-size: .8rem;
  }

  .site-header-inner .btn-sm {
    padding: .5rem .85rem;
  }
}

.site-search-toggle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ibw-navy);
  border: 1px solid rgba(8, 43, 89, .16);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: background .2s ease, color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}

.site-search-toggle:hover,
.site-search-toggle[aria-expanded="true"] {
  color: #fff;
  background: var(--ibw-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.site-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--ibw-border);
  border-bottom: 1px solid var(--ibw-border);
  box-shadow: var(--shadow-md);
}

.site-search-inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
}

.site-search-box input {
  width: 100%;
  border: 1px solid var(--ibw-border);
  border-radius: .8rem;
  padding: .8rem 1rem;
  color: var(--ibw-ink);
  background: #fff;
}

.site-search-box input:focus {
  outline: none;
  border-color: var(--ibw-accent);
  box-shadow: 0 0 0 3px rgba(37, 150, 190, .16);
}

.site-search-box button {
  color: var(--ibw-navy);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .85rem;
  max-height: 16rem;
  overflow-y: auto;
}

.site-search-results a {
  padding: .65rem .75rem;
  border-radius: .7rem;
  color: var(--ibw-navy);
  font-size: .86rem;
  font-weight: 600;
  background: rgba(235, 241, 248, .72);
}

.site-search-results a:hover {
  color: var(--ibw-accent-dark);
  background: rgba(37, 150, 190, .12);
}

.mobile-nav-group {
  border-bottom: 1px solid rgb(241 245 249);
}

.mobile-nav-parent {
  font-weight: 600;
}

.mobile-nav-children {
  padding-bottom: .5rem;
  background: rgba(235, 241, 248, .4);
}

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ibw-navy) 0%, #1f4d75 60%, #2a6896 100%);
  color: #fff;
}
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(37, 150, 190,.18), transparent 55%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1fr; padding: 4rem 0 5rem; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.05fr 1fr; padding: 5rem 0 6rem; } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; font-weight: 700; }
.hero h1 .accent { color: var(--ibw-pop); display: block; font-style: italic; font-weight: 600; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 56ch; }
.hero .footnote { color: rgba(255,255,255,.6); font-size: .78rem; margin-top: 1rem; }
.hero-grid > :first-child {
  padding: clamp(1rem, 1.5vw, 1.35rem) clamp(1.1rem, 2.2vw, 1.7rem);
  border-radius: 1.5rem;
  background: linear-gradient(90deg, rgba(15, 34, 52, .84) 0%, rgba(15, 34, 52, .72) 46%, rgba(15, 34, 52, .42) 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 28px 54px -28px rgba(9, 23, 35, .55);
}
.hero-photo { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(.4deg); border: 6px solid rgba(255,255,255,.08); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease-out); }
.hero:hover .hero-photo img { transform: scale(1.03); }

@media (max-width: 879px) {
  .hero-grid > :first-child {
    background: linear-gradient(180deg, rgba(15, 34, 52, .78) 0%, rgba(15, 34, 52, .42) 100%);
  }
}

.stats-strip { background: var(--ibw-navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; text-align: center; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat .stat-num { font-family: 'Raleway',sans-serif; font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--ibw-pop); line-height: 1; }
.stat .stat-label { color: rgba(255,255,255,.85); margin-top: .5rem; font-size: .95rem; }

.why-list { display: grid; gap: 1.25rem; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: flex-start;
  background: #fff; padding: 1.25rem 1.4rem; border-radius: 1rem;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--ibw-accent); }
.why-item .why-icon { width: 56px; height: 56px; border-radius: 50%;
  background: rgba(37, 150, 190,.12); color: var(--ibw-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway',sans-serif; font-weight: 700; font-size: 1.4rem; }
.why-item h3 { color: var(--ibw-navy); font-size: 1rem; font-weight: 700; margin: 0 0 .35rem;
  letter-spacing: .04em; text-transform: uppercase; }
.why-item p  { margin: 0; color: var(--ibw-muted); font-size: .94rem; }

.testimonial { background: #fff; border-radius: 1rem; padding: 2rem;
  box-shadow: var(--shadow-sm); position: relative; }
.testimonial::before { content: '"'; position: absolute; top: -1rem; left: 1rem;
  font-family: 'Raleway',sans-serif; font-size: 5rem; color: var(--ibw-pop); line-height: 1; }
.testimonial blockquote { font-style: italic; color: var(--ibw-ink); margin: 0 0 1rem; font-size: 1rem; }
.testimonial cite { color: var(--ibw-primary-dark); font-weight: 600; font-style: normal; font-size: .88rem; }

.director-card { display: grid; gap: 0; grid-template-columns: 1fr;
  background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-md); }
@media (min-width: 720px) { .director-card { grid-template-columns: 1fr 1fr; } }
.director-card .director-img { background: var(--ibw-navy); aspect-ratio: 4/3; }
.director-card .director-img img { width:100%; height:100%; object-fit: cover; object-position: center 30%; }
.director-card .director-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }

.fab-stack { position: fixed; right: 0; top: 38%; z-index: 45;
  display: flex; flex-direction: column; gap: 2px; }
.fab-stack a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-top-left-radius: 8px; border-bottom-left-radius: 8px; color: #fff;
  transition: transform .15s ease, filter .15s ease;
  box-shadow: -2px 2px 6px rgba(8, 43, 89,.15); }
.fab-stack a:hover { transform: translateX(-3px); filter: brightness(.92); color: #fff; }
.fab-stack .fab-mail { background: var(--ibw-pop); }
.fab-stack .fab-reg  { background: var(--ibw-primary); }
.fab-stack .fab-wa   { background: #25D366; }
.fab-stack .fab-call { background: var(--ibw-navy); }
@media (max-width: 640px) { .fab-stack { display: none; } }

.brochure {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
  background: rgba(255,255,255,.06);
  padding: .95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: none;
}
.brochure img {
  width: 82px;
  min-width: 82px;
  height: auto;
  background: #fff;
  padding: .35rem;
  border-radius: .85rem;
  box-shadow: 0 16px 30px -22px rgba(0,0,0,.7);
}
.brochure-title { color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.brochure-copy { color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.55; margin-top: .25rem; }
.brochure-meta { color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .5rem; }

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(232,119,34,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    var(--ibw-navy);
  color: rgba(255,255,255,.72);
  margin-top: 0;
  position: relative;
}
.site-footer h3 { color: #fff; font-size: .86rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: .9rem; }
.site-footer a  { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: var(--ibw-accent); }
.site-footer .footer-logo {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin-bottom: 1.25rem;
}
.site-footer-main {
  display: grid;
  gap: 1.75rem;
  padding: 4rem 0 2.5rem;
}
.site-footer-brand { max-width: 38rem; }
.site-footer-lead {
  max-width: 33rem;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.7;
}
.site-footer-contact {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}
.site-footer-contact-row {
  display: grid;
  gap: .28rem;
}
.site-footer-contact-row span {
  color: rgba(255,255,255,.48);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer-contact-row p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.6;
}
.site-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.65rem;
}
.site-footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .82rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-weight: 600;
  line-height: 1;
  transition: transform .25s var(--ease-out), background .2s ease, border-color .2s ease;
}
.site-footer-action:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.26);
}
.site-footer-action--primary {
  background: var(--ibw-accent);
  border-color: transparent;
}
.site-footer-action--primary:hover { background: #f08a2d; }
.site-footer-note {
  margin-top: 1.25rem;
  color: rgba(255,255,255,.48);
  font-size: .78rem;
}
.site-footer-side {
  display: grid;
  gap: 1rem;
}
.site-footer-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.5rem;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 28px 60px -42px rgba(0,0,0,.55);
}
.site-footer-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
}
.site-footer-panel-head h3 { margin-bottom: 0; }
.site-footer-panel-head span {
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer-panel-copy {
  margin: 0 0 .95rem;
  color: rgba(255,255,255,.66);
  font-size: .9rem;
  line-height: 1.6;
}
.site-footer-link-grid {
  display: grid;
  gap: .2rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer-link-grid a {
  display: block;
  padding: .42rem 0;
  font-size: .95rem;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.35rem;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
}
.site-footer-social {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.site-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
}

@media (min-width: 900px) {
  .site-footer-main {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .92fr);
    align-items: start;
  }
  .site-footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer-main { padding: 3.25rem 0 2rem; }
  .site-footer-panel { padding: 1.15rem; }
  .brochure { grid-template-columns: 72px minmax(0, 1fr); }
  .brochure img { width: 72px; min-width: 72px; }
  .site-footer-bottom-inner { justify-content: center; text-align: center; }
  .site-footer-social { justify-content: center; width: 100%; }
}

.field label { display: block; font-size: .78rem; font-weight: 600; margin-bottom: .35rem;
  color: var(--ibw-navy); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--ibw-border); border-radius: .55rem;
  padding: .65rem .85rem; background: #fff; font-size: .95rem; color: var(--ibw-ink);
  font-family: inherit; transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ibw-primary);
  box-shadow: 0 0 0 3px rgba(8, 43, 89,.15);
}
.field .err { color: #b91c1c; font-size: .8rem; margin-top: .25rem; display: none; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b91c1c; }

.stepper { display: grid; grid-template-columns: repeat(8, 1fr); gap: .25rem; }
.step-pill { font-size: .72rem; padding: .4rem .25rem; text-align: center; border-radius: .4rem;
  background: rgba(255,255,255,.82); color: var(--ibw-navy); font-weight: 700;
  border: 0; appearance: none; cursor: pointer;
  box-shadow: 0 10px 20px -16px rgba(8, 43, 89,.35), inset 0 0 0 1px rgba(8, 43, 89,.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.step-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -16px rgba(8, 43, 89,.4), inset 0 0 0 1px rgba(8, 43, 89,.14); }
.step-pill:focus-visible { outline: 2px solid var(--ibw-primary); outline-offset: 2px; }
.step-pill.is-active { background: var(--ibw-accent); color: #fff; }
.step-pill.is-done   { background: var(--ibw-primary); color: #fff; }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wizard-nav-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.wizard-nav .btn-ghost {
  background: rgba(255,255,255,.76);
  color: var(--ibw-navy);
  border: 2px solid rgba(8, 43, 89,.16);
  box-shadow: 0 12px 24px -18px rgba(8, 43, 89,.28);
}
.wizard-nav .btn-ghost:hover:not(:disabled) {
  background: #fff;
  color: var(--ibw-navy);
  border-color: rgba(8, 43, 89,.24);
}
.wizard-nav .btn-ghost:disabled {
  opacity: 1;
  background: rgba(255,255,255,.58);
  color: rgba(8, 43, 89,.42);
  border-color: rgba(8, 43, 89,.1);
  box-shadow: none;
  cursor: not-allowed;
}
@media (max-width: 720px) { .step-pill { font-size: .62rem; padding: .35rem .1rem; } .step-pill .step-label { display: none; } }
@media (max-width: 720px) {
  .wizard-nav,
  .wizard-nav-actions { width: 100%; }
}

.wizard-heading {
  font-family: 'Raleway', sans-serif; font-size: 1.45rem; font-weight: 700;
  color: var(--ibw-navy); margin: 0 0 .6rem; letter-spacing: -.005em;
}
.review-card {
  background: #fff; border-radius: .9rem; padding: 1.15rem 1.35rem; margin-bottom: 1rem;
  border: 1px solid var(--ibw-border);
  border-left: 4px solid var(--ibw-primary);
  box-shadow: var(--shadow-sm);
}
.review-card-title {
  font-family: 'Raleway', sans-serif; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ibw-primary-dark); margin: 0 0 .65rem;
}

.media-carousel {
  display: grid;
  gap: 1rem;
}

.media-carousel-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #0b2239;
  box-shadow: var(--shadow-lg);
}

.media-carousel-track {
  display: flex;
  transition: transform .55s var(--ease-out);
  will-change: transform;
}

.media-carousel-slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 9;
}

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

.media-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 43, 89, .08) 0%, rgba(8, 43, 89, .18) 45%, rgba(8, 43, 89, .82) 100%);
}

.media-carousel-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  display: grid;
  gap: .35rem;
  max-width: 42rem;
  color: #fff;
}

.media-carousel-kicker {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
}

.media-carousel-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  font-weight: 700;
}

.media-carousel-text {
  font-size: .96rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}

.media-carousel--natural {
  max-width: 650px;
  margin-inline: auto;
}

.media-carousel--natural .media-carousel-shell {
  box-shadow: var(--shadow-md);
}

.media-carousel--natural .media-carousel-slide {
  aspect-ratio: 65 / 56;
}

.media-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(8, 43, 89, .56);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform .2s var(--ease-out), background .2s ease, border-color .2s ease;
}

.media-carousel-control:hover {
  background: rgba(8, 43, 89, .78);
  border-color: rgba(255, 255, 255, .38);
}

.media-carousel-control.is-prev { left: 1rem; }
.media-carousel-control.is-next { right: 1rem; }

.media-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.media-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(8, 43, 89, .18);
  transition: width .2s ease, background .2s ease;
}

.media-carousel-dot.is-active {
  width: 28px;
  background: var(--ibw-accent);
}

.gallery-section {
  scroll-margin-top: 7rem;
}

.gallery-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.gallery-section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-shot {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: 1.1rem;
  grid-column: span 4;
  box-shadow: var(--shadow-sm);
  background: #0b2239;
}

.gallery-shot.is-featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 460px;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out), filter .2s ease;
}

.gallery-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 43, 89, 0) 28%, rgba(8, 43, 89, .78) 100%);
}

.gallery-shot-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: .2rem;
  color: #fff;
}

.gallery-shot-caption strong {
  font-size: .98rem;
  line-height: 1.2;
}

.gallery-shot-caption small {
  font-size: .82rem;
  color: rgba(255, 255, 255, .82);
}

.gallery-shot:hover img {
  transform: scale(1.05);
}

.gallery-shot:hover {
  box-shadow: var(--shadow-md);
}

.gallery-preview-section {
  display: grid;
  gap: 1.1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(8, 43, 89, .12);
}

.gallery-preview-copy {
  display: grid;
  gap: .9rem;
  align-items: start;
  min-width: 0;
}

.gallery-preview-heading {
  min-width: 0;
}

.gallery-preview-copy .h-display {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  margin: 0;
}

.gallery-preview-copy .lead {
  max-width: 46rem;
  margin-top: .55rem;
}

.gallery-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: flex-start;
}

.gallery-preview-slider .media-carousel-shell {
  height: var(--gallery-preview-frame);
  box-shadow: var(--shadow-md);
}

.gallery-preview-slider .media-carousel-track,
.gallery-preview-slider .media-carousel-slide {
  height: 100%;
}

.gallery-preview-slider .media-carousel-slide {
  aspect-ratio: auto;
}

.gallery-preview-media {
  --gallery-preview-frame: clamp(320px, 34vw, 410px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: stretch;
}

.gallery-preview-collage {
  display: grid;
  min-height: var(--gallery-preview-frame);
}

.gallery-preview-collage .gallery-section-grid {
  height: 100%;
  grid-auto-rows: minmax(0, 1fr);
}

.gallery-detail-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.gallery-shot--plain {
  min-height: 220px;
  border: 1px solid rgba(8, 43, 89, .08);
}

.gallery-shot--plain::after,
.gallery-shot--plain .gallery-shot-caption {
  display: none;
}

.gallery-section-grid--preview .gallery-shot {
  grid-column: span 3;
  min-height: 0;
}

.gallery-section-grid--preview .gallery-shot.is-featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 0;
}

.gallery-section-grid--detail .gallery-shot {
  grid-column: span 3;
  min-height: 210px;
}

.gallery-section-grid--detail .gallery-shot.is-featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 440px;
}

.gallery-section-grid--detail .gallery-shot.is-wide {
  grid-column: span 6;
}

.gallery-section-grid--detail .gallery-shot.is-tall {
  grid-row: span 2;
  min-height: 440px;
}

.gallery-section-grid--preview .gallery-shot.is-quarter {
  grid-column: span 3;
}

.content-hero .hero-grid {
  gap: 1.75rem;
  padding: 2.4rem 0 2.9rem;
  align-items: start;
}

.content-hero .hero-photo {
  align-self: start;
  max-height: min(64vh, 33rem);
}

.content-hero .hero-photo--fit {
  display: grid;
  place-items: center;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
}

.content-hero .hero-photo img {
  object-position: var(--content-hero-image-position, center 24%);
}

.content-hero .hero-photo--fit img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(64vh, 33rem);
  object-fit: contain;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.content-layout--narrow {
  grid-template-columns: minmax(0, 17rem) minmax(0, 48rem);
  justify-content: center;
}

.content-rail {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
}

.content-rail-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--ibw-bg-soft);
  border: 1px solid var(--ibw-border);
  border-left: 4px solid var(--ibw-pop);
  box-shadow: var(--shadow-sm);
}

.content-rail-card p {
  margin: 0;
  color: var(--ibw-muted);
  font-size: .92rem;
  line-height: 1.6;
}

.content-document {
  min-width: 0;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--ibw-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
}

.fees-page-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.fees-page-glance {
  border-left-color: rgba(37, 150, 190, .72);
}

.fees-page-cta {
  justify-self: start;
}

.content-document > h2:first-child {
  margin-top: 0;
}

.content-document .card {
  border: 1px solid var(--ibw-border);
  border-left: 4px solid rgba(37, 150, 190, .72);
}

.content-document .card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.fees-group {
  margin: 2rem 0;
}

.fees-group:first-child {
  margin-top: 0;
}

.fees-group > h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.fees-block-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .fees-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fees-block {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(8, 43, 89, .12);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(235, 241, 248, .88), rgba(255, 255, 255, .96));
  box-shadow: var(--shadow-xs);
}

.fees-block h4 {
  margin: 0 0 .7rem;
  font-size: 1.02rem;
  color: var(--ibw-primary-dark);
}

.fees-block > :first-child {
  margin-top: 0;
}

.fees-block > :last-child {
  margin-bottom: 0;
}

.fees-label {
  display: inline-block;
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ibw-accent-dark);
}

.fees-price-list {
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.fees-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(8, 43, 89, .08);
}

.fees-price-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.fees-price-list strong {
  color: var(--ibw-primary-dark);
}

.fees-note {
  margin-top: 1rem;
  padding: .95rem 1rem;
  border-radius: .95rem;
  border: 1px solid rgba(37, 150, 190, .22);
  background: rgba(37, 150, 190, .08);
}

.fees-note p {
  margin: 0;
}

.fees-summary-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}

@media (min-width: 720px) {
  .fees-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fees-summary-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(8, 43, 89, .1);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.fees-summary-card h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
}

.fees-summary-card p {
  margin: 0;
}

.source-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 34vw, 390px);
  display: grid;
  align-items: end;
  background: linear-gradient(135deg, var(--ibw-primary-dark), var(--ibw-primary));
}

.source-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--source-hero-image);
  background-size: cover;
  background-position: var(--source-hero-position, center 36%);
  transform: scale(1.02);
  opacity: .72;
}

.source-hero:not(.source-hero--image)::before {
  display: none;
}

.source-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 58, .9) 0%, rgba(8, 43, 89, .64) 48%, rgba(8, 43, 89, .18) 100%),
    linear-gradient(0deg, rgba(4, 24, 58, .72) 0%, rgba(4, 24, 58, .08) 68%);
}

.source-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(4rem, 9vw, 6.5rem);
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.source-hero-copy {
  max-width: min(780px, 100%);
  padding: clamp(1rem, 1.6vw, 1.4rem) clamp(1.05rem, 2.2vw, 1.7rem);
  border-radius: 1.6rem;
  background: linear-gradient(90deg, rgba(15, 34, 52, .86) 0%, rgba(15, 34, 52, .74) 42%, rgba(15, 34, 52, .42) 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 28px 54px -28px rgba(9, 23, 35, .6);
}

.source-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.2rem;
}

.source-hero h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  font-weight: 700;
}

.source-hero p {
  max-width: 58ch;
  margin-top: .95rem;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.98rem, 1.55vw, 1.08rem);
  line-height: 1.7;
}

.source-main-section {
  padding-top: clamp(1.75rem, 3.2vw, 2.45rem);
}

.source-page-shell {
  max-width: 980px;
}

.source-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.9rem;
}

.source-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  max-width: min(19rem, 100%);
  padding: .38rem .6rem;
  border: 1px solid rgba(8, 43, 89, .14);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .56);
  color: var(--ibw-navy);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.source-jump-nav a:hover {
  transform: translateY(-1px);
  background: var(--ibw-navy);
  border-color: var(--ibw-navy);
  color: #fff;
}

.source-document {
  max-width: 780px;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--ibw-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
}

.source-document > p:first-child {
  margin-top: 0;
  font-size: clamp(1.02rem, 1.45vw, 1.13rem);
  line-height: 1.74;
  color: var(--ibw-navy);
}

.source-document p {
  color: #364252;
}

.source-lead-line {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.68;
  color: var(--ibw-navy);
  font-weight: 600;
}

.source-document h2 {
  max-width: 760px;
  padding-top: .35rem;
}

.source-document h2 + h2 {
  margin-top: .65rem;
}

.source-links,
.source-quotes {
  margin-top: 2.15rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(8, 43, 89, .12);
}

.source-link-grid,
.source-documents {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.source-link-grid .btn,
.source-documents .btn {
  box-shadow: none;
}

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

.quote-grid blockquote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: .75rem;
  background: var(--ibw-bg-soft);
  border-left: 4px solid var(--ibw-accent);
  color: var(--ibw-navy);
  line-height: 1.65;
}

.source-section-heading {
  max-width: 44rem;
  margin-bottom: 1.35rem;
}

.source-section-heading h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.12;
  margin: 0;
}

.source-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.source-media-shot {
  display: block;
  min-height: 9.5rem;
  border-radius: .85rem;
  overflow: hidden;
  border: 1px solid rgba(8, 43, 89, .1);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.source-media-shot img {
  width: 100%;
  height: 100%;
  min-height: 9.5rem;
  object-fit: cover;
  transition: transform .25s ease;
}

.source-media-shot:hover img {
  transform: scale(1.035);
}

.source-documents {
  margin-top: 1rem;
}

.content-rail-list {
  display: grid;
  gap: .65rem;
  margin: .25rem 0 0;
  padding: 0;
  list-style: none;
}

.content-rail-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem;
  color: var(--ibw-navy);
  font-size: .9rem;
  line-height: 1.45;
}

.content-rail-list li::before {
  content: '';
  width: .48rem;
  height: .48rem;
  border-radius: 999px;
  margin-top: .48rem;
  background: var(--ibw-pop);
}

.content-section {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(8, 43, 89, .12);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  margin-top: 0;
}

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

.content-page-card {
  border: 1px solid rgba(8, 43, 89, .1);
  border-left: 4px solid var(--ibw-accent);
  overflow: hidden;
}

.content-page-card-media {
  aspect-ratio: 4 / 5;
  background: var(--ibw-bg-soft);
}

.content-page-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--content-card-image-position, center 22%);
}

.content-page-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.content-page-card p {
  margin: .65rem 0 0;
  color: var(--ibw-muted);
  font-size: .93rem;
  line-height: 1.55;
}

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

#wizardRoot .card:hover,
#wizardRoot .review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#wizardRoot,
#wizardBody,
#wizardRoot .card {
  overflow: visible;
}

#wizardBody {
  position: relative;
  z-index: 5;
}

#wizardBody .subject-card {
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), opacity .18s ease, border-color .18s ease, background .18s ease;
}

#wizardBody .subject-card.is-disabled {
  background: rgba(235, 241, 248, .72);
  border-color: rgba(201, 213, 228, .95);
  box-shadow: none;
  opacity: .6;
}

#wizardBody .subject-card.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

#wizardBody .subject-card.is-disabled label {
  cursor: not-allowed;
}

#wizardBody .subject-card.is-selected {
  border-color: rgba(8, 43, 89, .22);
}

#wizardBody .subject-card input:disabled,
#wizardBody .subject-card select:disabled {
  cursor: not-allowed;
}

#wizardBody .subject-card-controls {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

#wizardBody .subject-level-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(2.75rem, 1fr));
  gap: .25rem;
  padding: .2rem;
  border: 1px solid var(--ibw-border);
  border-radius: .7rem;
  background: rgba(235, 241, 248, .78);
}

#wizardBody .subject-level-toggle label {
  margin: 0;
  cursor: pointer;
}

#wizardBody .subject-level-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#wizardBody .subject-level-toggle span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .35rem .65rem;
  border-radius: .5rem;
  color: var(--ibw-navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

#wizardBody .subject-level-toggle input:checked + span {
  background: var(--ibw-primary);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

#wizardBody .subject-level-toggle input:disabled + span {
  opacity: .45;
  cursor: not-allowed;
}

.summary-row {
  display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: .75rem;
  padding: .5rem 0; border-bottom: 1px solid rgba(201,213,228,.5);
}
.summary-row:last-child { border-bottom: 0; }
.summary-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ibw-muted);
}
.courses-summary-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: .75rem;
}
.summary-value { font-size: .92rem; color: var(--ibw-ink); }
.summary-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .4rem;
}
.summary-list li {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .85rem;
  background: rgba(8, 43, 89,.08);
  border-left: 3px solid var(--ibw-primary);
  border-radius: .45rem;
  font-size: .92rem; color: var(--ibw-ink); font-weight: 500;
}
.summary-list li::before {
  content: ''; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 999px;
  background: var(--ibw-primary);
}

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--ibw-navy); color: rgba(255,255,255,.9);
  padding: .95rem 1.25rem calc(.95rem + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.25rem;
  align-items: center; box-shadow: 0 -8px 24px rgba(8, 43, 89,.2); }
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; font-size: .85rem; max-width: none; }
.cookie-banner .btn { justify-self: end; }

@media (max-width: 720px) {
  .cookie-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .cookie-banner p {
    max-width: none;
  }

  .cookie-banner .btn {
    justify-self: auto;
  }
}

.yt-facade { position: relative; aspect-ratio: 16/9; border-radius: 1rem; overflow: hidden;
  background: #0a253b; cursor: pointer; box-shadow: var(--shadow-sm); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9;
  transition: opacity .2s, transform .4s; }
.yt-facade:hover img { opacity: 1; transform: scale(1.03); }
.yt-facade .yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yt-facade .yt-play svg { width: 72px; height: 72px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.yt-facade .yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem;
  background: linear-gradient(to top, rgba(8, 43, 89,.92), transparent);
  color: #fff; font-weight: 600; font-family: 'Raleway',sans-serif; }

@media (max-width: 960px) {
  .gallery-preview-section {
    gap: 1rem;
  }

  .gallery-preview-media,
  .content-layout,
  .content-layout--narrow {
    grid-template-columns: 1fr;
  }

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

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

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

  .content-rail {
    position: static;
    grid-template-columns: 1fr;
  }

  .fees-page-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .gallery-section-grid--preview .gallery-shot,
  .gallery-section-grid--detail .gallery-shot,
  .gallery-section-grid--preview .gallery-shot.is-quarter {
    grid-column: span 6;
  }

  .gallery-shot,
  .gallery-shot.is-featured,
  .gallery-section-grid--preview .gallery-shot.is-featured,
  .gallery-section-grid--detail .gallery-shot.is-featured,
  .gallery-section-grid--detail .gallery-shot.is-wide,
  .gallery-section-grid--detail .gallery-shot.is-tall {
    grid-column: span 6;
    grid-row: auto;
    min-height: 260px;
  }

  .gallery-preview-media {
    --gallery-preview-frame: 320px;
  }
}

@media (max-width: 720px) {
  .media-carousel-slide {
    aspect-ratio: 4 / 5;
  }
  .media-carousel-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .media-carousel-control {
    width: 40px;
    height: 40px;
  }
  .gallery-shot,
  .gallery-shot.is-featured,
  .gallery-section-grid--preview .gallery-shot,
  .gallery-section-grid--detail .gallery-shot,
  .gallery-section-grid--preview .gallery-shot.is-featured,
  .gallery-section-grid--detail .gallery-shot.is-featured,
  .gallery-section-grid--detail .gallery-shot.is-wide,
  .gallery-section-grid--detail .gallery-shot.is-tall {
    grid-column: span 12;
    min-height: 220px;
  }

  .media-carousel--natural,
  .gallery-hero-carousel {
    max-width: 100%;
  }

  .gallery-preview-meta {
    justify-content: flex-start;
  }

  .gallery-preview-media {
    --gallery-preview-frame: 260px;
  }

  .content-card-grid,
  .content-card-grid--quotes {
    grid-template-columns: 1fr;
  }

  .source-media-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .source-media-shot,
  .source-media-shot img {
    min-height: 14rem;
  }

  .site-search-results,
  .site-search-box {
    grid-template-columns: 1fr;
  }
}

.prose-ibw h2 { font-size: 1.7rem; margin: 2rem 0 1rem; }
.prose-ibw h3 { font-size: 1.2rem; margin: 1.5rem 0 .65rem; color: var(--ibw-primary-dark); }
.prose-ibw p  { margin: .85rem 0; }
.prose-ibw ul { margin: .5rem 0 1rem 1.25rem; list-style: disc; }
.prose-ibw li { margin: .3rem 0; }
.prose-ibw a  { text-decoration: underline; }

.source-document.prose-ibw h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.18;
  margin: 1.65rem 0 .7rem;
}

.source-document.prose-ibw h2:first-child {
  margin-top: 0;
}

.source-document.prose-ibw h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin: 1.3rem 0 .55rem;
}

.source-document.prose-ibw p,
.source-document.prose-ibw li {
  font-size: .98rem;
  line-height: 1.72;
}

.source-document.prose-ibw p {
  margin: .72rem 0;
}

.source-document.prose-ibw ul {
  margin: .5rem 0 1rem 1.15rem;
}

.course-detail-section {
  margin: 2rem 0;
}
.course-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.course-gallery-shot {
  display: block;
  min-height: 190px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--ibw-navy);
}
.course-gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.course-gallery-shot:hover img {
  transform: scale(1.05);
}
.course-faq {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}
.course-faq details {
  background: #fff;
  border: 1px solid var(--ibw-border);
  border-radius: .85rem;
  padding: .95rem 1rem;
  box-shadow: var(--shadow-xs);
}
.course-faq summary {
  cursor: pointer;
  color: var(--ibw-navy);
  font-weight: 700;
}
.course-faq p {
  margin: .7rem 0 0;
  color: var(--ibw-muted);
}
@media (max-width: 720px) {
  .course-gallery {
    grid-template-columns: 1fr;
  }
  .course-gallery-shot {
    min-height: 220px;
  }
}

.skip { position: absolute; left: -10000px; top: auto; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: var(--ibw-navy);
  padding: .5rem .8rem; border-radius: .5rem; z-index: 100; }

/* ============================================================
   WIDE BANNER HERO (students at Belvedere) — used on Home
   ============================================================ */
.banner-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(520px, 72vh, 760px);
  background: var(--ibw-navy);
  color: #fff;
}
.banner-hero .banner-photo {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('/assets/img/hero-belvedere.jpg');
  background-size: cover;
  background-position: 72% 35%;
  transform: scale(1.06);
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}
.banner-hero .banner-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 43, 89,.08) 0%, rgba(8, 43, 89,.24) 52%, rgba(8, 43, 89,.60) 100%),
    linear-gradient(90deg, rgba(8, 43, 89,.50) 0%, rgba(8, 43, 89,.20) 38%, rgba(8, 43, 89,.03) 70%, rgba(8, 43, 89,0) 100%);
}
.banner-hero .banner-veil::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 18%, rgba(37, 150, 190,.12), transparent 42%);
  mix-blend-mode: screen; opacity: .38;
}
.banner-hero .banner-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end;
  min-height: clamp(520px, 72vh, 760px);
  padding-top: 4rem; padding-bottom: 2.35rem;
}
.banner-hero .banner-copy {
  width: 100%;
  padding: clamp(.85rem, 1.25vw, 1.15rem) clamp(1rem, 2.2vw, 1.9rem);
  border-radius: 1.75rem;
  background: linear-gradient(90deg, rgba(15,34,52,.84) 0%, rgba(15,34,52,.76) 34%, rgba(15,34,52,.56) 62%, rgba(15,34,52,.24) 84%, rgba(15,34,52,.08) 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 54px -24px rgba(9,23,35,.6);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .95fr);
  grid-template-areas:
    "eyebrow actions"
    "title actions"
    "summary actions";
  gap: .35rem 2rem;
  align-items: center;
}
.banner-hero .banner-copy-main {
  display: contents;
}
.banner-hero .banner-copy .eyebrow {
  grid-area: eyebrow;
}
.banner-hero h1 {
  grid-area: title;
  color: #fff; font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.75rem); line-height: .95;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
  max-width: none;
}
.banner-hero h1 .accent {
  color: var(--ibw-pop); display: block;
  font-style: italic; font-weight: 600;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  margin-top: .3rem;
  text-shadow: 0 2px 24px rgba(243, 110, 48,.35);
}
.banner-hero p.lead-hero {
  grid-area: summary;
  font-size: clamp(.92rem, 1vw, 1.02rem);
  max-width: 62ch; color: rgba(255,255,255,.95);
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  margin-top: .6rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.banner-hero .banner-actions {
  grid-area: actions;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .7rem;
}
.banner-hero .banner-cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.banner-hero .footnote {
  color: rgba(255,255,255,.85);
  font-size: .72rem;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
  max-width: 28ch;
}
@media (min-width: 960px) {
  .banner-hero .banner-inner { padding-bottom: 2.8rem; }
}
@media (max-width: 959px) {
  .banner-hero .banner-photo { background-position: 62% 35%; }
  .banner-hero .banner-inner {
    padding-bottom: 3.1rem;
  }
  .banner-hero .banner-copy {
    grid-template-areas:
      "eyebrow"
      "title"
      "summary"
      "actions";
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, rgba(15,34,52,.54) 0%, rgba(15,34,52,.28) 100%);
    box-shadow: var(--shadow-md);
    gap: .8rem;
  }
  .banner-hero .banner-actions {
    gap: .75rem;
  }
  .banner-hero .footnote {
    max-width: 56ch;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes heroKenBurns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(37, 150, 190,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 150, 190,0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 150, 190,0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition:
    opacity 1.1s cubic-bezier(0.33, 1, 0.68, 1),
    transform 1.15s cubic-bezier(0.25, 0.7, 0.25, 1);
  transition-delay: calc(var(--stagger, 0) * 110ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-fade { transform: none; }
.reveal-zoom { transform: scale(.97); }
.reveal-zoom.is-visible { transform: scale(1); }
.reveal-left  { transform: translateX(-24px); }
.reveal-left.is-visible  { transform: translateX(0); }
.reveal-right { transform: translateX(24px); }
.reveal-right.is-visible { transform: translateX(0); }

/* ============================================================
   REFINED INTERACTIONS — drop shadows + hover polish
   ============================================================ */
.btn { transition: transform .25s var(--ease-out), background .2s ease, color .2s ease, box-shadow .25s var(--ease-out); }
.btn-primary { box-shadow: 0 6px 14px -4px rgba(37, 150, 190,.45), 0 2px 4px -2px rgba(37, 150, 190,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(37, 150, 190,.55), 0 6px 12px -4px rgba(37, 150, 190,.35); }
.btn-primary:active { transform: translateY(0); }

.card { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.tile { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile img { transition: transform .8s var(--ease-out); }
.tile:hover img { transform: scale(1.08); }
.tile .tile-badge { box-shadow: 0 4px 10px -2px rgba(37, 150, 190,.5); }

.testimonial { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.why-item { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-left-width .2s ease; }
.why-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-left-width: 6px; }
.why-item .why-icon { transition: transform .4s var(--ease-out), background .2s ease; }
.why-item:hover .why-icon { transform: rotate(-6deg) scale(1.06); background: rgba(37, 150, 190,.2); }

/* Content accordions (restored toggle blocks from the WordPress source) */
.content-accordion-group {
  display: grid;
  gap: .65rem;
  margin: .25rem 0 1rem;
}
.content-accordion {
  border: 1px solid rgba(8, 43, 89, .14);
  border-left: 4px solid var(--ibw-accent);
  border-radius: .55rem;
  background: #fff;
  overflow: hidden;
}
.content-accordion > summary {
  cursor: pointer;
  padding: .85rem 1.1rem;
  font-weight: 600;
  color: var(--ibw-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.content-accordion > summary::-webkit-details-marker { display: none; }
.content-accordion > summary::after {
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ibw-accent);
  transition: transform .2s ease;
}
.content-accordion[open] > summary::after { content: '−'; }
.content-accordion[open] > summary { border-bottom: 1px solid rgba(8, 43, 89, .08); }
.content-accordion-body {
  padding: .85rem 1.1rem 1.1rem;
  color: var(--ibw-navy);
  font-size: .95rem;
  line-height: 1.6;
}
.content-accordion-body p { margin: 0 0 .65rem; }
.content-accordion-body p:last-child { margin-bottom: 0; }
.content-accordion-meta {
  list-style: none;
  margin: 0 0 .65rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  font-size: .85rem;
  color: var(--ibw-muted);
}
.content-accordion-meta li::before {
  content: '·';
  margin-right: .4rem;
  color: var(--ibw-accent);
}
.content-accordion-meta li:first-child::before { content: ''; margin: 0; }
.content-accordion-list { margin: .35rem 0 .65rem 1.15rem; padding: 0; }
.content-accordion-link a {
  color: var(--ibw-accent);
  text-decoration: underline;
  font-weight: 500;
}

.content-related {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(8, 43, 89, .18);
}
.content-related .eyebrow { display: block; margin-bottom: .35rem; }
.content-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
}
.content-related a {
  color: var(--ibw-accent);
  text-decoration: underline;
  font-size: .92rem;
}

.director-card { box-shadow: var(--shadow-lg); transition: box-shadow .35s var(--ease-out); }
.director-card:hover { box-shadow: var(--shadow-xl); }

.hero-photo { transition: transform .6s var(--ease-out); }
.hero-photo:hover { transform: rotate(0deg) scale(1.02); }

.fab-stack a { transition: transform .25s var(--ease-out), filter .2s ease, box-shadow .25s var(--ease-out); }
.fab-stack a:hover { transform: translateX(-6px); box-shadow: -6px 6px 14px rgba(8, 43, 89,.25); }
.fab-stack .fab-mail { animation: pulseRing 3s ease-out 2s infinite; }

.brochure { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.brochure:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -28px rgba(0,0,0,.72); }
.brochure img { transition: transform .35s var(--ease-out); }
.brochure:hover img { transform: rotate(-3deg) scale(1.04); }

.site-footer-social-link { transition: transform .25s var(--ease-out), background .2s ease, border-color .2s ease; }
.site-footer-social-link:hover {
  transform: translateY(-3px) scale(1.06);
  background: var(--ibw-accent);
  border-color: transparent;
  color: #fff;
}

.nav-link::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: -.35rem;
  height: 3px; background: var(--ibw-accent); border-radius: 2px;
  transition: left .25s var(--ease-out), right .25s var(--ease-out);
}
.nav-link:hover::after { left: 0; right: 0; }
.nav-link.is-active::after { left: 0; right: 0; }

/* Subtle shimmer for hero accent text on first paint */
.shimmer-once {
  background: linear-gradient(90deg, var(--ibw-accent) 0%, #ffd699 50%, var(--ibw-accent) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 2.4s var(--ease-in-out) 1 forwards;
}

/* Section dividers — subtle wave between hero and content */
.section, .section-soft { position: relative; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .banner-hero .banner-photo { animation: none; transform: scale(1.02); }
}

/* ---------- IBWISE wordmark + emphasis ---------- */
.ibw-mark {
  display: inline;
  font-weight: 700;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.ibw-mark .ibw-mark-ib   { color: var(--ibw-primary); }
.ibw-mark .ibw-mark-wise { color: var(--ibw-pop); }

/* Light blue tint for IB on dark surfaces so it never disappears */
.hero .ibw-mark .ibw-mark-ib,
.banner-hero .ibw-mark .ibw-mark-ib,
.stats-strip .ibw-mark .ibw-mark-ib,
.section-navy .ibw-mark .ibw-mark-ib,
.site-footer .ibw-mark .ibw-mark-ib,
.tile .ibw-mark .ibw-mark-ib,
.gallery-shot-caption .ibw-mark .ibw-mark-ib,
.media-carousel-caption .ibw-mark .ibw-mark-ib,
.cookie-banner .ibw-mark .ibw-mark-ib,
.btn-primary .ibw-mark .ibw-mark-ib,
.btn-accent .ibw-mark .ibw-mark-ib {
  color: #BFD4EE;
}

/* Bolder emphasis for inline strong/b in body copy */
strong, b { font-weight: 700; color: var(--ibw-primary); }
.hero strong, .hero b,
.banner-hero strong, .banner-hero b,
.stats-strip strong, .stats-strip b,
.section-navy strong, .section-navy b,
.site-footer strong, .site-footer b,
.tile strong, .tile b,
.gallery-shot-caption strong, .gallery-shot-caption b,
.media-carousel-caption strong, .media-carousel-caption b,
.cookie-banner strong, .cookie-banner b,
.btn strong, .btn b { color: inherit; }

/* ---------- Theme toggle ---------- */
.site-theme-toggle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ibw-navy);
  border: 1px solid rgba(8, 43, 89, .16);
  background: #fff;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.site-theme-toggle:hover,
.site-theme-toggle:focus-visible {
  color: #fff;
  background: var(--ibw-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  outline: none;
}
.site-theme-toggle .theme-icon-moon { display: none; }

/* ---------- Dark mode ---------- */
[data-theme="dark"] {
  --ibw-bg: #0A1424;
  --ibw-bg-soft: #0F1E36;
  --ibw-bg-card: #142A48;
  --ibw-border: #1F365C;
  --ibw-ink: #E6EEF7;
  --ibw-muted: #A7B6CB;
}
[data-theme="dark"] body { background: var(--ibw-bg); color: var(--ibw-ink); }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 { color: #E6EEF7; }
[data-theme="dark"] strong,
[data-theme="dark"] b { color: var(--ibw-pop); }
[data-theme="dark"] .ibw-mark .ibw-mark-ib { color: #BFD4EE; }

[data-theme="dark"] .site-header {
  background: rgba(10, 20, 36, .92);
  border-bottom-color: var(--ibw-border);
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
}
[data-theme="dark"] .nav-link { color: var(--ibw-ink); }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.is-active { color: var(--ibw-accent); }
[data-theme="dark"] .nav-dropdown,
[data-theme="dark"] .nav-dropdown::before {
  background: rgba(15, 30, 54, .98);
  border-color: var(--ibw-border);
}
[data-theme="dark"] .nav-dropdown-link { color: var(--ibw-ink); }
[data-theme="dark"] .nav-dropdown-link:hover,
[data-theme="dark"] .nav-dropdown-link.is-active {
  background: rgba(37, 150, 190, .22);
  color: #fff;
}
[data-theme="dark"] .header-menu-button { color: var(--ibw-ink); }
[data-theme="dark"] .header-menu-button:hover { background: rgba(255,255,255,.06); }
[data-theme="dark"] .mobile-nav-panel {
  background: var(--ibw-bg-soft) !important;
  border-color: var(--ibw-border) !important;
}
[data-theme="dark"] .mobile-nav-panel a { color: var(--ibw-ink) !important; border-color: var(--ibw-border) !important; }
[data-theme="dark"] .mobile-nav-children { background: rgba(255,255,255,.03); }
[data-theme="dark"] .mobile-nav-group { border-bottom-color: var(--ibw-border); }

[data-theme="dark"] .site-search-toggle {
  background: rgba(255,255,255,.05);
  color: var(--ibw-ink);
  border-color: rgba(255,255,255,.16);
}
[data-theme="dark"] .site-search-toggle:hover,
[data-theme="dark"] .site-search-toggle[aria-expanded="true"] {
  background: var(--ibw-accent);
  color: #fff;
  border-color: transparent;
}
[data-theme="dark"] .site-search-panel {
  background: rgba(15, 30, 54, .98);
  border-color: var(--ibw-border);
}
[data-theme="dark"] .site-search-box input {
  background: rgba(255,255,255,.04);
  color: var(--ibw-ink);
  border-color: var(--ibw-border);
}
[data-theme="dark"] .site-search-box button { color: var(--ibw-ink); }
[data-theme="dark"] .site-search-results a {
  background: rgba(255,255,255,.04);
  color: var(--ibw-ink);
}
[data-theme="dark"] .site-search-results a:hover {
  background: rgba(37, 150, 190, .18);
  color: #fff;
}

[data-theme="dark"] .site-theme-toggle {
  background: rgba(255,255,255,.05);
  color: var(--ibw-ink);
  border-color: rgba(255,255,255,.16);
}
[data-theme="dark"] .site-theme-toggle:hover,
[data-theme="dark"] .site-theme-toggle:focus-visible {
  background: var(--ibw-accent);
  color: #fff;
  border-color: transparent;
}
[data-theme="dark"] .site-theme-toggle .theme-icon-sun { display: none; }
[data-theme="dark"] .site-theme-toggle .theme-icon-moon { display: inline-flex; }

[data-theme="dark"] .card,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .why-item,
[data-theme="dark"] .director-card,
[data-theme="dark"] .review-card { background: var(--ibw-bg-card); color: var(--ibw-ink); }
[data-theme="dark"] .card h3,
[data-theme="dark"] .why-item h3 { color: var(--ibw-ink); }
[data-theme="dark"] .testimonial blockquote { color: var(--ibw-ink); }
[data-theme="dark"] .testimonial cite { color: var(--ibw-accent); }
[data-theme="dark"] .why-item p { color: var(--ibw-muted); }
[data-theme="dark"] .why-item { border-left-color: var(--ibw-accent); }

[data-theme="dark"] .content-document {
  background: rgba(20, 42, 72, .94);
  border-color: var(--ibw-border);
  color: var(--ibw-ink);
}
[data-theme="dark"] .content-rail-card { background: var(--ibw-bg-soft); border-color: var(--ibw-border); }
[data-theme="dark"] .content-rail-card p { color: var(--ibw-muted); }

[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: rgba(255,255,255,.04);
  color: var(--ibw-ink);
  border-color: var(--ibw-border);
}
[data-theme="dark"] .field label { color: var(--ibw-ink); }

[data-theme="dark"] .step-pill { background: rgba(255,255,255,.06); color: var(--ibw-ink); box-shadow: none; }
[data-theme="dark"] .step-pill.is-active { background: var(--ibw-accent); color: #fff; }
[data-theme="dark"] .step-pill.is-done   { background: var(--ibw-primary); color: #fff; }
[data-theme="dark"] .wizard-nav .btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--ibw-ink);
  border-color: rgba(255,255,255,.18);
}

[data-theme="dark"] .btn-outline { color: var(--ibw-ink); border-color: var(--ibw-ink); }
[data-theme="dark"] .btn-outline:hover { background: var(--ibw-ink); color: var(--ibw-bg); }
[data-theme="dark"] .btn-ghost { color: var(--ibw-ink); border-color: var(--ibw-ink); }
[data-theme="dark"] .btn-ghost:hover { background: var(--ibw-ink); color: var(--ibw-bg); }
[data-theme="dark"] .tag { background: rgba(37, 150, 190, .18); color: var(--ibw-ink); }

[data-theme="dark"] .gallery-preview-section { border-top-color: var(--ibw-border); }
[data-theme="dark"] .course-faq details { background: var(--ibw-bg-card); border-color: var(--ibw-border); }
[data-theme="dark"] .course-faq summary { color: var(--ibw-ink); }
[data-theme="dark"] .course-faq p { color: var(--ibw-muted); }

/* Tailwind utility overrides used inside chrome templates */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .border-slate-100,
[data-theme="dark"] .border-slate-200 {
  background-color: var(--ibw-bg-soft) !important;
  border-color: var(--ibw-border) !important;
}
[data-theme="dark"] .hover\:bg-slate-100:hover { background-color: rgba(255,255,255,.06) !important; }
