/* 
   KEYLESS GROUP - CORE DESIGN SYSTEM
   Standardized, consolidated, and optimized for high-performance aesthetics.
*/

:root {
  /* COLOR PALETTE — keyless-site's ink/paper/brass/verdigris system */
  --bg: #F5F5F6;
  --bg-deep: #EAEAEC;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #18181B;
  --text-muted: #52525B;
  --accent: #3F3F46;
  --accent-glow: rgba(63, 63, 70, 0.05);
  --bg-dark: #18181B;
  --bg-grey: #212124;

  /* keyless-site accent roles: brass is the primary accent, verdigris the
     secondary. Both default to a dark grey for light backgrounds; the
     dark-context block below flips brass to a light grey so it stays
     legible on --bg-dark/header/footer surfaces. --brass-ink is the
     paired text/icon color for solid --brass backgrounds (e.g. buttons),
     so it flips with it. */
  --brass: #3F3F46;
  --brass-deep: #27272A;
  --brass-glow: rgba(63, 63, 70, 0.35);
  --brass-ink: #FAFAFA;
  --verdigris: #52525B;
  --verdigris-bright: #71717A;

  /* ANIMATION EASINGS */
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-heavy: cubic-bezier(0.25, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* BORDERS & SHADOWS */
  --line: #D6D6D9;
  --line-dark: #35353A;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(0, 0, 0, 0.06);
  --bolt-border: var(--line);
  --bolt-black: #18181B;

  /* SPACING & BORDERS */
  --radius-xl: 14px;
  --radius-lg: 10px;
  --radius-md: 6px;

  /* TYPOGRAPHY */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Space Grotesk', monospace;

  /* COMPONENT COLORS */
  --bg-bolt-grey: #f2f2f2;
}

/* Dark-background contexts flip the accent to a light grey (and its
   paired ink color to dark), so text/icons stay legible either way —
   same mechanism as keyless-site's own design system. */
.text-hero, .division-hero.bg-dark, .site-header, .site-footer,
.bg-dark, .bolt-cta-dark, .footer-division-icon-frame,
.feature-card-dark, .bolt-card-dark, .text-white {
  --brass: #E4E4E7;
  --brass-deep: #A1A1AA;
  --brass-glow: rgba(228, 228, 231, 0.35);
  --brass-ink: #18181B;
}

/* --- 1. RESET & BASE --- */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-premium), opacity 0.3s var(--ease-premium); }

/* ACCESSIBILITY HELPERS */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  background: var(--bg-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FOUC PREVENTION — MORE ROBUST REVEAL */
.js-reveal, [data-reveal] {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.no-js .js-reveal, 
.no-js [data-reveal] {
  opacity: 1 !important;
  visibility: visible !important;
}

.revealed {
  opacity: 1 !important;
  visibility: visible !important;
}

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; }
p { line-height: 1.6; color: var(--text-muted); margin-bottom: 1.5rem; }

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.eyebrow-bolt {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 24px;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}

.eyebrow-bolt::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brass-glow);
}

/* any corner-bracket icon (.access-marker in section heros, .footer-col-tick
   inline in footer column headings) already reads as the signature accent —
   the eyebrow dot on top of that is a stray bullet, so suppress it wherever
   a corner-bracket precedes or contains the eyebrow label, sitewide */
.access-marker + .eyebrow-bolt::before,
.eyebrow-bolt:has(.footer-col-tick)::before {
  content: none;
}

/* ACCESS-GRANTED MARKER — signature corner-bracket + checkmark moment.
   Base state is fully-drawn (visible without JS); script.js hides then
   re-draws it via stroke-dashoffset when GSAP + motion are both available.
   Uses var(--brass), so it auto-flips light/dark with its container the
   same way .eyebrow-bolt does — no separate dark-context override needed. */
.access-marker {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 12px;
  color: var(--brass);
}

.access-marker svg { width: 100%; height: 100%; display: block; }

.access-marker path {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dashoffset: 0;
}

/* homepage hero content is left-aligned, not centered like .eyebrow-bolt —
   keep the marker and eyebrow pinned to the same left edge as the headline */
.text-hero .access-marker { margin: 0 0 16px; }
.text-hero .eyebrow-bolt { justify-content: flex-start; text-align: left; width: auto; }

/* BREADCRUMB TRAIL — quiet wayfinding aid, sits between the hero and the
   first content section. Mirrors the page's own JSON-LD BreadcrumbList. */
.breadcrumb-trail {
  padding-top: 24px;
}

.breadcrumb-trail ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb-trail li {
  display: flex;
  align-items: center;
}

.breadcrumb-trail li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: var(--bolt-border);
}

.breadcrumb-trail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
  color: var(--accent);
}

