:root {
  --paper: #f7f3ec;
  --paper-deep: #eee8de;
  --ink: #14213d;
  --ink-soft: #40506c;
  --line: #cfd5df;
  --blue: #3157d5;
  --blue-soft: #dfe8ff;
  --sky: #dfeef6;
  --orange: #b93b19;
  --orange-soft: #ffe3d8;
  --white: #fffdf9;
  --success: #14755f;
  --shadow: 0 20px 55px rgba(20, 33, 61, .10);
  --page: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: 78px;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(49, 87, 213, .35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell {
  width: min(calc(100% - 40px), var(--page));
  max-width: calc(100vw - 40px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 33, 61, .12);
  background: rgba(247, 243, 236, .94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  gap: 12px;
  padding: 12px 0 10px;
}

.header-inner > *,
.hero-grid > *,
.feature-split > *,
.intro-grid > * { min-width: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 16px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }

.primary-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .75);
  min-width: 0;
  width: 100%;
}

.primary-nav a {
  display: grid;
  place-items: center;
  min-height: 43px;
  padding: 6px 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1.25;
  text-align: center;
  min-width: 0;
}

.primary-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 55vw;
  height: 42vw;
  max-height: 510px;
  border-radius: 50%;
  background: rgba(223, 232, 255, .62);
  filter: blur(3px);
  transform: translate(28%, -38%);
  pointer-events: none;
}

.hero-grid { position: relative; display: grid; gap: 34px; }
.hero-copy { align-self: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 10vw, 72px);
  line-height: 1.04;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4px;
  right: -6px;
  bottom: 5px;
  height: 12px;
  background: var(--orange-soft);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.action-row { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button.primary { background: var(--blue); color: #fff; }
.button.orange { background: var(--orange); color: #fff; }
.button.ghost { background: transparent; box-shadow: none; }
.button svg { width: 18px; height: 18px; }

.hero-visual { position: relative; }
.hero-photo-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--sky);
  box-shadow: 10px 10px 0 var(--ink);
}
.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-note {
  position: relative;
  width: calc(100% - 24px);
  margin: -18px auto 0;
  padding: 16px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--orange);
}
.hero-note strong { display: block; margin-bottom: 5px; font-size: 16px; }
.hero-note span { color: var(--ink-soft); font-size: 13px; }

.signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.signal-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.signal-item:last-child { border-bottom: 0; }
.signal-item .num { color: var(--orange); font-size: 12px; font-weight: 900; }
.signal-item strong { display: block; margin-bottom: 4px; font-size: 15px; line-height: 1.45; }
.signal-item p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }

.section { padding: 72px 0; }
.section.blue-wash { background: var(--sky); }
.section.ink { background: var(--ink); color: #fff; }
.section.white { background: var(--white); }

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}
.section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(30px, 7vw, 50px);
  line-height: 1.16;
  letter-spacing: -.055em;
}
.section-heading p {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--ink-soft);
}
.ink .section-heading p { color: rgba(255,255,255,.72); }

.chapter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chapter-label span { font-size: 18px; letter-spacing: -.02em; }

.timeline { display: grid; border-top: 1px solid var(--ink); }
.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink);
}
.timeline-item .step {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}
.timeline-item h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.35; }
.timeline-item p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }

.editorial-grid { display: grid; gap: 14px; }
.editorial-card {
  position: relative;
  min-height: 225px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--white);
  overflow: hidden;
}
.editorial-card:nth-child(2) { background: var(--blue-soft); }
.editorial-card:nth-child(3) { background: var(--orange-soft); }
.editorial-card .card-index { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.editorial-card h3 { margin: 28px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.04em; }
.editorial-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.editorial-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 86px;
  height: 86px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .16;
}

.feature-split { display: grid; gap: 28px; align-items: center; }
.feature-photo { overflow: hidden; border: 1px solid var(--ink); background: var(--blue-soft); }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-copy h2 { margin-bottom: 18px; font-size: clamp(31px, 7vw, 52px); line-height: 1.12; letter-spacing: -.055em; }
.feature-copy > p { color: var(--ink-soft); }

.evidence-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.evidence-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
  font-weight: 800;
}
.evidence-list b { color: var(--orange); }

