/* Layout concept: navy brand bands cut by the card's diagonal silver/orange stripe; white working pages; one orange action color. */
:root {
  /* Color — single, deliberate light brand look (matches the shield + card) */
  --navy-950: #061229;
  --navy-900: #0A1B3D;
  --navy: #0E2A5C;
  --navy-600: #1C4282;
  --orange: #F08A1C;
  --gold: #F6B73C;
  --orange-ink: #A9530A;      /* orange that passes contrast as text on white */
  --ink: #23272E;             /* charcoal body text */
  --slate: #566072;
  --line: #D9DFE8;
  --mist: #F2F5F9;
  --paper: #FFFFFF;
  --silver: #C3CAD5;
  --ok: #1E7A4C;
  --err: #B3261E;

  /* Type */
  --f-brand: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem);

  --wrap: 1180px;
  --radius: 6px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --shadow: 0 1px 2px rgba(6,18,41,.06), 0 8px 24px rgba(6,18,41,.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-900); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; color: var(--navy-900); }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.005em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

.eyebrow {
  font-family: var(--f-display); font-weight: 600; font-size: var(--step--1);
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-navy .eyebrow { color: var(--gold); }
.lede { font-size: var(--step-1); color: var(--slate); max-width: 60ch; }
.on-navy .lede { color: #C9D3E4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .8em 1.35em; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1; 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(--orange); color: var(--navy-950); }
.btn-primary:hover { background: var(--gold); color: var(--navy-950); }
.btn-ghost { border-color: var(--silver); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: var(--navy-600); color: var(--paper); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Preview banner ---------- */
.preview-banner {
  background: var(--gold); color: var(--navy-950);
  font-size: .85rem; line-height: 1.35;
}
.preview-banner .wrap { display: flex; gap: .5em 1em; flex-wrap: wrap; align-items: center; justify-content: center; padding-block: 7px; text-align: center; }
.preview-banner strong { font-family: var(--f-display); letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy-900); color: var(--paper);
  border-bottom: 3px solid var(--orange);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--f-brand); font-weight: 700; font-size: 1.22rem; letter-spacing: .02em; color: var(--paper); }
.brand-sub { font-family: var(--f-brand); font-size: .66rem; letter-spacing: .12em; color: var(--silver); text-transform: uppercase; margin-top: 3px; }
.brand:hover .brand-name { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em;
  color: #DCE3EF; text-decoration: none; padding: 8px 11px; border-radius: 4px; position: relative;
}
.nav a:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--gold); }
.header-call { padding: .6em 1em; font-size: 1.02rem; }
.menu-toggle {
  display: none; background: transparent; border: 2px solid rgba(255,255,255,.25); color: var(--paper);
  border-radius: var(--radius); padding: 8px 10px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; align-items: center; gap: 8px;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1180px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
}
.mobile-nav {
  background: var(--navy-950); border-bottom: 3px solid var(--orange);
}
.mobile-nav .wrap { display: grid; gap: 2px; padding-block: 10px 18px; }
.mobile-nav a {
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--paper); text-decoration: none;
  padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav a[aria-current="page"] { color: var(--gold); }
.mobile-nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    linear-gradient(118deg, transparent 0 74%, rgba(195,202,213,.22) 74% 75%, transparent 75% 77.2%, rgba(240,138,28,.85) 77.2% 77.8%, transparent 77.8%),
    radial-gradient(120% 90% at 85% 10%, var(--navy-600) 0%, var(--navy) 40%, var(--navy-900) 100%);
  color: var(--paper); position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: -40px; bottom: -14px; width: min(640px, 80vw); aspect-ratio: 634/238;
  background: var(--roofline) no-repeat center/contain; opacity: .07; pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-block: 56px 124px; position: relative; z-index: 1; }
.hero h1 { color: var(--paper); margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.tagline { font-family: var(--f-brand); font-weight: 700; letter-spacing: .14em; font-size: clamp(.9rem, .8rem + .4vw, 1.1rem); color: var(--silver); text-transform: uppercase; }
.hero .lede { margin-top: 18px; }
.hero .btn-row { margin-top: 28px; }
/* ---------- Generic sections ---------- */
.section { padding-block: 72px; }
.section-tight { padding-block: 48px; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy-900); color: var(--paper); }
.section-navy h2, .section-navy h3 { color: var(--paper); }
.section-head { display: grid; gap: 12px; margin-bottom: 34px; max-width: 760px; }
.section-head p { color: var(--slate); font-size: 1.1rem; }

