/* ==========================================================================
   Ventraa Electrical — site styles (shared design system with Ventraa Plumbing; light blue replaced with titanium grey)
   Brand tokens live in :root. Change a value here and it updates everywhere.
   ========================================================================== */

:root {
  /* Brand navy (variable names kept from the earlier charcoal theme) */
  --char-950: #020118;
  --char-900: #030220;   /* brand navy */
  --char-850: #06052B;
  --char-800: #0A0936;
  --char-700: #131247;
  --char-600: #1E1D5A;
  /* Silver */
  --silver-600: #6F7480;
  --silver-500: #8D929C;
  --silver-400: #A6ABB2;
  --silver-300: #BBBFC0;   /* brand silver-grey */
  --silver-200: #D9DCDD;
  --silver-100: #ECEEEF;
  /* Light surfaces */
  --paper: #C9CDCE;      /* brand silver-grey, slightly lifted for reading */
  --paper-2: #BBBFC0;
  --white: #FFFFFF;
  /* Text */
  --ink: #030220;
  --text-lt: #1B1C3F;       /* body on light */
  --muted-lt: #3D4060;      /* secondary on light */
  --text-dk: #CDD0D6;       /* body on navy */
  --muted-dk: #979CAB;      /* secondary on navy */
  /* Lines */
  --line-lt: #A9AEB1;
  --line-dk: rgba(187, 191, 192, .16);
  --line-dk-strong: rgba(187, 191, 192, .32);
  /* Chrome silver — highlight colour */
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #F1F2F3 45%, #D2D5D7 100%);
  --chrome-hover: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 45%, #E2E4E6 100%);
  --chrome-flat: #BBBFC0;
  --steel-dark: #131247;   /* navy accent on light backgrounds */
  /* Brushed steel */
  --steel: linear-gradient(180deg, #F4F5F7 0%, #D5D9DE 48%, #B7BDC5 100%);
  --steel-hover: linear-gradient(180deg, #FFFFFF 0%, #E3E6EA 48%, #C6CBD2 100%);
  --steel-line: linear-gradient(90deg, rgba(196, 201, 208, 0), rgba(196, 201, 208, .7) 20%, rgba(196, 201, 208, .7) 80%, rgba(196, 201, 208, 0));

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dk);
  background: var(--char-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; color: var(--white); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--silver-300); color: var(--ink); }
:focus-visible { outline: 2px solid var(--silver-300); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; background: var(--white); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--deep { background: var(--char-950); }
.section--char { background: var(--char-900); }
.section--graphite { background: var(--char-850); }

/* Light sections */
.light { background: var(--paper); color: var(--text-lt); }
.light h1, .light h2, .light h3 { color: var(--ink); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
  font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--silver-400);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .8; }
.light .eyebrow { color: var(--steel-dark); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--text-dk); }
.light .lead { color: var(--text-lt); }
.muted { color: var(--muted-dk); }
.light .muted { color: var(--muted-lt); }

.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head p { max-width: 34em; margin: 18px 0 0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Placeholders ----------
   Discreet by default. Add ?review to any page URL to highlight them all. */
.ph {
  color: var(--silver-300);
  font-style: italic;
  border-bottom: 1px dotted currentColor;
}
.light .ph { color: var(--silver-600); }
.review .ph { background: #FFE98A; color: #4A3900 !important; font-style: normal; outline: 1px dashed #B58A00; border: 0; padding: 0 .25em; }
.review [data-todo] { outline: 2px dashed #E0B400; outline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 16px 32px;
  font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background .4s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn--chrome { background: var(--chrome); color: var(--ink); border-color: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 6px 20px rgba(0, 0, 0, .35); }
.btn--chrome:hover { background: var(--chrome-hover); color: var(--ink); }
.light .btn--chrome { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .12), 0 6px 16px rgba(0, 0, 0, .12); }
.btn--outline-pill { color: var(--white); border-color: rgba(201, 206, 213, .6); background: rgba(255, 255, 255, .04); }
.btn--outline-pill:hover { background: rgba(255, 255, 255, .1); border-color: var(--silver-200); }
.btn--line { color: var(--white); border-color: var(--line-dk-strong); background: transparent; }
.btn--line:hover { border-color: var(--silver-300); background: rgba(255, 255, 255, .04); }

.light .btn--line { color: var(--ink); border-color: rgba(3, 2, 32, .35); }
.light .btn--line:hover { border-color: var(--ink); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--silver-200); padding-bottom: 6px; border-bottom: 1px solid var(--line-dk-strong);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--white); border-color: var(--silver-300); }
.link-arrow:hover svg { transform: translateX(4px); }
.light .link-arrow { color: var(--ink); border-color: rgba(3, 2, 32, .3); }
.light .link-arrow:hover { border-color: var(--ink); }

/* Phone-dependent elements stay hidden until a number is set in site.js */
html:not(.has-phone) [data-phone-only] { display: none !important; }

/* ---------- Header ----------
   Chrome silver top bar, then logo | nav | pill buttons. The top bar folds away on scroll. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--char-950); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dk); }

.topbar { overflow: hidden; max-height: 42px; background: var(--chrome); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2); transition: max-height .4s var(--ease); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-item { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.topbar-item svg { width: 16px; height: 16px; color: var(--steel-dark); flex: none; }
.topbar-right { gap: 28px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.topbar-right a:hover { color: var(--steel-dark); }
.topbar-group { color: var(--steel-dark); font-weight: 500; }

.header-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; transition: min-height .4s var(--ease); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 244px; height: auto; transition: width .4s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 16px;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  color: var(--silver-200); transition: color .3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--chrome); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .nav-menu-cta { display: none; }

/* Services dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { padding-right: 4px; }
.nav-item > a::after { right: 4px; }
.sub-toggle {
  display: grid; place-items: center; width: 26px; height: 32px; padding: 0; margin-right: 6px;
  background: none; border: 0; color: var(--silver-400); cursor: pointer;
}
.sub-toggle svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.nav-item:hover .sub-toggle, .sub-toggle:focus-visible { color: var(--white); }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 120; min-width: 270px;
  display: flex; flex-direction: column; padding: 8px;
  background: var(--char-900); border: 1px solid var(--line-dk-strong); border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav-item:hover .sub-menu, .nav-item:focus-within .sub-menu, .nav-item.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .sub-toggle svg, .nav-item.is-open .sub-toggle svg { transform: rotate(180deg); }
.nav-links .sub-menu a {
  padding: 14px 16px; font-size: .92rem; font-weight: 500; color: var(--silver-200);
  border-bottom: 1px solid var(--line-dk); border-radius: 8px;
}
.nav-links .sub-menu a:last-child { border-bottom: 0; }
.nav-links .sub-menu a::after { display: none; }
.nav-links .sub-menu a:hover, .nav-links .sub-menu a:focus-visible { color: var(--ink); background: var(--chrome); border-bottom-color: transparent; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-actions .btn { min-height: 52px; padding: 12px 28px; font-size: .92rem; font-weight: 600; letter-spacing: .01em; text-transform: none; white-space: nowrap; }

.is-scrolled .topbar { max-height: 0; }
.is-scrolled .header-main { min-height: 78px; }
.is-scrolled .brand img { width: 214px; }

.header-mobile { display: none; align-items: center; gap: 6px; }
.header-call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--chrome); text-decoration: none; }
.header-call svg { width: 19px; height: 19px; }
.nav-toggle { display: block; width: 48px; height: 48px; margin-right: -10px; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 1.5px; margin: 0 auto; background: currentColor; transition: transform .35s var(--ease), background .2s, width .35s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; width: 18px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { width: 26px; transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1180px) {
  .brand img { width: 190px; }
  .nav-links a { padding: 10px 11px; font-size: .9rem; }
  .nav-links a::after { left: 11px; right: 11px; }
  .header-actions .btn { padding: 12px 22px; }
  .header-main { gap: 20px; }
}
@media (max-width: 1060px) {
  .header-actions .header-phone { display: none !important; }
}
@media (max-width: 980px) {
  .topbar .wrap { justify-content: center; min-height: 36px; }
  .topbar { max-height: 36px; }
  .topbar-right { display: none; }
  .topbar-item { font-size: .76rem; }
  .header-main, .is-scrolled .header-main { min-height: 70px; gap: 16px; }
  .brand img, .is-scrolled .brand img { width: 178px; }
  .header-actions { display: none; }
  .header-mobile { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100vh - 100%); height: calc(100dvh - 100%); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px var(--gutter) 120px;
    background: var(--char-950);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 20px 0; font-size: 1.3rem; color: var(--silver-200); border-bottom: 1px solid var(--line-dk); }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--white); }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-dk); }
  .nav-item > a { flex: 1; border-bottom: 0; padding-right: 0; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; color: var(--silver-200); }
  .sub-toggle svg { width: 20px; height: 20px; }
  .nav-item:hover .sub-toggle svg { transform: none; }
  .nav-item.is-open .sub-toggle svg { transform: rotate(180deg); }
  .sub-menu, .nav-item:hover .sub-menu, .nav-item:focus-within .sub-menu {
    position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 12px 16px;
    background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .sub-menu::before { display: none; }
  .nav-item.is-open .sub-menu { display: flex; }
  .nav-links .sub-menu a { padding: 12px 0; font-size: 1.02rem; color: var(--silver-300); border-bottom: 0; }
  .nav-links .sub-menu a:hover { background: none; color: var(--white); }
  .nav-links .nav-menu-cta {
    display: flex; justify-content: center; margin-top: 28px; padding: 18px; border: 0; border-radius: 999px;
    background: var(--chrome); color: var(--ink); font-size: 1rem; font-weight: 600;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1100px 620px at 78% 30%, rgba(120, 128, 140, .16), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, var(--char-950) 0%, var(--char-900) 100%);
}
/* Architectural column lines */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line-dk) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .1));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .1));
}
.hero-inner { position: relative; min-height: min(84vh, 800px); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 96px; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin-bottom: 32px; }
.silver-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #C9CED5 55%, #8E959E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { max-width: 33em; margin-bottom: 44px; }
.hero-mark {
  position: absolute; z-index: 1; pointer-events: none;
  right: -4%; top: 50%; width: min(52vw, 700px); transform: translateY(-50%);
}
.hero-mark .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.4s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-mark .draw { stroke-dashoffset: 0; } }
@media (max-width: 900px) {
  .hero-inner { min-height: 0; padding-top: 72px; padding-bottom: 64px; }
  .hero-mark { width: 120vw; right: -62%; top: 26%; opacity: .28; }
}

/* Hero photo: replace assets/img/hero.webp to change it. Remove the "hero--photo" class in index.html to go back to the V line-work hero. */
.hero--photo { background: var(--char-950); }
.hero--photo::before, .hero--photo .hero-mark { display: none; }
.hero-slides { position: absolute; inset: -4% 0 0; z-index: -2; will-change: transform; }
.hero-bg {
  position: absolute; inset: 0;
  background: var(--char-950) center / cover no-repeat;
  opacity: 0; transform: scale(1.1); transform-origin: 60% 40%;
  transition: opacity .8s ease, transform 4s linear;
}
.hero-bg.is-active { opacity: 1; transform: scale(1.02); }
.hero-bg--1 { background-image: url("../img/hero.webp"); background-position: 40% center; }
.hero-bg--2 { background-image: url("../img/hero-2.webp"); background-position: 45% center; }
.hero-bg--3 { background-image: url("../img/hero-3.webp"); background-position: 70% center; }
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(162deg, rgba(2, 1, 24, .9) 0%, rgba(2, 1, 24, .62) 30%, rgba(2, 1, 24, .12) 58%, rgba(2, 1, 24, 0) 100%),
    linear-gradient(0deg, rgba(2, 1, 24, .75) 0%, rgba(2, 1, 24, 0) 24%);
}
.hero--photo .hero-inner { min-height: min(52vw, 860px); justify-content: flex-start; padding-top: clamp(40px, 4.5vw, 72px); padding-bottom: 80px; }
.hero--photo .hero-copy { max-width: 700px; }
.hero--photo h1, .hero--photo .hero-title { font-size: clamp(1.8rem, 3.1vw, 2.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; color: var(--white); margin: 0 0 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero--photo .eyebrow { margin-bottom: 18px; color: var(--silver-200); }
.hero--photo .lead { margin-bottom: 28px; color: var(--white); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
@media (max-width: 900px) {
  .hero--photo::after { background: linear-gradient(180deg, rgba(2, 1, 24, .82) 0%, rgba(2, 1, 24, .55) 45%, rgba(2, 1, 24, .92) 100%); }
  .hero--photo .hero-inner { min-height: 0; padding-top: 48px; padding-bottom: 64px; }
}

/* Facts row */
.facts { position: relative; border-top: 1px solid var(--line-dk); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; }
.fact { padding: 30px 28px 32px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line-dk); }
.fact dt { margin-bottom: 8px; font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-500); }
.fact dd { margin: 0; font-size: .95rem; font-weight: 500; color: var(--white); }
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 22px 16px 22px 0; border-left: 0; }
  .fact:nth-child(2) { padding-left: 18px; border-left: 1px solid var(--line-dk); }
  .fact:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line-dk); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 85% 0%, rgba(120, 128, 140, .14), rgba(0, 0, 0, 0) 60%), var(--char-950);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(64px, 8vw, 110px); }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.page-hero .lead { max-width: 36em; margin: 0; }
