/* ------------------------------------------------------------ tokens */
:root {
  --charcoal: #111111;
  --gold:     #F5B301;
  --slate:    #2E2E2E;
  --steel:    #6B6B6B;
  --light:    #E5E5E5;
  --white:    #FFFFFF;
  --paper:    #F4F4F4;     /* the "very light gray" of the estimate section */
  --gold-ink: #8F6700;     /* gold for TEXT on light grounds, 5.5:1 on white */
  --ink-on-dark:      #FFFFFF;
  --ink-soft-on-dark: #C9C9C9;
  --ink-on-light:     #111111;
  --ink-soft-on-light:#4A4A4A;
  --line-on-dark:  rgba(255,255,255,.14);
  --line-on-light: #D6D6D6;

  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --text:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs:   clamp(.72rem, .7rem + .12vw, .8rem);
  --t-sm:   clamp(.875rem, .85rem + .15vw, .95rem);
  --t-base: clamp(1rem, .96rem + .2vw, 1.125rem);
  --t-lg:   clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --t-xl:   clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --t-2xl:  clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --t-3xl:  clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4.5rem, 8vw, 8.5rem);
  --gutter:  clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1240px;

  --radius: 2px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --header-h: 88px;
  --header-h-compact: 68px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink-on-light);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.dark ::selection { background: var(--gold); color: var(--charcoal); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.dark { background: var(--charcoal); color: var(--ink-on-dark); }
.dark p { color: var(--ink-soft-on-dark); }
.light { background: var(--light); color: var(--ink-on-light); }
.paper { background: var(--paper); color: var(--ink-on-light); }
.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--gold); color: var(--charcoal); padding: var(--s-2) var(--s-4);
  font-family: var(--display); font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--s-4); }
.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; }

/* Eyebrows carry a section number because the spec uses them as wayfinding. */
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--s-3);
  color: var(--gold-ink);
}
.dark .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.h2 { font-size: var(--t-2xl); margin-top: var(--s-4); }
.lede { font-size: var(--t-lg); line-height: 1.5; margin-top: var(--s-5); color: var(--ink-soft-on-light); max-width: 60ch; }
.dark .lede { color: var(--ink-soft-on-dark); }
.copy p + p { margin-top: var(--s-4); }
.copy { max-width: 62ch; color: var(--ink-soft-on-light); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  font-family: var(--display); font-weight: 700; font-size: var(--t-sm);
  letter-spacing: .01em; line-height: 1;
  padding: 1.05rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  white-space: nowrap;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.btn .arr { display: inline-block; transition: transform 160ms var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--charcoal); border-color: var(--gold); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline { background: var(--white); color: var(--charcoal); border-color: var(--charcoal); }
.btn--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn--phone { background: var(--white); color: var(--charcoal); border-color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arr { transform: translateX(4px); }
  .btn--gold:hover { background: #FFC21A; border-color: #FFC21A; box-shadow: 0 8px 18px -6px rgba(245,179,1,.55), 0 2px 0 rgba(0,0,0,.18); }
  .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
  .btn--outline:hover { background: var(--charcoal); color: var(--white); }
  .btn--dark:hover { background: var(--slate); border-color: var(--slate); }
  .btn--phone:hover { background: var(--light); border-color: var(--light); }
}
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; padding-block: 1.15rem; }

/* ------------------------------------------------------------ header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal); color: var(--white);
  border-bottom: 1px solid var(--line-on-dark);
  transition: box-shadow 200ms var(--ease), margin-bottom 220ms var(--ease);
}
/* the margin makes up the 20px the bar loses, so the page below never moves while the header shrinks */
.header.is-compact { box-shadow: 0 8px 24px -8px rgba(0,0,0,.6); margin-bottom: calc(var(--header-h) - var(--header-h-compact)); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  height: var(--header-h);
  transition: height 220ms var(--ease);
}
.header.is-compact .header__inner { height: var(--header-h-compact); }
.header__logo { display: block; color: var(--white); height: 58px; transition: height 220ms var(--ease); }
.header.is-compact .header__logo { height: 46px; }
.header__logo svg { height: 100%; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.4vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: .86rem; letter-spacing: .02em;
  color: var(--ink-soft-on-dark); text-decoration: none; padding: .5rem 0; position: relative; white-space: nowrap;
  transition: color 140ms var(--ease);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="true"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.header__actions .btn { padding: .85rem 1.15rem; }
.menu-btn {
  display: none; background: none; border: 2px solid rgba(255,255,255,.35); color: var(--white);
  width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.mobile-panel { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__actions .btn--phone { display: none; }
}
@media (max-width: 760px) {
  .header__actions .btn--gold { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-panel {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--charcoal); padding: var(--s-6) var(--gutter);
    transform: translateX(100%); transition: transform 260ms var(--ease); overflow: auto;
  }
  .header.is-compact ~ .mobile-panel { top: var(--header-h-compact); }
  .mobile-panel.is-open { transform: none; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
  .mobile-panel li + li { border-top: 1px solid var(--line-on-dark); }
  .mobile-panel a:not(.btn) { display: block; padding: 1rem 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--white); text-decoration: none; }
  .mobile-panel .btn { margin-top: var(--s-5); width: 100%; }
  .mobile-panel .btn + .btn { margin-top: var(--s-3); }
  body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--charcoal); color: var(--white);
  min-height: calc(100svh - var(--header-h));
  display: grid; align-items: center;
}
.hero__photo { position: absolute; inset: 0; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: rgba(17,17,17,.56); }
/* a corner of density under the copy only; the photograph keeps its contrast on the right */
.hero__scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(17,17,17,.78) 0%, rgba(17,17,17,.55) 38%, rgba(17,17,17,0) 62%); }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  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: 96px 96px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.hero__mark {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(420px, 52vw, 820px); aspect-ratio: 1;
  right: -8%; top: 50%; transform: translateY(-52%);
  color: var(--gold); opacity: .055;
}
.hero__mark svg { width: 100%; height: 100%; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(3.5rem, 8vh, 6rem);
}
.hero__eyebrow { color: var(--gold); }
.hero__eyebrow::before { background: var(--gold); }
.hero h1 { font-size: var(--t-3xl); font-weight: 800; margin-top: var(--s-5); max-width: 12ch; }
.hero__lede { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-soft-on-dark); margin-top: var(--s-5); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.trust { display: flex; flex-wrap: wrap; gap: var(--s-3) 1.25rem; margin: var(--s-7) 0 0; padding: var(--s-5) 0 0; list-style: none; border-top: 1px solid var(--line-on-dark); }
.trust li { display: flex; align-items: center; gap: var(--s-2); font-family: var(--display); font-weight: 600; font-size: .84rem; color: var(--ink-soft-on-dark); }
.trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* the angled panel */
.panel {
  position: relative; background: var(--slate); color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
  padding: 8px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  justify-self: end; width: min(100%, 460px);
}
.panel::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px; background: rgba(255,255,255,.12); }
.panel__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.panel__photo img { width: 100%; height: 100%; object-fit: cover; }
.panel__photo::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.18); }
.panel__stripe { position: absolute; left: 0; bottom: 0; width: 100%; height: 10px; background: var(--gold); clip-path: polygon(0 0, 46% 0, 52% 100%, 0 100%); }
.panel__body { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5) var(--s-4) var(--s-6); }
.panel__disc { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--charcoal); display: grid; place-items: center; }
.panel__disc svg { width: 40px; height: 40px; }
.panel__title { font-family: var(--display); font-weight: 800; font-size: var(--t-xl); letter-spacing: -.01em; line-height: 1.05; }
.panel__title span { color: var(--gold); }
.panel__sub { color: var(--ink-soft-on-dark); font-size: var(--t-sm); margin-top: var(--s-1); }
.hero__edge { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--gold); clip-path: polygon(0 100%, 0 20%, 34% 20%, 38% 100%); z-index: 1; }