.breadcrumb-trail li[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.massive-serif {
  font-size: clamp(2.5rem, 10vw, 6rem) !important;
  line-height: 1.1 !important;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

/* TEXT OUTLINES */
.text-outline-dark {
  color: var(--bg-dark);
}
@supports (-webkit-text-stroke: 1px) {
  .text-outline-dark {
    -webkit-text-stroke: 2px var(--bg-dark);
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}

.text-outline-light {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
}

.portal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px; /* Tighten to the door center */
  width: 100%;
  position: relative;
  z-index: 5;
}

.portal-title-left, .portal-title-right span {
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.portal-title-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portal-title-left {
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.portal-title-right span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,1);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.door-portal .eyebrow-bolt {
  color: rgba(255,255,255,0.7);
}

/* --- 3. LAYOUT & CONTAINERS --- */
.bolt-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.bolt-section {
  padding: 120px 0;
  position: relative;
}

.bolt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.bolt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; }
.bolt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: stretch; }
.bolt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }

/* SIBLING HOVER FADE EFFECT */
.bolt-grid:hover .bolt-card,
.bolt-grid-2:hover .bolt-card,
.bolt-grid-3:hover .bolt-card,
.bolt-grid-4:hover .bolt-card {
  opacity: 0.6; /* Slightly more fade for better focus, but still very visible */
}

.bolt-grid .bolt-card:hover,
.bolt-grid-2 .bolt-card:hover,
.bolt-grid-3 .bolt-card:hover,
.bolt-grid-4 .bolt-card:hover {
  opacity: 1 !important;
  transform: translateY(-15px) !important;
  z-index: 10;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15) !important;
}

.split-50-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 80vh;
}

/* --- 4. HEADER & NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: var(--bg-dark);
  border-bottom: 1px solid transparent;
  min-height: 70px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* subtle separation once the page has scrolled — toggled by script.js,
   works independent of GSAP/motion state since it's a usability aid,
   not a decorative animation */
.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* > (not descendant) so this only targets the top-level nav list — the
   nested .dropdown-menu <ul> was inheriting this 32px gap too, since
   ".main-nav ul" outranked ".dropdown-menu"'s own "gap: 0" by specificity,
   which is what was stretching the dropdown items apart. */
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  text-transform: none;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color 0.3s var(--ease-premium), background-size 0.2s var(--ease-premium);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background-size: 100% 1px;
}

/* DROPDOWNS */
.nav-item { position: relative; }
.nav-item:hover > a {
  color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-grey);
  min-width: 220px;
  width: max-content;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-premium), visibility 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  list-style: none;
  z-index: 1000;
  border-radius: 8px;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown-menu li {
  width: 100%;
  border-bottom: none !important;
}

.dropdown-menu a {
  text-decoration: none !important;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.touch-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* On coarse-pointer devices (tablets/phones), disable the CSS hover-open so
   only the JS tap-to-open path applies — prevents "hover fires on first tap"
   from immediately navigating away before the user sees the dropdown. */
@media (pointer: coarse) {
  .nav-item:hover .dropdown-menu { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px); }
  .nav-item.touch-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}

.nav-item:focus-within > a {
  color: #000;
}

.nav-item:focus-within .chevron {
  transform: rotate(180deg);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: top 0.4s var(--ease-premium), bottom 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium);
}

.mobile-menu-toggle span:nth-child(1) { top: 2px; }
.mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-toggle span:nth-child(3) { bottom: 2px; }

.mobile-menu-toggle.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(0); }
.mobile-menu-toggle.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1050;
  padding: 120px 40px;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li {
  margin-bottom: 35px;
}

.mobile-nav-list > li > a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
}

