/* Hoosier Cladding — site styles
   Palette: the brand's steel blue and cedar, warmed with Indiana limestone,
   tuned for AA+ contrast and large, easy tap targets for homeowners of every age. */
:root {
  --steel-900: #0A2438;
  --steel: #0E3A5B;
  --steel-700: #15496F;
  --steel-200: #C7D7E4;
  --steel-100: #E3ECF3;
  --steel-50: #F2F6F9;
  --cedar: #A84E12;        /* white text on this = 5.6:1 */
  --cedar-700: #8A3F0D;
  --cedar-100: #F7E7D9;
  --limestone: #F7F3EC;
  --limestone-200: #E9E1D2;
  --paper: #FFFFFF;
  --ink: #14202E;
  --slate: #46556A;
  --sage: #2F6B4F;
  --sage-100: #E1EFE7;
  --brick: #9B2C22;
  --brick-100: #FBE7E4;
  --focus: #F2A33A;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 36, 56, .06), 0 8px 24px rgba(10, 36, 56, .08);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: var(--limestone); -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--cedar-700); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--steel-900); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 750; margin-top: 1.6em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--steel); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.15em; border-radius: 999px; font: 700 1rem/1.1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cedar); color: #fff; box-shadow: 0 6px 16px rgba(168, 78, 18, .25); }
.btn-primary:hover { background: var(--cedar-700); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--steel); border-color: var(--steel-200); }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: .8em 1.4em; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.cta-row.center { justify-content: center; }
@media (max-width: 520px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--limestone-200); }
.bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--steel-900); margin-right: auto; }
.brand img { width: 44px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.brand small { font-size: .78rem; color: var(--slate); font-weight: 600; }
.nav-desktop { display: none; gap: 4px; }
.nav-desktop a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-desktop a:hover, .nav-desktop a[aria-current] { background: var(--steel-100); color: var(--steel); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.bar-actions .btn { min-height: 44px; padding: .55em 1em; font-size: .95rem; }
.hide-sm { display: none !important; }
@media (min-width: 1100px) { .nav-desktop { display: flex; } .nav-mobile { display: none; } .hide-sm { display: inline-flex !important; } }
@media (max-width: 560px) { .bar-actions > .btn-primary { display: none; } }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; border-radius: 12px; cursor: pointer; border: 1px solid var(--limestone-200); background: var(--paper); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { width: 22px; height: 2.5px; background: var(--steel-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile[open] summary span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
.nav-mobile[open] summary span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-mobile nav { position: fixed; left: 0; right: 0; top: var(--header-h); background: var(--paper); border-bottom: 1px solid var(--limestone-200); box-shadow: var(--shadow); padding: 8px 16px 20px; display: grid; }
.nav-mobile nav a { padding: 14px 6px; font-size: 1.15rem; font-weight: 650; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--limestone-200); }
.nav-mobile nav a:last-child { border: 0; color: var(--cedar); }

/* ---------- breadcrumbs & page hero */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--slate); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--steel-200); }
.crumbs a { color: var(--slate); }
.page-hero { background: linear-gradient(180deg, var(--paper), var(--limestone)); padding: 28px 0 32px; border-bottom: 1px solid var(--limestone-200); }
.page-hero h1 { max-width: 20ch; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--slate); max-width: 62ch; }

