@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=IBM+Plex+Mono:wght@500;600&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&display=swap');

:root {
  --ink: #0b1739;
  --blue: #2458d3;
  --blue-deep: #10265c;
  --aqua: #00b6aa;
  --coral: #ec645f;
  --sun: #eeba3f;
  --violet: #6547b8;
  --sky: #dff2f5;
  --paper: #f7f6f1;
  --muted: #525e78;
  --line: #d5d9e3;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(28, 43, 81, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Nunito Sans", sans-serif; }
button, select, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: var(--sun); padding: .8rem 1rem; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { height: 82px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; color: var(--white); position: absolute; inset: 0 0 auto; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: var(--aqua); color: var(--ink); border-radius: 10px; font: 600 .74rem "IBM Plex Mono"; position: relative; box-shadow: 0 8px 18px rgba(0, 182, 170, .24); }
.logo-badge { overflow: hidden; border-radius: 50%; background: var(--white); padding: 1px; }
.logo-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark > span { position: absolute; right: -6px; top: -9px; color: var(--coral); font-size: .9rem; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-family: "Bricolage Grotesque"; font-size: 1.05rem; letter-spacing: -.03em; }
.brand small { font: 600 .53rem "IBM Plex Mono"; letter-spacing: .27em; margin-top: .34rem; }
.site-header .brand { gap: .9rem; }
.site-header .brand-mark { width: 66px; height: 66px; box-shadow: 0 10px 24px rgba(0,0,0,.24); }
.site-header .brand strong { font-size: 1.85rem; }
.site-header .brand small { font-size: .7rem; letter-spacing: .31em; }
.header-nav { display: flex; align-items: center; gap: 1.25rem; }
.header-nav > a, .subjects-menu > summary { color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 800; }
.header-nav > a:hover, .subjects-menu > summary:hover { color: #70e2d9; }
.subjects-menu { position: relative; }
.subjects-menu > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .4rem; }
.subjects-menu > summary::-webkit-details-marker { display: none; }
.subjects-menu > summary::after { content: "⌄"; color: var(--sun); font-size: .9rem; }
.subjects-menu > div { position: absolute; right: 0; top: calc(100% + .8rem); width: 235px; padding: .55rem; display: grid; gap: .15rem; color: var(--ink); background: var(--white); border: 1px solid rgba(255,255,255,.7); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.subjects-menu > div::before { content: ""; position: absolute; top: -.7rem; right: 1.4rem; width: 1.2rem; height: 1.2rem; background: var(--white); transform: rotate(45deg); z-index: -1; }
.subjects-menu a { padding: .7rem .75rem; border-radius: 8px; text-decoration: none; font-size: .83rem; font-weight: 800; }
.subjects-menu a:hover { color: var(--blue); background: #eef3fc; }
.mobile-menu { display: none; }
.hero { min-height: 750px; color: var(--white); display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); padding: 132px clamp(1.25rem, 7vw, 7rem) 72px; gap: 5vw; align-items: center; position: relative; overflow: hidden; background: linear-gradient(122deg, #091735 0%, #142f69 68%, #163c78 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(90deg, transparent 25%, black); }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; right: -210px; top: -190px; background: rgba(238, 186, 63, .92); }
.hero-copy, .hero-visual { position: relative; z-index: 1; min-width: 0; }
.hero-visual { z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 600 .66rem "IBM Plex Mono"; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.3rem; }
.hero .eyebrow { color: #67ded5; }
.eyebrow span { display: block; width: 25px; height: 3px; background: var(--coral); border-radius: 999px; }
h1 { font-size: clamp(3.45rem, 5vw, 5.5rem); line-height: .94; letter-spacing: -.06em; margin-bottom: 1.7rem; max-width: 820px; }
h1 em { color: #50d6cc; font-style: normal; }
.hero-lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.7; color: #ced9ee; max-width: 650px; font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 1.45rem; margin: 2.2rem 0 2rem; }
.button { min-height: 50px; padding: .85rem 1.2rem; border: 0; border-radius: 9px; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 1.2rem; text-transform: uppercase; font-size: .69rem; font-weight: 900; letter-spacing: .07em; transition: transform .2s, box-shadow .2s; }
.button-primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.button:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(52, 87, 241, .3); }
.text-button { color: var(--white); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.7); padding: .45rem .05rem; cursor: pointer; font-size: .81rem; font-weight: 800; }
.trust-list { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; list-style: none; padding: 0; margin: 0; color: #bbc8e1; font-size: .74rem; font-weight: 700; }
.trust-list span { color: var(--aqua); padding-right: .25rem; }

.hero-visual { min-height: 500px; display: grid; place-items: center; }
.class-board { width: min(525px, 94%); padding: 1.15rem; background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.5); border-radius: 18px; box-shadow: 0 30px 75px rgba(0,0,0,.28); display: grid; gap: .72rem; color: var(--ink); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .2rem .25rem .75rem; border-bottom: 1px solid var(--line); font: 600 .59rem "IBM Plex Mono"; letter-spacing: .1em; }
.board-top small { color: var(--muted); font: 700 .68rem "Nunito Sans"; letter-spacing: 0; }
.topic-tile { min-height: 73px; padding: .75rem .85rem; border: 1px solid transparent; border-radius: 13px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.topic-tile:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(28,43,81,.1); }
.topic-tile > b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--white); font: 600 .65rem "IBM Plex Mono"; }
.topic-tile > b svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topic-tile > span { display: grid; gap: .15rem; }
.topic-tile strong { font-size: .92rem; }
.topic-tile small { color: var(--muted); font-size: .66rem; font-weight: 700; }
.topic-tile i { font: normal 600 .6rem "IBM Plex Mono"; color: var(--muted); }
.cyber-tile { background: #dfebfa; border-color: #bfd4f0; }
.cyber-tile > b { background: #2159a9; }
.ai-tile { background: #e9e2f7; border-color: #d3c6ed; }
.ai-tile > b { background: var(--violet); }
.cs-tile { background: #d9efec; border-color: #b9ddd7; }
.cs-tile > b { background: #087f77; }
.tech-tile { background: #faedc8; border-color: #ead596; }
.tech-tile > b { background: #a86d0f; }
.board-footer { display: flex; align-items: center; gap: .5rem; padding: .45rem .2rem 0; }
.board-footer span { padding: .34rem .55rem; background: #f1f3f8; border-radius: 999px; color: var(--muted); font-size: .61rem; font-weight: 800; }
.board-footer a { margin-left: auto; color: var(--blue); font-size: .68rem; font-weight: 800; text-decoration: none; }
.board-footer a:hover { text-decoration: underline; }

.explorer-section { padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 7rem); max-width: 1600px; margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; margin-bottom: 2.5rem; }
h2 { font-size: clamp(2.65rem, 4.7vw, 4.9rem); line-height: .95; letter-spacing: -.052em; margin-bottom: 0; }
.section-heading > p { color: var(--muted); max-width: 540px; line-height: 1.67; margin: 0; font-size: 1rem; font-weight: 600; }
.filter-panel { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 1rem; padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 17px; box-shadow: 0 16px 42px rgba(28,43,81,.09); }
.filter-intro { grid-column: 1 / -1; display: flex; align-items: center; gap: .75rem; padding: .05rem .1rem .25rem; }
.filter-intro span { padding: .35rem .58rem; background: #edf0ff; color: var(--blue); border-radius: 999px; font: 600 .55rem "IBM Plex Mono"; text-transform: uppercase; }
.filter-intro strong { font-family: "Bricolage Grotesque"; font-size: 1.38rem; }
.filter-panel label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .62rem; text-transform: uppercase; font: 600 .88rem "IBM Plex Mono"; letter-spacing: .055em; color: #39445f; }
.filter-panel label b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #e9f7f5; color: #14887e; font-size: .56rem; }
.filter-panel select { grid-column: 1 / -1; }
select { width: 100%; background: #fbfcfe; color: var(--ink); border: 1px solid #cfd5e1; border-radius: 9px; padding: .86rem 2.5rem .86rem .9rem; min-height: 56px; cursor: pointer; font-size: 1.12rem; font-weight: 700; }
.reset-button { min-height: 54px; border: 1px solid #cfd5e1; border-radius: 9px; background: #f4f6fa; color: var(--ink); cursor: pointer; padding: 0 1.05rem; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.results-bar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.results-bar p { margin: 0; font-size: .84rem; color: var(--muted); font-weight: 700; }
.results-bar strong { color: var(--blue); font-family: "Bricolage Grotesque"; font-size: 1.15rem; }
.active-filters { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: flex-end; }
.filter-chip { font: 600 .55rem "IBM Plex Mono"; letter-spacing: .04em; padding: .36rem .58rem; background: #e9f7f5; border-radius: 999px; color: #08776d; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.resource-card { --topic-color: var(--blue); --topic-soft: #eef2ff; min-height: 455px; padding: 0; border: 1px solid var(--line); border-top: 4px solid var(--topic-color); border-radius: 16px; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s, border-color .22s; position: relative; overflow: hidden; background: var(--white); box-shadow: 0 8px 24px rgba(28,43,81,.06); }
.resource-card[data-topic="Cybersecurity"] { --topic-color: #7b3fb2; --topic-soft: #f0e7f8; }
.resource-card[data-topic="AI"] { --topic-color: #247a43; --topic-soft: #e3f3e8; }
.resource-card[data-topic="Computer Science"] { --topic-color: #b95c16; --topic-soft: #fff0df; }
.resource-card[data-topic="Technology"] { --topic-color: #1769aa; --topic-soft: #e4f1fb; }
.resource-card:hover { transform: translateY(-5px); border-color: #c8cfde; box-shadow: 0 18px 38px rgba(28,43,81,.12); }
.card-media { aspect-ratio: 2.87 / 1; position: relative; overflow: hidden; background: var(--blue-deep); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(7,18,45,.38), color-mix(in srgb, var(--topic-color) 18%, transparent)); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.resource-card:hover .card-media img { transform: scale(1.035); }
.card-topline { margin: 1.15rem 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.topic-badge { font: 600 .54rem "IBM Plex Mono"; letter-spacing: .07em; text-transform: uppercase; color: var(--topic-color); background: var(--topic-soft); border-radius: 999px; padding: .35rem .55rem; }
.card-number { color: #9aa1b3; font: 600 .59rem "IBM Plex Mono"; }
.resource-card h3 { font-size: 1.26rem; line-height: 1.14; letter-spacing: -.032em; margin: 1.2rem 1.3rem .75rem; max-width: 92%; }
.product-title-link { margin: 0; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; line-height: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.product-title-link:hover { color: var(--topic-color); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18rem; }
.card-description { margin: 0 1.3rem; color: var(--muted); font-size: .78rem; line-height: 1.6; font-weight: 600; }
.card-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin: auto 1.3rem 0; }
.meta-tag { padding: .3rem .48rem; background: #f4f6fa; border-radius: 6px; color: #646c7f; font: 500 .51rem "IBM Plex Mono"; text-transform: uppercase; }
.category-link { margin: 1.15rem 1.3rem 1.25rem; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); padding: 1rem 0 0; width: calc(100% - 2.6rem); text-align: left; display: flex; justify-content: space-between; cursor: pointer; text-transform: uppercase; font-weight: 900; letter-spacing: .055em; font-size: .65rem; }
.category-link span { color: var(--topic-color); font-size: 1rem; }
.empty-state { text-align: center; border: 1px dashed var(--blue); background: #eef8fc; border-radius: 16px; padding: 4rem 1rem; }
.empty-state > span { display: block; font: 700 1.5rem "IBM Plex Mono"; color: var(--coral); }
.empty-state h3 { font-size: 1.65rem; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); }
.explorer-actions { display: flex; justify-content: center; margin-top: 2.4rem; }
.explorer-actions[hidden] { display: none; }

.reviews-section { max-width: 1500px; margin: 0 auto; padding: clamp(4.7rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem); }
.reviews-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; margin-bottom: 2.5rem; }
.reviews-heading > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 650; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.review-grid blockquote { margin: 0; min-height: 270px; padding: 1.6rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 5px solid var(--aqua); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
.review-grid blockquote:nth-child(2) { border-top-color: var(--violet); }
.review-grid blockquote:nth-child(3) { border-top-color: var(--sun); }
.review-grid blockquote > p { margin: 0 0 1.6rem; color: var(--ink); font-family: "Bricolage Grotesque"; font-size: 1.2rem; line-height: 1.5; font-weight: 750; }
.review-grid blockquote footer { margin-top: auto; padding: 1rem 0 0; display: grid; gap: .25rem; border-top: 1px solid var(--line); color: var(--muted); background: transparent; font-size: .76rem; }
.review-grid blockquote footer strong { color: var(--blue); font-size: .88rem; }

.freebie-dialog { width: min(900px, calc(100% - 2rem)); background: var(--white); }
.freebie-layout { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 520px; }
.freebie-image { display: grid; place-items: center; padding: 2rem; background: linear-gradient(145deg, #08152f, #163a73); }
.freebie-image img { width: 100%; border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.freebie-copy { padding: clamp(2rem, 5vw, 3.5rem); align-self: center; }
.freebie-copy h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: .98; }
.freebie-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.65; font-weight: 650; }
.freebie-copy .ml-embedded { margin: 1.2rem 0; }
.freebie-copy > small { display: block; color: #6b7488; font-size: .72rem; line-height: 1.5; }

.about-hero { min-height: 680px; padding: 145px clamp(1.25rem, 7vw, 7rem) 90px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); color: var(--white); background: linear-gradient(122deg, #091735 0%, #142f69 68%, #163c78 100%); }
.about-hero h1 { max-width: 900px; font-size: clamp(3.6rem, 6.4vw, 6.5rem); line-height: .98; }
.about-hero > div > p:last-child { max-width: 760px; margin: 0; color: #d2dcef; font-size: 1.1rem; line-height: 1.72; font-weight: 650; }
.about-hero aside { padding: clamp(1.6rem, 3.5vw, 2.6rem); border: 1px solid rgba(255,255,255,.25); border-top: 6px solid var(--sun); border-radius: 18px; background: rgba(255,255,255,.1); }
.about-hero aside span { color: #8de9e2; font: 600 .72rem "IBM Plex Mono"; text-transform: uppercase; letter-spacing: .08em; }
.about-hero aside strong { display: block; margin: .75rem 0 1rem; font: 750 clamp(1.7rem, 3vw, 2.5rem)/1.08 "Bricolage Grotesque"; }
.about-hero aside p { margin: 0; color: #d2dcef; line-height: 1.7; font-weight: 620; }
.about-mission { max-width: 1400px; margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 7rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); }
.about-mission h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.about-mission > div:last-child { display: grid; gap: 1.2rem; align-content: center; }
.about-mission > div:last-child p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.78; font-weight: 620; }
.about-values { max-width: 1280px; margin: 0 auto clamp(3rem, 6vw, 5rem); padding: 0 clamp(1.25rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.about-values article { padding: 1.7rem; border: 1px solid var(--line); border-top: 5px solid var(--aqua); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
.about-values article:nth-child(2) { border-top-color: var(--violet); }
.about-values article:nth-child(3) { border-top-color: var(--sun); }
.about-values article:nth-child(4) { border-top-color: var(--blue); }
.about-values span { color: var(--blue); font: 700 .78rem "IBM Plex Mono"; }
.about-values h3 { margin: .8rem 0 .6rem; font-size: 1.55rem; }
.about-values p { margin: 0; color: var(--muted); line-height: 1.65; font-weight: 620; }
.about-faq { max-width: 1280px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem); display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.about-faq-heading { position: sticky; top: 120px; }
.about-faq-heading h2 { max-width: 500px; font-size: clamp(2.6rem, 4.8vw, 4.7rem); }
.about-faq-list { border-top: 1px solid var(--line); }
.about-faq-list details { border-bottom: 1px solid var(--line); }
.about-faq-list summary { position: relative; padding: 1.4rem 3rem 1.4rem 0; cursor: pointer; list-style: none; color: var(--ink); font: 750 clamp(1.05rem, 1.7vw, 1.3rem)/1.35 "Bricolage Grotesque"; }
.about-faq-list summary::-webkit-details-marker { display: none; }
.about-faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: 1.2rem; color: var(--blue); font-size: 1.7rem; font-weight: 500; }
.about-faq-list details[open] summary::after { content: "−"; }
.about-faq-list details p { max-width: 760px; margin: -.2rem 0 1.5rem; color: var(--muted); font-size: 1rem; line-height: 1.72; font-weight: 620; }

.district-section { max-width: 1400px; margin: 0 auto; padding: clamp(5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem) 0; }
.district-heading { max-width: 900px; margin-bottom: 2.5rem; }
.district-heading h2 { margin-bottom: 1rem; font-size: clamp(2.8rem, 5vw, 5rem); }
.district-heading > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 650; }
.district-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.district-options article { padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.district-options article:last-child { border-top-color: var(--aqua); }
.district-options article > span { color: var(--blue); font: 700 .72rem "IBM Plex Mono"; text-transform: uppercase; letter-spacing: .08em; }
.district-options h3 { margin: .8rem 0; font-size: 1.8rem; }
.district-options p { color: var(--muted); line-height: 1.65; font-weight: 620; }
.district-options ul { margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; list-style: none; }
.district-options li { display: flex; gap: .65rem; color: #3e4c69; font-weight: 720; }
.district-options li::before { content: "✓"; color: #087f77; font-weight: 900; }

.insights-section { background: var(--blue-deep); color: var(--white); padding: clamp(4.8rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem); position: relative; overflow: hidden; }
.insights-section::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; right: -260px; top: -300px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.insights-section > * { position: relative; z-index: 1; }
.eyebrow.light { color: #5be0d5; }
.eyebrow.light span { background: var(--sun); }
.insights-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: end; margin-bottom: 2.5rem; }
.insights-heading > p { color: #cbd5eb; font-size: 1rem; line-height: 1.7; font-weight: 600; max-width: 560px; margin: 0; }
.blog-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1rem; }
.blog-card { min-height: 330px; padding: 1.5rem; background: #f9f9f6; color: var(--ink); border-radius: 14px; border-top: 5px solid var(--aqua); display: flex; flex-direction: column; box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.blog-card.featured-post { background: #e9eefb; border-top-color: var(--coral); }
.blog-card:nth-child(3) { border-top-color: var(--sun); }
.blog-topic { align-self: flex-start; padding: .35rem .58rem; background: rgba(36,88,211,.1); color: var(--blue); border-radius: 999px; font: 600 .55rem "IBM Plex Mono"; letter-spacing: .05em; text-transform: uppercase; }
.blog-date { margin: 1.2rem 0 .55rem; color: #737c91; font-size: .68rem; font-weight: 800; }
.blog-card h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.18; letter-spacing: -.035em; margin-bottom: .8rem; }
.blog-card > p:last-of-type { color: var(--muted); font-size: .79rem; line-height: 1.6; font-weight: 600; }
.blog-link, .blog-card-link { margin-top: auto; padding: 1rem 0 0; border: 0; border-top: 1px solid #d6dae4; background: transparent; color: var(--ink); display: flex; justify-content: space-between; cursor: pointer; font-size: .69rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.blog-link span, .blog-card-link span { color: var(--coral); font-size: 1rem; }
.insights-actions { display: flex; justify-content: center; margin-top: 2.2rem; }
.blog-all-button { color: var(--ink); background: var(--sun); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
footer { padding: 2rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #11182f; color: #bdc4da; font-size: .74rem; }
.footer-brand { color: var(--white); }
footer p { margin: 0; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .8rem 1.1rem; }
.footer-links a { color: var(--white); font-weight: 800; text-underline-offset: .2rem; }
.footer-social { padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.38); border-radius: 8px; color: var(--white); font-size: .7rem; font-weight: 900; text-decoration: none; }
.footer-social.is-pending { border-style: dashed; color: #9da7c3; cursor: help; }

.contact-strip { max-width: 1500px; margin: clamp(4rem, 7vw, 6.5rem) auto; padding: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(2rem, 6vw, 5rem); border: 1px solid #c9d2e2; border-top: 6px solid var(--aqua); border-radius: 20px; background: #eef3fb; box-shadow: 0 18px 45px rgba(28,43,81,.1); }
.contact-strip.compact { max-width: 1240px; }
.contact-strip h2 { max-width: 760px; font-size: clamp(2.25rem, 4.2vw, 4rem); }
.contact-strip > div:last-child { display: grid; justify-items: start; gap: 1.25rem; }
.contact-strip > div:last-child p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 650; }

dialog { --dialog-color: var(--blue); width: min(690px, calc(100% - 2rem)); border: 0; border-radius: 20px; padding: 0; color: var(--ink); box-shadow: 0 28px 85px rgba(15,23,52,.35); overflow: hidden; }
dialog[data-topic="Cybersecurity"] { --dialog-color: #7b3fb2; }
dialog[data-topic="AI"] { --dialog-color: #247a43; }
dialog[data-topic="Computer Science"] { --dialog-color: #b95c16; }
dialog[data-topic="Technology"] { --dialog-color: #1769aa; }
dialog::backdrop { background: rgba(23, 32, 60, .7); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); cursor: pointer; font-size: 1.4rem; line-height: 1; z-index: 1; }
.dialog-hero { background: var(--dialog-color); color: var(--white); padding: 3rem clamp(1.5rem, 5vw, 3.2rem) 2.35rem; }
.dialog-kicker { display: inline-flex; background: rgba(255,255,255,.16); color: var(--white); border-radius: 999px; padding: .4rem .65rem; font: 600 .57rem "IBM Plex Mono"; letter-spacing: .08em; text-transform: uppercase; }
.dialog-hero h2 { font-size: clamp(2.35rem, 6vw, 3.8rem); margin: 1rem 0; }
.dialog-hero p { color: var(--white); line-height: 1.65; font-weight: 600; }
.dialog-body { padding: 2rem clamp(1.5rem, 5vw, 3.2rem) 2.5rem; }
.dialog-body h3 { font-family: "IBM Plex Mono"; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.dialog-body ul { padding: 0; list-style: none; display: grid; gap: .65rem; }
.dialog-body li { padding: .75rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .7rem; font-weight: 700; }
.dialog-body li::before { content: "→"; color: var(--dialog-color); font-weight: 900; }
.dialog-note { margin: 1.5rem 0 0; background: #eef8fc; border-radius: 10px; padding: 1rem; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.dialog-actions { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dialog-actions > span { max-width: 330px; color: var(--muted); font-size: .68rem; line-height: 1.5; font-weight: 700; }
.dialog-actions .button { flex: 0 0 auto; }
.blog-dialog { width: min(780px, calc(100% - 2rem)); max-height: min(86vh, 900px); background: #f9f8f3; }
.blog-dialog .dialog-close { background: var(--sun); }
.blog-article { padding: clamp(2rem, 6vw, 4rem); }
.blog-article .dialog-kicker { background: #e2ebe9; color: #087f77; }
.blog-article h2 { margin: 1.2rem 0 1rem; font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: .98; letter-spacing: -.05em; }
.article-intro { color: var(--muted); font-size: 1.1rem; line-height: 1.68; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.blog-article section { margin-top: 1.6rem; }
.blog-article section h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.blog-article section p { color: var(--muted); line-height: 1.7; }
.article-signoff { margin: 2rem 0 0; padding: 1.1rem; border-left: 4px solid var(--aqua); background: #e8f3f1; color: var(--muted); line-height: 1.6; }

.topic-page { --topic-page-color: #397cdb; --topic-page-soft: #dfeafb; }
.topic-page.topic-ai { --topic-page-color: #9b7dea; --topic-page-soft: #eee9fb; }
.topic-page.topic-computer-science { --topic-page-color: #25bcae; --topic-page-soft: #dff5f1; }
.topic-page.topic-technology { --topic-page-color: #eeba3f; --topic-page-soft: #fbefca; }
.topic-page-hero { min-height: 660px; padding: 145px clamp(1.25rem, 7vw, 7rem) 85px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); color: var(--white); background: linear-gradient(122deg, #091735 0%, #142f69 68%, #163c78 100%); position: relative; overflow: hidden; }
.topic-page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -220px; top: -220px; background: color-mix(in srgb, var(--topic-page-color) 78%, transparent); box-shadow: 0 0 0 85px color-mix(in srgb, var(--topic-page-color) 10%, transparent), 0 0 0 170px color-mix(in srgb, var(--topic-page-color) 6%, transparent); }
.topic-page-copy, .topic-overview-card { position: relative; z-index: 1; min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: #cad6eb; text-decoration: none; font-size: .86rem; font-weight: 800; margin-bottom: 2rem; }
.back-link:hover { color: var(--white); }
.topic-page-kicker { display: flex; align-items: center; gap: .85rem; color: #cbd7eb; font: 600 .72rem "IBM Plex Mono"; letter-spacing: .09em; text-transform: uppercase; }
.topic-page-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; color: #081633; background: var(--topic-page-color); box-shadow: 0 12px 30px color-mix(in srgb, var(--topic-page-color) 30%, transparent); }
.topic-page-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topic-page-copy h1 { font-size: clamp(4.2rem, 8vw, 7.5rem); line-height: .88; margin: 1.5rem 0 1.7rem; max-width: 760px; }
.topic-page-summary { max-width: 680px; color: #d2dcef; font-size: clamp(1.05rem, 1.45vw, 1.24rem); line-height: 1.7; font-weight: 600; }
.topic-overview-card { padding: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.65); border-top: 6px solid var(--topic-page-color); border-radius: 18px; box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.overview-label { margin-bottom: .7rem; color: var(--blue); font: 600 .69rem "IBM Plex Mono"; letter-spacing: .08em; text-transform: uppercase; }
.topic-overview-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; margin-bottom: 1.5rem; }
.topic-overview-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.topic-overview-card li { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; color: #3d4964; font-size: .96rem; line-height: 1.45; font-weight: 700; }
.topic-overview-card li::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--topic-page-soft); color: color-mix(in srgb, var(--topic-page-color) 78%, #07142f); font-size: .75rem; font-weight: 900; }
.overview-note { margin-top: 1.5rem; padding: 1rem; border-radius: 11px; background: var(--topic-page-soft); }
.overview-note strong { display: block; font-family: "Bricolage Grotesque"; font-size: 1.03rem; }
.overview-note p { margin: .35rem 0 0; color: #4b5873; font-size: .82rem; line-height: 1.55; font-weight: 600; }
.topic-featured { max-width: 1600px; margin: 0 auto; padding: clamp(5rem, 8vw, 7.5rem) clamp(1.25rem, 7vw, 7rem); }
.topic-featured-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; margin-bottom: 2.7rem; }
.topic-featured-heading > p { margin: 0; max-width: 540px; color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 600; }
.topic-resource-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.topic-page-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.3rem; }
.topic-page-actions .button-primary { background: var(--blue); }
.topic-coming-soon { margin-top: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px dashed #8aa0c9; border-radius: 15px; background: #eef3fc; }
.topic-coming-soon .eyebrow { margin-bottom: .9rem; }
.topic-coming-soon h3 { margin: 0 0 .65rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.topic-coming-soon > p:last-child { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.65; font-weight: 650; }
.text-link { color: var(--ink); font-size: .84rem; font-weight: 900; text-underline-offset: .25rem; }

.blog-page-hero { padding: 150px clamp(1.25rem, 7vw, 7rem) 88px; color: var(--white); background: linear-gradient(122deg, #091735 0%, #142f69 68%, #163c78 100%); position: relative; overflow: hidden; }
.blog-page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -180px; top: -220px; background: rgba(238,186,63,.9); box-shadow: 0 0 0 75px rgba(238,186,63,.08); }
.blog-page-hero > * { position: relative; z-index: 1; }
.blog-page-hero h1 { max-width: 1080px; margin-bottom: 1.5rem; font-size: clamp(3.35rem, 6.2vw, 6.4rem); line-height: 1.1; letter-spacing: -.012em; }
.blog-page-hero > p:last-child { max-width: 740px; margin: 0; color: #d0daee; font-size: 1.12rem; line-height: 1.7; font-weight: 600; }
.blog-library { max-width: 1500px; margin: 0 auto; padding: clamp(4.7rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem); }
.blog-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.blog-library-heading > div { max-width: 800px; }
.blog-library-heading > p { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: .95rem; font-weight: 800; }
.blog-library-heading > p strong { color: var(--blue); font-family: "Bricolage Grotesque"; font-size: 1.5rem; }
.blog-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 315px); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.blog-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.blog-index-card { --article-color: var(--blue); min-height: 325px; padding: 1.5rem; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--article-color); border-radius: 15px; box-shadow: 0 10px 28px rgba(28,43,81,.07); transition: transform .2s, box-shadow .2s; }
.blog-index-card[data-category="Artificial Intelligence"] { --article-color: var(--violet); }
.blog-index-card[data-category="Teaching Strategy"] { --article-color: var(--aqua); }
.blog-index-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(28,43,81,.12); }
.blog-index-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.blog-index-meta span { padding: .35rem .58rem; border-radius: 999px; color: var(--article-color); background: color-mix(in srgb, var(--article-color) 11%, white); font: 600 .7rem "IBM Plex Mono"; text-transform: uppercase; letter-spacing: .04em; }
.blog-index-meta time { color: #737c91; font-size: .74rem; font-weight: 800; text-align: right; }
.blog-index-card h2 { margin: 0 0 .8rem; font-size: clamp(1.45rem, 2.25vw, 2rem); line-height: 1.08; letter-spacing: -.035em; }
.blog-index-card h2 a { color: var(--ink); text-decoration: none; }
.blog-index-card h2 a:hover { color: var(--blue); }
.blog-index-card > p { color: var(--muted); font-size: .92rem; line-height: 1.6; font-weight: 600; }
.blog-index-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .74rem; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .055em; }
.blog-index-link span { color: var(--article-color); font-size: 1rem; }
.blog-sidebar { position: sticky; top: 1.2rem; display: grid; gap: 1rem; }
.archive-panel { padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 9px 25px rgba(28,43,81,.06); }
.archive-label { margin-bottom: .8rem; color: #667089; font: 600 .75rem "IBM Plex Mono"; letter-spacing: .07em; text-transform: uppercase; }
.archive-links { display: grid; gap: .35rem; }
.archive-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .72rem .78rem; border-radius: 8px; color: var(--ink); font-size: .88rem; font-weight: 800; text-decoration: none; }
.archive-link:hover { background: #eef2fb; color: var(--blue); }
.archive-link[aria-current="page"] { color: var(--white); background: var(--blue); }
.archive-link b { min-width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e9eefb; font-size: .72rem; }
.archive-link[aria-current="page"] b { color: var(--blue); background: var(--white); }
.archive-note { padding: 1.35rem; border-radius: 14px; color: var(--white); background: var(--blue-deep); box-shadow: 0 13px 30px rgba(28,43,81,.15); }
.archive-note strong { font-family: "Bricolage Grotesque"; font-size: 1.05rem; }
.archive-note p { margin: .55rem 0 0; color: #cbd5eb; font-size: .82rem; line-height: 1.55; }
.blog-empty { padding: 3.5rem; text-align: center; border: 1px dashed var(--blue); border-radius: 14px; background: #eef3fc; }
.blog-empty h2 { margin-bottom: .8rem; font-size: 2rem; }
.blog-empty a { color: var(--blue); font-weight: 900; }
.newsletter-section { max-width: 1280px; margin: 0 auto clamp(4.5rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); border-radius: 22px; color: var(--white); background: linear-gradient(125deg, #10265c, #173d7d); box-shadow: 0 24px 60px rgba(16,38,92,.22); }
.newsletter-section h2 { margin-bottom: 1.2rem; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.newsletter-section > div:first-child > p:last-child { max-width: 720px; margin: 0; color: #ced9eb; font-size: 1rem; line-height: 1.7; font-weight: 600; }
.newsletter-status { padding: 1.5rem; border: 1px solid rgba(255,255,255,.2); border-top: 5px solid var(--sun); border-radius: 15px; background: rgba(255,255,255,.1); backdrop-filter: blur(5px); }
.newsletter-status span { display: block; color: #9ce8e1; font: 600 .72rem "IBM Plex Mono"; letter-spacing: .07em; text-transform: uppercase; }
.newsletter-status strong { display: block; margin: .65rem 0; font-family: "Bricolage Grotesque"; font-size: 1.8rem; }
.newsletter-status p { margin: 0; color: #d4ddef; font-size: .88rem; line-height: 1.6; font-weight: 600; }
.community-button { margin-top: 1.25rem; color: var(--ink); background: var(--sun); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

.contact-page-hero { min-height: 620px; padding: 150px clamp(1.25rem, 7vw, 7rem) 86px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); color: var(--white); background: linear-gradient(122deg, #091735 0%, #142f69 65%, #173d7d 100%); position: relative; overflow: hidden; }
.contact-page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -260px; border-radius: 50%; background: rgba(0,182,170,.55); box-shadow: 0 0 0 80px rgba(0,182,170,.07); }
.contact-page-hero > * { position: relative; z-index: 1; }
.contact-page-hero h1 { max-width: 900px; font-size: clamp(3.5rem, 6.5vw, 6.6rem); line-height: .98; }
.contact-page-hero > div > p:last-child { max-width: 760px; margin: 0; color: #d2dcef; font-size: 1.1rem; line-height: 1.72; font-weight: 650; }
.contact-details { padding: clamp(1.5rem, 3.2vw, 2.4rem); border: 1px solid rgba(255,255,255,.24); border-top: 6px solid var(--sun); border-radius: 17px; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.contact-details span { display: block; color: #8de9e2; font: 600 .72rem "IBM Plex Mono"; letter-spacing: .08em; text-transform: uppercase; }
.contact-details strong { display: block; margin: .65rem 0 .8rem; color: var(--white); font: 750 clamp(1.55rem, 3vw, 2.25rem)/1.05 "Bricolage Grotesque"; }
.contact-details a { display: inline-block; margin: .7rem 0 1rem; color: var(--white); font: 750 clamp(1.35rem, 2.7vw, 2rem) "Bricolage Grotesque"; text-underline-offset: .3rem; }
.contact-details p { margin: 0; color: #d2dcef; font-size: .88rem; line-height: 1.65; font-weight: 650; }
.community-signup .ml-embedded { margin-top: 1.2rem; }
.community-page-hero { min-height: calc(100vh - 122px); padding: 150px clamp(1.25rem, 7vw, 7rem) 100px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); color: var(--white); background: linear-gradient(122deg, #091735 0%, #142f69 58%, #087f77 130%); position: relative; overflow: hidden; }
.community-page-hero::after { content: ""; position: absolute; width: 540px; height: 540px; right: -240px; top: -270px; border-radius: 50%; background: rgba(0,182,170,.48); box-shadow: 0 0 0 85px rgba(0,182,170,.07); }
.community-page-hero > * { position: relative; z-index: 1; }
.community-page-hero h1 { max-width: 850px; font-size: clamp(3.5rem, 6.5vw, 6.6rem); line-height: .98; }
.community-page-hero > div > p:last-child { max-width: 700px; margin: 0; color: #d2dcef; font-size: 1.1rem; line-height: 1.72; font-weight: 650; }
.contact-form-section { max-width: 1420px; margin: 0 auto; padding: clamp(5rem, 8vw, 7.5rem) clamp(1.25rem, 7vw, 7rem); display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-form-intro h2 { margin-bottom: 1.25rem; }
.contact-form-intro > p:last-of-type { color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 650; }
.contact-form-intro ul { margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; list-style: none; }
.contact-form-intro li { display: flex; gap: .7rem; color: #3e4c69; font-weight: 750; }
.contact-form-intro li::before { content: "✓"; color: #087f77; font-weight: 900; }
.contact-form { padding: clamp(1.35rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .55rem; color: #36425e; font-size: .87rem; font-weight: 850; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #c9d0dd; border-radius: 9px; background: #fbfcfe; color: var(--ink); padding: .88rem .95rem; font-size: 1rem; }
.contact-form textarea { min-height: 165px; resize: vertical; line-height: 1.6; }
.full-field { grid-column: 1 / -1; }
.form-action-row { display: flex; align-items: center; gap: 1.2rem; }
.form-action-row p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; font-weight: 650; }
.form-action-row button:disabled { cursor: wait; opacity: .7; }
.form-action-row p.form-success { color: #176c3a; }
.form-action-row p.form-error { color: #a83232; }

.article-page-hero { padding: 145px clamp(1.25rem, 7vw, 7rem) 78px; color: var(--white); background: linear-gradient(122deg, #091735 0%, #142f69 68%, #163c78 100%); }
.article-page-hero-inner { max-width: 1120px; margin: 0 auto; }
.article-category { display: inline-flex; margin-bottom: 1.1rem; padding: .4rem .66rem; border-radius: 999px; color: #07142f; background: var(--sun); font: 600 .72rem "IBM Plex Mono"; letter-spacing: .06em; text-transform: uppercase; }
.article-page-hero h1 { max-width: 1050px; margin-bottom: 1.2rem; font-size: clamp(3.1rem, 6vw, 6rem); line-height: .93; }
.article-page-meta { margin: 0; color: #cbd6e9; font-size: .9rem; font-weight: 800; }
.article-layout { max-width: 1240px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
.article-body { padding: clamp(1.6rem, 5vw, 3.6rem); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.article-deck { margin-bottom: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); color: #33415e; font-size: 1.2rem !important; line-height: 1.65 !important; font-weight: 800 !important; }
.article-body h2 { margin: 2rem 0 .55rem; font-size: 1.65rem; line-height: 1.1; letter-spacing: -.03em; }
.article-body > p, .article-body li { color: #46536c; font-size: 1.02rem; line-height: 1.78; font-weight: 600; }
.article-body ul, .article-body ol { display: grid; gap: .55rem; padding-left: 1.35rem; }
.article-callout { margin: 1.8rem 0; padding: 1.15rem 1.25rem; border-left: 5px solid var(--aqua); border-radius: 0 10px 10px 0; color: #3e4b66; background: #e6f4f2; font-size: .96rem; line-height: 1.65; }
.article-ending { margin-top: 2.3rem; padding: 1.25rem; border-radius: 11px; color: #3e4b66; background: #eef2fb; }
.article-ending strong { font-family: "Bricolage Grotesque"; color: var(--ink); font-size: 1.08rem; }
.article-ending p { margin: .35rem 0 0; line-height: 1.6; }
.article-back { display: inline-flex; margin-top: 2rem; color: var(--blue); font-weight: 900; text-underline-offset: .25rem; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

@media (max-width: 1080px) {
  .header-nav { gap: .85rem; }
  .header-nav > a, .subjects-menu > summary { font-size: .7rem; }
  .hero { grid-template-columns: 1fr .85fr; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .reset-button { width: max-content; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.featured-post { grid-column: 1 / -1; }
  .topic-page-hero { grid-template-columns: 1fr .8fr; gap: 3rem; }
  .topic-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-post-list { grid-template-columns: 1fr; }
  .header-nav { gap: .65rem; }
  .header-nav > a, .subjects-menu > summary { font-size: .65rem; }
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .site-header .brand-mark { width: 52px; height: 52px; }
  .site-header .brand strong { font-size: 1.3rem; }
  .site-header .brand small { font-size: .55rem; }
  .header-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu > summary { min-height: 44px; padding: .65rem .75rem; display: flex; align-items: center; gap: .55rem; border: 1px solid rgba(255,255,255,.4); border-radius: 9px; color: var(--white); background: rgba(255,255,255,.08); cursor: pointer; list-style: none; font-size: .73rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary i { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .mobile-menu > summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
  .mobile-menu[open] > summary { color: var(--ink); background: var(--sun); border-color: var(--sun); }
  .mobile-menu nav { position: absolute; right: 0; top: calc(100% + .65rem); width: min(340px, calc(100vw - 1.6rem)); max-height: calc(100vh - 95px); overflow-y: auto; padding: .8rem; display: grid; gap: .18rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--aqua); border-radius: 13px; box-shadow: 0 22px 55px rgba(0,0,0,.28); }
  .mobile-menu nav a { padding: .72rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 800; }
  .mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--blue); background: #eef3fc; }
  .mobile-menu-label { padding: .35rem .8rem .2rem; color: #68728a; font: 600 .7rem "IBM Plex Mono"; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-menu-divider { height: 1px; margin: .45rem 0; background: var(--line); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 115px; }
  h1 { font-size: clamp(3rem, 12.7vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-visual { min-height: 470px; }
  .class-board { width: 94%; }
  .section-heading, .insights-heading { grid-template-columns: 1fr; gap: 1.8rem; }
  .filter-panel { grid-template-columns: 1fr; padding: 1rem; }
  .filter-intro { align-items: flex-start; flex-direction: column; }
  .reset-button { width: 100%; }
  .results-bar { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .active-filters { justify-content: flex-start; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 440px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured-post { grid-column: auto; }
  .blog-card { min-height: 290px; }
  .dialog-actions { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .contact-strip { margin-inline: 1.25rem; grid-template-columns: 1fr; align-items: start; }
  .topic-page-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 118px; gap: 2.5rem; }
  .topic-page-copy h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .topic-featured-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .topic-resource-grid { grid-template-columns: 1fr; }
  .topic-page-actions { align-items: stretch; flex-direction: column; }
  .topic-page-actions .button { width: 100%; }
  .text-link { text-align: center; }
  .blog-page-hero { padding-top: 120px; }
  .blog-page-hero h1 { font-size: clamp(3.15rem, 14vw, 4.6rem); }
  .blog-library-heading { align-items: flex-start; flex-direction: column; }
  .blog-layout, .article-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .article-page-hero { padding-top: 120px; }
  .article-page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .article-body { padding: 1.35rem; }
  .newsletter-section { margin-inline: 1.25rem; grid-template-columns: 1fr; }
  .contact-page-hero, .community-page-hero { min-height: auto; padding-top: 120px; grid-template-columns: 1fr; }
  .contact-page-hero h1, .community-page-hero h1 { font-size: clamp(3rem, 13vw, 4.7rem); }
  .contact-form-section { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full-field, .contact-form label { grid-column: 1; }
  .form-action-row { align-items: flex-start; flex-direction: column; }
  .reviews-heading, .about-mission, .about-faq { grid-template-columns: 1fr; gap: 2rem; }
  .review-grid, .about-values, .district-options { grid-template-columns: 1fr; }
  .about-hero { min-height: auto; padding-top: 120px; grid-template-columns: 1fr; }
  .about-hero h1 { font-size: clamp(3rem, 13vw, 4.7rem); }
  .about-faq-heading { position: static; }
  .freebie-layout { grid-template-columns: 1fr; }
  .freebie-image { padding: 1.4rem 4rem; }
}

@media (max-width: 440px) {
  .site-header { padding-inline: .8rem; }
  .site-header .brand { gap: .6rem; }
  .site-header .brand-mark { width: 46px; height: 46px; }
  .site-header .brand strong { font-size: 1.02rem; }
  .site-header .brand small { font-size: .48rem; }
  .mobile-menu > summary span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .mobile-menu > summary { padding-inline: .7rem; }
  .board-top { align-items: flex-start; flex-direction: column; }
  .topic-tile { grid-template-columns: 38px 1fr; }
  .topic-tile > b { width: 36px; height: 36px; }
  .topic-tile i { display: none; }
  .board-footer a { display: none; }
  .freebie-image { padding: 1rem 2.5rem; }
  .freebie-copy { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