.page-hero .hero-mark { width: min(38vw, 460px); right: 2%; top: 56%; }
@media (max-width: 900px) { .page-hero .hero-mark { width: 90vw; right: -48%; opacity: .35; } }

/* ---------- Intro statement ---------- */
.statement { display: grid; grid-template-columns: 1fr 2fr; gap: 24px clamp(40px, 8vw, 120px); }
.statement .big { font-size: clamp(1.4rem, 2.5vw, 2.05rem); line-height: 1.42; font-weight: 400; letter-spacing: -.02em; color: var(--ink); margin-bottom: 40px; }
.statement .big strong { font-weight: 600; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* ---------- About intro (photo + checklist) ---------- */
.about-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px rgba(3, 2, 32, .18); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.about-copy .lead { font-size: 1.05rem; }
.about-copy .lead { margin-bottom: 32px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-bottom: 36px; }
.checks li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--ink); }
.checks svg {
  flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%;
  color: var(--ink); background: var(--chrome); stroke-width: 2.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(3, 2, 32, .14), 0 2px 6px rgba(3, 2, 32, .12);
}
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Services list (editorial rows) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--line-dk-strong); counter-reset: svc; }
.svc {
  position: relative; display: grid; grid-template-columns: 90px 1.1fr 1.3fr 40px; gap: 12px 32px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line-dk); text-decoration: none; color: inherit;
  transition: background .5s var(--ease), padding .5s var(--ease);
}
.svc::before {
  counter-increment: svc; content: counter(svc, decimal-leading-zero);
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; color: var(--silver-500);
}
.svc h3 { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; }
.svc p { margin: 0; font-size: .95rem; color: var(--muted-dk); }
.svc .arrow { width: 22px; height: 22px; color: var(--silver-400); justify-self: end; transition: transform .5s var(--ease), color .3s; }
a.svc:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)); padding-left: 18px; }
a.svc:hover .arrow { transform: translateX(6px); color: var(--white); }
@media (max-width: 860px) {
  .svc { grid-template-columns: 34px 1fr 24px; gap: 10px 16px; padding: 26px 0; }
  .svc p { grid-column: 2 / 3; }
  .svc .arrow { grid-row: 1; grid-column: 3; }
  a.svc:hover { padding-left: 0; }
}

/* ---------- Principles (numbered columns) ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(24px, 3vw, 44px); }
.principle { position: relative; padding-top: 34px; }
.principle::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #9BA0A4; }
.principle::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--char-700); }
.principle .num { display: block; margin-bottom: 30px; font-size: 2.8rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--silver-500); }
.principle h3 { margin-bottom: 12px; font-size: 1.1rem; font-weight: 600; }
.principle p { margin: 0; font-size: .94rem; color: var(--muted-lt); }
.section--char .principle::before, .section--deep .principle::before { background: var(--line-dk-strong); }
.section--char .principle::after, .section--deep .principle::after { background: var(--silver-300); }
.section--char .principle p, .section--deep .principle p { color: var(--muted-dk); }
@media (max-width: 960px) { .principles { grid-template-columns: 1fr 1fr; row-gap: 56px; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; row-gap: 44px; } }

/* ---------- Project frames ---------- */
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.frames--feature { grid-template-columns: 1.5fr 1fr; }
.frames--feature .frame:first-child { grid-row: span 2; }
.frames--feature .frame:first-child .frame-img { aspect-ratio: auto; flex: 1; min-height: 420px; }
.frame { margin: 0; display: flex; flex-direction: column; }
.frame-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--char-800); border-radius: 14px; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover .frame-img img { transform: scale(1.03); }
.frame-img--empty {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, var(--char-700), var(--char-850));
}
/* silver corner marks */
.frame-img--empty::before, .frame-img--empty::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--silver-400); border-style: solid; opacity: .7;
}
.frame-img--empty::before { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.frame-img--empty::after { right: 16px; bottom: 16px; border-width: 0 1px 1px 0; }
.frame-img--empty span { font-size: .64rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--silver-500); }
.frame figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.frame figcaption strong { font-size: .98rem; font-weight: 500; color: var(--white); }
.frame figcaption > span { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-500); text-align: right; }
.light .frame-img--empty { background: linear-gradient(160deg, #B9BDBF, #A9AEB1); }
.light .frame-img--empty span { color: var(--silver-600); }
.light .frame-img--empty::before, .light .frame-img--empty::after { border-color: var(--silver-600); }
.light .frame figcaption strong { color: var(--ink); }
@media (max-width: 860px) {
  .frames, .frames--feature { grid-template-columns: 1fr 1fr; }
  .frames--feature .frame:first-child { grid-column: 1 / -1; grid-row: auto; }
  .frames--feature .frame:first-child .frame-img { min-height: 0; flex: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .frames, .frames--feature { grid-template-columns: 1fr; } .frame figcaption { flex-direction: column; gap: 4px; } .frame figcaption > span { text-align: left; } }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.area-list { list-style: none; margin-top: 36px; border-top: 1px solid var(--line-lt); }
.area-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-lt); font-weight: 500; color: var(--ink); }
.area-graphic { width: 100%; max-width: 500px; justify-self: end; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } .area-graphic { justify-self: center; max-width: 360px; } }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dk-strong); counter-reset: st; }
.process li { position: relative; padding: 36px 28px 8px 0; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line-dk); }
.process li::before { counter-increment: st; content: "Step " counter(st, decimal-leading-zero); display: block; margin-bottom: 22px; font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-500); }
.process h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; }
.process p { margin: 0; font-size: .93rem; color: var(--muted-dk); }
.process--stack { grid-template-columns: 1fr; }
.process--stack li, .process--stack li + li { padding: 26px 0 22px; border-left: 0; border-bottom: 1px solid var(--line-dk); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line-dk); margin-top: 28px; }
  .process--stack { grid-template-columns: 1fr; }
  .process--stack li:nth-child(n+3) { border-top: 0; margin-top: 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 28px 0 24px; border-left: 0; margin-top: 0; }
  .process li + li { border-top: 1px solid var(--line-dk); }
}

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.quote-aside h2 { max-width: 11ch; }
.details { list-style: none; margin: 44px 0 0; border-top: 1px solid var(--line-dk-strong); }
.details li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dk); }
.details .label { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--silver-500); padding-top: 4px; }
.details .value, .details a { font-weight: 500; color: var(--white); text-decoration: none; }
.details a:hover { color: var(--silver-300); }

.form-panel {
  position: relative; padding: clamp(28px, 4.5vw, 56px);
  background: linear-gradient(180deg, var(--char-800), var(--char-850));
  border: 1px solid var(--line-dk); border-radius: 18px; overflow: hidden;
}
.form-panel::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--steel-line); }
.form-panel h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 8px; }
.form-intro { margin-bottom: 36px; font-size: .88rem; color: var(--muted-dk); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field legend { font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-400); padding: 0; margin-bottom: 10px; }
.field > label { margin-bottom: 0; }
.field .req { color: var(--silver-200); }
.field .opt { letter-spacing: .08em; text-transform: none; font-weight: 500; color: var(--silver-600); }
.field .hint { font-size: .8rem; color: var(--silver-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; font-size: 16px; color: var(--white);
  background: rgba(3, 2, 32, .55); border: 1px solid var(--line-dk-strong); border-radius: 10px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: rgba(3, 2, 32, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9AFB8' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
}
.field select option { color: var(--ink); background: var(--white); }
.field input[type="file"] { padding: 12px; font-size: .84rem; color: var(--silver-400); border-style: dashed; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: var(--chrome); color: var(--ink);
  font: inherit; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(196, 201, 208, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--silver-200); background: rgba(3, 2, 32, .85); box-shadow: 0 0 0 3px rgba(201, 206, 213, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E07B6E; }
.field-error { display: none; font-size: .8rem; font-weight: 500; color: #F0A398; }
.field.has-error .field-error { display: block; }
fieldset.field { margin: 0; padding: 0; border: 0; display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
  font-size: .86rem; font-weight: 500; color: var(--silver-200);
  border: 1px solid var(--line-dk-strong); border-radius: 999px; cursor: pointer; transition: border-color .3s, background .3s;
}
.field .choice input { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--silver-300); }
.choice:hover { border-color: rgba(196, 201, 208, .45); }
.choice:has(input:checked) { border-color: var(--silver-200); background: rgba(255, 255, 255, .1); color: var(--white); }
.field .choice input { accent-color: var(--silver-300); }
.form-foot { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.form-consent { margin: 0; font-size: .78rem; color: var(--silver-600); }
.form-consent a { color: var(--silver-300); }
.form-status { margin: 0; font-size: .88rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: #F0A398; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .details li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Group band ---------- */
.group-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px clamp(32px, 5vw, 72px); align-items: center; padding-top: 48px; padding-bottom: 48px; }
.group-band img { width: 168px; opacity: .9; }
.group-band p { margin: 0; max-width: 46em; font-size: .94rem; color: var(--muted-dk); }
@media (max-width: 860px) { .group-band { grid-template-columns: 1fr; } }

/* ---------- Split / prose (inner pages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p { color: var(--muted-dk); }
.light .prose p { color: var(--text-lt); }
.spec { list-style: none; margin-top: 12px; border-top: 1px solid var(--line-lt); }
.spec li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-lt); }
.spec li span:first-child { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-600); padding-top: 3px; }
.spec li span:last-child { color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .spec li { grid-template-columns: 1fr; gap: 4px; } }

/* Service detail (services page) */
.svc-detail { display: grid; grid-template-columns: 90px 1fr 1.25fr; gap: 20px clamp(32px, 5vw, 72px); padding: clamp(44px, 5vw, 64px) 0; border-bottom: 1px solid var(--line-dk); scroll-margin-top: 120px; }
.svc-detail:first-child { border-top: 1px solid var(--line-dk-strong); }
.svc-detail .n { font-size: .76rem; font-weight: 600; letter-spacing: .2em; color: var(--silver-500); padding-top: 10px; }
.svc-detail h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0; }
.svc-detail p { color: var(--muted-dk); }
.svc-detail ul { list-style: none; margin: 8px 0 28px; }
.svc-detail li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line-dk); font-size: .94rem; }
.svc-detail li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--silver-400); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; gap: 12px; } .svc-detail .n { padding: 0; } }

/* ---------- Commercial ---------- */
.comm-points { list-style: none; border-top: 1px solid var(--line-dk-strong); }
.comm-points li { display: flex; align-items: baseline; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line-dk); font-size: 1.15rem; font-weight: 500; color: var(--white); }
.comm-points span { font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--silver-500); }
.comm-band .btn { margin-top: 12px; }