/* Owner + area */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.owner-card { display: grid; gap: 16px; }
.owner-card .sig { display: flex; gap: 14px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.owner-card .sig img { width: 54px; }
.owner-card .sig strong { display: block; font-family: var(--f-display); font-size: 1.3rem; color: var(--navy-900); }
.owner-card .sig span { color: var(--slate); font-size: .95rem; }

.area-map { background: var(--navy-900); border-radius: var(--radius); padding: 22px; color: var(--paper); position: relative; overflow: hidden; }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map figcaption { font-size: .9rem; color: #B8C3D6; margin-top: 10px; }

/* ---------- Quote block ---------- */
.quote-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }
.call-card { background: var(--navy-900); color: var(--paper); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.call-card::after { content: ""; position: absolute; right: -30px; bottom: -10px; width: 300px; aspect-ratio: 634/238; background: var(--roofline) no-repeat center/contain; opacity: .06; }
.call-card h3 { color: var(--paper); }
.call-card p { color: #C9D3E4; }
.big-phone { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem); color: var(--gold); text-decoration: none; letter-spacing: .01em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-phone:hover { color: var(--paper); }
.contact-lines { display: grid; gap: 10px; position: relative; z-index: 1; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; color: #DCE3EF; font-size: 1rem; }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-line a { color: var(--paper); word-break: break-word; }
.copy-btn { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #DCE3EF; font: 600 .78rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; cursor: pointer; margin-left: 4px; }
.copy-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Forms ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.form h3 { font-size: 1.8rem; }
.form-intro { color: var(--slate); font-size: 1rem; margin-top: -8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 20px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid #B9C2CF; border-radius: 5px; padding: 11px 12px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(28,66,130,.18); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: .9rem; min-height: 0; }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #B9C2CF; border-radius: 5px; padding: 9px 12px; cursor: pointer; font-weight: 500; color: var(--ink); }
.radio-row input { accent-color: var(--navy); width: 18px; height: 18px; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: #EEF2F9; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.form-note { font-size: .9rem; color: var(--slate); }
.form-result { border: 2px solid var(--navy); background: #EEF2F9; border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 8px; }
.form-result strong { font-family: var(--f-display); font-size: 1.35rem; color: var(--navy-900); display: flex; gap: 10px; align-items: center; }
.form-result strong svg { width: 24px; height: 24px; color: var(--orange-ink); flex: none; }
.form-result p { color: var(--ink); }
.form-result dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; font-size: .95rem; margin: 4px 0 0; }
.form-result dt { color: var(--slate); }
.form-result dd { margin: 0; word-break: break-word; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(118deg, transparent 0 80%, rgba(195,202,213,.2) 80% 80.8%, transparent 80.8% 82.6%, rgba(240,138,28,.85) 82.6% 83.1%, transparent 83.1%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 70%);
  color: var(--paper); position: relative; overflow: hidden;
}
.page-hero .wrap { padding-block: 48px 52px; display: grid; gap: 14px; position: relative; z-index: 1; }
.page-hero h1 { color: var(--paper); font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.page-hero .lede { color: #C9D3E4; }
.page-hero .btn-row { margin-top: 10px; }
.crumbs { font-size: .9rem; color: #AFBBD0; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: #DCE3EF; }
.scope-note { margin-top: 6px; display: inline-flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 10px 14px; color: #E3E9F3; font-size: .98rem; max-width: 70ch; }
.scope-note svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }

/* Service list */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.service { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding-block: 26px; border-top: 1px solid var(--line); }
.service-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.5rem; }
.service p { color: var(--slate); margin-top: 6px; }
.service ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.service li { font-size: .88rem; background: var(--mist); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 3px 11px; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }

/* Punch list (example) */
.punch { background: #FFFDF6; border: 1px solid #E8DFC4; border-radius: 4px; box-shadow: var(--shadow); position: relative; padding: 26px 26px 22px 58px; background-image: repeating-linear-gradient(transparent 0 39px, #E9EEF5 39px 40px); background-position: 0 70px; }
.punch::before { content: ""; position: absolute; left: 40px; top: 0; bottom: 0; width: 2px; background: rgba(240,138,28,.45); }
.punch-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.punch-head h3 { font-size: 1.5rem; }
.tag-example { font-family: var(--f-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); border: 1.5px solid currentColor; border-radius: 3px; padding: 2px 7px; font-weight: 700; }
.punch ul { list-style: none; display: grid; }
.punch li label { display: flex; gap: 12px; align-items: center; min-height: 40px; cursor: pointer; font-size: 1.04rem; }
.punch input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.punch input:checked + span { text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; color: var(--slate); }
.punch-foot { margin-top: 10px; font-size: .92rem; color: var(--slate); font-variant-numeric: tabular-nums; }

/* Steps (real sequence) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--navy); }
.steps li::before { content: counter(step); font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; color: var(--orange-ink); line-height: 1; }
.steps strong { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy-900); }
.steps span { color: var(--slate); font-size: 1rem; }
.section-navy .steps li { border-top-color: var(--gold); }
.section-navy .steps li::before { color: var(--gold); }
.section-navy .steps strong { color: var(--paper); }
.section-navy .steps span { color: #C9D3E4; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Checklist of what to send (PM) */
.send-list { list-style: none; display: grid; gap: 10px; }
.send-list li { display: flex; gap: 12px; align-items: flex-start; }
.send-list svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--navy); flex: none; position: relative; transition: background-color .2s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--navy); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--paper); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--orange-ink); }
.faq .ans { padding: 0 4px 20px; color: var(--slate); max-width: 68ch; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--navy-950); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 34px; }
.cta-band h2 { color: var(--navy-950); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.cta-band p { color: var(--navy-900); }
.cta-band .btn-navy { background: var(--navy-900); }

/* Cross-links between service pages */
.xlinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xlink { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy-900); background: var(--paper); transition: border-color .2s ease; }
.xlink:hover { border-color: var(--orange); color: var(--navy-900); }
.xlink small { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); font-weight: 600; }
.xlink strong { font-family: var(--f-display); font-size: 1.35rem; }
.xlink svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 640px) { .xlinks { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: 600 .98rem/1 var(--f-body); border: 1.5px solid var(--line); background: var(--paper); color: var(--navy-900); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.ba-card { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 16px; }
.ba-card.is-placeholder { border-style: dashed; border-color: #AEB8C7; background: var(--mist); }
.ba { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 4px; overflow: hidden; background: #DDE3EC; user-select: none; touch-action: pan-y; --pos: 50%; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.ph-before { padding-right: 50%; background: repeating-linear-gradient(135deg, #CBD3DF 0 12px, #D6DDE7 12px 24px); color: #4B5567; }
.ph-after { padding-left: 50%; background: repeating-linear-gradient(135deg, #1C3A70 0 12px, #21427D 12px 24px); color: #DCE3EF; }
.ph svg { width: 34px; height: 34px; margin: 0 auto 6px; opacity: .8; }
.ba-label { position: absolute; top: 10px; font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: rgba(6,18,41,.78); color: var(--paper); padding: 5px 8px; border-radius: 3px; }
.ba-label.l { left: 10px; } .ba-label.r { right: 10px; background: var(--orange); color: var(--navy-950); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--paper); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(6,18,41,.25); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center/20px no-repeat; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba-handle::after { outline: 3px solid var(--gold); outline-offset: 2px; }
.ba-meta { display: grid; gap: 4px; padding-inline: 4px; }
.ba-meta .cat { font-family: var(--f-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); font-weight: 700; }
.ba-meta strong { font-family: var(--f-display); font-size: 1.25rem; color: var(--navy-900); line-height: 1.15; }
.ba-meta span { color: var(--slate); font-size: .95rem; }
.ph-flag { display: inline-flex; align-self: start; font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); border: 1.5px dashed #8D98AA; padding: 4px 7px; border-radius: 3px; }
.gallery-empty { margin-top: 20px; display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; color: var(--slate); }
.gallery-empty svg { width: 24px; height: 24px; color: var(--navy-600); flex: none; margin-top: 2px; }
.gallery-empty strong { color: var(--navy-900); }

/* Contact facts */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.fact { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 18px 20px; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; }
.fact svg { width: 26px; height: 26px; color: var(--navy-600); margin-top: 2px; }
.fact small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.fact .v { font-family: var(--f-display); font-size: 1.35rem; color: var(--navy-900); line-height: 1.2; word-break: break-word; }
.fact .v a { color: var(--navy-900); }
.fact .v a:hover { color: var(--orange-ink); }
.fact p { color: var(--slate); font-size: .95rem; margin-top: 2px; }
.fact .copy-btn { border-color: var(--line); color: var(--navy); vertical-align: middle; }
.fact .copy-btn:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #B8C3D6; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
.site-footer .wrap { padding-block: 54px 28px; display: grid; gap: 34px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 34px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: grid; gap: 14px; justify-items: start; }
.foot-brand img { width: 86px; }
.foot-brand .brand-name { font-size: 1.35rem; }
.foot-brand .tagline { font-size: .82rem; color: var(--gold); }
.site-footer h4 { color: var(--paper); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #DCE3EF; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; }
.vet { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); font-size: .95rem; }
.vet svg { width: 18px; height: 18px; color: var(--gold); }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: rgba(10,27,61,.97); border-top: 2px solid var(--orange);
    padding: 8px var(--gutter-r) calc(8px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  }
  .action-bar .btn { padding: .75em .6em; font-size: 1.05rem; }
  .site-footer .wrap { padding-bottom: 96px; }
}

/* Page switching */
.page[hidden] { display: none !important; }
.page.is-entering { animation: pageIn .32s ease both; }
@keyframes pageIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--navy-900); color: var(--paper); padding: 10px 16px; border-radius: 6px; font-size: .95rem; z-index: 70; box-shadow: var(--shadow); }
@media (max-width: 760px) { .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .path:hover { transform: none; }
}

/* Phone: drop the diagonal stripe so it never crosses text; trim the preview banner */
@media (max-width: 860px) {
  .hero { background: radial-gradient(120% 90% at 85% 10%, var(--navy-600) 0%, var(--navy) 40%, var(--navy-900) 100%); }
  .page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 70%); }
}
@media (max-width: 560px) {
  .preview-banner .wrap > span { display: none; }
  .preview-banner strong { font-size: .85rem; }
}

/* =================== v2 additions =================== */
[id] { scroll-margin-top: 110px; }
.btn-sm { padding: .55em .95em; font-size: 1rem; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.btn-link-light { color: var(--gold); padding-inline: .2em; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.btn-link-light:hover { color: var(--paper); }
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.muted { color: var(--slate); }

/* Hero v2 */
.hero-copy { display: grid; gap: 0; min-width: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-family: var(--f-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .98rem; color: var(--navy-950); background: var(--gold); padding: 7px 14px 6px; border-radius: 3px; }
.hero-badge svg { width: 18px; height: 18px; }
.hero h1 { margin-top: 18px; font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.7rem); }
.hero .lede strong { color: var(--paper); font-weight: 600; }
.hero-proof { list-style: none; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #DCE3EF; font-size: 1rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.visit-card { background: #FFFDF6; color: var(--ink); border-radius: 4px; padding: 22px 24px 18px; box-shadow: 0 20px 40px rgba(0,0,0,.35); border-top: 6px solid var(--orange); position: relative; min-width: 0; }
.visit-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.visit-kicker { font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--orange-ink); }
.visit-card h2 { font-size: 1.6rem; margin: 6px 0 12px; color: var(--navy-900); }
.visit-list { list-style: none; display: grid; }
.visit-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px dashed #D8CFB5; font-size: 1.02rem; }
.visit-list svg { width: 22px; height: 22px; color: var(--navy-600); flex: none; }
.visit-foot { margin-top: 10px; font-size: .9rem; color: var(--slate); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 32px 108px; gap: 28px; }
}

/* Three doors */
.doors-wrap { margin-top: -84px; position: relative; z-index: 2; }
.doors-head { margin-bottom: 14px; }
.doors-head h2 { color: var(--paper); font-size: var(--step-2); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 5px solid var(--navy); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.door:hover { border-top-color: var(--orange); box-shadow: 0 2px 4px rgba(6,18,41,.08), 0 16px 34px rgba(6,18,41,.14); }
.door-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.door-icon svg { width: 22px; height: 22px; }
.door-for { font-family: var(--f-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); font-weight: 700; }
.door h3 { font-size: 1.55rem; }
.door ul { list-style: none; display: grid; gap: 6px; color: var(--slate); font-size: 1rem; }
.door li { display: flex; gap: 8px; align-items: baseline; }
.door li::before { content: ""; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg) translateY(-2px); flex: none; }
.door-go { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.door-go.two { grid-template-columns: 1fr 1fr; }
.door-go a { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--f-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); text-decoration: none; background: var(--mist); border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; min-height: 46px; }
.door-go a:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.door-go svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* Trust row */
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.trust li { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust svg { width: 26px; height: 26px; color: var(--navy-600); flex: none; }
.trust strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--navy-900); line-height: 1.15; font-weight: 600; }
@media (max-width: 960px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .trust li { border-left: 0; }
  .trust li + li { border-top: 1px solid var(--line); }
}

/* One-stop bundle */
.bundle { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bundle li { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 14px 16px; font-weight: 600; color: var(--navy-900); }
.bundle svg { width: 24px; height: 24px; color: var(--orange-ink); flex: none; }
@media (max-width: 420px) { .bundle { grid-template-columns: 1fr; } }

/* Team */
.team { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.member { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); min-width: 0; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--mist); border-bottom: 4px solid var(--orange); }
.member-text { padding: 14px 16px 16px; display: grid; gap: 2px; }
.member h3 { font-size: 1.5rem; }
.member .role { font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem; color: var(--orange-ink); line-height: 1.3; }
.member .note { color: var(--slate); font-size: .92rem; margin-top: 4px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .team { gap: 12px; } .member-text { padding: 10px 12px 12px; } .member h3 { font-size: 1.25rem; } .member .role { font-size: .76rem; letter-spacing: .04em; } .member .note { font-size: .82rem; } }

/* Work tiles */
.section-navy .section-head p { color: #C9D3E4; }
.section-navy .eyebrow { color: var(--gold); }
.work-tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.work-tiles li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: rgba(255,255,255,.04); font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--paper); }
.work-tiles svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
@media (max-width: 820px) { .work-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .work-tiles { grid-template-columns: 1fr; } }

/* Call card v2 */
.call-card .eyebrow { color: var(--gold); }
.call-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: relative; z-index: 1; }
.call-actions .btn { padding: .65em 1.1em; }

/* Pricing note */
.pricing-note { border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); background: var(--paper); padding: 18px 20px; display: grid; gap: 12px; }
.pricing-note h3 { font-size: 1.35rem; }
.price-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.price-row svg { width: 24px; height: 24px; color: var(--navy-600); margin-top: 2px; }
.price-row p { color: var(--ink); font-size: 1rem; }
.pricing-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .pricing-band { grid-template-columns: 1fr; gap: 36px; } }

