:root {
  color-scheme: light;
  --ink: #23677B;
  --text: #293330;
  --muted: #586762;
  --leaf: #52756b;
  --copper: #a85f3d;
  --paper: #f4f1e9;
  --surface: #fffefa;
  --line: #d9ddd5;
  --focus: #9d4a2d;
  --content: 1180px;
  --gutter: clamp(20px, 5vw, 74px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
section[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.58 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .choice:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; top: -50px; left: 12px; z-index: 20; padding: 9px 12px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 78px; padding: 10px var(--gutter); border-bottom: 1px solid rgba(24,50,52,.13); background: rgba(244,241,233,.97); }
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: 64px; height: 64px; }
.main-nav { display: flex; justify-content: center; gap: clamp(10px, 1.2vw, 20px); }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: .92rem; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-menu { position: relative; align-self: center; color: var(--ink); font-size: .92rem; }
.more-menu summary { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; cursor: pointer; font-weight: 700; list-style: none; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary::after { content: "⌄"; font-size: 1.1rem; }
.more-menu[open] summary::after { transform: rotate(180deg); }
.more-menu-links { position: absolute; top: calc(100% + 9px); right: 0; width: 250px; padding: 8px 14px; border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(24,50,52,.13); background: var(--surface); }
.more-menu-links a { display: flex; min-height: 43px; align-items: center; border-bottom: 1px solid var(--line); font-size: .92rem; }
.more-menu-links a:last-child { border-bottom: 0; }
.header-cta, .primary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 0; border-radius: 5px; background: var(--ink); color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.header-cta:hover, .primary-button:hover { background: #17495a; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: min(740px, calc(100svh - 78px)); background: var(--paper); }
.hero-copy { align-self: center; padding: clamp(34px, 7vw, 104px) var(--gutter); }
.eyebrow { margin: 0 0 16px; color: var(--leaf); font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.13; }
h1 { max-width: 650px; margin-bottom: 21px; font-size: clamp(2.5rem, 5.1vw, 5.2rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 1.25rem; }
.hero-body { max-width: 540px; margin-bottom: 25px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--copper); }
.hero-visual { position: relative; min-height: 440px; overflow: hidden; background: #d5d8cf; }
.hero-visual img, .scene img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-visual img { position: absolute; inset: 0; }
.visual-label { position: absolute; right: 18px; bottom: 15px; max-width: 290px; padding: 8px 11px; border-radius: 3px; background: rgba(24,50,52,.88); color: white; font-size: .78rem; }
.fact-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; padding: 17px var(--gutter); max-width: var(--content); color: var(--ink); font-size: .92rem; }
.fact-line span { text-align: center; padding: 4px 10px; }
.chapter { padding: clamp(64px, 10vw, 136px) var(--gutter); }
.chapter-inner { width: min(100%, var(--content)); margin-inline: auto; }
.story-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(260px, .75fr); align-items: end; gap: clamp(32px, 9vw, 140px); }
.story-layout p { max-width: 620px; color: var(--muted); font-size: 1.1rem; }
.story-aside { padding: 20px 0 4px 22px; border-left: 3px solid var(--copper); color: var(--ink) !important; font-size: 1.08rem !important; }
.experience-note { max-width: 900px; margin: 34px 0 0 auto; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.scene { position: relative; height: min(78svh, 820px); min-height: 430px; margin: 0; overflow: hidden; background: #d2d8cf; }
.scene img { position: absolute; inset: 0; }
.scene-caption { position: absolute; bottom: 18px; left: var(--gutter); max-width: min(450px, calc(100% - 40px)); padding: 9px 12px; border-left: 3px solid var(--copper); background: rgba(244,241,233,.94); color: var(--ink); font-size: .87rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 42px); margin-top: 54px; }
.pillar { padding-top: 17px; border-top: 1px solid var(--ink); }
.pillar-number { display: block; margin-bottom: 22px; color: var(--copper); font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.pillar p, .option p, .cost-item p, .renovation-copy { color: var(--muted); }
.options-section { background: var(--ink); color: #edf2ed; }
.options-section h2, .options-section h3 { color: #f4f1e9; }
.options-section .eyebrow { color: #b6d0c1; }
.options-section .section-intro, .options-section .option p { color: #d0dcd5; }
.section-intro { max-width: 760px; margin-bottom: 42px; color: var(--muted); font-size: 1.08rem; }
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(244,241,233,.25); border: 1px solid rgba(244,241,233,.25); }
.option { min-height: 310px; padding: clamp(22px, 3vw, 38px); background: var(--ink); }
.option-index { display: block; margin-bottom: 34px; color: #d48c69; font-size: .8rem; letter-spacing: .1em; }
.option-check { margin: 25px 0 0; padding-top: 15px; border-top: 1px solid rgba(244,241,233,.25); color: #f4f1e9; font-size: .92rem; }
.caveat { max-width: 790px; margin: 25px 0 0; color: #d0dcd5; font-size: .94rem; }
.option-details { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(244,241,233,.25); }
.details-heading { max-width: 720px; margin-bottom: 16px; font-size: clamp(1.55rem, 2.7vw, 2.2rem); }
.option-details-intro { max-width: 730px; color: #d0dcd5; }
.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 25px; margin-top: 42px; }
.cost-item { padding-top: 16px; border-top: 1px solid var(--leaf); }
.cost-item h3 { color: var(--ink); font-size: 1.1rem; }
.text-note { margin-top: 22px; color: var(--ink); font-size: .93rem; }
.renovation-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(300px, 1fr); gap: clamp(24px, 5vw, 70px); margin-top: 65px; padding-top: 25px; border-top: 1px solid rgba(244,241,233,.25); }
.options-section .cost-item { border-color: rgba(244,241,233,.35); }
.options-section .cost-item h3 { color: #f4f1e9; }
.options-section .cost-item p, .options-section .text-note { color: #d0dcd5; }
.options-section .check-list { border-color: rgba(244,241,233,.3); }
.options-section .check-list li { border-color: rgba(244,241,233,.3); color: #edf2ed; }
.options-section .check-list li::before { border-color: #b6d0c1; }
.check-list { list-style: none; margin: 5px 0 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 12px; height: 6px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.2fr); gap: clamp(28px, 7vw, 100px); align-items: start; }
.faq-intro { max-width: 370px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 18px; min-height: 62px; align-items: center; padding: 14px 0; color: var(--ink); font-weight: 700; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--leaf); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { max-width: 720px; padding: 0 24px 16px 0; color: var(--muted); }
.faq-answer strong { color: var(--ink); font-weight: 800; }
.faq-sources { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; font-size: .9rem; }
.faq-sources a { color: var(--leaf); text-underline-offset: 3px; }
.form-section { background: #dce5dd; }
.form-intro { max-width: 720px; margin-bottom: 26px; color: var(--muted); font-size: 1.05rem; }
.privacy-note { max-width: 830px; margin: 20px 0 25px; padding: 14px 16px; border-left: 3px solid var(--leaf); background: rgba(255,254,250,.7); color: var(--ink); }
.questionnaire { display: grid; gap: 12px; }
.question { min-width: 0; margin: 0; padding: 21px; border: 1px solid #c3cec4; border-radius: 3px; background: var(--surface); }
.question legend { max-width: 100%; padding: 0 5px; color: var(--ink); font-size: 1.12rem; font-weight: 750; }
.hint { margin: 2px 0 13px; color: var(--muted); font-size: .92rem; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.choice:hover, .choice:focus-within { border-color: var(--leaf); }
.choice input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--leaf); flex: 0 0 auto; }
.optional-label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 750; }
.question textarea { display: block; width: 100%; min-height: 100px; padding: 12px; border: 1px solid #899690; border-radius: 3px; background: #fff; color: var(--text); font: inherit; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.secondary-button { min-height: 48px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 5px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.error { margin: 0; color: #8a301e; font-weight: 700; }
.summary { max-width: 830px; margin-top: 25px; padding: clamp(20px, 4vw, 36px); border: 2px solid var(--leaf); background: var(--surface); }
.summary h3 { font-size: 1.65rem; }
.summary ul { padding-left: 22px; }
.summary li { margin: 8px 0; }
.summary-note { color: var(--muted); }
.knowledge-section { background: var(--surface); }
.manufacturers-section { background: #e8eee9; }
.knowledge-grid, .budget-grid, .resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.knowledge-card, .budget-card, .resource-card { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--surface); }
.knowledge-card p, .budget-card p, .resource-card p { color: var(--muted); }
.card-note, .resource-pending { font-size: .88rem; }
.card-note { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.section-footnote { max-width: 780px; margin: 25px 0 0; color: var(--muted); font-size: .93rem; }
.text-link { color: var(--ink); font-weight: 700; }
.budget-section { background: #e3ebe9; }
.budget-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.budget-kicker, .resource-type { display: block; margin-bottom: 24px; color: var(--leaf); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.budget-list { margin: 22px 0 0; padding-left: 19px; color: var(--ink); }
.budget-list li { margin: 8px 0; }
.budget-guidance { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 20px; padding: clamp(22px, 3vw, 34px); border-left: 4px solid var(--ink); background: var(--surface); }
.budget-guidance h3 { width: 100%; margin: 0; }
.budget-guidance p { max-width: 680px; margin: 0; color: var(--muted); }
.resources-section { background: var(--paper); }
.resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-pending { display: inline-block; padding: 7px 9px; border: 1px solid var(--line); color: var(--muted); }
.ad-slot { max-width: 520px; margin-top: 50px; padding: 14px 18px; border: 1px dashed #aebbb7; background: rgba(255,254,250,.6); }
.ad-label { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.ad-slot p { margin: 6px 0 0; color: var(--muted); font-size: .87rem; }
.email-panel { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.email-panel h4 { margin: 0 0 8px; color: var(--ink); font-size: 1.12rem; }
.email-panel p { max-width: 660px; color: var(--muted); }
.email-preview { display: grid; justify-items: start; gap: 9px; }
.email-preview > label:first-child { color: var(--ink); font-weight: 700; }
.email-preview input[type=email] { width: min(100%, 380px); min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 3px; font: inherit; }
.followup-choice { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.followup-choice input { margin-top: 5px; }
.email-preview [disabled] { cursor: not-allowed; opacity: .66; }
.availability-note { margin: 12px 0 0; font-size: .88rem; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding: 28px var(--gutter); border-top: 1px solid rgba(24,50,52,.18); color: var(--muted); font-size: .9rem; }
.site-footer p { max-width: 700px; margin: 0; }
.subpage-hero { padding: clamp(55px, 9vw, 112px) var(--gutter) clamp(35px, 6vw, 70px); border-bottom: 1px solid var(--line); background: var(--surface); }
.subpage-hero-inner, .subpage-content { width: min(100%, var(--content)); margin-inline: auto; }
.subpage-hero h1 { max-width: 870px; }
.subpage-hero p:not(.eyebrow) { max-width: 750px; color: var(--muted); font-size: 1.12rem; }
.back-home { display: inline-block; margin-bottom: 32px; color: var(--ink); font-weight: 700; }
.subpage-content { padding: clamp(42px, 7vw, 85px) 0; }
body[data-page="history"] .subpage-hero { padding-top: 38px; padding-bottom: 31px; }
body[data-page="history"] .back-home { margin-bottom: 16px; }
body[data-page="history"] .subpage-content { padding-top: 34px; }
.subpage-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.subpage-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--surface); }
.manufacturer-card { display: flex; flex-direction: column; min-height: 205px; text-decoration: none; transition: border-color .18s, transform .18s; }
.manufacturer-card:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.manufacturer-card-action { margin-top: auto; padding-top: 18px; color: var(--ink); font-weight: 800; }
.manufacturer-card:hover .manufacturer-card-action { text-decoration: underline; text-underline-offset: 4px; }
.subpage-card h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.subpage-card p { color: var(--muted); }
.subpage-card .card-note { margin-bottom: 0; }
.budget-preview { margin-top: 28px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--ink); border-left: 5px solid var(--ink); background: #eaf2f3; }
.budget-hero-link { margin-top: 12px; }
.budget-preview h2 { max-width: 690px; margin-bottom: 12px; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.budget-preview p { max-width: 790px; color: var(--text); line-height: 1.65; }
.budget-preview .secondary-button { display: inline-flex; align-items: center; margin-top: 7px; text-decoration: none; }
.budget-preview .secondary-button:hover, .budget-preview .secondary-button:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.subpage-bottom { max-width: 800px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.subpage-bottom .secondary-button { margin-top: 12px; }
.subpage-label { display: block; margin-bottom: 18px; color: var(--leaf); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.history-intro { max-width: 790px; }
.history-intro h2 { margin-bottom: 4px; }
.history-intro p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .95rem; }
.history-overview-scroll { margin: 25px 0 12px; }
.history-overview-line { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); height: 83px; }
.history-overview-line::before { content: ''; position: absolute; top: 43px; left: 3.6%; right: 3.6%; height: 3px; background: var(--ink); }
.history-overview-point { position: relative; min-width: 0; text-align: center; }
.history-overview-label { position: absolute; top: 0; left: 2px; right: 2px; display: flex; height: 36px; align-items: flex-end; justify-content: center; color: var(--ink); font-size: .66rem; font-weight: 750; line-height: 1.05; overflow-wrap: anywhere; }
.history-overview-dot { position: absolute; top: 38px; left: 50%; width: 13px; height: 13px; transform: translateX(-50%); border: 2px solid var(--surface); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.history-overview-point.radio .history-overview-dot { background: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.history-overview-point.application .history-overview-dot { background: var(--leaf); box-shadow: 0 0 0 1px var(--leaf); }
.history-overview-point.platform .history-overview-dot { background: #555b84; box-shadow: 0 0 0 1px #555b84; }
.history-overview-point small { position: absolute; top: 57px; left: 0; width: 100%; color: var(--muted); font-size: .67rem; font-weight: 800; white-space: nowrap; }
.history-map { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.history-map-row { position: relative; display: flex; min-height: 142px; flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px 11px 10px; border: 1px solid var(--line); border-top: 4px solid var(--ink); background: var(--surface); }
.history-map-row.radio { border-top-color: var(--copper); }
.history-map-row.application { border-top-color: var(--leaf); }
.history-map-row.platform { border-top-color: #555b84; }
.history-map-year { color: var(--ink); font-size: .78rem; font-weight: 800; line-height: 1.25; }
.history-map-title { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px; }
.history-map-title strong { width: 100%; color: var(--ink); font-size: .98rem; line-height: 1.18; }
.history-map-note { margin: auto 0 0; color: var(--muted); font-size: .7rem; line-height: 1.25; }
.history-comparison { margin-top: 54px; }
.history-comparison-intro { max-width: 760px; color: var(--muted); }
.history-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 25px; align-items: start; }
.history-comparison-card { border: 1px solid var(--line); background: var(--surface); }
.history-comparison-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0; padding: 17px 22px 0; color: var(--ink); font-size: 1.08rem; }
.history-comparison-card h3 span { color: var(--muted); font-size: .78rem; font-weight: 500; text-align: right; }
.history-comparison-body { padding: 0 22px 17px; }
.history-feature-list { margin: 11px 0; padding-left: 18px; color: var(--text); }
.history-feature-list li { margin: 7px 0; }
.history-comparison-body .history-nuance { margin: 13px 0 0; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.history-dimming { margin-top: 18px; padding: 22px 26px; border-left: 4px solid var(--ink); background: #eef2f3; }
.history-dimming p { max-width: 900px; margin-bottom: 0; color: var(--muted); }
.history-provenance { margin-top: 58px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.history-provenance p { margin-bottom: 7px; }
.history-gateway { background: var(--surface); }
.history-gateway-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 6vw, 90px); align-items: center; }
.history-gateway-copy p:not(.eyebrow) { max-width: 510px; color: var(--muted); font-size: 1.08rem; }
.history-gateway-copy .primary-button { margin-top: 9px; }
.history-gateway-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.history-gateway-point { position: relative; display: grid; align-content: start; gap: 4px; min-height: 133px; padding: 17px 10px 0; border-left: 1px solid var(--line); }
.history-gateway-point::before { content: ''; position: absolute; top: -7px; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--copper); }
.history-gateway-year { color: var(--leaf); font-size: .82rem; font-weight: 800; }
.history-gateway-point strong { color: var(--ink); }
.history-gateway-point small { color: var(--muted); line-height: 1.3; }
.loading { margin: 50px var(--gutter); }
@media (max-width: 1250px) {
  .menu-toggle { display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; border: 1px solid var(--ink); border-radius: 3px; background: transparent; }
  .menu-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; gap: 0; max-height: calc(100svh - 78px); overflow-y: auto; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav a { min-height: 48px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .more-menu { align-self: stretch; font-size: 1rem; }
  .more-menu summary { min-height: 48px; border-bottom: 1px solid var(--line); }
  .more-menu-links { position: static; width: 100%; padding: 0 0 0 15px; border: 0; box-shadow: none; background: transparent; }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  .history-overview-scroll { overflow-x: auto; }
  .history-overview-line { min-width: 980px; }
  .history-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-left: var(--gutter); }
  .cost-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .budget-grid, .resource-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 68px; }
  .site-header { min-height: 68px; padding-block: 8px; }
  .brand img { width: 52px; height: 52px; }
  .main-nav { max-height: calc(100svh - 68px); }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 45px var(--gutter) 34px; }
  h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-visual { min-height: 47svh; }
  .fact-line { grid-template-columns: 1fr; padding-block: 9px; }
  .fact-line span { text-align: left; padding: 7px 0; }
  .story-layout, .renovation-layout, .faq-layout { grid-template-columns: 1fr; gap: 18px; }
  .renovation-band { grid-template-columns: 1fr; gap: 12px; }
  .story-aside { margin-top: 5px; }
  .pillars, .options-grid { grid-template-columns: 1fr; }
  .pillar { padding-top: 13px; }
  .pillar-number { margin-bottom: 13px; }
  .option { min-height: 0; }
  .option-index { margin-bottom: 18px; }
  .scene { height: 58svh; min-height: 340px; }
  .cost-grid { grid-template-columns: 1fr; gap: 18px; }
  .knowledge-grid, .budget-grid, .resource-grid { grid-template-columns: 1fr; }
  .subpage-card-grid { grid-template-columns: 1fr; }
  .history-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-map-row { min-height: 132px; }
  .history-comparison-card h3 { align-items: flex-start; flex-direction: column; gap: 4px; }
  .history-comparison-card h3 span { text-align: left; }
  .history-comparison-grid { grid-template-columns: 1fr; }
  .history-gateway-inner { grid-template-columns: 1fr; }
  .history-gateway-preview { overflow-x: auto; }
  .history-gateway-point { min-width: 105px; }
  .choices { grid-template-columns: 1fr; }
  .form-actions > button { width: 100%; }
  .chapter { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 430px; }
  .hero-visual { min-height: 340px; }
  .scene { height: 430px; min-height: 340px; }
}
@media print {
  body { background: #fff; }
  .site-header, .skip-link, .hero, .fact-line, .chapter:not(.form-section), .site-footer, .form-intro, .privacy-note, .questionnaire, .summary-actions { display: none !important; }
  .form-section { padding: 0; background: #fff; }
  .summary { display: block !important; margin: 0; border: 0; padding: 0; }
  .summary-note { color: #333; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