.mobile-sub-menu {
  list-style: none;
  padding: 15px 0 0 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-sub-menu li a {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-sub-menu li a:hover {
  color: #fff;
}

.dropdown-menu a {
  padding: 10px 20px;
  line-height: 1.4;
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  border: none !important;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  letter-spacing: 0.05em;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(255,255,255,0.05);
  color: #fff;
  transform: translateX(5px);
}

/* --- 5. BUTTONS --- */
.btn-bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-black { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); }
.btn-black:hover, .btn-black:focus-visible { background: var(--brass-deep); border-color: var(--brass-deep); }

.btn-white { background: #fff; color: var(--bg-dark); border-color: #fff; }
.btn-white:hover, .btn-white:focus-visible { background: var(--paper-line, #D6D6D9); border-color: var(--paper-line, #D6D6D9); }

.btn-outline { background: transparent; color: inherit; border-color: var(--line); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--verdigris); color: var(--verdigris); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline-white:hover, .btn-outline-white:focus-visible { border-color: var(--brass); color: var(--brass); }

/* FLOATING CONTACT PILL — persistent, all pages */
.float-chat {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--verdigris);
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.float-chat svg { width: 20px; height: 20px; flex-shrink: 0; }
.float-chat:hover, .float-chat:focus-visible { background: var(--verdigris-bright); }

@media (max-width: 500px) {
  .float-chat span { display: none; }
  .float-chat { padding: 14px; border-radius: 50%; }
}

/* --- 6. COMPONENTS --- */

/* CARDS */
.bolt-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bolt-card:hover,
.bolt-card:focus-visible,
.bolt-card:focus-within {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.bolt-card-img { height: 250px; overflow: hidden; }
.bolt-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 0.6s ease; }
.bolt-card:hover .bolt-card-img img { transform: scale(1.05); filter: grayscale(0); }

.product-cutout-container {
  position: relative;
  height: 300px;
  background: #f9f9f9; /* Slight off-white to make white products visible */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-cutout {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-premium);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}

.bolt-card:hover .product-cutout {
  transform: scale(1.1);
}

.bolt-card-tag {
  position: absolute;
  background: var(--brass);
  color: var(--brass-ink);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

/* background intentionally not set here — every current use already sits
   on a white .bolt-card, and leaving it unset lets .bolt-card-content
   also work inside a bg-dark card without painting over it white */
.bolt-card-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bolt-card h3 { 
  font-size: 1.4rem; 
  margin-bottom: 0.75rem; 
  color: #111;
  font-weight: 700;
  min-height: 3.5rem; /* Forces headers to align */
  display: flex;
  align-items: flex-end;
}

.bolt-card p {
  color: #444; /* Darker grey for better readability */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* TEXT HERO (Home) */
.text-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 90px;
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.text-hero-inner {
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .text-hero-inner { grid-template-columns: 1fr; }
  .hero-panel { order: -1; max-width: 360px; margin: 0 auto; }
}

/* --- Signature element: keypad / access-granted panel (home hero only,
   ported from the keyless-site reference design) --- */
/* isolated into its own compositor layer so the continuous keypad
   animation below repaints only this panel, not the rest of the
   scroll-smoothed page — keeps ScrollSmoother's frame budget free */
.hero-panel {
  background: var(--bg-grey);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  transform: translateZ(0);
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.keypad-key {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
}

.keypad-key.lit {
  color: var(--brass);
  border-color: var(--brass);
  animation: key-lit 6s ease-in-out infinite;
}

/* the blurred glow lives on its own pseudo-element with a *static*
   box-shadow — only its opacity animates, which is compositor-only
   (cheap) instead of recomputing a blurred shadow every frame */
.keypad-key.lit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--brass-glow), 0 0 16px var(--brass-glow);
  opacity: 0;
  animation: key-lit-glow 6s ease-in-out infinite;
}

.keypad-key:nth-child(1) { animation-delay: 0s; }
.keypad-key:nth-child(2) { animation-delay: 0.15s; }
.keypad-key:nth-child(3) { animation-delay: 0.3s; }
.keypad-key:nth-child(4) { animation-delay: 0.45s; }
.keypad-key:nth-child(5) { animation-delay: 0.6s; }
.keypad-key:nth-child(6) { animation-delay: 0.75s; }
.keypad-key:nth-child(7) { animation-delay: 0.9s; }
.keypad-key:nth-child(8) { animation-delay: 1.05s; }
.keypad-key:nth-child(9) { animation-delay: 1.2s; }

.keypad-key:nth-child(1)::after { animation-delay: 0s; }
.keypad-key:nth-child(2)::after { animation-delay: 0.15s; }
.keypad-key:nth-child(3)::after { animation-delay: 0.3s; }
.keypad-key:nth-child(4)::after { animation-delay: 0.45s; }
.keypad-key:nth-child(5)::after { animation-delay: 0.6s; }
.keypad-key:nth-child(6)::after { animation-delay: 0.75s; }
.keypad-key:nth-child(7)::after { animation-delay: 0.9s; }
.keypad-key:nth-child(8)::after { animation-delay: 1.05s; }
.keypad-key:nth-child(9)::after { animation-delay: 1.2s; }

@keyframes key-lit {
  0%, 55% { color: rgba(255, 255, 255, 0.6); border-color: var(--line-dark); }
  58%, 70% { color: var(--brass); border-color: var(--brass); }
  85%, 100% { color: rgba(255, 255, 255, 0.6); border-color: var(--line-dark); }
}

@keyframes key-lit-glow {
  0%, 55% { opacity: 0; }
  58%, 70% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

/* toggled by initKeypadPause() (IntersectionObserver) — stop repainting
   entirely once the hero has scrolled out of view */
.hero-panel.is-paused .keypad-key,
.hero-panel.is-paused .keypad-key.lit,
.hero-panel.is-paused .keypad-key.lit::after,
.hero-panel.is-paused .hero-panel-status {
  animation-play-state: paused;
}

.hero-panel-status {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--verdigris-bright);
  opacity: 0;
  animation: granted-fade 6s ease-in-out infinite;
}
.hero-panel-status svg { width: 18px; height: 18px; }
@keyframes granted-fade {
  0%, 68% { opacity: 0; transform: translateY(4px); }
  75%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .keypad-key, .keypad-key.lit, .keypad-key.lit::after, .hero-panel-status {
    animation: none !important;
  }
  .keypad-key.lit {
    color: var(--brass);
    border-color: var(--brass);
  }
  .keypad-key.lit::after { opacity: 1 !important; }
  .hero-panel-status { opacity: 1; }
}

.text-hero-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 40px;
}

.hero-line {
  display: block;
}

.hero-word-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-word {
  display: inline-block;
}

.hero-line-1 .hero-word {
  font-size: clamp(3.5rem, 10vw, 11rem);
  color: #fff;
}

.hero-line-2 .hero-word {
  font-size: clamp(2.8rem, 8vw, 9rem);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  color: transparent;
}

.hero-line-3 .hero-word {
  font-size: clamp(2.8rem, 8vw, 9rem);
  color: #fff;
}

.text-hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.text-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


@keyframes scroll-bob {
  0%, 100% { cy: 7; }
  50% { cy: 15; }
}

@media (max-width: 768px) {
  .text-hero { min-height: 100svh; }
  .text-hero-inner { padding: 0 20px; }
  .text-hero-heading { margin-bottom: 28px; }
  .text-hero-cta { flex-direction: column; }
  .text-hero-cta .btn-bolt { text-align: center; }
}

/* LOGO CAROUSEL */
.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #fff;
}

.logo-carousel-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  will-change: transform;
}

.logo-slide { width: 180px; height: 80px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}
.logo-slide:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.1); }

/* FAQ SYSTEM */
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 0; transition: background 0.3s ease; }
.faq-item summary {
  padding: 24px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content { padding-bottom: 24px; }

/* JOB CARDS */
.job-card {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}
.job-card:hover { border-color: #000; transform: translateY(-5px); }
.job-tag { background: #f2f2f2; padding: 4px 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }

/* TEAM VISUALS */
.team-visual {
    width: 100%;
    height: auto;
    max-height: 600px;
    overflow: hidden;
    border-radius: 24px;
}

/* --- 6. FORMS & INPUTS --- */
.bolt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bolt-input, .bolt-select, .bolt-textarea {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s ease;
  border-radius: var(--radius-md);
  outline: none;
}

.bolt-input:focus, .bolt-select:focus, .bolt-textarea:focus {
  border-color: var(--brass);
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.bolt-textarea {
  resize: vertical;
  min-height: 150px;
}

.bolt-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  padding-right: 50px;
}

.bolt-span-2 {
  grid-column: span 2;
}

.max-800 {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bolt-form {
    grid-template-columns: 1fr;
  }
  .bolt-span-2 {
    grid-column: span 1;
  }
}

/* DIVISION CARDS & COMPONENTS */
.product-card, .feature-card, .feature-card-padded, .feature-card-dark {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-content, .feature-card-padded, .feature-card-dark {
    padding: 40px;
    flex-grow: 1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 30px;
}

.product-card h3, .feature-card h3,
.feature-card-padded h3, .feature-card-padded h4,
.feature-card-dark h3, .feature-card-dark h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card {
    padding: 40px;
}

.feature-card-dark {
    background: var(--bg-dark);
    border-color: var(--line-dark);
    color: #fff;
}

.feature-card-dark h3, .feature-card-dark h4 { color: #fff; }

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--brass);
}

.expertise-item {
    margin-top: 40px;
}

/* These headings were <h4> until the heading order was corrected to <h3>;
   pinned to their original size so only the semantics changed. */
.expertise-item h3,
.floating-card-dark h3 { font-size: 1rem; }

.bolt-pillar-light {
    border-left: 1px solid var(--line);
    padding-left: 30px;
}

.product-card:hover, .product-card:focus-visible, .product-card:focus-within,
.feature-card:hover, .feature-card:focus-visible, .feature-card:focus-within,
.feature-card-padded:hover, .feature-card-padded:focus-visible, .feature-card-padded:focus-within {
    border-color: var(--brass);
    transform: translateY(-2px);
}

.feature-card-dark:hover, .feature-card-dark:focus-visible, .feature-card-dark:focus-within {
    border-color: var(--brass);
    transform: translateY(-2px);
}

.visual-container-24 {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    background: var(--bg-deep);
}

.hero-visual-full {
    height: 40vh;
    min-height: 300px;
    max-height: 450px;
}

@media (max-width: 768px) {
    .visual-container-24 {
        height: 250px;
    }
    .hero-visual-full {
        height: 30vh;
    }
}

.context-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-deep);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.context-image-wrapper.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.context-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-premium);
}

