/* Burbank USD Facilities Master Plan. One stylesheet for every page. */
:root {
  --maroon: #620c2f;
  --slate: #2f5d8a;
  --gold: #c58b1a;
  --gold-tint: #fbf3e2;
  --border: #e5e7eb;
  --text: #222;
  --muted: #6b7280;
  --navy: #24364f;
  --head: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; top: 0 !important; position: static !important; }
img { max-width: 100%; display: block; }
a { color: var(--slate); }
a:hover { color: var(--maroon); }
h1, h2, h3 { font-family: var(--head); color: var(--maroon); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Source labels and missing data */
.src { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: #8a8f98; font-weight: 400; letter-spacing: 0; font-family: var(--body); }
.src.inline { display: inline; margin: 0 0 0 6px; }
.dn { color: #9ca3af; font-size: 0.9em; font-style: italic; font-weight: 400; }
.dn-box { display: flex; align-items: center; justify-content: center; min-height: 220px; border: 1px dashed var(--border); border-radius: var(--radius); background: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); min-height: 70px; }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover { color: var(--maroon); background: #f9fafb; }
.main-nav a[aria-current='page'] { color: var(--maroon); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.lang { display: flex; align-items: center; gap: 6px; color: var(--slate); border: 1px solid var(--border); border-radius: 999px; padding: 4px 6px 4px 10px; }
.lang svg { width: 18px; height: 18px; flex: none; }
.lang select { border: 0; background: transparent; font: 500 14px var(--body); color: var(--text); max-width: 150px; cursor: pointer; padding: 4px 2px; }
.lang select:focus { outline: none; }
.lang:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--border); background: #fff; border-radius: 10px; width: 42px; height: 42px; color: var(--maroon); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Google translator: no banner bar, no hover balloons, no highlight */
.goog-te-banner-frame, iframe.skiptranslate, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .goog-te-spinner-pos,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none; }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--body); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #ad7814; color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.pills li { background: var(--gold-tint); color: #7a5410; border: 1px solid #f0dfb8; border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #620c2f 0%, #620c2f 55%, #2f5d8a 100%); padding: 84px 0 150px; }
.hero .rays { position: absolute; top: -260px; right: -220px; width: 760px; height: 760px; opacity: 0.16; pointer-events: none; }
.hero-in { position: relative; max-width: 780px; }
.eyebrow { font: 700 13px/1.4 var(--body); letter-spacing: 0.14em; color: #f3d48f; margin: 0 0 18px; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4rem); margin-bottom: 20px; }
.hero .sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.92); max-width: 640px; margin-bottom: 32px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stat cards */
.stats { position: relative; z-index: 2; margin-top: -92px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 18px; }
.stat .num { font: 800 clamp(2rem, 3.6vw, 2.75rem)/1 var(--head); letter-spacing: -0.02em; display: block; }
.stat .lbl { display: block; margin-top: 8px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.c-maroon { color: var(--maroon); }
.c-slate { color: var(--slate); }

/* Sections */
.section { padding: 72px 0 0; }
.section:last-of-type { padding-bottom: 80px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.section-head p { color: #4b5563; margin: 0; max-width: 640px; }
.section-head h2 { margin: 0 0 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-2 > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 14px; }
.lead-num { font: 800 2.3rem/1 var(--head); }

/* Module cards */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s; }
.module:hover { color: var(--text); box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d1d5db; }
.module .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.module .ic svg { width: 26px; height: 26px; }
.module h3 { margin: 6px 0 0; }
.module p { margin: 0; color: #4b5563; font-size: 15px; }
.module .go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--slate); }

/* Charts */
.chart svg { width: 100%; max-width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--body); }
.hbars { display: grid; gap: 12px; }
.hbar { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; }
.hbar .name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.hbar .name a { color: var(--text); text-decoration: none; }
.hbar .name a:hover { color: var(--maroon); text-decoration: underline; }
.hbar .track { position: relative; height: 26px; border-radius: 6px; background: #f3f4f6; }
.hbar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--slate); min-width: 3px; }
.hbar .fill.gold { background: var(--gold); }
.hbar .val { position: absolute; top: 50%; transform: translateY(-50%); font: 700 13px var(--body); color: var(--text); white-space: nowrap; }
.hbars.compact { gap: 7px; }
.hbars.compact .hbar { grid-template-columns: 150px 1fr; }
.hbars.compact .track { height: 18px; }
.hbars.compact .name { font-size: 13px; font-weight: 500; }
.hbar .none { font-size: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: #4b5563; }
.legend .sw { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--slate); vertical-align: middle; margin-right: 6px; }
.legend .sw.dash { border-top: 3px dashed var(--gold); }
th .sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
th .sort:hover { color: var(--maroon); }
th .sort:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.total-line { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 700; }