/* ---------- content layout */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 16px 48px; }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } .side { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.prose { max-width: 72ch; }
.prose h2:first-child { margin-top: .4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
ul.checks { list-style: none; padding: 0; }
ul.checks li { position: relative; padding-left: 1.9em; margin: .55em 0; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%232F6B4F' d='M8 13.2 4.8 10l-1.4 1.4L8 16l9-9-1.4-1.4z'/%3E%3C/svg%3E") center/80% no-repeat; }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 2.6em; margin: .9em 0; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: -.05em; width: 1.8em; height: 1.8em; display: grid; place-items: center; border-radius: 50%; background: var(--steel); color: #fff; font-weight: 800; font-size: .95em; }
ol.steps.tight li { margin: .5em 0; }
.small { font-size: .95rem; }
dl.specs { display: grid; gap: 4px 0; }
dl.specs dt { font-weight: 750; color: var(--steel-900); margin-top: .8em; }
dl.specs dd { margin: 0; color: var(--slate); }
.callout { background: var(--steel-50); border: 1px solid var(--steel-100); border-left: 4px solid var(--steel); padding: 14px 16px; border-radius: var(--radius-sm); }
.note { font-size: .95rem; color: var(--slate); background: var(--limestone); border-radius: var(--radius-sm); padding: 12px 14px; }
.byline { color: var(--slate); font-size: .95rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { background: var(--paper); border: 1px solid var(--limestone-200); border-radius: 999px; padding: 6px 12px; font-size: .92rem; }
.link-list { columns: 2 220px; }
.compare { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.compare > div { background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius); padding: 16px 18px; }
.compare h3 { margin: 0; }
.compare p { font-weight: 800; color: var(--cedar); margin: .2em 0 .4em; }
pre { background: var(--steel-900); color: #E6EEF5; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .88rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
:not(pre) > code { background: var(--steel-100); padding: .1em .35em; border-radius: 5px; word-break: break-word; }

/* ---------- tables */
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
.tbl caption { text-align: left; font-weight: 750; padding: 0 0 10px; color: var(--steel-900); }
.tbl caption small { font-weight: 500; color: var(--slate); margin-left: 6px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--limestone-200); vertical-align: top; }
.tbl thead th { background: var(--steel-50); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); }
.tbl tbody th { font-weight: 600; }
.tbl td strong { color: var(--steel-900); white-space: nowrap; }
.tbl td span { display: block; font-size: .85rem; color: var(--slate); }
.price-card { margin: 0 0 1.5em; }
.price-card figcaption { font-size: .9rem; color: var(--slate); margin-top: 8px; }
@media (max-width: 520px) { .tbl th, .tbl td { padding: 10px; } }

/* ---------- FAQ */
.faq { margin: 2em 0; }
.faq details { background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius-sm); margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--steel); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.faq details p { padding: 0 18px 18px; margin: 0; color: var(--slate); }

/* ---------- cards */
.appt-card, .side.nap-card, .appt-summary { background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.appt-card h3 { margin: .3em 0 .4em; font-size: 1.25rem; }
.appt-card h3 a { text-decoration: none; color: var(--steel-900); }
.appt-card .btn { width: 100%; margin-top: 4px; }
.appt-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--slate); margin: 0; }
.pill { background: var(--sage-100); color: var(--sage); font-weight: 800; border-radius: 999px; padding: 3px 10px; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.next-slot { font-size: .95rem; color: var(--sage); font-weight: 650; min-height: 1.5em; margin: .4em 0 .6em; }
.appt-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin: 24px 0; }
.appt-summary h2 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.nap-card address { font-style: normal; margin-bottom: .8em; }
.nap-card h2 { margin-top: 0; font-size: 1.2rem; }
.big-link { font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 750; color: var(--cedar); margin-bottom: .5em; }
.link-cards { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.link-cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 44px 18px 18px; background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius); text-decoration: none; color: var(--ink); position: relative; transition: border-color .15s, transform .15s; }
.link-cards a:hover { border-color: var(--steel); transform: translateY(-2px); }
.link-cards a > span:not(.eyebrow) { color: var(--slate); font-size: .95rem; }
.link-cards svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--cedar); }
.related { padding: 8px 16px 48px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 700px) { .related { padding: 8px 28px 56px; } }
.areas-line { font-size: .95rem; color: var(--slate); }

