/* Accent Window Systems - Apple-level craft
   Architectural glass · generous space · cinematic type */

:root {
  --ink: #0c0e10;
  --ink-soft: #3a4149;
  --ink-mute: #6b7380;
  --paper: #f7f8fa;
  --paper-warm: #eef0f3;
  --white: #ffffff;
  --aluminum: #9aa3ad;
  --aluminum-warm: #c8ced4;
  --steel: #2f6f94;
  --steel-deep: #1e4d6b;
  --steel-soft: #5b9bc0;
  --steel-glow: rgba(47, 111, 148, 0.14);
  --line: rgba(12, 14, 16, 0.08);
  --line-strong: rgba(12, 14, 16, 0.14);
  --overlay: rgba(8, 10, 12, 0.42);
  --overlay-deep: rgba(8, 10, 12, 0.72);
  --surface-elevated: rgba(255, 255, 255, 0.72);

  --fs-eyebrow: 0.6875rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --fs-lede: clamp(1.05rem, 0.98rem + 0.45vw, 1.35rem);
  --fs-h3: clamp(1.15rem, 1.02rem + 0.55vw, 1.55rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2.1vw, 3.65rem);
  --fs-h1: clamp(1.95rem, 1.35rem + 2.4vw, 4rem);
  --fs-promise: clamp(1.75rem, 1.25rem + 2.2vw, 3.85rem);

  --gap: clamp(1.1rem, 0.75rem + 1.5vw, 2.25rem);
  --section-y: clamp(4rem, 2.75rem + 5.5vw, 9.5rem);
  --container: 1180px;
  --container-wide: 1360px;
  --px: clamp(1.15rem, 0.85rem + 2.4vw, 3.25rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-hero: 1.35s;
  --dur-ui: 0.32s;

  --z-header: 100;
  --z-drawer: 200;
  --z-skip: 300;

  --topbar-h: 0px;
  --header-h: 4.85rem;
  --chrome-h: var(--header-h);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --font-display: "Syne", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 450;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 111, 148, 0.07), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(12, 14, 16, 0.04), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, iframe, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--px);
  z-index: var(--z-skip);
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 999px;
}
.skip-link:focus { top: 0.75rem; }

/* Fixed header clearance for pages without a full-bleed hero */
main {
  padding-top: 0;
}
main:not(:has(.hero)) {
  padding-top: calc(var(--chrome-h) + 0.75rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.2;
}
p { color: var(--ink-soft); }
.lede {
  font-size: var(--fs-lede);
  max-width: 38rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 450;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 1.1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--px);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.section--ink {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(47, 111, 148, 0.22), transparent 60%),
    linear-gradient(180deg, #111518 0%, #0c0e10 100%);
  color: var(--white);
}
.section--ink h2,
.section--ink h3 { color: var(--white); }
.section--ink p,
.section--ink .lede { color: rgba(255, 255, 255, 0.72); }
.section--paper {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.97));
}
.section--mute {
  background:
    linear-gradient(180deg, rgba(238, 240, 243, 0.65), rgba(247, 248, 250, 0.9));
}

.section-head {
  max-width: 28rem;
  margin-bottom: clamp(2.75rem, 2rem + 2.5vw, 4.25rem);
}
.section-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}
.section-head .lede { margin-top: 1.15rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.35rem 1rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--dur-ui) var(--ease-out-expo),
    background-color var(--dur-ui) var(--ease-in-out-soft),
    color var(--dur-ui) var(--ease-in-out-soft),
    border-color var(--dur-ui) var(--ease-in-out-soft),
    box-shadow var(--dur-ui) var(--ease-in-out-soft);
  white-space: nowrap;
}
.btn__arrow {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  flex: 0 0 auto;
  transition: background var(--dur-ui), transform var(--dur-ui) var(--ease-out-expo);
}
.btn__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arrow { transform: translateX(2px); background: rgba(255, 255, 255, 0.28); }
.btn--primary {
  background: linear-gradient(135deg, #1a2229 0%, #0c0e10 55%, #16384c 140%);
  color: var(--white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 14px 34px rgba(12, 14, 16, 0.22);
}
.btn--primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 18px 40px rgba(22, 56, 76, 0.35);
}
.btn--nav {
  padding: 0.7rem 0.85rem 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  box-shadow: 0 10px 28px rgba(12, 14, 16, 0.18);
}
.btn--nav .btn__arrow {
  width: 1.15rem;
  height: 1.15rem;
  background: rgba(255, 255, 255, 0.14);
}
.btn--nav:hover { background: var(--steel-deep); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: rgba(12, 14, 16, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(12, 14, 16, 0.05);
}
.btn--ghost .btn__arrow { background: rgba(12, 14, 16, 0.08); }
.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}
.btn--ghost-light .btn__arrow { background: rgba(255, 255, 255, 0.14); }
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--ink);
}
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover { background: var(--paper); }