.sector-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line-lt); }
.sector-list li { position: relative; padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line-lt); font-weight: 500; color: var(--ink); }
.sector-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 2px; background: linear-gradient(90deg, #8E959E, #D7DBE0); }
@media (max-width: 560px) { .sector-list { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line-lt); }
.faq-item { border-bottom: 1px solid var(--line-lt); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--steel-dark); border-bottom: 1.5px solid var(--steel-dark); transform: rotate(45deg);
  transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { margin: 0; padding: 0 48px 24px 0; color: var(--text-lt); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: radial-gradient(800px 360px at 50% 0%, rgba(160, 168, 178, .16), rgba(0, 0, 0, 0) 70%), var(--char-950);
}
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--steel-line); opacity: .6; }
.cta h2 { max-width: 18ch; margin: 0 auto 20px; }
.cta p { max-width: 34em; margin: 0 auto 40px; color: var(--muted-dk); }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char-950); color: var(--muted-dk); font-size: .88rem; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-top: 88px; padding-bottom: 64px; }
.footer-top::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--steel-line); opacity: .45; }
.footer-top .brand img { width: 240px; }
.footer-blurb { max-width: 26em; margin: 28px 0 0; }
.footer-top h2 { margin-bottom: 22px; font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-500); }
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 12px; }
.footer-top a { color: var(--silver-200); text-decoration: none; transition: color .3s; }
.footer-top a:hover { color: var(--white); }
.footer-base { position: relative; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-top: 26px; padding-bottom: 32px; font-size: .76rem; letter-spacing: .04em; }
.footer-base::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line-dk); }
.footer-base a { color: var(--silver-400); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 980px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(3, 2, 32, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mobile-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--steel-line); opacity: .5; }
  .mobile-bar .btn { flex: 1 1 auto; min-height: 52px; padding: 12px 14px; white-space: nowrap; font-size: .9rem; letter-spacing: .01em; text-transform: none; }
  .has-phone .mobile-bar .btn[data-phone-only] { flex: 0 0 40%; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Motion & premium details ---------- */

/* Hero headline: each line slides up from a mask */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
.hero h1 .line:first-child > span { animation-delay: .02s; }
@keyframes lineUp { to { transform: none; } }
.hero-in { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .3s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1.5px solid rgba(220, 223, 227, .55); border-radius: 14px;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite 2s; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* Chrome shine sweep */
.btn--chrome { overflow: hidden; isolation: isolate; }
.btn--chrome::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .95) 48%, rgba(255, 255, 255, .95) 52%, transparent 68%);
  transform: translateX(-130%);
}
.btn--chrome:hover::after { transition: transform .9s var(--ease); transform: translateX(130%); }
.btn--chrome > * { position: relative; }
.shine-once::after { animation: shine 1.3s var(--ease) 1.5s; }
@keyframes shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }

/* Services ticker */
.ticker {
  position: relative; overflow: hidden; background: var(--char-950);
  border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker a {
  padding: 18px 0; font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9CED5 60%, #8E959E 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .3s;
}
.ticker a:hover { opacity: .75; }
.tick-sep { width: 6px; height: 6px; margin: 0 30px; flex: none; transform: rotate(45deg); background: var(--chrome); box-shadow: 0 0 12px rgba(255, 255, 255, .25); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Header: frosted glass + chrome progress line once scrolled */
.site-header.is-scrolled { background: rgba(3, 2, 32, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.scroll-progress { position: absolute; left: 0; bottom: 0; z-index: 2; height: 2px; width: 100%; background: var(--chrome); transform-origin: left; transform: scaleX(0); }

/* Eyebrow rule draws in */
.js .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .15s; }
.js .eyebrow.is-in::before, .js .reveal.is-in .eyebrow::before { transform: scaleX(1); }

/* Principle accent bars grow */
.js .principle::after { width: 0; transition: width 1.2s var(--ease) .35s; }
.js .principle.is-in::after { width: 44px; }

/* About photo wipes in */
.js .about-photo.reveal { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round 14px); transition: clip-path 1.4s var(--ease); }
.js .about-photo.reveal img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js .about-photo.reveal.is-in { clip-path: inset(0 0 0 0 round 14px); }
.js .about-photo.reveal.is-in img { transform: none; }

/* Check icons pop */
.js .checks li.reveal svg { transform: scale(.4) rotate(-20deg); transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .1s; }
.js .checks li.reveal.is-in svg { transform: none; }

/* Frames lift on hover */
.frame .frame-img { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.frame:hover .frame-img { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }

/* Footer wordmark */
.footer-mark { overflow: hidden; height: clamp(70px, 12vw, 190px); margin-top: -10px; pointer-events: none; user-select: none; }
.footer-mark span {
  display: block; text-align: center; line-height: .82; font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(90px, 19vw, 300px); color: transparent;
  background: linear-gradient(180deg, rgba(220, 223, 227, .16) 0%, rgba(220, 223, 227, .05) 55%, rgba(220, 223, 227, 0) 90%); -webkit-background-clip: text; background-clip: text;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .line > span, .hero-in, .scroll-cue { transform: none !important; opacity: 1 !important; }
  .hero-bg { transition: opacity .01s; transform: none !important; }
  .ticker-track { animation: none; }
  .js .about-photo.reveal { clip-path: none; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--stagger, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Navy brand: contrast tweaks on the silver-grey sections */
.light .principle .num { color: #5C6079; }
.light .sector-list li::before { background: var(--char-700); }
.light .checks svg { background: var(--char-900); color: var(--white); box-shadow: none; }
.light .ph { color: #4A4E6A; }
.light .about-photo { box-shadow: 0 30px 60px rgba(3, 2, 32, .3); }
.light .btn--chrome { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(3, 2, 32, .12), 0 8px 20px rgba(3, 2, 32, .18); }
.light .btn--dark, .light .btn--navy-solid { background: var(--char-900); color: var(--white); }

/* ---------- Division sections (Residential / Commercial / Civil & Drainage) ---------- */
.division { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.division--flip .division-copy { order: 2; }
.division-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-bottom: 20px; }
.division-copy .lead { margin-bottom: 18px; }
.division-copy .btn { margin-top: 22px; }
.division-list h3 { margin-bottom: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-400); }
.light .division-list h3 { color: var(--char-700); }
.division-list .comm-points li { font-size: 1.05rem; padding: 17px 0; }
.light .comm-points { border-top-color: #9BA0A4; }
.light .comm-points li { color: var(--ink); border-bottom-color: var(--line-lt); }
.light .comm-points span { color: #5C6079; }
.statement-title { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-bottom: 20px; }
.btn--navy-solid { background: var(--char-900); color: var(--white); box-shadow: 0 8px 20px rgba(3, 2, 32, .22); }
.btn--navy-solid:hover { background: var(--char-700); color: var(--white); }
.light p { color: var(--text-lt); }
@media (max-width: 900px) {
  .division { grid-template-columns: 1fr; }
  .division--flip .division-copy { order: 0; }
}

/* ---------- Hero slideshow ---------- */
.hero--slider .hero-inner { display: grid; align-content: start; }
.hero--slider .slide-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease, visibility .45s; }
.hero--slider .slide-copy.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .15s; }
.hero--slider .scroll-cue { display: none; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 64px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.hero-dot span { position: relative; display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; border-radius: 2px; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dotFill var(--slide-ms, 7000ms) linear forwards; }
.is-paused .hero-dot.is-active span::after { animation: none; transform: scaleX(1); }
.hero-dot:hover span { background: rgba(255, 255, 255, .5); }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  color: var(--white); background: rgba(3, 2, 32, .45); border: 1px solid rgba(255, 255, 255, .35); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, border-color .3s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-pause .ic-play { display: none; }
.hero-pause[aria-pressed="true"] .ic-pause { display: none; }
.hero-pause[aria-pressed="true"] .ic-play { display: block; }
@media (max-width: 900px) {
  .hero-controls { bottom: 20px; }
  .hero-dot { width: 44px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-bg--3 { background-position: 78% center; }
  .hero-bg--1 { background-position: 28% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dot.is-active span::after { animation: none; transform: scaleX(1); }
}
.js .hero .eyebrow::before { transform: none; }
.hero--slider.hero--photo h1, .hero--slider.hero--photo .hero-title { margin-bottom: 30px; }

.hero--slider .slide-copy > :last-child { margin-bottom: 0; }
.statement--solo { grid-template-columns: minmax(0, 860px); }
@media (max-width: 900px) { .hero--slider.hero--photo .hero-inner { min-height: clamp(380px, 78vw, 600px); } }
/* Montserrat everywhere, including buttons, form fields and anything a browser would otherwise set in its own default font */
button, input, select, textarea, optgroup, summary, ::placeholder, ::file-selector-button { font-family: var(--font); }

/* ---------- Typography: bold, wide-set uppercase headings (echoes the VENTRAA wordmark) ---------- */
h1, h2, .hero--photo .hero-title, .statement-title {
  text-transform: uppercase; font-weight: 700; letter-spacing: .045em; line-height: 1.22;
}
.hero--photo h1, .hero--photo .hero-title { font-size: clamp(1.45rem, 2.7vw, 2.5rem); letter-spacing: .06em; line-height: 1.2; }
.page-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.8rem); max-width: 20ch; }
h2, .division-copy h2, .about-copy h2, .statement-title { font-size: clamp(1.2rem, 1.9vw, 1.65rem); }
.svc-detail h2 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.cta h2 { max-width: 26ch; }
.sec-head h2, .quote-aside h2 { max-width: 24ch; }
/* short silver accent under section headings */
main .section h2::after, .statement-title::after {
  content: ""; display: block; width: 52px; height: 2px; margin-top: 18px;
  background: linear-gradient(90deg, #FFFFFF, #BBBFC0);
}
.light h2::after, .light .statement-title::after { background: var(--char-900) !important; }
.cta h2::after { margin-left: auto; margin-right: auto; }
.svc-detail h2::after { display: none !important; }
/* supporting text: lighter weight against the bold headings */
.lead { font-weight: 300; letter-spacing: .005em; }
.light .lead { font-weight: 400; }
.division-list .comm-points li { font-weight: 500; letter-spacing: .01em; }
.silver-text { background: linear-gradient(180deg, #FFFFFF 0%, #D4D8DE 50%, #9BA1AB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Hero headlines: two short lines each */
.hero-title .hl { display: block; }
.hero--photo h1, .hero--photo .hero-title { font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1.16; max-width: none; }
.hero--slider .slide-copy { max-width: none; }

/* ---------- Heading sizes (edit these four lines to resize headings site-wide) ---------- */
.hero--photo h1, .hero--photo .hero-title { font-size: clamp(1.05rem, 1.75vw, 1.6rem); letter-spacing: .08em; }
.page-hero h1 { font-size: clamp(1.15rem, 1.9vw, 1.7rem); letter-spacing: .07em; }
h2, .division-copy h2, .about-copy h2, .statement-title, .cta h2 { font-size: clamp(.92rem, 1.2vw, 1.08rem); letter-spacing: .09em; line-height: 1.4; }
.svc-detail h2 { font-size: clamp(.88rem, 1.05vw, 1rem); }
main .section h2::after, .statement-title::after { width: 40px; margin-top: 14px; }
.division-copy h2, .about-copy h2, .statement-title { margin-bottom: 18px; }

/* ---------- Buttons: one soft polished-silver style for every button, slim profile ---------- */
.btn, .header-actions .btn, .mobile-bar .btn, .nav-links .nav-menu-cta,
.btn--chrome, .btn--navy-solid, .btn--line, .light .btn--line, .light .btn--chrome, .light .btn--navy-solid, .btn--outline-pill {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F3F6 40%, #D3D9DF 58%, #C2C9D1 100%);
  color: #030220; font-weight: 600; text-shadow: none;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 2px rgba(60, 70, 82, .22), 0 5px 14px rgba(0, 0, 0, .3);
}
.btn:hover, .header-actions .btn:hover, .mobile-bar .btn:hover, .btn--chrome:hover, .btn--navy-solid:hover, .btn--line:hover, .light .btn--line:hover, .btn--outline-pill:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FB 40%, #E0E5EA 58%, #D0D6DD 100%); color: #030220; border-color: #FFFFFF;
}
/* on the silver-grey sections the button needs a firmer edge to stand off the background */
.light .btn, .light .btn--chrome, .light .btn--navy-solid, .light .btn--line {
  border-color: rgba(3, 2, 32, .22);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 2px rgba(60, 70, 82, .22), 0 6px 16px rgba(3, 2, 32, .2);
}
/* slim profile */
.btn { min-height: 42px; padding: 9px 26px; font-size: .88rem; }
.header-actions .btn { min-height: 40px; padding: 8px 24px; font-size: .86rem; }
.mobile-bar .btn { min-height: 44px; padding: 9px 14px; font-size: .88rem; }
.nav-links .nav-menu-cta { padding: 13px; font-size: .95rem; }
.header-call { background: linear-gradient(180deg, #FFFFFF 0%, #F1F3F6 40%, #D3D9DF 58%, #C2C9D1 100%); color: #030220; width: 40px; height: 40px; }
@media (max-width: 980px) { body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); } }

/* ---------- Premium division layout: glass panel + animated "pipeline" list ----------
   Add the class "division--premium" to a section's .division to use it. */
.division--premium { align-items: start; gap: clamp(40px, 6vw, 96px); }
.division--premium .division-copy { position: sticky; top: 150px; padding-left: 26px; border-left: 1px solid var(--line-dk-strong); }
.division--premium .division-copy::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 64px; background: var(--white); }
.division--premium .division-list {
  position: relative; overflow: hidden; padding: 34px 36px 16px;
  border-radius: 20px; border: 1px solid var(--line-dk-strong);
  background: linear-gradient(155deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .04) 100%);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.division--premium .division-list::before { /* soft light drifting across the panel */
  content: ""; position: absolute; inset: -40% -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 40% at 30% 30%, rgba(140, 150, 255, .16), rgba(0, 0, 0, 0) 70%);
  animation: panelDrift 12s ease-in-out infinite alternate;
}
@keyframes panelDrift { from { transform: translate3d(-6%, -4%, 0); } to { transform: translate3d(22%, 18%, 0); } }
.division--premium .division-list > * { position: relative; z-index: 1; }
.division--premium .division-list h3 { margin-bottom: 14px; color: var(--silver-300); }

/* the list: a pipe runs down the left; a pulse of light travels along it and each line lights as it passes */
.division--premium .comm-points { --dur: 5.6s; position: relative; border-top: 0; padding-left: 30px; }
.division--premium .comm-points::before {
  content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #FFFFFF 50%, rgba(255, 255, 255, 0)) no-repeat, rgba(187, 191, 192, .28);
  background-size: 100% 22%, 100% 100%;
  animation: pipeFlow var(--dur) linear infinite;
}
@keyframes pipeFlow { from { background-position: 0 -30%, 0 0; } to { background-position: 0 130%, 0 0; } }
.division--premium .comm-points li {
  position: relative; padding: 17px 34px 17px 0; font-size: 1.02rem; color: var(--silver-300);
  border-bottom: 1px solid var(--line-dk);
  animation: rowGlow var(--dur) linear infinite; animation-delay: calc(.88s + var(--i, 0) * .64s);
}
.division--premium .comm-points li:last-child { border-bottom: 0; }
.division--premium .comm-points li::before { /* node on the pipe */
  content: ""; position: absolute; left: -30px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  background: #6D728F; transform: rotate(45deg);
  animation: nodePulse var(--dur) linear infinite; animation-delay: calc(.88s + var(--i, 0) * .64s);
}
.division--premium .comm-points li::after { /* arrow that slides in on hover */
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
  border-top: 1.5px solid var(--white); border-right: 1.5px solid var(--white);
  transform: translateX(-10px) rotate(45deg); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
}
.division--premium .comm-points li:hover { color: var(--white); background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)); padding-left: 12px; transition: padding .45s var(--ease), background .3s; }
.division--premium .comm-points li:hover::after { transform: translateX(0) rotate(45deg); opacity: 1; }
.division--premium .comm-points li:hover::before { background: #FFFFFF; box-shadow: 0 0 14px rgba(255, 255, 255, .9); }
.division--premium .comm-points li:nth-child(1) { --i: 0; } .division--premium .comm-points li:nth-child(2) { --i: 1; }
.division--premium .comm-points li:nth-child(3) { --i: 2; } .division--premium .comm-points li:nth-child(4) { --i: 3; }
.division--premium .comm-points li:nth-child(5) { --i: 4; } .division--premium .comm-points li:nth-child(6) { --i: 5; }
.division--premium .comm-points li:nth-child(7) { --i: 6; } .division--premium .comm-points li:nth-child(8) { --i: 7; }
@keyframes rowGlow { 0%, 22%, 100% { color: var(--silver-300); } 4%, 10% { color: #FFFFFF; text-shadow: 0 0 18px rgba(255, 255, 255, .35); } }
@keyframes nodePulse {
  0%, 22%, 100% { background: #6D728F; transform: rotate(45deg) scale(1); box-shadow: none; }
  5% { background: #FFFFFF; transform: rotate(225deg) scale(1.5); box-shadow: 0 0 16px rgba(255, 255, 255, .95); }
}
/* entrance: rows slide in from the right, one after another */
.js .division--premium .comm-points li.reveal { transform: translateX(34px); }
.js .division--premium .comm-points li.reveal.is-in { transform: none; }
@media (max-width: 900px) {
  .division--premium .division-copy { position: static; }
  .division--premium .division-list { padding: 26px 22px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .division--premium .comm-points::before, .division--premium .comm-points li, .division--premium .comm-points li::before, .division--premium .division-list::before { animation: none; }
}

/* Premium division layout on the silver-grey sections: white glass panel, navy pipe and pulse */
.light .division--premium .division-copy { border-left-color: rgba(3, 2, 32, .22); }
.light .division--premium .division-copy::before { background: var(--char-900); }
.light .division--premium .division-list {
  border-color: rgba(255, 255, 255, .9);
  background: linear-gradient(155deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .42) 55%, rgba(255, 255, 255, .6) 100%);
  box-shadow: 0 30px 60px rgba(3, 2, 32, .2), inset 0 1px 0 #FFFFFF;
}
.light .division--premium .division-list::before { background: radial-gradient(40% 40% at 30% 30%, rgba(30, 29, 90, .1), rgba(0, 0, 0, 0) 70%); }
.light .division--premium .division-list h3 { color: var(--char-700); }
.light .division--premium .comm-points::before {
  background: linear-gradient(180deg, rgba(3, 2, 32, 0), #030220 50%, rgba(3, 2, 32, 0)) no-repeat, rgba(3, 2, 32, .18);
  background-size: 100% 22%, 100% 100%;
}
.light .division--premium .comm-points li { color: #3D4060; border-bottom-color: rgba(3, 2, 32, .12); animation-name: rowGlowLt; }
.light .division--premium .comm-points li::before { background: #9AA0B4; animation-name: nodePulseLt; }
.light .division--premium .comm-points li::after { border-color: var(--char-900); }
.light .division--premium .comm-points li:hover { color: var(--char-900); background: linear-gradient(90deg, rgba(3, 2, 32, .07), rgba(3, 2, 32, 0)); }
.light .division--premium .comm-points li:hover::before { background: var(--char-900); box-shadow: 0 0 12px rgba(3, 2, 32, .45); }
@keyframes rowGlowLt { 0%, 22%, 100% { color: #3D4060; } 4%, 10% { color: #030220; text-shadow: 0 0 .5px #030220; } }
@keyframes nodePulseLt {
  0%, 22%, 100% { background: #9AA0B4; transform: rotate(45deg) scale(1); box-shadow: none; }
  5% { background: #030220; transform: rotate(225deg) scale(1.5); box-shadow: 0 0 14px rgba(3, 2, 32, .5); }
}
/* Menu: keep every item on one line; tighten spacing before the mobile menu takes over */
.nav-links a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) { .nav-links a { padding: 10px 8px; font-size: .86rem; } .nav-links a::after { left: 8px; right: 8px; } .brand img { width: 176px; } .header-main { gap: 14px; } }

/* ---------- Service tiles: image-led, name only ---------- */
.tiles { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 10px; height: clamp(600px, 88vh, 860px); background: var(--char-950); }
.tile { position: relative; isolation: isolate; overflow: hidden; display: block; border-radius: 18px; color: var(--white); text-decoration: none; }
.tile--a { grid-row: 1 / 3; }
.tile-media, .tile-bg { position: absolute; inset: 0; }
.tile-media { z-index: -2; transform: scale(1.03); transition: transform 1.6s var(--ease); }
.tile-bg { background-size: cover; background-repeat: no-repeat; }
.tile-bg--alt { animation: tileSwap 11s ease-in-out infinite; }
@keyframes tileSwap { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.tile:hover .tile-media, .tile:focus-visible .tile-media { transform: scale(1.1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 1, 24, .35) 0%, rgba(2, 1, 24, 0) 30%, rgba(2, 1, 24, .15) 55%, rgba(2, 1, 24, .88) 100%); transition: opacity .6s ease; }
.tile::after { /* silver line that draws across the bottom on hover */ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #FFFFFF, #BBBFC0); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.tile:hover::after, .tile:focus-visible::after { transform: scaleX(1); }
.tile-num { position: absolute; left: clamp(22px, 2.6vw, 40px); top: clamp(20px, 2.4vw, 34px); font-size: .74rem; font-weight: 600; letter-spacing: .26em; color: var(--silver-200); }
.tile-foot { position: absolute; left: clamp(22px, 2.6vw, 40px); right: 90px; bottom: clamp(22px, 2.6vw, 38px); display: block; transition: transform .7s var(--ease); }
.tile-name { display: block; font-size: clamp(1.25rem, 2.3vw, 2.2rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; }
.tile--a .tile-name { font-size: clamp(1.5rem, 3.1vw, 3rem); }
.tile-line { display: block; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; font-size: .95rem; font-weight: 400; color: var(--silver-200); transition: max-height .7s var(--ease), opacity .5s ease, margin .7s var(--ease); }
.tile:hover .tile-line, .tile:focus-visible .tile-line { max-height: 4em; opacity: 1; margin-top: 12px; }
.tile-go { position: absolute; right: clamp(20px, 2.4vw, 34px); bottom: clamp(20px, 2.4vw, 34px); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); transition: background .4s, color .4s, transform .7s var(--ease); }
.tile-go svg { width: 18px; height: 18px; }
.tile:hover .tile-go, .tile:focus-visible .tile-go { background: var(--white); color: var(--char-900); transform: rotate(-45deg); }
.tile:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }
/* entrance: each tile wipes open as the section scrolls into view */
.js .tiles .tile { clip-path: inset(100% 0 0 0 round 18px); transition: clip-path 1.3s cubic-bezier(.65, 0, .2, 1); }
.js .tiles.is-in .tile { clip-path: inset(0 0 0 0 round 18px); }
.js .tiles .tile--b { transition-delay: .15s; } .js .tiles .tile--c { transition-delay: .3s; }
/* "View" bubble that follows the pointer over the tiles */
.tile-cursor { position: absolute; left: 0; top: 0; z-index: 5; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F3F6 40%, #D3D9DF 58%, #C2C9D1 100%); color: var(--char-900); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) scale(0); transition: transform .35s var(--ease); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.tiles.has-cursor .tile-cursor { transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) scale(1); }
.tiles.has-cursor .tile { cursor: none; }
@media (hover: none), (max-width: 900px) { .tile-cursor { display: none; } }
@media (max-width: 900px) {
  .tiles { display: block; height: auto; padding: 8px; }
  .tile { height: 78vw; max-height: 460px; margin-bottom: 8px; border-radius: 14px; }
  .tile:last-of-type { margin-bottom: 0; }
  .tile-line { max-height: 4em; opacity: 1; margin-top: 8px; font-size: .9rem; }
  .tile-name, .tile--a .tile-name { font-size: 1.45rem; }
  .js .tiles .tile, .js .tiles.is-in .tile { clip-path: none; }
}
@media (prefers-reduced-motion: reduce) { .tile-bg--alt { animation: none; opacity: 0; } .js .tiles .tile { clip-path: none; } .tile-media { transition: none; } }

/* ---------- Hero height: fills the screen below the header ---------- */
.hero--slider.hero--photo .hero-inner { min-height: clamp(560px, calc(89vh - 138px), 880px); }
@media (max-width: 900px) { .hero--slider.hero--photo .hero-inner { min-height: clamp(440px, calc(89svh - 190px), 680px); } }

/* ---------- Division pages (Residential / Commercial / Civil & Drainage): hero buttons, pathway cards, brief checklist ---------- */
.page-hero .btn-row { margin-top: 32px; }
.svc-group { border-top: 1px solid var(--line-dk-strong); }
.svc-group .svc-detail:first-child { border-top: 0; }
.svc-detail h2 { text-transform: none; letter-spacing: -.01em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.3; }

/* Two pathway cards (commercial) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.path {
  display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px);
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(155deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .5) 100%);
  box-shadow: 0 24px 50px rgba(3, 2, 32, .14), inset 0 1px 0 #FFFFFF;
}
.path .eyebrow { margin-bottom: 16px; }
.path h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.path > p { color: var(--muted-lt); font-size: .95rem; }
.path ul { list-style: none; margin: 6px 0 28px; border-top: 1px solid rgba(3, 2, 32, .14); }
.path li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid rgba(3, 2, 32, .12); font-size: .95rem; font-weight: 500; color: var(--ink); }
.path li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 2px; background: var(--char-700); }
.path .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* Note band for specialist services (dark sections) */
.note-band { padding: clamp(22px, 3vw, 32px) clamp(24px, 3.5vw, 40px); border: 1px solid var(--line-dk-strong); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.note-band h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.note-band p { margin: 0; color: var(--text-dk); font-size: .95rem; max-width: 70em; }

/* "What to include" brief checklist (dark sections) */
.brief-title { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-400); margin-bottom: 18px; }
.brief { list-style: none; border-top: 1px solid var(--line-dk-strong); }
.brief li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-dk); }
.brief .n { font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--silver-500); padding-top: 4px; }
.brief strong { display: block; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.brief span:not(.n) { font-size: .92rem; color: var(--muted-dk); }
.split .eyebrow + h2 { margin-top: 0; }
.split > div > .eyebrow { display: inline-flex; }

/* ---------- Service tiles: small headings, description always showing ---------- */
.tile-name, .tile--a .tile-name { font-size: clamp(.92rem, 1.15vw, 1.1rem); letter-spacing: .14em; line-height: 1.3; }
.tile-line, .tile:hover .tile-line, .tile:focus-visible .tile-line { max-height: none; opacity: 1; overflow: visible; margin-top: 8px; font-size: .9rem; line-height: 1.5; color: var(--silver-200); max-width: 34ch; }
.tile-foot { right: 96px; }
.tile:hover .tile-foot, .tile:focus-visible .tile-foot { transform: translateY(-4px); }
@media (max-width: 900px) { .tile-name, .tile--a .tile-name { font-size: .95rem; } .tile-line { font-size: .88rem; } }

/* ---------- Contact page: form only, centred ---------- */
.quote--solo { grid-template-columns: minmax(0, 780px); justify-content: center; }
.quote--solo .form-intro { margin-bottom: 28px; }

/* ---------- Photo header for inner pages: add "page-hero--photo" plus a "page-hero-bg" div ---------- */
.page-hero--photo { background: var(--char-950); }
.page-hero--photo::before, .page-hero--photo .hero-mark { display: none; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center 58%; animation: pageHeroIn 2.2s var(--ease) both; }
@keyframes pageHeroIn { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(95deg, rgba(2, 1, 24, .93) 0%, rgba(2, 1, 24, .8) 36%, rgba(2, 1, 24, .3) 68%, rgba(2, 1, 24, .1) 100%), linear-gradient(0deg, rgba(2, 1, 24, .55), rgba(2, 1, 24, 0) 35%); }
.page-hero--photo .wrap { min-height: clamp(420px, 56vh, 620px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .page-hero--photo::after { background: linear-gradient(180deg, rgba(2, 1, 24, .86), rgba(2, 1, 24, .72)); } .page-hero--photo .wrap { min-height: 380px; } }

/* ---------- Text beside a photo, and a wide photo banner ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.media-split .big { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--ink); margin-bottom: 20px; }
.media-photo { margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3.2; box-shadow: 0 30px 60px rgba(3, 2, 32, .28); }
.media-photo img, .media-banner img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.media-photo:hover img, .media-banner:hover img { transform: scale(1.04); }
.media-banner { margin: 0 0 clamp(40px, 5vw, 64px); overflow: hidden; border-radius: 16px; aspect-ratio: 21 / 8; box-shadow: 0 30px 60px rgba(3, 2, 32, .25); }
.media-banner img { object-position: center 62%; }
/* both wipe open as they scroll into view */
.js .media-photo.reveal, .js .media-banner.reveal { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round 16px); transition: clip-path 1.4s cubic-bezier(.65, 0, .2, 1); }
.js .media-photo.reveal.is-in, .js .media-banner.reveal.is-in { clip-path: inset(0 0 0 0 round 16px); }
@media (max-width: 900px) { .media-split { grid-template-columns: 1fr; } .media-banner { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) { .js .media-photo.reveal, .js .media-banner.reveal { clip-path: none; } .page-hero-bg { animation: none; } }

/* ---------- Homepage: How we deliver ---------- */
.deliver .sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.deliver .sec-head p { margin-top: 14px; }
.process--plain li::before { content: ""; width: 34px; height: 2px; margin-bottom: 22px; background: linear-gradient(90deg, #FFFFFF, #BBBFC0); }
.process--plain h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.types { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line-dk); }
.types li { padding: 9px 18px; border: 1px solid var(--line-dk-strong); border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--silver-200); transition: background .3s, color .3s, border-color .3s; }
.types li:hover { background: rgba(255, 255, 255, .08); color: var(--white); border-color: var(--silver-300); }

/* ---------- Homepage structure: consistent section headers ---------- */
.tiles-head { background: var(--char-950); padding: clamp(64px, 8vw, 104px) 0 clamp(28px, 3vw, 40px); }
.tiles-head p { margin: 14px 0 0; }
.tiles-head h2::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 14px; background: linear-gradient(90deg, #FFFFFF, #BBBFC0); }
.tiles { padding-bottom: clamp(48px, 6vw, 88px); height: auto; }
@media (min-width: 901px) { .tiles { height: calc(clamp(560px, 80vh, 780px) + clamp(48px, 6vw, 88px)); } }
/* "How we deliver" on a light section */
.light .process { border-top-color: #9BA0A4; }
.light .process li + li { border-left-color: var(--line-lt); }
.light .process p { color: var(--muted-lt); }
.light .process--plain li::before { background: var(--char-900); }
@media (max-width: 900px) { .light .process li:nth-child(n+3), .light .process li + li { border-top-color: var(--line-lt); } }

/* ---------- Homepage hero: headline centred in the middle of the photo ---------- */
.hero--slider .hero-inner { align-content: center; justify-items: center; text-align: center; padding-top: 40px; padding-bottom: 40px; }
.hero--slider .hero-copy, .hero--slider .slide-copy { max-width: 900px; margin: 0 auto; }
.hero--slider.hero--photo h1, .hero--slider.hero--photo .hero-title { margin-bottom: 0; font-size: clamp(1.25rem, 2.3vw, 2.1rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.hero--slider.hero--photo::after { background: radial-gradient(70% 60% at 50% 50%, rgba(2, 1, 24, .58), rgba(2, 1, 24, .34) 70%), linear-gradient(0deg, rgba(2, 1, 24, .5), rgba(2, 1, 24, 0) 30%); }
@media (max-width: 900px) { .hero--slider.hero--photo::after { background: rgba(2, 1, 24, .6); } .hero--slider.hero--photo .hero-inner { padding-top: 40px; padding-bottom: 40px; } }
.hero--slider .hero-inner { grid-template-columns: 1fr; }
.hero--slider .slide-copy { justify-self: center; }

/* ---------- Homepage hero: label above the headline, one line below ---------- */
.hero-kicker { margin: 0 0 16px; font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--silver-200); }
.hero-kicker::after { content: ""; display: block; width: 36px; height: 1px; margin: 14px auto 0; background: rgba(255, 255, 255, .7); }
.hero-sub { margin: 16px auto 0; max-width: 34em; font-size: clamp(.95rem, 1.2vw, 1.1rem); font-weight: 400; line-height: 1.6; color: var(--white); text-shadow: 0 1px 16px rgba(0, 0, 0, .6); }
.hero--slider .slide-copy > :last-child { margin-bottom: 0; }

/* ---------- Hero slide 4 (Industrial): replace assets/img/hero-4.webp to change the photo ---------- */
.hero-bg--4 { background-image: url("../img/hero-4.webp"); background-position: center 55%; }

/* ---------- Scrolling band: sky blue, sampled from the industrial building photo ---------- */
.ticker { background: linear-gradient(180deg, #9A9FA5 0%, #AEB3B8 100%); border-top: 0; border-bottom: 0; mask-image: none; -webkit-mask-image: none; }
.ticker a { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #030220; }
.ticker a:hover { opacity: .65; }
.tick-sep { background: #030220; box-shadow: none; }

/* ---------- Process band (replaces the scrolling services band on the homepage) ---------- */
.process-band { background: linear-gradient(180deg, #9A9FA5 0%, #AEB3B8 100%); color: #030220; }
.process-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 72px); padding-top: clamp(30px, 3.6vw, 48px); padding-bottom: clamp(30px, 3.6vw, 48px); }
.pb-label { flex: none; padding: 12px 20px; border: 2px solid #030220; font-size: .86rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #030220; transition: background .3s, color .3s; }
.pb-label:hover { background: #030220; color: #FFFFFF; }
.pb-steps { list-style: none; display: flex; align-items: center; justify-content: space-between; flex: 1; max-width: 760px; gap: 12px; margin: 0; padding: 0; }
.pb-steps li { font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.pb-steps .pb-sep { display: grid; place-items: center; opacity: .55; }
.pb-arrow { width: 22px; height: 22px; }
.js .pb-steps li.reveal { transform: translateX(-14px); }
.js .pb-steps li.reveal.is-in { transform: none; }
@media (max-width: 860px) {
  .process-band .wrap { flex-direction: column; align-items: flex-start; gap: 22px; }
  .pb-steps { flex-wrap: wrap; justify-content: flex-start; gap: 10px 12px; max-width: none; }
  .pb-arrow { width: 18px; height: 18px; }
}
@media (max-width: 860px) {
  .pb-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; width: 100%; counter-reset: pb; }
  .pb-steps .pb-sep { display: none; }
  .pb-steps li:not(.pb-sep) { counter-increment: pb; display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; }
  .pb-steps li:not(.pb-sep)::before { content: counter(pb, decimal-leading-zero); font-size: .68rem; font-weight: 600; letter-spacing: .14em; opacity: .6; }
}

/* ---------- Process band: premium finish and motion ---------- */
.process-band { --cyc: 7s; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(115deg, #8E9399 0%, #AEB3B8 45%, #C9CDD1 100%); }
.process-band::before { /* slow sheen drifting across the band */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 65%);
  background-size: 250% 100%; animation: pbSheen 9s ease-in-out infinite;
}
@keyframes pbSheen { from { background-position: 120% 0; } to { background-position: -60% 0; } }
.process-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(3, 2, 32, .18); }
.process-band .wrap { padding-top: clamp(40px, 4.6vw, 64px); padding-bottom: clamp(40px, 4.6vw, 64px); }

/* label: solid navy plate with a light sweep */
.pb-label { position: relative; overflow: hidden; padding: 15px 26px; border: 0; background: #030220; color: #FFFFFF; border-radius: 2px; font-size: .78rem; letter-spacing: .24em; box-shadow: 0 14px 30px rgba(3, 2, 32, .28); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pb-label:hover { background: #030220; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 20px 38px rgba(3, 2, 32, .34); }
.pb-label span { position: relative; }
.pb-label::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); animation: pbPlate var(--cyc) ease-in-out infinite; }
@keyframes pbPlate { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* steps: number above, word below, on a track that fills left to right */
.pb-steps { position: relative; align-items: flex-end; padding-bottom: 20px; max-width: 800px; }
.pb-steps::before, .pb-steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; }
.pb-steps::before { background: rgba(3, 2, 32, .16); }
.pb-steps::after { background: #030220; transform-origin: left; transform: scaleX(0); animation: pbTrack var(--cyc) linear infinite; }
@keyframes pbTrack { 0% { transform: scaleX(0); opacity: 1; } 86% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.pb-steps li:not(.pb-sep) { display: flex; flex-direction: column; gap: 6px; font-size: clamp(1.05rem, 1.6vw, 1.4rem); letter-spacing: -.015em; }
.pb-steps small { font-size: .64rem; font-weight: 600; letter-spacing: .22em; opacity: .7; }
.js .pb-steps li.reveal.is-in:not(.pb-sep) { animation: pbStep var(--cyc) linear infinite; animation-delay: calc(var(--i) * var(--cyc) * .215); }
@keyframes pbStep { 0% { opacity: .42; transform: none; } 3%, 16% { opacity: 1; transform: translateY(-3px); } 21%, 100% { opacity: .42; transform: none; } }
.pb-steps .pb-sep { align-self: flex-end; padding-bottom: 3px; opacity: .5; }
.js .pb-steps .pb-sep.is-in .pb-arrow { animation: pbNudge 1.8s ease-in-out infinite; }
@keyframes pbNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.pb-steps li:not(.pb-sep):hover { animation-play-state: paused; opacity: 1 !important; }

@media (max-width: 860px) {
  .pb-steps { padding-bottom: 0; }
  .pb-steps::before, .pb-steps::after { display: none; }
  .pb-steps li:not(.pb-sep) { flex-direction: row; align-items: baseline; gap: 10px; }
  .pb-steps li:not(.pb-sep)::before { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .process-band::before, .pb-label::after, .pb-steps::after, .pb-arrow { animation: none !important; }
  .js .pb-steps li.reveal.is-in:not(.pb-sep) { animation: none; opacity: 1; }
  .pb-steps::after { transform: scaleX(1); }
}

/* ---------- Soft grey surface: layered gradient with light and depth (add "surface-soft" to any light section) ---------- */
.surface-soft { position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%),
    radial-gradient(55% 75% at 100% 100%, rgba(120, 132, 158, .30), rgba(120, 132, 158, 0) 65%),
    linear-gradient(160deg, #E6E9EC 0%, #D6DADE 48%, #C5CAD0 100%);
}
.surface-soft::before { /* faint architectural guide lines */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(3, 2, 32, .05) 1px, transparent 1px); background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .15)); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .15));
}
.surface-soft::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .9); }
.surface-soft .about-photo { box-shadow: 0 34px 70px rgba(3, 2, 32, .26), 0 0 0 1px rgba(255, 255, 255, .6); }

/* ---------- Homepage "What we do": four equal cards ---------- */
.work .sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.work .sec-head p { margin-top: 14px; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--char-850); border: 1px solid var(--line-dk); color: var(--white); text-decoration: none; transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-6px); border-color: var(--line-dk-strong); box-shadow: 0 26px 50px rgba(0, 0, 0, .45); }
.svc-card-img { display: block; aspect-ratio: 4 / 3.4; background-size: cover; background-repeat: no-repeat; transition: transform 1.4s var(--ease); }
.svc-card:hover .svc-card-img { transform: scale(1.06); }
.svc-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; background: var(--char-850); border-top: 1px solid var(--line-dk); }
.svc-card-name { font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.svc-card-line { margin-top: 10px; font-size: .9rem; line-height: 1.55; color: var(--muted-dk); }
.svc-card-go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-200); }
.svc-card-go svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card-go { color: var(--white); }
.svc-card:hover .svc-card-go svg { transform: translateX(5px); }
.svc-card:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@media (max-width: 1000px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc-cards { grid-template-columns: 1fr; } .svc-card-img { aspect-ratio: 16 / 10; } }

/* "What we do" cards: slimmer profile */
.svc-card-img { aspect-ratio: 4 / 2.5; }
.svc-card-body { padding: 18px 20px 16px; }
.svc-card-name { font-size: .86rem; }
.svc-card-line { margin-top: 7px; font-size: .84rem; line-height: 1.5; }
.svc-card-go { padding-top: 14px; }
.svc-cards { gap: 16px; }
.svc-card { border-radius: 12px; }

/* "What we do" cards with the full service list */
.svc-card--full { cursor: default; }
.svc-card--full .svc-card-img { aspect-ratio: 4 / 2.3; }
.svc-card--full .svc-card-name { margin: 0; font-size: .86rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
.svc-card--full .svc-card-name a { color: var(--white); text-decoration: none; }
.svc-card-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line-dk); }
.svc-card-list li { border-bottom: 1px solid var(--line-dk); }
.svc-card-list a { position: relative; display: block; padding: 8px 0 8px 14px; font-size: .8rem; line-height: 1.4; color: var(--silver-300); text-decoration: none; transition: color .3s, padding .4s var(--ease); }
.svc-card-list a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--silver-500); transition: width .4s var(--ease), background .3s; }
.svc-card-list a:hover, .svc-card-list a:focus-visible { color: var(--white); padding-left: 20px; }
.svc-card-list a:hover::before { width: 12px; background: var(--white); }
.svc-card--full .svc-card-go { text-decoration: none; padding-top: 16px; }
.svc-card--full .svc-card-go:hover svg { transform: translateX(5px); }

/* ---------- Floating "Request a quote" tab (right edge, follows the page) ---------- */
.quote-tab {
  position: fixed; right: 0; top: 50%; z-index: 80;
  display: grid; place-items: center; width: 54px; padding: 44px 0;
  background: linear-gradient(180deg, #8E9399 0%, #AEB3B8 55%, #C9CDD1 100%); color: #030220; text-decoration: none;
  clip-path: polygon(100% 0, 100% 100%, 0 calc(100% - 26px), 0 26px);   /* angled top and bottom, like the V mark */
  filter: drop-shadow(-6px 8px 14px rgba(3, 2, 32, .28));
  transform: translate(0, -50%); transition: width .45s var(--ease), background .3s, opacity .4s var(--ease), visibility .4s, translate .5s var(--ease);
  animation: quoteTabIn .9s var(--ease) 1.2s both;
}
.quote-tab.is-waiting { opacity: 0 !important; visibility: hidden; pointer-events: none; translate: 100% 0; animation: none; }
.quote-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.quote-tab::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px; background: #030220; }
.quote-tab:hover, .quote-tab:focus-visible { width: 66px; background: linear-gradient(180deg, #A2A7AD 0%, #C1C5C9 55%, #DADDE0 100%); }
.quote-tab:focus-visible { outline: 2px solid #030220; outline-offset: -6px; }
@keyframes quoteTabIn { from { transform: translate(100%, -50%); } to { transform: translate(0, -50%); } }
@media (max-width: 980px) { .quote-tab { display: none; } }
@media (prefers-reduced-motion: reduce) { .quote-tab { animation: none; } }

/* ---------- Header scroll-progress line: polished silver with a moving glint ---------- */
.scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, #7E858E 0%, #C4C9D0 18%, #FFFFFF 32%, #B4BAC2 46%, #EEF0F3 60%, #FFFFFF 72%, #A9AFB8 86%, #7E858E 100%);
  background-size: 220% 100%;
  box-shadow: 0 0 10px rgba(255, 255, 255, .55), 0 1px 0 rgba(0, 0, 0, .35);
  animation: progressShine 3.2s linear infinite;
}
@keyframes progressShine { from { background-position: 220% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-progress { animation: none; } }

/* ---------- Reviews ---------- */
.reviews .sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.reviews .sec-head p { margin-top: 14px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { position: relative; margin: 0; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 14px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 22px 46px rgba(3, 2, 32, .14); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: 0 30px 56px rgba(3, 2, 32, .2); }
.tcard::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-size: 5rem; line-height: 1; font-weight: 700; color: rgba(3, 2, 32, .09); }
.tcard-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.tcard-stars svg { width: 18px; height: 18px; fill: none; stroke: #5C6079; stroke-width: 1.4; stroke-linejoin: round; }
.tcard-stars.is-rated svg { fill: #030220; stroke: #030220; }
.tcard blockquote { margin: 0; flex: 1; }
.tcard blockquote p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--ink); }
.tcard figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(3, 2, 32, .14); }
.tcard figcaption strong { font-size: .92rem; font-weight: 600; color: var(--ink); }
.tcard figcaption > span { font-size: .76rem; letter-spacing: .06em; color: var(--muted-lt); }
.pb-label { cursor: default; }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage: program section (photo background, glass panel) ---------- */
.program { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 130px) 0; background: var(--char-950); }
.program-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 70% 55%; }
.program::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 1, 24, .88) 0%, rgba(2, 1, 24, .55) 46%, rgba(2, 1, 24, .12) 100%); }
.program-panel { max-width: 600px; padding: clamp(28px, 3.4vw, 46px); border-radius: 18px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(3, 2, 32, .58); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 34px 70px rgba(0, 0, 0, .45); }
.program-panel h2 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.35; letter-spacing: .06em; color: var(--white); margin-bottom: 18px; }
.program-panel h2::after { background: linear-gradient(90deg, #8E9399, #C9CDD1) !important; }
.program-panel .lead { font-size: 1rem; font-weight: 400; color: var(--silver-200); margin-bottom: 26px; }
.program-points { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.program-points li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.program-points strong { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #AEB3B8; }
.program-points span { font-size: .92rem; color: var(--white); }
.program .btn-row { align-items: center; gap: 22px; }
.program-link { font-size: .84rem; font-weight: 600; color: var(--white); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .45); transition: border-color .3s; }
.program-link:hover { border-color: var(--white); }
@media (max-width: 760px) {
  .program::after { background: rgba(2, 1, 24, .62); }
  .program-points li { grid-template-columns: 1fr; gap: 3px; }
}

/* ---------- Review: split section (tinted photo with one quote | heading and button) ---------- */
.review-split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(460px, 44vw, 620px); }
.review-quote { position: relative; isolation: isolate; overflow: hidden; margin: 0; display: flex; align-items: center; justify-content: flex-end; color: var(--white); }
.review-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 8s linear; }
.review-quote:hover .review-photo { transform: scale(1.06); }
.review-quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, rgba(3, 2, 32, .9) 0%, rgba(20, 44, 96, .82) 55%, rgba(74, 128, 196, .7) 100%); }
.review-quote-inner { width: 100%; max-width: calc(var(--maxw) / 2); padding: clamp(48px, 6vw, 88px) clamp(28px, 4.5vw, 72px) clamp(48px, 6vw, 88px) var(--gutter); }
.review-mark { display: block; height: 46px; font-size: 6rem; line-height: 1; font-weight: 700; color: #AEB3B8; }
.review-split blockquote { margin: 0; }
.review-split blockquote p { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--white); }
.review-split .review-quote .ph { color: var(--white); }
.review-split figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); }
.review-split figcaption strong { font-size: .92rem; font-weight: 600; }
.review-split figcaption > span { font-size: .78rem; letter-spacing: .08em; color: #D2D5D8; }
.review-copy { display: flex; align-items: center; background: radial-gradient(70% 90% at 0% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%), linear-gradient(160deg, #E6E9EC 0%, #D6DADE 50%, #C5CAD0 100%); color: var(--text-lt); }
.review-copy-inner { width: 100%; max-width: calc(var(--maxw) / 2); padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 88px) clamp(28px, 4.5vw, 72px); }
.review-copy h2 { color: var(--ink); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.35; margin-bottom: 20px; }
.review-copy h2::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 14px; background: var(--char-900); }
.review-copy .lead { font-size: 1rem; font-weight: 400; color: var(--text-lt); margin-bottom: 30px; }
@media (max-width: 860px) {
  .review-split { grid-template-columns: 1fr; min-height: 0; }
  .review-quote-inner, .review-copy-inner { max-width: none; padding: 56px var(--gutter); }
}

/* ---------- Principle cards (add "principles--cards" to a .principles block) ---------- */
.principles--cards { gap: 18px; }
.principles--cards .principle {
  position: relative; overflow: hidden; padding: 26px 24px 26px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dk-strong); box-shadow: 0 20px 44px rgba(0, 0, 0, .3);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease), opacity 1.1s var(--ease);
}
.principles--cards .principle::before { top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #8E9399, #C9CDD1); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.principles--cards .principle::after { display: none; }
.principles--cards .principle:hover { transform: translateY(-6px); border-color: rgba(163, 202, 245, .55); box-shadow: 0 30px 56px rgba(0, 0, 0, .45); }
.principles--cards .principle:hover::before, .js .principles--cards .principle.is-in::before { transform: scaleX(1); }
.principles--cards .principle .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 50%;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; line-height: 1; color: #030220;
  background: linear-gradient(180deg, #C9CDD1, #8E9399); box-shadow: 0 0 0 5px rgba(163, 202, 245, .14);
}
.principles--cards .principle h3 { margin-bottom: 8px; font-size: 1.02rem; font-weight: 600; color: var(--white); }
.principles--cards .principle p { font-size: .9rem; line-height: 1.6; color: var(--silver-300); }
@media (max-width: 960px) { .principles--cards { grid-template-columns: 1fr 1fr; row-gap: 18px; } }
@media (max-width: 560px) {
  .principles--cards { grid-template-columns: 1fr; row-gap: 14px; }
  .principles--cards .principle { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; padding: 20px 20px 22px; }
  .principles--cards .principle .num { grid-row: 1 / 3; margin: 2px 0 0; }
  .principles--cards .principle h3 { margin-bottom: 4px; }
}

/* ---------- Compact footer ---------- */
.site-footer--compact { position: relative; }
.site-footer--compact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dk-strong); }
.footer-cols { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: clamp(28px, 5vw, 72px); padding-top: 52px; padding-bottom: 40px; }
.footer-col h2 { margin: 0 0 16px; font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; color: var(--silver-500); }
.footer-col h2::after { display: none !important; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: .9rem; color: var(--silver-200); }
.footer-col .k { color: var(--silver-500); margin-right: 4px; }
.footer-col a { color: var(--silver-200); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--white); }
.footer-col--links ul { columns: 2; column-gap: 32px; }
.footer-col--links li { break-inside: avoid; }
.footer-col--cta p { margin: 0 0 18px; font-size: .9rem; line-height: 1.6; color: var(--muted-dk); }
.footer-col--cta .btn { color: #030220; }
.footer-bar { position: relative; display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; }
.footer-bar::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line-dk); }
.footer-bar .brand img { width: 150px; }
.footer-legal { margin: 0; font-size: .76rem; color: var(--muted-dk); }
.footer-policies { display: flex; gap: 24px; margin-left: auto; }
.footer-policies a { font-size: .76rem; color: var(--silver-300); text-decoration: none; border-bottom: 1px solid var(--line-dk-strong); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.footer-policies a:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 860px) {
  .footer-cols { grid-template-columns: 1fr 1fr; padding-top: 44px; padding-bottom: 32px; }
  .footer-col--links { grid-column: 1 / -1; order: -1; }
  .footer-policies { margin-left: 0; }
}
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } .footer-bar { flex-direction: column; align-items: flex-start; } }

/* Compact footer: two columns, with the large VENTRAA wordmark above the bottom bar */
.footer-cols { grid-template-columns: 1fr 1.6fr; padding-bottom: 8px; }
.site-footer--compact .footer-mark { margin-top: 0; height: clamp(60px, 11vw, 170px); }
.site-footer--compact .footer-mark span { font-size: clamp(80px, 17.5vw, 280px); }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr; } .footer-col--links { order: 0; } }