/* ---------- services hub */
.svc-section { padding-top: 8px; }
.svc-cards { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svc-cards a { display: grid; gap: 6px; padding: 20px; background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.svc-cards a:hover { border-color: var(--steel); }
.svc-cards strong { font-size: 1.15rem; color: var(--steel-900); }
.svc-cards span { color: var(--slate); font-size: .96rem; }
.svc-cards em { font-style: normal; font-weight: 750; color: var(--cedar); font-size: .95rem; }

/* ---------- service area */
.area-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.area-list a, .area-list div { display: grid; gap: 2px; padding: 16px 40px 16px 16px; background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius); text-decoration: none; color: var(--ink); position: relative; height: 100%; }
.area-list span { color: var(--slate); font-size: .92rem; }
.area-list small { color: var(--slate); font-size: .8rem; }
.area-list svg { position: absolute; right: 14px; top: 18px; color: var(--cedar); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--paper); padding: 16px; border-radius: var(--radius); border: 1px solid var(--limestone-200); }
.inline-form label { font-weight: 700; width: 100%; }
.inline-form input { flex: 1 1 140px; }
.inline-form output { width: 100%; font-weight: 600; }
.area-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { background: var(--paper); border: 1px solid var(--limestone-200); border-radius: 999px; padding: 8px 14px; font-weight: 600; }
.area-chips a { text-decoration: none; }

/* ---------- forms */
input, textarea, select { font: inherit; font-size: 1.05rem; color: var(--ink); width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #B9C3CF; border-radius: var(--radius-sm); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--steel); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .98rem; }
.field .hint { font-size: .88rem; color: var(--slate); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field.invalid input, .field.invalid textarea { border-color: var(--brick); }
.field .err { color: var(--brick); font-size: .9rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 650; margin-top: 12px; }
.form-status.ok { color: var(--sage); }
.form-status.bad { color: var(--brick); }
.cf-turnstile { margin: 6px 0 14px; min-height: 65px; }

/* ---------- booking calendar */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 16px 40px; }
@media (min-width: 960px) { .booking-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } .booking-grid .side { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.booker { background: var(--paper); border: 1px solid var(--limestone-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 12px; min-height: 420px; }
@media (min-width: 620px) { .booker { padding: 26px; } }
.booker-loading { color: var(--slate); padding: 40px 0; text-align: center; }
.bk-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; font-weight: 700; color: var(--slate); }
.bk-steps li { flex: 1; padding-top: 8px; border-top: 4px solid var(--limestone-200); }
.bk-steps li[aria-current] { color: var(--steel); border-color: var(--cedar); }
.bk-steps li.done { border-color: var(--steel); }
.bk-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-month h3 { margin: 0; font-size: 1.2rem; }
.bk-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--limestone-200); background: var(--paper); font-size: 1.4rem; cursor: pointer; color: var(--steel); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-grid .dow { font-size: .78rem; font-weight: 750; color: var(--slate); padding: 6px 0; text-transform: uppercase; }
.bk-day { height: 48px; min-width: 0; border-radius: 12px; border: 0; background: transparent; font: 700 1.05rem var(--font); color: #A3ACB7; display: grid; place-items: center; position: relative; }
.bk-day.open { background: var(--steel-50); color: var(--steel-900); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--steel-200); }
.bk-day.open::after { content: ""; position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.bk-day.open:hover { box-shadow: inset 0 0 0 2px var(--steel); }
.bk-day[aria-pressed="true"] { background: var(--steel); color: #fff; box-shadow: none; }
.bk-day[aria-pressed="true"]::after { background: #fff; }
.bk-day.today { text-decoration: underline; text-underline-offset: 4px; }
.bk-legend { font-size: .85rem; color: var(--slate); margin: 10px 0 0; display: flex; align-items: center; gap: 6px; }
.bk-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); display: inline-block; }
.bk-times { margin-top: 20px; }
.bk-times h3 { font-size: 1.1rem; }
.bk-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .bk-slots { grid-template-columns: repeat(4, 1fr); } }
.bk-slot { min-height: 56px; border-radius: var(--radius-sm); border: 1.5px solid var(--steel-200); background: var(--paper); font: 750 1.08rem var(--font); color: var(--steel-900); cursor: pointer; }
.bk-slot:hover { border-color: var(--steel); }
.bk-slot[aria-pressed="true"] { background: var(--steel); color: #fff; border-color: var(--steel); }
.bk-empty { color: var(--slate); }
.bk-chosen { background: var(--steel-50); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bk-chosen strong { display: block; font-size: 1.1rem; color: var(--steel-900); }
.bk-link { background: none; border: 0; color: var(--steel); font: 700 1rem var(--font); text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; }
.bk-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--paper) 30%); padding: 16px 0 4px; margin-top: 8px; }
.bk-actions .btn { width: 100%; }
.bk-done { text-align: center; padding: 20px 4px; }
.bk-done .tick { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--sage-100); display: grid; place-items: center; color: var(--sage); }
.bk-ref { font: 800 1.6rem ui-monospace, Menlo, monospace; letter-spacing: .06em; color: var(--steel-900); background: var(--limestone); border-radius: var(--radius-sm); padding: 10px 16px; display: inline-block; margin: 6px 0 14px; }
.bk-error { background: var(--brick-100); color: var(--brick); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; }

