html { scroll-padding-top: 18px; }
[hidden] { display: none !important; }
.online-wrap { width: min(1170px, calc(100% - 48px)); margin: 0 auto; }
.online-hero, .roof-builder { font-family: Inter, Arial, sans-serif; color: #252b2d; }
.online-hero h1, .online-hero h2, .roof-builder h2 { font-family: Inter, Arial, sans-serif; letter-spacing: -.035em; line-height: 1.13; }
.online-hero { position: relative; isolation: isolate; min-height: 590px; overflow: hidden; color: #fff; background: #5e8d93; }
.online-hero-photo { position: absolute; z-index: -1; inset: 0 0 0 28%; }
.online-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.online-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #5e8d93 0%, rgba(94,141,147,.94) 12%, rgba(56,95,102,.53) 37%, transparent 75%); }
.online-watermark { position: absolute; top: 0; left: 2%; width: 580px; max-width: 48%; height: 100%; object-fit: contain; opacity: .055; filter: brightness(0) invert(1); pointer-events: none; }
.online-hero-copy { position: relative; z-index: 1; padding: 70px 0 68px; }
.online-eyebrow { margin: 0 0 22px; color: #e5efed; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.online-hero h1 { max-width: 610px; margin: 0 0 19px; color: white; font-size: clamp(42px, 4.7vw, 64px); line-height: 1.07; }
.online-hero h2 { max-width: 480px; margin: 0 0 16px; color: white; font-size: clamp(23px, 2.5vw, 31px); }
.online-hero-copy > p:not(.online-eyebrow) { max-width: 430px; margin: 0 0 25px; color: white; font-size: 16px; line-height: 1.6; }
.online-area { display: block; margin-top: 20px; color: #edf3f1; font-size: 12px; font-weight: 600; }
.online-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.online-button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; padding: 13px 20px; border: 0; border-radius: 7px; cursor: pointer; text-align: center; font: 700 14px/1.4 Inter, Arial, sans-serif; text-decoration: none; }
.online-button--light { background: #fff; color: #355b61; }
.online-button--light:hover { background: #e9f0ee; }
.online-button--rust { background: #a65f48; color: #fff; }
.online-button--rust:hover { background: #8c4e3b; }
.online-button:focus-visible, .option-card:focus-within, .steel-option:focus-within, .visit-option:focus-within, .contact-field input:focus-visible, .code-sources a:focus-visible { outline: 3px solid #a65f48; outline-offset: 3px; }
.online-hero .online-button:focus-visible { outline-color: white; }
.roof-builder { background: #fff; padding: 75px 0 90px; }
.online-kicker { margin: 0 0 12px; color: #a65f48; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; }
.builder-intro { max-width: 720px; margin-bottom: 18px; }
.builder-intro h2 { margin: 0 0 15px; font-size: clamp(35px, 4.1vw, 52px); }
.builder-intro > p:not(.online-kicker) { max-width: 630px; margin: 0; color: #59676a; font-size: 16px; line-height: 1.7; }
.builder-intro > .price-guide { margin-top: 12px !important; font-size: 12px !important; }
.roof-section { padding: 57px 0 60px; border-bottom: 1px solid #d8e1df; }
.roof-builder .section-heading { display: block; max-width: 720px; margin-bottom: 25px; }
.roof-builder .section-heading > .online-kicker { margin: 0 0 12px; font-size: 11px; line-height: 1.4; }
.roof-builder .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section-heading h2, .starter-section h2, .call-section h2 { margin: 0 0 12px; font-size: clamp(28px, 3.1vw, 39px); }
.section-heading > p:not(.online-kicker) { max-width: 675px; margin: 0; color: #59676a; font-size: 15px; line-height: 1.75; }
.roof-section fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.option-grid { display: grid; gap: 15px; }
.option-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-card { display: flex; align-items: flex-start; gap: 15px; min-width: 0; min-height: 170px; padding: 24px 21px; border: 1px solid #cbd6d4; border-radius: 5px; background: #fff; cursor: pointer; }
.option-card:hover { border-color: #739b9b; background: #f8faf9; }
.option-card.is-selected { border: 2px solid #4c7b7e; padding: 23px 20px; background: #f0f6f4; }
.option-card input, .steel-option input, .visit-option input { flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: #47787b; cursor: pointer; }
.option-content { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.option-content strong { color: #252b2d; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.option-content > span { color: #59676a; font-size: 14px; line-height: 1.7; }
.option-content small { color: #456e72; font-size: 12px; font-weight: 600; line-height: 1.5; }
.option-card--short { min-height: 110px; }
.cost-level, .steel-option .cost-level { display: inline-block; margin-left: 6px; color: #a65f48; font-size: .7em; font-weight: 700; letter-spacing: .03em; vertical-align: .12em; white-space: nowrap; }
.ventilation-choice-group { display: grid; align-content: start; gap: 12px; }
.ventilation-choice-group .option-card { min-height: 130px; }
.ventilation-choice-label { margin: 0 0 2px; color: #667575; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.detail-note { max-width: 850px; margin: 17px 0 0; color: #667575; font-size: 12px; line-height: 1.65; }
.starter-section { display: grid; grid-template-columns: 180px 1fr; gap: 45px; margin: 60px 0 0; padding: 42px 45px; color: white; background: #456f73; }
.starter-section h2 { color: white; }
.starter-section p { max-width: 730px; margin: 0 0 13px; color: #f0f6f4; font-size: 14px; line-height: 1.75; }
.starter-label { color: #e5efed; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.starter-section .code-sources { margin: 20px 0 0; font-size: 11px; }
.code-sources a { text-decoration: underline; text-underline-offset: 3px; }
.steel-option { display: flex; align-items: flex-start; gap: 15px; margin-top: 24px; padding: 22px; border: 1px solid #cbd6d4; border-radius: 5px; background: #f7f8f6; cursor: pointer; }
.steel-option.is-selected { border: 2px solid #4c7b7e; padding: 21px; background: #f0f6f4; }
.steel-option > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 14px; }
.steel-option strong { color: #252b2d; font-size: 16px; }
.steel-option span span { color: #59676a; font-size: 13px; }
.steel-option em { flex-basis: 100%; color: #a65f48; font-size: 12px; font-weight: 700; font-style: normal; }
.call-section { margin-top: 68px; padding: 42px; background: #edf2f0; }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
.call-grid > div:first-child > p:not(.online-kicker) { max-width: 420px; margin: 0; color: #59676a; font-size: 15px; line-height: 1.75; }
.call-form { display: grid; gap: 16px; }
.contact-field label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 700; }
.contact-field input, #request-copy { display: block; width: 100%; min-height: 49px; padding: 11px 12px; border: 1px solid #aab8b6; border-radius: 4px; background: #fff; color: #252b2d; font: 400 16px/1.4 Inter, Arial, sans-serif; }
.visit-option { display: flex; align-items: center; gap: 11px; color: #425451; font-size: 13px; cursor: pointer; }
.visit-option input { margin: 0; }
.form-error { margin: 0; color: #943d2e; font-size: 13px; font-weight: 600; line-height: 1.5; }
.inline-error { margin-top: 12px; }
.call-button { width: max-content; min-width: 170px; }
.call-note { margin: -3px 0 0; color: #687674; font-size: 11px; line-height: 1.6; }
#request-copy { min-height: 160px; resize: vertical; }
@media (max-width: 1000px) { .online-hero-photo { left: 18%; } .option-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px), (orientation: portrait) {
 .online-wrap { width: calc(100% - 40px); }
 .online-hero { display: flex; flex-direction: column; min-height: 0; }
 .online-hero-copy { width: 100%; padding: 36px 24px 24px; }
 .online-hero h1 { max-width: 400px; margin-bottom: 14px; font-size: clamp(34px, 9vw, 46px); }
 .online-hero h2 { max-width: 330px; margin-bottom: 12px; font-size: 23px; }
 .online-hero-copy > p:not(.online-eyebrow) { max-width: 330px; margin-bottom: 21px; font-size: 14px; }
 .online-watermark { top: 0; left: 4%; width: 400px; max-width: 90%; height: 410px; }
 .online-hero-photo { position: relative; z-index: 0; inset: auto; order: 2; width: 100%; aspect-ratio: 1.25; margin-top: -115px; }
 .online-hero-photo img { object-position: center 55%; }
 .online-hero-photo::after { background: linear-gradient(180deg, #5e8d93 0%, rgba(94,141,147,.8) 8%, rgba(94,141,147,.42) 18%, rgba(94,141,147,.12) 28%, transparent 40%); }
 .online-area { margin-top: 14px; max-width: 300px; color: white; text-shadow: 0 1px 4px #000b; }
 .online-button { min-height: 46px; padding: 12px 16px; font-size: 13px; }
 .roof-builder { padding: 50px 0 68px; }
 .builder-intro > p:not(.online-kicker) { font-size: 14px; }
 .roof-section { padding: 43px 0 45px; }
 .section-heading { margin-bottom: 21px; }
 .section-heading h2, .starter-section h2, .call-section h2 { font-size: 28px; }
 .section-heading > p:not(.online-kicker) { font-size: 14px; }
 .option-grid--three, .option-grid--two { grid-template-columns: 1fr; gap: 11px; }
 .option-card, .ventilation-choice-group .option-card { min-height: 0; padding: 20px 18px; }
 .option-card.is-selected { padding: 19px 17px; }
 .option-content { gap: 7px; }
 .option-content strong { font-size: 18px; }
 .option-content > span { font-size: 13px; line-height: 1.65; }
 .starter-section { grid-template-columns: 1fr; gap: 15px; margin-top: 45px; padding: 29px 24px 32px; }
 .starter-section p { font-size: 13px; }
 .steel-option { padding: 19px 18px; }
 .steel-option.is-selected { padding: 18px 17px; }
 .call-section { margin-top: 45px; padding: 30px 23px; }
 .call-grid { grid-template-columns: 1fr; gap: 26px; }
 .call-grid > div:first-child > p:not(.online-kicker) { font-size: 14px; }
 .inline-error { margin-top: 12px; }
.call-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* The planner is the page: no second hero or gap above it. */
.roof-builder { padding: 0; }
@media (max-width: 700px) { .roof-builder { padding: 0; } }