/* High-contrast CTA for dark photography (hero) */
.btn--hero {
  background: #ffffff;
  color: #0c0e10;
  border-color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 40px rgba(0, 0, 0, 0.35);
}
.btn--hero .btn__arrow {
  background: rgba(12, 14, 16, 0.08);
  color: #0c0e10;
}
.btn--hero:hover {
  background: #f2f5f8;
  color: #0c0e10;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 48px rgba(0, 0, 0, 0.4);
}
.btn--hero:hover .btn__arrow {
  background: rgba(47, 111, 148, 0.16);
  transform: translateX(2px);
}
.hero .btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.hero .btn--ghost-light:hover {
  background: #ffffff;
  color: #0c0e10;
  border-color: #ffffff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Header / Nav shell — floats over the hero */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding:
    max(0.65rem, var(--safe-top))
    max(var(--px), var(--safe-right))
    0
    max(var(--px), var(--safe-left));
  background: transparent;
  transition: padding var(--dur-ui) var(--ease-out-expo), background var(--dur-ui);
  pointer-events: none;
}
.site-header .nav-shell,
.site-header .nav-toggle,
.site-header .brand,
.site-header .nav-actions,
.site-header .site-nav,
.site-header .nav-meta {
  pointer-events: auto;
}
.site-header.is-scrolled {
  padding-top: max(0.45rem, var(--safe-top));
  background: linear-gradient(180deg, rgba(247, 248, 250, 0.96) 40%, rgba(247, 248, 250, 0));
}
.site-header.is-scrolled .nav-shell {
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(12, 14, 16, 0.1);
}
.nav-shell {
  max-width: var(--container-wide);
  margin-inline: auto;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(12, 14, 16, 0.08);
  box-shadow: 0 12px 36px rgba(12, 14, 16, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--dur-ui), background var(--dur-ui), border-radius var(--dur-ui);
}
.nav-shell__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0.4rem 0.55rem 0.4rem 0.7rem;
}
.nav-meta {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid rgba(12, 14, 16, 0.06);
}
.nav-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--aluminum);
}
@media (min-width: 1280px) {
  .nav-meta { display: flex; flex-wrap: wrap; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 3.5rem);
}
.brand__mark {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border-radius: 0.55rem;
  box-shadow: 0 8px 20px rgba(22, 56, 76, 0.18);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.05;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__tag {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand--mobile .brand__name { color: var(--white); }
.brand--mobile .brand__tag { color: var(--aluminum); }

.site-nav { display: none; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--ink-soft);
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: color var(--dur-ui), background var(--dur-ui);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}
.nav-link:hover,
.nav-link.is-active { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link--btn::after { display: none; }
.nav-link--btn::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.4rem;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}
/* Quote CTA lives in the mobile drawer — keep header to logo + menu on small screens */
.nav-actions .btn--nav {
  display: none;
}
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background var(--dur-ui), color var(--dur-ui);
}
.nav-phone:hover {
  background: rgba(12, 14, 16, 0.05);
  color: var(--ink);
}
.nav-phone__icon {
  display: inline-flex;
  color: var(--steel);
}
@media (min-width: 1100px) {
  .nav-phone { display: inline-flex; }
  .nav-actions .btn--nav { display: inline-flex; }
}

