/*
  ARK Houses — original static site styling.
  Visual direction: architectural, Royal Blue Dark and gold, restrained motion.
  No third-party commercial template code is included.
*/

:root {
  --navy-950: #001744;
  --navy-900: #002366;
  --navy-800: #0b3474;
  --navy-700: #1a4a8a;
  --gold-700: #8a6508;
  --gold-500: #d4a017;
  --gold-400: #f0b429;
  --gold-200: #f8de9a;
  --charcoal: #23272b;
  --ink: #26323b;
  --muted: #66717a;
  --line: #dfe4e7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface: #f5f6f6;
  --surface-2: #eceff1;
  --warm: #fbf8ef;
  --white: #ffffff;
  --danger: #a74335;
  --shadow-sm: 0 8px 24px rgba(0, 23, 68, 0.08);
  --shadow-md: 0 18px 48px rgba(0, 23, 68, 0.13);
  --shadow-lg: 0 28px 80px rgba(0, 23, 68, 0.2);
  --radius-xs: 2px;
  --radius-sm: 5px;
  --radius-md: 10px;
  --utility-height: 38px;
  --header-height: 82px;
  --shell: 1180px;
  --page-gutter: 48px;
  --transition: 220ms cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: hidden;
}
body.nav-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
figure, dl, dd { margin: 0; }
ul, ol { padding-left: 1.25rem; }
::selection { color: var(--navy-950); background: var(--gold-200); }

.shell {
  width: min(var(--shell), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -96px;
  z-index: 10000;
  padding: 11px 16px;
  color: var(--navy-950);
  background: var(--gold-400);
  border: 2px solid var(--navy-950);
  font-weight: 800;
  transition: top var(--transition);
}
.skip-link:focus { top: 14px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--navy-900);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.026em;
}
h1 { margin-bottom: 22px; font-size: clamp(2.05rem, 3.5vw, 3.15rem); font-weight: 750; }
h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.45vw, 2.28rem); font-weight: 730; }
h3 { margin-bottom: 12px; font-size: 1.22rem; font-weight: 720; }
p:last-child { margin-bottom: 0; }

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: #54616a;
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  color: var(--gold-500);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before,
.section-label::before {
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
}