/* Inner hero extras */
.hero-switch { color: #C9D3E4; font-size: 1rem; margin-top: 4px; }
.hero-switch a { color: var(--gold); font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; border: 1.5px solid rgba(255,255,255,.3); border-radius: 5px; padding: 10px 14px; font-weight: 600; }
.jump a:hover { border-color: var(--gold); color: var(--gold); }
.jump svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* Photo attach (local only) */
.label-like { font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.file-drop { display: flex; gap: 12px; align-items: center; border: 2px dashed #AEB8C7; border-radius: 6px; padding: 14px 16px; cursor: pointer; color: var(--slate); background: var(--mist); min-height: 56px; }
.file-drop:hover, .field[data-files]:focus-within .file-drop { border-color: var(--navy-600); color: var(--navy-900); }
.field[data-files]:focus-within .file-drop { outline: 3px solid var(--gold); outline-offset: 2px; }
.file-drop svg { width: 22px; height: 22px; color: var(--navy-600); flex: none; }
.file-drop strong { color: var(--navy-900); }
.file-list { list-style: none; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; font-size: .92rem; }
.file-list img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; background: var(--mist); }
.file-list .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fs { color: var(--slate); font-size: .82rem; display: block; }
.file-list button { background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 6px 9px; cursor: pointer; font: 600 .8rem/1 var(--f-body); color: var(--navy); }
.file-list button:hover { border-color: var(--navy); }
.file-list .note { grid-template-columns: 1fr; border-style: dashed; color: var(--slate); font-size: .85rem; }

/* Contact facts */
.fact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }

/* Footer v2 */
.foot-lockup { display: flex; gap: 14px; align-items: center; }
.foot-lockup img { width: 58px; flex: none; }
.foot-lockup > div { display: grid; gap: 6px; }
.foot-trust { list-style: none; display: grid; gap: 8px; color: var(--paper); }
.foot-trust li { display: flex; gap: 10px; align-items: center; }
.foot-trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Mobile nav extras + action bar */
.mobile-nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mobile-nav-cta .btn { margin: 0; border-bottom-width: 2px; }
.mobile-nav-num { color: #C9D3E4; text-align: center; margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .action-bar { grid-template-columns: 1fr 1fr 1.2fr; }
}
@media (max-width: 400px) { .header-actions { display: none; } }
.ba-single img { width: 100%; height: 100%; object-fit: cover; }
.field[data-files] { position: relative; }
.field input.sr-only { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; left: 0; top: 0; }

/* Header v2: white bar carrying Dave's original horizontal logo */
body::before { background: var(--paper); }
.site-header { background: var(--paper); color: var(--ink); border-bottom: 3px solid var(--orange); box-shadow: 0 2px 10px rgba(6,18,41,.06); }
.site-header .wrap { min-height: 80px; }
.brand-logo { height: 58px; width: auto; max-width: 100%; }
.brand { flex: 0 1 auto; }
.nav a { color: var(--navy-900); }
.nav a:hover { color: var(--navy); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--orange-ink); }
.nav a[aria-current="page"]::after { background: var(--orange); }
.menu-toggle { color: var(--navy-900); border-color: var(--line); }
.menu-toggle:hover { border-color: var(--navy); }
@media (max-width: 560px) { .site-header .wrap { min-height: 68px; gap: 12px; } .brand-logo { height: 44px; } }
@media (max-width: 360px) { .brand-logo { height: 38px; } .menu-toggle { padding: 8px; } }
.brand img.brand-logo { width: auto; height: 58px; filter: none; }
@media (max-width: 560px) { .brand img.brand-logo { height: 44px; } }
@media (max-width: 360px) { .brand img.brand-logo { height: 38px; } }
.hero-badge { max-width: 100%; }
@media (max-width: 480px) { .hero-badge { font-size: .85rem; letter-spacing: .08em; } }
.hero-copy > *, .page-hero .wrap > *, .stack > *, .call-card > * { min-width: 0; }
.btn { max-width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }
.door { min-width: 0; }
.door-go.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 380px) { .door-go.two { grid-template-columns: 1fr; } }