/* ---------- home hero */
.home-hero { background: radial-gradient(1200px 500px at 85% -10%, var(--steel-100), transparent 60%), linear-gradient(180deg, var(--paper), var(--limestone)); padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 24px; } }
.hero-copy h1 { max-width: 13ch; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.chips li { font-size: .9rem; font-weight: 650; padding: 6px 12px 6px 30px; border-radius: 999px; background: var(--paper); border: 1px solid var(--limestone-200); position: relative; }
.chips li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); transform: translateY(-50%); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(10, 36, 56, .35); aspect-ratio: 1512 / 793; object-fit: cover; width: 100%; }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 650; }

/* ---------- story scroll */
.story { background: var(--steel-900); color: #E8EEF3; position: relative; }
.story-grid { max-width: 1180px; margin: 0 auto; display: grid; }
.stage { position: sticky; top: var(--header-h); z-index: 2; height: 38svh; display: grid; place-items: center; padding: 10px 16px; background: linear-gradient(var(--steel-900) 85%, transparent); }
.stage .house { height: 100%; width: auto; max-width: 100%; }
.chapters { padding: 0 16px 10vh; position: relative; z-index: 1; }
.chapter { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; max-width: 34rem; margin: 0 auto; padding: 24px 0; opacity: .35; transition: opacity .5s; }
.chapter.on { opacity: 1; }
.chapter .eyebrow { color: #F0B27A; }
.chapter h3 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.chapter p { color: #C9D6E2; font-size: 1.1rem; }
.chapter a:not(.btn) { color: #F6C796; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 0 28px; }
  .stage { height: calc(100svh - var(--header-h)); background: none; padding: 40px 0; }
  .chapters { padding: 20vh 0 30vh; }
  .chapter { min-height: 72vh; margin: 0; }
}
.sign-list { list-style: none; padding: 0; }
.sign-list li { display: flex; gap: 12px; align-items: baseline; margin: .6em 0; color: #DCE6EE; }
.sign-list b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cedar); color: #fff; font-size: .9rem; }
.chapter ol.steps li::before { background: var(--cedar); }
.chapter ol.steps li { color: #DCE6EE; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 14px; }
.swatches button, .material-pick button { min-height: 48px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 650 .9rem var(--font); display: flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; text-align: left; }
.swatches span { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.swatches button[aria-checked="true"], .material-pick button[aria-checked="true"] { border-color: #F0B27A; background: rgba(240,178,122,.14); }
.material-pick { display: grid; gap: 8px; }
.material-pick button { justify-content: space-between; }
.material-pick small { color: #C9D6E2; font-weight: 600; }
.choice-out { margin-top: 12px; }
.choice-out strong { color: #fff; }
@media (max-width: 400px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* house illustration states (driven by .stage[data-step]) */
.house .sky-a { stop-color: #CFE0EC; transition: stop-color 1s; }
.house .sky-b { stop-color: #F4EBDD; transition: stop-color 1s; }
.house .sun { fill: #F6D38B; transition: fill 1s, transform 1s; }
.house .ground { fill: #6E8B5B; }
.house .tree { fill: #557448; }
.house .osb { fill: #C29C6B; }
.house .wrap-layer rect { fill: #EEF2F5; }
.house .wrap-layer text { font: 700 9px var(--font); fill: #6A8FB0; letter-spacing: .1em; }
.house .wrap-layer { opacity: 0; transition: opacity .6s; }
.house .c rect:first-child { fill: var(--siding); transition: fill .5s; }
.house .c .lap { fill: rgba(0,0,0,.16); }
.house .old rect:first-child { fill: #B9B2A2; }
.house .old { transition: opacity .6s, transform .6s; transform-box: fill-box; transform-origin: left center; }
.house .old.warp { transform: rotate(-1.2deg) translateY(1px); }
.house .old.gone { opacity: 0; }
.house .new { transform: translateX(-105%); transition: transform .55s cubic-bezier(.2,.7,.2,1); transition-delay: calc((22 - var(--i)) * 45ms); }
.house .roof { fill: none; stroke: #2E3B48; stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.house .fascia, .house .corner, .house .trim, .house .step { fill: #F7F5EF; }
.house .glass { fill: #5D7C95; transition: fill .8s; }
.house .mullion { stroke: #F7F5EF; stroke-width: 2.5; }
.house .door-slab { fill: #2F4E69; }
.house .knob { fill: #E3C27B; }
.house .porch-light { fill: #5B5B5B; transition: fill .6s, filter .6s; }
.house .sample { fill: var(--siding); opacity: 0; stroke: #fff; stroke-width: 2; transition: opacity .4s, fill .4s; }
.house .markers circle { fill: var(--cedar); stroke: #fff; stroke-width: 2; }
.house .markers text { font: 800 12px var(--font); fill: #fff; text-anchor: middle; }
.house .markers g { opacity: 0; transition: opacity .4s; }
.house .tape { opacity: 0; transition: opacity .5s; }
.house .tape path { stroke: #F0B27A; stroke-width: 2; fill: none; }
.house .tape text { font: 700 11px var(--font); fill: #F0B27A; text-anchor: middle; }
.house .tape .lens circle { fill: rgba(255,255,255,.18); stroke: #fff; stroke-width: 3; }
.house .tape .lens path { stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.house .snow { opacity: 0; transition: opacity .8s; }
.house .snow circle { fill: #fff; }

.stage[data-step="0"] .snow { opacity: .85; }
.stage[data-step="0"] .snow circle { animation: fall 6s linear infinite; animation-delay: var(--d); }
.stage[data-step="0"] .sky-a, .stage[data-step="1"] .sky-a { stop-color: #AFC2D1; }
.stage[data-step="0"] .sky-b, .stage[data-step="1"] .sky-b { stop-color: #DCE3E8; }
.stage[data-step="0"] .sun { fill: #E6ECF0; }
.stage[data-step="1"] .markers g { opacity: 1; }
.stage[data-step="1"] .markers circle { animation: pulse 1.6s ease-in-out infinite; }
.stage[data-step="1"] .markers g:nth-child(2) circle { animation-delay: .3s; }
.stage[data-step="1"] .markers g:nth-child(3) circle { animation-delay: .6s; }
.stage[data-step="2"] .tape { opacity: 1; }
.stage[data-step="2"] .old { opacity: .55; }
.stage[data-step="3"] .old, .stage[data-step="4"] .old, .stage[data-step="5"] .old { opacity: 0; transform: translateY(14px); }
.stage[data-step="3"] .wrap-layer, .stage[data-step="4"] .wrap-layer, .stage[data-step="5"] .wrap-layer { opacity: 1; }
.stage[data-step="3"] .sample { opacity: 1; }
.stage[data-step="4"] .new, .stage[data-step="5"] .new { transform: none; }
.stage[data-step="5"] .sky-a { stop-color: #23384F; }
.stage[data-step="5"] .sky-b { stop-color: #E7A86B; }
.stage[data-step="5"] .sun { fill: #F2B36B; transform: translateY(40px); }
.stage[data-step="5"] .glass { fill: #F6CF7E; }
.stage[data-step="5"] .porch-light { fill: #FFE3A3; filter: drop-shadow(0 0 6px #FFD27A); }
@keyframes fall { from { transform: translateY(-20px); } to { transform: translateY(300px); } }
@keyframes pulse { 50% { transform: scale(1.15); } }
.house .markers g > * { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .house *, .chapter { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- home sections */
.band { background: var(--paper); padding: 24px 0 48px; border-block: 1px solid var(--limestone-200); }
.band-warm { background: var(--cedar-100); border: 0; }
.section-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.section-card { border: 1px solid var(--limestone-200); border-radius: var(--radius); padding: 20px; background: var(--limestone); }
.section-card h3 a { text-decoration: none; color: var(--steel-900); }
.section-card ul { list-style: none; padding: 0; margin: 0; }
.section-card li { padding: 8px 0; border-top: 1px solid var(--limestone-200); }
.section-card li a { text-decoration: none; font-weight: 600; }
.split { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 24px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.split h2 { margin-top: .6em; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; }
.book-band { background: var(--steel-50); border-top: 1px solid var(--steel-100); padding: 32px 0 48px; }
.book-band-inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .book-band-inner { grid-template-columns: 1fr 360px; gap: 48px; } }
.book-band h2 { margin-top: 0; }
.final-cta { background: linear-gradient(135deg, var(--steel-900), var(--steel)); color: #fff; text-align: center; padding: 56px 0; margin-top: 32px; }
.final-cta h2 { color: #fff; margin-top: 0; }
.final-cta p { color: #C9D6E2; font-size: 1.15rem; }

/* ---------- footer */
.site-footer { background: var(--steel-900); color: #C9D6E2; padding: 48px 0 calc(90px + env(safe-area-inset-bottom)); font-size: .95rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 28px; } }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #F0B27A; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #E8EEF3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.1rem; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #9FB2C4; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--limestone-200); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 750; text-decoration: none; color: var(--steel); border: 1.5px solid var(--steel-200); }
.mobile-bar a.primary { background: var(--cedar); color: #fff; border-color: var(--cedar); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
.k-booking .mobile-bar { display: none; }
.k-booking .site-footer { padding-bottom: 28px; }

/* ---------- decision guides */
.choose-grid { display: grid; gap: 14px; margin: 0 0 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .choose-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.choose { background: var(--paper); border: 1px solid var(--limestone-200); border-top: 4px solid var(--steel); border-radius: var(--radius); padding: 16px 18px; }
.choose + .choose { border-top-color: var(--cedar); }
.choose + .choose + .choose { border-top-color: var(--sage); }
.choose h2 { font-size: 1.2rem; margin: 0 0 4px; }
.choose-cost { margin: 0 0 6px; font-weight: 700; color: var(--slate); font-size: .95rem; }
.choose ul.checks li { margin: .4em 0; font-size: .98rem; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; border-radius: var(--radius); }
.tbl-compare { min-width: 560px; font-size: .94rem; overflow: visible; border-radius: 0; }
.tbl-compare thead th { background: var(--steel-50); color: var(--steel-900); }
.tbl-compare caption { position: sticky; left: 0; max-width: calc(100vw - 32px); }
.tbl-compare tbody th, .tbl-compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); font-weight: 700; color: var(--steel-900); min-width: 7.5em; box-shadow: 1px 0 0 var(--limestone-200); }
.tbl-compare thead th:first-child { background: var(--steel-50); }
@media (max-width: 640px) { .tbl-compare th, .tbl-compare td { padding: 10px; } .tbl-scroll::after { content: "Swipe to compare →"; display: block; font-size: .85rem; color: var(--slate); padding: 6px 2px 0; position: sticky; left: 0; } }
.tbl-compare .sr-col { width: 1%; }
.deciding { margin: 28px 0; }