.context-image-wrapper:hover .context-image {
  transform: scale(1.05);
}

.visual-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    z-index: 1;
}

.visual-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    z-index: 2;
    color: #fff;
}

.visual-content-overlay .bolt-title-light {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.bolt-title-light { color: #fff; }
.eyebrow-bolt-light { color: rgba(255,255,255,0.7) !important; }
.bolt-subtext-light { color: rgba(255,255,255,0.8); }
.bolt-subtext-hero { color: rgba(255,255,255,0.8); max-width: 800px; font-size: 1.1rem; }

.bolt-section-compact {
    padding: 60px 0;
}

.bolt-card-simple {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

/* without these, h3/p fall back to the global heading reset (margin: 0)
   and .bolt-subtext-small's own line-height (1.8), which don't match
   .bolt-card-content's text spacing (0.75rem gap, 1.6 line-height) —
   matching them here keeps every card in a mixed grid reading the same
   regardless of which card component it's built from. */
.bolt-card-simple h3 { margin-bottom: 0.75rem; }
.bolt-card-simple p { line-height: 1.6; margin: 0; }

.bolt-card-simple:hover {
    border-color: var(--brass);
    transform: translateY(-2px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.bg-dark { background-color: var(--bg-dark) !important; }
.bg-light { background-color: #f8f8f8 !important; }
.bg-white { background-color: #ffffff !important; }

/* CONTRAST MOMENTS — deliberately pushed past .bg-dark's mid-grey to the
   true black/white extremes, used sparingly on a handful of sections
   site-wide to create scroll rhythm rather than applied uniformly. */
.contrast-black { background-color: var(--bg-dark) !important; color: #fff !important; }
.contrast-white { background-color: var(--bg) !important; color: var(--text) !important; }

/* DARK CARD — distinct surface on dark sections */
.bolt-card-dark {
    background: var(--bg-grey);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-dark);
    height: 100%;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.bolt-card-dark h3 { color: #fff; margin-bottom: 14px; }
.bolt-card-dark .bolt-subtext-small { color: rgba(255,255,255,0.7); }

.bolt-card-dark:hover, .bolt-card-dark:focus-visible, .bolt-card-dark:focus-within {
    border-color: var(--brass);
    transform: translateY(-2px);
}

/* FLOATING ACCENT CARD — overlaps an image, needs solid dark surface for legibility */
.floating-card-dark {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 360px;
    background: var(--bg-dark);
    color: #fff;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.floating-card-dark h3, .floating-card-dark h4 { color: #fff; margin-bottom: 10px; }
.floating-card-dark p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.95rem; }

/* BOLD LABEL TEXT */
.bold-text { font-weight: 700; color: var(--text); margin-bottom: 4px; }

.bolt-card-outlined {
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: border-color 0.15s ease;
}

.bolt-card-outlined:hover {
    border-color: var(--accent);
}

.bolt-pillar {
    border-left: 2px solid var(--accent);
    padding-left: 30px;
}

.img-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rounded-24 { border-radius: 24px; }

.shadow-premium { box-shadow: 0 24px 60px rgba(0,0,0,0.12); }

.h-200 { height: 200px; }

.card-visual-small {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .card-visual-small { height: 160px; }
}

/* --- 7. UTILITIES --- */
.bolt-grey-bg { background-color: var(--bg-bolt-grey); }
.bolt-bg-light { background-color: var(--bg-deep); }
.bg-black { background: var(--bg-dark) !important; }
.text-white { color: #fff !important; }
.text-white p { color: rgba(255,255,255,0.7) !important; }

/* The home intro heading is an h2 so the page has a single h1, but it is
   still the largest thing in that section — keep it at h1 scale. */
h2.intro-bolt-title { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1; }

/* Used on 13 section headers and CTA blocks but never actually declared,
   so those blocks were rendering left-aligned. */
.text-center { text-align: center; }
.text-center .bolt-subtext,
.text-center .bolt-subtext-small { margin-left: auto; margin-right: auto; }

.centered-max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.mt-40, .bolt-mt-40 { margin-top: 40px !important; }
.mt-20, .bolt-mt-20 { margin-top: 20px !important; }
.pt-40, .bolt-pt-40 { padding-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

.bolt-subtext-small { font-size: 0.95rem; line-height: 1.8; opacity: 0.85; }

.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  margin-right: 12px;
}

.border-top { border-top: 1px solid var(--line); }

/* --- 8. SITE FOOTER --- */
.site-footer {
  background: var(--bg-grey);
  color: #fff;
  padding: 100px 0 32px;
  margin-top: 100px;
  overflow: hidden;
}

/* FOOTER DIVISION LOGOS */
.footer-division-logos {
  list-style: none;
  padding: 0;
  /* Rows have different widths (short single-line label vs. wrapped
     two-line labels), so align-items:center was centering each row
     independently — which pushed the shorter "Keyless Locks" row's icon
     ~34px right of the other two. flex-start pins every row's icon to
     the same left edge; width:fit-content + margin:auto keeps the whole
     block centered as a unit within the column, same as before. */
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-division-logos li {
  margin-bottom: 0;
  border-bottom: none;
}

/* Icon-only PNGs now (text lives in .footer-division-label instead), and
   the three source icons have different native aspect ratios — square
   (1:1), near-square (1.12:1), and a tall door silhouette (0.59:1) — so a
   fixed square box + object-fit:contain is what makes their rendered
   size consistent without distorting any of them. */
.footer-division-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Keyless Locks' own PNG has a filled badge baked in; the other two are
   bare line art with no backing shape, so at equal box size they read as
   visually lighter/smaller. This frame gives all three the same subtle
   backing tile — invisible where an icon already fills it (Locks), and a
   real backdrop where one doesn't (Access, Doors), evening out the
   visual weight without touching the source PNGs. */
.footer-division-icon-frame {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.footer-division-item:hover .footer-division-icon-frame,
.footer-division-item:focus-visible .footer-division-icon-frame {
  background: rgba(255, 255, 255, 0.18);
}

.footer-division-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-division-item:hover .footer-division-icon,
.footer-division-item:focus-visible .footer-division-icon {
  opacity: 1;
  transform: translateX(3px);
}

/* small static echo of the hero .access-marker corner brackets — no
   checkmark, no scroll animation, just a structural tie-in for the
   footer's column headings. stroke: currentColor, so it inherits
   .eyebrow-bolt's var(--brass) automatically. */
.footer-col-tick {
  width: 13px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -2px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* One shared class for all three labels — font-size/weight/line-height
   stay identical regardless of how many words wrap ("Keyless Locks" vs
   "Keyless Doors & Architectural Fittings"). */
.footer-division-label {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #fff;
  max-width: 170px;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}

/* Center the brand column as a unit. text-align alone only aligns inline
   content (the paragraph's text) — the logo and paragraph are both
   block-level with a bounded max-width, so each also needs margin:auto
   to be repositioned off the column's left edge. */
.footer-brand {
  text-align: center;
}

/* Divisions and Contact now match Brand — centered, not left-aligned. */
.footer-nav {
  text-align: center;
}

.footer-logo {
  max-width: 240px;
  height: auto;
  margin: 0 auto 30px;
  filter: brightness(0) invert(1); /* Ensure logo is white on black background */
}

.footer-brand .footer-text {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  font-size: 0.95rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color 0.3s var(--ease-premium), background-size 0.2s var(--ease-premium);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #fff;
  background-size: 100% 1px;
}

.footer-contact .footer-text {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.footer-contact a {
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.7;
}

/* One row per contact item: mono category label + the existing icon/value
   line, divided by hairlines — same technique as .proof-item's borders,
   adapted for the dark footer surface via --line-dark. */
.footer-contact-entry {
  padding: 14px 0;
  text-align: center;
}

.footer-contact-entry:first-child {
  padding-top: 0;
}

.footer-contact-entry:last-child {
  padding-bottom: 0;
}

.footer-contact-entry + .footer-contact-entry {
  border-top: 1px solid var(--line-dark);
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
}

.footer-credit {
  display: block;
  font-size: 0.68rem;
  opacity: 0.28;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 0;
  border-top: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* --- 9. MEDIA QUERIES --- */

/* TABLET (portrait & small landscape): keep 2-column layouts, scale imagery,
   left-aligned 2-column footer. Full stack happens at 768px, not here. */
@media (max-width: 1200px) {
  :root {
    --bolt-section-padding: 80px;
  }

  .site-header { padding: 10px 20px; }
  .main-nav, .header-cta { display: none; }
  .mobile-menu-toggle { display: block; }

  .bolt-grid-2, .split-50-50 { gap: 48px; }
  .bolt-grid-3, .bolt-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  /* nested grids (cards inside a split column) stack to stay readable */
  .bolt-grid-2 .bolt-grid-2 { grid-template-columns: 1fr; gap: 24px; }

  /* headings inside split layouts get a size that fits a half-width column */
  .bolt-grid-2 h1.bolt-title, .split-50-50 h1.bolt-title { font-size: clamp(2.2rem, 4.8vw, 3.4rem); }
  .bolt-grid-2 h2.bolt-title, .split-50-50 h2.bolt-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  /* the home intro is an h2 for document order but keeps hero scale */
  .split-50-50 h2.intro-bolt-title { font-size: clamp(2.2rem, 4.8vw, 3.4rem); }

  .bolt-section { padding: var(--bolt-section-padding) 0; }
  .bolt-container { padding: 0 24px; }

  .massive-serif { font-size: 2.8rem !important; }

  .portal-title {
    flex-direction: column;
    gap: 15px;
  }

  .portal-title-left, .portal-title-right span {
    font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
  }

  .door-portal {
    perspective: 1200px;
  }

  .visual-container-24 {
    height: clamp(320px, 42vw, 460px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* PHONE: single column, centered footer */
@media (max-width: 768px) {
  .bolt-grid, .bolt-grid-2, .bolt-grid-3, .bolt-grid-4, .split-50-50 {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .visual-container-24 {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .footer-brand .footer-text {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-division-logos {
    align-items: center;
  }
}

@media (max-width: 768px) {
  :root {
    --bolt-section-padding: 60px;
  }
  
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  
  .bolt-title { font-size: 2.2rem !important; }
  .bolt-subtext { font-size: 1rem; }
  
  .visual-content-overlay {
    padding: 30px;
  }
  
  .visual-content-overlay .bolt-title-light {
    font-size: 1.8rem;
  }

  .logo-carousel-track {
    gap: 30px;
  }
  
  .logo-slide {
    width: 120px;
  }

  .site-footer {
    padding: 60px 0 24px;
    margin-top: 60px;
  }

  .footer-bottom {
    margin-top: 16px;
  }

  .footer-grid { gap: 32px; }

  .footer-division-logo {
    max-width: 120px;
  }

  .footer-contact .footer-text,
  .footer-contact a {
    font-size: 0.9rem;
  }

  /* slimmer fixed header — more content above the fold */
  .logo img { height: 46px; }
  .site-header { min-height: 60px; }
  .division-hero { padding-top: 78px; }

  /* fixed section paddings sized for desktop, trimmed for phones */
  .bolt-cta-dark { padding: 70px 0; }
  .featured-post-section { padding: 110px 0 50px; }
  .split-text-half { padding: 24px 0; }

  /* eyebrow labels align with their text block instead of floating centered */
  .bolt-grid-2 .eyebrow-bolt,
  .split-50-50 .eyebrow-bolt,
  .hero-text .eyebrow-bolt {
    text-align: left;
  }

  /* keep centered sections centered */
  .text-center .eyebrow-bolt,
  .bolt-section-header.text-center .eyebrow-bolt,
  .centered-max-700 .eyebrow-bolt,
  .centered-max-800 .eyebrow-bolt {
    text-align: center;
  }
}

/* BLOG CARDS */
.featured-post-section {
  padding: 140px 0 80px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
  height: 100%;
}

.blog-card:hover, .blog-card:focus-visible, .blog-card:focus-within {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.card-visual {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.blog-card:hover .card-visual img {
  transform: scale(1.05);
}

.card-content {
  padding: 28px 24px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* BLOG ARTICLE SECTIONS */
.blog-article {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.blog-article:target {
  scroll-margin-top: 100px;
}

.article-header {
  margin-bottom: 40px;
}

.article-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-body {
  max-width: 720px;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4em;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 2em 0 0.8em;
}

.article-body ul {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.article-body li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.5em;
  color: var(--text);
}

/* DOWNLOAD CARDS */
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}

.download-card:hover {
  border-color: #000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.download-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.bolt-meta-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .featured-post-section { padding: 100px 0 50px; }
  .card-visual { height: 180px; }
  .download-card { flex-direction: column; align-items: flex-start; }
}

/* HERO SECTION PADDING (clears fixed 70px nav) */
.division-hero {
  padding-top: 90px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* system-integration.html's tech-hero is the one division-hero on a dark surface */
.division-hero.bg-dark {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
}

/* HOME INTRO SPLIT — text gutter */
.split-text-half {
  padding: 60px 8%;
}

/* DARK CTA SECTION (our-clients) — verdigris, keyless-site's secondary
   accent, used as a deliberate pop rather than the standard ink surface */
.bolt-cta-dark {
  background: var(--verdigris);
  padding: 120px 0;
  text-align: center;
}

.bolt-cta-dark .bolt-title { color: #fff; }

.bolt-cta-dark .bolt-subtext {
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin: 24px auto 40px;
}

/* SERVICES TICKER (gsap.com-style marquee) */
.ticker-section {
  overflow: hidden;
  padding: 30px 0;
  background: var(--bg-dark);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.tick-dot {
  font-size: 0.55em;
  margin: 0 28px;
  color: rgba(255, 255, 255, 0.35);
}

/* NAV CHEVRONS */
.chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  transition: transform 0.3s var(--ease-premium);
  flex-shrink: 0;
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* PORTAL SCROLL HINT */
.portal-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  animation: scrollHintBob 2.2s ease-in-out infinite;
}

@keyframes scrollHintBob {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   PROCESS RAIL — numbered stages joined by a hairline.
   Horizontal on desktop, a vertical timeline on narrow screens.
   ============================================================ */
.rail {
  display: grid;
  grid-template-columns: repeat(var(--rail-cols, 5), 1fr);
  margin-top: 64px;
}

.rail-step { position: relative; padding-right: 30px; }

/* connector runs from this marker to the next column's marker */
.rail-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 56px;
  right: 14px;
  height: 1px;
  background: var(--bolt-border);
}

.rail-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--bolt-border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #111;
  transition: background 0.35s var(--ease-premium), color 0.35s var(--ease-premium),
              border-color 0.35s var(--ease-premium);
}
.rail-step:hover .rail-num { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }

.rail-title {
  margin: 24px 0 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.rail-text { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }

.bg-light .rail-num, .bg-light .rail-step:hover .rail-num { background: #fff; }
.bg-light .rail-step:hover .rail-num { background: var(--bg-dark); }

@media (max-width: 1024px) {
  .rail { grid-template-columns: 1fr; margin-top: 48px; }
  .rail-step { padding: 0 0 34px 66px; }
  .rail-step:last-child { padding-bottom: 0; }
  .rail-num { position: absolute; left: 0; top: 0; }
  .rail-step:not(:last-child)::after {
    top: 52px;
    bottom: 6px;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .rail-title { margin-top: 10px; }
}

/* ============================================================
   VALUE CARDS — even row with one deliberately inverted card.
   ============================================================ */
.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium),
              border-color 0.4s var(--ease-premium);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--bolt-border);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.08);
}

.value-card svg { width: 26px; height: 26px; color: var(--bg-dark); }

.value-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #111;
}

.value-card p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--text-muted); }

.value-card--dark { background: var(--bg-dark); border-color: var(--bg-dark); }
.value-card--dark svg { color: #fff; }
.value-card--dark h3 { color: #fff; }
.value-card--dark p { color: rgba(255, 255, 255, 0.72); }
.value-card--dark:hover { box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28); }

@media (max-width: 1000px) { .value-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .value-row { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .value-card { padding: 26px 22px; }
}

/* ============================================================
   PROOF STRIP — four grounded figures in a ruled band.
   ============================================================ */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.proof-item { position: relative; padding: 44px 34px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }

.proof-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111;
}

.proof-label {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* .proof was built light-on-white; the contrast-black (dark section)
   variant needs its hairlines and text colors flipped to read on --bg-dark. */
.proof.contrast-black {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  border-top-color: var(--line-dark);
  border-bottom-color: var(--line-dark);
}
.proof.contrast-black .proof-item { border-right-color: var(--line-dark); }
.proof.contrast-black .proof-num { color: #fff; }
.proof.contrast-black .proof-label { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 32px 24px; border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(2n) { border-right: 0; }
  .proof-item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================
   FAQ PAGE — answers stay open in two balanced columns.
   CSS columns (not grid) so reading order runs down the first
   column, and a short list still splits evenly.
   ============================================================ */
.chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  padding: 9px 18px;
  border: 1px solid var(--bolt-border);
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}
.chip-badge svg { width: 14px; height: 14px; }

.faq-intro { max-width: 860px; }
.faq-intro .bolt-title { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.faq-intro .bolt-subtext { max-width: 62ch; margin-top: 24px; }

.faq-section { padding-top: 80px; }

.faq-grid {
  columns: 2;
  column-gap: 72px;
}

.faq-entry {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 46px;
}

.faq-entry-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  color: var(--bg-dark);
  transition: border-color 0.3s var(--ease-premium), background 0.3s var(--ease-premium);
}
.faq-entry-icon svg { width: 22px; height: 22px; }
.faq-entry:hover .faq-entry-icon { border-color: var(--bolt-border); background: var(--bg-bolt-grey); }

.faq-entry-q {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #111;
  margin: 0 0 10px;
}

.faq-entry-a {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.faq-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .faq-grid { columns: 1; column-gap: 0; }
  .faq-entry { margin-bottom: 38px; }
  .faq-section { padding-top: 56px; }
}

@media (max-width: 560px) {
  .chip-badge { font-size: 0.62rem; letter-spacing: 0.14em; padding: 8px 14px; }
  .faq-entry-icon { width: 38px; height: 38px; margin-bottom: 16px; }
  .faq-entry-icon svg { width: 18px; height: 18px; }
  .faq-entry-q { font-size: 1rem; }
  .faq-cta-actions .btn-bolt { width: 100%; }
}

/* ============================================================
   CLIENT WALL — named logo lanes drifting in alternate directions.
   Pure CSS so it keeps running if the GSAP CDN is unreachable.
   Spacing uses margin-right (not gap) so the -50% loop is seamless.
   ============================================================ */
.client-wall {
  display: grid;
  gap: 14px;
  margin-top: 56px;
}

.client-wall-row {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.client-wall-lane {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: clientWallLeft 46s linear infinite;
}

.client-wall-row--reverse .client-wall-lane { animation-name: clientWallRight; }
.client-wall-row:nth-child(2) .client-wall-lane { animation-duration: 58s; }
.client-wall-row:nth-child(3) .client-wall-lane { animation-duration: 52s; }
.client-wall:hover .client-wall-lane,
.client-wall:focus-within .client-wall-lane { animation-play-state: paused; }

@keyframes clientWallLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes clientWallRight {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 14px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}
.client-pill:hover { border-color: var(--bolt-border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }

.client-pill img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium);
}
.client-pill:hover img { filter: grayscale(0); opacity: 1; }

.client-pill span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #111;
}

/* ============================================================
   SECTOR HONEYCOMB — pointy-top hexes in a 2 / 3 / 2 flower
   around the group mark.
   ============================================================ */
.hive {
  --hex-w: 168px;
  --hex-gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 56px;
}

.hive-row { display: flex; justify-content: center; gap: var(--hex-gap); }
.hive-row + .hive-row { margin-top: calc(var(--hex-w) * -0.27); }

.hex {
  width: var(--hex-w);
  aspect-ratio: 1 / 1.1547;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  text-align: center;
  background: #fff;
  /* clip-path would eat a border, so the edge comes from a drop shadow */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.08));
  transition: background 0.4s var(--ease-premium), filter 0.4s var(--ease-premium);
}
.hex:hover { background: var(--bg-bolt-grey); filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.14)); }

.hex svg { width: 26px; height: 26px; color: var(--bg-dark); }

.hex-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.hex--brand { background: var(--bg-dark); padding: 0 12px; }
.hex--brand:hover { background: #111; }

/* same white-out the footer logo uses */
.hex--brand img {
  width: 138px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .hive { --hex-w: 132px; --hex-gap: 8px; }
  .hex { padding: 0 12px; }
  .hex-label { font-size: 0.66rem; letter-spacing: 0.04em; }
  .hex svg { width: 22px; height: 22px; }
  .hex--brand img { width: 104px; }
}

@media (max-width: 560px) {
  /* Honeycomb interlock does not survive small widths — go to a grid. */
  .hive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hive-row { display: contents; }
  .hive-row + .hive-row { margin-top: 0; }
  .hex { width: 100%; }
  .hex--brand { order: 9; } /* closes the grid instead of splitting it */
  .client-pill { padding: 11px 16px; }
  .client-pill span { font-size: 0.72rem; }
  .client-pill img { width: 24px; height: 24px; }
}

@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;
  }

  /* GSAP tweens stroke-dashoffset directly (not via CSS transition), so it
     isn't caught by the rule above — script.js already skips the animation
     when this media feature is set, this is the declarative backstop. */
  .access-marker path {
    stroke-dashoffset: 0 !important;
  }
}


.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  top: -1px; /* fine-tune vertical centering against text baseline */
  color: #fff; /* icon sits as a sibling of the <a>/<span>, not a descendant — must not depend on inherited <p> color */
}