/* =================== v3: real project photography =================== */
.hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero-photo { margin: 0; position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 22px 44px rgba(0,0,0,.4); border: 3px solid var(--paper); aspect-ratio: 4 / 3.4; max-width: 100%; background: var(--navy-950); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(6,18,41,.92) 45%); color: var(--paper); display: grid; gap: 4px; }
.hp-kicker { font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hp-cap { font-size: 1.02rem; line-height: 1.35; }
.hero-photo figcaption a { color: var(--paper); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; justify-self: start; margin-top: 2px; }
.hero-photo figcaption a svg { width: 16px; height: 16px; }
.hero-photo figcaption a:hover { color: var(--gold); }
@media (max-width: 860px) { .hero-photo { aspect-ratio: 16 / 11; } }

.visit-light { box-shadow: var(--shadow); border: 1px solid #E8DFC4; border-top: 6px solid var(--orange); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-600); }
.text-link svg { width: 18px; height: 18px; }
.ext-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; }
.ext-link svg { width: 16px; height: 16px; flex: none; }
.ext-link:hover { color: var(--paper); }
.ext-link.dark, .work-links.light .ext-link { color: var(--navy-600); }
.ext-link.dark:hover, .work-links.light .ext-link:hover { color: var(--orange-ink); }

.feature-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.fg-item { position: relative; display: block; border-radius: 5px; overflow: hidden; background: var(--navy-950); min-height: 0; }
.fg-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .35s ease; }
.fg-main { grid-row: 1 / span 2; }
.fg-main img { aspect-ratio: auto; }
.fg-item span { position: absolute; left: 10px; bottom: 10px; background: rgba(6,18,41,.85); color: var(--paper); font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: .03em; padding: 5px 10px; border-radius: 3px; }
.fg-item:hover img { transform: scale(1.03); }
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fg-main { grid-column: 1 / -1; grid-row: auto; }
  .fg-main img { aspect-ratio: 16 / 10; }
}
.work-links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 22px; }

