/* ============================================
   AVINYATECH — Custom layer over Bootstrap 4
   ============================================ */
:root {
  /* Official Avinyatech brand palette — ONLY these colours */
  --brand-blue: #1F5FAE;        /* Avinya Blue — primary */
  --brand-blue-deep: #173A67;   /* Midnight Navy */
  --brand-blue-light: #2D6FC4;  /* lighter Avinya Blue (hover only) */
  --brand-red: #D7262D;         /* Signal Red — accent */
  --brand-red-deep: #AC1D23;    /* darker Signal Red (hover only) */
  --ink: #19315a;               /* dark navy — dark sections & footer (dominant dark) */
  --ink-soft: #19315a;          /* dark navy — raised panels & cards */
  --graphite: #5A5C60;          /* Graphite Grey (slightly darkened for body legibility) */
  --slate: #6D6E71;             /* Graphite Grey — supporting text/labels */
  --mist: #d4dae2;              /* light neutral border (white/grey tint) */
  --paper: #f4f6f9;             /* near-white neutral */
  --paper-warm: #ebecee;        /* soft graphite-grey tint section */
  --warm-light: #f8d9a3;        /* lift cab interior glow only */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --pad-x: clamp(24px, 5vw, 80px);
  --nav-h: 104px;
}

html, body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }
button:focus, a:focus { outline: none; }

.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
.italic-light { font-style: italic; font-weight: 300; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-red);
  display: inline-block;
}
.eyebrow.cream { color: var(--brand-red); }
.eyebrow.muted { color: var(--slate); }
.eyebrow.blue { color: var(--brand-blue); }

/* ============================================
   NAV
   ============================================ */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  z-index: 60;
  transition: background 400ms ease, box-shadow 400ms ease, color 400ms ease;
  color: #fff;
}
.nav-bar.scrolled, .nav-bar.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(11,16,32,0.06);
  color: var(--ink);
}
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { transition: opacity 250ms ease; display: block; }
.brand-logo:hover img { opacity: 0.85; }
.brand-logo .logo-dark { display: block; }
.brand-logo .logo-light-bg { display: none; }
.nav-bar.scrolled .brand-logo .logo-dark,
.nav-bar.solid .brand-logo .logo-dark { display: none; }
.nav-bar.scrolled .brand-logo .logo-light-bg,
.nav-bar.solid .brand-logo .logo-light-bg { display: block; }

