/* Cozy Comfort Insulation — palette taken from the logo: roof navy, swoosh red, sun gold, snowflake blue. */

@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --navy: #0D2452;
  --navy-deep: #08183A;
  --navy-2: #163266;
  --navy-3: #21407A;
  --red: #D3202F;
  --red-deep: #A9131F;
  --gold: #F7B71D;
  --gold-deep: #E39A0B;
  --sky: #1E73E8;
  --ice: #E9F2FE;
  --cream: #FFF8EE;
  --cream-2: #F7ECDB;
  --pink: #F59AB5;
  --ink: #0F1B33;
  --ink-2: #4A5672;
  --line: rgba(15, 27, 51, .12);
  --mist: #C9D3E6;
  --stripe: linear-gradient(90deg, var(--gold) 0 33.3%, var(--red) 33.3% 66.6%, var(--sky) 66.6% 100%);

  --f-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1240px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 7rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hdr-h: 76px;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 24px 50px -24px rgba(13, 36, 82, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 24px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: #fff; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0 0 .5em; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; color: inherit; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--red); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--f-display); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ''; width: 30px; height: 4px; border-radius: 4px; background: var(--stripe); flex: none; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 48ch; }

.display { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.4rem; }
.display em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.display em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 99px; background: var(--gold); z-index: -1; }
.display--md { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.display--sm { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.08; }

/* ── Buttons & links (rounded, as requested) ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .85rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  font: 650 1rem/1 var(--f-display); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn svg:last-child:not(:first-child) { transition: transform 200ms var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(211, 32, 47, .75); }
.btn--red:hover { background: var(--red-deep); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(13, 36, 82, .7); }
.btn--navy:hover { background: var(--navy-3); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--ice); }
.btn--line { border-color: rgba(13, 36, 82, .25); color: var(--navy); background: transparent; }
.btn--line:hover { border-color: var(--navy); }
.section--navy .btn--line, .phead .btn--line { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font: 650 1rem var(--f-display); color: var(--navy); text-decoration: none; padding: .55rem 1rem; border-radius: 999px; background: var(--ice); transition: background-color 200ms; }
.link-arrow svg { transition: transform 200ms var(--ease); }
.link-arrow:hover { background: #D8E7FD; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Header: info strip + floating rounded bar ───────────────────── */
.topstrip { background: var(--navy-deep); color: var(--mist); font-size: .84rem; }
.topstrip__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topstrip p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.topstrip svg { width: 15px; height: 15px; color: var(--gold); }
.topstrip__r { gap: 1.4rem !important; }
.topstrip__r span { display: inline-flex; align-items: center; gap: .4rem; }
.topstrip a { text-decoration: none; }
.topstrip a:hover { color: #fff; }
@media (max-width: 860px) { .topstrip { display: none; } }

.hdr { position: sticky; top: 0; z-index: 50; padding: 12px 0; margin-bottom: calc(-1 * var(--hdr-h) - 24px); pointer-events: none; }
.hdr__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 1rem; height: var(--hdr-h); padding: 0 .6rem 0 1rem;
  background: rgba(255, 255, 255, .9); color: var(--navy); border: 1px solid rgba(13, 36, 82, .08); border-radius: 999px;
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 14px 34px -18px rgba(13, 36, 82, .45); transition: box-shadow 240ms var(--ease), background-color 240ms;
}
.hdr.is-scrolled .hdr__bar { background: rgba(255, 255, 255, .97); box-shadow: 0 18px 40px -16px rgba(13, 36, 82, .5); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 148px; height: auto; }
.nav { margin: 0 auto; }
.nav__list { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .95rem; border-radius: 999px; text-decoration: none; font: 600 .98rem var(--f-display); color: var(--navy); transition: background-color 160ms, color 160ms; }
.nav__list > li > a svg { opacity: .55; transition: transform 200ms var(--ease); }
.nav__list > li > a:hover, .nav__drop:focus-within > a, .nav__drop:hover > a { background: var(--ice); }
.nav__drop:hover > a svg, .nav__drop:focus-within > a svg { transform: rotate(180deg); }
.nav__list > li > a[aria-current] { background: var(--navy); color: #fff; }
.mega {
  position: absolute; top: calc(100% + 20px); left: 50%; width: 620px; padding: .8rem; border-radius: 26px;
  background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(13, 36, 82, .45), 0 0 0 1px rgba(13, 36, 82, .06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 180ms, transform 220ms var(--ease), visibility 180ms;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav__drop:hover .mega, .nav__drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.mega__grid a { display: flex; gap: .8rem; align-items: center; padding: .6rem; border-radius: 16px; text-decoration: none; transition: background-color 160ms; }
.mega__grid a:hover { background: var(--cream); }
.mega__thumb { flex: none; width: 54px; height: 54px; border-radius: 14px; overflow: hidden; background: var(--navy); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega__grid strong { display: block; font: 650 .96rem/1.25 var(--f-display); color: var(--navy); }
.mega__grid small { display: block; color: var(--ink-2); font-size: .8rem; line-height: 1.35; margin-top: .15rem; }
.mega__all { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; padding: .85rem 1rem; border-radius: 16px; background: var(--navy); color: #fff; text-decoration: none; font: 650 .95rem var(--f-display); }
.mega__all:hover { background: var(--navy-3); }
.hdr__phone { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); flex: none; }
.hdr__phone-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FDE8EA; color: var(--red); }
.hdr__phone-tx small { display: block; font-size: .72rem; color: var(--ink-2); line-height: 1.2; }
.hdr__phone-tx strong { display: block; font: 700 1.02rem var(--f-display); letter-spacing: -0.01em; }
.hdr__cta { min-height: 52px; padding: .7rem 1.35rem; font-size: .97rem; flex: none; }
.hdr__toggle { display: none; }

@media (max-width: 1200px) { .hdr__phone-tx { display: none; } .nav__list > li > a { padding: .6rem .75rem; } }
@media (max-width: 1040px) {
  .nav, .hdr__cta { display: none; }
  .hdr__phone { margin-left: auto; }
  .hdr__toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); border: 0; cursor: pointer; }
  .hdr__toggle span:not(.visually-hidden) { display: block; width: 19px; height: 2px; border-radius: 2px; background: #fff; }
  .hdr__toggle span:nth-child(2) { width: 13px; margin-left: 6px; }
}
@media (max-width: 480px) { :root { --hdr-h: 66px; } .hdr__logo img { width: 124px; } .hdr__bar { padding-left: .75rem; } }

/* Full-screen mobile menu — sibling of header so position:fixed uses the viewport */
.mnav {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--navy); color: #fff;
  padding: 12px var(--gut) calc(1.2rem + env(safe-area-inset-bottom)); overflow-y: auto; animation: mnav-in 260ms var(--ease);
}
.mnav::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe); }
.mnav[hidden] { display: none; }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-12px); } }
.mnav__head { display: flex; justify-content: space-between; align-items: center; height: var(--hdr-h); padding: 0 .5rem 0 .9rem; border-radius: 999px; background: #fff; flex: none; }
.mnav__head .hdr__logo img { width: 124px; }
.mnav__close { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; }
.mnav__body { display: flex; flex-direction: column; padding: 1.4rem .3rem; flex: 1; }
.mnav__group summary, .mnav__link {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem .2rem; font: 650 1.5rem var(--f-display); letter-spacing: -0.02em;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); cursor: pointer; list-style: none;
}
.mnav__group summary::-webkit-details-marker { display: none; }
.mnav__group summary svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.12); transition: transform 200ms var(--ease); }
.mnav__group[open] summary svg { transform: rotate(180deg); }
.mnav__link[aria-current] { color: var(--gold); }
.mnav__group ul { list-style: none; margin: 0; padding: .5rem 0 .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mnav__group ul a { display: block; padding: .75rem .95rem; border-radius: 16px; background: rgba(255,255,255,.08); color: #E3E9F5; text-decoration: none; font-size: .95rem; font-weight: 600; }
.mnav__group ul a:hover { background: rgba(255,255,255,.16); color: #fff; }
.mnav__foot { display: grid; gap: .6rem; padding-top: 1rem; }
.mnav__foot p { text-align: center; color: var(--mist); font-size: .85rem; margin: .3rem 0 0; }
body.nav-open { overflow: hidden; }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: var(--sec) 0; }
.section--tight { padding: 2.5rem 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .lede { color: var(--mist); }
.section--navy .eyebrow { color: var(--gold); }
.section--cream { background: var(--cream); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 760px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; max-width: none; flex-wrap: wrap; }
.section-head--row h2, .section-head--row .lede { margin-bottom: 0; }
.section-head--row h2 + .lede { margin-top: .6rem; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: calc(var(--hdr-h) + 24px + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3.5rem, 7vw, 6rem); }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(247,183,29,.28), transparent 65%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--navy); }
.hero__h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.hero__h1 span { display: block; white-space: nowrap; }
@media (max-width: 380px) { .hero__h1 { font-size: 2.3rem; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 0; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 2rem 0 0; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.hero__proof li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__proof svg { color: var(--red); }
.hero__media { position: relative; padding-bottom: 3.2rem; }
.hero__photo { border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.6; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__photo { aspect-ratio: 16 / 11; } }

/* Season card: sun + snowflake, as in the logo */
.season { position: absolute; left: -2rem; right: 2rem; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 40px -18px rgba(13, 36, 82, .5); }
.season__half { padding: 1.1rem 1.2rem 1.2rem; }
.season__half--sun { background: #fff; }
.season__half--snow { background: var(--navy); color: #fff; }
.season__ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: .55rem; }
.season__half--sun .season__ic { background: #FEF1CC; color: var(--gold-deep); }
.season__half--snow .season__ic { background: rgba(30,115,232,.25); color: #8DBBFF; }
.season__k { margin: 0; font: 700 .78rem var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.season__half--sun .season__k { color: var(--red); }
.season__half--snow .season__k { color: #8DBBFF; }
.season__v { margin: .2rem 0 0; font: 600 1.02rem/1.3 var(--f-display); }
@media (max-width: 900px) { .season { left: 1rem; right: 1rem; } }
@media (max-width: 420px) { .season__v { font-size: .92rem; } .season__half { padding: .9rem; } }

/* Services band (echoes the logo's bottom line) */
.band { background: var(--navy); color: #fff; border-bottom: 5px solid transparent; border-image: var(--stripe) 1; }
.band__in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1.4rem; padding-top: 1.3rem; padding-bottom: 1.3rem; }
.band a { font: 700 clamp(.95rem, 1.6vw, 1.15rem) var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.band a:hover { color: var(--gold); }
.band span { color: var(--red); font-weight: 700; }
@media (max-width: 600px) { .band span { display: none; } .band__in { gap: .5rem 1.2rem; } }

/* ── Fact card ───────────────────────────────────────────────────── */
.fact { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 1.2rem 1.3rem .6rem; box-shadow: var(--shadow); width: 100%; border-top: 5px solid transparent; border-image: var(--stripe) 1; border-image-width: 5px 0 0 0; }
.fact__head { margin: 0 0 .4rem; font: 700 1.1rem var(--f-display); color: var(--navy); }
.fact__rows { margin: 0; }
.fact__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.fact__row dt { font-size: .85rem; color: var(--ink-2); font-weight: 600; flex: none; }
.fact__row dd { margin: 0; font: 650 1rem/1.35 var(--f-display); text-align: right; color: var(--navy); word-break: break-word; }
.fact__row dd a { text-decoration: none; }
.fact__row dd a:hover { text-decoration: underline; }
.fact__row.is-warm dd { color: var(--red); font-size: 1.15rem; }
.fact__row.is-cool dd { color: var(--sky); font-size: 1.15rem; }

/* ── Region showcase (photo-based) ───────────────────────────────── */
.territory { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: stretch; }
.rshow { position: relative; min-height: 540px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); }
.rshow__img { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity 600ms var(--ease), transform 1200ms var(--ease); }
.rshow__img.is-active { opacity: 1; transform: none; }
.rshow__img img, .rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rshow__img figcaption, .rcard__img figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5rem 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  background: linear-gradient(0deg, rgba(8,24,58,.88) 0%, rgba(8,24,58,.45) 55%, transparent 100%); color: #fff;
}
.rshow__name { font: 800 clamp(1.6rem, 3vw, 2.4rem)/1.05 var(--f-display); letter-spacing: -0.03em; }
.rshow__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.rshow__chips span { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .8rem; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; }
.rshow__chips svg { width: 15px; height: 15px; color: var(--gold); }
.tmap-tabs { display: grid; gap: .45rem; }
.tmap-tab {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left;
  padding: 1rem 1.1rem 1rem 1.3rem; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1); border-radius: 999px; color: #DCE4F3;
  font: 650 1.08rem/1.2 var(--f-display); cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms;
}
.tmap-tab:hover { color: #fff; background: rgba(255,255,255,.1); }
.tmap-tab.is-active { color: var(--navy); background: #fff; border-color: #fff; }
.tmap-tab__n { flex: none; display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 .5rem; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .85rem; }
.tmap-tab.is-active .tmap-tab__n { background: var(--red); color: #fff; }
.tmap-panel { padding: 1.5rem .2rem 0; }
.tmap-panel p { color: var(--mist); }
.tmap-panel__cities { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tmap-panel__cities a { display: block; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; transition: background-color 160ms; }
.tmap-panel__cities a:hover { background: rgba(255,255,255,.18); }
@media (max-width: 900px) { .territory { grid-template-columns: 1fr; } .rshow { min-height: 0; aspect-ratio: 4 / 3; } }

/* Region photo card */
.rcard { position: sticky; top: calc(var(--hdr-h) + 2.5rem); border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.rcard__img { position: relative; margin: 0; aspect-ratio: 4 / 3; }
.rcard__body { padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: 1rem; }
.rcard__h { margin: 0; font: 650 .95rem var(--f-display); color: var(--mist); }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pills a { display: block; padding: .45rem .85rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; }
.pills a:hover { background: rgba(255,255,255,.18); }
.pills a[aria-current] { background: var(--red); }
@media (max-width: 900px) { .rcard { position: static; } }

/* Photo page heads (region & city) */
.phead--photo { overflow: hidden; }
.phead__bg { position: absolute; inset: 0; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,58,.94) 0%, rgba(8,24,58,.78) 45%, rgba(8,24,58,.3) 100%), linear-gradient(0deg, rgba(8,24,58,.6), transparent 40%); }
.phead--photo > .wrap { position: relative; }

/* ── Service cards ───────────────────────────────────────────────── */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.svc-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 36px -26px rgba(13,36,82,.5); border: 1px solid var(--line); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.svc-card a:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(13,36,82,.55); }
.svc-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.svc-card a:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.svc-card__name { font: 700 1.35rem/1.15 var(--f-display); color: var(--navy); letter-spacing: -0.015em; }
.svc-card__out { color: var(--ink-2); font-size: .98rem; }
.svc-card__go { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; font: 650 .95rem var(--f-display); color: var(--red); }
.svc-card__go svg { transition: transform 200ms var(--ease); }
.svc-card a:hover .svc-card__go svg { transform: translateX(4px); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── Split / before-after ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split--top { align-items: start; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split__text .ticks { margin: 1.4rem 0 1.8rem; }
@media (max-width: 900px) { .split, .split--top, .split--rev { grid-template-columns: 1fr; } }
.ba { position: relative; aspect-ratio: 1600 / 1063; overflow: hidden; border-radius: var(--r-lg); user-select: none; touch-action: pan-y; box-shadow: var(--shadow); }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 1rem; padding: .45rem .85rem; border-radius: 999px; color: #fff; font: 650 .8rem var(--f-display); }
.ba__tag--before { left: 1rem; background: rgba(8,24,58,.85); }
.ba__tag--after { right: 1rem; background: var(--red); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.ba__handle span::before { content: '‹ ›'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; letter-spacing: 2px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible ~ .ba__handle span { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── Process ─────────────────────────────────────────────────────── */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.process__step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); }
.process__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1.15rem var(--f-display); margin-bottom: 1rem; }
.process__step:nth-child(1) .process__num { background: var(--gold); color: var(--navy); }
.process__step:nth-child(2) .process__num { background: var(--red); }
.process__step:nth-child(3) .process__num { background: var(--sky); }
.process__step p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ── Testimonials ────────────────────────────────────────────────── */
.tq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tq { position: relative; margin: 0; padding: 1.6rem 1.5rem 1.4rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%; }
.tq__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: .9rem; }
.tq blockquote { margin: 0 0 1.2rem; flex: 1; }
.tq blockquote p { font-size: 1.05rem; line-height: 1.6; margin: 0; }
.tq figcaption { display: flex; align-items: center; gap: .75rem; }
.tq__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ice); color: var(--navy); font: 700 1rem var(--f-display); }
.tq figcaption strong { display: block; font-family: var(--f-display); color: var(--navy); }
.tq figcaption small { display: block; color: var(--ink-2); font-size: .85rem; }
.sample-badge { position: absolute; top: 1.4rem; right: 1.2rem; font: 650 .66rem var(--f-display); letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; border: 1px dashed var(--red); color: var(--red); }
@media (max-width: 900px) { .tq-grid { grid-template-columns: 1fr; } }

.review-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip-btn { font: 600 .95rem/1 var(--f-display); padding: .7rem 1.1rem; min-height: 44px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; cursor: pointer; }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.review-grid__item[hidden] { display: none; }

/* ── Article cards ───────────────────────────────────────────────── */
.acard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.2rem); }
.acard a { display: block; text-decoration: none; }
.acard__img { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 1rem; border-radius: var(--r-md); background: var(--navy); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.acard a:hover .acard__img img { transform: scale(1.04); }
.acard__meta { color: var(--red); margin-bottom: .45rem; font: 600 .85rem var(--f-display); }
.acard h3 { font-size: 1.25rem; margin-bottom: .4rem; color: var(--navy); }
.acard a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.acard p:last-child { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .acard-grid { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq__list { display: grid; gap: .6rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color 200ms; }
.faq__item[open] { border-color: rgba(13,36,82,.3); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 3.6rem 1.15rem 1.3rem; font: 650 1.1rem var(--f-display); color: var(--navy); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ice); color: var(--navy); font-size: 1.3rem; transition: transform 200ms var(--ease), background-color 200ms; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red); color: #fff; }
.faq__item > div { padding: 0 1.3rem 1.2rem; color: var(--ink-2); max-width: 70ch; }
.faq__item > div p { margin: 0; }

/* ── Quote form ──────────────────────────────────────────────────── */
.quote { position: relative; }
.quote::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-top: 2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .88rem var(--f-display); color: #DCE4F3; }
.field .opt { font-weight: 400; opacity: .7; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--f-body); color: #fff; background: var(--navy-2); border: 1.5px solid rgba(201,211,230,.22);
  border-radius: 16px; padding: .85rem 1rem; min-height: 54px; width: 100%; transition: border-color 160ms, box-shadow 160ms;
}
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(201,211,230,.55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247,183,29,.25); }
.quote form .btn { grid-column: 1 / -1; margin-top: .5rem; }
.quote__side { display: grid; gap: 1rem; position: sticky; top: calc(var(--hdr-h) + 2rem); }
.quote .ticks { color: #DCE4F3; }
.quote .ticks svg { color: var(--gold); }
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } .quote__side { position: static; } }
@media (max-width: 560px) { .quote form { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks svg { color: var(--red); flex: none; margin-top: .3rem; }

/* ── Page heads ──────────────────────────────────────────────────── */
.phead { background: var(--navy); color: #fff; padding: calc(var(--hdr-h) + 24px + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem); position: relative; }
.phead::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripe); }
.phead .lede { color: var(--mist); }
.phead .eyebrow { color: var(--gold); }
.phead__split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.phead--center { text-align: center; }
.phead--center .lede, .phead--center .eyebrow { margin-left: auto; margin-right: auto; justify-content: center; }
.phead--center .hero__ctas { justify-content: center; }
.phead a:not(.btn) { color: #fff; }
.phead--article { padding-bottom: clamp(5rem, 9vw, 7rem); }
@media (max-width: 900px) { .phead__split { grid-template-columns: 1fr; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1.8rem; font-size: .85rem; color: rgba(201,211,230,.8); }
.crumbs li + li::before { content: '›'; margin-right: .35rem; opacity: .6; }
.crumbs a { color: var(--mist) !important; text-decoration: none; }
.crumbs a:hover { color: #fff !important; text-decoration: underline; }

/* ── Railed layout (service pages) ───────────────────────────────── */
.railed { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: var(--sec); }
.rail__inner { position: sticky; top: calc(var(--hdr-h) + 2rem); display: grid; gap: 1.1rem; }
.rail__h { color: var(--ink-2); margin: 0; font: 650 .85rem var(--f-display); text-transform: uppercase; letter-spacing: .12em; }
.rail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.rail__list a { display: block; padding: .7rem 1rem; border-radius: 999px; text-decoration: none; font: 600 .98rem var(--f-display); color: var(--navy); transition: background-color 200ms; }
.rail__list a:hover { background: var(--cream); }
.rail__list a[aria-current] { background: var(--navy); color: #fff; }
@media (max-width: 1000px) { .railed { grid-template-columns: 1fr; } .rail { order: 2; } .rail__inner { position: static; } }

/* ── Prose ───────────────────────────────────────────────────────── */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; color: var(--navy); }
.prose h3 { margin-top: 1.6em; color: var(--navy); }
.prose > :first-child { margin-top: 0; }
.prose .intro { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.prose a:not(.btn) { color: var(--sky); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose ul:not(.ticks):not(.chips):not(.city-list) { padding-left: 1.2rem; }
.prose ul:not(.ticks):not(.chips):not(.city-list) li { margin-bottom: .5rem; }
.prose ul:not(.ticks):not(.chips):not(.city-list) li::marker { color: var(--red); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0 2rem; font-size: .98rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--navy); color: #fff; font: 600 .85rem var(--f-display); }
.prose tbody tr:nth-child(even) td { background: var(--cream); }
.prose td:last-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .prose td:last-child { white-space: normal; } .prose th, .prose td { padding: .7rem .6rem; } }
.article-body { padding: 2rem 0 1rem; }
.fig { margin: 0 0 2rem; }
.fig img { width: 100%; border-radius: var(--r-md); }
.fig--round img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.fig--lift { margin-top: clamp(-4rem, -6vw, -3rem); position: relative; }
.fig figcaption { margin-top: .6rem; color: var(--ink-2); font-size: .85rem; }
.about__media { display: grid; gap: 1.2rem; }
.callout { background: var(--cream); padding: 1.8rem clamp(1.2rem, 3vw, 2.2rem); margin: 2.5rem 0; border-radius: var(--r-md); border-left: 6px solid var(--gold); }
.callout h2 { margin-top: 0; font-size: 1.5rem; }
.callout .ticks { margin: 0; }
.callout--cta { background: var(--navy); color: #fff; border-left: 0; margin-bottom: var(--sec); }
.callout--cta h2 { color: #fff; }
.callout--cta p { color: var(--mist); }

.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a, .chips--static li { display: inline-block; padding: .5rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none !important; font-size: .95rem; font-weight: 600; color: var(--navy) !important; transition: border-color 160ms, background-color 160ms; }
.chips a:hover { border-color: var(--navy); background: var(--ice); }
.chips--static li { background: var(--cream); border-color: transparent; }

.city-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem; }
.city-list a { display: flex; flex-direction: column; gap: .1rem; padding: .85rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); text-decoration: none !important; color: var(--navy) !important; transition: border-color 160ms, background-color 160ms; }
.city-list a strong { font-family: var(--f-display); font-size: 1.05rem; }
.city-list a span { color: var(--ink-2); font-size: .85rem; }
.city-list a:hover { border-color: var(--navy); background: var(--ice); }

.areas-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 3.5rem; }
.areas-index__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.2rem; }
.areas-index__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.areas-index__img:hover img { transform: scale(1.04); }
.areas-index__region h2 { font-size: 1.8rem; margin-bottom: .3rem; }
.areas-index__region h2 a { text-decoration: none; color: var(--navy); }
.areas-index__region h2 a:hover { color: var(--red); }
.areas-index__meta { display: flex; align-items: center; gap: .4rem; color: var(--red); font: 600 .9rem var(--f-display); }
.areas-index__meta svg { width: 18px; height: 18px; color: var(--gold-deep); }
@media (max-width: 800px) { .areas-index { grid-template-columns: 1fr; } }

/* ── Footer & mobile call bar ────────────────────────────────────── */
.ftr { background: var(--navy-deep); color: var(--mist); padding-bottom: 2rem; }
.stripe { height: 6px; background: var(--stripe); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
.ftr__brand img { width: 270px; margin-bottom: 1.2rem; }
.ftr__brand p { max-width: 34ch; }
.ftr__lic { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.07); color: #fff; font: 600 .9rem var(--f-display); }
.ftr__lic svg { color: var(--gold); }
.ftr__h { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(201,211,230,.12); padding-top: 1.5rem; font-size: .88rem; }
.ftr__base p { margin: 0; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(13,36,82,.4); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 999px; font: 650 1rem var(--f-display); text-decoration: none; }
  .callbar__call { background: var(--red); color: #fff; }
  .callbar__quote { background: var(--navy); color: #fff; }
  body { padding-bottom: 72px; }
}

/* ── Reveal motion ───────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
