/* Creative Edge Home Improvement — site styles (v2 modern redesign)
   Locked brand: royal blue #0B4EA2 (hover #083D82), charcoal navy #1E2430,
   white #FFFFFF, surface #F4F6F9, border #D8DFE8, gold accent #E0A526.
   RULE: gold is never text on white. Gold = bars, borders, badges, icons only.
   Text ON gold is always #1E2430.
   Fonts: Plus Jakarta Sans (display) + Inter (text), self-hosted, SIL OFL 1.1. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --blue: #0B4EA2;
  --blue-hover: #083D82;
  --navy: #1E2430;
  --navy-2: #161B25;
  --white: #FFFFFF;
  --surface: #F4F6F9;
  --border: #D8DFE8;
  --gold: #E0A526;
  --text: #1E2430;
  --muted: #4A5568;          /* 7.5:1 on white */
  --on-navy-muted: #C9D1DD;  /* 11:1 on navy */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 36, 48, .05), 0 2px 8px rgba(30, 36, 48, .04);
  --shadow: 0 1px 2px rgba(30, 36, 48, .06), 0 8px 24px rgba(30, 36, 48, .07);
  --shadow-lg: 0 2px 6px rgba(30, 36, 48, .06), 0 20px 48px rgba(30, 36, 48, .14);
  --shadow-xl: 0 4px 10px rgba(30, 36, 48, .06), 0 30px 70px rgba(30, 36, 48, .18);
  --max: 1200px;
  --header-h: 68px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: 0 0 0 3px #FFFFFF, 0 0 0 6px #0B4EA2;
  --grid-lines: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
}
@media (min-width: 960px) { :root { --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--navy); scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--navy); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { display: block; background: var(--white); }
main:focus { outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.4rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.1vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.h-sm { font-size: 1.5rem; }
.h-md { font-size: 1.65rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 650; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.visually-hidden { 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 link */
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

/* Staging ribbon */
.staging-ribbon { background: var(--navy-2); color: var(--white); font-size: .8125rem; line-height: 1.45; text-align: center; padding: 7px 12px; border-bottom: 2px solid var(--gold); }
.staging-ribbon strong { color: var(--white); font-weight: 700; }

/* ---------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background-color: rgba(30, 36, 48, .97); transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid rgba(255,255,255,.08); }
.js .site-header { background-color: transparent; border-bottom-color: transparent; }
.js .site-header.is-scrolled, .js .site-header.menu-open { background-color: rgba(30, 36, 48, .95); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(10, 14, 22, .25); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 48px; }
.brand-chip { display: inline-flex; align-items: center; justify-content: center; background: var(--white); border-radius: 10px; padding: 4px 7px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.brand img.mark { height: 32px; width: auto; }
.brand img.wordmark { height: 28px; width: auto; }
@media (min-width: 960px) { .brand img.mark { height: 38px; } .brand img.wordmark { height: 32px; } }
@media (max-width: 380px) { .brand img.wordmark { height: 24px; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 48px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.nav-toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.nav-toggle .bars { width: 18px; height: 2px; background: var(--white); position: relative; display: inline-block; border-radius: 2px; transition: background-color .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
.primary-nav { display: none; }
.primary-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 40px rgba(10,14,22,.35); }
.primary-nav ul { list-style: none; margin: 0; padding: 10px 20px 22px; }
.primary-nav a { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 10px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.0625rem; border-radius: var(--radius-sm); }
.primary-nav a:hover { background: rgba(255,255,255,.07); color: var(--white); }
.primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
.header-cta { display: none; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .primary-nav ul { display: flex; gap: 2px; padding: 0; }
  .primary-nav a { padding: 0 14px; font-size: .9875rem; min-height: 48px; }
  .primary-nav a:hover { background: none; }
  .primary-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a[aria-current="page"] { box-shadow: none; }
  .header-cta { display: flex; gap: 10px; align-items: center; }
  .header-cta .btn { min-height: 46px; padding: 10px 18px; font-size: .9375rem; }
}

/* ---------------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(11, 78, 162, .28); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); box-shadow: 0 10px 24px rgba(11, 78, 162, .34); }
.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--surface); color: var(--blue-hover); border-color: var(--blue-hover); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(224, 165, 38, .28); }
.btn-gold:hover { background: #C98F14; color: var(--navy); }
.btn-on-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-on-dark:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-spaced { margin-top: 24px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; min-height: 44px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Sections */
.section { padding: 76px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section-tight { padding-top: 40px; }
@media (min-width: 768px) { .section-tight { padding-top: 64px; } }
.section-surface { background: var(--surface); }
.section-dark { background-color: var(--navy); background-image: var(--grid-lines); background-size: 56px 56px; color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--on-navy-muted); }
.section-dark a:not(.btn), .cta-band a:not(.btn) { color: var(--white); }
.section-dark a:not(.btn):hover { color: var(--white); text-decoration-thickness: 2px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: .4em; }
@media (min-width: 960px) {
  .section-head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
  .section-head-row h2 { margin-bottom: 0; }
  .section-head-row .lede { margin-bottom: 4px; }
}
.lede { font-size: 1.1875rem; line-height: 1.65; color: var(--muted); }
.section-dark .lede { color: var(--on-navy-muted); }
.services-more { margin-top: 32px; color: var(--muted); }

/* ---------------------------------------------------------------- Photo slots
   Honest design treatment until real Creative Edge photos are supplied
   (see PHOTOS in scripts/build-site.mjs). Never stock or AI photos. */
.photo-slot { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background-color: var(--navy); background-image: radial-gradient(120% 90% at 88% 6%, rgba(11, 78, 162, .9) 0%, rgba(11, 78, 162, 0) 62%), linear-gradient(155deg, #173C72 0%, #1E2430 78%); color: rgba(255, 255, 255, .62); }
.photo-slot::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 80%); }
.photo-slot::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: var(--gold); }
.photo-slot--kitchen { background-image: radial-gradient(110% 90% at 10% 0%, rgba(11, 78, 162, .85) 0%, rgba(11, 78, 162, 0) 60%), linear-gradient(200deg, #1A3F78 0%, #1E2430 80%); }
.photo-slot--bath { background-image: radial-gradient(100% 100% at 50% 0%, rgba(11, 78, 162, .9) 0%, rgba(11, 78, 162, 0) 65%), linear-gradient(180deg, #17407A 0%, #1E2430 85%); }
.photo-slot--exterior { background-image: radial-gradient(120% 80% at 0% 100%, rgba(11, 78, 162, .75) 0%, rgba(11, 78, 162, 0) 60%), linear-gradient(135deg, #1E2430 0%, #183A6C 100%); }
.photo-slot .art { position: absolute; left: 10%; top: 12%; width: 80%; height: 70%; transition: transform .8s var(--ease); }
.photo-tag { position: absolute; left: 14px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; background: var(--white); color: var(--navy); font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 6px 11px 6px 9px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); line-height: 1.2; }
.photo-tag svg { width: 14px; height: 14px; color: var(--blue); flex: none; }
.photo-slot.has-photo { background: var(--surface); }
.photo-slot.has-photo::before, .photo-slot.has-photo::after { display: none; }
.photo-slot.has-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Hero */
main > section:first-child { margin-top: calc(-1 * var(--header-h)); }
.hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy); color: var(--white); padding: calc(var(--header-h) + 44px) 0 112px; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 27, 37, .75) 0%, rgba(22, 27, 37, 0) 24%), linear-gradient(90deg, rgba(30, 36, 48, .96) 0%, rgba(30, 36, 48, .86) 42%, rgba(30, 36, 48, .38) 100%), linear-gradient(0deg, rgba(30, 36, 48, .9) 0%, rgba(30, 36, 48, 0) 38%); }
.hero-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; isolation: auto; }
.hero-media::after { z-index: 1; }
.hero-slot::after { display: none; }
.hero-slot .art-hero { left: auto; top: auto; right: -18%; bottom: 14%; width: 110%; height: auto; color: rgba(255, 255, 255, .26); animation: art-in 1.6s var(--ease) both; }
.hero-slot .photo-tag { left: auto; right: 16px; bottom: 76px; z-index: 3; }
@media (max-width: 767px) { .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1 1 100%; } .form-actions .btn { width: 100%; } }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 36px; }
.hero-copy { animation: rise .9s var(--ease) both; }
.hero h1 { color: var(--white); margin-bottom: .4em; max-width: 15ch; }
.hero h1 .accent { background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-size: 100% .055em; background-position: 0 92%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lede { max-width: 600px; margin-bottom: 32px; color: #D5DCE6; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); }
.hero-note { margin: 20px 0 0; font-size: .9375rem; color: var(--on-navy-muted); }
.hero-card { background-color: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); padding: 26px 26px 14px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: rise 1s .15s var(--ease) both; }
.hero-card h2 { color: var(--white); font-size: 1.125rem; letter-spacing: -.01em; margin-bottom: 16px; }
.hero-card .check-list li { color: var(--white); font-size: .975rem; }
.hero .check-list li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E"); }
@media (min-width: 640px) { .hero-slot .art-hero { right: -6%; width: 78%; } }
@media (min-width: 960px) {
  .hero { min-height: clamp(640px, 88vh, 860px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 128px; }
  .hero h1 { font-size: clamp(3rem, 1.2rem + 3.3vw, 4.1rem); }
  .hero .lede { max-width: 560px; }
  .hero > .container { width: 100%; }
  .hero-inner { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: end; }
  .hero-slot .art-hero { right: 2%; bottom: 22%; width: 54%; max-width: 760px; color: rgba(255, 255, 255, .3); }
  .hero-slot .photo-tag { right: max(32px, calc((100vw - var(--max)) / 2 + 32px)); bottom: 96px; }
  .hero-card { max-width: 400px; justify-self: end; margin-bottom: 8px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes art-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- Trust strip */
.trust-strip { position: relative; z-index: 3; margin-top: -56px; }
.trust-grid { list-style: none; margin: 0; padding: 6px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); display: grid; grid-template-columns: 1fr; }
.trust-grid li { display: flex; align-items: center; gap: 14px; padding: 14px 14px; }
.trust-grid li + li { border-top: 1px solid var(--border); }
.trust-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--navy); display: grid; place-items: center; flex: none; }
.trust-ico svg { width: 22px; height: 22px; color: var(--gold); }
.trust-text { display: flex; flex-direction: column; line-height: 1.35; }
.trust-text strong { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1rem; }
.trust-text span { color: var(--muted); font-size: .875rem; }
@media (min-width: 600px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-grid li + li { border-top: 0; } .trust-grid li:nth-child(n+3) { border-top: 1px solid var(--border); } .trust-grid li:nth-child(even) { border-left: 1px solid var(--border); } }
@media (min-width: 1040px) { .trust-strip { margin-top: -72px; } .trust-grid { grid-template-columns: repeat(4, 1fr); padding: 10px; } .trust-grid li { padding: 20px 22px; } .trust-grid li:nth-child(n+3) { border-top: 0; } .trust-grid li + li { border-left: 1px solid var(--border); } }

/* ---------------------------------------------------------------- Cards */
.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.section-services { padding-top: 96px; }
@media (min-width: 768px) { .section-services { padding-top: 128px; } }
.service-card { overflow: hidden; padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
@media (min-width: 768px) { .service-card { padding: 38px; } }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.4rem; }
.icon-tile { width: 58px; height: 58px; border-radius: 16px; background: var(--navy); display: grid; place-items: center; margin-bottom: 22px; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.icon-tile svg { width: 28px; height: 28px; color: var(--gold); }
.service-card:hover .icon-tile { background: var(--blue); transform: rotate(-4deg); }
.card-links { margin-top: auto; display: grid; gap: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.card-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; font-weight: 650; text-decoration: none; line-height: 1.35; }
.card-link:hover { text-decoration: underline; }
.card-link svg { flex: none; transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Split / about */
.split { display: grid; gap: 44px; align-items: center; }
.split-top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; } }
.stat-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.stat-panel h3 { font-size: 1.15rem; margin-bottom: 16px; }
.media-stack { position: relative; }
.media-slot { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.media-stack .stat-panel { position: relative; margin: -64px 16px 0; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .media-stack { padding-left: 32px; } .media-stack .stat-panel { margin: -110px 0 0 -32px; max-width: 360px; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.section-dark .check-list li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- Recent work grid */
.work-grid { display: grid; gap: 20px; }
.work-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.work-item .photo-slot { border-radius: 0; height: 100%; }
.work-item figcaption { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .875rem; padding: 7px 14px; border-radius: 999px; line-height: 1.3; }
.work-item:hover .art { transform: scale(1.04); }
@media (min-width: 720px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-item--lg { grid-column: 1 / -1; } .work-item--lg .photo-slot { aspect-ratio: 16 / 9; } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; } .work-item--lg { grid-column: auto; grid-row: span 2; } .work-item--lg .photo-slot { aspect-ratio: auto; min-height: 100%; } }

/* ---------------------------------------------------------------- Gallery */
.gallery-grid { list-style: none; padding: 0; margin: 0; }
.project-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card:hover .art { transform: scale(1.04); }
.project-card .photo-slot { border-radius: 0; }
.project-card .project-body { padding: 22px 24px 26px; }
.project-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.project-card p { margin: 0; color: var(--muted); font-size: .9375rem; }
.project-card[hidden] { display: none; }
.project-card .project-meta { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.project-card .project-town { font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn { min-height: 46px; padding: 10px 20px; border: 1.5px solid var(--border); background: var(--white); color: var(--navy); border-radius: 999px; font: inherit; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: inset 0 -3px 0 var(--gold); }

/* ---------------------------------------------------------------- Service area */
.town-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--navy); font-size: .975rem; }
.section-dark .town-list li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--white); transition: background-color .2s, border-color .2s; }
.section-dark .town-list li:hover { background: rgba(255,255,255,.12); border-color: var(--gold); }
.tag-pending { display: inline-block; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; vertical-align: middle; line-height: 1.5; }

/* ---------------------------------------------------------------- Steps (How we work) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { counter-increment: step; position: relative; background-color: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 32px; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.steps li:hover { background-color: rgba(255,255,255,.07); border-color: rgba(224,165,38,.55); transform: translateY(-3px); }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: 22px; }
.steps h3 { margin-bottom: 10px; color: var(--white); }
.steps p { color: var(--on-navy-muted); margin: 0; }

/* ---------------------------------------------------------------- Service detail */
.service-stack { display: grid; gap: 24px; }
.service-detail { display: grid; gap: 28px; padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); transition: box-shadow .35s var(--ease); }
.service-detail:hover { box-shadow: var(--shadow); }
@media (min-width: 900px) { .service-detail { grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 48px; } }
.service-detail aside { background: var(--surface); border-radius: var(--radius-lg); padding: 26px; align-self: start; }
.service-detail aside h3 { font-size: 1.0625rem; }
.service-detail-plain { padding: 0; border: 0; box-shadow: none; background: none; border-radius: 0; }
.service-detail-plain:hover { box-shadow: none; }
.service-photo { margin: 0 0 48px; }
.service-photo figcaption { margin-top: 12px; }
.banner-slot { box-shadow: var(--shadow-lg); }
@media (min-width: 720px) { .banner-slot { aspect-ratio: 21 / 9; } }