.nav-links { display: flex; gap: 38px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-link-a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 8px 0;
  cursor: pointer;
  transition: opacity 200ms;
  color: inherit;
}
.nav-link-a:hover { opacity: 0.7; color: inherit; }
.nav-link-a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-red);
}
.nav-cta {
  background: var(--brand-red);
  color: #fff !important;
  padding: 13px 22px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 200ms;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--brand-red-deep); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none; border: none; color: inherit;
  width: 40px; height: 40px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 25px; }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); right: 0;
    background: #fff;
    color: var(--ink);
    flex-direction: column;
    gap: 0;
    width: 280px;
    padding: 24px 28px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 350ms ease;
    height: calc(100vh - var(--nav-h));
    align-items: stretch;
  }
  .nav-links li { padding: 14px 0; border-bottom: 1px solid var(--mist); }
  .nav-links.open { transform: translateX(0); }
  .nav-links .nav-cta { margin-top: 16px; justify-content: center; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-av {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 250ms ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-av .arrow { transition: transform 250ms ease; }
.btn-av:hover { color: inherit; }
.btn-av:hover .arrow { transform: translateX(4px); }
.btn-primary-av { background: var(--brand-red); color: #fff; }
.btn-primary-av:hover { background: var(--brand-red-deep); color: #fff; }
.btn-ghost-av {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-av:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-dark-av { background: var(--ink); color: #fff; }
.btn-dark-av:hover { background: var(--brand-blue); color: #fff; }
.btn-outline-av {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-av:hover { background: var(--ink); color: #fff; }

/* ============================================
   LIFT DOOR TRANSITION
   ============================================ */
.lift-stage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}
.lift-stage.active { pointer-events: all; }
.lift-shaft {
  position: absolute; inset: 0;
  background:
    /* warm pool of light spilling from the cab */
    radial-gradient(ellipse 60% 50% at center 42%, rgba(250, 220, 165, 0.28) 0%, transparent 62%),
    /* faint marble veining on the dark stone surround */
    repeating-linear-gradient(115deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 70px),
    repeating-linear-gradient(70deg, rgba(255,255,255,0.01) 0 1px, transparent 1px 110px),
    /* dark charcoal-bronze stone */
    radial-gradient(ellipse at 50% 30%, #211a12 0%, #16110c 45%, #0c0a07 100%);
  opacity: 0;
  transition: opacity 250ms ease;
}
.lift-stage.active .lift-shaft,
.lift-stage.opening .lift-shaft { opacity: 1; }

.lift-cab {
  position: absolute; inset: 8% 12%;
  background: linear-gradient(180deg, #2a2218 0%, #1a1410 100%);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 400ms ease;
  display: flex; flex-direction: column; align-items: center; padding-top: 24px;
}
.lift-stage.opening .lift-cab,
.lift-stage.closed .lift-cab { opacity: 1; }
.lift-cab::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(180deg, #0a0806, transparent);
}
.lift-cab::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 18%;
  background: radial-gradient(ellipse at center top, rgba(248,217,163,0.5) 0%, transparent 70%);
  filter: blur(8px);
}
.lift-readout {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 18px;
  border: 1px solid rgba(248, 217, 163, 0.3);
  color: #f8d9a3;
  font-family: ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
}
.lift-readout .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f8d9a3; box-shadow: 0 0 8px #f8d9a3;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---- Realistic brushed stainless-steel doors ---- */
.lift-door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  z-index: 3;
  overflow: hidden;
  background-color: #b3b9c3;
  background-image:
    /* fine vertical brush grain */
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.07) 0px,
      rgba(255,255,255,0.07) 1px,
      rgba(0,0,0,0.055) 1px,
      rgba(0,0,0,0.055) 2px),
    /* coarser grain streaks for variation */
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0) 4px,
      rgba(0,0,0,0.04) 7px,
      rgba(0,0,0,0) 11px),
    /* broad environmental reflection bands down the height */
    linear-gradient(180deg,
      #5c636e 0%,
      #989fa9 4%,
      #aab0ba 9%,
      #d6dae0 17%,
      #9aa1ac 29%,
      #c2c7cf 44%,
      #aab1bb 56%,
      #c8cdd4 70%,
      #cfd4da 84%,
      #adb3bc 93%,
      #565d68 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -2px 0 rgba(0,0,0,0.35),
    inset 0 0 70px rgba(0,0,0,0.18);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
/* a soft moving sheen + subtle vertical panel reveal */
.lift-door::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 26%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.16) 45%,
    rgba(255,255,255,0.30) 50%,
    rgba(255,255,255,0.16) 55%,
    rgba(255,255,255,0) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.lift-door.left::before  { right: 16%; }
.lift-door.right::before { left: 16%; }

/* meeting (leading) edge: bright nose + recessed seam shadow */
.lift-door::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 10px;
  pointer-events: none;
}
.lift-door.left {
  left: 0; transform: translateX(-101%);
}
.lift-door.left::after {
  right: 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(255,255,255,0.55) 55%,
    rgba(255,255,255,0.85) 78%,
    rgba(20,24,30,0.6) 100%);
}
.lift-door.right {
  right: 0; transform: translateX(101%);
}
.lift-door.right::after {
  left: 0;
  background: linear-gradient(270deg,
    rgba(0,0,0,0) 0%,
    rgba(255,255,255,0.55) 55%,
    rgba(255,255,255,0.85) 78%,
    rgba(20,24,30,0.6) 100%);
}
.lift-stage.closed .lift-door { transform: translateX(0); }
/* Doors glide shut smoothly */
.lift-stage.closing .lift-door { transform: translateX(0); transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); }
/* Doors glide open: silky decelerate */
.lift-stage.opening .lift-door { transition-duration: 320ms; transition-timing-function: cubic-bezier(0.18, 0.9, 0.28, 1); }
/* Snap to a state with no animation (incoming page paints doors already closed) */
.lift-stage.instant .lift-door { transition: none !important; animation: none !important; }

/* Steel insignia etched ACROSS the doors — split at the seam, each half rides
   its own door and slides apart as the doors open. */
.lift-emblem {
  position: absolute; top: 50%;
  height: 25vh; width: auto;
  pointer-events: none; z-index: 2;
  opacity: 1;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.4))
    drop-shadow(0 -1px 0 rgba(0,0,0,0.45))
    drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}
.lift-door.left  .lift-emblem { right: 0; transform: translate(50%, -50%); }
.lift-door.right .lift-emblem { left: 0;  transform: translate(-50%, -50%); }

/* the standalone insignia overlay is removed — the mark now lives on the doors */
.lift-watermark { display: none !important; }

/* Warm light seam that spills from the cab as the doors part */
.lift-seam {
  position: absolute; top: 7%; bottom: 7%; left: 50%; width: 3px;
  transform: translateX(-50%);
  z-index: 1;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(248,217,163,0.85) 18%,
    #fff1d6 50%,
    rgba(248,217,163,0.85) 82%,
    transparent 100%);
  box-shadow: 0 0 44px 9px rgba(248,217,163,0.5);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.lift-stage.active .lift-seam { opacity: 1; }

/* Warm vertical cove-light strips that flank the cab as doors part */
.lift-cove {
  position: absolute; top: 9%; bottom: 9%; width: 5px;
  z-index: 1; border-radius: 4px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,222,162,0.95) 14%,
    #fff1d6 50%,
    rgba(255,222,162,0.95) 86%,
    transparent 100%);
  box-shadow: 0 0 55px 11px rgba(248,210,150,0.5);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.lift-cove.left  { left: 12.5%; }
.lift-cove.right { right: 12.5%; }
.lift-stage.active .lift-cove,
.lift-stage.opening .lift-cove { opacity: 1; }