.fact-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-left: 6px solid var(--orange);
  background: var(--white);
  box-shadow: var(--shadow);
}
.fact-panel h3 { margin-bottom: 0; font-size: 24px; }
.fact-panel p { margin-bottom: 0; color: var(--ink-soft); }

.role-grid, .check-grid, .channel-grid { display: grid; gap: 14px; }
.role-card, .check-card, .channel-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}
.role-card .icon, .check-card .icon, .channel-card .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid var(--ink);
  background: var(--blue-soft);
  font-weight: 900;
}
.role-card h3, .check-card h3, .channel-card h3 { margin-bottom: 10px; font-size: 20px; }
.role-card p, .check-card p, .channel-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }

.checklist {
  counter-reset: check;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  counter-increment: check;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.checklist li::before {
  content: counter(check, decimal-leading-zero);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.checklist strong { display: block; margin-bottom: 5px; }
.checklist span { display: block; color: var(--ink-soft); font-size: 14px; }

.scenario-list { display: grid; gap: 12px; }
.scenario {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}
.scenario span { color: #9bb1ff; font-size: 12px; font-weight: 900; }
.scenario h3 { margin-bottom: 0; font-size: 19px; }
.scenario p { margin-bottom: 0; color: rgba(255,255,255,.7); font-size: 14px; }

.quote-panel {
  padding: 30px 24px;
  border: 1px solid var(--ink);
  background: var(--orange-soft);
}
.quote-panel blockquote {
  margin: 0;
  font-size: clamp(25px, 6vw, 40px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.045em;
}
.quote-panel p { margin: 18px 0 0; color: var(--ink-soft); }

.faq-list { display: grid; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--blue);
  font-size: 26px;
  transform: translateY(-50%);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 800px; padding: 0 0 24px; margin: 0; color: var(--ink-soft); }

.consult-cta {
  display: grid;
  gap: 24px;
  padding: 30px 24px;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: #fff;
  box-shadow: 9px 9px 0 var(--orange);
}
.consult-cta h2 { margin-bottom: 10px; font-size: clamp(28px, 7vw, 45px); line-height: 1.18; letter-spacing: -.05em; }
.consult-cta p { margin-bottom: 0; color: rgba(255,255,255,.92); }
.consult-cta .button { box-shadow: 4px 4px 0 rgba(20,33,61,.85); }

.sub-hero { padding: 38px 0 50px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.breadcrumbs span:not(:last-child)::after, .breadcrumbs a::after { content: "/"; margin-left: 8px; color: var(--line); }
.sub-hero h1 { max-width: 880px; margin-bottom: 20px; font-size: clamp(36px, 9vw, 66px); line-height: 1.08; letter-spacing: -.06em; }
.sub-hero p { max-width: 760px; margin-bottom: 0; color: var(--ink-soft); font-size: 17px; }

.intro-grid { display: grid; gap: 20px; }
.intro-number {
  padding: 20px;
  border: 1px solid var(--ink);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.intro-copy h2 { font-size: clamp(29px, 7vw, 48px); line-height: 1.2; letter-spacing: -.05em; }
.intro-copy p { color: var(--ink-soft); }

.channel-card { display: flex; flex-direction: column; min-height: 230px; }
.channel-card .button { width: 100%; margin-top: auto; box-shadow: none; }
.channel-card:nth-child(2) { background: var(--blue-soft); }
.channel-card:nth-child(3) { background: var(--orange-soft); }

.notice {
  padding: 18px;
  border: 1px dashed var(--ink-soft);
  background: rgba(255,255,255,.55);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  padding: 54px 0 110px;
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}
.footer-grid { display: grid; gap: 28px; }
.footer-brand h2 { margin-bottom: 10px; font-size: 23px; }
.footer-brand p { max-width: 520px; margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 18px; font-size: 13px; font-weight: 800; }
.footer-meta { color: var(--ink-soft); font-size: 12px; }

.contact-dock {
  position: fixed;
  z-index: 70;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 12px 35px rgba(20, 33, 61, .26);
}
.contact-dock a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 6px 3px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  min-width: 0;
}
.contact-dock a:first-child { background: var(--orange); color: #fff; }
.contact-dock a:nth-child(2) { background: var(--blue-soft); }

.not-found { display: grid; place-items: center; min-height: 70vh; text-align: center; }
.not-found strong { display: block; color: var(--orange); font-size: 15px; letter-spacing: .12em; }
.not-found h1 { margin: 12px 0; font-size: clamp(48px, 18vw, 120px); line-height: 1; }
.not-found p { color: var(--ink-soft); }

/* Subject directory and locality pages */
.directory-hero,
.local-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 54px;
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.directory-hero::after,
.local-hero::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 44px solid var(--blue-soft);
  border-radius: 50%;
  pointer-events: none;
}

.directory-hero .site-shell,
.local-hero .site-shell { position: relative; z-index: 1; }

.directory-hero h1,
.local-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(37px, 9.4vw, 70px);
  line-height: 1.06;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

.directory-hero > .site-shell > p:last-of-type,
.local-lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.hub-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 680px;
  margin-top: 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.hub-metrics div {
  display: grid;
  min-width: 0;
  padding: 14px 10px;
  background: var(--paper);
}

.hub-metrics strong { color: var(--blue); font-size: 20px; line-height: 1.2; }
.hub-metrics span { margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }

.subject-hub-grid { display: grid; gap: 16px; }
.subject-hub-card {
  position: relative;
  display: block;
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: #fff;
  box-shadow: 8px 8px 0 var(--orange);
}
.subject-hub-card::after {
  content: "K · E · M";
  position: absolute;
  right: -14px;
  bottom: -26px;
  color: rgba(255,255,255,.10);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -.08em;
}
.subject-hub-card > span { font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.subject-hub-card h3 { max-width: 430px; margin: 58px 0 15px; font-size: clamp(29px, 7vw, 44px); line-height: 1.08; letter-spacing: -.055em; }
.subject-hub-card p { max-width: 570px; color: rgba(255,255,255,.84); font-size: 14px; }
.subject-hub-card > div { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.38); }
.subject-hub-card i { font-size: 24px; font-style: normal; }

.directory-section { padding-top: 44px; }
.directory-toolbar {
  position: sticky;
  top: 118px;
  z-index: 20;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: rgba(255,253,249,.97);
  box-shadow: 6px 6px 0 var(--blue-soft);
}
.directory-toolbar > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 900; }
.directory-search { display: grid; grid-template-columns: 1fr; gap: 7px; }
.directory-search input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
.directory-search span { color: var(--blue); font-size: 12px; font-weight: 900; }
.region-filters { display: flex; gap: 6px; margin-top: 13px; overflow-x: auto; scrollbar-width: none; }
.region-filters::-webkit-scrollbar { display: none; }
.region-filters button,
.directory-actions button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}
.region-filters button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.directory-actions { display: flex; gap: 7px; margin-top: 10px; }
.directory-actions button { min-height: 38px; background: var(--blue-soft); color: var(--ink); }
.directory-empty { padding: 28px; border: 1px dashed var(--ink); text-align: center; font-weight: 800; }
.directory-list { display: grid; gap: 12px; }
.directory-region { border: 1px solid var(--ink); background: var(--white); }
.directory-region > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 14px 17px;
  cursor: pointer;
  list-style: none;
  background: var(--white);
}
.directory-region > summary::-webkit-details-marker { display: none; }
.directory-region > summary span { display: grid; }
.directory-region > summary b { font-size: 19px; }
.directory-region > summary small { margin-top: 2px; color: var(--ink-soft); font-weight: 700; }
.directory-region > summary i { color: var(--blue); font-size: 28px; font-style: normal; transition: transform .2s ease; }
.directory-region[open] > summary { background: var(--blue-soft); }
.directory-region[open] > summary i { transform: rotate(45deg); }
.directory-region-body { display: grid; gap: 28px; padding: 18px 14px 24px; border-top: 1px solid var(--ink); }
.directory-district-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.directory-district-head h2 { margin: 0; font-size: 18px; }
.directory-district-head span { color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.directory-card {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 92px;
  padding: 13px 28px 13px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.directory-card strong { overflow-wrap: anywhere; font-size: 15px; line-height: 1.25; }
.directory-card span { margin-top: 4px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.directory-card i { position: absolute; right: 10px; top: 50%; color: var(--blue); font-style: normal; transform: translateY(-50%); }
.directory-card:hover { border-color: var(--blue); background: var(--blue-soft); }

.local-answer-grid { display: grid; gap: 1px; margin-top: 30px; border: 1px solid var(--ink); background: var(--ink); }
.local-answer-grid article { display: grid; gap: 6px; min-width: 0; padding: 15px; background: var(--paper); }
.local-answer-grid span { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.local-answer-grid strong { font-size: 13px; line-height: 1.45; }
.local-overview { padding-top: 52px; }
.local-overview-grid { display: grid; gap: 18px; align-items: start; }
.local-summary { min-width: 0; padding: 24px 0; }
.local-summary h2,
.local-info-card h2 { margin-bottom: 14px; font-size: clamp(28px, 7vw, 42px); line-height: 1.16; letter-spacing: -.05em; }
.local-summary > p { color: var(--ink-soft); }
.answer-note { margin-top: 24px; padding: 20px; border-left: 5px solid var(--orange); background: var(--orange-soft); }
.answer-note strong { display: block; margin-bottom: 7px; }
.answer-note p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.local-info-card { min-width: 0; padding: 23px; border: 1px solid var(--ink); background: var(--white); box-shadow: 7px 7px 0 var(--blue); }
.local-facts { margin: 0; border-top: 1px solid var(--ink); }
.local-facts > div { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.local-facts dt { color: var(--blue); font-size: 11px; font-weight: 900; }
.local-facts dd { margin: 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.local-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.local-tags span { padding: 4px 7px; background: var(--blue-soft); font-size: 11px; }
.grade-list { display: grid; gap: 6px; margin: 15px 0; padding: 0; list-style: none; }
.grade-list li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 8px 10px; background: var(--paper); font-size: 12px; }
.grade-list strong { color: var(--orange); }
.local-info-card .button.compact { width: 100%; min-height: 46px; padding: 9px 12px; box-shadow: none; font-size: 13px; }
.info-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; }

.local-media-section { padding: 0 0 58px; }
.local-media-stack { display: grid; gap: 18px; }
.local-media-stack figure { margin: 0; overflow: hidden; border: 1px solid var(--ink); background: var(--white); }
.local-media-stack img { width: 100%; height: auto; }
.local-media-stack figcaption { padding: 13px 15px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.local-map-image img { max-height: 720px; object-fit: contain; background: #fff; }
.manuscript-wrap { padding-top: 0; }
.manuscript-article { display: grid; gap: 0; }
.manuscript-intro { margin-bottom: 24px; padding: 24px; border: 1px solid var(--ink); background: var(--blue); color: #fff; box-shadow: 7px 7px 0 var(--orange); }
.manuscript-intro span { display: block; margin-bottom: 11px; color: #dbe5ff; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.manuscript-intro p { margin: 0; font-size: 16px; }
.manuscript-section { position: relative; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.manuscript-section:first-of-type { border-top: 1px solid var(--ink); }
.manuscript-section .section-kicker { display: inline-block; margin-bottom: 11px; color: var(--orange); font-size: 11px; font-weight: 900; }
.manuscript-section h2 { margin-bottom: 17px; font-size: clamp(25px, 6.5vw, 38px); line-height: 1.25; letter-spacing: -.045em; }
.manuscript-section p { margin-bottom: 15px; color: var(--ink-soft); font-size: 15px; }
.manuscript-section p:last-child { margin-bottom: 0; }
.scenario-grid { display: grid; gap: 12px; }
.scenario-card { padding: 21px; border: 1px solid var(--ink); background: var(--white); }
.scenario-card span { display: inline-block; margin-bottom: 15px; padding: 4px 8px; background: var(--orange-soft); color: var(--orange); font-size: 10px; font-weight: 900; }
.scenario-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.local-links-section { padding-top: 38px; }
.compact-heading { margin-bottom: 20px; }
.local-navigation { display: grid; gap: 9px; }
.local-nav-card { position: relative; display: grid; min-height: 106px; align-content: center; padding: 16px 42px 16px 16px; border: 1px solid var(--ink); background: var(--white); }
.local-nav-card small { color: var(--blue); font-size: 10px; font-weight: 900; }
.local-nav-card strong { margin-top: 5px; font-size: 14px; line-height: 1.35; }
.local-nav-card > span { position: absolute; right: 16px; top: 50%; color: var(--blue); font-size: 20px; transform: translateY(-50%); }
.local-nav-card.is-parent { background: var(--ink); color: #fff; }
.local-nav-card.is-parent small,
.local-nav-card.is-parent > span { color: #aec0ff; }

@media (min-width: 700px) {
  body { padding-bottom: 0; }
  .header-inner { grid-template-columns: auto 1fr; align-items: center; padding: 14px 0; }
  .primary-nav { justify-self: end; width: min(600px, 100%); }
  .primary-nav a { font-size: 14px; }
  .signal-strip { grid-template-columns: repeat(3, 1fr); }
  .signal-item { border-right: 1px solid var(--line); border-bottom: 0; }
  .signal-item:last-child { border-right: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--ink); }
  .timeline-item { grid-template-columns: 46px 1fr; padding: 26px 22px; border-right: 1px solid var(--ink); }
  .editorial-grid, .role-grid, .check-grid, .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .scenario-list { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 130px 1fr; }
  .consult-cta { grid-template-columns: 1fr auto; align-items: center; padding: 40px; }
  .footer-grid { grid-template-columns: 1.4fr .8fr; }
  .contact-dock {
    right: 18px;
    bottom: 18px;
    left: auto;
    width: 142px;
    grid-template-columns: 1fr;
  }
  .contact-dock a { min-height: 46px; }
  .site-footer { padding-bottom: 70px; }
  .hub-metrics div { padding: 18px; }
  .hub-metrics strong { font-size: 28px; }
  .directory-search { grid-template-columns: 1fr auto; align-items: center; }
  .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .local-answer-grid { grid-template-columns: repeat(3, 1fr); }
  .local-overview-grid { grid-template-columns: 1fr .86fr; gap: 34px; }
  .local-facts > div { grid-template-columns: 120px 1fr; align-items: start; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .local-navigation { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(34px, 9.6vw, 40px); }
  .hero-lead { font-size: 16px; }
  .action-row .button { flex: 1 1 145px; padding-inline: 12px; }
  .contact-dock { max-width: calc(100vw - 20px); }
  .primary-nav a { padding-inline: 1px; font-size: 10px; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-toolbar { top: 112px; }
  .hub-metrics span { font-size: 9px; }
}

@media (min-width: 980px) {
  .hero { padding: 70px 0 88px; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 66px; }
  .hero-lead { font-size: 18px; }
  .hero-note { width: 72%; margin: -36px 0 0 28px; padding: 18px 20px; }
  .section { padding: 104px 0; }
  .section-heading { grid-template-columns: 180px 1fr; align-items: start; margin-bottom: 46px; }
  .section-heading .chapter-label { padding-top: 8px; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline-item { min-height: 220px; grid-template-columns: 1fr; }
  .editorial-card { min-height: 300px; padding: 30px; }
  .editorial-card h3 { margin-top: 62px; font-size: 29px; }
  .feature-split { grid-template-columns: .88fr 1.12fr; gap: 72px; }
  .feature-photo img { aspect-ratio: 4 / 5; }
  .sub-hero { padding: 70px 0 78px; }
  .directory-hero,
  .local-hero { padding: 72px 0 82px; }
  .subject-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subject-hub-card { min-height: 390px; padding: 36px; }
  .directory-toolbar { top: 92px; padding: 22px; }
  .directory-region-body { padding: 25px; }
  .directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .local-overview-grid { gap: 72px; }
  .local-media-stack { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: start; }
  .local-body-image { grid-row: span 2; }
  .manuscript-article { max-width: 920px; }
  .manuscript-section { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 22px; }
  .manuscript-section .section-kicker { grid-column: 1; grid-row: 1 / span 20; padding-top: 8px; }
  .manuscript-section h2,
  .manuscript-section p { grid-column: 2; }
}

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