/* ---------------------------------------------------------------- Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy); background-image: radial-gradient(70% 120% at 100% 0%, rgba(11, 78, 162, .6) 0%, rgba(11, 78, 162, 0) 62%), var(--grid-lines); background-size: auto, 56px 56px, 56px 56px; color: var(--white); padding: calc(var(--header-h) + 48px) 0 64px; }
@media (min-width: 960px) { .page-hero { padding: calc(var(--header-h) + 80px) 0 96px; } }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 4px; background: var(--gold); }
.page-hero-art { position: absolute; z-index: -1; right: -30%; bottom: -12%; width: 95%; height: auto; color: rgba(255, 255, 255, .1); pointer-events: none; }
@media (min-width: 720px) { .page-hero-art { right: -4%; bottom: -14%; width: min(52%, 620px); color: rgba(255, 255, 255, .14); } }
.page-hero h1 { color: var(--white); margin-bottom: .3em; max-width: 18ch; font-size: clamp(2.2rem, 1.3rem + 3.3vw, 3.75rem); }
.page-hero p { color: var(--on-navy-muted); font-size: 1.1875rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: .875rem; margin-bottom: 20px; color: var(--on-navy-muted); }
.breadcrumb a { color: var(--white); text-decoration-color: rgba(255,255,255,.4); }
.breadcrumb [aria-current] { color: var(--on-navy-muted); }

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background-color: var(--blue); background-image: linear-gradient(120deg, #0B4EA2 0%, #0A3F86 52%, #1E2430 120%); color: var(--white); padding: 72px 0; }
@media (min-width: 768px) { .cta-band { padding: 96px 0; } }
.cta-band .cta-art { position: absolute; z-index: -1; right: -10%; bottom: -24%; width: min(70%, 640px); height: auto; color: rgba(255,255,255,.12); pointer-events: none; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #E6EEF9; font-size: 1.125rem; margin: 0; }
.cta-band .inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band .inner { grid-template-columns: 1.4fr auto; } }

/* ---------------------------------------------------------------- FAQ */
@media (min-width: 960px) { .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; } }
.faq-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.faq-list details[open] { box-shadow: var(--shadow); border-color: transparent; }
.section-surface .faq-list details { background: var(--white); }
.faq-list summary { font-family: var(--font-display); font-weight: 700; color: var(--navy); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 1.0625rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4EA2' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { color: var(--muted); margin: 0 0 20px; }
.faq-list .tag-pending { margin-right: 6px; }

/* ---------------------------------------------------------------- Forms */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 26px 22px; position: relative; }
.form-card::before { content: ""; position: absolute; left: 28px; top: 0; width: 64px; height: 4px; background: var(--gold); border-radius: 0 0 4px 4px; }
@media (min-width: 768px) { .form-card { padding: 40px; } .form-card::before { left: 40px; } }
.form-title { font-size: 1.5rem; margin-bottom: .35em; }
.form-intro { margin-bottom: 22px !important; }
.form-privacy { margin-top: 14px !important; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9375rem; }
.req { color: #B42318; font-weight: 800; }
.field .opt { color: var(--muted); font-weight: 400; font-size: .875rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1.5px solid #8593A6; border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,78,162,.18); }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180,35,24,.15); }
.field .hint { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
.field .error { font-size: .875rem; color: #B42318; font-weight: 600; margin: 6px 0 0; }
.field .error:empty { display: none; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 999px; font-weight: 500; cursor: pointer; margin: 0; transition: border-color .2s; }
.radio-row label:hover { border-color: var(--blue); }
.radio-row input { width: 20px; height: 20px; min-height: 0; accent-color: var(--blue); }
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 70px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-fineprint { font-size: .875rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 18px; border-radius: 12px; padding: 0; }
.form-status:not(:empty) { padding: 16px 18px; border: 1px solid var(--border); }
.form-status.is-success { background: #ECFDF3; border-color: #6CC08B; color: #05603A; }
.form-status.is-warning { background: #FFF8E6; border-color: var(--gold); color: var(--navy); }
.form-status.is-error { background: #FEF3F2; border-color: #F04438; color: #7A271A; }
.form-status p { margin: 0 0 10px; } .form-status p:last-child { margin-bottom: 0; }
.form-status .btn { margin-top: 4px; }
button[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------------------------------------------------------------- Contact panel */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; color: var(--gold); }
.contact-list .label { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; }
.contact-list .value { font-weight: 600; color: var(--navy); word-break: break-word; }
.contact-list a.value { color: var(--blue); }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 18px; font-size: .9375rem; color: var(--text); }
.note-spaced { margin-bottom: 32px; }
.note-top { margin-top: 28px; }

/* License card on dark band (About) */
.license-card { max-width: 860px; }
.section-dark .license-card { background-color: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--white); box-shadow: none; border-left: 4px solid var(--gold); }

/* ---------------------------------------------------------------- Policy pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.draft-notice { background: #FFF8E6; border: 1px solid var(--gold); border-left: 6px solid var(--gold); border-radius: 12px; padding: 14px 18px; margin-bottom: 32px; color: var(--navy); font-size: .9375rem; }

/* ---------------------------------------------------------------- Footer */
.site-footer { position: relative; background-color: var(--navy-2); background-image: radial-gradient(60% 80% at 0% 0%, rgba(11,78,162,.28) 0%, rgba(11,78,162,0) 60%); color: var(--on-navy-muted); padding: 80px 0 32px; font-size: .975rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 18%, var(--blue) 18%, var(--blue) 100%); }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } .footer-brand { grid-column: auto; } }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; min-height: 48px; }
.footer-logo img.mark { height: 36px; width: auto; }
.footer-logo img.wordmark { height: 30px; width: auto; }
.footer-brand > p { max-width: 380px; }
.site-footer h2 { font-family: var(--font-display); color: var(--white); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-legal { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; line-height: 1.55; color: var(--on-navy-muted); }
.footer-legal p { margin: 0 0 6px; }
.footer-sub { list-style: none; padding: 0 0 0 14px; margin: 0 0 6px; border-left: 1px solid rgba(255,255,255,.14); }
.footer-sub li { margin-bottom: 0; }
.footer-sub a { font-size: .9375rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------------- Sticky mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(30,36,48,.14); }
.mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: .975rem; }
.mobile-bar .btn:hover { transform: none; }
body { padding-bottom: 76px; }
@media (min-width: 768px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------------------------------------------------------------- 404 */
.notfound { background-color: var(--navy); background-image: var(--grid-lines); background-size: 56px 56px; color: var(--white); text-align: center; padding: calc(var(--header-h) + 80px) 0 112px; }
.notfound h1 { color: var(--white); }
.notfound .lede { color: var(--on-navy-muted); }
.notfound .code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: 12px; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); letter-spacing: -.04em; }