.nav-dropdown { position: relative; }
.nav-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-40%) translateY(8px);
  width: min(22rem, 70vw);
  display: grid;
  gap: 0.25rem;
  padding: 0.55rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(12, 14, 16, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-ui), transform var(--dur-ui), visibility var(--dur-ui);
  z-index: 20;
}
.nav-dropdown:hover .nav-panel,
.nav-dropdown:focus-within .nav-panel,
.nav-dropdown.is-open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-40%) translateY(0);
}
.nav-panel a {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
  transition: background var(--dur-ui);
}
.nav-panel a:hover { background: rgba(47, 111, 148, 0.08); }
.nav-panel__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.nav-panel__desc {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 0.7rem;
  border-radius: 999px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-ui), opacity var(--dur-ui);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background:
    radial-gradient(600px 400px at 80% 0%, rgba(47, 111, 148, 0.28), transparent 55%),
    #0c0e10;
  color: var(--white);
  padding:
    max(1.25rem, calc(var(--safe-top) + 0.75rem))
    max(var(--px), var(--safe-right))
    max(2.5rem, calc(var(--safe-bottom) + 1.5rem))
    max(var(--px), var(--safe-left));
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.mobile-nav__close {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}
.mobile-nav__pin {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav__list a {
  display: block;
  padding: 0.95rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}
.mobile-nav__list a:hover { color: var(--white); }
.mobile-nav__sub {
  padding-left: 0.85rem;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--aluminum) !important;
}

@media (min-width: 1100px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .brand { max-width: none; flex: 0 1 auto; }
  .brand__mark { width: 2.35rem; height: 2.35rem; }
  .nav-shell { border-radius: 1.35rem; }
  .nav-shell__bar {
    min-height: 3.85rem;
    padding: 0.45rem 0.7rem 0.45rem 0.85rem;
    gap: 1rem;
  }
}

/* Remove legacy topbar styles if present */
.topbar { display: none; }

/* Hero — full viewport; copy sits in the open plane below the floating nav */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.32) 0%, rgba(8, 10, 12, 0.28) 36%, rgba(8, 10, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.58) 0%, transparent 58%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--chrome-h) + clamp(1rem, 2vh, 2rem));
  padding-bottom: max(clamp(2rem, 3.5vh, 3.75rem), calc(var(--safe-bottom) + 1rem));
}
.hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.92rem + 0.55vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.hero h1 {
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 1.25rem + 1.7vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero .lede {
  color: rgba(255, 255, 255, 0.84);
  max-width: 34rem;
  font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.1rem);
}
.hero .btn-row { margin-top: 1.25rem; }
.hero-jump { margin-top: 1.35rem; }
.hero--page {
  min-height: min(78svh, 100svh);
}
.hero--page h1 { max-width: 16ch; }

@media (min-width: 900px) {
  .hero {
    height: 100svh;
    max-height: 100svh;
    min-height: 36rem;
  }
  .hero__content {
    padding-bottom: clamp(2.5rem, 4.5vh, 4.25rem);
  }
  .hero--page {
    height: min(78svh, 100svh);
    max-height: min(78svh, 100svh);
    min-height: 28rem;
  }
}

/* Laptop mid-heights: open the composition — never kiss the nav */
@media (min-width: 900px) and (max-height: 920px) {
  .hero {
    align-items: center;
  }
  .hero__content {
    padding-top: calc(var(--chrome-h) + clamp(0.5rem, 1.2vh, 1.25rem));
    padding-bottom: clamp(1.5rem, 2.8vh, 2.5rem);
  }
  .hero .brand-signal {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }
  .hero h1 {
    font-size: clamp(1.65rem, 1.3rem + 1.1vw, 2.45rem);
    margin-bottom: 0.5rem;
  }
  .hero .lede {
    font-size: 0.96rem;
    max-width: 32rem;
  }
  .hero .btn-row { margin-top: 0.95rem; }
  .hero .btn {
    padding: 0.78rem 1.2rem;
    font-size: 0.84rem;
  }
  .hero-jump {
    margin-top: 1rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 899px) {
  .hero {
    align-items: flex-end;
    min-height: 100svh;
  }
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.1rem;
    white-space: normal;
    text-align: center;
  }
  .hero-jump {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1.15rem;
  }
  .hero-jump span[aria-hidden="true"] { display: none; }
}

@media (max-height: 700px) and (min-width: 900px) {
  .hero .brand-signal { font-size: 1rem; margin-bottom: 0.3rem; }
  .hero h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); margin-bottom: 0.4rem; }
  .hero .lede { font-size: 0.92rem; }
  .hero .btn-row { margin-top: 0.8rem; }
  .hero-jump { margin-top: 0.8rem; }
}

