:root {
  color-scheme: light;
  --ink: #19283b;
  --muted: #617087;
  --paper: #fbf8f2;
  --panel: #ffffff;
  --line: #dce3e8;
  --accent: #f45d37;
  --accent-2: #1f7a70;
  --navy: #17324d;
  --wash: #eef3f2;
  --shadow: 0 18px 55px rgba(19, 38, 58, .1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f5f7;
  --muted: #aebdca;
  --paper: #101820;
  --panel: #18232d;
  --line: #30404d;
  --accent: #ff7b58;
  --accent-2: #55c3b4;
  --navy: #d9ebf7;
  --wash: #14242c;
  --shadow: 0 18px 55px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(15px); }
.header-inner { max-width: 1180px; min-height: 74px; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: white; font-family: Georgia, serif; font-size: 23px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.08); }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.theme-toggle { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
.theme-toggle span { font-size: 18px; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 86% 16%, rgba(42, 169, 147, .19), transparent 30%), linear-gradient(135deg, var(--paper) 0%, var(--wash) 100%); }
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: -95px; bottom: -210px; border: 44px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: auto; padding: 82px 24px 66px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); gap: 60px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, Cambria, "Times New Roman", serif; }
h1 { max-width: 780px; margin: 0; color: var(--navy); font-size: clamp(44px, 6.3vw, 79px); line-height: .98; letter-spacing: -.045em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.lede { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-proof { padding: 26px; border: 1px solid color-mix(in srgb, var(--accent-2) 30%, var(--line)); border-radius: 24px; background: color-mix(in srgb, var(--panel) 84%, transparent); box-shadow: var(--shadow); }
.proof-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.proof-top strong { font-family: Georgia, serif; font-size: 44px; }
.proof-top span { padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 15%, transparent); color: var(--accent-2); font-size: 12px; font-weight: 850; }
.hero-proof p { margin: 4px 0 22px; color: var(--muted); font-size: 14px; }
.proof-list { display: grid; gap: 12px; }
.proof-list span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.proof-list span::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-2); color: white; font-size: 12px; }
.trust-strip { border-bottom: 1px solid var(--line); background: var(--panel); }
.trust-inner { max-width: 1180px; margin: auto; padding: 17px 24px; display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 12px; }
.trust-inner strong { color: var(--ink); }
.main { max-width: 1180px; margin: auto; padding: 58px 24px 90px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; color: var(--navy); font-size: clamp(31px, 4vw, 48px); letter-spacing: -.035em; }
.section-head p { max-width: 600px; margin: 9px 0 0; color: var(--muted); line-height: 1.6; }
.count-pill { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; }
.filters { display: grid; grid-template-columns: 1.5fr .8fr .7fr; gap: 12px; margin-bottom: 25px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 10px 35px rgba(19,38,58,.05); }
.field { position: relative; }
.field label { display: block; margin: 0 0 7px 3px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 18%, transparent); }
.hall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.hall-card { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 8px 28px rgba(19,38,58,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hall-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--school-color) 45%, var(--line)); box-shadow: var(--shadow); }
.hall-card a { display: block; height: 100%; padding: 22px; text-decoration: none; }
.hall-card-top { display: flex; justify-content: space-between; gap: 12px; }
.school-chip, .fact-chip { display: inline-flex; align-items: center; padding: 6px 8px; border-radius: 7px; background: color-mix(in srgb, var(--school-color) 12%, var(--panel)); color: var(--school-color); font-size: 11px; font-weight: 850; }
.verified-chip { color: var(--accent-2); font-size: 11px; font-weight: 850; }
.hall-card h3 { margin: 20px 0 5px; color: var(--navy); font-size: 25px; line-height: 1.05; letter-spacing: -.025em; }
.hall-card .location { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.card-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 0; }
.card-facts div { min-width: 0; padding: 10px; border-radius: 10px; background: var(--wash); }
.card-facts dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.card-facts dd { margin: 4px 0 0; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--accent); font-size: 13px; font-weight: 850; }
.empty { padding: 44px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }
.school-band { margin: 76px 0 0; }
.school-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.school-card, .guide-card { position: relative; overflow: hidden; min-height: 235px; padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); text-decoration: none; }
.school-card::after { content: ""; position: absolute; right: -38px; bottom: -55px; width: 150px; height: 150px; border: 26px solid color-mix(in srgb, var(--school-color) 16%, transparent); border-radius: 50%; }
.school-card b { color: var(--school-color); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.school-card h3, .guide-card h3 { position: relative; z-index: 1; margin: 48px 0 10px; color: var(--navy); font-size: 27px; line-height: 1.1; }
.school-card p, .guide-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.guide-card { min-height: 210px; }
.guide-card span { color: var(--accent); font-size: 12px; font-weight: 850; }
.guide-card h3 { margin-top: 36px; }
.detail-hero { border-bottom: 1px solid var(--line); background: linear-gradient(130deg, var(--wash), var(--paper)); }
.detail-hero-inner { max-width: 1050px; margin: auto; padding: 64px 24px 53px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span::before { content: "/"; margin-right: 8px; }
.detail-kicker { display: flex; align-items: center; gap: 10px; color: var(--school-color, var(--accent)); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-hero h1 { max-width: 850px; margin: 12px 0 12px; font-size: clamp(42px, 6vw, 70px); }
.detail-hero .subhead { max-width: 730px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.verified-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.verified-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 750; }
.detail-layout { max-width: 1050px; margin: auto; padding: 46px 24px 90px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); gap: 28px; }
.detail-main, .detail-aside { min-width: 0; }
.panel { margin-bottom: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.panel h2 { margin: 0 0 18px; color: var(--navy); font-size: 29px; letter-spacing: -.025em; }
.panel p { color: var(--muted); line-height: 1.7; }
.fact-list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.fact-list div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.fact-list div:nth-child(odd) { padding-right: 18px; }
.fact-list dt { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.fact-list dd { margin: 5px 0 0; color: var(--ink); font-weight: 780; line-height: 1.45; }
.bullets { display: grid; gap: 11px; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 10px; color: var(--muted); line-height: 1.55; }
.bullets li::before { content: "✓"; flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); font-size: 12px; font-weight: 900; }
.source-card { border-top: 5px solid var(--accent-2); }
.source-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.source-card a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 750; }
.source-card a::after { content: "↗"; color: var(--accent); }
.notice { padding: 17px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 9%, var(--panel)); color: var(--muted); font-size: 13px; line-height: 1.55; }
.guide-body { max-width: 820px; margin: auto; padding: 48px 24px 90px; }
.guide-section { padding: 27px 0; border-bottom: 1px solid var(--line); }
.guide-section h2 { margin: 0 0 11px; color: var(--navy); font-size: 30px; }
.guide-section p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.site-footer { border-top: 1px solid var(--line); background: var(--panel); }
.footer-inner { max-width: 1180px; margin: auto; padding: 36px 24px; display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.footer-inner p { max-width: 600px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: start; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 700; }
.mini-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.mini-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.mini-card strong { display: block; margin-bottom: 6px; color: var(--navy); font-family: Georgia, serif; font-size: 19px; }
.mini-card span { color: var(--muted); font-size: 12px; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 40px 24px; text-align: center; }
.error-page h1 { font-size: clamp(70px, 15vw, 160px); }
.cta-link { display: inline-flex; margin-top: 22px; padding: 12px 16px; border-radius: 10px; background: var(--accent); color: white; font-weight: 850; text-decoration: none; }
@media (max-width: 880px) {
  .site-nav a { display: none; }
  .hero-inner, .detail-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 58px; }
  .hero-proof { max-width: 520px; }
  .hall-grid, .school-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .header-inner { min-height: 65px; padding: 0 16px; }
  .hero-inner { padding: 46px 18px 50px; gap: 38px; }
  .hero h1 { font-size: 47px; }
  .lede { font-size: 17px; }
  .trust-inner { align-items: start; flex-direction: column; gap: 7px; padding-inline: 18px; }
  .main { padding: 44px 16px 70px; }
  .section-head { align-items: start; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .hall-grid, .school-grid, .guide-grid, .mini-card-grid { grid-template-columns: 1fr; }
  .detail-hero-inner { padding: 45px 18px 42px; }
  .detail-hero h1 { font-size: 45px; }
  .detail-layout { padding: 34px 16px 70px; }
  .fact-list { grid-template-columns: 1fr; }
  .fact-list div:nth-child(odd) { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
