@font-face { font-family: 'Heliostra Sans'; src: url('./assets/OhwSubsetSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Heliostra Text'; src: url('./assets/newsreader-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #f3f8ff; --ink: #18346e; --soft: #dfebff; --accent: #1543a5; --on-accent: #ffffff; --rule: #8a9fc5; --control: #536d9e; --display: 'Heliostra Sans', Arial, sans-serif; --body: 'Heliostra Text', Georgia, serif; --label: var(--display); --weight: 700; --body-size: 1.2rem; }

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: var(--body-size, 1rem)/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: var(--weight); line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.4rem; }
figure { margin: 0; }
.wrap { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.page-intro h1 { max-width: 14ch; }
.page-intro .lead { max-width: 43rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font: .75rem/1.5 var(--label); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.5rem; }
.small { font: .85rem/1.65 var(--label); }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 5; padding: 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.75rem; }
.brand { font: var(--weight) 2.4rem/1 var(--display); letter-spacing: -.05em; text-decoration: none; }
.brand span { display: block; margin-top: .65rem; font: .6rem/1.5 var(--label); letter-spacing: .08em; }
#navigation { display: flex; gap: 1.3rem; align-items: center; font: .85rem/1.5 var(--label); }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a[aria-current], #navigation a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; min-height: 44px; padding: .5rem .75rem; border: 1px solid currentColor; background: transparent; font: .9rem/1.5 var(--label); }
.arrow, .disclosure { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; max-width: 100%; font: 1rem/1.5 var(--label); }
.text-link { padding-block: .6rem; }
.button { justify-content: space-between; border: 2px solid transparent; padding: 1rem 1.3rem; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.illustration { display: block; width: 100%; height: auto; }
figcaption { padding: 1rem 0; font: .8rem/1.5 var(--label); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > *, .form-layout > *, .footer-layout > *, .closing-layout > *, .price-row > * { min-width: 0; }
.note { background: var(--soft); padding: clamp(1.5rem, 3vw, 2.5rem); }
.price-list { margin-block: 2rem; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.price-row > p:last-child { grid-column: 1 / -1; max-width: 48rem; }
.price-row h3 { margin: 0; }
.price { font: var(--weight) 1.6rem/1.3 var(--display); margin: 0; }
ul, ol { padding-left: 1.3rem; }
li { padding-block: .3rem; }
.closing { padding-block: 3rem; background: var(--soft); }
.closing-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing-layout > div { max-width: 40rem; }
.closing-layout h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.closing .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--rule); font: .85rem/1.7 var(--label); }
.footer-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.footer-name { font: var(--weight) 1.6rem/1.3 var(--display); }
.site-footer a { display: inline-block; padding-block: .7rem; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-panel { padding: clamp(1rem, 3vw, 2.5rem); background: var(--soft); }
.demo-note { border-left: 3px solid currentColor; padding-left: 1rem; margin-top: 2rem; }
fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
legend { font: var(--weight) 1.8rem/1.2 var(--display); padding: 0; margin-bottom: 1rem; max-width: 100%; }
.field { margin-bottom: 1.25rem; }
label { display: block; font: .95rem/1.5 var(--label); margin-bottom: .4rem; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .75rem; border: 1px solid var(--control); border-radius: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--label); }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.confirmation { padding-block: 1rem; }
.prose { max-width: 760px; }
.prose section + section { margin-top: 3rem; }
.prose > .small { margin-top: 3rem; }
details { border-top: 1px solid var(--rule); padding-block: .6rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; list-style: none; font: 1rem/1.5 var(--label); }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-block: 1rem; max-width: 48rem; }
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; gap: 1rem; }
  .menu-toggle { display: inline-block; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .25rem; }
  #navigation a { padding: .65rem .4rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .closing-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 760px) {
  .split, .form-layout, .footer-layout { grid-template-columns: 1fr; gap: 2rem; }
  .brand { font-size: 2.1rem; }
  .brand span { font-size: .55rem; }
}
@media (max-width: 400px) {
  .price-row { grid-template-columns: 1fr; gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.site-header { border-bottom: 2px solid var(--ink); }
.brand { letter-spacing: -.06em; font-size: 2.35rem; }
#navigation { font-weight: 700; }
.solar-opening { padding-block: 3rem 0; }
.solar-heading { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: end; }
.solar-heading h1 { font-size: clamp(3rem, 7vw, 6.4rem); margin: 0; }
.solar-heading .lead { margin: 0; font-size: 1.4rem; }
.roof-figure { margin-top: 2.5rem; }
.roof-figure svg { background: #dfebff; border-radius: 1rem 1rem 0 0; }
.roof-figure figcaption { background: #1543a5; color: white; padding: 1rem 1.5rem; }
.count-band { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; background: #f4ef7b; padding: 2.5rem; }
.count-band h2 { font-size: 2rem; }
.count-band dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.count-band dt { font: 700 .8rem/1.5 var(--label); }
.count-band dd { margin: .5rem 0 0; font: 700 2.5rem/1.2 var(--display); }
.season-row { display: grid; grid-template-columns: 7rem 1fr; gap: 2rem; padding-block: 1.4rem; border-top: 1px solid var(--rule); }
.season-row .eyebrow { margin: 0; padding-top: .3rem; }
.season-row h3 { font-size: 1.4rem; }
.price-list { border-bottom: 2px solid var(--ink); }
.price-row { grid-template-columns: 1fr 1fr; }
.price-row .price { text-align: right; }
.price-row > p:last-child { font-size: 1.15rem; }
.access-note { padding-left: 1.5rem; border-left: 6px solid #1543a5; }
.closing { background: #f4ef7b; }
.form-panel { border-top: 6px solid #1543a5; }
.solar-heading > *, .count-band > *, .count-band dl > *, .season-row > * { min-width: 0; }
@media (max-width: 900px) {
  .solar-heading, .count-band { grid-template-columns: 1fr; gap: 1.5rem; }
  .solar-heading .lead { max-width: 38rem; }
}
@media (max-width: 500px) {
  .count-band { padding: 1.5rem; }
  .count-band dl { grid-template-columns: 1fr; }
  .count-band dl > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .count-band dd { margin: 0; font-size: 2rem; }
  .season-row { grid-template-columns: 1fr; gap: .5rem; }
  .price-row { grid-template-columns: 1fr; }
  .price-row .price { text-align: left; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