.button {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xs);
  background: var(--gold-500);
  color: var(--navy-950);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--navy-900);
  transform: translateX(-105%);
  transition: transform 300ms cubic-bezier(.2, .7, .2, 1);
}
.button:hover,
.button:focus-visible {
  color: var(--white);
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.button:hover::before,
.button:focus-visible::before { transform: translateX(0); }
.button:focus-visible { outline: 3px solid rgba(212, 160, 23, .3); outline-offset: 3px; }
.button-secondary {
  border-color: var(--navy-900);
  background: transparent;
  color: var(--navy-900);
}
.button-secondary::before { background: var(--navy-900); }
.button-small { min-height: 42px; padding: 10px 17px; font-size: .7rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-stack { display: grid; gap: 10px; }
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--navy-900);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.text-link::after {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transition: width var(--transition);
}
.text-link:hover::after { width: 48px; }

/* Utility bar and primary navigation */
.utility-bar {
  min-height: var(--utility-height);
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.78);
  background: var(--charcoal);
  font-size: .75rem;
  letter-spacing: .01em;
}
.utility-inner {
  min-height: var(--utility-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-left,
.utility-right { display: flex; align-items: center; gap: 22px; }
.utility-bar a,
.utility-bar span { white-space: nowrap; }
.utility-bar a { transition: color var(--transition); }
.utility-bar a:hover { color: var(--gold-400); }
.utility-right span { color: var(--gold-400); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(223, 228, 231, .9);
  background: rgba(255,255,255,.98);
  transition: box-shadow var(--transition), height var(--transition), background var(--transition);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(28vw, 420px);
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(0,23,68,.1); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { flex: 0 0 auto; }
.brand img { width: 180px; height: auto; }
.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link,
.nav-group-button {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #34414a;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition);
}
.nav-link::after,
.nav-group-button::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover,
.nav-group-button:hover,
.nav-link.is-active,
.nav-group-button.is-active { color: var(--navy-900); }
.nav-link:hover::after,
.nav-group-button:hover::after,
.nav-link.is-active::after,
.nav-group-button.is-active::after { transform: scaleX(1); }
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  z-index: 20;
  min-width: 276px;
  display: grid;
  gap: 0;
  padding: 8px 0;
  border-top: 4px solid var(--gold-500);
  background: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.nav-dropdown::before {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  content: "";
}
.nav-dropdown a {
  position: relative;
  padding: 11px 18px 11px 22px;
  color: #48545d;
  font-size: .86rem;
  line-height: 1.35;
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.nav-dropdown a::before {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--gold-500);
  transform: translateY(-50%) scale(0);
  transition: transform var(--transition);
}
.nav-dropdown a:hover { padding-left: 26px; color: var(--navy-900); background: var(--surface); }
.nav-dropdown a:hover::before { transform: translateY(-50%) scale(1); }
.nav-group.is-open .nav-dropdown,
.nav-group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-contact { margin-left: 8px; }
.nav-contact .button { color: var(--navy-950); }
.nav-contact .button:hover { color: var(--white); }
.menu-toggle {
  width: 46px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--navy-900);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-scrim { display: none; }

/* Home */
.home-hero {
  position: relative;
  min-height: calc(100svh - var(--utility-height) - var(--header-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy-950);
}
.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("../assets/blueprint-pattern.svg");
  background-position: left bottom;
  background-size: 1200px auto;
  opacity: .7;
  pointer-events: none;
}
.home-hero::after {
  position: absolute;
  left: -13vw;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 62px;
  padding-top: 48px;
  padding-bottom: 118px;
}
.home-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}
.home-copy::before {
  position: absolute;
  left: -24px;
  top: 50%;
  width: 3px;
  height: 104px;
  content: "";
  background: var(--gold-500);
  transform: translateY(-50%);
}
.home-copy h1 {
  max-width: 640px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.55rem, 4vw, 3.55rem);
  font-weight: 760;
}
.home-copy .lead { max-width: 640px; color: rgba(255,255,255,.74); }
.home-copy .eyebrow { color: var(--gold-400); }
.home-copy .button-secondary { border-color: rgba(255,255,255,.58); color: var(--white); }
.home-copy .button-secondary::before { background: var(--white); }
.home-copy .button-secondary:hover { color: var(--navy-950); border-color: var(--white); }
.home-visual {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  margin-right: calc((100vw - min(var(--shell), calc(100vw - var(--page-gutter)))) / -2);
  overflow: hidden;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  background: var(--navy-900);
}
.home-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(0,23,68,.46), transparent 42%), linear-gradient(0deg, rgba(0,23,68,.35), transparent 42%);
  pointer-events: none;
}
.home-visual::after {
  position: absolute;
  left: 4.3%;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 8px;
  content: "";
  background: var(--gold-500);
  transform: skewX(-6deg);
  transform-origin: top;
  pointer-events: none;
}
.home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(
    var(--parallax-pointer-x, 0px),
    calc(var(--parallax-scroll-y, 0px) + var(--parallax-pointer-y, 0px)),
    0
  ) scale(1.035);
  transform-origin: center;
  transition: transform 180ms ease-out;
  will-change: transform;
}
.home-paths {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 46%);
}
.path-card {
  position: relative;
  min-height: 148px;
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  gap: 15px;
  align-items: start;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.path-card:last-child { border-right: 0; }
.path-card::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.path-card:hover { z-index: 1; background: var(--surface); transform: translateY(-5px); }
.path-card:hover::before { transform: scaleX(1); }
.path-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .7rem;
  font-weight: 800;
}
.path-card h2 { margin: 0 0 7px; font-size: 1.28rem; }
.path-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.48; }
.path-card b { color: var(--gold-500); font-size: 1.2rem; line-height: 1.2; transition: transform var(--transition); }
.path-card:hover b { transform: translateX(5px); }

