:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --white: #fff;
  --ink: #202b28;
  --muted: #65716c;
  --line: #dce1dc;
  --soft: #edf0eb;
  --forest: #31483e;
  --terracotta: #a94731;
  --terracotta-dark: #843421;
  --focus: #155e75;
  --page-width: 1160px;
  --serif: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--terracotta-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
.container { width: min(var(--page-width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-160%); background: var(--white); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px 4px 12px 4px; background: var(--terracotta); color: white; font-family: var(--serif); font-size: 17px; font-weight: 700; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); font-size: 19px; letter-spacing: -.03em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); }
.main-nav a { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--terracotta-dark); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.button-primary { background: var(--terracotta); color: var(--white); }
.button-primary:hover { background: var(--terracotta-dark); color: var(--white); }
.button-outline { border-color: #9da9a2; background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { position: relative; overflow: hidden; padding: 78px 0 28px; background: var(--paper); }
.hero::before { position: absolute; top: 0; right: 0; width: 48%; height: 100%; background-image: linear-gradient(rgba(49,72,62,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(49,72,62,.035) 1px, transparent 1px); background-size: 28px 28px; content: ""; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .92fr); align-items: center; gap: 60px; }
.hero-copy { padding: 8px 0 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--terracotta-dark); font-size: 11px; font-weight: 750; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-line { width: 26px; height: 1px; background: var(--terracotta); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(42px, 5.4vw, 70px); }
h1 span { color: var(--forest); }
h2 { margin-bottom: 16px; font-size: clamp(30px, 3.6vw, 46px); }
h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.hero-lead, .page-lead { max-width: 610px; margin-bottom: 28px; color: #4f5c56; font-size: 18px; line-height: 1.65; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.survey-visual { position: relative; padding: 17px; border: 1px solid #d5dad3; background: rgba(255,255,255,.66); box-shadow: 0 22px 60px rgba(37,53,45,.07); }
.survey-label { display: flex; justify-content: space-between; color: var(--forest); font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.survey-label span { color: var(--muted); }
.survey-label-top { padding: 2px 2px 10px; }
.survey-label-bottom { padding: 10px 2px 2px; border-top: 1px solid var(--line); }
.survey-map { display: block; width: 100%; background: #f4f6f1; }
.map-center { fill: #31483e; font: 9px "Segoe UI", sans-serif; letter-spacing: 1px; text-anchor: middle; }
.map-coordinate { fill: #7a8580; font: 8px "Segoe UI", sans-serif; letter-spacing: 1px; }
.hero-index { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 13px; border-top: 1px solid var(--line); color: #78827d; font-size: 9px; font-weight: 700; letter-spacing: .13em; }

.section { padding: 88px 0; }
.section-toned { background: #ecefea; }
.section-dark { background: #263b32; color: var(--white); }
.section-dark .eyebrow { color: #e0a28e; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading h2 { max-width: 740px; margin: 0; }
.text-muted { color: var(--muted); }
.section-aside { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--terracotta-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link-light { color: #f1b49f; }
.text-link-light:hover { color: white; }
.direction-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.direction-card { position: relative; min-height: 218px; padding: 22px 20px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .15s ease; }
.direction-card:hover { background: var(--white); color: var(--ink); }
.card-index { display: inline-block; margin-bottom: 25px; color: var(--terracotta-dark); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.direction-card h3 { margin-bottom: 10px; font-size: 20px; }
.direction-card p, .content-card > p:not(.card-meta) { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-arrow { position: absolute; right: 19px; bottom: 17px; color: var(--terracotta); }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 42px 0 0; padding: 0; border-top: 1px solid #ccd3cc; list-style: none; }
.process-list li { display: flex; gap: 16px; padding: 20px 18px 0 0; }
.process-list li > span { flex: 0 0 auto; color: var(--terracotta-dark); font-size: 11px; font-weight: 700; }
.process-list h3 { margin-bottom: 8px; font-size: 18px; }
.process-list p { margin: 0; color: var(--muted); font-size: 13px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.content-card { min-width: 0; padding: 25px; border: 1px solid var(--line); background: var(--white); }
.content-card h2, .content-card h3 { margin: 0 0 12px; font-size: 24px; }
.content-card h2 a, .content-card h3 a { text-decoration: none; }
.content-card h2 a:hover, .content-card h3 a:hover { color: var(--terracotta-dark); }
.content-card .text-link { margin-top: 22px; }
.content-card .card-meta { margin-bottom: 12px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.content-card-dark { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.content-card-dark p { color: #d0d9d3 !important; }
.content-card-dark .card-meta { color: #b6c4bb !important; }
.content-card-dark h3 a { color: var(--white); }
.empty-state { padding: 30px; border: 1px dashed #b6c0b9; background: rgba(255,255,255,.55); }
.empty-state h2 { font-size: 28px; }
.empty-state p { max-width: 680px; margin-bottom: 8px; color: var(--muted); }
.empty-state-dark { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.03); }
.empty-state-dark p { color: #d0d9d3; }
.education-panel { display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 32px; padding: 42px; border: 1px solid var(--line); background: var(--white); }
.education-panel p { max-width: 570px; color: var(--muted); }
.education-panel .button { margin-top: 10px; }
.education-stamp { width: 160px; height: 160px; display: grid; align-content: center; justify-items: center; gap: 4px; border: 1px solid #c8d0ca; border-radius: 50%; color: var(--forest); font-family: var(--serif); font-size: 19px; letter-spacing: .12em; transform: rotate(-9deg); }
.education-stamp span:nth-child(2) { color: var(--terracotta-dark); }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-band h2 { max-width: 700px; }
.contact-band p:not(.eyebrow) { margin: 0; color: var(--muted); }

.page-hero { padding: 65px 0 52px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #f7f7f4 56%, #edf0eb); }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(42px, 5vw, 62px); }
.page-hero .eyebrow a { color: inherit; }
.page-lead { margin: 0; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 36px; font-size: 30px; }
.prose p { color: #4f5c56; }
.prose a { color: var(--terracotta-dark); }
.notice { margin-bottom: 28px; padding: 18px 20px; border-left: 4px solid var(--terracotta); background: #f5ebe6; }
.notice-warning { color: #55382f; }
.todo { color: #715139 !important; font-size: 13px; }
.source-link { overflow-wrap: anywhere; }
.facts-list, .record-facts { margin: 0 0 28px; }
.facts-list > div, .record-facts > div { display: grid; grid-template-columns: minmax(170px, .4fr) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-list dt, .record-facts dt { color: var(--muted); font-size: 13px; }
.facts-list dd, .record-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.search-form { max-width: 780px; margin-bottom: 30px; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 650; }
.search-row { display: flex; gap: 10px; }
.search-row input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid #aeb8b1; border-radius: 3px; background: white; color: var(--ink); }
.search-summary { color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.contact-card h2 { font-size: 30px; }
.contact-card > p:not(.eyebrow) { color: var(--muted); }
.contact-card-muted { background: #edf0eb; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: start; gap: 42px; }
.request-form { padding: 34px; border: 1px solid var(--line); background: var(--white); }
.form-field { margin-bottom: 22px; }
.form-field > label:not(:has(input[type="checkbox"])) { display: block; margin-bottom: 7px; font-weight: 650; }
.form-field input:not([type="checkbox"]), .form-field textarea { width: 100%; padding: 11px 13px; border: 1px solid #aeb8b1; border-radius: 3px; background: white; color: var(--ink); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--focus); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #a13226; }
.form-checkbox label { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--terracotta); }
.form-checkbox a { color: var(--terracotta-dark); }
.help-text { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.field-error, .form-errors { margin: 6px 0 0; color: #8b241b; font-size: 13px; font-weight: 650; }
.form-errors ul { margin: 0; padding-left: 20px; }
.form-aside { padding-top: 12px; }
.form-aside h2 { font-size: 32px; }
.form-aside p:not(.eyebrow) { color: var(--muted); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.site-footer { padding: 52px 0 20px; background: #202f29; color: #ecf0ec; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 54px; }
.brand-footer { color: white; }
.brand-footer:hover { color: white; }
.brand-footer .brand-copy small { color: #b6c4bb; }
.footer-tagline { max-width: 310px; margin: 18px 0 0; color: #c1ccc4; font-size: 13px; }
.footer-heading { margin: 0 0 14px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.footer-links { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.site-footer p { margin-bottom: 9px; color: #d1d9d3; font-size: 13px; }
.site-footer a:not(.brand) { color: #e3ebe5; font-size: 13px; }
.site-footer .todo { color: #e7c2a8 !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: #b7c2bb; font-size: 11px; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; gap: 14px 20px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 20px; }
  .header-contact { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 28px; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: min(100% - 32px, var(--page-width)); }
  .header-inner { min-height: 0; padding-block: 12px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 9px; }
  .main-nav { gap: 6px 16px; }
  .main-nav a { font-size: 12px; }
  .header-contact { min-height: 36px; padding: 7px 10px; }
  .hero { padding-top: 48px; }
  .hero::before { width: 100%; opacity: .5; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: clamp(39px, 11vw, 56px); }
  .hero-lead, .page-lead { font-size: 16px; }
  .survey-visual { max-width: 520px; }
  .hero-index { margin-top: 26px; font-size: 8px; }
  .section { padding: 60px 0; }
  .section-heading { display: block; }
  .section-heading .text-link { margin-top: 18px; }
  .section-aside { margin-top: 14px; }
  .direction-grid { grid-template-columns: 1fr 1fr; }
  .direction-card { min-height: 200px; padding: 17px 14px 35px; }
  .direction-card h3 { font-size: 18px; }
  .direction-card p { font-size: 12px; }
  .card-index { margin-bottom: 17px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { padding-top: 16px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card { padding: 21px; }
  .education-panel { grid-template-columns: 1fr; padding: 26px; }
  .education-stamp { width: 120px; height: 120px; font-size: 15px; }
  .contact-band { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 47px 0 38px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .request-form { padding: 23px; }
  .contact-card { padding: 23px; }
  .facts-list > div, .record-facts > div { grid-template-columns: 1fr; gap: 3px; }
  .search-row { align-items: stretch; flex-direction: column; }
  .search-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 170px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
