/* Buffalo Roofing site styles. Built to Brand Guide v1: Inter only, Flag Navy / Canyon Red / Beehive Gold / Bright Gold / Buffalo Charcoal / Stone Grey / Paper. Light-only by design. */
:root {
  --navy: #1F2F51;
  --red: #8C0B1D;
  --gold: #E09310;
  --gold-bright: #FFB81D;
  --charcoal: #2C2A28;
  --stone: #C8C8C8;
  --paper: #F4F3F1;
  --white: #FFFFFF;
  --muted: #5E5B57;
  --line: #E2E0DC;
  --navy-soft: #D3D8E4;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--charcoal); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.on-dark .eyebrow { color: var(--gold-bright); }
.rule { width: 70px; height: 5px; background: var(--gold-bright); border-radius: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--font); text-decoration: none; border-radius: 8px; padding: 15px 22px; border: 1.5px solid transparent; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #A3112A; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--white); }
.btn-white { background: var(--white); color: var(--charcoal); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.link-arrow { font-weight: 600; color: var(--red); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* wordmark: BUFFALO Inter Bold caps; ROOFING tracked .45em at ~45% size */
.wm { display: inline-grid; line-height: 1; }
.wm b { font-weight: 700; font-size: 22px; letter-spacing: .01em; }
.wm i { font-style: normal; font-weight: 700; font-size: 10px; letter-spacing: .45em; margin-top: 4px; color: var(--red); }
.wm.dark b { color: var(--stone); }
.wm.dark i { color: var(--gold-bright); }

.preview { background: var(--charcoal); color: #E8E6E2; font-size: 13px; text-align: center; padding-block: 6px; }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--white); border-bottom: 2px solid var(--navy); }
header.site .wrap { position: relative; display: flex; align-items: center; gap: 16px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); margin-right: auto; }
.brand img { height: 64px; width: auto; display: block; }
nav.top { display: flex; gap: 24px; align-items: center; font-size: 15px; font-weight: 500; }
nav.top a { text-decoration: none; color: var(--muted); }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--charcoal); }
nav.top a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.head-cta { padding: 12px 16px; font-size: 15px; }
.menu-btn { display: none; align-items: center; gap: 8px; background: var(--paper); border: 1.5px solid var(--line); color: var(--charcoal); border-radius: 8px; padding: 10px 12px; font: 600 15px/1 var(--font); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  nav.top { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 2px solid var(--navy); padding: 6px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 14px 24px -16px rgba(0,0,0,.35); }
  header.open nav.top { display: flex; }
  nav.top a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  nav.top a[aria-current="page"] { box-shadow: none; color: var(--red); }
}
@media (max-width: 480px) { .brand .wm { display: none; } .head-cta { padding: 11px 12px; font-size: 14px; } }

/* home hero, after the guide's cover */
.hero { display: grid; grid-template-columns: 1fr 1fr; }
.hero-mark { background: var(--navy); display: grid; place-items: center; padding: 48px max(16px, env(safe-area-inset-left, 0px)); }
.hero-mark img { width: min(78%, 400px); height: auto; display: block; }
.hero-copy { padding-block: 64px; padding-left: clamp(16px, 5vw, 72px); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; align-content: center; gap: 20px; max-width: 640px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); }
.hero .sub { font-size: 22px; font-weight: 500; line-height: 1.35; }
.hero .lede { color: var(--muted); max-width: 48ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ridge-card { background: var(--white); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 4px 1fr; gap: 14px; text-decoration: none; }
.ridge-card::before { content: ""; background: var(--gold); border-radius: 2px; }
.ridge-card .eyebrow { font-size: 12px; }
.ridge-card p { font-size: 15px; line-height: 1.5; }
.ridge-card u { text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mark { padding-block: 36px; }
  .hero-mark img { width: min(60%, 280px); }
  .hero-copy { padding-block: 36px 48px; padding-left: max(16px, env(safe-area-inset-left, 0px)); max-width: none; }
}

/* inner page hero */
.page-hero { background: var(--navy); color: #fff; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: 56px; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 62px); max-width: 18ch; }
.page-hero .lede { margin-top: 16px; color: var(--navy-soft); font-size: 19px; max-width: 56ch; }
.page-hero .eyebrow { color: var(--gold-bright); margin-bottom: 14px; }
.page-hero img { width: 150px; height: auto; display: block; }
@media (max-width: 760px) { .page-hero .wrap { grid-template-columns: 1fr; padding-block: 40px; } .page-hero img { display: none; } }

section { padding-block: 76px; }
.head { display: grid; gap: 12px; max-width: 700px; margin-bottom: 36px; }
.head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.head p { color: var(--muted); font-size: 18px; }
.white-band { background: var(--white); }
.white-band .card { background: var(--paper); }

/* values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.values div { border-top: 5px solid var(--gold-bright); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.values h3 { font-size: 26px; }
.values p { color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; gap: 26px; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; }
a.card:hover { box-shadow: 0 0 0 2px var(--gold) inset; }
.card svg { width: 36px; height: 36px; }
.card h3 { font-size: 21px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: 4px; font-weight: 600; color: var(--red); font-size: 15px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

/* why a buffalo */
.why { background: var(--navy); color: #fff; }
.why .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why h2 { font-size: clamp(30px, 4.4vw, 48px); }
.why .copy { display: grid; gap: 16px; }
.why .copy p { color: var(--navy-soft); }
.why .copy strong { color: #fff; }
.why figure { margin: 0; display: grid; place-items: center; }
.why figure img { width: min(100%, 300px); height: auto; }
@media (max-width: 860px) { .why .wrap { grid-template-columns: 1fr; gap: 28px; } .why figure { place-items: start; } .why figure img { width: 170px; } }

/* options */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.opt { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; }
.opt.pick { border: 2px solid var(--red); }
.opt .tier { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.opt .tier span { color: var(--muted); letter-spacing: .05em; }
.opt .tier em { font-style: normal; background: var(--red); color: #fff; border-radius: 99px; padding: 3px 9px; letter-spacing: .08em; font-size: 11px; }
.opt h3 { font-size: 24px; }
.opt h3 small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; align-content: start; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.checks li::before { content: ""; width: 12px; height: 7px; margin-top: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.opt .foot { border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; color: var(--muted); }
.opt .foot b { color: var(--navy); }
@media (max-width: 860px) { .options { grid-template-columns: 1fr; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.white-band .steps li { background: var(--paper); }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.steps h3 { font-size: 18px; letter-spacing: -0.01em; }
.steps p { font-size: 15px; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* service detail rows */
.svc-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row h2 { font-size: clamp(28px, 3.6vw, 38px); }
.svc-row .intro { display: grid; gap: 14px; align-content: start; }
.svc-row .intro p { color: var(--muted); }
.svc-row .detail { background: var(--white); border-radius: 16px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.svc-row .detail h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; } }

/* callout bar */
.callout { background: var(--navy); color: #fff; border-radius: 16px; padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.callout h3 { font-size: 24px; }
.callout p { color: var(--navy-soft); font-size: 16px; margin-top: 4px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--white); border-radius: 12px; padding: 4px 20px; }
.white-band .faq details { background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* service area */
.area-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.map { background: var(--white); border-radius: 16px; padding: 12px; }
.map svg { width: 100%; height: auto; display: block; }
.regions { display: grid; gap: 12px; }
.region { background: var(--white); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
.region b { font-size: 17px; }
.region span { color: var(--muted); font-size: 15px; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.cities span { background: var(--paper); border-radius: 8px; padding: 7px 12px; font-size: 15px; font-weight: 500; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose p { color: var(--muted); font-size: 18px; }
.prose strong { color: var(--charcoal); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--white); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.person .mono { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold-bright); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.person h3 { font-size: 22px; }
.person .role { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.person p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .split, .people { grid-template-columns: 1fr; gap: 24px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.expect { display: grid; gap: 14px; }
.expect div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.expect i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.expect p { color: var(--muted); font-size: 16px; }
.expect b { color: var(--charcoal); display: block; }
form.quote { background: var(--white); border-radius: 16px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.quote h2 { grid-column: 1 / -1; font-size: 24px; }
form.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
form.quote .full { grid-column: 1 / -1; }
form.quote input, form.quote select, form.quote textarea { font: 16px var(--font); color: var(--charcoal); padding: 12px; border: 1px solid var(--stone); border-radius: 8px; background: var(--paper); width: 100%; }
form.quote textarea { min-height: 110px; resize: vertical; }
form.quote fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
form.quote legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--stone); border-radius: 99px; padding: 8px 14px; font-weight: 500; cursor: pointer; }
.chips-in input { width: auto; margin: 0; accent-color: var(--red); }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.sent { grid-column: 1 / -1; background: #FFF3D6; color: #7A4B00; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { form.quote { grid-template-columns: 1fr; padding: 18px; } }

/* closing cta band */
.cta-band { background: var(--red); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-block: 44px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); max-width: 22ch; }
.cta-band p { color: #F6D9DD; margin-top: 8px; }

footer.site { background: var(--charcoal); color: #B9B6B1; font-size: 15px; }
footer.site .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding-block: 44px 28px; }
footer.site h4 { margin: 0 0 10px; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .tag { margin-top: 12px; }
footer.site .ridge { color: var(--gold-bright); }
footer.site .base { grid-column: 1 / -1; border-top: 1px solid #45423F; padding-top: 18px; font-size: 13px; color: #8F8B86; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.person .sig { margin-top: 4px; font-size: 22px; font-weight: 700; font-style: italic; color: var(--charcoal); display: grid; gap: 2px; }
.person .sig span { font-size: 13px; font-weight: 600; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.quote .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 13px; color: var(--muted); line-height: 1.5; }
form.quote .consent input { width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: var(--red); }
.form-note a, footer.site .base a { color: inherit; text-decoration: underline; }
.thanks { grid-column: 1 / -1; display: grid; gap: 8px; }
.thanks strong { font-size: 22px; color: var(--navy); }

/* ready for the snow */
.snow { background: linear-gradient(180deg, #E6EEF7 0%, #F4F7FB 100%); border-top: 1px solid #D5E0EC; border-bottom: 1px solid #D5E0EC; }
.snow-top { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: 32px; }
.snow-top .head { max-width: 660px; }
.snow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.snow-grid div { background: var(--white); border-radius: 16px; padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: 0 1px 0 #D5E0EC; }
.snow-grid svg { width: 28px; height: 28px; }
.snow-grid h3 { font-size: 19px; letter-spacing: -0.01em; color: var(--navy); }
.snow-grid p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .snow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .snow-grid { grid-template-columns: 1fr; } }
#winter { scroll-margin-top: 90px; }

/* meet ridge */
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2A3D68; }
.meet-ridge { padding-block: 64px; }
.ridge-band { background: var(--white); border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px 40px; border-left: 6px solid var(--gold-bright); }
.ridge-art { position: relative; padding-top: 44px; }
.ridge-art svg { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.ridge-say { position: absolute; top: 0; right: 4%; max-width: 230px; background: var(--paper); border: 2px solid var(--charcoal); border-radius: 16px; padding: 8px 12px; font-weight: 700; font-size: 15px; line-height: 1.3; }
.ridge-say::after { content: ""; position: absolute; bottom: -9px; right: 30%; width: 14px; height: 14px; background: var(--paper); border-right: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); transform: rotate(45deg); }
.ridge-copy { display: grid; gap: 14px; justify-items: start; }
.ridge-copy h2 { font-size: clamp(30px, 4vw, 42px); }
.ridge-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 46ch; }
@media (max-width: 860px) { .ridge-band { grid-template-columns: 1fr; padding: 24px 20px; } .ridge-art svg { max-width: 320px; } }

/* icons: one line set, navy on a soft tile */
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #EDF0F5; color: var(--navy); }
.card .ico svg, .snow-grid .ico svg, .ico svg { width: 22px; height: 22px; }
.white-band .card .ico { background: var(--white); }

/* ---- Ridge art, hoof prints, why-the-buffalo (Nov 21) ---- */
.ridge-card { grid-template-columns: 4px 56px 1fr; align-items: center; }
.ridge-card img { width: 56px; height: auto; display: block; }
.ridge-art img { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; }
.snow-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.snow-cta img { width: 190px; height: auto; display: block; }
@media (max-width: 760px) { .snow-cta { align-items: flex-start; } .snow-cta img { width: 150px; } }
.checks li { grid-template-columns: 20px 1fr; }
.checks li::before { width: 14px; height: 16px; margin-top: 4px; border: 0; transform: rotate(12deg); background: url(/ridge-art/hoof-gold.webp) center / contain no-repeat; }
.hoof-trail { height: 60px; background: url(/ridge-art/hoof-trail.png) center / 240px 60px repeat-x; margin: 8px 0; }
.link-arrow.light { color: var(--gold-bright); }
.why figure.photo img { width: min(100%, 420px); border-radius: 16px; }
figure.photo { margin: 0; }
figure.photo img { width: 100%; height: auto; display: block; border-radius: 16px; background: var(--line); }
figure.photo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.why figure.photo figcaption { color: var(--navy-soft); }
.photo-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; min-height: 440px; display: grid; align-items: end; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,47,81,.92) 0%, rgba(31,47,81,.7) 45%, rgba(31,47,81,.15) 100%); }
.photo-hero .wrap { position: relative; z-index: 1; padding-block: 72px 56px; }
.photo-hero h1 { font-size: clamp(36px, 5.2vw, 60px); max-width: 16ch; }
.photo-hero .lede { margin-top: 16px; color: var(--navy-soft); font-size: 19px; max-width: 52ch; }
.photo-hero .eyebrow { color: var(--gold-bright); margin-bottom: 14px; }
.photo-hero .credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .photo-hero::after { background: rgba(31,47,81,.78); } .photo-hero .wrap { padding-block: 56px 48px; } }
.split-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-photo.rev { grid-template-columns: .8fr 1.2fr; }
.split-photo.rev figure.photo { max-width: 420px; }
.split-photo .prose { display: grid; gap: 14px; }
@media (max-width: 860px) { .split-photo, .split-photo.rev { grid-template-columns: 1fr; gap: 24px; } .split-photo.rev figure.photo { order: 2; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts > div { background: var(--paper); border-radius: 14px; padding: 20px; border-top: 4px solid var(--gold-bright); }
.facts b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--navy); line-height: 1.1; }
.facts p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .photo-pair { grid-template-columns: 1fr; } }
.sources h2 { font-size: 20px; margin-bottom: 12px; }
.sources ul { margin: 0 0 16px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.sources a { color: var(--navy); }
.sources { padding-block: 40px 56px; }
.split-photo .prose h2 { font-size: clamp(30px, 4vw, 42px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 8px; }
.head-row .head { margin-bottom: 0; }
.head-row img { width: 260px; height: auto; display: block; }
@media (max-width: 760px) { .head-row img { width: 190px; } }
.contact-art { width: min(100%, 340px); height: auto; display: block; margin-top: 28px; }
@media (max-width: 860px) { .contact-art { display: none; } }
/* city pages (Nov 22) */
footer.site .wrap { grid-template-columns: 1.2fr 1fr 1.3fr 1fr; }
footer.site ul.towns { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
@media (max-width: 860px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .wrap { grid-template-columns: 1fr; } }
.cities a { background: var(--paper); border-radius: 8px; padding: 7px 12px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-bright); text-underline-offset: 3px; }
.cities a:hover { background: var(--gold-bright); }
.hoods span { background: var(--white); }
.detail-box { background: var(--white); border-radius: 16px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.detail-box h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
/* roof updates (Nov 22) */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }
.posts .card .eyebrow { margin: 0; font-size: 12px; }
.post h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 12px; }
.latest-update { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; background: var(--white); border-radius: 16px; padding: 20px 24px; border-left: 6px solid var(--navy); }
.latest-update p { color: var(--muted); }
.latest-update h3 { font-size: 22px; }
.box-ridge { width: 180px; height: auto; display: block; }
/* service, cost, questions pages (Nov 22) */
.page-hero.has-art img.hero-ridge { width: 240px; }
@media (max-width: 760px) { .page-hero.has-art img.hero-ridge { display: block; width: 160px; } }
.svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tbl { overflow-x: auto; background: var(--white); border-radius: 16px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tbl tr:last-child td { border-bottom: 0; }
.white-band .tbl { background: var(--paper); }
.ref { font-size: 12px; color: var(--muted); text-decoration: none; vertical-align: super; }
.sources ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.qa { margin-bottom: 8px; }
.qa h2 { font-size: clamp(21px, 2.4vw, 26px); }
.qlist { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.qlist a { color: var(--navy); }
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.proj .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proj figure { margin: 0; } .proj img { width: 100%; height: auto; border-radius: 12px; display: block; }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } }
