/* New Generation Construction — site styles.
   One stylesheet for every page. Colors are tokens; section tone classes
   (.tone-dark / .tone-cream / .tone-white) re-scope them so components adapt.
   Section patterns adapted from 21st.dev (split hero with image cards, bento grid,
   how-it-works timeline, masonry lightbox, CTA banner), ported to plain CSS. */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  /* brand */
  --navy-950: #0a1a2c;
  --navy-900: #0e2238;
  --navy-800: #16314f;
  --blue: #29588f;            /* logo blue */
  --blue-700: #1f4675;
  --amber: #e8a93a;           /* action color: buttons on any tone */
  --amber-600: #d4932a;
  --cream: #f6f1e7;
  --stone: #e9e1d2;
  --white: #ffffff;
  --ink: #142233;
  --slate: #4a5868;
  --line-light: #ddd3c2;

  /* role tokens (light default) */
  --bg: var(--white);
  --surface: var(--white);
  --surface-2: var(--cream);
  --text: var(--ink);
  --text-2: var(--slate);
  --line: #e3dccf;
  --accent-fg: var(--blue);   /* links, eyebrows, icons on this tone */
  --btn-bg: var(--amber);
  --btn-fg: var(--navy-950);
  --btn-hover: var(--amber-600);
  --focus: #0b57d0;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 26, 44, .06), 0 8px 24px rgba(10, 26, 44, .08);
  --shadow-lg: 0 24px 60px rgba(10, 26, 44, .22);
  --header-h: 76px;
  --util-h: 36px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.tone-white { --bg: var(--white); --surface: var(--white); --surface-2: var(--cream); }
.tone-cream { --bg: var(--cream); --surface: var(--white); --surface-2: var(--white); --line: var(--line-light); }
.tone-dark {
  --bg: var(--navy-900); --surface: var(--navy-800); --surface-2: rgba(255, 255, 255, .06);
  --text: #f4f1ea; --text-2: #c3cdd8; --line: rgba(255, 255, 255, .14);
  --accent-fg: #f0c06a; --focus: #ffd27a;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-fg); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; letter-spacing: 0; }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-950); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
svg:not([width]) { width: 1.1em; height: 1.1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { background: var(--bg); color: var(--text); padding: clamp(56px, 8vw, 104px) 0; }
.section p, .section li { color: var(--text-2); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-fg); margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; font: 800 1rem/1.1 var(--sans); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 800; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; }
.link-arrow svg { width: 1.1em; height: 1.1em; flex: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- utility bar + header ---------- */
.utility { background: var(--navy-950); color: #d6dee8; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.utility .wrap { display: flex; gap: 22px; align-items: center; min-height: var(--util-h); overflow: hidden; }
.utility span { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.utility span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); margin-right: 14px; }
@media (max-width: 1000px) { .utility span:nth-child(n+4) { display: none; } }
@media (max-width: 700px) { .utility span:nth-child(n+3) { display: none; } }
@media (max-width: 430px) { .utility span:nth-child(n+2) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid #ebe5d9; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 26, 44, .1); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a, .nav .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); font: 700 .95rem/1 var(--sans); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav .nav-toggle:hover, .nav a[aria-current="page"] { background: var(--cream); color: var(--blue-700); }
.nav .has-sub { position: relative; }
.nav .nav-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav .nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(720px, 90vw);
  background: #fff; border: 1px solid #ebe5d9; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px;
}
.subnav[hidden] { display: none; }
.subnav h3 { grid-column: span 1; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin: 6px 12px 4px; }
.subnav ul { list-style: none; margin: 0 0 8px; padding: 0; }
.subnav a { display: flex; width: 100%; min-height: 38px; font-weight: 600; font-size: .92rem; }
.subnav .subnav-all { grid-column: 1 / -1; border-top: 1px solid #ebe5d9; padding-top: 12px; margin-top: 4px; }
.header-cta { display: flex; gap: 10px; align-items: center; flex: none; }
.header-cta .btn { min-height: 46px; padding: 10px 18px; font-size: .95rem; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid #d9d1c2; background: #fff;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1180px) { .nav > ul > li.hide-md { display: none; } }
@media (max-width: 1060px) {
  .nav, .header-cta .btn-quote { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .brand img { width: 112px; }
  .header-row { gap: 10px; }
  .header-cta .btn { padding: 8px 14px; font-size: .9rem; }
}
@media (max-width: 360px) { .brand img { width: 92px; } .header-cta .btn svg { display: none; } }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10, 26, 44, .55); }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: #fff; overflow-y: auto;
  padding: 18px 20px 120px; box-shadow: var(--shadow-lg);
}
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-top img { width: 110px; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: flex; min-height: 48px; align-items: center; padding: 0 6px; border-bottom: 1px solid #efe9de; color: var(--ink); font-weight: 700; text-decoration: none; }
.drawer-sub { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 6px; border: 0; border-bottom: 1px solid #efe9de; background: none; font: 700 1rem var(--sans); color: var(--ink); cursor: pointer; }
.drawer-sub::after { content: "+"; font-size: 1.3rem; color: var(--blue); }
.drawer-sub[aria-expanded="true"]::after { content: "\2013"; }
#drawer-services a { padding-left: 18px; font-weight: 600; min-height: 44px; }
.drawer .btn { width: 100%; margin-top: 14px; }

/* mobile bottom bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--navy-950); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
  }
  .mobile-bar .btn { min-height: 50px; padding: 8px 10px; font-size: .98rem; }
  .mobile-bar .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
  body { padding-bottom: 70px; }
  html { scroll-padding-bottom: 80px; }
}

/* ---------- home hero (split: copy + quote form over a job photo) ---------- */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 26, 44, .93) 0%, rgba(10, 26, 44, .8) 40%, rgba(10, 26, 44, .38) 72%, rgba(10, 26, 44, .3) 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 440px); gap: clamp(28px, 4vw, 64px); align-items: center;
  min-height: calc(100svh - var(--header-h) - var(--util-h)); padding-block: clamp(28px, 4vh, 56px);
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1rem + min(4.2vw, 6vh), 4.4rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero .lead { color: #d9e1ea; max-width: 34em; margin-bottom: 24px; }
.hero .eyebrow { color: var(--amber); }
.trust-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; }
.trust-list li { display: flex; gap: 10px; align-items: center; color: #e7edf3; font-weight: 700; font-size: .96rem; }
.trust-list svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.hero .btn-outline { color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy-950); }
.hero-card {
  --bg: var(--white); --text: var(--ink); --text-2: var(--slate); --accent-fg: var(--blue); --line: #e3dccf; --focus: #0b57d0;
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 4px; }
.hero-card > p { color: var(--slate); font-size: .95rem; margin-bottom: 14px; }
@media (min-width: 1001px) {
  /* desktop: the whole hero form fits above the fold from 1024x768 up */
  .hero .wrap { padding-block: 20px; }
  .hero-card { padding: 20px 24px 16px; }
  .hero-card h2 { font-size: 1.55rem; }
  .hero-card > p { font-size: .88rem; margin-bottom: 10px; line-height: 1.4; }
  .hero-card .form-grid { gap: 8px 10px; }
  .hero-card .field label { font-size: .8rem; margin-bottom: 3px; }
  .hero-card .field input, .hero-card .field select { min-height: 42px; padding-block: 8px; }
  .hero-card .field textarea { min-height: 52px; height: 52px; }
  .hero-card .consent { font-size: .68rem; line-height: 1.35; }
  .hero-card .btn { min-height: 48px; margin-top: 10px; }
  .hero-card .or-call { margin-top: 6px; font-size: .88rem; }
}
@media (min-width: 1001px) and (max-height: 800px) {
  .hero-card > p { display: none; }
  .hero-card h2 { margin-bottom: 8px; }
  .hero-card .field input, .hero-card .field select { min-height: 40px; padding-block: 6px; }
  .hero h1 { font-size: clamp(2.2rem, 1rem + 5vh, 3.6rem); }
  .trust-list { margin-top: 16px; }
}
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 48px; }
  .hero-card { max-width: 640px; }
}
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } .hero .btn-row .btn { flex: 1 1 100%; } }

/* ---------- interior page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy-900); isolation: isolate; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 26, 44, .95) 0%, rgba(10, 26, 44, .82) 55%, rgba(10, 26, 44, .6) 100%); }
.page-hero .wrap { padding-block: clamp(40px, 7vw, 88px); }
.page-hero h1 { color: #fff; max-width: 18em; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.page-hero .eyebrow { color: var(--amber); }
.page-hero .lead { color: #d9e1ea; max-width: 40em; }
.page-hero .btn-row { margin-top: 22px; }
.page-hero .btn-outline { color: #fff; }
.page-hero .btn-outline:hover { background: #fff; color: var(--navy-950); }
.page-hero .meta { color: #c3cdd8; font-weight: 700; font-size: .95rem; }

/* ---------- trust strip / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 600 clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem)/1.1 var(--serif); color: var(--text); }
.stat span { color: var(--text-2); font-weight: 600; font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stats-band { padding: 0; transform: translateY(-50%); margin-bottom: -40px; position: relative; z-index: 2; background: transparent; }
@media (max-width: 1060px) { .stats-band { transform: none; margin: 0; padding-top: 32px; background: var(--white); } }

/* ---------- bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 16px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: var(--navy-800); min-height: 200px;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 44, 0) 25%, rgba(10, 26, 44, .88) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile h3 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1rem + .8vw, 1.7rem); margin: 0 0 4px; }
.tile p { color: #dde4ec; margin: 0; font-size: .95rem; max-width: 34em; }
.tile .go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-950); display: grid; place-items: center; }
.tile .go svg { width: 18px; height: 18px; }
.tile:focus-visible { outline-offset: 4px; }
.bento .t1 { grid-column: span 3; grid-row: span 2; }
.bento .t2 { grid-column: span 3; }
.bento .t3 { grid-column: span 3; }
.bento .t4, .bento .t5, .bento .t6 { grid-column: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .bento .tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .bento .t1 { grid-column: span 2 !important; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .t1 { grid-column: span 1 !important; } }

/* service cards (hub) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--text-2); font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; color: var(--accent-fg); }
.group-title { font-family: var(--serif); font-size: 1.6rem; margin: 40px 0 18px; }
.group-title:first-child { margin-top: 0; }

/* ---------- split about (image cards) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.img-stack { position: relative; padding: 0 0 56px 0; }
.img-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.img-stack .a { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; }
.img-stack .b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--bg); }
.img-stack .badge {
  position: absolute; left: 18px; bottom: 74px; background: var(--amber); color: var(--navy-950); border-radius: 16px;
  padding: 12px 16px; font-weight: 800; line-height: 1.2; box-shadow: var(--shadow);
}
.img-stack .badge b { display: block; font: 600 1.7rem/1 var(--serif); }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--accent-fg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- process timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--navy-950); font-weight: 800; margin-bottom: 16px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: .96rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { border: 0; background: none; padding: 0 0 28px 66px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 6px; width: 2px; background: var(--line); }
}

/* ---------- gallery (even grid + lightbox) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photo-grid button { all: unset; display: block; aspect-ratio: 4 / 3; cursor: zoom-in; border-radius: 12px; overflow: hidden; position: relative; background: var(--surface-2); }
.photo-grid button[hidden] { display: none; }
.photo-grid button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-grid button:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(6, 14, 24, .9); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox p { color: #e7edf3; text-align: center; margin: 10px 0 0; font-size: .95rem; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-950); display: grid; place-items: center; cursor: pointer; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.gallery-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.gallery-filter button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 .95rem var(--sans); cursor: pointer; }
.gallery-filter button[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin: 0; display: flex; flex-direction: column; }
.review .stars { color: var(--amber-600); display: flex; gap: 3px; margin-bottom: 12px; }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 18px; color: var(--text); font-size: 1.04rem; }
.review figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.review figcaption b { display: block; color: var(--text); }
.review figcaption span { color: var(--text-2); font-size: .9rem; }
.tone-dark .review .avatar { background: var(--amber); color: var(--navy-950); }
.tone-dark .review .stars { color: var(--amber); }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- areas ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 700; font-size: .95rem; text-decoration: none; }
.chips a:hover { border-color: var(--accent-fg); color: var(--accent-fg); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--surface-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 800; color: var(--text); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 600; color: var(--accent-fg); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p { margin: 0; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg); padding: clamp(40px, 6vw, 72px) 0; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(32px, 5vw, 64px);
  background: radial-gradient(120% 140% at 0% 0%, #23456e 0%, var(--navy-900) 55%, var(--navy-950) 100%); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(232, 169, 58, .14); z-index: -1; }
.cta-box h2 { color: #fff; margin-bottom: 8px; }
.cta-box p { color: #d4dde7; margin: 0; }
.cta-box .btn-outline { color: #fff; }
.cta-box .btn-outline:hover { background: #fff; color: var(--navy-950); }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- article / content pages ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.6rem; margin-bottom: 4px; }
.panel > p { font-size: .95rem; }
.prose-center { max-width: 780px; margin-inline: auto; }
.wrap-form { max-width: 860px; }
/* full-width quote band (interior pages) */
.quote-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.quote-pitch h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.quote-pitch > p { font-size: 1.08rem; max-width: 46ch; }
.quote-panel { padding: clamp(20px, 3vw, 32px); }
@media (max-width: 900px) { .quote-split { grid-template-columns: 1fr; } }
/* link cards (related articles) */
.link-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.link-cards a { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; min-height: 44px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; line-height: 1.35; }
.link-cards a:hover { border-color: var(--accent-fg); color: var(--accent-fg); }
.link-cards svg { width: 20px; height: 20px; flex: none; color: var(--accent-fg); }
@media (min-width: 901px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.map-wide { aspect-ratio: 21 / 9; min-height: 320px; }
.prose { max-width: 760px; color: var(--text-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose h4, .prose h5 { font-family: var(--sans); font-size: 1.1rem; color: var(--text); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-fg); }
.prose strong { color: var(--text); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { border-left: 4px solid var(--amber); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; color: var(--text); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); }
.figure { margin: 0 0 28px; }
.figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { font-size: .82rem; color: var(--text-2); margin-top: 8px; }
.figure figcaption a { color: inherit; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--text); }
.callout { border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); padding: 24px; margin-top: 32px; }
.callout h2, .callout h3 { margin-top: 0; }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.related a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--text); }
.related a:hover { color: var(--accent-fg); }
.related svg { width: 18px; height: 18px; flex: none; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card .date { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-fg); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.info-list svg { width: 22px; height: 22px; color: var(--accent-fg); flex: none; margin-top: 3px; }
.info-list b { color: var(--text); display: block; }

/* ---------- forms ---------- */
.quote-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; }
.quote-form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--text); margin-bottom: 5px; }
.field .req { color: #a3271f; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 500 1rem var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #8b939c; border-radius: 10px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { display: block; color: #b3261e; font-size: .85rem; font-weight: 700; margin-top: 4px; }
.field .error:empty { display: none; }
.field .hint { display: block; font-size: .8rem; color: var(--text-2); margin-top: 4px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; line-height: 1.45; color: var(--text-2); margin: 4px 0 0; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.quote-form .btn { width: 100%; margin-top: 14px; }
.form-status { color: #b3261e; font-weight: 700; font-size: .92rem; margin-top: 10px; text-align: center; }
.form-status:empty { display: none; }
.or-call { text-align: center; margin: 10px 0 0; font-size: .95rem; color: var(--text-2); }
.or-call a { font-weight: 800; }
@media (max-width: 480px) { .quote-form .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #c3cdd8; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7edf3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-grid h2 { font: 800 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid li a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-brand img { width: 160px; margin-bottom: 16px; }
.footer-brand .btn { margin-top: 10px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.partners { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.partners img { height: 48px; width: auto; border-radius: 6px; }
.center { text-align: center; }
.mt-lg { margin-top: 36px; }
.thanks-box { max-width: 680px; }
.error-code { font: 600 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--serif); color: var(--amber); margin: 0; }

/* scroll reveal (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.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; }
}

@media print { .site-header, .utility, .mobile-bar, .site-footer, .drawer { display: none !important; } }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-3 img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