/* Warm top spotlight pooling down the cab back wall */
.lift-spot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46%; height: 62%; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 58% 80% at 50% 0%, rgba(255,224,160,0.30) 0%, rgba(255,210,140,0.08) 42%, transparent 72%);
  transition: opacity 450ms ease;
}
.lift-stage.active .lift-spot,
.lift-stage.opening .lift-spot { opacity: 1; }

/* Floating light motes drifting in the warm beam */
.lift-motes {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden; opacity: 0; transition: opacity 700ms ease;
}
.lift-stage.active .lift-motes,
.lift-stage.opening .lift-motes { opacity: 1; }
.lift-mote {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,190,0.95) 0%, rgba(255,212,144,0) 72%);
  animation-name: moteDrift; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes moteDrift {
  0%   { transform: translateY(30px) translateX(0); opacity: 0; }
  18%  { opacity: 0.9; }
  82%  { opacity: 0.7; }
  100% { transform: translateY(-150px) translateX(14px); opacity: 0; }
}

/* Cinematic vignette deepening the cab */
.lift-vignette {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
  transition: opacity 450ms ease;
}
.lift-stage.active .lift-vignette { opacity: 1; }

/* Brushed-steel door jamb / frame around the opening */
.lift-stage.active::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 4;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 10px #20242b,
    inset 0 0 0 15px #565d68,
    inset 0 0 0 18px #14171c,
    inset 0 0 120px rgba(0,0,0,0.55);
}
.lift-sill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  z-index: 5; pointer-events: none; opacity: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 2px, rgba(0,0,0,0.25) 2px 4px),
    linear-gradient(180deg, #c8ccd2 0%, #878d97 45%, #4c525b 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.4), 0 -1px 4px rgba(0,0,0,0.5);
  transition: opacity 250ms ease;
}
.lift-stage.active .lift-sill { opacity: 1; }

.lift-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 7;
  opacity: 0;
  transition: opacity 360ms ease 120ms;
  pointer-events: none;
}
/* warm backlight halo behind the logo */
.lift-watermark::before {
  content: ''; position: absolute;
  inset: -55% -45%;
  background: radial-gradient(ellipse at center, rgba(250,220,160,0.4) 0%, rgba(248,210,150,0.12) 40%, transparent 68%);
  filter: blur(18px);
  z-index: -1;
}
.lift-watermark { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.lift-watermark img { height: clamp(320px, 42vw, 600px) !important; width: auto; }
.lift-pagename {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 70px);
  line-height: 1;
  letter-spacing: 0.14em;
  color: #16181c;
  /* engraved-in-steel effect */
  text-shadow: 0 1px 0 rgba(255,255,255,0.65), 0 -1px 1px rgba(30,34,40,0.4);
  white-space: nowrap;
  /* optical vertical centering of uppercase caps within the plaque */
  transform: translateY(0.06em);
}
.lift-plaque {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 8;
  isolation: isolate;
  display: inline-flex; align-items: center;
  gap: clamp(18px, 3vw, 46px);
  padding: clamp(13px, 1.5vw, 20px) clamp(26px, 3vw, 50px);
  border: clamp(3px, 0.4vw, 5px) solid #2b2e33;
  border-radius: 6px;
  background-color: #c6cace;
  background-image:
    /* fine vertical brush grain */
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, rgba(40,44,50,0.10) 1px 2px),
    /* brushed stainless-steel sheen */
    linear-gradient(180deg, #8e959c 0%, #d6dade 15%, #f4f6f8 33%, #c2c8ce 55%, #9aa0a7 78%, #787e86 100%);
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.7),
    inset 0 -2px 4px rgba(30,34,40,0.35),
    /* cool silver backlight bleed */
    0 0 70px 16px rgba(210,222,235,0.5),
    0 22px 70px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
/* soft halo of warm light spreading behind the plaque (backlit look) */
.lift-plaque::before {
  content: '';
  position: absolute; inset: -90% -45%;
  background: radial-gradient(ellipse at center,
    rgba(214,224,236,0.5) 0%,
    rgba(198,210,224,0.2) 36%,
    transparent 68%);
  filter: blur(26px);
  z-index: -1;
  pointer-events: none;
}
/* thin inner frame, like the reference plaque */
.lift-plaque::after {
  content: '';
  position: absolute; inset: clamp(5px, 0.6vw, 8px);
  border: 2px solid #2b2e33;
  border-radius: 3px;
  pointer-events: none;
}
.lift-plaque .lift-arrows {
  width: clamp(32px, 3.2vw, 50px);
  height: clamp(32px, 3.2vw, 50px);
  flex: 0 0 auto;
}
.lift-plaque .lift-arrows svg { width: 100%; height: 100%; display: block; }

