:root {
  --ink: #243746;
  --ink-soft: #526675;
  --blue: #226e93;
  --blue-deep: #185573;
  --blue-mid: #6090c0;
  --blue-pale: #eaf3f8;
  --accent: #cc4c35;
  --paper: #f7f9fa;
  --white: #ffffff;
  --line: #dbe4e9;
  --shadow: 0 24px 60px rgba(36, 55, 70, .12);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%);
  padding: 10px 14px; border-radius: 8px; color: var(--white); background: var(--ink);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #f0a033; outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(247,249,250,.94);
  border-bottom: 1px solid rgba(219,228,233,.86); backdrop-filter: blur(16px);
}
.header-inner { height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong { color: var(--blue); font-weight: 750; }
.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.primary-nav a { position: relative; color: #425664; text-decoration: none; font-size: 14px; font-weight: 650; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--blue); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.nav-item { position: relative; }
.submenu-row { display: flex; align-items: center; gap: 5px; }
.submenu-toggle { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 6px; color: var(--blue-deep); background: transparent; cursor: pointer; }
.submenu-toggle:hover, .submenu-toggle:focus-visible { background: var(--blue-pale); }
.submenu-toggle span { transition: transform .18s ease; }
.nav-submenu { position: absolute; top: 100%; left: -18px; z-index: 30; display: none; width: 330px; max-height: min(76vh, 690px); margin: 0; padding: 12px 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 18px 45px rgba(36,55,70,.16); }
.nav-submenu .nav-submenu { position: static; width: auto; max-height: none; margin: 2px 0 7px 11px; padding: 2px 0 2px 10px; overflow: visible; border: 0; border-left: 1px solid #d4e2e8; border-radius: 0; background: #f8fbfc; box-shadow: none; }
.nav-submenu li { position: relative; }
.nav-submenu .submenu-row { justify-content: space-between; }
.nav-submenu a { flex: 1; display: block; padding: 8px 9px; font-size: 13px; line-height: 1.25; }
.nav-submenu a::after { display: none; }
.has-submenu:focus-within > .nav-submenu, .has-submenu.submenu-open > .nav-submenu, .has-submenu.submenu-hovered > .nav-submenu { display: block; }
.has-submenu.submenu-open > .submenu-row .submenu-toggle span { transform: rotate(90deg); }
.header-action, .search-box button {
  color: var(--white); background: var(--blue); border: 0; border-radius: 10px;
  font-weight: 750; text-decoration: none; padding: 12px 18px; transition: transform .2s, background .2s;
}
.header-action:hover, .search-box button:hover { background: var(--blue-deep); transform: translateY(-1px); }
.menu-button { display: none; }

.hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: linear-gradient(135deg, #f7f9fa 0%, #eef5f8 62%, #dcecf4 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 480px; height: 480px; right: -190px; top: -250px; border: 75px solid rgba(96,144,192,.14); }
.hero::after { width: 110px; height: 110px; left: 5%; bottom: -75px; background: var(--accent); opacity: .12; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 72px; align-items: center; }
.home-hero::before {
  inset: 0; width: auto; height: auto; border: 0; border-radius: 0;
  background:
    linear-gradient(90deg, rgba(247,249,250,.98) 0%, rgba(247,249,250,.92) 48%, rgba(238,245,248,.34) 78%, rgba(238,245,248,.78) 100%),
    url("images/home-study-desk.jpg") center right / min(58vw, 900px) auto no-repeat;
}
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 66px; }
.home-hero .hero-copy { position: relative; z-index: 1; }
.hero-tagline { margin: 18px 0 0; color: var(--blue); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; font-weight: 580; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6vw, 75px); line-height: 1.03; letter-spacing: -.055em; font-weight: 780; }
.hero h1 em { display: block; color: var(--blue); font-style: normal; font-weight: 520; }
.hero-lead { max-width: 640px; margin: 27px 0 30px; color: var(--ink-soft); font-size: 19px; }
.search-box { max-width: 690px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(36,55,70,.09); }
.search-symbol { width: 17px; height: 17px; border: 2px solid var(--blue); border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-symbol::after { content: ""; position: absolute; width: 7px; height: 2px; right: -5px; bottom: -2px; background: var(--blue); transform: rotate(45deg); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; padding: 10px 4px; }
.search-box input::placeholder { color: #81909b; }
.search-message { min-height: 22px; margin: 8px 0 0; color: var(--blue-deep); font-size: 13px; font-weight: 650; }
.search-results { position: relative; z-index: 3; display: grid; max-width: 690px; max-height: 360px; margin-top: 7px; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 42px rgba(36,55,70,.12); }
.search-results[hidden] { display: none; }
.search-result-group { margin: 0; padding: 10px 16px 7px; color: var(--blue); background: var(--blue-pale); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.search-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 18px; padding: 13px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.search-result:last-child { border-bottom: 0; }
.search-result:hover, .search-result:focus-visible { background: var(--blue-pale); }
.search-result strong { font-size: 14px; line-height: 1.35; }
.search-result > span:not(.search-result-arrow) { grid-column: 1; color: #637784; font-size: 11px; }
.search-result-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--blue); font-weight: 800; }
.popular-row { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; margin-top: 10px; color: #687985; font-size: 13px; }
.popular-row span { font-weight: 750; color: var(--ink); }
.popular-row a { color: var(--blue); text-underline-offset: 3px; }

.path-card { position: relative; padding: 31px; color: var(--white); background: var(--ink); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.path-card-image { display: block; width: calc(100% + 62px); height: 185px; margin: -31px -31px 25px; object-fit: cover; }
.path-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; bottom: -95px; border: 38px solid rgba(96,144,192,.2); border-radius: 50%; }
.path-card-top, .path-meta { display: flex; justify-content: space-between; gap: 12px; }
.path-kicker { color: #bad3e1; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.path-number { color: #86b2ca; font-size: 12px; font-weight: 800; }
.path-subject { margin: 34px 0 8px; color: #a9c8d8; font-size: 13px; }
.path-card h2 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -.035em; }
.path-card > p:not(.path-subject) { color: #d2dce2; font-size: 14px; }
.path-progress { height: 3px; margin: 24px 0 10px; background: rgba(255,255,255,.15); }
.path-progress span { display: block; width: 62%; height: 100%; background: #77b4d3; }
.path-meta { color: #b9c7cf; font-size: 12px; }
.card-link { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: var(--white); font-weight: 750; text-decoration: none; }

.featured-carousel { position: relative; }
.hero-carousel { align-self: center; }
.hero-carousel .featured-track { min-height: 566px; }
.hero-carousel .path-card { min-height: 566px; }
.featured-carousel .path-card[hidden] { display: none; }
.featured-carousel .carousel-slide:not([hidden]) { animation: carousel-slide-in .46s cubic-bezier(.22,.7,.35,1) both; }
@keyframes carousel-slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.hero-carousel .path-card h2 { font-size: clamp(27px, 2.7vw, 34px); }
.carousel-controls { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 15px; }
.carousel-arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #bfd3dc; border-radius: 50%; color: var(--blue-deep); background: var(--white); cursor: pointer; }
.carousel-arrow:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #b8c9d1; cursor: pointer; transition: width .18s, background .18s; }
.carousel-dot.active { width: 24px; background: var(--blue); }
.carousel-toggle { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--blue-deep); background: transparent; font-size: 12px; font-weight: 850; cursor: pointer; }
.carousel-toggle:hover { background: var(--blue-pale); }

.section { padding-block: 92px; }
.section-heading { display: grid; grid-template-columns: 1fr 390px; gap: 70px; align-items: end; margin-bottom: 38px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 5px; color: var(--ink-soft); }
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subject-grid-four { grid-template-columns: repeat(4, 1fr); }
.collection-module-group + .collection-module-group { margin-top: clamp(2.25rem, 5vw, 4rem); }
.collection-module-heading { margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.collection-module-heading h3 { margin: 0; color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.nav-group-label { display: flex; align-items: center; flex: 1; min-width: 0; padding: .72rem .8rem; color: var(--ink); font-weight: 700; }
.subject-card { min-height: 330px; display: flex; flex-direction: column; padding: 27px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.subject-image { display: block; width: calc(100% + 54px); height: 145px; margin: -27px -27px 22px; border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; }
.subject-card:hover { transform: translateY(-4px); border-color: #b9d0dc; box-shadow: 0 18px 45px rgba(36,55,70,.09); }
.subject-card.featured { background: var(--blue-pale); border-color: #c7dce7; }
.subject-count { margin: 0 0 7px; color: var(--blue); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.subject-card h3 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.subject-card > p:last-of-type { color: var(--ink-soft); font-size: 14px; }
.subject-card a { display: flex; justify-content: space-between; margin-top: auto; color: var(--blue-deep); font-weight: 750; text-decoration: none; }
.subject-card[hidden] { display: none; }

.quiet-section { padding: 70px 0; color: var(--white); background: var(--blue); }
.tinted-section { background: #edf4f7; }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route-card { min-height: 280px; display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.route-card h3 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
.route-logo { display: block; width: 76px; height: 58px; margin-bottom: 18px; object-fit: contain; object-position: left center; }
.route-card > p:not(.topic-label) { color: var(--ink-soft); }
.route-card a { margin-top: auto; color: var(--blue-deep); font-weight: 750; text-decoration: none; }
.route-card-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.route-card-dark .topic-label, .route-card-dark > p:not(.topic-label), .route-card-dark a { color: #d9e7ee; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid article { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 20px; align-items: start; padding: 26px; border-right: 1px solid var(--line); }
.benefit-grid article:last-child { border-right: 0; }
.benefit-image { display: block; width: 74px; height: 74px; object-fit: cover; border-radius: 16px; }
.benefit-grid h3 { margin: 0 0 7px; font-size: 21px; line-height: 1.18; letter-spacing: -.025em; }
.benefit-grid p { margin: 0 0 11px; color: var(--ink-soft); font-size: 14px; }
.benefit-grid a { color: var(--blue-deep); font-size: 13px; font-weight: 750; text-underline-offset: 4px; }
.community-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: center; }
.community-grid h2 { max-width: 650px; margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
.community-grid > div > p:not(.eyebrow) { max-width: 720px; color: #e0edf3; }
.community-card { padding: 28px; color: var(--ink); background: var(--white); border-radius: var(--radius); }
.community-card h3 { margin: 0 0 16px; font-size: 23px; }
.social-list { margin: 0; padding: 0; list-style: none; }
.social-list li { border-top: 1px solid var(--line); }
.social-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.social-label { display: inline-flex; align-items: center; gap: 11px; }
.social-label img { width: 25px; height: 25px; object-fit: contain; }
.split-callout { display: grid; grid-template-columns: 1fr 1fr auto; gap: 55px; align-items: center; }
.eyebrow.light { color: #cbe4f0; }
.split-callout h2 { margin: 0; max-width: 480px; font-size: 40px; line-height: 1.1; letter-spacing: -.04em; }
.split-callout > p { margin: 0; color: #e0edf3; }
.light-link { white-space: nowrap; color: var(--white); font-weight: 750; text-underline-offset: 5px; }
.site-footer { padding: 54px 0 22px; background: #192a36; color: #c9d4db; }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1.3fr) minmax(180px, .7fr) minmax(240px, 1fr); gap: 70px; }
.footer-brand { color: var(--white); }
.footer-brand img { width: 42px; height: 42px; }
.footer-about > p { max-width: 420px; margin: 17px 0 0; color: #aebec8; font-size: 14px; }
.footer-heading { margin: 0 0 15px; color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: #c9d4db; font-size: 14px; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact p { margin: 0 0 10px; color: #aebec8; font-size: 13px; }
.footer-social { display: flex; gap: 9px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.07); }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social img { width: 23px; height: 23px; object-fit: contain; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #91a1ab; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c9d4db; text-underline-offset: 4px; }

.page-hero { position: relative; overflow: hidden; padding: 48px 0 58px; background: linear-gradient(135deg, #f7f9fa 0%, var(--blue-pale) 100%); border-bottom: 1px solid #d9e6ec; }
.image-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247,249,250,.99) 0%, rgba(247,249,250,.96) 44%, rgba(234,243,248,.68) 68%, rgba(234,243,248,.86) 100%),
    var(--hero-image) center right / min(54vw, 850px) auto no-repeat;
  opacity: .9;
}
.page-hero::after { content: ""; position: absolute; width: 350px; height: 350px; right: -150px; bottom: -245px; border: 55px solid rgba(96,144,192,.15); border-radius: 50%; }
.physiology-hero::after { border-radius: 44% 56% 63% 37%; transform: rotate(22deg); }
.breadcrumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; color: #405865; font-size: 13px; font-weight: 700; }
.breadcrumbs a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.topic-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 42px; align-items: end; }
.topic-hero-grid h1 { margin: 0; max-width: 800px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.page-lead { max-width: 710px; margin: 22px 0 0; color: var(--ink-soft); font-size: 18px; }
.topic-summary { display: grid; grid-template-columns: repeat(3, auto); gap: 1px; overflow: hidden; border: 1px solid #cadde6; border-radius: 14px; background: #cadde6; }
.topic-summary div { min-width: 92px; padding: 18px 16px; text-align: center; background: rgba(255,255,255,.78); }
.topic-summary strong, .topic-summary span { display: block; }
.topic-summary strong { color: var(--blue-deep); font-size: 18px; }
.topic-summary span { margin-top: 2px; color: #687b87; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.topic-tools { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: end; margin-top: -1px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.topic-search-wrap label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.topic-search { width: min(100%, 480px); padding: 12px 14px; border: 1px solid #bbcdd6; border-radius: 10px; color: var(--ink); background: var(--white); }
.filter-group { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { padding: 9px 13px; border: 1px solid #cbd9df; border-radius: 999px; color: #536975; background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
.filter-button:hover, .filter-button.active { color: var(--white); border-color: var(--blue); background: var(--blue); }
.topic-search-message { grid-column: 1 / -1; min-height: 0; margin: 0; color: var(--blue-deep); font-size: 12px; font-weight: 700; }
.topic-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; align-items: start; padding-block: 62px 96px; }
.contents-panel { position: sticky; top: 102px; max-height: calc(100vh - 126px); padding: 22px 10px 22px 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.contents-panel > p:first-child { margin: 0 0 16px; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.contents-panel ol { margin: 0; padding: 0; list-style: none; }
.contents-panel a { display: block; padding: 8px 0; color: #5c707c; font-size: 13px; line-height: 1.35; text-decoration: none; }
.contents-panel a:hover { color: var(--blue); }
.contents-panel .contents-group { margin-top: 8px; border-top: 1px solid var(--line); }
.contents-panel .contents-group:first-child { margin-top: 0; border-top: 0; }
.contents-row { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 4px; align-items: start; }
.contents-panel .contents-row > a, .contents-panel > ol > .contents-group > a { color: var(--ink); font-weight: 780; }
.contents-toggle { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 5px; padding: 0; color: var(--blue-deep); border: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.contents-toggle:hover, .contents-toggle:focus-visible { background: var(--blue-pale); }
.contents-toggle .summary-chevron { margin: 0 0 0 -3px; transform: rotate(-45deg); }
.contents-group.contents-open .contents-toggle .summary-chevron { transform: rotate(45deg); }
.contents-children { margin: 0 0 5px !important; padding: 0 0 0 8px !important; }
.contents-children[hidden] { display: none; }
.contents-panel .contents-child a { padding: 7px 0 7px 13px; color: #5c707c; font-weight: 500; border-left: 2px solid #d9e6ec; }
.topic-stream { min-width: 0; }
.instructor-layout { display: block; padding-block: 48px 78px; }
.instructor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.instructor-grid .topic-section { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.instructor-grid .topic-copy { display: grid; grid-template-columns: 148px minmax(0, 1fr); column-gap: 22px; align-content: start; }
.instructor-grid .topic-copy > * { grid-column: 2; }
.instructor-grid .topic-copy > .topic-image { grid-column: 1; grid-row: 1 / span 30; width: 148px; height: 190px; margin: 0; object-fit: cover; object-position: center top; border-radius: 12px; }
.instructor-grid .topic-label { margin-bottom: 5px; }
.instructor-grid .topic-copy h2 { font-size: 26px; }
.instructor-grid .topic-copy > p:not(.topic-label) { margin: 5px 0 0; font-size: 13px; line-height: 1.42; }
.instructor-grid .resource-card { min-height: 60px; margin-top: 12px; padding: 9px 11px; grid-template-columns: 34px 1fr auto; gap: 9px; }
.instructor-grid .resource-mark { width: 32px; height: 32px; }
.instructor-grid .resource-title { overflow-wrap: anywhere; font-size: 11px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.profile-link { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: var(--white); background: var(--blue-deep); border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 850; line-height: 1; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.profile-link:hover, .profile-link:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(36,55,70,.18); }
.profile-orcid { color: #244035; background: #a6ce39; }
.profile-scholar { background: #4285f4; }
.profile-linkedin { background: #0a66c2; }
.profile-researchgate { color: #123b36; background: #00ccbb; }
.topic-section { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 0 58px; margin-bottom: 54px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.topic-section[hidden] { display: none; }
.topic-group-section { margin: 14px 0 34px; padding: 25px 27px; border: 1px solid #d6e4ea; border-radius: 15px; background: var(--blue-pale); }
.topic-group-section .topic-copy h2 { font-size: clamp(24px, 3vw, 32px); }
.topic-group-section .book-reference { margin-bottom: 0 !important; background: var(--white); }
.topic-number { padding-top: 7px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.topic-label { margin: 0 0 7px; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.source-subtitle { margin: 0 0 5px !important; color: #667986 !important; font-size: 12px !important; font-weight: 720; }
.topic-copy h2 { margin: 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.topic-copy > p:not(.topic-label) { max-width: 720px; margin: 13px 0 24px; color: var(--ink-soft); }
.topic-image { display: block; width: min(100%, 820px); max-height: 520px; margin: 20px 0; object-fit: contain; object-position: left center; border-radius: 14px; }
.topic-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.topic-image-grid .topic-image { width: 100%; height: 260px; margin: 0; object-fit: cover; }
.personalized-layout { display: block; max-width: 980px; }
.personalized-layout .topic-stream { max-width: none; }
.personalized-layout .topic-section { padding-top: 0; border-top: 0; }
.personalized-layout .topic-section h2, .personalized-layout .topic-label { display: none; }
.portrait-carousel { max-width: 820px; margin: 6px auto 54px; }
.portrait-stage { display: grid; min-height: min(72vh, 760px); place-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, #f7fafb, #e9f2f6); overflow: hidden; }
.portrait-stage .portrait-slide { display: block; width: auto; max-width: 100%; height: min(68vh, 700px); max-height: 700px; margin: auto; border-radius: 14px; object-fit: contain; box-shadow: 0 18px 42px rgba(24, 55, 71, .12); }
.portrait-stage .portrait-slide[hidden] { display: none; }
.portrait-stage .portrait-slide:not([hidden]) { animation: carousel-slide-in .46s cubic-bezier(.22,.7,.35,1) both; }
.book-reference { display: inline-flex; margin: 14px 0 8px !important; padding: 7px 11px; color: var(--blue-deep) !important; background: var(--blue-pale); border-radius: 7px; font-size: 12px; font-weight: 800; }
.objective-panel { max-width: 820px; margin: 20px 0 24px; background: #f0f5f7; border: 1px solid #d6e4ea; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; }
.objective-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 15px 13px 18px; cursor: pointer; list-style: none; }
.objective-panel summary::-webkit-details-marker { display: none; }
.objective-heading { display: flex; align-items: center; gap: 11px; }
.objective-heading > span:last-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
.objective-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; background: var(--white); border: 1px solid #bfd3dc; border-radius: 8px; }
.objective-icon i { position: absolute; left: 7px; width: 3px; height: 3px; background: var(--blue); border-radius: 50%; }
.objective-icon i:nth-child(1) { top: 7px; }
.objective-icon i:nth-child(2) { top: 12px; }
.objective-icon i:nth-child(3) { top: 17px; }
.objective-icon::after { content: ""; position: absolute; left: 13px; top: 7px; width: 8px; height: 12px; background: repeating-linear-gradient(to bottom, var(--blue) 0 2px, transparent 2px 5px); }
.objective-panel summary strong { color: var(--ink); font-size: 13px; letter-spacing: .035em; }
.objective-count { color: #6d808b; font-size: 11px; font-weight: 700; }
.summary-chevron { flex: 0 0 auto; width: 9px; height: 9px; margin-right: 5px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .18s ease; }
.objective-panel[open] .summary-chevron { transform: rotate(225deg); }
.objective-content { padding: 4px 22px 20px; border-top: 1px solid #d6e4ea; }
.objective-content > h3:first-child { display: none; }
.objective-panel h3 { margin: 0 0 9px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.objective-panel h3:not(:first-child) { margin-top: 22px; }
.objective-panel p { margin: 0 0 9px; color: var(--ink-soft); font-size: 14px; }
.objective-panel ul, .objective-panel ol { margin: 0; padding-left: 21px; }
.objective-panel li { margin: 6px 0; color: #425965; font-size: 14px; line-height: 1.5; }
.curriculum-section { padding-block: 44px 88px; }
.curriculum-list { display: grid; max-width: 980px; gap: 10px; }
.curriculum-panel { scroll-margin-top: 110px; overflow: hidden; border: 1px solid #d6e4ea; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--white); }
.curriculum-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; cursor: pointer; list-style: none; }
.curriculum-panel summary::-webkit-details-marker { display: none; }
.curriculum-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.curriculum-heading strong, .curriculum-panel-empty > strong { color: var(--ink); font-size: 16px; line-height: 1.35; }
.curriculum-heading small { color: #6d808b; font-size: 11px; font-weight: 700; letter-spacing: .025em; }
.curriculum-panel[open] .summary-chevron { transform: rotate(225deg); }
.curriculum-panel[open] summary { background: #f0f5f7; }
.curriculum-panel[open] { overflow: visible; }
.curriculum-content { padding: 4px 20px 17px; border-top: 1px solid #d6e4ea; }
.curriculum-content ul { margin: 0; padding: 0; list-style: none; }
.curriculum-content li { padding: 10px 2px; color: #425965; font-size: 14px; line-height: 1.45; border-bottom: 1px solid #e4ecef; }
.curriculum-content li:last-child { border-bottom: 0; }
.curriculum-content a { color: var(--blue-deep); font-weight: 700; text-decoration-color: #a9c8d7; text-underline-offset: 3px; }
.curriculum-content a:hover { color: var(--blue); text-decoration-color: currentColor; }
.curriculum-topic-row { position: relative; }
.curriculum-topic-main { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; }
.curriculum-topic-label, .curriculum-topic-main > a { min-width: 0; }
.curriculum-content .curriculum-topic-links { display: grid; gap: 5px; margin: 8px 0 1px 18px; padding-left: 13px; border-left: 2px solid #d8e7ed; }
.curriculum-content .curriculum-topic-links li { padding: 1px 0; border: 0; font-size: 12px; line-height: 1.4; }
.curriculum-content .curriculum-topic-links a { font-weight: 650; }
.lo-info { position: relative; flex: 0 0 auto; }
.lo-info-button { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; color: var(--blue-deep); background: var(--blue-pale); border: 1px solid #b9d2de; border-radius: 50%; font-family: Georgia, serif; font-size: 14px; font-weight: 800; line-height: 1; cursor: help; }
.lo-info-button:hover, .lo-info-button:focus-visible, .lo-info.info-open .lo-info-button { color: var(--white); background: var(--blue); border-color: var(--blue); outline-offset: 3px; }
.lo-popover { position: absolute; right: 0; top: calc(100% + 9px); z-index: 20; width: min(520px, 76vw); max-height: min(420px, 60vh); padding: 16px 17px; overflow-y: auto; overscroll-behavior: contain; color: var(--ink); background: var(--white); border: 1px solid #bcd3de; border-radius: 12px; box-shadow: 0 18px 42px rgba(25,55,70,.2); opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.lo-info:hover .lo-popover, .lo-info:focus-within .lo-popover, .lo-info.info-open .lo-popover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.lo-popover > strong { display: block; margin-bottom: 9px; color: var(--blue-deep); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.lo-objective-list { display: grid; gap: 8px; }
.lo-objective { position: relative; display: block; padding-left: 15px; color: #425965; font-size: 12px; line-height: 1.45; }
.lo-objective::before { content: ""; position: absolute; left: 1px; top: .62em; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }
.lo-objective strong { color: var(--ink); }
.curriculum-panel-empty { padding: 15px 18px; background: #f7f9fa; border-left-color: #b8c8d0; }

.testimonial-section { background: linear-gradient(180deg, var(--paper), #edf4f7); }
.testimonial-carousel { max-width: 880px; margin: 0 auto; }
.testimonial-track { min-height: 310px; display: grid; }
.testimonial-card { grid-area: 1 / 1; display: flex; min-height: 310px; margin: 0; padding: clamp(30px, 6vw, 62px); flex-direction: column; justify-content: space-between; color: var(--white); background: var(--ink); border-radius: 24px; box-shadow: var(--shadow); }
.testimonial-card[hidden] { display: none; }
.testimonial-card:not([hidden]) { animation: carousel-slide-in .46s cubic-bezier(.22,.7,.35,1) both; }
.testimonial-card blockquote { position: relative; margin: 0; font-family: Georgia, serif; font-size: clamp(22px, 3vw, 34px); line-height: 1.42; }
.testimonial-card blockquote::before { content: "“"; display: block; height: 42px; color: #83b8d3; font-size: 72px; line-height: .8; }
.testimonial-card figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; color: #c7d8e1; border-top: 1px solid rgba(255,255,255,.15); }
.testimonial-card figcaption strong { color: var(--white); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.primary-action, .secondary-action { display: inline-flex; padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 780; text-decoration: none; }
.primary-action { color: var(--white); background: var(--blue); }
.secondary-action { color: var(--blue-deep); background: rgba(255,255,255,.78); border: 1px solid #bed2dc; }
.fcps-hero::before { background-size: cover; background-position: center; opacity: .32; }
.fcps-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 70px; align-items: start; }
.fcps-overview h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -.04em; }
.feature-list { display: grid; gap: 11px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.fcps-poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.fcps-poster-card { margin: 0; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 15px 38px rgba(36,55,70,.08); }
.fcps-poster-card img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 10px; }
.fcps-poster-card figcaption { padding: 14px 4px 1px; color: var(--ink-soft); font-size: 12px; font-weight: 750; text-align: center; }
.resource-card, .video-load { width: 100%; min-height: 84px; display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center; margin-top: 10px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; text-align: left; text-decoration: none; transition: transform .18s, border-color .18s, box-shadow .18s; }
.resource-card { background: var(--white); }
.resource-card:hover { transform: translateY(-2px); border-color: #9ebdcc; box-shadow: 0 12px 28px rgba(36,55,70,.08); }
.resource-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--blue-deep); background: var(--blue-pale); font-size: 12px; font-weight: 900; }
.presentation-symbol { position: relative; }
.presentation-symbol::before { content: ""; width: 18px; height: 22px; border: 2px solid var(--blue); border-radius: 3px; }
.presentation-symbol::after { content: ""; position: absolute; left: 14px; top: 14px; width: 12px; height: 2px; background: var(--blue); box-shadow: 0 5px 0 var(--blue), 0 10px 0 var(--blue); transform: scale(.65); }
.resource-card small, .resource-card strong, .video-load small, .video-load strong { display: block; }
.resource-card small, .video-load small { margin-bottom: 2px; color: #758690; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.resource-card strong, .video-load strong { font-size: 14px; }
.resource-arrow { color: var(--blue); font-size: 20px; }
.video-shell { position: relative; margin-top: 10px; overflow: hidden; border-radius: 14px; background: var(--ink); }
.video-load { margin: 0; color: var(--white); border: 0; background: var(--ink); cursor: pointer; }
.video-load { padding-right: 64px; }
.video-load:hover { background: #172b38; }
.video-load small { color: #a9c4d2; }
.video-direct, .presentation-direct { position: absolute; z-index: 2; top: 19px; right: 17px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 19px; font-weight: 800; text-decoration: none; }
.video-direct { color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.video-direct:hover { background: var(--blue); }
.presentation-shell { position: relative; margin-top: 10px; overflow: hidden; border-radius: 14px; background: var(--white); }
.presentation-load { grid-template-columns: 46px 1fr; margin: 0; padding-right: 64px; cursor: pointer; }
.presentation-direct { color: var(--blue-deep); background: var(--blue-pale); border: 1px solid #bfd3dc; }
.presentation-direct:hover { color: var(--white); background: var(--blue); }
.play-symbol { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); }
.play-symbol::after { content: ""; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid var(--white); }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.slides-frame { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--white); }
.media-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px; background: #f0f5f7; border-top: 1px solid #d6e4ea; }
.media-actions .video-direct, .media-actions .presentation-direct { position: static; }
.media-actions .video-direct, .media-actions .presentation-direct, .media-collapse { color: var(--blue-deep); border: 1px solid #bfd3dc; background: var(--white); }
.media-collapse { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 10px; cursor: pointer; }
.media-collapse:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.media-collapse .summary-chevron { margin: 4px 0 0; border-color: currentColor; transform: rotate(225deg); }
.resource-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.resource-grid > .resource-card, .resource-grid > .video-shell, .resource-grid > .presentation-shell { margin-top: 0; }
.resource-grid > .is-open { grid-column: 1 / -1; }

.quiz-shell { margin-top: 10px; }
.quiz-launch { width: 100%; min-height: 76px; display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 13px 15px; color: var(--ink); background: #f2f7f9; border: 1px solid #c9dce5; border-radius: 13px; text-align: left; cursor: pointer; transition: border-color .18s, box-shadow .18s, background .18s; }
.quiz-launch:hover, .quiz-launch:focus-visible { background: var(--white); border-color: #8fb5c7; box-shadow: 0 12px 28px rgba(36,55,70,.08); }
.quiz-launch:disabled { opacity: .72; cursor: wait; }
.quiz-launch small, .quiz-launch strong { display: block; }
.quiz-launch small { margin-bottom: 2px; color: #6d808b; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.quiz-launch strong { font-size: 14px; }
.quiz-launch[aria-expanded="true"] .summary-chevron { transform: rotate(225deg); }
.quiz-mark { display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); background: var(--blue); border-radius: 10px; font-family: Georgia, serif; font-size: 21px; font-weight: 800; }
.quiz-panel { margin-top: 8px; padding: clamp(17px, 3vw, 26px); color: var(--ink); background: var(--white); border: 1px solid #bfd5df; border-radius: 14px; box-shadow: 0 16px 35px rgba(36,55,70,.09); }
.quiz-panel[hidden] { display: none; }
.quiz-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid #dbe7ec; }
.quiz-header small { color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.quiz-header h3 { margin: 3px 0 0; font-size: 20px; line-height: 1.25; }
.quiz-progress { margin: 5px 0 0; color: #6d808b; font-size: 12px; font-weight: 700; }
.quiz-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 0 0; }
.quiz-secondary { min-height: 36px; padding: 8px 12px; color: var(--blue-deep); background: var(--blue-pale); border: 1px solid #bfd3dc; border-radius: 9px; font-weight: 750; cursor: pointer; }
.quiz-secondary:hover, .quiz-secondary:focus-visible { color: var(--white); background: var(--blue); border-color: var(--blue); }
.quiz-secondary:disabled { opacity: .5; cursor: default; }
.quiz-reset { margin-left: auto; color: #7f453e; background: #fff7f5; border-color: #e2c6c1; }
.quiz-collapse { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; color: var(--blue-deep); background: var(--blue-pale); border: 1px solid #bfd3dc; border-radius: 10px; cursor: pointer; }
.quiz-collapse:hover, .quiz-collapse:focus-visible { color: var(--white); background: var(--blue); border-color: var(--blue); }
.quiz-collapse .summary-chevron { margin: 4px 0 0; border-color: currentColor; transform: rotate(225deg); }
.quiz-form { padding-top: 20px; }
.quiz-form fieldset { margin: 0; padding: 0; border: 0; }
.quiz-form legend { width: 100%; margin-bottom: 17px; padding: 0; color: var(--ink); font-family: Georgia, serif; font-size: 18px; font-weight: 700; line-height: 1.48; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { display: grid; grid-template-columns: auto 30px 1fr; gap: 9px; align-items: center; padding: 11px 12px; color: #425965; background: #f8fafb; border: 1px solid #dce7ec; border-radius: 10px; cursor: pointer; line-height: 1.45; }
.quiz-option:hover { border-color: #a8c5d2; }
.quiz-option:has(input:checked) { color: var(--ink); background: #e9f4f8; border-color: #88b7ca; }
.quiz-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.quiz-option > strong { color: var(--blue-deep); font-size: 12px; }
.quiz-option.correct-answer { background: #edf8f2; border-color: #7fbe9c; }
.quiz-option.chosen-wrong { background: #fff1ef; border-color: #d99a91; }
.quiz-message { min-height: 22px; margin: 15px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.quiz-message strong, .quiz-message span { display: block; }
.quiz-message span { margin-top: 4px; }
.quiz-message-correct strong { color: #24704a; }
.quiz-message-wrong strong, .quiz-message-warning { color: #99483d; }
.quiz-actions { display: flex; justify-content: flex-end; margin-top: 15px; }
.quiz-primary { min-height: 40px; padding: 10px 16px; color: var(--white); background: var(--blue); border: 0; border-radius: 9px; font-weight: 780; cursor: pointer; }
.quiz-primary:hover, .quiz-primary:focus-visible { background: var(--blue-deep); }
.quiz-result { padding: 28px 2px 5px; }
.quiz-result > strong { display: block; font-family: Georgia, serif; font-size: 27px; }
.quiz-result p { margin: 7px 0 18px; color: var(--ink-soft); }
.quiz-loading { margin: 0; color: var(--ink-soft); }
.quiz-review-back { margin-top: 15px; }
.quiz-history { display: grid; gap: 8px; margin-top: 14px; }
.quiz-history-item { border: 1px solid #d7e4e9; border-radius: 10px; background: #f8fafb; }
.quiz-history-item summary { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 12px; cursor: pointer; line-height: 1.45; }
.quiz-history-item summary strong { color: #24704a; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.quiz-history-item.is-wrong summary strong { color: #99483d; }
.quiz-history-item p { margin: 0; padding: 0 12px 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  .header-action { display: none; }
  .hero-grid, .section-heading, .split-callout { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .path-card { max-width: 560px; }
  .hero-carousel { width: min(100%, 560px); }
  .section-heading { gap: 18px; }
  .subject-grid { grid-template-columns: 1fr; }
  .subject-grid-four, .route-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-grid article:last-child { border-bottom: 0; }
  .community-grid { grid-template-columns: 1fr; gap: 38px; }
  .subject-card { min-height: 260px; }
  .split-callout { gap: 20px; }
  .topic-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .topic-summary { width: fit-content; }
  .topic-layout { grid-template-columns: 1fr; gap: 28px; }
  .instructor-grid { grid-template-columns: 1fr; }
  .contents-panel { position: static; display: block; max-height: min(48vh, 430px); }
}

@media (max-width: 690px) {
  :root { --shell: min(1180px, calc(100% - 28px)); }
  .header-inner { height: 70px; }
  .brand { font-size: 16px; }
  .brand img { width: 42px; height: 42px; }
  .menu-button { display: block; margin-left: auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); font-weight: 700; }
  .primary-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 14px 20px 22px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(36,55,70,.08); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 11px; }
  .primary-nav a::after { display: none; }
  .primary-nav > .nav-item > .submenu-row { padding-right: 4px; }
  .primary-nav .submenu-row { justify-content: space-between; }
  .nav-submenu, .nav-submenu .nav-submenu { position: static; display: none; width: auto; max-height: none; margin: 0 0 0 12px; padding: 2px 0 2px 10px; overflow: visible; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
  .has-submenu:hover > .nav-submenu { display: none; }
  .has-submenu:focus-within > .nav-submenu { display: none; }
  .has-submenu.submenu-open > .nav-submenu { display: block; }
  .nav-submenu a { padding: 8px; }
  .hero { padding: 58px 0 56px; }
  .home-hero .hero-grid { gap: 34px; }
  .home-hero::before { background-position: 72% center; background-size: cover; opacity: .38; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 17px; }
  .hero-carousel { width: 100%; }
  .hero-carousel .featured-track, .hero-carousel .path-card { min-height: 0; }
  .hero-carousel .path-card { padding: 24px; }
  .hero-carousel .path-card-image { width: calc(100% + 48px); height: 160px; margin: -24px -24px 20px; }
  .hero-carousel .path-subject { margin-top: 24px; }
  .hero-carousel .card-link { margin-top: 24px; }
  .search-box { display: grid; grid-template-columns: auto 1fr; }
  .search-box button { grid-column: 1 / -1; width: 100%; }
  .section { padding-block: 64px; }
  .subject-grid-four, .route-grid { grid-template-columns: 1fr; }
  .section-heading h2, .split-callout h2 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .breadcrumbs { margin-bottom: 34px; }
  .page-hero { padding: 35px 0 45px; }
  .curriculum-section { padding-block: 30px 60px; }
  .curriculum-panel summary, .curriculum-panel-empty { padding: 13px 14px; }
  .curriculum-heading { display: grid; gap: 3px; }
  .curriculum-heading strong, .curriculum-panel-empty > strong { font-size: 14px; }
  .curriculum-content { padding: 3px 15px 14px; }
  .curriculum-topic-main { align-items: flex-start; }
  .lo-popover { position: static; display: none; width: 100%; max-height: none; margin-top: 10px; opacity: 1; visibility: visible; transform: none; }
  .lo-info.info-open { display: contents; }
  .lo-info.info-open .lo-popover { display: block; }
  .curriculum-topic-main:has(.lo-info.info-open) { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .lo-info.info-open .lo-info-button { grid-column: 2; grid-row: 1; }
  .lo-info.info-open .lo-popover { grid-column: 1 / -1; grid-row: 2; }
  .topic-hero-grid h1 { font-size: 44px; }
  .image-hero::before { background-position: 68% center; background-size: cover; opacity: .46; }
  .topic-summary { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .topic-summary div { min-width: 0; padding: 15px 8px; }
  .topic-tools { grid-template-columns: 1fr; padding: 22px 0; }
  .topic-search { width: 100%; }
  .topic-layout { padding-block: 45px 68px; }
  .instructor-layout { padding-block: 38px 58px; }
  .instructor-grid .topic-section { padding: 16px; }
  .instructor-grid .topic-copy { grid-template-columns: 108px minmax(0, 1fr); column-gap: 15px; }
  .instructor-grid .topic-copy > .topic-image { width: 108px; height: 145px; }
  .instructor-grid .topic-copy h2 { font-size: 22px; }
  .testimonial-track, .testimonial-card { min-height: 360px; }
  .testimonial-card figcaption { flex-direction: column; gap: 4px; }
  .fcps-overview, .fcps-poster-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions > a { width: 100%; justify-content: center; }
  .topic-section { grid-template-columns: 1fr; gap: 5px; padding-bottom: 42px; margin-bottom: 39px; }
  .resource-pair { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .topic-image-grid { grid-template-columns: 1fr; }
  .portrait-stage { min-height: 520px; padding: 12px; border-radius: 18px; }
  .portrait-stage .portrait-slide { height: min(65vh, 560px); }
  .resource-card, .video-load { grid-template-columns: 40px 1fr auto; gap: 12px; padding: 13px; }
  .quiz-launch { grid-template-columns: 38px 1fr auto; gap: 11px; padding: 12px; }
  .quiz-mark { width: 36px; height: 36px; }
  .quiz-panel { padding: 15px; }
  .quiz-header h3 { font-size: 18px; }
  .quiz-form legend { font-size: 17px; }
  .quiz-option { grid-template-columns: auto 24px 1fr; padding: 10px; }
  .quiz-actions .quiz-primary { width: 100%; }
  .quiz-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .quiz-reset { margin-left: 0; }
  .quiz-history-item summary { grid-template-columns: 1fr; gap: 4px; }
}

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