/* load sequence: the page's one orchestrated moment */
.hero [data-enter] { opacity: 0; transform: translateY(14px); animation: enter 700ms var(--ease) forwards; }
.hero .panel[data-enter] { transform: translateX(40px); animation-duration: 900ms; }
.hero [data-enter="1"] { animation-delay: 80ms; }
.hero [data-enter="2"] { animation-delay: 180ms; }
.hero [data-enter="3"] { animation-delay: 280ms; }
.hero [data-enter="4"] { animation-delay: 380ms; }
.hero [data-enter="5"] { animation-delay: 520ms; }
.hero [data-enter="6"] { animation-delay: 300ms; }
@keyframes enter { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .panel { justify-self: start; width: min(100%, 520px); }
  .hero__photo img { object-position: 78% 60%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(17,17,17,.7) 0%, rgba(17,17,17,.45) 60%, rgba(17,17,17,.2) 100%); }
  .hero__mark { right: -30%; top: 30%; width: 90vw; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: var(--t-2xl); }
  .hero__ctas .btn { width: 100%; }
}

/* ------------------------------------------------------------ reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: 90ms; }
[data-reveal="3"] { transition-delay: 180ms; }
[data-reveal="4"] { transition-delay: 270ms; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: opacity 320ms var(--ease); }
  .hero [data-enter] { transform: none; animation-duration: 320ms; }
  .btn, .btn .arr, .nav a, .card, .step__dot { transition: none !important; }
}

/* ------------------------------------------------------------ risk / education */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.textlink {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--display); font-weight: 700; font-size: var(--t-sm);
  color: var(--gold-ink); text-decoration: none; margin-top: var(--s-6);
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.textlink .arr { transition: transform 160ms var(--ease); }
.textlink:hover .arr { transform: translateX(4px); }
.stat {
  position: relative; background: var(--charcoal); color: var(--white);
  padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius);
  box-shadow: 0 32px 56px -28px rgba(17,17,17,.55), 0 1px 0 rgba(255,255,255,.08) inset;
  justify-self: end; width: min(100%, 440px);
}
.stat::after { content: ""; position: absolute; right: 0; top: 0; width: 10px; height: 100%; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
.stat__mark { width: 56px; height: 56px; color: var(--gold); }
.stat__mark svg { width: 100%; height: 100%; }
.stat__num { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.03em; margin-top: var(--s-5); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat__num small { display: block; font-size: var(--t-xl); font-weight: 700; letter-spacing: -.01em; color: var(--white); margin-top: var(--s-2); }
.stat__cap { margin-top: var(--s-4); color: var(--ink-soft-on-dark); font-size: var(--t-sm); }
.stat__line { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line-on-dark); font-family: var(--display); font-weight: 600; font-size: var(--t-base); color: var(--white); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .stat { justify-self: start; } }

/* ------------------------------------------------------------ services */
.services { overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .16; pointer-events: none; }
.services::after { content: ""; position: absolute; right: -6%; top: -30%; width: 34vw; height: 160%; background: var(--slate); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); opacity: .55; pointer-events: none; }
.services .wrap { position: relative; z-index: 1; }
.services__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: var(--s-6); }
.services__head .lede { max-width: 38ch; }
.services__head .lede { margin-top: var(--s-4); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--slate); border: 1px solid var(--steel); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); min-height: 380px;
  transition: border-color 160ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset;
}
.card__num { position: absolute; top: 1.25rem; right: 1.25rem; font-family: var(--display); font-weight: 800; font-size: var(--t-sm); color: var(--gold); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.card__icon { width: 60px; height: 60px; background: var(--gold); color: var(--charcoal); border-radius: var(--radius); display: grid; place-items: center; }
.card__icon svg { width: 34px; height: 34px; }
.card h3 { font-size: var(--t-xl); font-weight: 700; margin-top: var(--s-6); }
.card p { margin-top: var(--s-3); color: var(--ink-soft-on-dark); }
.card__foot { margin-top: auto; padding-top: var(--s-6); }
.card__foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); font-size: var(--t-sm); color: var(--ink-soft-on-dark); }
.card__foot li { display: flex; gap: var(--s-2); align-items: baseline; }
.card__foot li::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; transform: translateY(-2px); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.06) inset; }
  .card:hover::after { transform: scaleX(1); }
}
.card:focus-within { border-color: var(--gold); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } .services__head { grid-template-columns: 1fr; } .services::after { display: none; } }

/* ------------------------------------------------------------ process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); margin: var(--s-8) 0 0; padding: 0; list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: #C9C9C9; }
.step { position: relative; }
.step__dot { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--charcoal); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.35rem; box-shadow: 0 0 0 8px var(--light); font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--t-lg); margin-top: var(--s-5); }
.step p { margin-top: var(--s-2); color: var(--ink-soft-on-light); font-size: var(--t-sm); max-width: 30ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-6); padding-left: 0; }
  .steps::before { display: none; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: calc(-1 * var(--s-6)); width: 2px; background: #C9C9C9; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-5); align-items: start; }
  .step h3 { margin-top: .9rem; }
}
.process__cta { margin-top: var(--s-8); display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.process__cta p { color: var(--ink-soft-on-light); }

/* ------------------------------------------------------------ team */
.team { }
.team__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.team__figure { position: relative; margin: 0; }
.team__figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.team__figure::before { content: ""; position: absolute; left: -14px; top: 14px; width: 100%; height: 100%; border: 2px solid var(--light); border-radius: var(--radius); z-index: -1; }
.badge {
  position: absolute; right: -22px; bottom: -22px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--gold); color: var(--charcoal); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: .9rem; line-height: 1.15; letter-spacing: .02em; padding: 1.4rem;
  box-shadow: 0 18px 30px -16px rgba(17,17,17,.6); border: 6px solid var(--white);
}
.badge svg { width: 24px; height: 24px; margin-bottom: 4px; }
.checks { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); align-items: start; }
.checks li svg { width: 28px; height: 28px; color: var(--gold-ink); }
.checks strong { display: block; font-family: var(--display); font-weight: 700; font-size: var(--t-base); }
.checks span { color: var(--ink-soft-on-light); font-size: var(--t-sm); }
@media (max-width: 900px) { .team__grid { grid-template-columns: 1fr; } .team__figure { max-width: 520px; } .badge { right: 8px; bottom: -22px; } }

/* ------------------------------------------------------------ testimonial */
.testimonial { text-align: center; overflow: hidden; padding-block: clamp(3.5rem, 5.5vw, 5rem); }
.testimonial::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .14; pointer-events: none; }
.testimonial .wrap { position: relative; z-index: 1; max-width: 1080px; }
.rule { width: 72px; height: 2px; background: var(--gold); margin-inline: auto; }
.quote-mark { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .6; color: var(--gold); margin-top: var(--s-7); height: .55em; }
.testimonial blockquote { margin: var(--s-5) auto 0; max-width: 66ch; }
.testimonial blockquote p { font-family: var(--display); font-weight: 600; font-size: var(--t-xl); line-height: 1.3; color: var(--white); text-wrap: balance; }
.testimonial figcaption { margin-top: var(--s-6); color: var(--ink-soft-on-dark); font-size: var(--t-sm); }
.testimonial figcaption strong { color: var(--white); font-family: var(--display); font-weight: 700; display: block; }
.testimonial .rule--bottom { margin-top: var(--s-6); }

/* ------------------------------------------------------------ estimate */
.estimate__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 4vw, 4rem); align-items: start; }
.contact-block { margin-top: var(--s-7); display: grid; gap: var(--s-5); }
.contact-block a.phone { font-family: var(--display); font-weight: 800; font-size: var(--t-2xl); letter-spacing: -.02em; text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-3); }
.contact-block a.phone svg { width: .8em; height: .8em; color: var(--gold-ink); }
.contact-block .meta { color: var(--ink-soft-on-light); font-size: var(--t-sm); }
.contact-block .meta strong { font-family: var(--display); font-weight: 700; color: var(--ink-on-light); display: block; margin-bottom: 2px; }
.form-card {
  background: var(--white); border: 1px solid var(--line-on-light); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: 0 30px 50px -30px rgba(17,17,17,.35), 0 2px 6px rgba(17,17,17,.06);
  position: relative;
}
.form-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--gold); }
.form-card h3 { font-size: var(--t-xl); }
.form-card > p { color: var(--ink-soft-on-light); font-size: var(--t-sm); margin-top: var(--s-2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-6); }
.form[hidden] { display: none; }
.field { display: grid; gap: var(--s-1); }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-weight: 600; font-size: var(--t-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft-on-light); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem .95rem; border: 1px solid #BDBDBD; border-radius: var(--radius); background: var(--white);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(245,179,1,.55); }
.field input:user-invalid, .field select:user-invalid { border-color: #B3261E; }
.form .btn { grid-column: 1 / -1; margin-top: var(--s-2); }
.form__note { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--steel); text-align: center; display: flex; justify-content: center; align-items: center; gap: var(--s-2); }
.form__note svg { width: 14px; height: 14px; }
.form__done { display: none; padding: var(--s-6) 0 var(--s-2); }
.form__done.is-shown { display: block; }
.form__done .tick { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--charcoal); }
.form__done .tick svg { width: 28px; height: 28px; }
.form__done h4 { font-size: var(--t-lg); margin-top: var(--s-4); }
.form__done p { color: var(--ink-soft-on-light); margin-top: var(--s-2); }
@media (max-width: 900px) { .estimate__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .field--full { grid-column: auto; } .form .btn, .form__note { grid-column: auto; } }


/* ------------------------------------------------------------ two-tone headings */
.h2 .soft { display: block; font-weight: 600; color: var(--steel); }
.dark .h2 .soft { color: var(--ink-soft-on-dark); }

/* ------------------------------------------------------------ trust strip */
.strip { background: var(--white); border-bottom: 1px solid var(--line-on-light); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip li { display: flex; align-items: center; gap: var(--s-3); padding: 1.35rem var(--s-5); font-family: var(--display); font-weight: 600; font-size: var(--t-sm); color: var(--ink-on-light); border-left: 1px solid var(--line-on-light); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip li svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
@media (max-width: 960px) { .strip ul { grid-template-columns: 1fr 1fr; } .strip li { border-left: 0; border-top: 1px solid var(--line-on-light); padding-inline: 0; } .strip li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .strip ul { grid-template-columns: 1fr; } .strip li { padding-block: .9rem; } .strip li:nth-child(2) { border-top: 1px solid var(--line-on-light); } }

/* ------------------------------------------------------------ before / after */
.compare__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: var(--s-6); }
.compare__head .lede { max-width: 38ch; margin-top: var(--s-4); }
.cmp { position: relative; margin-top: var(--s-7); aspect-ratio: 16 / 9; overflow: hidden; background: var(--slate); user-select: none; -webkit-user-select: none; border-radius: var(--radius); box-shadow: 0 30px 50px -30px rgba(17,17,17,.5); --pos: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.cmp__handle { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--charcoal); transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; box-shadow: 0 8px 20px -6px rgba(0,0,0,.6), 0 0 0 3px rgba(255,255,255,.9); }
.cmp__handle svg { width: 26px; height: 26px; }
.cmp__label { position: absolute; top: var(--s-4); font-family: var(--display); font-weight: 700; font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; padding: .45rem .7rem; background: rgba(17,17,17,.82); color: var(--white); border-radius: var(--radius); pointer-events: none; }
.cmp__label--before { left: var(--s-4); }
.cmp__label--after { right: var(--s-4); background: var(--gold); color: var(--charcoal); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp:focus-within .cmp__handle { box-shadow: 0 8px 20px -6px rgba(0,0,0,.6), 0 0 0 3px var(--gold), 0 0 0 6px rgba(255,255,255,.9); }
.compare__foot { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-4); font-size: var(--t-sm); color: var(--ink-soft-on-light); }
.compare__foot .hint { font-family: var(--display); font-weight: 600; color: var(--ink-on-light); display: inline-flex; align-items: center; gap: var(--s-2); }
@media (max-width: 900px) { .compare__head { grid-template-columns: 1fr; } .cmp { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------ faq */
.faq { border-top: 1px solid var(--line-on-light); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--header-h-compact) + 2rem); }
.faq__list { border-top: 1px solid var(--line-on-light); }
.faq__list details { border-bottom: 1px solid var(--line-on-light); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 1.25rem 0; font-family: var(--display); font-weight: 700; font-size: var(--t-lg); line-height: 1.25; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .plus { flex: none; width: 32px; height: 32px; border: 2px solid var(--charcoal); border-radius: 50%; display: grid; place-items: center; transition: background-color 140ms var(--ease), transform 200ms var(--ease); }
.faq__list summary .plus svg { width: 14px; height: 14px; }
.faq__list details[open] summary .plus { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.faq__list summary:hover .plus { background: var(--gold); border-color: var(--gold); }
.faq__list summary:focus-visible { outline-offset: -3px; }
.faq__list .faq__a { padding: 0 3.5rem 1.5rem 0; color: var(--ink-soft-on-light); max-width: 62ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid > div:first-child { position: static; } }

/* ------------------------------------------------------------ estimate checks */
.assure { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.assure li { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--display); font-weight: 600; font-size: var(--t-sm); }
.assure svg { width: 18px; height: 18px; color: var(--gold-ink); }

/* ------------------------------------------------------------ footer */
.footer { background: var(--charcoal); color: var(--ink-soft-on-dark); padding-top: var(--section); border-top: 1px solid var(--line-on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--s-7) var(--s-6); }
.footer__logo { display: block; color: var(--white); width: min(100%, 250px); }
.footer__logo svg { width: 100%; height: auto; display: block; }
.footer__tag { font-family: var(--display); font-weight: 800; font-size: var(--t-lg); color: var(--white); margin-top: var(--s-5); letter-spacing: -.01em; }
.footer__tag span { color: var(--gold); }
.footer__blurb { font-size: var(--t-sm); margin-top: var(--s-3); max-width: 34ch; color: var(--ink-soft-on-dark); }
.footer h4 { font-size: var(--t-sm); font-weight: 700; color: var(--white); letter-spacing: .06em; text-transform: uppercase; }
.footer ul { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-2); font-size: var(--t-sm); }
.footer a { text-decoration: none; color: var(--ink-soft-on-dark); transition: color 120ms var(--ease); }
.footer a:hover { color: var(--gold); }
.footer .btn--gold, .footer .btn--gold:hover { color: var(--charcoal); }
.footer .hours { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-4); }
.footer__cta { margin-top: var(--s-5); }
.footer__bar { margin-top: var(--section); border-top: 4px solid var(--gold); }
.footer__bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-5); font-size: var(--t-xs); color: #9A9A9A; }
.footer__bar a { color: var(--ink-soft-on-dark); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* form send failure message (set by site.js when the form service rejects or can't be reached) */
form p.form__error { grid-column: 1 / -1; margin: 0; padding: .75rem 1rem; border-left: 3px solid #B42318; background: #FEF3F2; color: #7A271A; font-size: var(--t-sm); }
form p.form__error a { color: inherit; font-weight: 700; }

/* get started and contact sections run wider than the page column on desktop, like the foundation section */
@media (min-width: 901px) { .wrap.estimate__grid, .wrap.contact-grid { max-width: calc(var(--maxw) + 260px); } }
.nowrap { white-space: nowrap; }

/* ============================================================ multi-page additions */

/* header logo is now the supplied PNG */
.header__logo img { height: 100%; width: auto; display: block; }
.footer__logo img { width: 100%; height: auto; display: block; }

/* current page in nav (set at build) */
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* services dropdown */
.nav > li { position: relative; }
.nav__toggle { background: none; border: 0; padding: .5rem 0; margin: 0; font-family: var(--display); font-weight: 600; font-size: .86rem; letter-spacing: .02em; color: var(--ink-soft-on-dark); cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; position: relative; transition: color 140ms var(--ease); }
.nav__toggle svg { width: 11px; height: 11px; transition: transform 160ms var(--ease); }
.nav__toggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.nav > li:hover .nav__toggle, .nav > li:focus-within .nav__toggle, .nav__toggle[aria-expanded="true"], .nav__toggle[aria-current="page"] { color: var(--white); }
.nav__toggle[aria-current="page"]::after, .nav > li:hover .nav__toggle::after { transform: scaleX(1); }
.nav > li:hover .nav__toggle svg, .nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__drop { position: absolute; top: calc(100% + .35rem); left: -1.25rem; min-width: 250px; margin: 0; padding: .5rem 0; list-style: none; background: var(--slate); border: 1px solid var(--line-on-dark); border-top: 3px solid var(--gold); box-shadow: 0 24px 40px -20px rgba(0,0,0,.85); z-index: 60; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s linear 160ms; }
.nav > li:hover .nav__drop, .nav > li:focus-within .nav__drop, .nav > li.is-open .nav__drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__drop li + li { border-top: 1px solid var(--line-on-dark); }
.nav__drop a { display: block; padding: .8rem 1.25rem; font-size: .9rem; color: var(--white); }
.nav__drop a::after { display: none; }
.nav__drop a:hover, .nav__drop a:focus-visible { background: rgba(255,255,255,.06); color: var(--gold); }
.mobile-panel .sub { padding-left: 1.25rem; font-size: 1rem !important; font-weight: 600 !important; color: var(--ink-soft-on-dark) !important; }

/* inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--charcoal); color: var(--white); padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .14; pointer-events: none; z-index: -1; }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; 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: 96px 96px; mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); }
.page-hero__mark { position: absolute; z-index: -1; pointer-events: none; right: -6%; top: 50%; width: clamp(340px, 38vw, 620px); aspect-ratio: 1; transform: translateY(-50%); color: var(--gold); opacity: .06; }
.page-hero__mark svg { width: 100%; height: 100%; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: var(--t-3xl); font-weight: 800; margin-top: var(--s-4); max-width: 16ch; }
.page-hero--wide h1 { max-width: 22ch; }
.page-hero__lede { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-soft-on-dark); margin-top: var(--s-5); max-width: 52ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.page-hero--compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.page-hero--compact h1 { font-size: var(--t-2xl); }
.page-hero .hero__edge { z-index: 1; }
@media (max-width: 600px) { .page-hero h1 { font-size: var(--t-2xl); } .page-hero__ctas .btn { width: 100%; } }

/* long-copy layout: prose + sticky aside */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h-compact) + 1.5rem); }
.aside-card { background: var(--charcoal); color: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); position: relative; box-shadow: 0 32px 56px -28px rgba(17,17,17,.55); }
.aside-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--gold); }
.aside-card h2, .aside-card h3 { font-size: var(--t-lg); }
.aside-card p { color: var(--ink-soft-on-dark); font-size: var(--t-sm); margin-top: var(--s-3); }
.aside-card .phone { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--display); font-weight: 800; font-size: var(--t-xl); letter-spacing: -.02em; color: var(--white); text-decoration: none; margin-top: var(--s-4); }
.aside-card .phone svg { width: .8em; height: .8em; color: var(--gold); }
.aside-card .btn { width: 100%; margin-top: var(--s-5); }
.aside-card ul { list-style: none; margin: var(--s-5) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line-on-dark); display: grid; gap: var(--s-2); font-size: var(--t-sm); color: var(--ink-soft-on-dark); }
.aside-card li { display: flex; gap: var(--s-2); align-items: center; }
.aside-card li svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.aside-card .hours { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--ink-soft-on-dark); }
.aside-card .hours strong { color: var(--white); display: block; font-family: var(--display); font-weight: 700; margin-bottom: 2px; }
.article > * { min-width: 0; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

.prose { max-width: 68ch; color: var(--ink-soft-on-light); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--t-xl); color: var(--ink-on-light); margin-top: var(--s-7); }
.prose h3 { font-size: var(--t-lg); color: var(--ink-on-light); margin-top: var(--s-6); font-weight: 600; }
.prose h2 + p, .prose h3 + p { margin-top: var(--s-3); }
.prose p { margin-top: var(--s-4); }
.prose ul, .prose ol { margin: var(--s-4) 0 0; padding-left: 1.3rem; }
.prose li { padding-left: .2rem; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--gold-ink); font-weight: 700; }
.prose a:not(.btn) { color: var(--gold-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:not(.btn):hover { color: var(--ink-on-light); }
.prose .btn { margin-top: var(--s-5); }
.prose strong { color: var(--ink-on-light); }
.prose .lead { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-on-light); }
.prose--wide { max-width: 76ch; }
.prose .callout { margin-top: var(--s-6); padding: var(--s-5) var(--s-5); background: var(--paper); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.prose .callout p { margin-top: 0; }
.prose .callout p + p { margin-top: var(--s-3); }

/* tables */
.table { width: 100%; border-collapse: collapse; margin-top: var(--s-5); font-size: var(--t-sm); }
.table th, .table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line-on-light); vertical-align: top; }
.table th { font-family: var(--display); font-weight: 700; font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft-on-light); border-bottom-width: 2px; }
.table td:first-child { font-family: var(--display); font-weight: 600; color: var(--ink-on-light); white-space: nowrap; }
.table tr:hover td { background: var(--paper); }
.table-wrap { overflow-x: auto; }
.table .num { font-family: var(--display); font-weight: 800; color: var(--gold-ink); font-variant-numeric: tabular-nums; }

/* link tiles (services, locations) */
.linklist { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding: .95rem 1.1rem; background: var(--white); border: 1px solid var(--line-on-light); border-radius: var(--radius); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: var(--t-sm); color: var(--ink-on-light); transition: border-color 140ms var(--ease), transform 160ms var(--ease); }
.linklist a small { display: block; font-family: var(--text); font-weight: 400; font-size: var(--t-xs); color: var(--ink-soft-on-light); margin-top: 1px; }
.linklist a .arr { color: var(--gold-ink); flex: none; transition: transform 160ms var(--ease); }
.linklist a:hover { border-color: var(--gold); transform: translateY(-2px); }
.linklist a:hover .arr { transform: translateX(3px); }
.dark .linklist a { background: var(--slate); border-color: var(--steel); color: var(--white); }
.dark .linklist a small { color: var(--ink-soft-on-dark); }
.dark .linklist a .arr { color: var(--gold); }
.linklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.linklist + .textlink { margin-top: var(--s-6); }
@media (max-width: 960px) { .linklist, .linklist--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .linklist, .linklist--3 { grid-template-columns: 1fr; } }

/* grouped areas on service-areas page */
.area-group + .area-group { margin-top: var(--s-8); }
.area-group h2 { font-size: var(--t-xl); }
.area-group p { margin-top: var(--s-3); color: var(--ink-soft-on-light); max-width: 62ch; }
.area-group .linklist { margin-top: var(--s-5); }

/* dark CTA band (inner pages) */
.cta-band { text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .14; pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; max-width: 820px; }
.cta-band h2 { font-size: var(--t-2xl); margin-top: var(--s-5); }
.cta-band p { margin-top: var(--s-4); font-size: var(--t-lg); color: var(--ink-soft-on-dark); }
.cta-band .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.cta-band .rule--bottom { margin-top: var(--s-7); }

/* promise (replaces testimonial) */
.promise__mark { width: 44px; height: 44px; color: var(--gold); margin: var(--s-5) auto 0; }
.promise__mark svg { width: 100%; height: 100%; }
.promise__by { margin-top: var(--s-5); color: var(--ink-soft-on-dark); font-size: var(--t-sm); }
.testimonial .eyebrow { justify-content: center; }
.testimonial .eyebrow::before { display: none; }

/* home service card link */
.card .card__link { margin-top: var(--s-5); align-self: flex-start; color: var(--gold); border-bottom-color: var(--gold); }

/* faq page (H2 questions, plain answers) */
.faq-page { max-width: 76ch; }
.faq-page .qa { padding: var(--s-6) 0; border-top: 1px solid var(--line-on-light); }
.faq-page .qa:last-child { border-bottom: 1px solid var(--line-on-light); }
.faq-page .qa h2 { font-size: var(--t-xl); }
.faq-page .qa p { margin-top: var(--s-3); color: var(--ink-soft-on-light); }
.faq-page .qa p + p { margin-top: var(--s-3); }

/* what's included / feature grid on service pages */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.feature { padding: var(--s-5); border: 1px solid var(--line-on-light); background: var(--white); border-radius: var(--radius); }
.feature h3 { font-size: var(--t-base); display: flex; gap: var(--s-3); align-items: center; }
.feature h3 svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
.feature p { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--ink-soft-on-light); }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.member { display: grid; grid-template-columns: 72px 1fr; gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--line-on-light); background: var(--white); border-radius: var(--radius); }
.member__avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--charcoal); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; }
.member h3 { font-size: var(--t-lg); }
.member .role { font-family: var(--display); font-weight: 600; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-top: 2px; }
.member p { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-soft-on-light); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* careers */
.job { padding: var(--s-6) 0; border-top: 1px solid var(--line-on-light); }
.job:last-of-type { border-bottom: 1px solid var(--line-on-light); }
.job h2 { font-size: var(--t-xl); }
.job .meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-2); font-family: var(--display); font-weight: 600; font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft-on-light); }
.job h3 { font-size: var(--t-base); margin-top: var(--s-5); }
.job p, .job ul { margin-top: var(--s-3); color: var(--ink-soft-on-light); }
.job ul { padding-left: 1.3rem; }
.job li + li { margin-top: var(--s-1); }
.job li::marker { color: var(--gold-ink); }
.job .btn { margin-top: var(--s-5); }

/* steps on thank-you / location pages (compact) */
.next-steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-4); align-items: start; }
.next-steps li::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--charcoal); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.next-steps strong { display: block; font-family: var(--display); font-weight: 700; color: var(--ink-on-light); }
.next-steps span { font-size: var(--t-sm); color: var(--ink-soft-on-light); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 4vw, 4rem); align-items: start; }
.nap { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.nap li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); align-items: start; }
.nap li svg { width: 44px; height: 44px; padding: 11px; background: var(--charcoal); color: var(--gold); border-radius: var(--radius); }
.nap strong { display: block; font-family: var(--display); font-weight: 700; }
.nap span, .nap a { color: var(--ink-soft-on-light); font-size: var(--t-sm); }
.nap a { text-decoration: none; }
.nap a:hover { color: var(--gold-ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* legal prose width */
.legal .prose { max-width: 74ch; }
.legal .updated { font-family: var(--display); font-weight: 600; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft-on-light); margin-bottom: var(--s-5); }

/* footer additions */
.footer .hours { margin-top: var(--s-3); }
.footer__nap { margin-top: var(--s-5); font-size: var(--t-sm); display: grid; gap: var(--s-1); }
.footer__nap a { color: var(--white); }

/* compact lead form inside the sticky aside card */
.aside-form { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.aside-form .field label { color: var(--ink-soft-on-dark); }
.aside-form .field input, .aside-form .field select { background: var(--white); color: var(--charcoal); border-color: transparent; padding: .8rem .9rem; }
.aside-form .field input:focus, .aside-form .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,179,1,.35); }
.aside-form .btn { margin-top: var(--s-2); }
.aside-form__note { font-size: var(--t-xs); color: var(--ink-soft-on-dark); display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin-top: 0 !important; }
.aside-form__note svg { width: 13px; height: 13px; }
.aside-card__or { margin-top: var(--s-5) !important; padding-top: var(--s-4); border-top: 1px solid var(--line-on-dark); font-family: var(--display); font-weight: 600; font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft-on-dark); }
.aside-card .phone { margin-top: var(--s-2); }

/* hero form card (homepage) */
.panel--form { width: min(100%, 620px); padding: 0; }
@media (min-width: 1081px) { .hero .panel--form { width: calc(100% + min(80px, max(0px, (100vw - var(--maxw)) / 2 + var(--gutter) - 56px))); max-width: 640px; margin-right: calc(-1 * min(80px, max(0px, (100vw - var(--maxw)) / 2 + var(--gutter) - 56px))); } }
.panel__head { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5) var(--s-5) var(--s-4); border-bottom: 1px solid var(--line-on-dark); }
.panel__head .panel__disc { width: 52px; height: 52px; }
.panel__head .panel__disc svg { width: 32px; height: 32px; }
.panel__head .panel__title { font-size: var(--t-lg); }
.panel__head .panel__sub { font-size: var(--t-xs); margin-top: var(--s-1); }
.panel--form::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--gold); }
.hero-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); padding: var(--s-4) var(--s-5) var(--s-7); }
.hero-form .field label { color: var(--ink-soft-on-dark); }
.hero-form .field input, .hero-form .field select { background: var(--white); color: var(--charcoal); border-color: transparent; padding: .8rem .9rem; }
.hero-form .field input:focus, .hero-form .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,179,1,.35); }
.hero-form .btn, .hero-form .form__note { grid-column: 1 / -1; }
.hero-form .btn { margin-top: var(--s-2); }
.hero-form .form__note { color: var(--ink-soft-on-dark); }
@media (max-width: 960px) { .panel--form { width: min(100%, 520px); } }
@media (max-width: 480px) { .hero-form { grid-template-columns: 1fr; } }

/* ============================================================ services tabs */
.svc { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-8); align-items: stretch; }
.svc > *, .svc__panel > * { min-width: 0; }
.svc__side { display: flex; flex-direction: column; gap: var(--s-3); }
.svc__tabs { display: flex; flex-direction: column; gap: var(--s-3); }
.svc__help { margin-top: auto; padding: 1.15rem 1.25rem; border: 1px dashed var(--steel); border-radius: var(--radius); color: var(--ink-soft-on-dark); font-size: var(--t-sm); }
.svc__help strong { color: var(--white); font-family: var(--display); font-weight: 700; }
.svc__help a { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); font-family: var(--display); font-weight: 700; color: var(--gold); text-decoration: none; }
.svc__help a svg { width: 16px; height: 16px; }
.svc__help a:hover { color: var(--white); }
.svc__tab { position: relative; flex: 0 0 auto; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: var(--s-4); text-align: left; padding: 1.15rem 1.25rem; margin: 0; background: transparent; border: 1px solid var(--line-on-dark); border-radius: var(--radius); color: var(--ink-soft-on-dark); cursor: pointer; font: inherit; overflow: hidden; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.svc__tab:hover { border-color: var(--steel); color: var(--white); }
.svc__tab:focus-visible { outline-offset: 2px; }
.svc__tab.is-active { background: var(--slate); border-color: var(--gold); color: var(--white); }
.svc__num { font-family: var(--display); font-weight: 800; font-size: var(--t-xs); letter-spacing: .08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.svc__icon { width: 44px; height: 44px; border-radius: var(--radius); background: rgba(255,255,255,.06); color: var(--gold); display: grid; place-items: center; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.svc__icon svg { width: 24px; height: 24px; }
.svc__tab.is-active .svc__icon { background: var(--gold); color: var(--charcoal); }
.svc__label strong { display: block; font-family: var(--display); font-weight: 700; font-size: var(--t-base); line-height: 1.2; }
.svc__label small { display: block; font-size: var(--t-xs); color: var(--ink-soft-on-dark); margin-top: 3px; }
.svc__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.svc[data-playing] .svc__tab.is-active .svc__bar { animation: svcbar var(--svc-interval, 6000ms) linear forwards; }
@keyframes svcbar { to { transform: scaleX(1); } }
.svc__panels { position: relative; background: var(--slate); border: 1px solid var(--line-on-dark); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0,0,0,.9); }
.svc__panel { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; }
.svc__panel.is-active { position: relative; opacity: 1; visibility: visible; transition-delay: 0s; }
.svc__media { position: relative; min-height: 340px; background: var(--charcoal); overflow: hidden; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.svc__media--diagram { background: #111111; }
.svc__media--diagram .diagram { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.svc__panel.is-active .svc__media--diagram .diagram { animation: svcimg 700ms var(--ease) both; }

/* ============================================================ photo cards ("What we do") */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-8); }
.pcard { display: flex; flex-direction: column; background: var(--slate); border: 1px solid var(--steel); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; transition: border-color 180ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; display: block; transition: transform 700ms var(--ease); }
.pcard__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.pcard__badge { position: absolute; top: var(--s-4); left: var(--s-4); background: var(--gold); color: var(--charcoal); font-family: var(--display); font-weight: 800; font-size: var(--t-xs); letter-spacing: .12em; padding: .45rem .65rem; border-radius: var(--radius); }
.pcard__go { position: absolute; right: var(--s-4); bottom: var(--s-4); width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--charcoal); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.7); transition: transform 180ms var(--ease), background-color 180ms var(--ease); }
.pcard__go svg { width: 20px; height: 20px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.4rem, 2.4vw, 2rem); }
.pcard__kicker { font-family: var(--display); font-weight: 600; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pcard h3 { font-size: var(--t-xl); margin-top: var(--s-2); }
.pcard h3 a { color: var(--white); text-decoration: none; }
.pcard__body > p:not(.pcard__kicker) { margin-top: var(--s-3); color: var(--ink-soft-on-dark); }
.pcard__list { list-style: none; margin: var(--s-5) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line-on-dark); display: grid; gap: var(--s-2); }
.pcard__list li { display: flex; gap: var(--s-3); align-items: baseline; font-size: var(--t-sm); color: var(--ink-soft-on-dark); }
.pcard__list li::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; transform: translateY(-2px); }
.pcard__link { margin-top: auto; padding-top: var(--s-5); align-self: flex-start; color: var(--gold); border-bottom-color: var(--gold); }
.pcard__link { border-bottom: 0; }
.pcard__link .arr { transition: transform 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 30px 50px -28px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06) inset; }
  .pcard:hover .pcard__media img { transform: scale(1.05); }
  .pcard:hover .pcard__media::after { transform: scaleX(1); }
  .pcard:hover .pcard__go { background: var(--gold); transform: translate(2px, -2px); }
  .pcard:hover .pcard__link .arr { transform: translateX(4px); }
}
.pcard:focus-within { border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard__media img, .pcard__go { transition: none; } }
@media (max-width: 960px) { .pcards { grid-template-columns: 1fr; max-width: 560px; } }

