@charset "utf-8";
/* ==========================================================================
   NextGen Garage Doors
   Built on the tokens in brand-bible/nextgen-brand-assets/brand-tokens.css.

   Two motifs carry the whole design, both lifted straight out of the mark:
     - the panel rule: evenly spaced horizontal lines, from the three panel
       lines on the garage door in the logo. Used on navy panels and as a
       section divider.
     - the chevron: the upward chevron set into the gable. Used as the list
       marker, the eyebrow prefix and the before/after slider handle.

   Colour discipline follows section 06 of the brand bible: roughly 70% navy
   and neutrals, 20% white space, 10% orange. Orange never carries white text
   at body size - see the button rules.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */

:root {
  /* From brand-tokens.css - do not drift from these. */
  --ng-navy: #16263F;
  --ng-navy-deep: #0E1A2B;
  --ng-navy-tint: #E7EBF1;
  --ng-orange: #EE7420;
  --ng-orange-deep: #C25510;
  --ng-orange-tint: #FDF0E6;
  --ng-steel: #5C6883;
  --ng-off-white: #F7F8FA;

  --ng-font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --ng-radius-sm: 4px;
  --ng-radius-md: 8px;
  --ng-radius-lg: 16px;
  --ng-radius-pill: 999px;

  /* Type scale. Display / h1 / h2 / h3 / body / small / eyebrow are the
     brand steps. `section` is a documented web-only extension sitting
     between h1 and h2, so section headings can be emphatic without
     borrowing the hero's display size. */
  --t-display: clamp(2.6rem, 6vw, 4.25rem);
  --t-h1: clamp(2rem, 4vw, 3rem);
  --t-section: clamp(1.875rem, 3.2vw, 2.5rem);
  --t-h2: 1.5rem;
  --t-h3: 1.125rem;
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-eyebrow: 0.75rem;

  /* Spacing, 4px base - brand-tokens.json */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --section-y: clamp(56px, 8vw, 112px);
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1200px;
  --container-wide: 1340px;
  --container-narrow: 46rem;

  --border: 1px solid color-mix(in srgb, var(--ng-navy) 12%, transparent);
  --border-strong: 1px solid color-mix(in srgb, var(--ng-navy) 22%, transparent);
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.05);
  --shadow-md: 0 6px 20px -8px rgba(14, 26, 43, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(14, 26, 43, 0.35);

  --header-h: 74px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
}

/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ng-off-white);
  color: var(--ng-navy);
  font-family: var(--ng-font-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* A holding colour behind photographs only, so nothing flashes white while
   they decode. Logos and icons must never pick this up. */
.shot img, .ba__pane img, .ba-pair img, .svc-card img, .media-frame img {
  background: var(--ng-navy-tint);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); letter-spacing: -0.015em; line-height: 1.1; }
h2 { font-size: var(--t-h2); letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: var(--t-h3); line-height: 1.3; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.2em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: var(--s-2); }

strong, b { font-weight: 600; }

hr { border: 0; border-top: var(--border); margin: var(--s-7) 0; }

table { border-collapse: collapse; width: 100%; }

::selection { background: var(--ng-orange); color: var(--ng-navy); }

/* Focus. Brand bible: 3px navy, offset 2px. Orange on dark grounds. */
:focus-visible {
  outline: 3px solid var(--ng-navy);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.footer :focus-visible,
.hero :focus-visible { outline-color: var(--ng-orange); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--ng-orange);
  color: var(--ng-navy);
  font-weight: 600;
  border-radius: var(--ng-radius-md);
  transform: translateY(-200%);
  transition: transform 0.15s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--flush-top { padding-top: 0; }

.section--tint { background: var(--ng-navy-tint); }
.section--white { background: #fff; }
.section--orange-tint { background: var(--ng-orange-tint); }

.section--navy,
.on-dark {
  background: var(--ng-navy);
  color: #fff;
}
.section--navy-deep { background: var(--ng-navy-deep); color: #fff; }

/* The panel rule motif - the three horizontal lines on the door in the mark,
   continued as an even rhythm across a dark panel. */
.panelled { position: relative; isolation: isolate; }
.panelled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 51px,
    rgba(255, 255, 255, 0.05) 51px 52px
  );
  pointer-events: none;
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* Grid rather than an owl: these blocks hold inline-flex children (the CTA
   phone number and button), which would otherwise sit on the same line. */
.stack { display: grid; gap: var(--s-5); align-content: start; }
.stack-lg { display: grid; gap: var(--s-7); align-content: start; }

.grid { display: grid; gap: var(--s-5); }
/* Feature lists are almost always four items, so two columns beats auto-fit
   dropping three across and orphaning the fourth. */
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ----------------------------------------------------------- typography */

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-4);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ng-orange-deep);
}
.on-dark .eyebrow, .section--navy .eyebrow, .section--navy-deep .eyebrow,
.hero .eyebrow, .footer .eyebrow { color: var(--ng-orange); }

.eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
.eyebrow--plain::before { display: none; }

.display {
  font-size: var(--t-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.section-title { font-size: var(--t-section); letter-spacing: -0.015em; line-height: 1.08; }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ng-steel);
  max-width: 40ch;
  text-wrap: pretty;
}
.on-dark .lede, .section--navy .lede, .section--navy-deep .lede, .hero .lede {
  color: rgba(255, 255, 255, 0.78);
}
.lede--wide { max-width: 56ch; }

.small { font-size: var(--t-small); line-height: 1.55; }
.muted { color: var(--ng-steel); }
.on-dark .muted, .footer .muted { color: rgba(255, 255, 255, 0.66); }

/* Section header block: eyebrow + title + optional lede + optional link */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.section-head__text { max-width: 62ch; }
.section-head__text > * + * { margin-top: var(--s-4); }

/* Triple rule - the panel lines as a divider */
.rule-triple {
  height: 9px;
  width: 44px;
  background: repeating-linear-gradient(
    to bottom,
    var(--ng-orange) 0 1px,
    transparent 1px 4px
  );
  margin-bottom: var(--s-5);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--ng-radius-md);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Navy text on orange - 4.9:1. White on orange is 2.9:1 and fails AA, so the
   hover state moves to orange-deep before it takes white text. */