/* Promise band */
.promise {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding-block: clamp(3.5rem, 3rem + 4vw, 6rem);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(47, 111, 148, 0.35), transparent 70%);
  pointer-events: none;
}
.promise__line {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--fs-promise);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.promise__line.is-in {
  opacity: 1;
  transform: none;
}

/* Trust strip */
.trust-strip {
  display: grid;
  gap: 1rem;
}
.trust-strip__item {
  padding: 1.35rem 1.25rem;
  border-radius: 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 16, 0.06);
}
@media (min-width: 768px) {
  .trust-strip__item {
    padding: 1.85rem 1.75rem;
    border-radius: 1.35rem;
  }
}
.trust-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 0.55rem;
  color: var(--ink);
}
.trust-strip__item span {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.55;
}
@media (min-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

/* Content modules - generous padding, no bootstrap card look */
.router-grid,
.product-grid,
.who-grid {
  display: grid;
  gap: 1.15rem;
}

/* Why Accent - editorial rail (no cards) */
.why-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(12, 14, 16, 0.12);
}
.why-rail__item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(12, 14, 16, 0.12);
  transition: background var(--dur-ui);
}
.why-rail__item:hover {
  background: linear-gradient(90deg, rgba(47, 111, 148, 0.04), transparent 55%);
}
.why-rail__index {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: rgba(47, 111, 148, 0.35);
}
.why-rail__copy {
  padding-top: 0.35rem;
  max-width: 38rem;
}
.why-rail__copy h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.85rem);
}
.why-rail__copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
}
@media (min-width: 900px) {
  .why-rail__item {
    grid-template-columns: 6.5rem 1fr;
    gap: 2rem 3rem;
    padding: 2.75rem 0.5rem 2.75rem 0;
  }
  .why-rail__copy { padding-top: 0.55rem; }
}

.router-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 14.5rem;
  padding: 1.65rem 1.45rem;
  border-radius: 1.35rem;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(160deg, #2a4f66 0%, #12171c 70%);
  border: 0;
  box-shadow: 0 18px 40px rgba(12, 14, 16, 0.12);
  transition: transform var(--dur-ui) var(--ease-out-expo), box-shadow var(--dur-ui);
}
.router-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 90% 10%, rgba(126, 179, 212, 0.3), transparent 60%);
  pointer-events: none;
}
.router-grid a:nth-child(2) {
  background: linear-gradient(160deg, #33434f 0%, #101418 72%);
}
.router-grid a:nth-child(3) {
  background: linear-gradient(160deg, #3a5f74 0%, #141b21 72%);
}
.router-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(12, 14, 16, 0.18);
}
.router-grid h3 {
  position: relative;
  color: var(--white);
  margin: 0;
  font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.75rem);
}
.router-grid p {
  position: relative;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
  max-width: 28ch;
  line-height: 1.5;
  margin: 0;
}
.router-grid .link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d7e8f3;
}
.router-grid .link-arrow::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
}
.router-grid .link-arrow::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.product-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.45rem;
  align-items: center;
  padding: 1.35rem 1.2rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 16, 0.06);
  transition:
    border-color var(--dur-ui),
    transform var(--dur-ui) var(--ease-out-expo),
    box-shadow var(--dur-ui);
}
.product-grid a::before { content: none; }
.product-grid a:hover {
  border-color: rgba(47, 111, 148, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(12, 14, 16, 0.08);
}
.product-grid h3 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.product-grid p {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.95rem;
  max-width: 46ch;
  margin: 0;
  line-height: 1.55;
}
.product-grid .link-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(12, 14, 16, 0.08);
  letter-spacing: 0;
  text-transform: none;
  transition: background var(--dur-ui), color var(--dur-ui);
}
.product-grid .link-arrow::before { content: none; }
.product-grid .link-arrow::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.product-grid a:hover .link-arrow {
  background: var(--ink);
  color: var(--white);
}

.who-grid > * {
  position: relative;
  padding: 2.15rem 1.85rem 2rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 16, 0.06);
  overflow: hidden;
}
.who-grid > *::before {
  content: "";
  position: absolute;
  left: 1.85rem;
  right: 1.85rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--steel-soft), var(--steel-deep));
}
.who-grid h3 {
  margin: 0.85rem 0 0.65rem;
}
.who-grid p {
  font-size: 0.95rem;
  max-width: 36ch;
  line-height: 1.55;
  margin: 0;
}

