:root {
  --ink: #16324f;
  --ink-2: #244b63;
  --teal: #1f8a8a;
  --teal-2: #2da3a3;
  --mint: #d8eef2;
  --mint-2: #f1f8f8;
  --coral: #f26b5b;
  --sun: #f4c675;
  --cream: #f4efe7;
  --blue-wash: #e8f3f4;
  --white: #ffffff;
  --text: #183042;
  --muted: #657786;
  --border: #d9e3e8;
  --shadow: 0 18px 45px rgba(23, 59, 87, 0.12);
  --shadow-small: 0 8px 24px rgba(23, 59, 87, 0.09);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 227, 232, 0.9);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 206px; height: 46px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 650; font-size: 0.94rem; color: var(--ink); }
.main-nav a:hover { color: var(--teal-2); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: white; color: var(--ink); font-weight: 700; }
.language-button:hover { color: white; background: var(--teal); border-color: var(--teal); }
.mobile-menu { display: none; width: 42px; height: 42px; padding: 10px; background: white; border: 1px solid var(--border); border-radius: 10px; }
.mobile-menu span { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; color: white; background: var(--teal); border: 1px solid var(--teal); border-radius: 11px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); background: #095a57; box-shadow: var(--shadow-small); }
.button-small { min-height: 40px; padding-inline: 15px; font-size: .9rem; }
.button-outline { color: var(--ink); background: white; border-color: #b8c9d2; }
.button-outline:hover { color: var(--teal); background: var(--mint-2); box-shadow: none; }
.button-cream { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.text-link { color: var(--teal); font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: var(--coral); }
.section-heading { max-width: 690px; margin-bottom: 30px; }
.section-heading h2 { margin: 8px 0 8px; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.hero { position: relative; overflow: hidden; padding: 70px 0 72px; background: var(--cream); }
.hero::after { content: ""; position: absolute; inset: auto -8% -150px 35%; height: 280px; background: var(--mint); border-radius: 50% 0 0 0; transform: rotate(-5deg); opacity: .7; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; }
.hero-copy h1 { max-width: 720px; margin: 14px 0 20px; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(3.15rem, 6vw, 5.25rem); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.hero-copy h1 em { color: var(--teal); font-style: normal; }
.hero-copy > p { max-width: 620px; margin: 0 0 26px; color: #4e6675; font-size: 1.12rem; }
.search-shell { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 680px; padding: 8px; background: white; border: 1px solid #d4e0e5; border-radius: 14px; box-shadow: var(--shadow-small); }
.search-shell label { display: flex; align-items: center; gap: 11px; min-width: 0; padding-left: 12px; }
.search-shell svg { flex: 0 0 auto; color: var(--teal); }
.search-shell input { width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-shell input::placeholder { color: #8798a4; }
.quick-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.filter-chip { padding: 8px 13px; color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid #b8c9d2; border-radius: 999px; font-size: .86rem; font-weight: 700; }
.filter-chip:hover { color: var(--teal); border-color: var(--teal-2); background: white; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 23px; color: var(--muted); font-size: .82rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.check-dot { display: inline-grid; place-items: center; width: 19px; height: 19px; color: white; background: var(--teal); border-radius: 50%; font-size: .7rem; font-weight: 900; }

.hero-visual { position: relative; min-height: 485px; }
.atlas-orbit { position: absolute; inset: 20px 30px 10px 25px; border: 1px dashed rgba(14,107,103,.28); border-radius: 48% 52% 44% 56%; transform: rotate(-6deg); }
.atlas-orbit::before { content: ""; position: absolute; width: 270px; height: 270px; right: 42px; top: 75px; border: 54px solid rgba(126,215,196,.35); border-radius: 50%; }
.texas-shape { position: absolute; width: 220px; height: 250px; right: 62px; top: 102px; background: linear-gradient(150deg, var(--teal), var(--ink)); clip-path: polygon(14% 0,58% 3%,65% 18%,81% 19%,81% 35%,100% 47%,82% 60%,73% 79%,54% 100%,38% 80%,21% 79%,19% 57%,0 48%,9% 29%); opacity: .95; filter: drop-shadow(0 25px 25px rgba(23,59,87,.17)); }
.texas-shape::after { content: "TX"; position: absolute; inset: 0; display: grid; place-items: center; padding-top: 24px; color: rgba(255,255,255,.2); font-family: "DM Serif Display", serif; font-size: 5rem; }
.floating-card { position: absolute; z-index: 3; width: 260px; padding: 18px; background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.floating-card.card-one { left: 0; top: 35px; }
.floating-card.card-two { right: 0; bottom: 38px; width: 245px; }
.floating-card .mini-top { display: flex; align-items: center; gap: 12px; }
.mini-logo { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; color: white; background: linear-gradient(145deg, var(--ink), var(--teal)); border-radius: 14px; font-weight: 800; }
.floating-card strong { display: block; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.floating-card small { color: var(--muted); }
.mini-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.mini-badges span { padding: 4px 8px; color: var(--teal); background: var(--mint-2); border-radius: 6px; font-size: .7rem; font-weight: 750; }
.verified-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: .76rem; }
.verified-seal { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; color: white; background: var(--teal); border-radius: 50%; font-weight: 900; }

.trust-bar { padding: 20px 0; background: var(--ink); color: white; }
.trust-inner { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); align-items: center; gap: 24px; }
.trust-intro { font-weight: 700; }
.trust-item { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.trust-item strong { display: block; font-size: 1.35rem; }
.trust-item span { color: #c9d9df; font-size: .79rem; }

.section { padding: 82px 0; }
.section-soft { background: var(--mint-2); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.path-card { position: relative; overflow: hidden; min-height: 205px; padding: 23px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); }
.path-card::after { content: attr(data-step); position: absolute; right: 13px; bottom: -34px; color: rgba(14,107,103,.07); font-family: "DM Serif Display", serif; font-size: 7.5rem; }
.path-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; color: var(--teal); background: var(--mint); border-radius: 14px; font-weight: 800; }
.path-card h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.15rem; }
.path-card p { position: relative; z-index: 1; margin: 0 0 16px; color: var(--muted); font-size: .88rem; }
.path-card span { position: relative; z-index: 1; color: var(--teal); font-size: .83rem; font-weight: 750; }

.feature-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.school-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(23,59,87,.02); transition: box-shadow .2s ease, transform .2s ease; }
.school-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-small); }
.school-card-top { display: flex; gap: 14px; align-items: flex-start; }
.school-monogram { display: grid; place-items: center; width: 62px; height: 62px; flex: 0 0 auto; color: white; background: linear-gradient(145deg, var(--ink), var(--teal-2)); border-radius: 16px; font-size: 1.05rem; font-weight: 800; letter-spacing: .03em; }
.school-monogram.alt { color: var(--ink); background: linear-gradient(145deg, #ffdfae, var(--coral)); }
.school-monogram.mint { color: var(--ink); background: linear-gradient(145deg, #dff4ef, #7ed7c4); }
.school-card h3 { margin: 1px 0 4px; color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.school-card .location { color: var(--muted); font-size: .82rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: var(--ink-2); background: var(--blue-wash); border-radius: 6px; font-size: .72rem; font-weight: 750; }
.badge.verified { color: var(--teal); background: var(--mint); }
.badge.enhanced { color: #7e451e; background: #fff0dc; }
.school-card p { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.school-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding: 14px 0; border-top: 1px solid var(--border); }
.school-meta span { color: var(--muted); font-size: .73rem; }
.school-meta strong { display: block; color: var(--ink); font-size: .83rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 3px; }
.compare-check { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.compare-check input { width: 16px; height: 16px; accent-color: var(--teal); }

.city-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; align-items: stretch; }
.city-map { position: relative; min-height: 440px; overflow: hidden; background: #dcecf0; border-radius: 28px; }
.city-map::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(23,59,87,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(23,59,87,.09) 1px, transparent 1px); background-size: 42px 42px; transform: rotate(8deg) scale(1.2); }
.map-road { position: absolute; height: 7px; width: 120%; left: -10%; background: white; border: 1px solid #bfd3dc; border-radius: 10px; transform-origin: center; }
.map-road.r1 { top: 38%; transform: rotate(16deg); }
.map-road.r2 { top: 68%; transform: rotate(-19deg); }
.map-road.r3 { width: 95%; top: 46%; left: 18%; transform: rotate(68deg); }
.map-pin { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; color: white; background: var(--teal); border: 4px solid white; border-radius: 50% 50% 50% 12%; box-shadow: var(--shadow-small); transform: rotate(-45deg); font-size: .72rem; font-weight: 800; }
.map-pin span { transform: rotate(45deg); }
.pin-a { left: 19%; top: 20%; }.pin-b { left: 56%; top: 28%; }.pin-c { left: 33%; top: 62%; }.pin-d { left: 72%; top: 68%; }
.city-copy { padding: 28px 0; }
.city-copy h2 { margin: 8px 0 13px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 2.8rem; font-weight: 400; line-height: 1.1; }
.city-copy > p { color: var(--muted); }
.city-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 25px 0; }
.city-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; background: white; border: 1px solid var(--border); border-radius: 11px; font-weight: 700; }
.city-link span { color: var(--muted); font-size: .75rem; font-weight: 600; }

.guide-grid { display: grid; grid-template-columns: 1.25fr .875fr .875fr; gap: 20px; }
.guide-card { overflow: hidden; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.guide-art { position: relative; height: 170px; overflow: hidden; background: var(--blue-wash); }
.guide-card.featured .guide-art { height: 240px; }
.guide-art::before, .guide-art::after { content: ""; position: absolute; border-radius: 50%; }
.guide-art::before { width: 170px; height: 170px; left: 24px; top: 35px; background: var(--mint); }
.guide-art::after { width: 105px; height: 105px; right: 23px; top: 18px; background: var(--sun); opacity: .8; }
.guide-art .art-mark { position: absolute; z-index: 2; left: 50%; top: 50%; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 4rem; transform: translate(-50%,-50%); }
.guide-body { padding: 21px; }
.guide-body .category { color: var(--teal); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-body h3 { margin: 8px 0; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.guide-card.featured h3 { font-size: 1.85rem; }
.guide-body p { margin: 0 0 14px; color: var(--muted); font-size: .87rem; }

.claim-banner { position: relative; overflow: hidden; padding: 52px; color: white; background: var(--ink); border-radius: 28px; }
.claim-banner::after { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -150px; border: 70px solid rgba(126,215,196,.22); border-radius: 50%; }
.claim-banner > * { position: relative; z-index: 1; }
.claim-banner h2 { max-width: 700px; margin: 0 0 10px; font-family: "DM Serif Display", serif; font-size: 2.7rem; font-weight: 400; line-height: 1.1; }
.claim-banner p { max-width: 700px; color: #d0dee4; }
.claim-actions { display: flex; gap: 12px; margin-top: 24px; }

/* Listing */
.page-hero { padding: 44px 0 34px; background: var(--cream); border-bottom: 1px solid var(--border); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; color: var(--muted); font-size: .82rem; }
.breadcrumbs span:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9aabb5; }
.page-hero h1 { margin: 0 0 10px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; line-height: 1.05; }
.page-hero p { max-width: 780px; margin: 0; color: var(--muted); }
.page-search { max-width: 620px; margin-top: 24px; }
.results-section { padding: 34px 0 74px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.results-toolbar strong { color: var(--ink); }
.results-toolbar span { color: var(--muted); font-size: .86rem; }
.sort-select { height: 42px; padding: 0 38px 0 12px; color: var(--ink); background: white; border: 1px solid var(--border); border-radius: 9px; }
.results-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; }
.filter-panel { align-self: start; position: sticky; top: 102px; padding: 19px; border: 1px solid var(--border); border-radius: 14px; }
.filter-panel h2 { margin: 0 0 17px; color: var(--ink); font-size: 1rem; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--border); }
.filter-group h3 { margin: 0 0 11px; font-size: .82rem; }
.filter-option { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: var(--muted); font-size: .82rem; }
.filter-option input { accent-color: var(--teal); }
.filter-actions { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.filter-actions .button { width: 100%; }
.filter-reset { padding: 8px 4px; color: var(--muted); background: transparent; border: 0; font-size: .82rem; font-weight: 700; }
.filter-reset:hover { color: var(--teal); text-decoration: underline; }
.filter-feedback { min-height: 20px; color: var(--teal); font-size: .78rem; font-weight: 750; text-align: center; }
.result-list { display: grid; gap: 15px; }
.result-card { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 18px; padding: 20px; background: white; border: 1px solid var(--border); border-radius: 16px; }
.result-card[hidden] { display: none !important; }
.result-card .school-monogram { width: 76px; height: 76px; }
.result-card h2 { margin: 0 0 3px; color: var(--ink); font-size: 1.14rem; }
.result-card .address { color: var(--muted); font-size: .8rem; }
.result-card p { margin: 11px 0; color: var(--muted); font-size: .82rem; }
.result-card .badge-row { margin: 9px 0 0; }
.result-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; min-width: 125px; }
.updated { color: var(--muted); font-size: .71rem; }
.result-actions { display: flex; align-items: center; gap: 10px; }
.save-button { display: grid; place-items: center; width: 40px; height: 40px; color: var(--teal); background: white; border: 1px solid var(--border); border-radius: 10px; font-size: 1.1rem; }
.result-description { grid-column: 2 / -1; padding-top: 13px; border-top: 1px solid var(--border); }
.result-description strong { color: var(--ink); font-size: .8rem; }
.result-description span { color: var(--muted); font-size: .78rem; }
.seo-callout { margin-top: 28px; padding: 22px; background: var(--mint-2); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; }
.seo-callout h2 { margin: 0 0 6px; color: var(--ink); font-size: 1.05rem; }
.seo-callout p { margin: 0; color: var(--muted); font-size: .84rem; }

/* Detail */
.detail-head { padding: 34px 0 28px; background: var(--cream); border-bottom: 1px solid var(--border); }
.detail-title-row { display: flex; align-items: flex-start; gap: 20px; }
.detail-title-row .school-monogram { width: 86px; height: 86px; border-radius: 22px; font-size: 1.28rem; }
.detail-title { min-width: 0; }
.detail-title h1 { margin: 0 0 5px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 400; line-height: 1.08; }
.detail-title .subline { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .86rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.unclaimed { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.unclaimed i { width: 8px; height: 8px; background: #9cafb9; border-radius: 50%; }
.detail-tabs { background: white; border-bottom: 1px solid var(--border); }
.tab-list { display: flex; gap: 28px; overflow-x: auto; }
.tab-button { flex: 0 0 auto; padding: 17px 2px 14px; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; font-size: .85rem; font-weight: 700; }
.tab-button.active { color: var(--teal); border-color: var(--teal); }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 28px; padding: 36px 0 78px; }
.content-stack { display: grid; gap: 22px; }
.panel { padding: 26px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.panel h2 { margin: 0 0 15px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 1.65rem; font-weight: 400; }
.panel > p { color: var(--muted); }
.verification-panel { background: linear-gradient(135deg, var(--mint-2), white 70%); border-color: #b9ddd5; }
.verification-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.verification-title .verified-seal { width: 42px; height: 42px; }
.source-date { color: var(--muted); font-size: .72rem; }
.verification-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 18px; }
.verification-item { padding: 14px; background: rgba(255,255,255,.78); border: 1px solid #cfe7e1; border-radius: 11px; }
.verification-item span { display: block; color: var(--muted); font-size: .7rem; }
.verification-item strong { color: var(--ink); font-size: .86rem; }
.at-glance { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; margin-top: 18px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; }
.stat { padding: 17px; background: white; }
.stat span { display: block; color: var(--muted); font-size: .7rem; }
.stat strong { color: var(--ink); font-size: .9rem; }
.program-list { display: grid; gap: 11px; }
.program-row { display: grid; grid-template-columns: 1fr .65fr .65fr auto; align-items: center; gap: 14px; padding: 15px; background: #fbfcfc; border: 1px solid var(--border); border-radius: 11px; }
.program-row strong { color: var(--ink); font-size: .9rem; }
.program-row span { color: var(--muted); font-size: .77rem; }
.status-pill { padding: 5px 8px; color: var(--teal)!important; background: var(--mint); border-radius: 6px; font-weight: 750; }
.unknown-notice { display: flex; gap: 12px; margin-top: 16px; padding: 15px; color: #68543a; background: #fff7e9; border-radius: 11px; font-size: .8rem; }
.source-list { display: grid; gap: 10px; }
.source-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--border); }
.source-row:first-child { border-top: 0; }
.source-row strong { display: block; color: var(--ink); font-size: .84rem; }
.source-row span { color: var(--muted); font-size: .72rem; }
.side-stack { align-self: start; position: sticky; top: 102px; display: grid; gap: 17px; }
.claim-card { padding: 23px; color: white; background: var(--ink); border-radius: var(--radius); }
.claim-card .tiny-label { color: #97d8cd; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.claim-card h2 { margin: 7px 0 8px; font-family: "DM Serif Display", serif; font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.claim-card p { margin: 0 0 18px; color: #cbdbe2; font-size: .8rem; }
.claim-card ul { margin: 0 0 20px; padding-left: 18px; color: #d7e4e8; font-size: .77rem; }
.contact-card { padding: 21px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card h3 { margin: 0 0 12px; color: var(--ink); font-size: .95rem; }
.contact-line { display: flex; gap: 10px; padding: 10px 0; color: var(--muted); border-top: 1px solid var(--border); font-size: .78rem; }
.contact-line:first-of-type { border-top: 0; }

.simple-page { min-height: 58vh; padding: 62px 0 82px; }
.simple-page h1 { margin: 8px 0 14px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 3.4rem; font-weight: 400; }
.simple-page > .container > p { max-width: 760px; color: var(--muted); }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 30px; }
.principle-card { padding: 23px; border: 1px solid var(--border); border-radius: var(--radius); }
.principle-card span { color: var(--coral); font-size: .74rem; font-weight: 800; }
.principle-card h2 { margin: 8px 0; color: var(--ink); font-size: 1.1rem; }
.principle-card p { margin: 0; color: var(--muted); font-size: .84rem; }

.compare-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.comparison-table { overflow-x: auto; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.comparison-row { display: grid; grid-template-columns: 170px repeat(var(--comparison-count, 3), minmax(190px, 1fr)); min-width: 620px; border-top: 1px solid var(--border); }
.comparison-row:first-child { border-top: 0; }
.comparison-label { padding: 18px; color: var(--muted); background: var(--mint-2); font-size: .8rem; font-weight: 750; }
.comparison-value { min-width: 0; padding: 18px; color: var(--text); border-left: 1px solid var(--border); font-size: .86rem; }
.comparison-schools .comparison-value { display: grid; align-content: start; gap: 10px; }
.comparison-schools h2 { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.comparison-schools .school-monogram { width: 52px; height: 52px; border-radius: 14px; }

.article-hero { padding: 56px 0 42px; background: var(--cream); border-bottom: 1px solid var(--border); }
.article-container { max-width: 880px; }
.article-hero h1 { max-width: 820px; margin: 12px 0; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.7rem, 5vw, 4.6rem); font-weight: 400; line-height: 1.04; }
.article-dek { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.12rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.article-meta span::before { content: "·"; margin-right: 12px; }
.article-section { padding: 54px 0 84px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 250px; align-items: start; gap: 48px; }
.article-content { color: #435b6b; font-size: 1.03rem; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { margin: 34px 0 10px; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1.15; }
.article-content li { margin: 9px 0; }
.article-aside { position: sticky; top: 102px; padding: 20px; background: var(--mint-2); border: 1px solid #c5e5e4; border-radius: 14px; }
.article-aside strong { color: var(--ink); }
.article-aside p { color: var(--muted); font-size: .84rem; }

.site-footer { padding: 60px 0 22px; background: #102f45; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .65fr); gap: 45px; }
.footer-brand img { width: 190px; padding: 8px; background: white; border-radius: 12px; }
.footer-brand p { max-width: 360px; color: #bed0d9; font-size: .85rem; }
.prototype-note { display: block; max-width: 370px; color: #8eabb8; font-size: .7rem; }
.site-footer h3 { margin: 0 0 14px; font-size: .88rem; }
.site-footer a { display: block; margin: 9px 0; color: #bed0d9; font-size: .8rem; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 42px; padding-top: 19px; color: #8eabb8; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.compare-dock { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 28px; min-width: 360px; padding: 11px 12px 11px 17px; color: white; background: var(--ink); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; box-shadow: var(--shadow); }
.compare-dock[hidden] { display: none; }
.compare-dock strong { display: block; font-size: .85rem; }
.compare-dock span { color: #bcd0da; font-size: .68rem; }

@media (max-width: 980px) {
  .mobile-menu { display: block; margin-left: auto; }
  .main-nav { position: fixed; inset: 78px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 20px 24px; background: white; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-small); }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  body.menu-open .main-nav { display: flex; }
  .header-actions .language-button { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-intro { grid-column: 1 / -1; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .school-grid { grid-template-columns: 1fr 1fr; }
  .school-card:last-child { display: none; }
  .city-layout { grid-template-columns: 1fr; }
  .city-map { min-height: 360px; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-card.featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-stack { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { height: 68px; }
  .brand img { width: 164px; height: 40px; }
  .main-nav { top: 68px; }
  .header-actions { display: none; }
  .hero { padding: 48px 0 54px; }
  .hero-grid { gap: 30px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .search-shell { grid-template-columns: 1fr; }
  .search-shell .button { width: 100%; }
  .hero-visual { min-height: 360px; margin-inline: -4px; }
  .atlas-orbit { inset: 15px 0; }
  .texas-shape { width: 170px; height: 190px; right: 28px; top: 88px; }
  .floating-card { width: 220px; padding: 14px; }
  .floating-card.card-two { width: 205px; bottom: 0; }
  .trust-inner { grid-template-columns: 1fr; gap: 12px; }
  .trust-intro { grid-column: auto; }
  .trust-item { padding: 11px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .section { padding: 58px 0; }
  .path-grid, .school-grid, .guide-grid { grid-template-columns: 1fr; }
  .school-card:last-child { display: flex; }
  .feature-header { display: block; }
  .feature-header .text-link { display: inline-block; margin-bottom: 22px; }
  .city-links { grid-template-columns: 1fr; }
  .guide-card.featured { grid-column: auto; }
  .claim-banner { padding: 30px 24px; }
  .claim-banner h2 { font-size: 2.15rem; }
  .claim-actions { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .results-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .filter-panel .filter-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .result-card { grid-template-columns: 58px minmax(0,1fr); gap: 13px; }
  .result-card .school-monogram { width: 58px; height: 58px; }
  .result-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .result-description { grid-column: 1 / -1; }
  .detail-title-row { flex-direction: column; }
  .detail-title-row .school-monogram { width: 72px; height: 72px; }
  .verification-grid, .at-glance { grid-template-columns: 1fr 1fr; }
  .program-row { grid-template-columns: 1fr 1fr; }
  .side-stack { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-aside { position: static; }
  .compare-header { flex-direction: column; align-items: flex-start; }
  .compare-dock { width: calc(100% - 28px); min-width: 0; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto!important; transition: none!important; }
}
.legal-links{display:flex;flex-wrap:wrap;gap:16px;padding:18px 0 0;border-top:1px solid rgba(255,255,255,.16);margin-top:22px;font-size:.86rem}.legal-links a{color:#d9edf1;text-decoration:none}.legal-links a:hover{text-decoration:underline}.legal-content{max-width:860px}.legal-content h2{margin-top:34px}.legal-content p{line-height:1.7}.legal-note{border-left:3px solid #ff6f61;padding:14px 18px;background:#f4f8f8;color:#526d7f;margin-top:40px}.cookie-banner{position:fixed;z-index:20;left:24px;right:24px;bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;background:#173b57;color:#fff;border-radius:14px;box-shadow:0 12px 35px rgba(13,37,54,.3)}.cookie-banner[hidden]{display:none}.cookie-copy{max-width:760px}.cookie-copy strong{font-size:1rem}.cookie-copy p{margin:6px 0;font-size:.9rem;line-height:1.45;color:#e3f0f2}.cookie-copy a{color:#9fe0df;font-size:.88rem}.cookie-actions{display:flex;gap:10px;flex-shrink:0}.cookie-actions .button-outline{color:#fff;border-color:#b8d4dc;background:transparent}@media(max-width:700px){.cookie-banner{left:12px;right:12px;bottom:12px;display:block}.cookie-actions{margin-top:14px}.cookie-actions button{width:100%}.legal-links{gap:10px 14px}}