.proof-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.proof-photo { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.proof-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proof-row h3 { font-size: 1.7rem; }
@media (max-width: 760px) { .proof-row { grid-template-columns: 1fr; gap: 18px; } }

.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.duo figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.duo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.duo figcaption { padding: 12px 14px 14px; color: var(--slate); font-size: .98rem; }
.duo figcaption strong { display: block; color: var(--navy-900); font-family: var(--f-display); font-size: 1.2rem; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

.aside-note { margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--line); color: var(--slate); font-size: .98rem; max-width: 70ch; }

/* Project gallery */
.gallery { display: grid; gap: 28px; }
.project { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.project-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.project-head > div { display: grid; gap: 4px; max-width: 70ch; min-width: 0; }
.project-kicker { font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.project-head h3 { font-size: 1.8rem; }
.project-head p { color: var(--slate); }
.project-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.project-photos.count-1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.project-photos.count-3 > :first-child { grid-column: 1 / -1; }
@media (min-width: 980px) { .project-photos.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g-photo { margin: 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.g-open { position: relative; display: block; padding: 0; border: 0; border-radius: 5px; overflow: hidden; cursor: zoom-in; background: var(--mist); }
.g-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.g-open:hover img { transform: scale(1.03); }
.g-after { position: absolute; top: 8px; right: 8px; font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: var(--orange); color: var(--navy-950); padding: 5px 8px; border-radius: 3px; }
.g-photo figcaption { font-size: .95rem; color: var(--ink); display: grid; gap: 5px; }
.g-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.g-tags span { font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.walkthroughs { border: 1px dashed #AEB8C7; border-radius: var(--radius); padding: 16px 20px; display: grid; gap: 6px; background: var(--mist); }
.walkthroughs p { color: var(--slate); font-size: .95rem; }
.wt-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.gallery-more { margin-top: 18px; color: var(--slate); font-size: .98rem; max-width: 72ch; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; margin: 0; }
.lightbox::backdrop { background: rgba(4,10,24,.88); }
.lightbox[open] { display: grid; place-items: center; position: fixed; inset: 0; background: rgba(4,10,24,.88); z-index: 80; }
.lb-inner { position: relative; width: min(1100px, calc(100vw - 32px)); display: grid; }
.lb-fig { margin: 0; display: grid; gap: 10px; }
.lb-fig img { width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 4px; background: #000; }
.lb-fig figcaption { color: var(--paper); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 1rem; }
.lb-count { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 600; }
.lb-fig a { color: var(--gold); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.lb-fig a svg { width: 16px; height: 16px; }
.lb-close, .lb-nav { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); color: var(--navy-900); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-close { top: -56px; right: 0; }
.lb-nav { top: calc(50% - 40px); }
.lb-nav.prev { left: 10px; } .lb-nav.next { right: 10px; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); }
html.lb-on { overflow: hidden; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.feature-grid.five { grid-template-columns: 2fr 1fr 1fr; }
.feature-grid.five .fg-item img { aspect-ratio: auto; height: 100%; min-height: 200px; }
@media (max-width: 720px) {
  .feature-grid.five { grid-template-columns: 1fr 1fr; }
  .feature-grid.five .fg-item img { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-grid.five .fg-main img { aspect-ratio: 16 / 10; }
}
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trio figcaption { padding: 12px 14px 14px; color: var(--slate); font-size: .98rem; }
.trio figcaption strong { display: block; color: var(--navy-900); font-family: var(--f-display); font-size: 1.2rem; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } .trio img { aspect-ratio: 16 / 10; } }
.brand { flex: none; }
.project-photos, .project-photos.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-photos.count-1 { grid-template-columns: minmax(0, 1fr); }
.project-photos.count-3 > :first-child { grid-column: auto; }
@media (min-width: 700px) { .project-photos:not(.count-1):not(.count-2):not(.count-4) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .project-photos:not(.count-1):not(.count-2):not(.count-3) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g-photo figcaption { font-size: .92rem; }

/* =================== v5: emergency call + team portraits =================== */
:root { --urgent: #B3261E; --urgent-hover: #8E1C16; }
.btn-emergency { background: var(--urgent); color: #FFFFFF; border-color: var(--urgent); }
.btn-emergency:hover, .btn-emergency:focus-visible { background: var(--urgent-hover); border-color: var(--urgent-hover); color: #FFFFFF; }
.btn-emergency svg { width: 1.15em; height: 1.15em; }

/* Strip inside the sticky header (tablet + desktop) */
.emergency-strip { background: var(--navy-950); color: #DCE3EF; border-bottom: 1px solid rgba(255,255,255,.08); }
.emergency-strip .wrap { min-height: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px 16px; padding-block: 6px; flex-wrap: wrap; }
.es-text { font-size: .9rem; line-height: 1.3; text-align: right; min-width: 0; }
.es-text strong { color: #FFFFFF; font-weight: 600; }
.emergency-strip .btn { font-size: .98rem; padding: .5em .95em; }
.es-num { font-variant-numeric: tabular-nums; opacity: .92; font-weight: 600; margin-left: 2px; }
@media (max-width: 1100px) { .es-text span { display: none; } }
@media (max-width: 760px) { .emergency-strip { display: none; } }
[id] { scroll-margin-top: 150px; }

/* Mobile menu */
.mobile-nav-emergency { margin-top: 14px; justify-content: center; }
.mobile-nav .mobile-nav-emergency { border-bottom: 0; color: #FFFFFF; font-size: 1.05rem; }

/* Mobile sticky bar: emergency row on top, then Call / Text / Estimate */
@media (max-width: 760px) {
  .action-bar { grid-template-columns: 1fr 1fr 1.2fr; row-gap: 8px; }
  .action-bar .ab-emergency { grid-column: 1 / -1; padding: .7em .6em; font-size: 1.02rem; }
  .site-footer .wrap { padding-bottom: 156px; }
  .toast { bottom: calc(138px + env(safe-area-inset-bottom, 0px)); }
  [id] { scroll-margin-top: 96px; }
}
@media (max-width: 380px) { .action-bar .btn { font-size: .95rem; padding: .7em .4em; } }
@media (max-width: 760px) {
  .action-bar .ab-emergency, .mobile-nav .mobile-nav-emergency { white-space: nowrap; letter-spacing: .02em; font-size: 1rem; }
}
@media (max-width: 370px) {
  .action-bar .ab-emergency, .mobile-nav .mobile-nav-emergency { font-size: .92rem; letter-spacing: 0; gap: .4em; }
}
html.menu-open .action-bar { display: none; }
.emergency-strip .wrap { flex-wrap: nowrap; }
.es-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1260px) { .es-text span { display: none; } }
@media (max-width: 900px) { .es-num { display: none; } }
/* Fix (pre-existing in v4): header row overflowed between ~1180 and 1360px after the wider logo. */
@media (min-width: 1181px) and (max-width: 1380px) {
  .header-actions .btn-outline { display: none; }
  .nav a { padding-inline: 9px; }
}

/* v6: legible branding and Dave's family-only introduction. */
.site-header .brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 24px;
  padding-top: 12px;
  padding-bottom: 6px;
}
.brand-row .brand { width: min(480px, 100%); grid-column: 1; grid-row: 1; }
.brand-row .brand img.brand-logo { width: 100%; height: auto; max-width: 100%; }
.brand-row .header-actions { grid-column: 2; grid-row: 1; display: flex; gap: 10px; }
.brand-row .nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; gap: 14px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 4px; }
.brand-row .nav a { padding: 9px 14px; font-size: 1.15rem; }
.brand-row .menu-toggle { display: none; }
.family-heading { text-align: center; margin-inline: auto; }
.family-heading .eyebrow { justify-content: center; }
.family-team { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; margin-inline: auto; gap: 28px; }
.family-team .member h3 { font-size: 1.65rem; }
.family-team .member .role { font-size: .95rem; letter-spacing: .035em; }
.family-team .member .note { font-size: 1rem; }
.foot-brand img { width: 106px; flex: none; }
.foot-brand .brand-name { font-size: 1.65rem; line-height: 1.25; }
[id] { scroll-margin-top: 270px; }
@media (max-width: 900px) {
  .brand-row .brand { width: min(430px, 100%); }
  .brand-row .nav { display: none; }
  .brand-row .header-actions { display: none; }
  .brand-row .menu-toggle { display: inline-flex; grid-row: 1; grid-column: 2; }
  .site-header .brand-row { padding-block: 12px; gap: 18px; }
}
@media (max-width: 560px) {
  .site-header .brand-row { grid-template-columns: auto 1fr; gap: 8px 12px; padding-block: 10px; }
  .brand-row .brand { grid-column: 1 / -1; grid-row: 1; width: min(380px, 100%); justify-self: center; }
  .brand-row .menu-toggle { grid-column: 1; grid-row: 2; }
  .brand-row .header-actions { grid-column: 2; grid-row: 2; display: flex; justify-self: end; }
  .brand-row .header-actions .btn-outline { display: none; }
  .brand-row .header-actions .btn-primary { font-size: 1rem; padding: .55em .7em; }
  .family-team { gap: 14px; }
  .family-team .member .role { font-size: .86rem; }
  .family-team .member .note { font-size: .93rem; }
  .foot-brand img { width: 86px; }
  .foot-brand .brand-name { font-size: 1.4rem; }
  [id] { scroll-margin-top: 210px; }
}
html.menu-open .site-header { max-height: 100dvh; overflow-y: auto; }

/* v7: Dave's supplied insurance badge directly below the primary actions. */
.insurance-badge { width: min(100%, 420px); margin: 22px 0 0; }
.insurance-badge img { width: 100%; height: auto; border: 1px solid #B99B59; border-radius: 5px; }
.insurance-badge figcaption { color: #E0E6EF; font-size: .9rem; line-height: 1.4; margin-top: 8px; }

/* WordPress integration; the approved preview styling is retained above. */
body.fph-site{margin:0;background:#fff}
.fph-site .vc_row,.fph-site .wpb_row{margin:0}
.fph-site .vc_column_container>.vc_column-inner{padding:0}
.fph-site .wpb_wrapper,.fph-site .wpb_content_element{margin-bottom:0}
.fph-site .wpcf7{width:100%;margin:0}
.fph-site .wpcf7 form{margin:0}
.fph-site .wpcf7 form p{margin:0}
.fph-site .wpcf7-form-control-wrap{display:block}
.fph-site .wpcf7-not-valid-tip{font-size:14px;color:#b42318}
.fph-site .wpcf7-response-output{margin:16px 0;padding:12px;border-radius:8px}
.fph-site .wpcf7 input[type=file]{max-width:100%;font-size:14px}
.fph-site .wpcf7 input[type=submit]{cursor:pointer}
.fph-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.fph-site .form .field label{display:block}
.admin-bar.fph-site .site-header{top:32px}
.fph-site .page{display:block}
.fph-site .preview-note{padding:8px 20px;background:#fff4d5;text-align:center;color:#3b2a00;font-size:14px}
@media(max-width:782px){.admin-bar.fph-site .site-header{top:46px}}
