/* Template C38 v1 — "Storm chart". Plain CSS, no framework.
   Recolour levers: --ink (navy) and --accent (warning red). --accent-on-dark is the lighter red used
   for small accents on navy (the main red fails contrast as text there); move it with --accent.
   Headings: Encode Sans (stand-in for the design's Archivo, which C2/C4 already use), width-matched:
   800 at font-stretch 98%, 600/700 at 95%. Body: Source Sans 3 as designed. */

@font-face { font-family: "Encode Sans"; src: url("/fonts/encode-sans-latin.woff2") format("woff2"); font-weight: 600 800; font-stretch: 95% 98%; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #161A2B;            /* navy: hero, areas, buttons, headings */
  --accent: #C4271B;         /* warning red: flags, underline, form edge, CTA band, quote button */
  --accent-hover: #A81F15;
  --accent-on-dark: #FF7A6B; /* small red accents on navy */
  --ink-hover: #262C45;
  --ground: #F3F4F6;
  --white: #FFFFFF;
  --body: #454E66;
  --muted: #55607A;
  --line: #D9DCE3;
  --rule: #C9CDD8;
  --input: #B9BFCD;
  --placeholder: #7A8398;
  --footer: #10131F;
  --footer-line: #2A2F45;
  --on-dark: #D6DAE6;
  --on-dark-2: #C3C9DA;
  --on-dark-3: #E4E7F0;
  --dark-line: #3A4160;
  --ph: #E4E7EE;
  --glass: #BFD3E6;
  --head: "Encode Sans", "Arial Narrow", Arial, sans-serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; font-stretch: 95%; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--white); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--white); }
.nb { white-space: nowrap; }
.m-only { display: none; }