/* ---------------------------------------------------------------- Motion (only when JS confirms motion is OK) */
.motion-ok .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion-ok .reveal.is-visible { opacity: 1; transform: none; }
.motion-ok .service-grid .reveal:nth-child(2), .motion-ok .work-grid .reveal:nth-child(2) { transition-delay: .08s; }
.motion-ok .service-grid .reveal:nth-child(3), .motion-ok .work-grid .reveal:nth-child(3) { transition-delay: .16s; }
.motion-ok .service-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------------------------------------------------------------- Mobile refinements (v2.1)
   Everything below only applies under 960px; the desktop layout is unchanged. */
.split > *, .grid > *, .form-grid > *, .work-grid > * { min-width: 0; }
@media (max-width: 639px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field select { max-width: 100%; text-overflow: ellipsis; }
@media (min-width: 960px) {
  .hero { min-height: clamp(640px, 88svh, 860px); }
}
@media (max-width: 959px) {
  .hero-card--desktop { display: none; }
  .hero { padding: calc(var(--header-h) + 32px) 0 96px; }
  .hero-inner { gap: 0; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .13em; gap: 10px; margin-bottom: 14px; }
  .hero .eyebrow::before { width: 24px; }
  .hero h1 { max-width: 20ch; font-size: clamp(2.125rem, 1.35rem + 3.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; margin-bottom: 18px; }
  .hero h1 .accent { background-image: none; }
  .hero .lede { font-size: 1.0625rem; line-height: 1.6; margin-bottom: 26px; max-width: 34em; }
  .hero .btn-row { gap: 10px; }
  .hero-note { margin-top: 16px; font-size: .875rem; }
  .hero-media::after { background: linear-gradient(180deg, rgba(22, 27, 37, .7) 0%, rgba(22, 27, 37, 0) 22%), linear-gradient(90deg, rgba(30, 36, 48, .94) 0%, rgba(30, 36, 48, .8) 60%, rgba(30, 36, 48, .55) 100%), linear-gradient(0deg, rgba(30, 36, 48, .92) 0%, rgba(30, 36, 48, 0) 45%); }
  .trust-strip { margin-top: -48px; }
  .expect-card { background: var(--surface); border-radius: var(--radius-lg); padding: 24px 22px 12px; border-left: 4px solid var(--gold); }
  .expect-card h2 { font-size: 1.25rem; letter-spacing: -.015em; margin-bottom: 16px; }
  .expect-card .check-list li { font-size: 1rem; }
  .section-services { padding-top: 64px; }
}
@media (max-width: 639px) {
  /* The line drawing can't sit beside the copy at phone widths, so it is left out instead of overlapping the text. */
  .hero-slot .art-hero, .hero-slot .photo-tag { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; min-height: 54px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 4px; }
  .trust-grid li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  .trust-grid li + li { border-top: 0; }
  .trust-grid li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .trust-grid li:nth-child(even) { border-left: 1px solid var(--border); }
  .trust-ico { width: 40px; height: 40px; border-radius: 12px; }
  .trust-ico svg { width: 20px; height: 20px; }
  .trust-text strong { font-size: .9375rem; line-height: 1.25; }
  .trust-text span { font-size: .8125rem; margin-top: 3px; }
  .work-grid { gap: 16px; }
  .services-more { margin-top: 24px; }
}
@media (max-width: 399px) {
  .container { padding: 0 16px; }
  .form-card { padding: 24px 14px; }
  .form-card::before { left: 14px; }
  .staging-ribbon { font-size: .75rem; padding: 6px 10px; }
  .trust-grid li { padding: 14px 12px; }
}
@media (max-width: 959px) {
  .card-link { display: block; }
  .card-link svg { display: inline-block; vertical-align: -3px; margin-left: 4px; }
}
/* Long email addresses must wrap instead of widening the page on small phones. */
@media (max-width: 639px) { a[href^="mailto:"] { overflow-wrap: anywhere; } }
body { overflow-wrap: break-word; }

/* ---------------------------------------------------------------- Logo-led home hero (v3)
   The owner chose a hero that leads with the real logo mark + wordmark (from the
   brand originals via scripts/build_assets.py) instead of a text headline. The h1
   is the wordmark: its alt text is the company name, plus a short
   visually-hidden descriptor for screen readers and search. Gold is used only for
   the tile bar, divider, pin icon and the gold button (navy text). */
.btn-pill { border-radius: 999px; }
.hero.hero-logo { min-height: 0; text-align: center; background-color: var(--navy); background-image: radial-gradient(70% 60% at 50% 38%, rgba(11, 78, 162, .62) 0%, rgba(11, 78, 162, 0) 70%), linear-gradient(180deg, #1E2430 0%, #172033 100%); padding: calc(var(--header-h) + 84px) 0 150px; }
.hl-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%); }
.hl-inner { position: relative; display: flex; flex-direction: column; align-items: center; animation: rise .9s var(--ease) both; }
.hl-lockup { display: flex; align-items: center; justify-content: center; gap: 40px; margin: 0 0 44px; }
.hero.hero-logo h1.hl-name { margin: 0; max-width: none; font-size: 1rem; line-height: 1; }
.hl-tile { display: grid; place-items: center; background: var(--white); border-radius: 32px; border-bottom: 6px solid var(--gold); padding: 26px 30px 22px; box-shadow: 0 30px 70px rgba(5, 10, 20, .5), 0 0 0 1px rgba(255, 255, 255, .2); }
.hl-tile img { display: block; width: 280px; height: auto; }
.hl-rule { display: block; width: 4px; height: 168px; border-radius: 4px; background: var(--gold); color: var(--navy); }
.hl-word { display: block; width: 470px; height: auto; }
.hero.hero-logo .hl-ctas { justify-content: center; gap: 14px; }
.hero.hero-logo .btn-on-dark { border-color: rgba(255, 255, 255, .8); }
.hl-loc { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-family: var(--font-display); font-weight: 700; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.hl-loc svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-logo + .trust-strip { margin-top: -64px; }
/* "What you can expect" band under the trust strip, every screen size */
.expect-band { padding: 48px 0 0; }
.expect-card { background: var(--surface); border-radius: var(--radius-lg); padding: 24px 22px 12px; border-left: 4px solid var(--gold); }
.expect-card h2 { font-size: 1.25rem; letter-spacing: -.015em; margin-bottom: 16px; }
@media (min-width: 960px) {
  .expect-band { padding-top: 64px; }
  .expect-card { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 32px; padding: 30px 36px 18px; }
  .expect-card h2 { margin: 0 0 12px; font-size: 1.5rem; }
  .expect-card .check-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .expect-band + .section-services { padding-top: 72px; }
}
@media (max-width: 959px) {
  .hero.hero-logo { padding: calc(var(--header-h) + 40px) 0 92px; }
  .hl-lockup { flex-direction: column; gap: 26px; margin-bottom: 34px; }
  .hl-tile { border-radius: 26px; padding: 20px 22px 16px; border-bottom-width: 5px; }
  .hl-tile img { width: clamp(168px, 48vw, 240px); }
  .hl-rule { width: 64px; height: 4px; }
  .hl-word { width: clamp(248px, 76vw, 380px); }
  .hero-logo + .trust-strip { margin-top: -48px; }
  .expect-band { padding-top: 40px; }
}
@media (max-width: 639px) {
  .hero.hero-logo .hl-ctas { width: 100%; gap: 10px; }
  .hero.hero-logo .hl-ctas .btn { flex: 1 1 100%; min-height: 54px; }
  .hl-loc { font-size: .75rem; letter-spacing: .12em; }
}