@media (min-width: 900px) {
  .router-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .router-grid a { min-height: 17.5rem; padding: 2rem 1.85rem; border-radius: 1.5rem; }
  .who-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
  .product-grid a {
    column-gap: 1.25rem;
    row-gap: 0.55rem;
    padding: 1.85rem 1.75rem;
    border-radius: 1.4rem;
  }
}

/* Feature band */
.feature-band {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.feature-band__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: 0 30px 80px rgba(12, 14, 16, 0.18);
}
.feature-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .feature-band {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

/* Process - stepped timeline (no cards) */
.process-track,
.process {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0.5rem;
  display: grid;
  gap: 2.5rem;
  position: relative;
  counter-reset: none;
}
.process-track__step,
.process__item {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 0 0 0 3.5rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.process-track__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1;
}
.process-track__step:not(:last-child)::before,
.process__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 2.35rem;
  bottom: -2.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(47, 111, 148, 0.55), rgba(12, 14, 16, 0.12));
}
.process__item::before {
  /* override old counter - use line only when no .process-track__node */
}
.process:not(.process-track) .process__item {
  counter-increment: step;
}
.process:not(.process-track) {
  counter-reset: step;
}
.process:not(.process-track) .process__item::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 1;
}
.process-track__step h3,
.process__item h3 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
}
.process-track__step p,
.process__item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
}

@media (min-width: 1100px) {
  .process-track,
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 0.75rem;
  }
  .process-track--five { grid-template-columns: repeat(5, 1fr); }
  .process-track--six { grid-template-columns: repeat(3, 1fr); }
  .process-track__step,
  .process__item {
    padding: 3.25rem 1.25rem 0 0;
  }
  .process-track__node,
  .process:not(.process-track) .process__item::after {
    left: 0;
    top: 0;
  }
  .process-track__step:not(:last-child)::before,
  .process__item:not(:last-child)::before {
    left: 2.35rem;
    right: -1.5rem;
    top: 1.1rem;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(47, 111, 148, 0.45), rgba(12, 14, 16, 0.1));
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .process-track,
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.5rem;
    padding-top: 0.75rem;
  }
  .process-track--five,
  .process-track--six {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-track__step,
  .process__item {
    padding: 3.25rem 0.75rem 0 0;
  }
  .process-track__node,
  .process:not(.process-track) .process__item::after {
    left: 0;
    top: 0;
  }
  .process-track__step:not(:last-child)::before,
  .process__item:not(:last-child)::before {
    left: 2.35rem;
    right: -1.5rem;
    top: 1.1rem;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(47, 111, 148, 0.45), rgba(12, 14, 16, 0.1));
  }
}

/* Projects / brands */
.projects {
  display: grid;
  gap: 0.85rem;
}
.projects__item {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.projects__item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.projects__item span { color: var(--aluminum); font-size: 0.9rem; }
@media (min-width: 768px) {
  .projects { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 0.5rem;
  align-items: baseline;
}
.brand-strip__lead {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-right: 1rem;
}
.brand-strip span {
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-mute);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(12, 14, 16, 0.04);
  border: 1px solid var(--line);
}
.brand-strip--light .brand-strip__lead { color: var(--white); }
.brand-strip--light span {
  color: var(--aluminum-warm);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* FAQ */
.faq {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.15rem;
  font-weight: 650;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  text-wrap: pretty;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--steel);
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 0 1.5rem 1.4rem;
  max-width: 62ch;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding-block: clamp(4.5rem, 3.5rem + 5vw, 7.5rem);
}
.cta-band h2 { margin-bottom: 0.85rem; max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }

/* Contact / map */
.split-contact {
  display: grid;
  gap: 2.75rem;
}
@media (min-width: 900px) {
  .split-contact { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
}
.map-embed {
  aspect-ratio: 4 / 3;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 14, 16, 0.08);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Forms */
.form-tabs {
  display: flex;
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(12, 14, 16, 0.05);
  margin-bottom: 1.75rem;
}
.form-tabs button {
  flex: 1;
  padding: 0.75rem 0.65rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  font-size: clamp(0.78rem, 0.72rem + 0.3vw, 0.92rem);
  color: var(--ink-mute);
  transition: background var(--dur-ui), color var(--dur-ui), box-shadow var(--dur-ui);
  white-space: nowrap;
}
.form-tabs button.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(12, 14, 16, 0.08);
}
.form-panel { display: none; }
.form-panel.is-active { display: block; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color var(--dur-ui), box-shadow var(--dur-ui);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 4px var(--steel-glow);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--steel-deep);
}
.form-status.is-error { color: #8b2e2e; }

/* Prose */
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.75rem; margin-bottom: 1.1rem; }
.prose h3 { margin-top: 2.15rem; margin-bottom: 0.85rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 1rem;
  color: var(--ink-soft);
}
.prose li + li { margin-top: 0.45rem; }