.btn--primary { background: var(--ng-orange); color: var(--ng-navy); }
.btn--primary:hover { background: var(--ng-orange-deep); color: #fff; }

.btn--navy { background: var(--ng-navy); color: #fff; }
.btn--navy:hover { background: var(--ng-navy-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ng-navy);
  border-color: color-mix(in srgb, var(--ng-navy) 28%, transparent);
}
.btn--ghost:hover { background: var(--ng-navy); color: #fff; border-color: var(--ng-navy); }

.on-dark .btn--ghost, .hero .btn--ghost, .section--navy .btn--ghost,
.section--navy-deep .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .section--navy .btn--ghost:hover,
.section--navy-deep .btn--ghost:hover {
  background: #fff;
  color: var(--ng-navy);
  border-color: #fff;
}

.btn--lg { padding: 17px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Text link with a chevron that nudges */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  text-decoration: none;
  color: var(--ng-orange-deep);
}
.link-arrow::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s var(--ease);
}
.link-arrow:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.on-dark .link-arrow, .footer .link-arrow { color: var(--ng-orange); }

/* ---------------------------------------------------------------- header */

.utility {
  background: var(--ng-navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--t-small);
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 40px;
  padding-block: 6px;
}
.utility__points { display: flex; gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.utility__points li { margin: 0; display: flex; align-items: center; gap: var(--s-2); }
.utility__points li::before {
  content: "";
  flex: none;
  width: 11px; height: 7px;
  background: var(--ng-orange);
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
.utility__phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.utility__phone:hover { color: var(--ng-orange); }
@media (max-width: 900px) { .utility__points { display: none; } }
@media (max-width: 640px) { .utility { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: var(--border);
  transition: box-shadow 0.2s var(--ease);
}
.header[data-stuck="true"] { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.logo { display: block; flex: none; line-height: 0; }
.logo img { width: 200px; height: 61px; }
@media (max-width: 900px) { .logo img { width: 168px; height: 51px; } }
@media (max-width: 640px) { .logo img { width: 148px; height: 45px; } }

.header__spacer { flex: 1 1 auto; }

.header__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--ng-orange-deep); }
@media (max-width: 1100px) { .header__phone span { display: none; } }
@media (max-width: 780px) { .header__actions .btn { display: none; } }
/* Below this the logo, number and menu button no longer fit side by side. The
   number is not lost - the fixed call bar at the foot carries it. */
@media (max-width: 620px) { .header__phone { display: none; } }

/* ------------------------------------------------------------ main nav */

.nav { flex: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list > li { margin: 0; position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--ng-radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}
.nav__link:hover { background: var(--ng-navy-tint); }
.nav__link[aria-current="page"],
.nav__link[data-section="true"] { color: var(--ng-orange-deep); font-weight: 600; }

.nav__caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s var(--ease);
  opacity: 0.6;
}
.nav__link[aria-expanded="true"] .nav__caret { transform: translateY(1px) rotate(-135deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 268px;
  padding: var(--s-2);
  background: #fff;
  border: var(--border);
  border-radius: var(--ng-radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  display: none;
}
.nav__panel li { margin: 0; }
.nav__link[aria-expanded="true"] + .nav__panel { display: block; }

.nav__sublink {
  display: block;
  padding: 10px 12px;
  border-radius: var(--ng-radius-sm);
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ng-navy);
}
.nav__sublink:hover { background: var(--ng-navy-tint); }
.nav__sublink[aria-current="page"] { color: var(--ng-orange-deep); font-weight: 600; }

.nav__toggle {
  display: none;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 14px;
  background: var(--ng-navy);
  color: #fff;
  border: 0;
  border-radius: var(--ng-radius-md);
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}
.nav__burger {
  width: 16px;
  height: 10px;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 4px);
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ng-navy);
  color: #fff;
  padding: var(--s-5) 0 var(--s-8);
  overflow-y: auto;
  display: none;
}
.mobile-nav[data-open="true"] { display: block; }
body[data-nav-open="true"] { overflow: hidden; }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-6);
}
.mobile-nav__close {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: var(--ng-radius-md);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-nav a, .mobile-nav .m-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.mobile-nav .m-sub { display: none; padding-left: var(--s-4); padding-bottom: var(--s-3); }
.mobile-nav .m-sub li { border: 0; }
.mobile-nav .m-sub a { font-size: 1rem; font-weight: 400; padding: 10px 0; opacity: 0.85; }
.mobile-nav .m-toggle[aria-expanded="true"] + .m-sub { display: block; }
.mobile-nav .m-toggle .nav__caret { opacity: 0.9; }
.mobile-nav__cta { margin-top: var(--s-6); display: grid; gap: var(--s-3); }

/* ------------------------------------------------------------- sticky bar */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: color-mix(in srgb, var(--ng-navy) 30%, transparent);
  box-shadow: 0 -6px 24px -12px rgba(14, 26, 43, 0.5);
}
.callbar a {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 15px 8px;
  font-weight: 600;
  text-decoration: none;
}
.callbar a:first-child { background: var(--ng-navy); color: #fff; }
.callbar a:last-child { background: var(--ng-orange); color: var(--ng-navy); }

@media (max-width: 780px) {
  .callbar { display: flex; }
  body { padding-bottom: 54px; }
  .footer { padding-bottom: var(--s-7); }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: var(--ng-navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* A single wide chevron, bled off the left edge, echoing the gable mark. */
  content: "";
  position: absolute;
  left: -14%;
  bottom: -32%;
  width: 62%;
  aspect-ratio: 1.6 / 1;
  background: rgba(238, 116, 32, 0.06);
  clip-path: polygon(50% 0, 100% 55%, 100% 100%, 50% 45%, 0 100%, 0 55%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
}

.hero__copy > * + * { margin-top: var(--s-5); }

/* The hero comparison is capped so a portrait pair cannot push the headline
   off the fold. */
/* width:100% matters - `margin-inline:auto` alone turns a grid item from
   stretch to shrink-to-fit and the comparison collapses to its intrinsic
   width. The hero always uses a landscape pair (see tools/pages.py). */
.hero__media { width: 100%; max-width: 640px; margin-inline: auto; }
.hero__copy .lede { max-width: 44ch; }

.hero__facts {
  display: grid;
  gap: var(--s-3);
  margin: 0;
  padding: var(--s-5) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__facts li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--t-small);
  color: rgba(255, 255, 255, 0.82);
}
.hero__facts li::before {
  content: "";
  flex: none;
  margin-top: 5px;
  width: 12px; height: 8px;
  background: var(--ng-orange);
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
@media (min-width: 560px) {
  .hero__facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* Compact hero for interior pages */
.hero--page { background: var(--ng-navy); }
.hero--page .hero__inner {
  grid-template-columns: 1fr;
  padding-block: clamp(36px, 5vw, 64px);
  gap: var(--s-5);
}
.hero--page .hero__copy { max-width: 60ch; }
.hero--page::after { opacity: 0.6; }

/* --------------------------------------------------- before/after slider */

.ba {
  --pos: 50%;
  position: relative;
  container-type: inline-size;
  border-radius: var(--ng-radius-md);
  overflow: hidden;
  background: var(--ng-navy-deep);
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.ba__pane { display: block; }
.ba__pane img {
  display: block;
  width: 100%;
  aspect-ratio: var(--ba-ratio, 4 / 3);
  object-fit: cover;
}

/* The before pane is clipped to --pos. Its image stays the full width of the
   component via 100cqw, so it is revealed rather than squashed - no JS needed
   to keep the two photographs in register. */
.ba__before {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: var(--pos);
  overflow: hidden;
}
.ba__before .ba__pane { width: 100cqw; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 3px;
  margin-left: -1.5px;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: ew-resize;
  touch-action: none;
}
.ba__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  background: var(--ng-orange);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(14, 26, 43, 0.45);
}
.ba__handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  /* The base `svg { max-width: 100% }` resolves against the 3px-wide handle and
     would crush this to nothing. */
  width: 30px;
  height: 14px;
  max-width: none;
  transform: translate(-50%, -50%);
  color: var(--ng-navy);
  pointer-events: none;
}

.ba__handle:focus-visible { outline: 3px solid var(--ng-orange); outline-offset: 3px; }

.ba__tag {
  position: absolute;
  top: var(--s-3);
  z-index: 4;
  padding: 5px 12px;
  border-radius: var(--ng-radius-pill);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before { left: var(--s-3); background: rgba(14, 26, 43, 0.82); color: #fff; }
.ba__tag--after { right: var(--s-3); background: var(--ng-orange); color: var(--ng-navy); }

.ba__hint {
  position: absolute;
  left: 50%;
  bottom: var(--s-3);
  z-index: 4;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: var(--ng-radius-pill);
  background: rgba(14, 26, 43, 0.78);
  color: #fff;
  font-size: var(--t-small);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.ba[data-touched="true"] .ba__hint { opacity: 0; }

/* No JS: the handle is inert, so hide it and sit the split at half. Both
   photographs are still on the page and still labelled. */
.no-js .ba__handle, .no-js .ba__hint { display: none; }

.ba-card { background: #fff; border: var(--border); border-radius: var(--ng-radius-md); overflow: hidden; }
.ba-card .ba { border-radius: 0; box-shadow: none; }
.ba-card__body { padding: var(--s-5); }
.ba-card__body h3 { margin-bottom: var(--s-2); }
.ba-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-top: var(--s-4);
}

/* Two-up fallback where the before and after photos are different shapes */
/* Used only where the two photographs were taken from genuinely different
   positions, so a slider would show nothing useful. It fills the same frame as
   a slider, but the wider gutter and the note make it read as a deliberate
   pair rather than a slider that has stopped working. */
.ba-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  aspect-ratio: var(--ba-ratio, 4 / 3);
  background: var(--ng-navy);
  border-radius: var(--ng-radius-md);
  overflow: hidden;
}
.ba-pair figure { margin: 0; position: relative; min-width: 0; }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.ba-pair figcaption {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  padding: 4px 10px;
  border-radius: var(--ng-radius-pill);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* nth-of-type, not last-child - the note span is the container's last child. */
.ba-pair figure:nth-of-type(1) figcaption { background: rgba(14, 26, 43, 0.82); color: #fff; }
.ba-pair figure:nth-of-type(2) figcaption { background: var(--ng-orange); color: var(--ng-navy); }

.ba-pair__note {
  position: absolute;
  left: 50%;
  bottom: var(--s-3);
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: var(--ng-radius-pill);
  background: rgba(14, 26, 43, 0.78);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--t-small);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------------------------------------------------------------- cards */

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--border);
  border-radius: var(--ng-radius-md);
  padding: var(--s-5);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.card > * + * { margin-top: var(--s-3); }
.card h3 { font-size: 1.1875rem; }
.card p { color: var(--ng-steel); font-size: 0.9375rem; }
.card__foot { margin-top: auto; padding-top: var(--s-4); }

.card--link:hover {
  border-color: var(--ng-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card--link a::after { content: ""; position: absolute; inset: 0; }
.card--link { position: relative; }

.card__num {
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ng-orange-deep);
}

/* Service card with a photo */
.svc-card { padding: 0; overflow: hidden; }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }

/* --------------------------------------------------------- honest block */

.honest { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .honest { grid-template-columns: 1fr 1fr; } }

.honest__col {
  padding: var(--s-6);
  border-radius: var(--ng-radius-md);
  border: var(--border);
  background: #fff;
}
.honest__col--watch { background: var(--ng-orange-tint); border-color: color-mix(in srgb, var(--ng-orange) 30%, transparent); }
.honest__col h3 { margin-bottom: var(--s-4); }
.honest__col ul { list-style: none; padding: 0; margin: 0; }
.honest__col li {
  display: flex;
  gap: var(--s-3);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.honest__col li + li { margin-top: var(--s-3); }
.honest__col li::before {
  content: "";
  flex: none;
  margin-top: 6px;
  width: 12px; height: 8px;
  background: var(--ng-orange);
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
.honest__col--watch li::before {
  clip-path: none;
  border-radius: 1px;
  height: 3px;
  margin-top: 9px;
  background: var(--ng-orange-deep);
}

/* ----------------------------------------------------------- spec table */

.spec { border: var(--border); border-radius: var(--ng-radius-md); overflow: hidden; background: #fff; }
.spec table { font-size: 0.9375rem; }
.spec th, .spec td { padding: var(--s-4) var(--s-5); text-align: left; vertical-align: top; }
.spec th { width: 34%; font-weight: 600; white-space: nowrap; }
.spec td { color: var(--ng-steel); }
.spec tr + tr { border-top: var(--border); }
.spec tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--ng-navy-tint) 45%, #fff); }
@media (max-width: 560px) {
  .spec th, .spec td { display: block; width: auto; white-space: normal; }
  .spec th { padding-bottom: 0; }
  .spec td { padding-top: var(--s-1); }
}

/* --------------------------------------------------------------- steps */

.steps { counter-reset: step; display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding-top: var(--s-5); border-top: 3px solid var(--ng-navy-tint); }
.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: var(--s-3);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ng-orange-deep);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { font-size: 0.9375rem; color: var(--ng-steel); }
.on-dark .step, .section--navy .step { border-top-color: rgba(255, 255, 255, 0.2); }
.on-dark .step p, .section--navy .step p { color: rgba(255, 255, 255, 0.72); }
.on-dark .step::before, .section--navy .step::before { color: var(--ng-orange); }

/* ----------------------------------------------------------------- FAQ */

.faq { border-top: var(--border); }
.faq details { border-bottom: var(--border); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  margin-top: 7px;
  width: 11px; height: 11px;
  border-right: 2px solid var(--ng-orange-deep);
  border-bottom: 2px solid var(--ng-orange-deep);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq__answer { padding: 0 0 var(--s-5); max-width: 68ch; color: var(--ng-steel); }

/* -------------------------------------------------------------- gallery */

.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter {
  padding: 9px 16px;
  border: var(--border-strong);
  border-radius: var(--ng-radius-pill);
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
              border-color 0.15s var(--ease);
}
.filter:hover { border-color: var(--ng-navy); }
.filter[aria-pressed="true"] {
  background: var(--ng-navy);
  border-color: var(--ng-navy);
  color: #fff;
}

.gallery { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.gallery > [hidden] { display: none; }

.shot {
  position: relative;
  margin: 0;
  border-radius: var(--ng-radius-md);
  overflow: hidden;
  background: #fff;
  border: var(--border);
}
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { padding: var(--s-4) var(--s-5); font-size: 0.9375rem; }

/* --------------------------------------------------------------- forms */

.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

/* align-content:start stops a field with no hint text from stretching its
   input to match a taller neighbour in the same row. */
.field { display: grid; gap: var(--s-2); align-content: start; }
.field > label { font-size: 0.9375rem; font-weight: 600; }
.field__hint { font-size: var(--t-small); color: var(--ng-steel); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  border: var(--border-strong);
  border-radius: var(--ng-radius-md);
  background: #fff;
  color: var(--ng-navy);
  font: inherit;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ng-navy); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--ng-navy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ng-orange) 35%, transparent);
  outline: none;
}
.textarea { min-height: 130px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ng-steel) 50%),
                    linear-gradient(135deg, var(--ng-steel) 50%, transparent 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--ng-orange-deep);
}
.field__error { font-size: var(--t-small); font-weight: 600; color: var(--ng-orange-deep); }
.field__error:empty { display: none; }

/* Honeypot - visually and semantically out of the way, never focusable. */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.checks { display: grid; gap: var(--s-3); }
.check { display: flex; align-items: flex-start; gap: var(--s-3); font-size: 0.9375rem; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ng-orange-deep); flex: none; }
.check + .field__error { margin: calc(var(--s-2) * -1) 0 0 30px; }

.form__status {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--ng-radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
}
.form__status:empty { display: none; }
.form__status[data-state="error"] { background: var(--ng-orange-tint); color: var(--ng-orange-deep); }
.form__status[data-state="ok"] { background: var(--ng-navy-tint); color: var(--ng-navy); }
.form__status[data-state="busy"] { background: var(--ng-navy-tint); color: var(--ng-steel); }

.form-panel {
  background: #fff;
  border: var(--border);
  border-radius: var(--ng-radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------- CTA band */

.cta {
  position: relative;
  background: var(--ng-navy);
  color: #fff;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-6);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
@media (min-width: 860px) {
  .cta__inner { grid-template-columns: minmax(0, 1.4fr) auto; }
}
.cta h2 { font-size: var(--t-section); letter-spacing: -0.015em; line-height: 1.1; }
.cta__phone {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-3);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: #fff;
}
.cta__phone:hover { color: var(--ng-orange); }

/* ------------------------------------------------------------ trust row */

.trust {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.trust__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.trust__item::before {
  content: "";
  flex: none;
  margin-top: 6px;
  width: 18px; height: 12px;
  background: var(--ng-orange);
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
.trust__item h3 { font-size: 1rem; margin-bottom: var(--s-1); }
.trust__item p { font-size: 0.9375rem; color: var(--ng-steel); }
.on-dark .trust__item p, .section--navy .trust__item p { color: rgba(255, 255, 255, 0.72); }

/* ----------------------------------------------------------- breadcrumb */

.crumbs { padding-block: var(--s-4); font-size: var(--t-small); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: var(--s-2); color: var(--ng-steel); }
.crumbs li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}
.crumbs a { color: var(--ng-steel); text-decoration: none; }
.crumbs a:hover { color: var(--ng-navy); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ng-navy); }

/* --------------------------------------------------------------- areas */

.area-list { columns: 3 180px; column-gap: var(--s-6); list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.area-list li { margin: 0 0 var(--s-2); break-inside: avoid; }

.pill-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.pill-list li { margin: 0; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--ng-radius-pill);
  background: var(--ng-navy-tint);
  color: var(--ng-navy);
  font-size: var(--t-small);
  font-weight: 500;
  text-decoration: none;
}
a.pill:hover { background: var(--ng-navy); color: #fff; }
.on-dark .pill, .footer .pill { background: rgba(255, 255, 255, 0.1); color: #fff; }
.on-dark a.pill:hover, .footer a.pill:hover { background: var(--ng-orange); color: var(--ng-navy); }

/* -------------------------------------------------------------- callout */

.callout {
  padding: var(--s-6);
  border-radius: var(--ng-radius-md);
  background: var(--ng-orange-tint);
  border-left: 4px solid var(--ng-orange);
}
.callout h3 { margin-bottom: var(--s-2); }
.callout p { color: color-mix(in srgb, var(--ng-navy) 88%, transparent); }

/* --------------------------------------------------------------- footer */

.footer {
  background: var(--ng-navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--s-8) var(--s-6);
  font-size: 0.9375rem;
}
.footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h3 {
  margin-bottom: var(--s-4);
  color: #fff;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 var(--s-2); }

.footer__top {
  display: grid;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 780px) {
  .footer__top { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
}
.footer__brand img { width: 208px; height: 64px; margin-bottom: var(--s-5); }
.footer__contact { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.footer__contact a { color: #fff; font-weight: 600; }

.footer__areas { padding-block: var(--s-6); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer__areas .area-list { columns: 4 150px; font-size: var(--t-small); }
.footer__areas a { color: rgba(255, 255, 255, 0.6); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  font-size: var(--t-small);
  color: rgba(255, 255, 255, 0.55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }

/* ---------------------------------------------------------------- misc */

.notice {
  background: var(--ng-orange);
  color: var(--ng-navy);
  font-size: var(--t-small);
  font-weight: 600;
  text-align: center;
  padding: 10px var(--gutter);
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } }

.media-frame {
  border-radius: var(--ng-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ng-navy-tint);
}
.media-frame img { width: 100%; object-fit: cover; }

.count-strip {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.count { border-left: 3px solid var(--ng-orange); padding-left: var(--s-4); }
.count dt { font-size: var(--t-small); color: var(--ng-steel); margin-bottom: var(--s-1); }
.count dd {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.on-dark .count dt, .section--navy .count dt { color: rgba(255, 255, 255, 0.66); }

@media print {
  .header, .utility, .callbar, .mobile-nav, .cta, .footer__areas { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero, .section--navy, .section--navy-deep { background: #fff !important; color: #000 !important; }
}