/* Brass dome rivets at the plaque corners */
.lift-rivet {
  position: absolute; z-index: 4;
  width: clamp(7px, 0.7vw, 11px); height: clamp(7px, 0.7vw, 11px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #c2c8ce 38%, #6a7078 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.55), inset 0 0 1px rgba(0,0,0,0.4);
}
.lift-rivet.tl { top: clamp(8px, 1vw, 14px); left: clamp(8px, 1vw, 14px); }
.lift-rivet.tr { top: clamp(8px, 1vw, 14px); right: clamp(8px, 1vw, 14px); }
.lift-rivet.bl { bottom: clamp(8px, 1vw, 14px); left: clamp(8px, 1vw, 14px); }
.lift-rivet.br { bottom: clamp(8px, 1vw, 14px); right: clamp(8px, 1vw, 14px); }

/* Specular shimmer sweeping across the gold as the plaque appears */
.lift-shine {
  position: absolute; inset: 0; z-index: 3;
  overflow: hidden; border-radius: 4px; pointer-events: none;
}
.lift-shine::before {
  content: ''; position: absolute; top: -25%; bottom: -25%; left: -45%; width: 34%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
  transform: skewX(-18deg); opacity: 0;
}
.lift-stage.opening .lift-shine::before { animation: plaqueShine 1150ms ease 360ms 1; }
@keyframes plaqueShine {
  0%   { left: -45%; opacity: 0; }
  22%  { opacity: 0.85; }
  60%  { opacity: 0.85; }
  100% { left: 135%; opacity: 0; }
}

/* Logo rides the closed steel doors only. The brass nameplate appears on the
   open cab; the logo does NOT carry onto the cab. */
.lift-stage.closing .lift-watermark,
.lift-stage.closed  .lift-watermark { opacity: 1; }
.lift-stage.opening .lift-plaque { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Open-cab screen shows only the nameplate (no cab readout) */
.lift-readout { display: none; }

.page-wrap { opacity: 1; transition: opacity 400ms ease; }
.page-wrap.hidden { opacity: 0; }

/* Seamless incoming page: hide content + tint background so there is no white flash
   before the door overlay paints. Toggled by an inline <head> script. */
html.lift-incoming { background: #aeb3bc; }
html.lift-incoming body { background: #aeb3bc; }
html.lift-incoming .page-wrap { opacity: 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,39,43,0.5) 0%, rgba(38,39,43,0.15) 35%, rgba(38,39,43,0.15) 60%, rgba(38,39,43,0.72) 100%),
    linear-gradient(90deg, rgba(38,39,43,0.9) 0%, rgba(38,39,43,0.55) 34%, rgba(38,39,43,0) 56%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: var(--nav-h) var(--pad-x) 0;
  width: 100%;
  max-width: 52%;
  margin-left: 0;
  margin-right: auto;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; font-weight: 300; color: #fff; }
.hero .lead {
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 52ch;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 32px; left: var(--pad-x);
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6));
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
}
.section.dark { background: var(--ink); color: #fff; }
.section.warm { background: var(--paper-warm); }

.section-head { margin-bottom: 64px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
}
.section-head h2 em { font-style: italic; font-weight: 300; }
.section-head .head-copy {
  color: var(--graphite);
  font-size: 16px;
  max-width: 48ch;
}
.section.dark .section-head .head-copy { color: rgba(255,255,255,0.7); }
.section.dark .section-head h2 { color: #fff; }

/* ============================================
   VALUE PROPS STRIP
   ============================================ */
.props-row { background: var(--mist); }
.prop-cell {
  background: #fff;
  padding: 44px 32px;
  border-right: 1px solid var(--mist);
  height: 100%;
}
.prop-cell:last-child { border-right: none; }
.prop-cell .num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--brand-red);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.prop-cell h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.prop-cell p { font-size: 14px; color: var(--slate); line-height: 1.55; margin: 0; }
@media (max-width: 991px) {
  .prop-cell { border-bottom: 1px solid var(--mist); }
}

/* Key strengths strip (home) */
.strength-cell {
  background: #fff;
  padding: 40px 24px;
  border-right: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.strength-cell .big {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink-soft);
}
.strength-cell .big small { font-size: 0.45em; color: var(--brand-red); vertical-align: super; margin-left: 2px; }
.strength-cell .lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
}

/* ============================================
   SOLUTIONS GRID — image-only
   ============================================ */
.solution-card {
  display: block;
  cursor: pointer;
  color: inherit;
  margin-bottom: 24px;
}
.solution-card:hover { color: inherit; }
.solution-card .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink);
}
.solution-card.wide .frame { aspect-ratio: 21/9; }
.solution-card.third .frame { aspect-ratio: 3/4; }
.solution-card .frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2,0.8,0.2,1);
}
.solution-card:hover .frame img { transform: scale(1.04); }
.solution-card .caption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px 0; gap: 16px;
}
.solution-card .caption .label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 6px; font-weight: 600;
}
.solution-card .caption h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 400; line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.solution-card .more-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  transition: background 250ms, color 250ms, transform 250ms, border-color 250ms;
  color: var(--ink);
}
.solution-card:hover .more-btn {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: rotate(-45deg);
}

/* ============================================
   SPLIT (about teaser)
   ============================================ */