/* Page heroes */
.page-hero,
.project-detail-hero,
.article-header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(112deg, var(--navy-950), var(--navy-800));
}
.page-hero::before,
.project-detail-hero::before,
.article-header::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("../assets/blueprint-pattern.svg");
  background-position: center;
  background-size: 1200px auto;
  opacity: .55;
  pointer-events: none;
}
.page-hero::after,
.project-detail-hero::after,
.article-header::after {
  position: absolute;
  right: -120px;
  top: -180px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(255,255,255,.025);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.page-hero { padding: 78px 0 62px; }
.page-hero.compact { padding: 62px 0 54px; }
.page-hero > .shell,
.project-detail-hero > .shell,
.article-header > .shell { position: relative; z-index: 1; }
.page-hero h1,
.project-detail-hero h1,
.article-header h1 { color: var(--white); }
.page-hero .lead,
.project-detail-hero .lead,
.article-header .lead { color: rgba(255,255,255,.72); }
.page-hero .eyebrow,
.project-detail-hero .eyebrow,
.article-header .eyebrow { color: var(--gold-400); }
.page-hero-grid,
.service-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: 68px;
  align-items: center;
}
.page-hero-art {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-md);
  transform: translate3d(0, var(--parallax-scroll-y, 0px), 0) scale(1.015);
  transform-origin: center;
  transition: transform 180ms ease-out;
  will-change: transform;
}
.page-title-only { max-width: none; }

.service-hero {
  padding: 62px 0;
  color: var(--ink);
  background: var(--surface);
}
.service-hero::before {
  opacity: .1;
  filter: invert(1);
}
.service-hero::after { border-color: rgba(8,47,86,.025); }
.service-hero h1 { color: var(--navy-900); }
.service-hero .lead { color: #59656e; }
.service-hero .breadcrumbs { color: #78838a; }
.service-hero .breadcrumbs a { color: var(--navy-800); }
.service-hero-grid > div { padding: 12px 0; }
.service-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1.43;
  object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, 94% 0, 100% 11%, 100% 100%, 0 100%);
  transform: translate3d(0, var(--parallax-scroll-y, 0px), 0) scale(1.012);
  transform-origin: center;
  transition: transform 180ms ease-out;
  will-change: transform;
}
.service-hero-grid::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 145px;
  height: 145px;
  content: "";
  border-right: 6px solid var(--gold-500);
  border-bottom: 6px solid var(--gold-500);
}
.insurance-hero { background: linear-gradient(112deg, var(--navy-900), var(--navy-700)); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  letter-spacing: .03em;
}
.breadcrumbs span[aria-hidden] { color: var(--gold-500); }
.breadcrumbs a { transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--gold-400); }

/* General content */
.page-section { padding: 66px 0 82px; }
.short-section { padding-top: 50px; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -34px;
  margin-bottom: 34px;
  position: relative;
  z-index: 4;
}
.facts-grid article {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-500);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.facts-grid article::after {
  position: absolute;
  right: -35px;
  top: -35px;
  width: 100px;
  height: 100px;
  border: 20px solid var(--surface-2);
  border-radius: 50%;
  content: "";
}
.facts-grid strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.1;
}
.facts-grid p { position: relative; z-index: 1; margin: 0; color: var(--muted); }
.licence-verify-link {
  color: var(--navy-800);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.licence-verify-link:hover,
.licence-verify-link:focus-visible {
  color: var(--navy-950);
  text-decoration-color: var(--gold-400);
}
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 44px;
  border-left: 6px solid var(--gold-500);
  background: var(--surface);
}
.compact-panel { padding: 38px 42px; }
.plain-list { display: grid; gap: 0; }
.plain-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #d6dde1;
}
.plain-list div:last-child { border-bottom: 0; }
.plain-list span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 800;
}
.plain-list p { margin: 0; align-self: center; }
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.simple-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  background: var(--white);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.simple-card::after {
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 130px;
  height: 130px;
  content: "";
  border: 24px solid var(--surface);
  border-radius: 50%;
  transition: transform var(--transition);
}
.simple-card:hover { border-color: #c7d0d6; transform: translateY(-7px); box-shadow: var(--shadow-md); }
.simple-card:hover::after { transform: scale(1.15); }
.simple-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 800;
}
.simple-card h2 { margin: 28px 0 10px; font-size: 1.42rem; }
.simple-card p { position: relative; z-index: 1; color: var(--muted); }
.simple-card b { position: relative; z-index: 1; margin-top: auto; color: var(--navy-900); }
.accent-card { color: var(--white); border-top-color: var(--gold-500); background: var(--navy-900); }
.accent-card h2,
.accent-card b { color: var(--white); }
.accent-card p { color: rgba(255,255,255,.72); }
.accent-card::after { border-color: rgba(255,255,255,.06); }