/* content-box 1240 + 24px gutters, as drawn */
.wrap { max-width: 1288px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.f-head, .h2, .eyebrow, .btn { font-family: var(--head); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.on-dark .eyebrow { color: var(--accent-on-dark); }
.h2 { font-weight: 800; font-stretch: 98%; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.sec-head { display: flex; flex-direction: column; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 4px; font-weight: 700; font-size: 17px; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-hover); color: var(--white); }
.btn-red { background: var(--accent); color: var(--white); }
.btn-red:hover { background: var(--accent-hover); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--on-dark-3); color: var(--ink); }
.btn-line { border: 2px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-line { border-color: var(--on-dark-2); color: var(--white); }
.on-dark .btn-line:hover { background: var(--white); color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-inner { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-img { display: block; height: 66px; width: auto; }
@media (max-width: 600px) { .logo-img { height: 50px; } }
.flags { display: flex; flex-direction: column; gap: 3px; }
.flags span { width: 22px; height: 16px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.flags span::after { content: ""; width: 8px; height: 6px; background: var(--ink); }
.logo-name { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--head); }
.logo-name b { font-weight: 800; font-stretch: 98%; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.logo-name small { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 26px; font-weight: 600; font-size: 16px; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-btn { display: flex; align-items: center; padding: 12px 0; white-space: nowrap; }
.nav-list a[aria-current="page"] { color: var(--accent); }
.nav-btn { gap: 5px; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.55; cursor: pointer; transition: color .15s; }
.nav-btn:hover { color: var(--accent); }
.nav-btn svg { width: 12px; height: 12px; transition: transform .15s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -14px; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 6px 6px; box-shadow: 0 16px 32px rgba(22, 26, 43, .16); display: none; }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 4px; font-size: 15.5px; transition: background-color .15s, color .15s; }
.nav-menu a:hover { background: var(--ground); }
.nav-menu .menu-sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
@media (min-width: 1100px) {
  .nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-btn[aria-expanded="true"] + .nav-menu { display: block; }
  .nav-group:hover .nav-btn svg { transform: rotate(180deg); }
}
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.call-btn { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 16px; white-space: nowrap; transition: background-color .15s; }
.call-btn:hover { background: var(--ink-hover); color: var(--white); }
.call-btn svg { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--white); color: var(--ink); border: 1px solid var(--input); border-radius: 4px; padding: 0; cursor: pointer; transition: border-color .15s; }
.menu-toggle:hover { border-color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1099.98px) {
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(22, 26, 43, .16); max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 18px; font-size: 17px; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-btn { width: 100%; min-height: 52px; justify-content: space-between; font-size: 17px; }
  .nav-menu { position: static; display: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 12px; min-width: 0; }
  .nav-btn[aria-expanded="true"] + .nav-menu { display: block; }
  .nav-menu a { padding: 11px 12px; }
}

/* ---------------------------------------------------------------- hero */
.hero, .page-hero { background-color: var(--ink); background-image: repeating-radial-gradient(circle at 82% 46%, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 54px, rgba(255,255,255,.055) 54px, rgba(255,255,255,.055) 55px); color: var(--white); }
.hero-inner { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--on-dark-2); }
.hero .eyebrow::before, .page-hero .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }
.hero h1, .page-hero h1 { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.025em; }
.ul { white-space: nowrap; box-shadow: inset 0 -.16em 0 var(--accent); }
.hero-lede { font-size: 20px; line-height: 1.5; color: var(--on-dark); max-width: 560px; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-on-dark); }

/* ---------------------------------------------------------------- quote form */
.quote { flex: 1 1 380px; max-width: 440px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 6px; border-top: 5px solid var(--accent); padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.quote-head { display: flex; flex-direction: column; gap: 2px; }
.quote-title { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: 24px; letter-spacing: -.01em; }
.quote-sub { font-size: 15px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--input); border-radius: 4px; font-size: 16px; color: var(--ink); background: var(--white); transition: border-color .15s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23161A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; cursor: pointer; }
.field select:invalid { color: var(--placeholder); }
.field input:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field select:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.field-row { display: flex; gap: 12px; }
.field-row .field:first-child { flex: 0 1 150px; }
.field-row .field:last-child { flex: 1 1 0; }
.quote button[type=submit] { height: 52px; border: 0; border-radius: 4px; background: var(--accent); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 18px; cursor: pointer; transition: background-color .15s; }
.quote button[type=submit]:hover { background: var(--accent-hover); }
.quote button[type=submit]:disabled { opacity: .7; cursor: wait; }
.quote-call { text-align: center; font-size: 15px; color: var(--muted); }
.quote-call a { font-weight: 700; color: var(--ink); text-decoration: underline; }
.form-error { font-size: 14px; color: var(--accent); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
.trust-item { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-family: var(--head); font-weight: 700; font-size: 17px; }
.trust-item span { font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.sec { padding-top: 88px; padding-bottom: 80px; }
.sec-even { padding-top: 88px; padding-bottom: 88px; }
.bg-white { background: var(--white); }
.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.border-top { border-top: 1px solid var(--line); }
.body-p { color: var(--body); }

/* services */
.svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 40px; }
.svc-head .sec-head { flex: 1 1 420px; }
.svc-head > p { flex: 1 1 380px; max-width: 480px; color: var(--body); }
.svc-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.svc { flex: 1 1 340px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.svc:has(h3 a):hover { border-color: var(--ink); }
.svc-num { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--accent); }
.svc h3 { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.svc h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.svc p { color: var(--body); }
.svc-dark { background: var(--ink); border-color: var(--ink); color: var(--white); gap: 12px; justify-content: space-between; }
.svc-dark > div { display: flex; flex-direction: column; gap: 10px; }
.svc-dark p { color: var(--on-dark); }
.svc-dark .btn { align-self: flex-start; min-height: 44px; padding: 0 18px; font-size: 16px; }

/* why impact glass */
.why { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.why-left { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.why-left > p { color: var(--body); max-width: 540px; }
.scale { display: flex; align-items: flex-end; gap: 10px; height: 200px; margin-top: 10px; border-bottom: 2px solid var(--ink); }
.scale span { flex: 1 1 0; display: flex; align-items: flex-start; justify-content: center; }
.scale span:nth-child(1) { height: 28%; background: #D5D9E3; }
.scale span:nth-child(2) { height: 42%; background: #AEB5C7; }
.scale span:nth-child(3) { height: 58%; background: #808AA5; }
.scale span:nth-child(4) { height: 80%; background: var(--accent); }
.scale span:nth-child(5) { height: 100%; background: #6E130C; }
.scale b { margin-top: 10px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.scale-labels { list-style: none; padding: 0; display: flex; gap: 10px; }
.scale-labels li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.scale-labels strong { font-family: var(--head); font-weight: 700; font-size: 15px; }
.scale-labels span { font-size: 14px; color: var(--muted); }
.why-right { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.why-right h3 { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.cut { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.cut-pic { flex: 0 0 150px; height: 300px; border: 10px solid var(--ink); border-radius: 3px; display: flex; justify-content: center; padding: 0 30px; background: var(--ground); }
.cut-pic span { width: 22px; background: var(--glass); }
.cut-pic span:nth-child(2) { width: 12px; background: var(--accent); }
.cut ol { flex: 1 1 240px; list-style: none; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.cut li { display: flex; gap: 14px; }
.swatch { flex: 0 0 14px; height: 14px; margin-top: 6px; }
.sw-glass { background: var(--glass); border: 1px solid #7C93AB; }
.sw-layer { background: var(--accent); }
.sw-frame { background: var(--ink); }
.cut strong { font-family: var(--head); }
.cut li span span, .cut .dim { color: var(--body); }
.why-right > p { padding-top: 20px; border-top: 1px solid var(--line); color: var(--body); }

/* process */
.steps-head { margin-bottom: 40px; }
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 32px 28px; }
.steps li { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li:last-child { border-top-color: var(--accent); }
.step-num { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.steps h3 { font-family: var(--head); font-weight: 700; font-size: 20px; }
.steps p { color: var(--body); }

/* prices (added: BUILD-SYSTEM §7c, drawn in the FAQ's ruled-list language) */
.prices { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.prices-copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.prices-copy > p { color: var(--body); }
.prices-list { flex: 2 1 560px; min-width: 0; }
.price-rows { border-top: 2px solid var(--ink); }
.price-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.price-rows dt { font-weight: 600; }
.price-rows dd { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: 20px; white-space: nowrap; }
.price-fine { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* service areas */
.areas-sec { background: var(--ink); color: var(--white); }
.areas { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px 72px; }
.areas-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.areas-copy > p { color: var(--on-dark); max-width: 460px; }
.area-cols { flex: 1 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 36px 56px; }
.area-col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.area-col h3 { padding-bottom: 10px; border-bottom: 1px solid var(--dark-line); font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.area-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; color: var(--on-dark-3); }
.area-col a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 3px; }
.area-col a:hover { color: var(--accent-on-dark); }

/* faq */
.faq { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.faq > .sec-head { flex: 1 1 300px; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; }
.faq-item { padding: 22px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.faq-item:first-child { border-top: 2px solid var(--ink); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-family: var(--head); font-weight: 700; font-size: 20px; }
.faq-item p { color: var(--body); }
.faq-item a { text-decoration: underline; }

/* about */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.about-photo { flex: 1 1 400px; min-width: 0; min-height: 380px; border-radius: 6px; overflow: hidden; background: var(--ph); position: relative; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-copy > p { color: var(--body); }
.about-copy > p a { text-decoration: underline; }
.about-copy .btn { align-self: flex-start; margin-top: 8px; }
.ph-box { border: 1px dashed #8A93A8; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--body); font-size: 15px; }

/* contact band */
.band { background: var(--accent); color: var(--white); }
.band-inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.band-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.band h2 { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.02em; }
.band p { font-size: 19px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.band-actions a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 18px; white-space: nowrap; transition: background-color .15s, color .15s; }
.band-call { background: var(--white); color: var(--ink); }
.band-call:hover { background: var(--on-dark-3); color: var(--ink); }
.band-quote { background: var(--ink); color: var(--white); }
.band-quote:hover { background: var(--ink-hover); color: var(--white); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--footer); color: var(--on-dark-2); font-size: 15px; }
.site-footer a { color: var(--on-dark-2); transition: color .15s; }
.site-footer a:hover { color: var(--white); }
.footer-cols { padding-top: 48px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-about { flex: 1 1 260px; }
.footer-links { flex: 0 1 170px; }
.footer-contact { flex: 0 1 200px; }
.footer-col h2, .footer-brand { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--white); }
.footer-brand { font-weight: 800; font-stretch: 98%; font-size: 18px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col .footer-phone { color: var(--white); font-weight: 700; font-size: 18px; }
.footer-bottom { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--footer-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { text-decoration: underline; }

.call-bar { display: none; }

/* ---------------------------------------------------------------- inner pages */
.page-hero-inner { padding-top: 48px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.page-hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 4px; }
.page-hero h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; }
.page-hero .lede { font-size: 19px; line-height: 1.5; color: var(--on-dark); max-width: 600px; }
.page-hero .lede a { color: var(--white); text-decoration: underline; }
.call-line { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: 16px; color: var(--on-dark); }
.call-line a { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--white); }
.call-line a:hover { color: var(--accent-on-dark); }
.center-hero { justify-content: center; text-align: center; }
.center-hero .page-hero-copy { align-items: center; max-width: 760px; }
.center-hero .call-line { justify-content: center; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--on-dark-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #6B7491; }
.breadcrumb a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--white); }

.page-body { background: var(--ground); }
.page-grid { padding-top: 72px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose { min-width: 0; max-width: 760px; color: var(--body); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: 30px; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); margin-top: 44px; }
.prose h3 { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 28px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { color: var(--ink); }
.answer { font-size: 19px; color: var(--ink); background: var(--white); border-top: 4px solid var(--accent); border-radius: 0 0 6px 6px; padding: 20px 24px; }
.page-photo { margin: 0 0 8px; border-radius: 6px; overflow: hidden; background: var(--ph); }
.page-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-photo figcaption { background: var(--white); font-size: 14px; color: var(--muted); padding: 10px 16px; }
.page-photo.ph-box { aspect-ratio: 3 / 2; }
.page-map { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.page-map img { width: 100%; aspect-ratio: 3 / 2; }
.page-map figcaption { font-size: 13.5px; color: var(--muted); padding: 10px 16px; }
.updated { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px !important; }
.note { background: var(--white); border-left: 4px solid var(--ink); border-radius: 0 6px 6px 0; padding: 16px 20px; color: var(--ink); font-size: 16px; }
.facts-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 6px 24px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--head); font-weight: 700; color: var(--ink); }
.facts dd { text-align: right; }
.facts a { font-weight: 700; text-decoration: underline; }

.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: 21px; line-height: 1.15; color: var(--ink); }
.side-card p { color: var(--body); font-size: 16px; }
.side-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.side-card li a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a::after { content: "→"; color: var(--accent); }
.side-card li a[aria-current="page"] { color: var(--accent); }
.side-dark { background: var(--ink); border-color: var(--ink); border-top: 5px solid var(--accent); color: var(--white); }
.side-dark h2 { color: var(--white); }
.side-dark p { color: var(--on-dark); }
.side-dark .btn { width: 100%; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table caption { text-align: left; padding: 16px 20px 0; font-family: var(--head); font-weight: 800; font-stretch: 98%; font-size: 19px; color: var(--ink); }
.price-table th { text-align: left; font-family: var(--head); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 20px; border-bottom: 2px solid var(--ink); }
.price-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 600; color: var(--ink); }
.price-table td:nth-child(2) { font-family: var(--head); font-weight: 800; font-stretch: 98%; color: var(--ink); white-space: nowrap; }

.legal .page-grid { grid-template-columns: minmax(0, 760px); }

/* ---------------------------------------------------------------- short laptop screens: keep the form inside the fold */
@media (min-width: 1024px) and (max-height: 780px) {
  .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .hero-copy { gap: 18px; }
  .quote { padding: 22px 26px 20px; gap: 12px; }
  .page-hero-inner { padding-top: 32px; padding-bottom: 48px; }
  .page-hero-copy { gap: 16px; }
}
@media (min-width: 1024px) and (max-height: 680px) {
  .hero-inner { padding-top: 28px; padding-bottom: 36px; }
  .hero-copy { gap: 14px; padding-top: 0; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 60px); }
  .checks { gap: 8px; }
  .quote { gap: 10px; padding-top: 20px; }
  .field input, .field select { height: 42px; }
  .quote button[type=submit] { height: 48px; }
  .page-hero-inner { padding-top: 24px; padding-bottom: 36px; }
  .page-hero-copy { gap: 12px; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1023.98px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aside { position: static; }
  .quote { max-width: none; }
}

/* ---------------------------------------------------------------- phones (the 390px artboard) */
@media (max-width: 767.98px) {
  body { padding-bottom: 68px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .d-only { display: none; }
  .m-only { display: inline; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .call-btn { width: 44px; height: 44px; padding: 0; justify-content: center; background: var(--accent); }
  .call-btn:hover { background: var(--accent-hover); }
  .call-btn span { display: none; }
  .call-btn svg { width: 20px; height: 20px; }
  .nav { max-height: calc(100vh - 70px); }
  .nav-list { padding: 4px 20px 16px; }

  .hero-inner { padding-top: 36px; padding-bottom: 44px; }
  .hero-copy, .page-hero-copy { flex: none; width: 100%; }
  .quote { flex: none; width: 100%; }
  .page-hero-inner { padding-top: 28px; padding-bottom: 40px; gap: 28px; }
  .page-hero-copy { gap: 16px; }
  .page-hero .lede { font-size: 18px; }

  .trust-inner { padding-top: 22px; padding-bottom: 22px; }
  .trust-item { flex: 1 1 140px; }
  .sec { padding-top: 56px; padding-bottom: 52px; }
  .sec-even { padding-top: 56px; padding-bottom: 56px; }
  .svc-head { margin-bottom: 28px; }
  .steps-head { margin-bottom: 28px; }
  .areas { padding-top: 56px; padding-bottom: 56px; }
  .area-col { flex: 1 1 130px; }
  .about-photo { min-height: 240px; }
  .band-inner { padding-top: 48px; padding-bottom: 48px; }
  .footer-cols { padding-top: 40px; padding-bottom: 28px; }
  .footer-bottom { padding-bottom: 28px; }

  .page-grid { padding-top: 40px; padding-bottom: 56px; }
  .prose h2 { font-size: 25px; margin-top: 36px; }
  .answer { font-size: 17px; padding: 16px 18px; }
  .price-table { font-size: 15px; }
  .price-table th, .price-table td { padding: 12px 14px; }

  /* 44px tap targets */
  .logo { min-height: 44px; }
  .footer-col a, .footer-col li { display: flex; align-items: center; min-height: 44px; }
  .footer-col ul { gap: 0; }
  .call-line a { display: inline-flex; align-items: center; min-height: 44px; }
  .svc h3 a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .area-col li:has(a) { display: flex; align-items: center; min-height: 44px; margin: -9px 0; }
  .quote-call a { display: inline-block; padding: 12px 0; margin: -12px 0; }

  .call-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(22, 26, 43, .12); }
  .call-bar a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 4px; color: var(--white); font-family: var(--head); font-weight: 700; font-size: 16px; }
  .cb-call { background: var(--ink); }
  .cb-quote { background: var(--accent); }
  .cb-call:hover, .cb-quote:hover { color: var(--white); }
  .call-bar svg { width: 18px; height: 18px; }
}
@media (max-width: 519.98px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--line); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { border: 0; padding: 12px 14px 4px; }
  .price-table td:nth-child(2) { text-align: right; }
  .price-table td:nth-child(3) { grid-column: 1 / -1; padding-top: 0; padding-bottom: 12px; font-size: 14px; }
  .price-rows div { flex-direction: column; gap: 2px; }
}
@media (max-width: 359.98px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo { gap: 9px; }
  .logo-name b { font-size: 17px; }
  .logo-name small { font-size: 11.5px; letter-spacing: .1em; }
  .header-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- homepage hero footage + small touches (2026-10-21) ---------- */
.hero-home { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink) url("/images/hero-palms-poster.webp") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-radial-gradient(circle at 82% 46%, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 54px, rgba(255,255,255,.05) 54px, rgba(255,255,255,.05) 55px), linear-gradient(100deg, rgba(22,26,43,.92) 0%, rgba(22,26,43,.82) 50%, rgba(22,26,43,.66) 100%); }
.field input:focus, .field select:focus { box-shadow: 0 0 0 4px rgba(22,26,43,.12); }
.field input, .field select { transition: border-color .15s, box-shadow .2s ease-out; }
.scale span:nth-child(4) { transition: box-shadow .25s ease-out, filter .25s ease-out; }
.scale span:nth-child(4):hover { box-shadow: 0 0 0 3px rgba(196,39,27,.25), 0 0 22px rgba(196,39,27,.55); filter: brightness(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .btn, .call-btn, .band-actions a, .quote button[type=submit] { transition: background-color .15s, color .15s, transform .12s ease-out; }
  .btn:active, .call-btn:active, .band-actions a:active, .quote button[type=submit]:active { transform: scale(.97); }
  .svc { transition: border-color .15s, transform .2s ease-out, box-shadow .2s ease-out; }
  .svc:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(22,26,43,.10); }
  .call-btn { animation: call-pulse 1.4s ease-out .8s 1; }
  @keyframes call-pulse { 0% { box-shadow: 0 0 0 0 rgba(196,39,27,.55); } 100% { box-shadow: 0 0 0 14px rgba(196,39,27,0); } }
}
.scale-labels .ian { display: block; font-style: normal; font-weight: 600; color: var(--accent); }
