:root {
  --ivory: #f5f0e6;
  --paper: #fffdf8;
  --ink: #1d2524;
  --soft-ink: #56605d;
  --green: #173f38;
  --green-deep: #0e2e29;
  --line: #cfc9bc;
  --brass: #a36c35;
  --shadow: 0 20px 50px rgba(24, 35, 31, .12);
  --serif: Iowan Old Style, Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.62 var(--sans); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
button, input { font: inherit; }
::selection { background: #b8d0c7; color: var(--green-deep); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .65rem 1rem; background: var(--green); color: #fff; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(207,201,188,.85); background: rgba(245,240,230,.94); backdrop-filter: blur(14px); }
.header-inner { width: min(1440px, calc(100% - 2.5rem)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 780; letter-spacing: -.07em; font-size: 1.48rem; text-decoration: none; }
.brand .brand-x { color: var(--green); font-style: italic; transform: translateY(-1px); }
.brand .brand-kicker { display: none; font-size: .61rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--soft-ink); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .35rem; }
.site-nav a { padding: .45rem .55rem; text-decoration: none; font-size: .79rem; letter-spacing: .055em; text-transform: uppercase; color: #3b4643; }
.site-nav a[aria-current="page"] { color: var(--green); font-weight: 800; }
.menu-toggle { display: none; border: 1px solid var(--ink); background: transparent; padding: .38rem .58rem; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

main { overflow: hidden; }
.page-intro, .wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.page-intro { padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(2.6rem, 5vw, 5rem); max-width: 1180px; }
.eyebrow { margin: 0 0 1rem; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 520; letter-spacing: -.045em; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(3rem, 8vw, 7.3rem); }
h2 { margin: 0 0 1.35rem; font-size: clamp(2rem, 4.2vw, 4rem); }
h3 { margin: 0 0 .7rem; font-size: 1.1rem; letter-spacing: -.012em; }
p { margin: 0 0 1.1rem; }
.lede { max-width: 48rem; margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.66rem); line-height: 1.45; color: #3a4541; }
.muted { color: var(--soft-ink); }
.kicker { color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.text-link { color: var(--green); font-weight: 750; }
.text-link::after { content: " ↗"; font-size: .85em; }

.hero { width: min(1440px, calc(100% - 2.5rem)); margin: 2rem auto 0; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: end; }
.hero-copy { padding: 2.5rem 0 3.5rem; }
.hero h1 { font-size: clamp(3.4rem, 7.2vw, 7.7rem); }
.hero-copy .lede { max-width: 39rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1rem; border: 1px solid var(--green); background: var(--green); color: #fff; font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover { color: #fff; background: var(--green-deep); transform: translateY(-2px); }
.button--quiet { background: transparent; color: var(--green); }
.button--quiet:hover { color: #fff; }
.hero-visual { position: relative; padding: 0 0 2rem 2rem; }
.hero-visual img { width: 100%; min-height: 530px; object-fit: cover; box-shadow: var(--shadow); }
.maintenance-note { position: absolute; bottom: 0; left: 0; width: min(290px, 68%); padding: 1.15rem 1.2rem 1.35rem; background: var(--green); color: #eef5ef; box-shadow: 0 12px 28px rgba(17,52,46,.25); }
.maintenance-note .rule { display: block; width: 37px; margin: .75rem 0; border-top: 1px solid #9fb7af; }
.maintenance-note p:last-child { margin: 0; font-family: var(--serif); line-height: 1.38; font-size: 1.03rem; }

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--paper { background: var(--paper); }
.section--green { background: var(--green); color: #f7f2e9; }
.section--green h2, .section--green .eyebrow { color: inherit; }
.section--green .eyebrow { opacity: .76; }
.section--line { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; margin-bottom: 2.6rem; }
.section-heading p { max-width: 42rem; color: var(--soft-ink); font-family: var(--serif); font-size: 1.17rem; line-height: 1.5; }
.section--green .section-heading p { color: #d7e0dc; }

.yearline { border-top: 1px solid var(--line); }
.yearline article { display: grid; grid-template-columns: 7rem 1fr 1.15fr; gap: 1.5rem; padding: 1.55rem 0; border-bottom: 1px solid var(--line); }
.yearline .season { color: var(--green); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.yearline h3 { font-family: var(--serif); font-size: 1.62rem; }
.yearline p { color: var(--soft-ink); }

.topic-ribbon { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.topic { min-height: 178px; grid-column: span 4; padding: 1.35rem; background: var(--ivory); transition: background .18s ease, color .18s ease; }
.topic:hover { background: #dfe9e4; }
.topic:nth-child(3n+1) { grid-column: span 5; }
.topic:nth-child(3n) { grid-column: span 3; }
.topic .number { color: var(--brass); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.topic p { margin: 0; color: var(--soft-ink); font-size: .9rem; line-height: 1.52; }

.editorial-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.editorial-split--reverse > :first-child { order: 2; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.photo-frame figcaption { padding-top: .7rem; color: var(--soft-ink); font-size: .72rem; line-height: 1.4; }
.pullquote { margin: 1.5rem 0; padding: 1.2rem 0 1.2rem 1.3rem; border-left: 2px solid var(--brass); font-family: var(--serif); font-size: 1.32rem; line-height: 1.35; }

.vehicle-list { columns: 2; gap: 3rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.vehicle-list li { break-inside: avoid; padding: .8rem 0; border-bottom: 1px solid rgba(207,201,188,.5); }
.vehicle-list b { display: block; color: var(--green); font-size: .84rem; letter-spacing: .03em; }
.vehicle-list span { display: block; margin-top: .2rem; font-size: .92rem; line-height: 1.45; }

.utility-rail { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 2.5rem; background: #b9c5bf; }
.utility-rail a { min-height: 150px; padding: 1.4rem; background: var(--green-deep); color: #f7f2e9; text-decoration: none; }
.utility-rail a:hover { background: #244f47; color: #fff; }
.utility-rail strong { display: block; margin-bottom: .65rem; font-family: var(--serif); font-size: 1.38rem; font-weight: 500; }
.utility-rail span { font-size: .85rem; opacity: .85; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.3rem 2.6rem 1.3rem 0; cursor: pointer; font-size: 1.03rem; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .15rem; top: 1.1rem; color: var(--green); font-size: 1.6rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details > div { max-width: 52rem; padding: 0 2rem 1.5rem 0; color: #44504c; }

.checklist { padding: 1.35rem; background: #e6ece7; border-top: 4px solid var(--green); }
.checklist h3 { font-family: var(--serif); font-size: 1.55rem; }
.checklist label { display: flex; gap: .75rem; align-items: flex-start; padding: .62rem 0; border-bottom: 1px solid rgba(23,63,56,.16); cursor: pointer; }
.checklist input { width: 1.1rem; height: 1.1rem; margin: .22rem 0 0; accent-color: var(--green); }
.checklist label.is-done span { color: #60716b; text-decoration: line-through; }
.checklist .local-note { margin: 1rem 0 0; color: #53615c; font-size: .79rem; line-height: 1.45; }

.service-atlas { display: grid; grid-template-columns: repeat(12,1fr); gap: 1.25rem; }
.service-atlas article { grid-column: span 6; padding: 1.5rem 0 1.2rem; border-top: 2px solid var(--green); }
.service-atlas article:nth-child(3n) { grid-column: 3 / span 7; }
.service-atlas h3 { font-family: var(--serif); font-size: 1.72rem; }
.service-atlas p { color: var(--soft-ink); }
.margin-note { max-width: 28rem; padding: 1.2rem; background: #e7dfd0; font-size: .91rem; line-height: 1.5; }
.margin-note strong { color: var(--green); }

.process { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #55776f; }
.process article { padding: 1.4rem; background: var(--green); }
.process article::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 2rem; color: #b8d3c9; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.process h3 { color: #fff; }
.process p { color: #d5e1dc; font-size: .9rem; }

.warning { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.2rem; border: 1px solid #916936; background: #f1e6d3; color: #3d301f; }
.warning b { color: #795325; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.warning p { margin: 0; }
.diagnosis-flow { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.5rem; padding: 2rem; background: var(--green-deep); color: #eef4f0; }
.diagnosis-flow ol { margin: 0; padding-left: 1.3rem; }
.diagnosis-flow li { padding: .35rem 0; }
.diagnosis-flow p { color: #c6d4ce; }

.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.profile-grid h2 { font-size: clamp(2.25rem, 4vw, 4.4rem); }
.reference-list { padding: 0; list-style: none; }
.reference-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.reference-list b, .reference-list span { display: block; }
.reference-list span { margin-top: .2rem; color: var(--soft-ink); font-size: .9rem; }

.contact-state { display: grid; grid-template-columns: 1fr .8fr; gap: 1px; background: var(--line); }
.contact-state > * { padding: clamp(1.4rem, 4vw, 3rem); background: var(--paper); }
.contact-state .state-label { background: var(--green); color: #f5f0e6; }
.contact-state .state-label h2 { color: #fff; }
.contact-state .state-label p { color: #d6e1dd; }
.no-form { max-width: 40rem; padding: 1.2rem; border-left: 2px solid var(--brass); background: #eee5d6; }

.privacy-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 4rem; align-items: start; }
.privacy-layout nav { position: sticky; top: 6rem; }
.privacy-layout nav a { display: block; padding: .55rem 0; color: var(--green); font-size: .84rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.privacy-layout section { padding: .25rem 0 2.4rem; border-bottom: 1px solid var(--line); }
.privacy-layout h2 { font-size: clamp(1.8rem, 3vw, 3rem); }

.site-footer { padding: 3.4rem 0 1.6rem; background: #101716; color: #e9e6de; }
.footer-inner { width: min(1180px, calc(100% - 2.5rem)); margin: auto; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr .75fr; gap: 2rem; padding-bottom: 2.8rem; }
.footer-title { max-width: 18ch; margin: 0 0 1rem; font-family: var(--serif); font-size: 2rem; line-height: 1.08; }
.footer-inner p { color: #bbc5c0; font-size: .9rem; }
.footer-nav a { display: block; width: fit-content; padding: .25rem 0; color: #eef1ec; font-size: .87rem; text-decoration: none; }
.footer-nav a:hover { color: #b9d3c8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; padding-top: 1.2rem; border-top: 1px solid #48534f; color: #aeb8b3; font-size: .73rem; }

@media (max-width: 780px) {
  .header-inner { width: min(100% - 1.5rem, 1440px); min-height: 64px; }
  .brand { font-size: 1.34rem; }
  .brand-kicker { display: inline; }
  .menu-toggle { display: block; }
  .js .site-nav { position: absolute; left: .75rem; right: .75rem; top: calc(100% + .5rem); display: none; padding: .6rem; align-items: stretch; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: grid; }
  .site-nav a { padding: .65rem; }
  .hero { width: min(100% - 1.5rem, 1440px); grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 2.7rem 0 2.2rem; }
  .hero h1 { max-width: 12ch; }
  .hero-visual { padding: 0 0 1.4rem 1.25rem; }
  .hero-visual img { min-height: 390px; }
  .maintenance-note { width: min(270px, 76%); }
  .page-intro, .wrap { width: min(100% - 1.5rem, 1180px); }
  .section-heading, .editorial-split, .profile-grid, .contact-state, .diagnosis-flow, .privacy-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .editorial-split--reverse > :first-child { order: 0; }
  .yearline article { grid-template-columns: 1fr; gap: .2rem; }
  .yearline h3 { margin: 0; }
  .topic, .topic:nth-child(3n+1), .topic:nth-child(3n) { grid-column: span 12; min-height: 0; }
  .utility-rail, .process { grid-template-columns: 1fr; }
  .vehicle-list { columns: 1; }
  .service-atlas article, .service-atlas article:nth-child(3n) { grid-column: span 12; }
  .privacy-layout nav { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; }
  .privacy-layout nav a { padding: .4rem 0; }
  .footer-top { grid-template-columns: 1fr; gap: 1rem; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin: .4rem 0; }
}

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