.service-points,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-points article,
.process-grid article {
  position: relative;
  min-height: 230px;
  padding: 28px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-points article::before,
.process-grid article::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: var(--gold-500);
  transform: scaleY(.28);
  transform-origin: top;
  transition: transform var(--transition);
}
.service-points article:hover,
.process-grid article:hover { border-color: #c5ced4; transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-points article:hover::before,
.process-grid article:hover::before { transform: scaleY(1); }
.service-points span,
.process-grid span {
  display: inline-flex;
  color: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.service-points h2,
.process-grid h2 { margin: 32px 0 11px; font-size: 1.32rem; }
.service-points p,
.process-grid p { margin: 0; color: var(--muted); }
.note-line {
  margin-top: 24px;
  padding: 17px 22px;
  border-left: 4px solid var(--gold-500);
  background: var(--warm);
  color: #68645b;
  font-size: .92rem;
}
.note-line p { margin: 0; }

/* Insurance */
.insurance-experience { margin-bottom: 24px; align-items: start; }
.insurance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr);
  gap: 24px;
  align-items: stretch;
}
.insurance-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.insurance-deliverables article {
  position: relative;
  min-height: 200px;
  padding: 27px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.insurance-deliverables article:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.insurance-deliverables h2 { font-size: 1.23rem; }
.insurance-deliverables p { margin: 0; color: var(--muted); }
.insurance-boundary {
  position: relative;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}
.insurance-boundary::after {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 185px;
  height: 185px;
  border: 30px solid rgba(255,255,255,.05);
  border-radius: 50%;
  content: "";
}
.insurance-boundary h2 { position: relative; z-index: 1; color: var(--white); }
.insurance-boundary p:not(.section-label) { position: relative; z-index: 1; color: rgba(255,255,255,.74); }
.insurance-boundary .button-stack { position: relative; z-index: 1; }
.insurance-boundary .button-secondary { border-color: rgba(255,255,255,.65); color: var(--white); }
.insurance-boundary .button-secondary::before { background: var(--white); }
.insurance-boundary .button-secondary:hover { color: var(--navy-950); border-color: var(--white); }
.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 4px solid var(--gold-500);
  background: var(--surface);
  font-size: .88rem;
}
.official-links p { margin: 0; color: var(--navy-900); font-weight: 800; }
.official-links a { color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 4px; }