.checklist {
  display: grid;
  gap: 0.85rem;
}
.checklist li {
  padding: 1rem 1.15rem 1rem 2.5rem;
  position: relative;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--steel);
}

/* Series */
.series { display: grid; gap: 1.15rem; }
@media (min-width: 800px) {
  .series { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.series__item {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}
.series__item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  margin-bottom: 1.25rem;
  border-radius: 1.15rem;
  background: var(--paper-warm);
  box-shadow: 0 20px 50px rgba(12, 14, 16, 0.12);
}
.series__item h3 { margin-bottom: 0.55rem; }

/* Milgard series carousel (windows co-op section) */
.series-carousel {
  display: grid;
  gap: 1.25rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 1fr);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
@media (min-width: 900px) {
  .series-carousel {
    grid-auto-flow: unset;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
}
.series-carousel__item {
  scroll-snap-align: start;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.series-carousel__media {
  position: relative;
  margin-bottom: 1.15rem;
}
.series-carousel__media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 1.15rem;
  background: var(--paper-warm);
  box-shadow: 0 20px 50px rgba(12, 14, 16, 0.12);
}
.series-carousel__index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 999px;
}
.series-carousel__item h3 { margin-bottom: 0.55rem; }
.series-carousel__item p {
  color: var(--mute);
  max-width: 34ch;
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  margin-top: 1.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-jump a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo);
}
.hero-jump a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.brand-strip__all {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  white-space: nowrap;
}
.explore-links {
  margin-top: 1.25rem;
  color: var(--mute);
}

/* Compare table */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}
.compare-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  background: rgba(247, 248, 250, 0.9);
}
.compare-table td { color: var(--ink-soft); }
.compare-table tr:last-child td { border-bottom: 0; }

/* Brands */
.brands-lead {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 3.25rem;
}
@media (min-width: 900px) {
  .brands-lead { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3rem; }
}
.brand-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.brand-grid__item {
  padding: 1.35rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.brand-grid__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.brand-grid__item span { color: var(--ink-mute); font-size: 0.92rem; }
@media (min-width: 700px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.9rem;
}
.gallery-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border-radius: var(--radius);
}
.gallery-grid__item--lead { aspect-ratio: 16 / 10; }
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid__item--lead { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.gallery-grid__item:hover img { transform: scale(1.04); }
.gallery-grid__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(8, 10, 12, 0.78));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 550;
}

/* Footer - grand */
.site-footer {
  position: relative;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(47, 111, 148, 0.28), transparent 55%),
    radial-gradient(700px 380px at 90% 20%, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(180deg, #12161a 0%, #0a0c0e 100%);
  color: var(--aluminum-warm);
  padding-block: clamp(4.5rem, 3.5rem + 5vw, 7.5rem) 0;
  overflow: hidden;
}
.site-footer::before {
  content: "Accent";
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.footer-mast {
  margin-bottom: clamp(3rem, 2.5rem + 3vw, 4.5rem);
  max-width: 28rem;
}
.footer-mast__name {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.75rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-mast__promise {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  max-width: 28ch;
}
.footer-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 2.75rem;
  }
}
.site-footer h3 {
  color: var(--white);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.site-footer a {
  transition: color var(--dur-ui);
}
.site-footer a:hover { color: var(--white); }
.site-footer ul li + li { margin-top: 0.55rem; }
.site-footer ul a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}
.footer-nap {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}
.footer-nap strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}
.footer-nap a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--aluminum);
}
.footer-credit a {
  color: var(--white);
  font-weight: 650;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 0.05rem;
}
.footer-credit a:hover { border-bottom-color: var(--white); }
.footer-credit .heart {
  color: #e11d2e;
  font-style: normal;
  font-weight: 700;
  display: inline-block;
  line-height: 1;
  -webkit-text-fill-color: #e11d2e;
}