.split-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 16px 0 28px;
}
.split-text h2 em { font-style: italic; font-weight: 300; }
.split-text p { color: var(--graphite); font-size: 16px; margin-bottom: 18px; line-height: 1.7; max-width: 52ch; }
.split-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.bullet-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.bullet-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
}
.section.dark .bullet-list li { color: rgba(255,255,255,0.85); }
.product-detail .left.dark .bullet-list li { color: rgba(255,255,255,0.88); }

/* ============================================
   STATS
   ============================================ */
.stats-row { background: rgba(255,255,255,0.08); }
.stat-cell {
  background: var(--ink);
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  height: 100%;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-cell .num small { font-size: 0.45em; color: var(--brand-red); margin-left: 4px; vertical-align: super; }
.stat-cell .lbl {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Compact horizontal stats band (home) */
.section.stats-band { padding: clamp(56px, 7vw, 96px) 0; }
.stats-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 96px);
  flex-wrap: wrap;
}
.stats-intro { flex: 1 1 300px; max-width: 36ch; }
.stats-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 10px 0 16px;
}
.stats-intro h2 em { font-style: italic; font-weight: 300; }
.stats-sub { color: rgba(255,255,255,0.62); font-size: 15px; line-height: 1.6; max-width: 38ch; margin: 0; }
.stats-items {
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: clamp(30px, 3.5vw, 56px) clamp(40px, 5vw, 80px);
}
.stat-item { position: relative; }
.stat-item .tick {
  display: block;
  width: 28px; height: 2px;
  background: var(--brand-red);
  margin-bottom: 16px;
}
.stat-item .num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 400;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 10px;
}
.stat-item .num small { font-size: 0.4em; color: var(--brand-red); vertical-align: super; margin-left: 2px; }
.stat-item .lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (min-width: 1100px) { .stats-items { grid-template-columns: repeat(4, auto); } }
@media (max-width: 560px) { .stats-items { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 80px var(--pad-x) 40px;
}
.foot h5 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 22px; font-weight: 600;
}
.foot a {
  display: block; padding: 6px 0;
  font-size: 14px; color: rgba(255,255,255,0.85);
  cursor: pointer; transition: color 200ms;
}
.foot a:hover { color: #fff; }
.foot-brand p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  margin-top: 24px; max-width: 36ch; line-height: 1.65;
}
.foot-divider {
  height: 1px; background: rgba(255,255,255,0.1);
  margin: 60px 0 32px;
}
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.05em;
}
@media (max-width: 767px) { .foot-bottom { flex-direction: column; gap: 12px; text-align: center; } }

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: flex-end;
  color: #fff;
  padding: 0 var(--pad-x) 80px;
  overflow: hidden;
}
.page-hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero .bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,39,43,0.5) 0%, rgba(38,39,43,0.15) 28%, rgba(38,39,43,0.62) 70%, rgba(38,39,43,0.96) 100%),
    linear-gradient(90deg, rgba(38,39,43,0.8) 0%, rgba(38,39,43,0.25) 45%, rgba(38,39,43,0) 70%);
}
.page-hero .inner { position: relative; z-index: 2; width: 100%; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-top: 16px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: #fff; }
.page-hero .lead {
  font-size: 18px; max-width: 48ch;
  color: rgba(255,255,255,0.8);
  margin-top: 22px;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail .left, .product-detail .right { padding: 0; }
.product-detail .left-inner {
  padding: clamp(60px, 8vw, 120px) var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
  min-height: 60vh;
}
.product-detail .left.dark { background: var(--ink); color: #fff; }
.product-detail .left.dark .left-inner p { color: rgba(255,255,255,0.75); }
.product-detail .left-inner h3 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  margin: 16px 0 22px;
}
.product-detail .left-inner h3 em { font-style: italic; font-weight: 300; }
.product-detail .left-inner p {
  color: var(--graphite);
  font-size: 16px;
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 14px;
}
.product-detail .right {
  background-size: cover; background-position: center;
  min-height: 60vh;
}
@media (max-width: 991px) {
  .product-detail .right { min-height: 50vh; }
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  background: var(--ink-soft);
  color: #fff;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 60px;
  padding-left: 60px;
  animation: ticker 40s linear infinite;
}
.ticker-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.ticker-track span::after { content: '✦'; color: var(--brand-red); font-style: normal; font-size: 14px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   CONTACT
   ============================================ */
.contact-info > div { padding: 24px 0; border-bottom: 1px solid var(--mist); }
.contact-info .label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 8px; font-weight: 600;
}
.contact-info .val { font-size: 18px; color: var(--ink); font-weight: 500; }

.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 10px; font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--mist);
  font-family: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 200ms;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--brand-red);
}
.field textarea { resize: vertical; min-height: 80px; }

/* Service plan cards */
.plan-card {
  background: #fff;
  color: var(--ink);
  padding: 40px;
  border: 1px solid var(--mist);
  height: 100%;
  display: flex; flex-direction: column;
}
.plan-card.featured { background: var(--ink); color: #fff; border-color: transparent; }
.plan-card h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin: 14px 0 24px;
}
.plan-card .bullet-list { flex: 1; margin-top: 0; }
.plan-card .bullet-list li { color: var(--ink-soft); }
.plan-card.featured .bullet-list li { color: rgba(255,255,255,0.85); }
.plan-card .plan-cta { margin-top: 36px; }