/* Project indexes */
.category-grid,
.category-pair { display: grid; gap: 22px; }
.category-grid { grid-template-columns: repeat(3, 1fr); }
.category-pair { grid-template-columns: 1fr 1fr; }
.category-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("../assets/blueprint-pattern.svg");
  background-size: 900px auto;
  opacity: .45;
}
.category-card::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform var(--transition);
}
.category-card > * { position: relative; z-index: 1; }
.category-card h2 { color: var(--white); }
.category-card p { color: rgba(255,255,255,.7); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card:hover::after { transform: scaleX(1); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0,23,68,.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.project-card::before {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 56px;
  height: 5px;
  content: "";
  background: var(--gold-500);
  transition: width var(--transition);
}
.project-card:hover { border-color: #c5cfd5; transform: translateY(-8px); box-shadow: var(--shadow-md); }
.project-card:hover::before { width: 100%; }
.project-card > img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(.2,.7,.2,1), filter var(--transition);
}
.project-card:hover > img { transform: scale(1.035); filter: saturate(.9) contrast(1.02); }
.project-card-copy {
  position: relative;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  padding: 24px 25px 26px;
}
.project-card-copy p {
  margin-bottom: 8px;
  color: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.project-card-copy h2 { margin-bottom: 10px; font-size: 1.35rem; }
.project-card-copy span { color: var(--muted); font-size: .9rem; }
.project-card-copy b {
  margin-top: auto;
  padding-top: 22px;
  color: var(--navy-900);
  font-size: .87rem;
  transition: color var(--transition);
}
.project-card:hover .project-card-copy b { color: var(--gold-500); }
.renovation-card .project-card-copy { min-height: 200px; }
.before-after-thumb {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
  background: var(--white);
}
.before-after-thumb > div { position: relative; overflow: hidden; }
.before-after-thumb span {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 8px;
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.before-after-thumb > div:last-child span { color: var(--white); background: var(--navy-900); }
.before-after-thumb img {
  width: 100%;
  aspect-ratio: .95;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(.2,.7,.2,1);
}
.project-card:hover .before-after-thumb img { transform: scale(1.04); }

/* Project details */
.project-detail-hero { padding: 60px 0 52px; }
.project-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .43fr);
  gap: 60px;
  align-items: end;
}
.project-title-row .lead { margin-bottom: 0; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.project-facts > div { padding: 16px 14px; border-right: 1px solid rgba(255,255,255,.18); }
.project-facts > div:last-child { border-right: 0; }
.project-facts dt {
  margin-bottom: 6px;
  color: var(--gold-400);
  font-family: "Montserrat", sans-serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-facts dd { color: var(--white); font-size: .88rem; }
.project-media { padding: 54px 0 28px; background: var(--surface); }
.project-media-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; align-items: stretch; }
.project-media figure,
.before-after-detail figure {
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.project-media figcaption,
.before-after-detail figcaption {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 9px 13px;
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-media figure > img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}
.floorplan-frame { cursor: zoom-in; }
.floorplan-frame::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  pointer-events: none;
  transition: transform var(--transition);
}
.floorplan-frame:hover::after { transform: scale(1.08); }
.project-summary { padding: 34px 0 78px; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  position: absolute;
  left: 0;
  top: .55em;
  width: 11px;
  height: 6px;
  content: "";
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* Interactive before/after comparison generated by site.js */
.before-after-detail { display: block; }
.before-after-comparison {
  position: relative;
  width: min(100%, 1080px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
}
.ba-image { position: absolute; inset: 0; overflow: hidden; }
.ba-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ba-after { width: 50%; border-right: 2px solid var(--gold-500); }
.ba-after img { width: 100vw; max-width: min(1080px, calc(100vw - var(--page-gutter))); }
.ba-label {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(0,23,68,.88);
  font-family: "Montserrat", sans-serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ba-label-before { right: 16px; }
.ba-label-after { left: 16px; color: var(--navy-950); background: var(--gold-500); }
.ba-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 6px 18px rgba(0,23,68,.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ba-handle::before { content: "↔"; font-size: 1.1rem; font-weight: 800; }

/* Blog index */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.article-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold-500);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.article-card::after {
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 30px solid var(--surface);
  border-radius: 50%;
  content: "";
  transition: transform var(--transition);
}
.article-card:hover { border-color: #c4ced4; transform: translateY(-7px); box-shadow: var(--shadow-md); }
.article-card:hover::after { transform: scale(1.12); }
.article-card > div {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: .78rem;
}
.article-card > div p {
  color: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-card h2 { position: relative; z-index: 1; margin: 30px 0 14px; font-size: 1.55rem; }
.article-card > p { position: relative; z-index: 1; color: var(--muted); }
.article-card b { position: relative; z-index: 1; margin-top: auto; color: var(--navy-900); font-size: .88rem; }
.blog-disclaimer { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--gold-500); background: var(--warm); color: #6b665a; font-size: .9rem; }
.blog-disclaimer p { margin: 0; }

/* Article pages */
.article-header { padding: 66px 0 56px; }
.article-header-inner { max-width: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; color: rgba(255,255,255,.62); font-size: .8rem; }
.article-meta span { position: relative; }
.article-meta span + span::before { position: absolute; left: -16px; content: "·"; color: var(--gold-500); }
.article-body { padding: 58px 0 82px; background: var(--white); }
.article-layout {
  width: min(var(--shell), calc(100% - var(--page-gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 54px;
  justify-content: center;
  align-items: start;
}
.article-content { max-width: 760px; margin-inline: auto; font-size: 1.02rem; }
.article-layout .article-content { margin: 0; }
.article-content h2 { margin: 46px 0 18px; padding-top: 4px; font-size: 1.75rem; }
.article-content h2::after {
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 13px;
  content: "";
  background: var(--gold-500);
}
.article-content h3 { margin-top: 34px; }
.article-content p,
.article-content li { color: #3f4a52; }
.article-content li + li { margin-top: 8px; }
.article-content a:not(.button) { color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 4px; }
.article-callout {
  margin: 30px 0;
  padding: 23px 25px;
  border-left: 5px solid var(--gold-500);
  background: var(--warm);
}
.article-callout p { margin: 0; color: #5f5a50; }
.article-sources {
  margin-top: 48px;
  padding: 27px;
  border-top: 4px solid var(--gold-500);
  background: var(--surface);
}
.article-sources h2 { margin-top: 0; font-size: 1.35rem; }
.article-sources h2::after { display: none; }
.article-disclaimer { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.article-disclaimer p { margin: 0; color: inherit; }
.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 22px 20px;
  border-top: 4px solid var(--gold-500);
  background: var(--surface);
}
.article-toc-title {
  margin: 0 0 14px;
  color: var(--navy-900);
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.article-toc ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a {
  position: relative;
  display: block;
  padding-left: 24px;
  color: #59656e;
  font-size: .82rem;
  line-height: 1.42;
  transition: color var(--transition);
}
.article-toc a::before {
  position: absolute;
  left: 0;
  content: counter(toc, decimal-leading-zero);
  color: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: .6rem;
  font-weight: 800;
}
.article-toc a:hover,
.article-toc a.is-active { color: var(--navy-900); }
.reading-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10001;
  width: 0;
  height: 3px;
  background: var(--gold-500);
  pointer-events: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}
.contact-details {
  display: grid;
  gap: 24px;
  padding: 34px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.contact-details > div { display: grid; gap: 8px; }
.contact-details .section-label,
.contact-details > div > p,
.contact-details > div > a { margin: 0; }
.contact-details h2 { color: var(--white); }
.contact-details p { color: rgba(255,255,255,.72); }
.contact-details a { display: block; color: var(--gold-400); font-weight: 700; }
.contact-form {
  display: grid;
  gap: 17px;
  padding: 34px;
  border-top: 5px solid var(--gold-500);
  background: var(--surface);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--navy-900); font-size: .82rem; font-weight: 750; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cdd5da;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,160,23,.16); }
.form-note,
.form-status { margin: 0; color: var(--muted); font-size: .84rem; }
.form-status { min-height: 1.4em; color: var(--navy-900); font-weight: 700; }
.form-status.is-success { color: #1f6b46; }
.form-status.is-error { color: #9b2c2c; }
.contact-form .button:disabled { cursor: wait; opacity: .7; }

/* 404 */
.not-found { min-height: 64vh; display: grid; place-items: center; padding: 70px 0; text-align: center; }
.not-found h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--gold-500); }
.not-found .lead { margin-inline: auto; }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--muted);
  background: var(--warm);
}
.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(130deg, transparent 0 55%, rgba(0,35,102,.025) 55% 60%, transparent 60%), url("../assets/blueprint-pattern.svg");
  background-position: center;
  background-size: auto, 1200px auto;
  opacity: .42;
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr .65fr;
  gap: 42px;
  padding: 52px 0 40px;
}
.footer-brand img { width: 178px; padding: 0; background: transparent; }
.footer-brand p { margin-top: 15px; color: var(--gold-700); font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.site-footer a { display: block; margin-bottom: 7px; transition: color var(--transition), transform var(--transition); }
.site-footer a:hover { color: var(--gold-700); transform: translateX(3px); }
.footer-label {
  margin-bottom: 15px;
  color: var(--navy-900);
  font-family: "Montserrat", sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-label::after { display: block; width: 34px; height: 2px; margin-top: 9px; content: ""; background: var(--gold-500); }
.footer-grid p { margin-bottom: 7px; }
.footer-links { display: grid; align-content: start; }
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.footer-bottom p { margin: 0; }

/* Modal lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(0,12,36,.93);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner { position: relative; width: min(1180px, 96vw); max-height: 92vh; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; background: var(--white); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  right: 0;
  top: -52px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox-caption { margin-top: 12px; color: rgba(255,255,255,.7); font-size: .82rem; text-align: center; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--white); background: var(--navy-900); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(.2,.7,.2,1), transform 650ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.reveal-left { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: translate(0,0); }

/* Responsive */
@media (max-width: 1120px) {
  :root { --page-gutter: 40px; }
  .nav-link, .nav-group-button { padding-inline: 9px; font-size: .68rem; }
  .nav-link::after, .nav-group-button::after { left: 9px; right: 9px; }
  .brand img { width: 165px; }
  .home-hero-grid { gap: 38px; }
  .home-copy::before { left: -14px; }
  .home-paths { width: min(var(--shell), calc(100% - var(--page-gutter))); }
  .process-grid.four { grid-template-columns: repeat(2, 1fr); }
  .project-title-row { grid-template-columns: 1fr; gap: 28px; }
  .project-facts { max-width: 660px; }
}

@media (max-width: 980px) {
  :root { --header-height: 74px; }
  .utility-right span { display: none; }
  .primary-nav {
    position: fixed;
    right: 0;
    top: calc(var(--utility-height) + var(--header-height));
    bottom: 0;
    z-index: 1200;
    width: min(390px, 88vw);
    margin: 0;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -18px 0 45px rgba(0,23,68,.18);
    transform: translateX(105%);
    transition: transform 300ms cubic-bezier(.2,.7,.2,1);
  }
  .site-header.is-scrolled .primary-nav { top: var(--header-height); }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list { display: block; padding: 18px 0 80px; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-group-button {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 14px 22px;
    font-size: .74rem;
  }
  .nav-link::after, .nav-group-button::after { left: 22px; right: auto; bottom: 0; width: 38px; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 320ms ease;
  }
  .nav-group.is-open .nav-dropdown { max-height: 420px; padding: 0 0 8px; }
  .nav-dropdown a { padding: 11px 24px 11px 38px; background: var(--surface); }
  .nav-contact { margin: 18px 20px; border-bottom: 0 !important; }
  .nav-contact .button { width: 100%; }
  .menu-toggle { display: flex; }
  .nav-scrim {
    position: fixed;
    inset: calc(var(--utility-height) + var(--header-height)) 0 0;
    z-index: 900;
    display: block;
    border: 0;
    background: rgba(0,12,36,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }
  .site-header.is-scrolled + .nav-scrim { inset: var(--header-height) 0 0; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
  .home-hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .home-copy h1 { font-size: clamp(2.45rem, 5vw, 3.35rem); }
  .home-visual { margin-right: calc(var(--page-gutter) / -2); }
  .page-hero-grid,
  .service-hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-points { grid-template-columns: repeat(2, 1fr); }
  .service-points article:last-child { grid-column: 1 / -1; }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three .simple-card:last-child { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-media-grid { grid-template-columns: 1fr; }
  .project-media figure > img { min-height: 360px; }
  .article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-links { grid-column: 2 / -1; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; }
}

@media (max-width: 760px) {
  :root { --page-gutter: 32px; --utility-height: 34px; }
  .utility-inner { justify-content: center; }
  .utility-left { width: 100%; justify-content: space-between; gap: 12px; }
  .utility-left span { display: none; }
  .utility-right { display: none; }
  .brand img { width: 156px; }
  .home-hero { min-height: auto; overflow: visible; flex-direction: column; }
  .home-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 48px;
    padding-bottom: 46px;
  }
  .home-copy { padding: 0; }
  .home-copy::before { left: -12px; height: 84px; }
  .home-copy h1 { font-size: clamp(2.35rem, 10vw, 3.05rem); }
  .home-visual {
    min-height: 330px;
    margin: 0;
    clip-path: none;
    border-top: 6px solid var(--gold-500);
  }
  .home-visual::after { display: none; }
  .home-paths {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(var(--shell), calc(100% - var(--page-gutter)));
    grid-template-columns: 1fr;
    margin: 0 auto 46px;
    transform: none;
  }
  .path-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .path-card:last-child { border-bottom: 0; }
  .page-hero,
  .page-hero.compact,
  .article-header,
  .project-detail-hero { padding: 52px 0 46px; }
  .page-hero-grid,
  .service-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-hero { padding: 48px 0; }
  .service-hero-grid::after { right: -7px; bottom: -7px; width: 96px; height: 96px; border-width: 4px; }
  .page-hero-art { max-height: 280px; }
  .page-section { padding: 50px 0 64px; }
  .short-section { padding-top: 42px; }
  .facts-grid { grid-template-columns: 1fr; margin-top: -20px; }
  .split-panel { grid-template-columns: 1fr; gap: 30px; padding: 32px 28px; }
  .compact-panel { padding: 30px 26px; }
  .service-points,
  .process-grid,
  .process-grid.four,
  .card-grid.three,
  .insurance-deliverables,
  .category-grid,
  .category-pair { grid-template-columns: 1fr; }
  .service-points article:last-child,
  .card-grid.three .simple-card:last-child { grid-column: auto; }
  .insurance-layout { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-copy { min-height: 185px; }
  .project-title-row { gap: 26px; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .project-facts > div:last-child { border-bottom: 0; }
  .project-media { padding-top: 38px; }
  .project-media figure > img { min-height: 280px; }
  .before-after-comparison { aspect-ratio: 4 / 3; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 310px; }
  .article-layout { display: block; width: min(var(--shell), calc(100% - var(--page-gutter))); }
  .article-toc { position: relative; top: auto; margin-bottom: 34px; }
  .article-content { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  :root { --page-gutter: 24px; --header-height: 70px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.55rem; }
  .utility-left { font-size: .7rem; }
  .utility-left a[href^="mailto"] { display: none; }
  .brand img { width: 146px; }
  .home-copy::before { display: none; }
  .home-copy h1 { font-size: 2.42rem; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
  .home-visual { min-height: 250px; }
  .path-card { grid-template-columns: 40px 1fr 18px; padding: 21px 18px; }
  .service-photo { border-width: 5px; }
  .project-media figure > img { min-height: 235px; }
  .before-after-comparison { aspect-ratio: 1 / 1; }
  .ba-label { top: 10px; }
  .ba-label-before { right: 10px; }
  .ba-label-after { left: 10px; }
  .article-card { padding: 24px; }
  .contact-details,
  .contact-form { padding: 25px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-links { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr; gap: 0; }
  .back-to-top { right: 14px; bottom: 14px; }
  .lightbox { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-visual img,
  .service-photo,
  .page-hero-art {
    --parallax-scroll-y: 0px;
    --parallax-pointer-x: 0px;
    --parallax-pointer-y: 0px;
    transform: none;
    transition: none;
  }

  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