/* ---------- Pages without numbering: add class "no-nums" to <main> ---------- */
.no-nums .svc-detail .n, .no-nums .principle .num, .no-nums .brief .n { display: none; }
.no-nums .svc-detail { grid-template-columns: 1fr 1.25fr; }
.no-nums .brief li { grid-template-columns: 1fr; }
.no-nums .process li::before { content: ""; width: 34px; height: 2px; margin-bottom: 18px; background: linear-gradient(90deg, #FFFFFF, #BBBFC0); }
.no-nums .principle { padding-top: 26px; }
@media (max-width: 860px) { .no-nums .svc-detail { grid-template-columns: 1fr; } }

/* ---------- FAQ on a navy section ---------- */
.section--char .faq, .section--deep .faq { border-top-color: var(--line-dk-strong); }
.section--char .faq-item, .section--deep .faq-item { border-bottom-color: var(--line-dk); }
.section--char .faq-item summary, .section--deep .faq-item summary { color: var(--white); }
.section--char .faq-item summary::after, .section--deep .faq-item summary::after { border-color: var(--silver-300); }
.section--char .faq-item p, .section--deep .faq-item p { color: var(--muted-dk); }

/* ---------- Sky-blue surface: the same blue as the "Our process" band (add "surface-sky" to a light section) ---------- */
.surface-sky { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(115deg, #8E9399 0%, #AEB3B8 45%, #C9CDD1 100%); }
.surface-sky p, .surface-sky .principle p { color: #1B1C3F; }
.surface-sky .principle::before { background: rgba(3, 2, 32, .3); }
.surface-sky .media-banner, .surface-sky .media-photo { box-shadow: 0 30px 60px rgba(3, 2, 32, .28); }

/* ---------- Service list on a light section, each service in a white card (add "svc-light" to the section) ---------- */
.svc-light .sec-head p { color: var(--text-lt); }
.svc-light .svc-group { display: grid; gap: 16px; }
.svc-light .svc-detail, .svc-light .svc-detail:first-child {
  padding: clamp(24px, 3vw, 38px); border: 1px solid rgba(255, 255, 255, .95); border-radius: 16px;
  background: rgba(255, 255, 255, .72); box-shadow: 0 18px 40px rgba(3, 2, 32, .1);
}
.svc-light .svc-detail h2 { color: var(--ink); }
.svc-light .svc-detail p { color: var(--text-lt); }
.svc-light .svc-detail ul { margin-bottom: 22px; }
.svc-light .svc-detail li { color: var(--ink); border-bottom-color: rgba(3, 2, 32, .1); }
.svc-light .svc-detail li::before { background: var(--char-900); }
.svc-light .svc-detail li:last-child { border-bottom: 0; }

/* Service list section: darker slate grey behind the white cards */
.surface-soft.svc-light {
  background:
    radial-gradient(60% 70% at 10% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #8A919B 0%, #747C87 50%, #606873 100%);
}
.surface-soft.svc-light::before { background-image: linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); }
.surface-soft.svc-light::after { background: rgba(255, 255, 255, .22); }
.svc-light .sec-head h2 { color: var(--white); }
.svc-light .sec-head h2::after { background: var(--white) !important; }
.svc-light .sec-head p { color: #F0F2F4; }
.svc-light .svc-detail, .svc-light .svc-detail:first-child { background: rgba(255, 255, 255, .94); border-color: #FFFFFF; box-shadow: 0 22px 46px rgba(3, 2, 32, .28); }

/* ---------- Compact service cards (title and one line) ---------- */
.svc-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-mini { position: relative; padding: 26px 26px 24px; border-radius: 14px; background: rgba(255, 255, 255, .95); border: 1px solid #FFFFFF; box-shadow: 0 18px 40px rgba(3, 2, 32, .22); scroll-margin-top: 130px; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1.1s var(--ease); }
.svc-mini:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(3, 2, 32, .3); }
.svc-mini::before { content: ""; display: block; width: 30px; height: 2px; margin-bottom: 16px; background: var(--char-900); }
.svc-mini h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.svc-mini p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text-lt); }
.svc-light .sec-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
@media (max-width: 960px) { .svc-minis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-minis { grid-template-columns: 1fr; gap: 12px; } .svc-mini { padding: 20px 20px 18px; } }

/* Compact service cards: group labels and a four-across row */
.svc-minis-label { margin: 0 0 14px; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #F0F2F4; }
.svc-minis + .svc-minis-label { margin-top: 34px; }
.svc-minis--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .svc-minis--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-minis--4 { grid-template-columns: 1fr; } }

/* Contact details block without a form */
.quote--info { grid-template-columns: minmax(0, 620px); }
.quote--info .quote-aside h2 { max-width: none; }

/* ---------- Phone/tablet menu: smaller, tighter, no dividers; current page in sky blue ---------- */
@media (max-width: 980px) {
  .nav-links { padding: 14px var(--gutter) 110px; }
  .nav-links a { padding: 13px 0; font-size: 1.02rem; font-weight: 500; letter-spacing: .005em; border-bottom: 0; color: var(--white); }
  .nav-item { border-bottom: 0; }
  .nav-links a[aria-current="page"] { color: #AEB3B8; }
  .nav-links > a[aria-current="page"], .nav-item > a[aria-current="page"] { flex: none; align-self: flex-start; padding-bottom: 7px; margin-bottom: 6px; box-shadow: inset 0 -2px 0 #AEB3B8; }
  .nav-item { justify-content: space-between; }
  .nav-item > a { flex: none; }
  .sub-toggle { width: 44px; height: 44px; margin-right: -12px; color: var(--white); }
  .sub-toggle svg { width: 18px; height: 18px; }
  .sub-menu, .nav-item:hover .sub-menu, .nav-item:focus-within .sub-menu { padding: 0 0 8px 16px; }
  .nav-links .sub-menu a { padding: 9px 0; font-size: .94rem; color: var(--silver-300); }
  .nav-links .nav-menu-cta { margin-top: 22px; padding: 13px; font-size: .92rem; color: #030220; }
}

/* ---------- Area links: four simple link tiles ---------- */
.area-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-link { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 22px; border-radius: 14px; border: 1px solid var(--line-dk-strong); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); color: var(--white); text-decoration: none; transition: transform .6s var(--ease), border-color .4s, opacity 1.1s var(--ease); }
.area-link:hover { transform: translateY(-5px); border-color: rgba(163, 202, 245, .6); }
.area-link span { font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.area-link small { font-size: .86rem; line-height: 1.5; color: var(--silver-300); }
.area-link::after { content: "\2192"; margin-top: 8px; font-size: 1rem; color: #AEB3B8; transition: transform .5s var(--ease); }
.area-link:hover::after { transform: translateX(5px); }
@media (max-width: 960px) { .area-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .area-links { grid-template-columns: 1fr; } }

/* ---------- Service sub-pages: parent link in the header, grouped dropdown, related links ---------- */
.crumb { display: inline-block; margin-bottom: 14px; font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: #AEB3B8; }
.crumb::before { content: "\2190"; margin-right: 10px; }
.crumb:hover { color: var(--white); }
.nav-links .sub-menu a.sub-child { padding: 8px 16px 8px 30px; font-size: .84rem; color: var(--silver-400); border-bottom: 0; }
.nav-links .sub-menu a:not(.sub-child) { font-weight: 600; }
.sub-menu { min-width: 300px; max-height: calc(100vh - 170px); overflow-y: auto; }
.area-links--5 { grid-template-columns: repeat(5, 1fr); }
.area-links--2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
@media (max-width: 1100px) { .area-links--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .nav-links .sub-menu a.sub-child { padding: 7px 0 7px 16px; font-size: .88rem; }
  .sub-menu { max-height: none; overflow: visible; }
}
@media (max-width: 700px) { .area-links--5, .area-links--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .area-links--5, .area-links--2 { grid-template-columns: 1fr; } }

/* ---------- Menu with nine items ----------
   1340px and wider: full menu in the header. Narrower than that: the menu opens from the menu button (same panel as on phones). */
.header-main { max-width: 1480px; }
.nav-links .sub-menu a, .nav-links .sub-menu a:not(.sub-child) { font-weight: 500; }
@media (min-width: 1340px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 10px 11px; font-size: .84rem; }
  .nav-links a::after { left: 11px; right: 11px; }
  .nav-item > a { padding-right: 2px; }
  .nav-item > a::after { right: 2px; }
  .sub-toggle { width: 20px; margin-right: 6px; }
  .nav-links .sub-menu a { padding: 12px 16px; font-size: .86rem; }
  .header-actions .btn { padding: 8px 20px; }
}
@media (min-width: 981px) and (max-width: 1339px) {
  .header-mobile { display: flex; order: 3; }
  .header-mobile .header-call { display: none !important; }
  .header-actions { margin-left: auto; }
  .header-mobile { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100vh - 100%); height: calc(100dvh - 100%); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px var(--gutter) 120px;
    background: var(--char-950);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 20px 0; font-size: 1.3rem; color: var(--silver-200); border-bottom: 1px solid var(--line-dk); }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--white); }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-dk); }
  .nav-item > a { flex: 1; border-bottom: 0; padding-right: 0; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; color: var(--silver-200); }
  .sub-toggle svg { width: 20px; height: 20px; }
  .nav-item:hover .sub-toggle svg { transform: none; }
  .nav-item.is-open .sub-toggle svg { transform: rotate(180deg); }
  .sub-menu, .nav-item:hover .sub-menu, .nav-item:focus-within .sub-menu {
    position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 12px 16px;
    background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .sub-menu::before { display: none; }
  .nav-item.is-open .sub-menu { display: flex; }
  .nav-links .sub-menu a { padding: 12px 0; font-size: 1.02rem; color: var(--silver-300); border-bottom: 0; }
  .nav-links .sub-menu a:hover { background: none; color: var(--white); }
  .nav-links .nav-menu-cta {
    display: flex; justify-content: center; margin-top: 28px; padding: 18px; border: 0; border-radius: 999px;
    background: var(--chrome); color: var(--ink); font-size: 1rem; font-weight: 600;
  }
  .nav-links { padding: 14px var(--gutter) 110px; }
  .nav-links a { padding: 13px 0; font-size: 1.02rem; font-weight: 500; letter-spacing: .005em; border-bottom: 0; color: var(--white); }
  .nav-item { border-bottom: 0; }
  .nav-links a[aria-current="page"] { color: #AEB3B8; }
  .nav-links > a[aria-current="page"], .nav-item > a[aria-current="page"] { flex: none; align-self: flex-start; padding-bottom: 7px; margin-bottom: 6px; box-shadow: inset 0 -2px 0 #AEB3B8; }
  .nav-item { justify-content: space-between; }
  .nav-item > a { flex: none; }
  .sub-toggle { width: 44px; height: 44px; margin-right: -12px; color: var(--white); }
  .sub-toggle svg { width: 18px; height: 18px; }
  .sub-menu, .nav-item:hover .sub-menu, .nav-item:focus-within .sub-menu { padding: 0 0 8px 16px; }
  .nav-links .sub-menu a { padding: 9px 0; font-size: .94rem; color: var(--silver-300); }
  .nav-links .nav-menu-cta { margin-top: 22px; padding: 13px; font-size: .92rem; color: #030220; }
  .sub-menu { max-height: none; overflow: visible; }
  .nav-links { top: 100%; }
}
@media (max-width: 1339px) {
  .nav-links .sub-menu a { padding: 8px 0; font-size: .92rem; font-weight: 400; color: var(--silver-300); }
  .nav-links .sub-menu a[aria-current="page"] { color: #AEB3B8; }
}

/* ---------- Homepage quote section: photo background, copy on the left, white form card on the right ---------- */
.home-quote { position: relative; isolation: isolate; overflow: hidden; background: var(--char-900); padding: clamp(56px, 7vw, 100px) 0; }
.home-quote-bg { position: absolute; inset: -20px; z-index: -1; background-size: cover; background-position: center; filter: blur(5px) saturate(1.05); }
.home-quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3, 2, 32, .9) 0%, rgba(3, 2, 32, .72) 50%, rgba(3, 2, 32, .5) 100%); }
.home-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.home-quote-copy h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: .01em; text-transform: none; font-weight: 700; margin: 0; }
.home-quote-copy h2::after { display: none; }
.hq-chip { display: inline-block; padding: 2px 14px 4px; border-radius: 8px; background: linear-gradient(120deg, #8E9399, #C9CDD1); color: var(--char-900); }
.hq-tag { margin: 28px 0 0; padding-left: 18px; border-left: 4px solid #AEB3B8; color: var(--white); font-weight: 600; font-size: 1.08rem; line-height: 1.5; }
.home-quote-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; }
.home-quote-points li { display: flex; align-items: center; gap: 16px; }
.hq-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #8E9399, #C9CDD1); color: var(--char-900); box-shadow: 0 8px 22px rgba(142, 147, 153, .35); }
.hq-ic svg { width: 22px; height: 22px; }
.home-quote-points div { display: grid; gap: 2px; }
.home-quote-points strong { color: var(--white); font-weight: 700; font-size: 1.02rem; }
.home-quote-points div span { color: var(--silver-200); font-size: .9rem; }
.home-quote-points .hq-ic { color: var(--char-900); }
.home-quote-call { display: inline-flex; align-items: center; justify-content: center; margin-top: 34px; min-height: 54px; padding: 10px 38px; border-radius: 999px; border: 3px solid var(--white); background: linear-gradient(120deg, #8E9399, #C9CDD1); color: var(--char-900); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.home-quote-card { background: var(--white); border-radius: 34px; padding: clamp(26px, 3.2vw, 44px); box-shadow: 0 34px 80px rgba(0, 0, 0, .5); }
.hq-card-title { margin: 0 0 24px; color: var(--char-900); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.home-quote-card .form-grid { gap: 16px 16px; }
.home-quote-card .field { gap: 7px; }
.home-quote-card .field > label, .home-quote-card .field legend { color: var(--char-900); font-size: .8rem; font-weight: 600; letter-spacing: .01em; text-transform: none; }
.home-quote-card .field .req { color: #4E7FC0; }
.home-quote-card .field .opt { color: #7A8291; }
.home-quote-card .field input, .home-quote-card .field select, .home-quote-card .field textarea { color: var(--char-900); background-color: #fff; border: 1.5px solid #D5DAE2; border-radius: 12px; }
.home-quote-card .field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23030220' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; }
.home-quote-card .field textarea { min-height: 76px; }
.home-quote-card .field input:hover, .home-quote-card .field select:hover, .home-quote-card .field textarea:hover { border-color: #A9B4C6; }
.home-quote-card .field input:focus, .home-quote-card .field select:focus, .home-quote-card .field textarea:focus { background-color: #fff; border-color: #8E9399; box-shadow: 0 0 0 3px rgba(142, 147, 153, .3); }
.home-quote-card .field.has-error input, .home-quote-card .field.has-error select, .home-quote-card .field.has-error textarea { border-color: #C8473A; }
.home-quote-card .field-error, .home-quote-card .form-status.is-error { color: #B23A2E; }
.home-quote-card .choice { min-height: 42px; padding: 8px 16px; color: var(--char-900); border: 1.5px solid #D5DAE2; }
.home-quote-card .choice:hover { border-color: #A9B4C6; }
.home-quote-card .choice:has(input:checked) { border-color: #8E9399; background: #EEF0F2; color: var(--char-900); }
.home-quote-card .field .choice input { accent-color: #030220; }
.home-quote-card .form-foot { margin-top: 22px; gap: 12px; }
.hq-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.1rem; color: var(--white); background: linear-gradient(120deg, #030220, #1B1F5E); box-shadow: 0 12px 28px rgba(3, 2, 32, .3); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.hq-submit:hover { transform: translateY(-2px); background: linear-gradient(120deg, #8E9399, #C9CDD1); color: var(--char-900); box-shadow: 0 16px 34px rgba(142, 147, 153, .45); }
.hq-submit .arr { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.hq-submit:hover .arr { transform: translateX(5px); }
.home-quote-card .form-consent { color: #6B7382; }
.home-quote-card .form-consent a { color: var(--char-900); }
@media (max-width: 900px) {
  .home-quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .home-quote-card { border-radius: 24px; }
  .home-quote-card .form-grid { grid-template-columns: 1fr; }
  .hq-ic { width: 42px; height: 42px; }
}

/* Taller slideshow on tablets and phones */
@media (max-width: 900px) { .hero--slider.hero--photo .hero-inner { min-height: clamp(540px, 84svh, 780px); } }

/* ---------- CRM request form inside the homepage quote card: brand look over the supplied embed ---------- */
.home-quote-card .vp-wrap { max-width: none; font-family: inherit; color: var(--char-900); }
.home-quote-card .vp-wrap .vp-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home-quote-card .vp-wrap .vp-title { margin: 0 0 6px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; color: var(--char-900); }
.home-quote-card .vp-wrap .vp-title::after { display: none; }
.home-quote-card .vp-wrap .vp-lead { margin-bottom: 22px; font-size: .92rem; color: #5A6274; }
.home-quote-card .vp-wrap .vp-f { margin-bottom: 14px; }
.home-quote-card .vp-wrap .vp-l { font-size: .82rem; color: var(--char-900); }
.home-quote-card .vp-wrap input[type=text], .home-quote-card .vp-wrap input[type=email], .home-quote-card .vp-wrap input[type=tel], .home-quote-card .vp-wrap textarea { min-height: 50px; padding: 12px 14px; border: 1.5px solid #D5DAE2; border-radius: 12px; color: var(--char-900); }
.home-quote-card .vp-wrap textarea { min-height: 96px; }
.home-quote-card .vp-wrap input[type=text]:focus, .home-quote-card .vp-wrap input[type=email]:focus, .home-quote-card .vp-wrap input[type=tel]:focus, .home-quote-card .vp-wrap textarea:focus { border-color: #8E9399; box-shadow: 0 0 0 3px rgba(142, 147, 153, .3); }
.home-quote-card .vp-wrap .vp-drop { min-height: 76px; border: 1.5px dashed #BCC6D6; border-radius: 12px; background: #F5F8FC; font-size: .9rem; }
.home-quote-card .vp-wrap .vp-drop:hover, .home-quote-card .vp-wrap .vp-drop:focus-within, .home-quote-card .vp-wrap .vp-drop.vp-over { border-color: #8E9399; background: #EEF0F2; }
.home-quote-card .vp-wrap .vp-go { min-height: 58px; margin-top: 8px; border-radius: 999px; font-size: 1.1rem; background: linear-gradient(120deg, #030220, #1B1F5E); box-shadow: 0 12px 28px rgba(3, 2, 32, .3); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s; }
.home-quote-card .vp-wrap .vp-go:hover { transform: translateY(-2px); background: linear-gradient(120deg, #8E9399, #C9CDD1); color: var(--char-900); box-shadow: 0 16px 34px rgba(142, 147, 153, .45); }
.home-quote-card .vp-wrap .vp-done { color: var(--char-900); }
.quote--solo:has(.contact-crm-card) { grid-template-columns: minmax(0, 640px); }

/* Top strip in the brand grey silver (#BBBFC0, from the brand board) */
.topbar { background: #BBBFC0; box-shadow: inset 0 -1px 0 rgba(3, 2, 32, .12); }
.topbar-item, .topbar-right a { color: #030220; }
.topbar-item svg { color: #030220; }

/* Homepage order on phones and tablets: quote form first, intro second, slideshow third (desktop keeps the slideshow at the top) */
@media (max-width: 900px) {
  main:has(> .home-quote) { display: flex; flex-direction: column; }
  main:has(> .home-quote) > .home-quote { order: -2; }
  main:has(> .home-quote) > .home-intro { order: -1; }
}

/* No top strip on phones and tablets */
@media (max-width: 900px) { .topbar { display: none; } }

/* Quote section background is a pre-blurred photo (quote-bg.webp): a live CSS blur makes phones stutter while scrolling */
.home-quote-bg { inset: 0; filter: none; }
/* No photo drift on phones and tablets */
@media (max-width: 900px) { .hero-slides { translate: none !important; will-change: auto; } }

/* Slides 2 to 4 load after the page has finished loading, so the first view is not held up by photos that are not on screen yet */
html.js:not(.slides-on) .hero-bg--2, html.js:not(.slides-on) .hero-bg--3, html.js:not(.slides-on) .hero-bg--4 { background-image: none; }

/* Homepage quote section: direct-response copy (location line, hook, pitch, tick list) */
.hq-loc { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--white); font-weight: 600; font-size: 1rem; }
.hq-loc svg { width: 20px; height: 20px; color: #AEB3B8; flex: none; }
.hq-hook { margin: 22px 0 0; color: var(--white); font-size: 1.08rem; line-height: 1.55; max-width: 36ch; }
.hq-pitch { margin: 16px 0 0; color: var(--silver-200); font-size: 1rem; line-height: 1.6; max-width: 40ch; }
.hq-ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.hq-ticks li { position: relative; padding-left: 38px; color: var(--white); font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.hq-ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23030220' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") no-repeat center / 16px, linear-gradient(135deg, #8E9399, #C9CDD1);
  box-shadow: 0 6px 16px rgba(142, 147, 153, .35); }

/* Labelled call button in the phone header */
.header-call { width: auto; height: 40px; padding: 0 16px 0 13px; gap: 7px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; font-size: .9rem; background: linear-gradient(120deg, #8E9399, #C9CDD1); color: #030220; }
.header-call svg { width: 17px; height: 17px; }

/* Homepage main heading lives in the quote section */
.home-quote-copy h1 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: .01em; text-transform: none; font-weight: 700; margin: 0; max-width: none; }
.home-quote-copy h1::after { display: none; }
/* Contact intro and FAQ links */
.page-hero .lead a, .faq-item p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Comfortable tap targets for footer links on phones */
@media (max-width: 900px) {
  .site-footer a { display: inline-block; min-height: 32px; padding: 6px 0; }
  .footer-bar a { padding: 6px 4px; }
}
/* No text under 12px on phones (small uppercase labels) */
@media (max-width: 900px) {
  .hero-kicker, .link-arrow, .svc-card-go, .site-footer h2, .program-panel strong { font-size: max(12px, 1em) !important; }
}