/* Milestones */
.milestone-row { background: var(--mist); }
.milestone {
  background: #fff;
  padding: 36px 28px;
  border-right: 1px solid var(--mist);
  height: 100%;
}
.milestone:last-child { border-right: none; }
.milestone .year {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 14px;
}
.milestone h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.milestone p { font-size: 14px; color: var(--slate); margin: 0; }
@media (max-width: 991px) { .milestone { border-bottom: 1px solid var(--mist); } }

/* Values dark grid */
.values-row { background: rgba(255,255,255,0.08); }
.value-cell {
  background: var(--ink);
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 100%;
}
.value-cell h4 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 18px;
}
.value-cell p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.65; max-width: 46ch; margin: 0; }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Utility */
.text-cream { color: var(--brand-red) !important; }
.bg-warm { background: var(--paper-warm); }

/* Certification chips */
.cert-chip {
  display: inline-flex; align-items: center;
  padding: 12px 22px;
  border: 1px solid var(--mist);
  background: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--graphite);
  border-radius: 2px;
}
.cert-chip.cert-primary {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

/* Standards band (home) */
.standards-band {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
  padding: clamp(56px, 8vw, 110px) var(--pad-x);
  border-bottom: 1px solid var(--mist);
}
.std-arrow {
  position: absolute; top: 0; bottom: 0;
  height: 100%; width: auto;
  object-fit: contain;
  object-position: top;
  opacity: 0.85;
  pointer-events: none;
}
.std-arrow-left { left: 0; object-position: left top; }
.std-arrow-right { right: 0; object-position: right top; }
@media (max-width: 991px) { .std-arrow { display: none; } }
.standards-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.standards-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  margin: 14px 0 14px;
  color: var(--ink);
}
.standards-title em { font-style: italic; font-weight: 300; color: var(--brand-blue); }
.standards-sub {
  color: var(--graphite);
  font-size: 16px;
  max-width: 52ch;
  margin: 0 0 44px;
  line-height: 1.65;
}
.standards-groups {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
}
.standards-divider { width: 1px; background: var(--mist); flex: 0 0 auto; }
.standards-group { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.standards-group-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
}
.standards-group-label.blue-label { color: var(--brand-blue); }
.standards-group-label.red-label { color: var(--brand-red); }
.standards-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
}
.cert-chip.cert-check, .cert-chip.cert-check-red {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.cert-chip.cert-check::before {
  content: '';
  width: 16px; height: 16px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231F5FAE'/%3E%3Cpath fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cert-chip.cert-check-red::before {
  content: '';
  width: 16px; height: 16px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23D7262D'/%3E%3Cpath fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 767px) {
  .standards-groups { flex-direction: column; gap: 36px; }
  .standards-divider { display: none; }
}

/* Office address cards (contact page) */
.office-card {
  background: #fff;
  border: 1px solid var(--mist);
  padding: 32px 28px;
  height: 100%;
}
.office-card .label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand-red); font-weight: 600; margin-bottom: 14px;
}
.office-card p { font-size: 14.5px; color: var(--graphite); line-height: 1.6; margin: 0; }

/* Featured leader (about page) */
.leader-feature {
  margin-bottom: 24px;
  background: var(--ink);
  overflow: hidden;
}
.leader-feature-img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 25% center;
  display: block;
}
.leader-feature-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 72px);
  color: #fff;
}
.leader-feature-body .label {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brand-red); font-weight: 600; margin-bottom: 18px; display: block;
}
.leader-feature-body h4 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 18px;
}
.leader-feature-body p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 42ch;
}
@media (max-width: 991px) {
  .leader-feature-img { min-height: 380px; }
}

/* Service detail rows (service page) */
.service-rows { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-areas: "no head" "no body";
  gap: 0 40px;
  padding: 48px 0;
  border-top: 1px solid var(--mist);
}
.service-row:last-child { border-bottom: 1px solid var(--mist); }
.service-row-no {
  grid-area: no;
  font-family: var(--font-serif);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--brand-red);
}
.service-row-head {
  grid-area: head;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.service-row-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.service-row-cta { flex: 0 0 auto; }
.service-row-body { grid-area: body; max-width: 64ch; }
.service-row-body p {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.service-row-body p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .service-row {
    grid-template-columns: 1fr;
    grid-template-areas: "no" "head" "body";
    gap: 14px 0;
    padding: 36px 0;
  }
  .service-row-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
  .service-row-cta { width: 100%; justify-content: space-between; }
}

/* ============================================
   TECHNICAL SPECIFICATIONS (tabs + tables)
   ============================================ */
.spec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 0;
}
.spec-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 16px 26px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
  margin-bottom: -1px;
  white-space: nowrap;
}
.spec-tab:hover { color: var(--ink); }
.spec-tab.active { color: var(--brand-blue); border-bottom-color: var(--brand-red); }

