/* icons:start */
@font-face { font-family: 'Phosphor'; src: url('/assets/fonts/phosphor-subset.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: block; }
.ph {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "Phosphor" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Enable Ligatures ================ */
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga" 1;
  font-feature-settings: "liga";
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ph.ph-arrow-down:before { content: "\e03e"; }
.ph.ph-arrow-right:before { content: "\e06c"; }
.ph.ph-arrows-clockwise:before { content: "\e094"; }
.ph.ph-arrows-left-right:before { content: "\e0a0"; }
.ph.ph-arrows-out-line-horizontal:before { content: "\e534"; }
.ph.ph-broom:before { content: "\ec54"; }
.ph.ph-caret-down:before { content: "\e136"; }
.ph.ph-caret-left:before { content: "\e138"; }
.ph.ph-caret-right:before { content: "\e13a"; }
.ph.ph-check:before { content: "\e182"; }
.ph.ph-check-circle:before { content: "\e184"; }
.ph.ph-circles-four:before { content: "\e190"; }
.ph.ph-clipboard-text:before { content: "\e198"; }
.ph.ph-clock:before { content: "\e19a"; }
.ph.ph-currency-gbp:before { content: "\e556"; }
.ph.ph-drop:before { content: "\e210"; }
.ph.ph-drop-half-bottom:before { content: "\eb40"; }
.ph.ph-envelope-simple:before { content: "\e218"; }
.ph.ph-fire:before { content: "\e242"; }
.ph.ph-hammer:before { content: "\e80e"; }
.ph.ph-house-line:before { content: "\e2c4"; }
.ph.ph-house-simple:before { content: "\e2c6"; }
.ph.ph-list:before { content: "\e2f0"; }
.ph.ph-magnifying-glass-plus:before { content: "\e310"; }
.ph.ph-map-pin:before { content: "\e316"; }
.ph.ph-map-trifold:before { content: "\e31a"; }
.ph.ph-palette:before { content: "\e6c8"; }
.ph.ph-phone:before { content: "\e3b8"; }
.ph.ph-phone-call:before { content: "\e3ba"; }
.ph.ph-plus:before { content: "\e3d4"; }
.ph.ph-rectangle:before { content: "\e3f0"; }
.ph.ph-rows:before { content: "\e5a2"; }
.ph.ph-ruler:before { content: "\e6b8"; }
.ph.ph-seal-check:before { content: "\e606"; }
.ph.ph-shield-check:before { content: "\e40c"; }
.ph.ph-squares-four:before { content: "\e464"; }
.ph.ph-stack:before { content: "\e466"; }
.ph.ph-thumbs-up:before { content: "\e48e"; }
.ph.ph-tree:before { content: "\e6da"; }
.ph.ph-umbrella:before { content: "\e684"; }
.ph.ph-users-three:before { content: "\e68e"; }
.ph.ph-wall:before { content: "\e688"; }
.ph.ph-warning-circle:before { content: "\e4e2"; }
.ph.ph-whatsapp-logo:before { content: "\e5d0"; }
.ph.ph-wrench:before { content: "\e5d4"; }
.ph.ph-x:before { content: "\e4f6"; }
/* icons:end */
/* fonts:start */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600 900; font-stretch: 100% 125%; font-display: swap; src: url('/assets/fonts/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700;  font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* fonts:end */
/* GoPro Roofing - main stylesheet
   Tokens first; light theme default, dark via prefers-color-scheme.
   Radius rule: 6px on everything (buttons, inputs, cards, images). Pills only for area chips. */

:root {
  --navy-950: #08111b;
  --navy-900: #0f1e30;
  --navy-800: #162a42;
  --navy-700: #192a3d;
  --red-600: #b02e26;
  --red-700: #8f241e;
  --wa: #0a7a3c;
  --wa-hover: #08652f;

  --surface: #f3f5f8;
  --surface-2: #e7ecf2;
  --card: #ffffff;
  --text: #122033;
  --muted: #4a5a6e;
  --line: #d3dbe5;
  --accent: var(--red-600);
  --accent-hover: var(--red-700);
  --accent-text: #a3291f;
  --on-accent: #ffffff;

  /* dark bands (always dark in both themes) */
  --band: var(--navy-900);
  --band-2: var(--navy-800);
  --band-text: #eef2f7;
  --band-muted: #aebdcc;
  --band-line: rgba(255, 255, 255, .12);
  --band-accent-text: #f08a80;

  --radius: 6px;
  --shadow: 0 1px 2px rgba(15, 30, 48, .06), 0 12px 32px -12px rgba(15, 30, 48, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 30, 48, .35);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --gable: clamp(28px, 4.5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b1520;
    --surface-2: #101e2d;
    --card: #14253a;
    --text: #e7edf4;
    --muted: #a9b6c6;
    --line: #22364d;
    --accent: #c8463b;
    --accent-hover: #b8372e;
    --accent-text: #ff8a7e;
    --band: #0a1622;
    --band-2: #0e1d2e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2a8fd6; outline-offset: 3px; border-radius: 2px; }
button { font: inherit; }
ul, ol { padding-left: 1.2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.6vw + 1rem, 4.75rem); }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.4rem); }
h3 { font-size: clamp(1.25rem, .6vw + 1rem, 1.6rem); font-weight: 700; letter-spacing: -.012em; line-height: 1.15; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.005em; }
.lede { font-size: clamp(1.1rem, .35vw + 1rem, 1.3rem); color: var(--muted); max-width: 60ch; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1rem;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--card); color: var(--text); padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--surface-2); }
.section--card { background: var(--card); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* dark band sections */
.band { background: var(--band); color: var(--band-text); position: relative; isolation: isolate; }
.band h1, .band h2, .band h3 { color: #fff; }
.band .muted, .band .lede, .band .section-head p { color: var(--band-muted); }
.band .eyebrow, .band .accent { color: var(--band-accent-text); }
.band a:not(.btn) { color: #fff; }
.band::after { /* fine grain on dark bands, fixed-cost pseudo element */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
}
/* roof-pitch top edge, echoes the logo roofline */
.gable { clip-path: polygon(0 var(--gable), 50% 0, 100% var(--gable), 100% 100%, 0 100%); padding-top: calc(var(--section) + var(--gable)); margin-top: calc(var(--gable) * -1); }
.gable-img { clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--accent); --fg: var(--on-accent); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem;
  border-radius: var(--radius); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { --bg: var(--accent-hover); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ph { font-size: 1.25em; }
.btn .ph-arrow-right { transition: transform .3s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn-lg { min-height: 58px; padding: .95rem 1.75rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-ghost { --bg: transparent; --fg: var(--text); --bd: var(--line); }
.btn-ghost:hover { --bg: var(--card); --bd: var(--text); }
.band .btn-ghost, .hero .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.4); }
.band .btn-ghost:hover, .hero .btn-ghost:hover { --bg: rgba(255,255,255,.08); --bd: #fff; }
.btn-wa { --bg: var(--wa); --fg: #fff; }
.btn-wa:hover { --bg: var(--wa-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--accent-text); min-height: 44px; }
.link-arrow .ph { transition: transform .3s var(--ease); }
.link-arrow:hover .ph { transform: translateX(4px); }

/* ---------- utility bar + header ---------- */
.utility { background: var(--navy-950); color: #c9d4e0; font-size: 1rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.utility a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.utility a:hover { text-decoration: underline; }
.utility-links { display: flex; gap: 1.5rem; align-items: center; }
.utility .ph { color: #f08a80; }
@media (max-width: 899px) { .utility { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(15, 30, 48, .35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; padding: .5rem .8rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent-text); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-link .ph-caret-down { font-size: .85em; transition: transform .2s var(--ease); }
.has-menu[data-open] .ph-caret-down { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: -1rem; min-width: 300px; list-style: none; margin: 0; padding: .5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-menu[data-open] .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .has-menu:hover .submenu { opacity: 1; visibility: visible; transform: none; } }
.submenu a { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; color: var(--text); text-decoration: none; border-radius: var(--radius); font-weight: 600; }
.submenu a:hover { background: var(--surface); color: var(--accent-text); }
.submenu .ph { font-size: 1.3rem; color: var(--accent-text); }
.submenu .all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; color: var(--text); text-decoration: none; font-size: 1.05rem; min-height: 44px; white-space: nowrap; }
.header-phone .ph { color: var(--accent-text); font-size: 1.3rem; }
.header-cta .btn { min-height: 46px; padding: .6rem 1.15rem; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: var(--radius); font-size: 1.5rem; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1180px) { .header-phone span { display: none; } .header-phone .ph { font-size: 1.5rem; } }
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  /* backdrop-filter would make the fixed mobile menu position against the header, so go solid here */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--card); }
  .brand img { height: 46px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--card); margin: 0; padding: 1.5rem var(--gutter) 7rem;
    overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .nav[data-open] { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.25rem; min-height: 60px; padding-inline: 0; font-family: var(--font-display); font-weight: 700; }
  .nav-link[aria-current="page"] { box-shadow: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem; min-width: 0; display: none; background: transparent; }
  .has-menu[data-open] .submenu { display: block; }
  .nav-mobile-cta { display: grid !important; gap: .75rem; margin-top: 1.5rem; }
}
.nav-mobile-cta { display: none !important; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--band); color: var(--band-text); overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: min(calc(100dvh - var(--header-h) - 40px), 820px); }
.hero-copy { padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem) 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2.5rem, 3.2vw + 1rem, 4.4rem); }
.hero h1 .accent { color: var(--band-accent-text); }
.hero .lede { color: var(--band-muted); margin-bottom: 2rem; max-width: 46ch; }
.hero-media { position: relative; overflow: hidden; margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - var(--gutter)); }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--band) 0%, rgba(15,30,48,0) 22%); pointer-events: none; }
.hero-media .gable-img { clip-path: polygon(0 9%, 50% 0, 100% 9%, 100% 100%, 0 100%); }
@media (prefers-color-scheme: dark) { .hero-media::before { background: linear-gradient(90deg, var(--band) 0%, rgba(10,22,34,0) 22%); } }
.hero--sub .hero-grid { min-height: clamp(460px, 62vh, 640px); }
.hero-grid--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 2rem; }
.hero-form { padding-block: clamp(1rem, 4vw, 4rem); }
@media (max-width: 899px) { .hero-grid--form { grid-template-columns: 1fr; } .hero-grid--form .hero-copy { padding-bottom: 1rem; } .hero-form { padding-block: 0 3rem; } }
.hero--sub h1 { max-width: 16ch; font-size: clamp(2.3rem, 3.6vw + 1rem, 4rem); }
.crumbs { font-size: 1rem; color: var(--band-muted); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--band-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 899px) {
  .hero-grid, .hero--sub .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 4 / 3; }
  .hero-media::before { background: linear-gradient(0deg, var(--band) 0%, rgba(15,30,48,0) 30%); }
  .hero-media .gable-img { clip-path: none; }
  .hero-copy { padding: 1.5rem 0 3.5rem; }
  .hero h1 { max-width: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- proof strip ---------- */
.proof { background: var(--card); border-bottom: 1px solid var(--line); }
.proof-list { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.proof-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.proof-list .ph { font-size: 1.75rem; color: var(--accent-text); flex: 0 0 auto; }
@media (max-width: 1023px) { .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof-list li:last-child { grid-column: 1 / -1; } }

/* ---------- split (text + image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--wide-img { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media .tall { aspect-ratio: 4 / 5; }
.split-media .wide { aspect-ratio: 16 / 10; }
.split-media .inset-img { position: absolute; width: 42%; right: -1.5rem; bottom: -2.5rem; border: 6px solid var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.section--tint .inset-img { border-color: var(--surface-2); }
.split-media figcaption { margin-top: .9rem; font-size: 1rem; color: var(--muted); }
@media (max-width: 899px) { .split, .split--wide-img { grid-template-columns: 1fr; } .split--reverse .split-media { order: -1; } .split-media .inset-img { right: .75rem; bottom: -1.5rem; width: 38%; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.fact b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fact span { color: var(--muted); font-size: 1rem; }

/* ---------- services bento ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(230px, 22vw, 300px); gap: 1rem; }
.svc { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--band); color: #fff; text-decoration: none; display: flex; isolation: isolate; grid-column: span 4; }
.svc:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.svc:nth-child(2) { grid-column: span 5; }
.svc:nth-child(3) { grid-column: span 5; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,17,27,0) 30%, rgba(8,17,27,.88) 100%); }
.svc:hover img { transform: scale(1.05); }
.svc-body { margin-top: auto; padding: clamp(1.25rem, 2.5vw, 2rem); width: 100%; }
.svc h3 { color: #fff; margin-bottom: .35rem; }
.svc:nth-child(1) h3 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); }
.svc p { color: #d6dee8; font-size: 1rem; margin: 0 0 .75rem; max-width: 42ch; }
.svc .more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: 1rem; }
.svc .more .ph { transition: transform .3s var(--ease); }
.svc:hover .more .ph { transform: translateX(5px); }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; } .svc, .svc:nth-child(n) { grid-column: span 1; grid-row: span 1; } .svc:nth-child(1) { grid-column: 1 / -1; grid-row: span 1; } }
@media (max-width: 599px) { .svc-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; } }

/* ---------- before / after ---------- */
.ba-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.ba-tab { min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.ba-tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--surface); }
.ba-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; box-shadow: var(--shadow-lg); background: var(--band);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ba-handle .ph { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; color: var(--navy-900); font-size: 1.5rem; }
.ba-label { position: absolute; top: 1rem; padding: .3rem .7rem; border-radius: var(--radius); background: rgba(8,17,27,.72); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-label--before { left: 1rem; }
.ba-label--after { right: 1rem; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type="range"]:focus-visible ~ .ba-handle::after { outline: 3px solid #2a8fd6; outline-offset: 3px; }
.ba-panel[hidden] { display: none; }
.ba-copy h3 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2.1rem); }
.ba-copy p { color: var(--muted); }
.ba-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.ba-steps li { display: flex; gap: .65rem; align-items: flex-start; }
.ba-steps .ph { color: var(--accent-text); font-size: 1.3rem; margin-top: .1rem; }
@media (max-width: 899px) { .ba-layout { grid-template-columns: 1fr; } .ba { aspect-ratio: 3 / 4; } }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.why-quote { margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em; }
.why-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.why-list li { padding-top: 1.25rem; border-top: 2px solid var(--text); }
.why-list .ph { font-size: 2rem; color: var(--accent-text); margin-bottom: .75rem; display: block; }
.why-list h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.why-list p { color: var(--muted); font-size: 1rem; }
@media (max-width: 899px) { .why { grid-template-columns: 1fr; } .why-media { position: static; } .why-media img { aspect-ratio: 4 / 3; } }
@media (max-width: 599px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.process li { counter-increment: step; position: relative; }
.process figure { margin: 0 0 1.4rem; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.process figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.process li:hover figure img { transform: scale(1.04); }
.process .num { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 3.5rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--band-accent-text); margin-bottom: .75rem; }
.process h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.process p { color: var(--band-muted); font-size: 1rem; }
.process--light p { color: var(--muted); }
.process--light .num { -webkit-text-stroke-color: var(--accent); }
.process-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.process-foot p { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.25rem; color: #fff; margin: 0; }
@media (max-width: 1023px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; } }
@media (max-width: 599px) { .process { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry a { display: block; margin-bottom: 1rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface-2); }
.masonry img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.masonry a:hover img { transform: scale(1.04); }
.masonry a[hidden] { display: none; }
.masonry a::after { content: "\e310"; font-family: "Phosphor"; position: absolute; right: .75rem; bottom: .75rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(8,17,27,.7); color: #fff; font-size: 1.15rem; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.masonry a:hover::after, .masonry a:focus-visible::after { opacity: 1; transform: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-bar button { min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.filter-bar button:hover { border-color: var(--text); }
.filter-bar button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--surface); }

/* cookie consent */
.consent { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; max-width: 420px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.25rem; font-size: 1rem; }
.consent[hidden] { display: none; }
.consent p { margin-bottom: 1rem; color: var(--muted); }
.consent .btn-row .btn { min-height: 44px; padding: .5rem 1rem; flex: 1; }
@media (max-width: 1023px) { .consent { left: .75rem; right: .75rem; bottom: calc(80px + env(safe-area-inset-bottom)); max-width: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,10,16,.94); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; max-width: min(1200px, 92vw); width: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #cfd8e3; text-align: center; margin-top: .75rem; font-size: 1rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.5rem; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- areas ---------- */
.areas { position: relative; overflow: hidden; }
.areas-bg { position: absolute; inset: 0; z-index: -2; }
.areas-bg img { width: 100%; height: 100%; object-fit: cover; }
.areas-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,30,48,.96) 0%, rgba(15,30,48,.88) 45%, rgba(15,30,48,.45) 100%); }
.areas-inner { max-width: 640px; }
.chips { list-style: none; padding: 0; margin: 1.75rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li a, .chips li span { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font-weight: 600; text-decoration: none; }
.chips li a:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.chips .ph { color: var(--band-accent-text); }
.chips--light li span, .chips--light li a { border-color: var(--line); background: var(--card); color: var(--text); }
.chips--light .ph { color: var(--accent-text); }

/* ---------- tips / checklist ---------- */
.tips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.4rem; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist .ph { font-size: 1.5rem; color: var(--accent-text); flex: 0 0 auto; margin-top: .05rem; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: 1rem; }
@media (max-width: 899px) { .tips { grid-template-columns: 1fr; } }

/* ---------- feature cards (service pages) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card .ph { font-size: 2rem; color: var(--accent-text); margin-bottom: 1rem; display: block; }
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: 1rem; }
.issue-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.issue-grid li { display: flex; gap: .75rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.issue-grid .ph { color: var(--accent-text); font-size: 1.35rem; flex: 0 0 auto; }
.band .issue-grid li { border-color: var(--band-line); }
.band .issue-grid .ph { color: var(--band-accent-text); }
@media (max-width: 599px) { .issue-grid { grid-template-columns: 1fr; } }

.photo-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: clamp(280px, 30vw, 440px); gap: 1rem; }
.photo-row a { display: block; border-radius: var(--radius); overflow: hidden; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-row a:hover img { transform: scale(1.04); }
@media (max-width: 699px) { .photo-row { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } .photo-row a:first-child { grid-column: 1 / -1; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related a { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; padding: .75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, transform .3s var(--ease); }
.related a:hover { border-color: var(--text); transform: translateY(-2px); }
.related img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.related b { font-family: var(--font-display); font-stretch: 108%; font-size: 1.1rem; display: block; line-height: 1.2; }
.related span { color: var(--accent-text); font-weight: 600; font-size: 1rem; display: inline-flex; gap: .3rem; align-items: center; }
@media (max-width: 899px) { .related { grid-template-columns: 1fr; } }

/* services overview list (roofing-services page) */
.svc-rows { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { position: relative; }
.svc-row-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.svc-row h2 { font-size: clamp(1.8rem, 1.6vw + 1rem, 2.6rem); }
.svc-row ul { margin: 1rem 0 1.5rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; }
.svc-row li { display: flex; gap: .5rem; align-items: flex-start; }
.svc-row li .ph { color: var(--accent-text); margin-top: .3rem; }
@media (max-width: 899px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row-media { order: 0; } }
@media (max-width: 499px) { .svc-row ul { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; min-height: 44px; font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex: 0 0 auto; font-size: 1.3rem; color: var(--accent-text); transition: transform .3s var(--ease); }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq .answer { padding: 0 2.5rem 1.5rem 0; color: var(--muted); }
@media (max-width: 899px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- CTA + form ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cta-points { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.cta-points li { display: flex; gap: .8rem; align-items: flex-start; }
.cta-points .ph { color: var(--band-accent-text); font-size: 1.4rem; margin-top: .1rem; }
.cta-contact { display: grid; gap: .9rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--band-line); }
.cta-contact a { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 600; min-height: 44px; }
.cta-contact a b { font-family: var(--font-display); font-stretch: 108%; font-size: 1.35rem; }
.cta-contact .ico { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.35rem; color: var(--band-accent-text); }
@media (max-width: 899px) { .cta-grid { grid-template-columns: 1fr; } }

/* the form card stays light in both themes so its contrast never changes */
.form-card { background: #fff; color: #122033; border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); color-scheme: light; }
.form-card h3 { color: #0f1e30; font-size: 1.6rem; margin-bottom: .3rem; }
.form-card .form-intro { color: #4a5a6e; margin-bottom: 1.5rem; font-size: 1rem; }
.quote-form { display: grid; gap: 1.1rem; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: 1rem; color: #122033; }
.field .optional { font-weight: 500; color: #5a6a7e; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1.5px solid #b9c5d3; border-radius: var(--radius);
  background: #fff; color: #122033; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7a8c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #0f1e30; box-shadow: 0 0 0 3px rgba(42,143,214,.35); }
.field [aria-invalid="true"] { border-color: #b02e26; background: #fff7f6; }
.field-error { color: #a3291f; font-size: 1rem; font-weight: 600; margin: 0; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23122033' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-fineprint { font-size: 1rem; color: #4a5a6e; margin: 0; }
.form-fineprint a, .band .form-card a:not(.btn) { color: #a3291f; font-weight: 700; }
.form-status { padding: 1rem 1.1rem; border-radius: var(--radius); font-size: 1rem; }
.form-status[data-state="success"] { background: #e9f6ee; color: #0b5a2c; border: 1px solid #a8d8b9; }
.form-status[data-state="error"] { background: #fdf0ef; color: #8f241e; border: 1px solid #f0bdb8; }
.form-status a { color: inherit; font-weight: 700; }
.quote-form .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-card .btn { --bg: #b02e26; --hover: #8f241e; }
.form-card .btn:hover { --bg: #8f241e; }

/* ---------- page CTA strip ---------- */
.strip { background: var(--accent); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 2rem; }
.strip p { margin: 0; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.3rem, 1vw + 1rem, 1.75rem); letter-spacing: -.015em; }
.strip .btn { --bg: #fff; --fg: #8f241e; }
.strip .btn:hover { --bg: #f3f5f8; }
.strip .btn-ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.strip .btn-ghost:hover { --bg: rgba(255,255,255,.1); --bd: #fff; }

/* ---------- contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.contact-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, transform .3s var(--ease); }
a.contact-card:hover { border-color: var(--text); transform: translateY(-2px); }
.contact-card .ph { font-size: 1.8rem; color: var(--accent-text); margin-bottom: .5rem; }
.contact-card span { color: var(--muted); font-size: 1rem; }
.contact-card b { font-family: var(--font-display); font-stretch: 106%; font-size: 1.15rem; overflow-wrap: anywhere; }
@media (max-width: 1023px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .contact-cards { grid-template-columns: 1fr; } }
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); background: var(--surface-2); filter: saturate(.85); }

/* thank-you / 404 / prose */
.center-hero { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.center-hero h1 { max-width: 18ch; margin-inline: auto; }
.center-hero .lede { margin-inline: auto; }
.center-hero .btn-row { justify-content: center; margin-top: 2rem; }
.big-icon { font-size: 4rem; color: var(--band-accent-text); margin-bottom: 1rem; display: inline-block; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1vw + 1rem, 2rem); margin-top: 2.5rem; }
.prose li { margin-bottom: .4rem; }
.notice { padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--card); border-radius: var(--radius); margin-bottom: 2rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #b9c6d4; padding-top: clamp(4rem, 7vw, 6rem); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 1.25rem; background: #fff; padding: 10px 14px; border-radius: var(--radius); box-sizing: content-box; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-stretch: 105%; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.site-footer a { color: #dfe7ef; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .ph { color: #f08a80; font-size: 1.15rem; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact address { font-style: normal; padding-top: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 1rem; color: #95a5b7; }
.footer-bottom a { min-height: 44px; color: #c9d4e0; }
.footer-bottom > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .25rem; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 1023px) { .site-footer { padding-bottom: 76px; } }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 1023px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -15px rgba(0,0,0,.35);
  }
  .action-bar .btn { min-height: 50px; padding: .5rem .6rem; font-size: 1rem; gap: .4rem; }
  .action-bar .btn-ghost { --fg: var(--text); --bd: var(--line); }
}

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