/* Motion helpers */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}
.hero__content > * {
  opacity: 0;
  transform: translateY(18px);
}
.hero.is-ready .hero__content > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}
.hero.is-ready .hero__content > *:nth-child(1) { transition-delay: 0.04s; }
.hero.is-ready .hero__content > *:nth-child(2) { transition-delay: 0.12s; }
.hero.is-ready .hero__content > *:nth-child(3) { transition-delay: 0.2s; }
.hero.is-ready .hero__content > *:nth-child(4) { transition-delay: 0.28s; }
.hero.is-ready .hero__media img {
  transform: scale(1);
  transition: transform 1.4s var(--ease-out-expo);
}
.hero__media img {
  transform: scale(1.04);
}
.feature-band__media {
  clip-path: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.feature-band__media.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  .hero__content > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .feature-band__media { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.text-link {
  color: var(--steel);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.85rem; }
.gap-note {
  font-size: 0.9rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* Contact page H1 scale */
.split-contact h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 12ch;
  margin-bottom: 0.35rem;
}

/* —— Responsive system: phones → XXXL —— */
@media (max-width: 379px) {
  .brand__tag { letter-spacing: 0.08em; font-size: 0.52rem; }
  .nav-shell__bar { padding-inline: 0.55rem 0.45rem; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .router-grid { grid-template-columns: 1fr 1fr; }
  .router-grid a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .site-nav__list { gap: 0; }
  .nav-link { padding: 0.5rem 0.55rem; font-size: 0.78rem; }
  .btn--nav { padding: 0.65rem 0.7rem 0.65rem 0.95rem; font-size: 0.75rem; }
  .nav-phone__num { font-size: 0.75rem; }
}

@media (min-width: 1280px) {
  .site-nav__list { gap: 0.1rem; }
}

@media (min-width: 1600px) {
  :root {
    --container: 1320px;
    --container-wide: 1540px;
    --section-y: clamp(6rem, 4rem + 4vw, 10rem);
    --fs-h1: clamp(3.1rem, 2.4rem + 1vw, 4.15rem);
    --fs-h2: clamp(2.75rem, 2.2rem + 0.9vw, 3.85rem);
  }
  .nav-shell__bar { min-height: 4.1rem; }
}

@media (min-width: 1920px) {
  :root {
    --container: 1440px;
    --container-wide: 1680px;
    --px: clamp(2rem, 1.5rem + 1vw, 4rem);
  }
}

@media (min-width: 2560px) {
  :root {
    --container: 1600px;
    --container-wide: 1840px;
    --fs-body: 1.125rem;
    --fs-lede: 1.4rem;
  }
  body {
    background:
      radial-gradient(1600px 800px at 10% -10%, rgba(47, 111, 148, 0.07), transparent 55%),
      radial-gradient(1200px 700px at 90% 0%, rgba(12, 14, 16, 0.04), transparent 50%),
      var(--paper);
  }
}

/* Process track: keep vertical stack until wide enough for readable columns */
@media (min-width: 900px) and (max-width: 1099px) {
  .process-track--five { grid-template-columns: repeat(2, 1fr); }
  .process-track--six { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .process-track--five { grid-template-columns: repeat(5, 1fr); }
  .process-track--six { grid-template-columns: repeat(3, 1fr); }
}

/* Footer mobile breathing room */
@media (max-width: 799px) {
  .footer-grid { gap: 2rem; }
  .site-footer::before { font-size: clamp(4rem, 22vw, 8rem); bottom: 12%; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cta-band .btn-row { justify-content: stretch; }
  .cta-band .btn { width: 100%; max-width: 22rem; }
}

/* Prevent horizontal bleed from wide tables / carousels */
.series-carousel,
.table-scroll,
.brand-strip {
  max-width: 100%;
}
.mobile-nav__pin .btn {
  width: 100%;
  justify-content: center;
}
.mobile-nav__list a {
  font-size: clamp(1.15rem, 1rem + 1.2vw, 1.45rem);
  padding: 0.85rem 0;
}

/* Touch targets */
@media (hover: none) {
  .btn:hover { transform: none; }
  .router-grid a:hover,
  .product-grid a:hover { transform: none; }
}