/* foundations section */
.foundations { overflow: hidden; }
.foundations::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .14; pointer-events: none; }
.foundations .wrap { position: relative; z-index: 1; }
.svc__panel.is-active .svc__media img { animation: svcimg 900ms var(--ease) both; }
@keyframes svcimg { from { transform: scale(1.05); opacity: .6; } to { transform: none; opacity: 1; } }
.svc__badge { position: absolute; top: var(--s-4); left: var(--s-4); background: var(--gold); color: var(--charcoal); font-family: var(--display); font-weight: 800; font-size: var(--t-xs); letter-spacing: .12em; padding: .45rem .65rem; border-radius: var(--radius); }
.svc__go { position: absolute; right: var(--s-4); bottom: var(--s-4); width: 50px; height: 50px; border-radius: 50%; background: var(--white); color: var(--charcoal); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.7); transition: transform 160ms var(--ease), background-color 160ms var(--ease); }
.svc__go svg { width: 22px; height: 22px; }
.svc__go:hover { background: var(--gold); transform: translate(2px, -2px); }
.svc__body { padding: clamp(1.5rem, 2.6vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line-on-dark); }
.svc__body h3 { font-size: var(--t-xl); color: var(--white); margin-top: var(--s-3); max-width: 26ch; }
.svc__body > p:not(.eyebrow) { margin-top: var(--s-3); color: var(--ink-soft-on-dark); max-width: 60ch; }
.svc__list { list-style: none; margin: var(--s-5) 0 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--line-on-dark); display: grid; gap: var(--s-2); }
.svc__list li { display: flex; gap: var(--s-3); align-items: baseline; font-size: var(--t-sm); color: var(--ink-soft-on-dark); }
.svc__list li::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; transform: translateY(-2px); }
.svc__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.svc__panel.is-active .svc__body > * { animation: svcin 520ms var(--ease) both; }
.svc__panel.is-active .svc__body > :nth-child(2) { animation-delay: 60ms; }
.svc__panel.is-active .svc__body > :nth-child(3) { animation-delay: 120ms; }
.svc__panel.is-active .svc__body > :nth-child(4) { animation-delay: 180ms; }
.svc__panel.is-active .svc__body > :nth-child(5) { animation-delay: 240ms; }
@keyframes svcin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .svc__panel, .svc__panel.is-active .svc__media img, .svc__panel.is-active .svc__body > * { animation: none !important; transition: none !important; }
}
@media (min-width: 1081px) {
  .foundations > .wrap { max-width: calc(var(--maxw) + 260px); }   /* wider than the page column, centered */
}
@media (max-width: 1080px) {
  .svc { grid-template-columns: 1fr; gap: var(--s-4); }
  .svc__help { display: none; }
  .svc__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .svc__tabs::-webkit-scrollbar { display: none; }
  .svc__tab { grid-template-columns: auto 1fr; min-width: 230px; flex: 1 0 auto; }
  .svc__num { display: none; }
}
@media (max-width: 760px) {
  .svc__panel { grid-template-columns: 1fr; }
  .svc__media { min-height: 0; height: min(62vw, 320px); }
  .svc__media--diagram { height: min(96vw, 400px); }
  .svc__body { border-left: 0; border-top: 1px solid var(--line-on-dark); }
  .svc__tab { min-width: 170px; padding: .85rem 1rem; gap: var(--s-3); }
  .svc__icon { width: 36px; height: 36px; } .svc__icon svg { width: 20px; height: 20px; }
  .svc__label small { display: none; }
  .svc__ctas .btn { width: 100%; }
}