.spec-panel { display: none; padding-top: 36px; }
.spec-panel.active { display: block; animation: specFade 360ms ease; }
@keyframes specFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.spec-panel .spec-caption {
  font-size: 13px;
  color: var(--graphite);
  margin-bottom: 20px;
  font-weight: 500;
}
.spec-panel .spec-caption strong { color: var(--brand-blue); font-weight: 600; }

.spec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 13.5px;
}
table.spec-table thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 14px 12px;
  font-size: 12px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
table.spec-table thead th:first-child {
  text-align: left;
  position: sticky; left: 0;
  background: var(--ink-soft);
  z-index: 2;
}
table.spec-table tbody td {
  text-align: center;
  padding: 13px 12px;
  border-bottom: 1px solid var(--mist);
  border-right: 1px solid var(--mist);
  color: var(--graphite);
}
table.spec-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  position: sticky; left: 0;
  background: var(--paper);
}
table.spec-table tbody tr:nth-child(even) td { background: #fafbfc; }
table.spec-table tbody tr:nth-child(even) td:first-child { background: #eef0f4; }
table.spec-table tbody tr:hover td { background: #eef2f7; }
table.spec-table tbody tr:hover td:first-child { background: #dde4ef; }

.spec-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--slate);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.spec-note strong { color: var(--brand-red); font-weight: 600; }
@media (max-width: 767px) {
  :root { --nav-h: 70px; }

  /* Spec tabs scroll horizontally on phones */
  .spec-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-tab { padding: 14px 18px; }

  /* Nav: smaller bar + logo, full-width drawer */
  .nav-bar { padding: 0 20px; }
  .brand-logo img { height: 42px !important; }
  .nav-links { width: 78vw; max-width: 320px; padding: 20px 24px; }
  .nav-cta { padding: 14px 20px; }

  /* Hero: tighter type, more bottom room */
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero-content { max-width: 100%; padding: 0 var(--pad-x) clamp(60px, 10vh, 120px); }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); margin-bottom: 20px; }
  .hero .lead { font-size: 15.5px; margin-bottom: 28px; }
  .hero-actions { gap: 12px; width: 100%; }
  .hero-actions .btn-av { flex: 1 1 auto; justify-content: center; padding: 15px 18px; }
  .scroll-cue { display: none; }

  /* Sections: trim vertical rhythm */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(32px, 9vw, 44px); }
  .section-head .head-copy { margin-top: 16px; }

  /* Generic stacked-column spacing for inline button stacks */
  .btn-av { white-space: normal; }

  /* Value props / stats / milestones / values: comfortable single-column padding */
  .prop-cell { padding: 32px 24px; }
  .stat-cell { padding: 30px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:last-child { border-bottom: none; }
  .value-cell { padding: 36px 26px; border-right: none; }
  .milestone { padding: 30px 24px; }

  /* Solution cards: image + caption tuned for narrow screens */
  .solution-card .frame { aspect-ratio: 3/2; }
  .solution-card.third .frame { aspect-ratio: 4/3; }
  .solution-card .caption h3 { font-size: 24px; }
  .solution-card .more-btn { width: 40px; height: 40px; }

  /* Product detail bands: image first, comfortable text padding */
  .product-detail .left-inner { padding: 56px 24px; min-height: auto; }
  .product-detail .right { min-height: 56vw; }

  /* About / split image spacing */
  .split-img { aspect-ratio: 3/2; }

  /* Footer: stack cleanly */
  .foot { padding: 64px 24px 36px; }
  .foot-brand p { max-width: none; }

  /* Contact form / info spacing */
  .contact-info .val { font-size: 16px; }

  /* Plain text section paragraphs shouldn't exceed viewport */
  .split-text p, .section-head .head-copy { max-width: none; }

  /* ---- Lift transition: scale the cab UI for phones ---- */
  .lift-emblem { height: 18vh; max-width: 44vw; }
  .lift-watermark img { height: clamp(180px, 56vw, 320px) !important; }
  .lift-plaque {
    gap: 14px;
    padding: 12px 20px;
    max-width: 88vw;
  }
  .lift-plaque .lift-arrows { width: 30px; height: 30px; }
  .lift-pagename { font-size: clamp(26px, 8vw, 40px); letter-spacing: 0.08em; }
  .lift-cove.left  { left: 7%; }
  .lift-cove.right { right: 7%; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 30px; }
  .lift-plaque .lift-arrows { width: 24px; height: 24px; }
  .lift-pagename { font-size: 24px; }
}

/* Landscape phones: keep the cab emblem from getting tiny/overflowing */
@media (max-height: 480px) and (orientation: landscape) {
  .lift-emblem { height: 46vh; max-width: 36vw; }
  .hero { min-height: 100vh; }
}

/* ============================================
   BROCHURE — fixed side tab + gated download modal
   ============================================ */

/* ---- Fixed side tab ---- */
.brochure-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 13px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  writing-mode: vertical-rl;
  box-shadow: -8px 0 28px rgba(11, 16, 32, 0.22);
  transition: background 240ms ease, padding 240ms ease, box-shadow 240ms ease;
}
.brochure-tab:hover,
.brochure-tab:focus {
  background: var(--brand-red-deep);
  padding-right: 18px;
  color: #fff;
  box-shadow: -10px 0 34px rgba(11, 16, 32, 0.3);
}
.brochure-tab .bt-icon {
  writing-mode: horizontal-tb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brochure-tab .bt-icon svg { display: block; }

/* ---- Modal shell ---- */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
}
.brochure-modal.open { display: block; }
.brochure-modal .bm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 32, 0.66);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 300ms ease;
}
.brochure-modal.in .bm-backdrop { opacity: 1; }