/* Find my school */
.finder { position: relative; max-width: 520px; }
.finder input { width: 100%; font: 400 17px var(--body); padding: 14px 16px 14px 46px; border: 1px solid #d1d5db; border-radius: 12px; color: var(--text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D8A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px center / 20px; }
.finder input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 139, 26, 0.2); }
.finder ul { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); max-height: 320px; overflow: auto; }
.finder ul[hidden] { display: none; }
.finder li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.finder li a:hover, .finder li a.on { background: var(--gold-tint); color: var(--maroon); }
.finder li small { color: var(--muted); }
.finder .none { padding: 10px 12px; color: var(--muted); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 3px; background: linear-gradient(90deg, var(--maroon), var(--slate)); border-radius: 3px; }
.timeline li { position: relative; padding: 40px 18px 0 0; }
.timeline li::before { content: ''; position: absolute; top: 2px; left: 0; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.timeline .when { font: 800 1.35rem/1.1 var(--head); color: var(--maroon); display: block; margin-bottom: 8px; }
.timeline .big { font: 800 1.6rem/1.1 var(--head); color: var(--slate); display: block; }
.timeline p, .timeline ul { margin: 6px 0 0; font-size: 15px; }
.timeline ul { padding-left: 18px; }

/* State share bar */
.share-bar { display: flex; height: 54px; border-radius: 10px; overflow: hidden; margin: 18px 0 12px; }
.share-bar .state { background: var(--slate); }
.share-bar .range { background: repeating-linear-gradient(135deg, var(--slate) 0 6px, #6f93b8 6px 12px); }
.share-bar .local { background: var(--gold); }
.share-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.share-legend b { font: 800 1.6rem/1 var(--head); display: block; }
.share-legend .l { text-align: right; }
.share-legend span.k { font-weight: 700; }
.callout { border-left: 4px solid var(--gold); background: #fff; padding: 4px 0 4px 16px; margin: 18px 0; }
.list { margin: 0; padding-left: 20px; }
.list li { margin: 6px 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 700; background: #fafafa; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: #4b5563; white-space: nowrap; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tr.group td { background: #fff; font: 700 13px var(--body); color: var(--maroon); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 18px; }
tfoot td { font-weight: 700; border-top: 2px solid var(--border); border-bottom: 0; }
td a { font-weight: 500; }
.up { color: #15803d; }
.down { color: #b91c1c; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #620c2f 0%, #620c2f 55%, #2f5d8a 100%); color: #fff; padding: 52px 0 56px; }
.page-hero .rays { position: absolute; top: -200px; right: -160px; width: 560px; height: 560px; opacity: 0.14; pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; position: relative; }
.page-hero p { color: rgba(255, 255, 255, 0.92); max-width: 700px; margin: 0; font-size: 1.1rem; position: relative; }
.crumbs { font-size: 14px; margin-bottom: 14px; position: relative; }
.crumbs a { color: #f3d48f; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.fact { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.fact .num { font: 800 1.9rem/1.1 var(--head); display: block; }
.fact .lbl { display: block; font-weight: 700; margin-top: 6px; font-size: 14.5px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef3f8; color: var(--slate); }
.tag.gold { background: var(--gold-tint); color: #7a5410; }
.dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dir a { display: block; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.dir a:hover { border-color: var(--gold); color: var(--maroon); }
.dir b { display: block; }
.dir small { color: var(--muted); }
.loading { color: var(--muted); }

/* Priority codes, page questions */
.code { color: #8a8f98; font-size: 0.82em; font-weight: 400; letter-spacing: 0; text-transform: none; }
.page-hero p.q, .page-hero .q { font: 600 1.25rem/1.3 var(--head); color: #f3d48f; margin-bottom: 8px; }
.page-hero .q { display: block; }

/* Project progress */
.chip { display: inline-block; font: 700 12px/1.5 var(--body); padding: 1px 9px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; }
.chip.complete { background: #e7f4ec; color: #15803d; }
.chip.construction { background: #e6eef7; color: var(--slate); }
.chip.design { background: var(--gold-tint); color: #7a5410; }
.chip.planning { background: #f1f2f4; color: #4b5563; }
.roof-line { margin: 22px 0 0; font-size: 1.1rem; color: var(--maroon); }
.pipeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: start; }
.lane { background: #fafafa; border: 1px solid var(--border); border-top: 4px solid #9ca3af; border-radius: var(--radius); padding: 14px 12px; min-width: 0; }
.lane-design { border-top-color: var(--gold); }
.lane-construction { border-top-color: var(--slate); }
.lane-complete { border-top-color: #15803d; }
.lane h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; margin: 0 0 10px; }
.lane .count { font: 700 13px var(--body); color: #4b5563; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0 9px; }
.lane ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 720px; overflow-y: auto; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.pcard b { display: block; }
.pcard .at, .pcard .bud, .pcard .when { display: block; }
.pcard .at a { font-weight: 500; }
.pcard .bud { font-weight: 700; color: var(--slate); }
.pcard .when { color: #4b5563; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 10px; }
.filter { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #4b5563; min-width: 0; flex: 1 1 200px; max-width: 320px; }
.filter select { font: 400 15px var(--body); color: var(--text); padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; width: 100%; }
.showing { font-size: 14px; color: #4b5563; margin: 0 0 10px; }
td.nw { white-space: nowrap; }
.gaps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px 24px; font-size: 14px; }
.gaps li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.gaps b { display: block; font-weight: 500; }
.projs { list-style: none; margin: 0; padding: 0; }
.projs .proj { padding: 12px 0; border-bottom: 1px solid var(--border); }
.projs .proj:first-child { padding-top: 0; }
.proj .meta { font-size: 14.5px; color: #4b5563; margin-top: 4px; }
.gap-line { margin: 16px 0 0; font-size: 14.5px; }

/* Needs at a glance heatmap */
.hm-scroll { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.heatmap { font-size: 13px; border-collapse: separate; border-spacing: 2px; min-width: 980px; }
.heatmap th, .heatmap td { border: 0; padding: 0; }
.heatmap thead th { vertical-align: bottom; padding: 8px 4px; font-size: 12px; line-height: 1.25; text-transform: none; letter-spacing: 0; white-space: normal; background: #fff; color: var(--text); width: 68px; }
.heatmap thead th .code { display: block; font-size: 11px; }
.heatmap th[scope='row'], .heatmap thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-weight: 500; padding: 6px 10px 6px 8px; white-space: nowrap; width: auto; }
.heatmap th[scope='row'] { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--text); }
.heatmap th[scope='row'] a { color: var(--text); font-weight: 500; }
.heatmap td[data-tip] { position: relative; height: 30px; min-width: 60px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(47, 93, 138, 0.12); cursor: default; }
.heatmap tr.go, .heatmap tr.go td[data-tip] { cursor: pointer; }
.heatmap tr.go:hover th[scope='row'] a { color: var(--maroon); text-decoration: underline; }
.heatmap tr.go:hover td[data-tip] { box-shadow: inset 0 0 0 1px rgba(98, 12, 47, 0.45); }
.heatmap .hm-total { padding: 0 8px; color: #4b5563; font-size: 12.5px; background: #fff; }
.heatmap tr.group td { padding: 14px 8px 4px; }
.hm-check { position: absolute; top: 2px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #15803d; color: #fff; font: 700 10px/15px var(--body); text-align: center; box-shadow: 0 0 0 1.5px #fff; }
.hm-dot { position: absolute; bottom: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1.5px #fff; }
.hm-legend .hm-check, .hm-legend .hm-dot { position: static; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.hm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 12px; font-size: 13px; color: #4b5563; }
.hm-scale { display: inline-flex; align-items: center; gap: 6px; }
.hm-ramp { display: inline-block; width: 120px; height: 12px; border-radius: 3px; border: 1px solid var(--border); background: linear-gradient(90deg, #fff, #2f5d8a); }
.hm-tip { position: absolute; z-index: 3; max-width: 280px; padding: 7px 10px; border-radius: 8px; background: #111827; color: #fff; font-size: 13px; line-height: 1.35; pointer-events: none; box-shadow: var(--shadow); }
.hm-tip[hidden] { display: none; }

/* Funding picture */
.fp-need { margin: 0 0 12px; }
.fp-need .lbl { display: block; font-weight: 700; }
.fp-need b { font: 800 clamp(1.7rem, 3.4vw, 2.3rem)/1.1 var(--head); }
.fp-bar { display: flex; height: 46px; border-radius: 10px; overflow: hidden; background: #f3f4f6; }
.fp-abc { background: var(--maroon); }
.fp-state { background: var(--slate); min-width: 3px; }
.fp-rest { background: repeating-linear-gradient(135deg, #e5e7eb 0 6px, #f3f4f6 6px 12px); }
.fp-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; margin: 14px 0 12px; font-size: 14.5px; }
.fp-keys > div { min-width: 0; }
.fp-keys b { display: block; font: 800 1.35rem/1.2 var(--head); }
.fp-keys .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--border); }
.fact .num .of { font-size: 0.6em; color: #4b5563; }
.home-progress { margin: 18px 0 0; text-align: center; font-weight: 700; color: var(--maroon); }
.home-progress:empty { display: none; }

/* Footer */
.site-footer { background: var(--navy); color: #dbe3ee; padding: 48px 0 40px; margin-top: 80px; font-size: 14.5px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1.2fr 0.8fr; gap: 36px; }
.footer-logo { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; box-sizing: content-box; margin-bottom: 14px; }
.site-footer h2 { color: #fff; font: 700 15px var(--body); margin: 0 0 10px; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 7px; }
.site-footer a { color: #f3d48f; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.prepared { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .timeline::before { display: none; }
}
/* Six nav items need the full header width; below that they move into the menu. */
@media (max-width: 1199px) {
  .header-in { flex-wrap: wrap; gap: 10px; padding: 12px 0; min-height: 0; }
  .menu-btn { display: grid; place-items: center; }
  .main-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--gold); }
}
@media (max-width: 860px) {
  .logo img { height: 40px; }
  .gaps { grid-template-columns: 1fr; }
  .fp-keys { grid-template-columns: 1fr; }
  .lang select { max-width: 96px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  .hero { padding: 52px 0 120px; }
  .stats { gap: 12px; margin-top: -84px; }
  .stat { padding: 16px; }
  .modules { grid-template-columns: 1fr; }
  .section { padding-top: 56px; }
  .hbar { grid-template-columns: 92px 1fr; }
  .hbars.compact .hbar { grid-template-columns: 112px 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; }
  .card { padding: 18px; }
  .btn { padding: 13px 20px; font-size: 15px; }
  .logo img { height: 34px; }
  th, td { padding: 9px 10px; }
  .heatmap th[scope='row'] { white-space: normal; min-width: 120px; max-width: 132px; font-size: 12.5px; line-height: 1.25; }
}
@media print { .site-header, #k12ai-host { position: static; } }
