/* ==========================================================================
   US Builders — site stylesheet
   Brand colors are sampled from the US Builders logo.
   ========================================================================== */

:root {
  --navy-950: #061630;
  --navy-900: #0B2A5B;   /* logo navy */
  --navy-800: #13366F;
  --navy-700: #1E4486;
  --navy-100: #E6ECF5;
  --navy-50:  #F3F6FB;
  --red-600:  #D21F2B;   /* logo red */
  --red-700:  #B0141F;
  --red-50:   #FDECEE;
  --steel-700: #3B475A;
  --steel-500: #6A7689;
  --steel-300: #C3CAD5;
  --steel-200: #DDE2EA;
  --steel-100: #EEF1F5;
  --white: #FFFFFF;
  --ink: #0E1A2B;
  --text: #2C3A4E;
  --muted: #5B687B;
  --ph-bg: #FFF6D6;
  --ph-line: #E0A800;

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, .06), 0 1px 3px rgba(11, 42, 91, .08);
  --shadow: 0 6px 24px -8px rgba(11, 42, 91, .18), 0 2px 6px rgba(11, 42, 91, .06);
  --shadow-lg: 0 24px 60px -20px rgba(6, 22, 48, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.15; }
h4 { font-size: 1.2rem; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy-900); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--red-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* Placeholder data the business still needs to fill in (see README). */
.ph { background: var(--ph-bg); box-shadow: inset 0 -2px 0 var(--ph-line); padding: 0 .25em; border-radius: 3px; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-tint { background: var(--navy-50); }
.section-navy { background: var(--navy-900); color: #C9D4E6; }
.section-navy h2, .section-navy h3, .section-navy h4, .section-navy strong { color: var(--white); }
.section-navy a:not(.btn) { color: #fff; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.split > *, .with-aside > * { min-width: 0; }
.split.reverse > :first-child { order: 2; }
.split-form { grid-template-columns: 1.25fr 1fr; }
.stack > * + * { margin-top: 1rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #FF7A83; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--steel-700); }
.section-navy .lead { color: #D5DEEC; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.upper { text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red-600); --fg: #fff; --bd: var(--red-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1 var(--font-body); letter-spacing: .01em;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --bg: var(--red-700); --bd: var(--red-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(210, 31, 43, .6); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-navy { --bg: var(--navy-900); --bd: var(--navy-900); }
.btn-navy:hover { --bg: var(--navy-800); --bd: var(--navy-800); box-shadow: 0 10px 22px -10px rgba(11, 42, 91, .6); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); --bd: var(--steel-300); }
.btn-outline:hover { --bg: var(--navy-900); --bd: var(--navy-900); --fg: #fff; box-shadow: none; }
.btn-ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; --bd: rgba(255,255,255,.45); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--navy-900); --bd: #fff; color: var(--navy-900); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; color: var(--red-600); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--red-600); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy-950); color: #B8C4D8; font-size: .8125rem; }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.utility svg { width: 14px; height: 14px; color: #FF7A83; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: #FF9AA1; }
@media (max-width: 900px) { .utility .hide-sm { display: none; } }
@media (max-width: 560px) { .utility ul.left { display: none; } .utility .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--steel-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px -14px rgba(11, 42, 91, .3); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: var(--radius-sm);
  font: 600 .9375rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); color: var(--steel-500); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--red-600); background: var(--navy-50); }
.nav-link[aria-current="page"], .nav li.is-current > .nav-link { color: var(--red-600); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; color: var(--ink); }
.header-phone small { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.header-phone span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.header-phone:hover span { color: var(--red-600); }

/* Dropdowns */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 280px; padding: 10px; background: #fff;
  border: 1px solid var(--steel-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.dropdown a:hover { background: var(--navy-50); color: var(--ink); }
.dropdown a strong { display: block; font-size: .9375rem; }
.dropdown a small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.4; margin-top: 2px; }
.dropdown .dd-icon { flex: 0 0 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-900); }
.dropdown a:hover .dd-icon { background: var(--red-600); color: #fff; }
.dropdown .dd-icon svg { width: 18px; height: 18px; }
.dropdown-mega { width: 640px; }
.dropdown-mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-foot { margin-top: 8px; padding: 12px; border-top: 1px solid var(--steel-200); display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--steel-200); border-radius: var(--radius-sm); background: #fff; color: var(--navy-900); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px;
    border-top: 1px solid var(--steel-200);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--steel-200); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.0625rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .dropdown, .dropdown-mega { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
  .dropdown.open { display: block; transform: none; }
  .dropdown-mega ul { grid-template-columns: 1fr; }
  .dropdown-foot { display: none; }
  .nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media img.flip { transform: scaleX(-1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,22,48,.96) 0%, rgba(6,22,48,.86) 38%, rgba(11,42,91,.55) 70%, rgba(11,42,91,.25) 100%),
    linear-gradient(0deg, rgba(6,22,48,.7), rgba(6,22,48,0) 40%);
}
.hero .container { padding-top: clamp(72px, 11vw, 140px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .005em; margin-bottom: 22px; }
.hero h1 .accent { color: #FF5A65; }
.hero .lead { color: #D6DFEE; max-width: 640px; margin-bottom: 32px; }
.hero-facts {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-facts div { padding: 22px 20px 4px 0; }
.hero-facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #93A6C4; font-weight: 600; margin-bottom: 6px; }
.hero-facts dd { margin: 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: #fff; line-height: 1.15; }
.hero-facts .ph { color: var(--ink); font-size: 1.1rem; }
@media (max-width: 820px) { .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Flag stripe accent, echoing the logo */
.stripe { height: 6px; background: linear-gradient(90deg, var(--red-600) 0 33.3%, #fff 33.3% 66.6%, var(--navy-900) 66.6% 100%); }
.stripe-thin { height: 4px; background: repeating-linear-gradient(90deg, var(--red-600) 0 40px, #fff 40px 52px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,22,48,.95) 0%, rgba(6,22,48,.84) 50%, rgba(11,42,91,.5) 100%); }
.page-hero .container { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; max-width: 900px; }
.page-hero .lead { color: #D6DFEE; max-width: 720px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .8125rem; color: #9FB0CC; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5F7397; }
.breadcrumb a { color: #C9D4E6; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--steel-300); }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: #fff; margin-bottom: 20px; }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.red { background: var(--red-600); }
.icon-badge.soft { background: var(--navy-50); color: var(--navy-900); }
.card .link-arrow { margin-top: 18px; }

/* Service card with image */
.svc-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.svc-card .media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--navy-100); }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .media img { transform: scale(1.05); }
.svc-card .tag { position: absolute; left: 16px; top: 16px; background: rgba(6,22,48,.85); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }
.svc-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: .4em; }
.svc-card p { color: var(--muted); font-size: 1rem; }
.svc-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Feature list with checks */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D21F2B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-navy .checklist li::before { background-color: rgba(255,255,255,.1); }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 600px) { .checklist.cols-2 { grid-template-columns: 1fr; } }

/* Media frame */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; background: var(--navy-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.portrait { aspect-ratio: 4 / 5; }
.media-wrap { position: relative; }
.media-wrap::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 2px solid var(--red-600); border-radius: var(--radius-lg); z-index: -1; }
.media-badge {
  position: absolute; left: -20px; bottom: 28px; background: var(--navy-900); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 270px;
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; line-height: 1.1; }
.media-badge span { font-size: .875rem; color: #C3CFE2; }
@media (max-width: 820px) { .media-badge { left: 12px; bottom: 12px; } .media-wrap::before { display: none; } }

/* ---------- Data / code tables ---------- */
.id-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.id-grid > div { padding: 22px 24px; border-right: 1px solid var(--steel-200); }
.id-grid > div:last-child { border-right: 0; }
.id-grid dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.id-grid dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy-900); line-height: 1.2; }
.id-grid dd small { display: block; font-family: var(--font-body); font-size: .8125rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .id-grid { grid-template-columns: 1fr 1fr; } .id-grid > div:nth-child(2) { border-right: 0; } .id-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--steel-200); } }
@media (max-width: 520px) { .id-grid { grid-template-columns: 1fr; } .id-grid > div { border-right: 0; border-bottom: 1px solid var(--steel-200); } .id-grid > div:last-child { border-bottom: 0; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .975rem; }
table.data th, table.data td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
table.data thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) td { background: var(--navy-50); }
table.data td:first-child { font-weight: 600; color: var(--navy-900); white-space: nowrap; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--steel-200); }
.step:last-child { border-bottom: 1px solid var(--steel-200); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--red-600);
}
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }
.section-navy .step { border-color: rgba(255,255,255,.14); }
.section-navy .step p { color: #B9C6DB; }
.section-navy .step::before { color: #FF5A65; }

.steps-h { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; counter-reset: step; }
.steps-h li { list-style: none; counter-increment: step; position: relative; padding-top: 58px; }
.steps-h li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--red-600); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.steps-h li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -12px; height: 2px; background: rgba(255,255,255,.18); }
.steps-h li:last-child::after { display: none; }
.steps-h h4 { color: #fff; margin-bottom: .35em; font-size: 1.3rem; }
.steps-h p { font-size: .95rem; color: #B9C6DB; margin: 0; }
.steps-h { padding: 0; margin: 0; }
@media (max-width: 960px) { .steps-h { grid-template-columns: 1fr 1fr; row-gap: 36px; } .steps-h li::after { display: none; } }
@media (max-width: 560px) { .steps-h { grid-template-columns: 1fr; } }

/* ---------- Stat / trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--steel-200); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.trust-item svg { width: 24px; height: 24px; color: var(--red-600); flex-shrink: 0; }

/* ---------- Agency / market tiles ---------- */
.tile { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--steel-200); }
.tile h3 { font-size: 1.35rem; margin-bottom: .35em; }
.tile p { color: var(--muted); font-size: .98rem; margin: 0; }
.section-navy .tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-navy .tile p { color: #B9C6DB; }
.section-navy .tile .icon-badge { background: rgba(255,255,255,.08); }

/* ---------- Quote / statement ---------- */
.statement { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; font-weight: 600; color: var(--ink); max-width: 980px; }
.statement em { font-style: normal; color: var(--red-600); }
.section-navy .statement { color: #fff; }
.section-navy .statement em { color: #FF5A65; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red-600); color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%), linear-gradient(120deg, var(--red-600), var(--red-700)); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; z-index: -1; opacity: .12;
  background: repeating-linear-gradient(-45deg, #fff 0 14px, transparent 14px 34px); border-radius: 50%; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.cta-band h2 { color: #fff; margin-bottom: .25em; text-transform: uppercase; }
.cta-band p { color: #FFE3E5; margin: 0; max-width: 620px; font-size: 1.125rem; }
.cta-band .btn { --bg: #fff; --fg: var(--red-700); --bd: #fff; }
.cta-band .btn:hover { --bg: var(--navy-900); --bd: var(--navy-900); color: #fff; box-shadow: none; }
.cta-band .btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); }
@media (max-width: 820px) { .cta-band .container { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--steel-200); }
.faq details { border-bottom: 1px solid var(--steel-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red-50); }
.faq summary:hover { color: var(--red-600); }
.faq .answer { padding: 0 48px 24px 0; color: var(--text); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--steel-300); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(30, 68, 134, .15); }
.field .hint { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-600); }
.field .error { display: none; color: var(--red-700); font-size: .8125rem; margin-top: 6px; font-weight: 500; }
.field.invalid .error { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--muted); margin-top: 16px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #E9F7EF; color: #17603A; border: 1px solid #BFE5CE; }
.form-status.warn { background: var(--ph-bg); color: #6B4E00; border: 1px solid #F0D27A; }

/* ---------- Contact info list ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.info-list .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-50); color: var(--navy-900); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list a, .info-list span { font-weight: 600; color: var(--ink); text-decoration: none; }
.info-list a:hover { color: var(--red-600); }

/* ---------- Project cards ---------- */
.proj-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.proj-card .media { aspect-ratio: 16/9; overflow: hidden; }
.proj-card .media img { width: 100%; height: 100%; object-fit: cover; }
.proj-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-900); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.chip.red { background: var(--red-50); color: var(--red-700); }
.proj-card h3 { margin: 0; }
.proj-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.proj-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .875rem; margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed var(--steel-300); }
.proj-card dt { color: var(--muted); font-weight: 500; }
.proj-card dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* ---------- Sidebar layout (service pages) ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.aside-box h4 { font-size: 1.25rem; margin-bottom: .6em; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--steel-100); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a:hover, .aside-box li a[aria-current="page"] { color: var(--red-600); }
.aside-box li a svg { width: 16px; height: 16px; color: var(--steel-500); }
.aside-cta { background: var(--navy-900); color: #C9D4E6; border: 0; position: relative; overflow: hidden; }
.aside-cta h4 { color: #fff; }
.aside-cta .btn { width: 100%; margin-top: 8px; }
.aside-cta .phone { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none; margin: 6px 0 4px; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }

.content h2 { margin-top: 1.2em; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.2em; }
.content .grid { margin: 1.5em 0 2em; }

/* Note box */
.note { border-left: 4px solid var(--red-600); background: var(--navy-50); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0; }
.note p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B7CD; font-size: .95rem; }
.footer-top { padding: clamp(56px, 7vw, 88px) 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #D2DBE9; text-decoration: none; }
.site-footer a:hover { color: #FF8C94; }
.footer-ids { display: grid; gap: 8px; margin-top: 4px; }
.footer-ids div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-ids span:first-child { color: #7F90AD; }
.footer-ids span:last-child { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: #7F90AD; }
.footer-bottom ul { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.blueprint { background-color: var(--navy-50); background-image: linear-gradient(rgba(11,42,91,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,42,91,.06) 1px, transparent 1px); background-size: 32px 32px; }
.divider { height: 1px; background: var(--steel-200); margin: clamp(40px, 6vw, 64px) 0; border: 0; }
.kicker-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--red-600); line-height: 1; margin-bottom: 8px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Print (capability statement) ---------- */
@media print {
  .utility, .site-header, .site-footer, .cta-band, .no-print, .skip-link { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-hero { background: #fff; color: #000; }
  .page-hero::before, .page-hero .bg { display: none; }
  .page-hero h1, .page-hero .lead { color: #000; }
  .section { padding: 18pt 0; }
  .reveal { opacity: 1; transform: none; }
  a { color: #000; text-decoration: none; }
  .ph { background: none; box-shadow: none; }
  .card, .tile, .table-wrap, .id-grid { break-inside: avoid; box-shadow: none; }
}