.brochure-modal .bm-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}
.brochure-modal .bm-dialog {
  position: relative;
  width: 100%;
  max-width: 940px;
  background: #fff;
  display: flex;
  box-shadow: 0 40px 90px rgba(11, 16, 32, 0.4);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 380ms ease, transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brochure-modal.in .bm-dialog { opacity: 1; transform: translateY(0); }

/* ---- Close ---- */
.brochure-modal .bm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  transition: background 200ms ease, transform 200ms ease;
}
.brochure-modal .bm-close:hover { background: #fff; transform: rotate(90deg); }

/* ---- Left visual panel ---- */
.brochure-modal .bm-aside {
  position: relative;
  flex: 0 0 40%;
  max-width: 40%;
  background: var(--ink);
  color: #fff;
  padding: 48px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.brochure-modal .bm-aside::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.brochure-modal .bm-aside .eyebrow { color: #fff; opacity: 0.75; }
.brochure-modal .bm-aside h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.06;
  margin: 14px 0 16px;
}
.brochure-modal .bm-aside h3 em { font-style: italic; color: var(--warm-light); }
.brochure-modal .bm-aside p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.brochure-modal .bm-aside .bm-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  position: relative;
  z-index: 1;
}
.brochure-modal .bm-aside .bm-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 0;
}
.brochure-modal .bm-aside .bm-points svg { flex: 0 0 auto; }
.brochure-modal .bm-aside .bm-logo { margin-bottom: 26px; }
.brochure-modal .bm-aside .bm-logo img { height: 60px; width: auto; }

/* ---- Right form panel ---- */
.brochure-modal .bm-body {
  flex: 1 1 auto;
  padding: 48px 44px;
  min-width: 0;
}
.brochure-modal .bm-body h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 12px 0 6px;
  color: var(--ink);
}
.brochure-modal .bm-body .bm-sub {
  color: var(--graphite);
  font-size: 14px;
  margin: 0 0 26px;
}
.brochure-modal .bm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}
.brochure-modal .bm-grid .bm-full { grid-column: 1 / -1; }
.brochure-modal .field { margin-bottom: 20px; }
.brochure-modal .field.has-error input,
.brochure-modal .field.has-error select { border-bottom-color: var(--brand-red); }
.brochure-modal .field .bm-err {
  display: none;
  font-size: 12px;
  color: var(--brand-red);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.brochure-modal .field.has-error .bm-err { display: block; }
.brochure-modal .bm-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.brochure-modal .bm-note {
  font-size: 12px;
  color: var(--slate);
  margin: 14px 0 0;
  line-height: 1.5;
}
.brochure-modal .bm-alert {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand-red);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}
.brochure-modal .bm-alert.show { display: block; }
.brochure-modal button[disabled] { opacity: 0.6; cursor: progress; }

/* ---- Success state ---- */
.brochure-modal .bm-done { display: none; text-align: left; }
.brochure-modal.done .bm-form-wrap { display: none; }
.brochure-modal.done .bm-done { display: block; }
.brochure-modal .bm-done .bm-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.brochure-modal .bm-done h4 { margin-top: 0; }
.brochure-modal .bm-done p { color: var(--graphite); font-size: 15px; }

/* ---- Scroll lock ---- */
body.bm-lock { overflow: hidden; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .brochure-modal .bm-aside { display: none; }
  .brochure-modal .bm-body { padding: 44px 32px; }
  .brochure-modal .bm-dialog { max-width: 560px; }
}
@media (max-width: 575.98px) {
  .brochure-modal .bm-grid { grid-template-columns: 1fr; }
  .brochure-modal .bm-body { padding: 40px 24px 34px; }
  .brochure-modal .bm-body h4 { font-size: 26px; }
  .brochure-modal .bm-scroll { padding: 16px 12px; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .brochure-tab {
    top: auto;
    bottom: 16px;
    right: 14px;
    transform: none;
    writing-mode: horizontal-tb;
    padding: 13px 20px;
    border-radius: 999px;
    letter-spacing: 0.16em;
    font-size: 10px;
    gap: 9px;
  }
  .brochure-tab:hover, .brochure-tab:focus { padding: 13px 20px; }
}

/* Keep the tab out of the way while the lift transition plays */
.lift-incoming .brochure-tab { opacity: 0; pointer-events: none; }
.brochure-tab { transition: background 240ms ease, padding 240ms ease, box-shadow 240ms ease, opacity 300ms ease; }
