/* 
   KEYLESS ENTRANCE GROUP - CORE DESIGN SYSTEM
   Standardized, consolidated, and optimized for high-performance aesthetics.
*/

:root {
  /* COLOR PALETTE */
  --bg: #ffffff;
  --bg-deep: #f5f5f5;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #5d5d5d;
  --text-muted: #666666;
  --accent: #3a3a3a;
  --accent-glow: rgba(0, 0, 0, 0.05);
  --bg-dark: #2b2b2b;
  --bg-grey: #3a3a3a;

  /* 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: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(0, 0, 0, 0.06);
  --bolt-border: rgba(0, 0, 0, 0.15);
  --bolt-black: #2b2b2b;

  /* SPACING & BORDERS */
  --radius-xl: 0px;
  --radius-lg: 0px;
  --radius-md: 0px;

  /* TYPOGRAPHY */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* COMPONENT COLORS */
  --bg-bolt-grey: #f2f2f2;
}

/* --- 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%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s var(--ease-premium); }

/* 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-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 24px;
  color: #fff;
  display: block;
  text-align: center;
  width: 100%;
}

.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: 1.5px 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: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  min-height: 70px;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.2);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
}

/* DROPDOWNS */
.nav-item { position: relative; }
.nav-item:hover > a {
  color: #000;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(30, 30, 30, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  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: all 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 {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 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: var(--bg-dark);
  position: absolute;
  left: 0;
  transition: all 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: 14px 25px;
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  border: none !important;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding-left: 30px;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.mobile-nav-backdrop.is-active { opacity: 1; visibility: visible; }

.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list > li { margin-bottom: 30px; }
.mobile-nav-list a { font-size: 1.8rem; font-family: var(--font-heading); text-transform: uppercase; font-weight: 700; color: #000; }

.mobile-sub-menu { list-style: none; padding: 15px 0 0 20px; margin-top: 10px; border-left: 1px solid #eee; }
.mobile-sub-menu a { font-size: 1rem; font-family: var(--font-body); color: #666; text-transform: none; font-weight: 400; }

/* --- 5. BUTTONS --- */
.btn-bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-premium);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-black { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.btn-black:hover { background: var(--bg-grey); transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.btn-white { background: #fff; color: var(--bg-dark); border-color: #fff; }
.btn-white:hover { background: #f5f5f5; transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }

/* --- 6. COMPONENTS --- */

/* CARDS */
.bolt-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.4s var(--ease-premium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bolt-card:hover {
  border-color: var(--bg-dark);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.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(--bg-dark);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

.bolt-card-content { 
  padding: 32px; 
  flex-grow: 1; 
  display: flex; 
  flex-direction: column; 
  background: #fff;
}

.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;
}

/* DOOR PORTAL (Home) */
.door-portal {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.portal-door-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  perspective: 2000px;
}

.door-half { width: 50%; height: 100%; position: relative; overflow: hidden; }
.door-surface {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  background-image: url('assets/doors.png'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-dark);
  filter: brightness(0.8) contrast(1.2);
}

.door-left .door-surface { left: 50%; transform: translateX(-25%); }
.door-right .door-surface { right: 50%; transform: translateX(25%); }

.portal-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* 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;
  animation: carouselScroll 30s linear infinite;
  width: max-content;
}

.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.5;
  transition: all 0.4s var(--ease-premium);
}
.logo-slide:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.1); }

@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FAQ SYSTEM */
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 0; transition: all 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: all 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: 18px 24px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: var(--font-body);
  font-size: 1rem;
  color: #111;
  transition: all 0.3s var(--ease-premium);
  border-radius: 0;
  outline: none;
}

.bolt-input:focus, .bolt-select:focus, .bolt-textarea:focus {
  border-color: #000;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.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);
    transition: all 0.4s var(--ease-premium);
    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 h4, .feature-card-dark h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card {
    padding: 40px;
}

.feature-card-dark {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

.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: #000;
}

.expertise-item {
    margin-top: 40px;
}

.bolt-pillar-light {
    border-left: 1px solid var(--line);
    padding-left: 30px;
}

.product-card:hover, .feature-card:hover, .feature-card-padded:hover {
    border-color: #000;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.feature-card-dark:hover {
    border-color: #fff;
    transform: translateY(-10px);
}

.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;
    }
}

.hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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-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: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}

.bolt-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.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; }

.bolt-card-outlined {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: border-color 0.3s 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;
}

/* --- 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; }

.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; }
.bolt-mt-20 { margin-top: 20px !important; } /* Re-added for explicit match */

.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 40px;
  margin-top: 100px;
}

/* FOOTER DIVISION LOGOS */
.footer-division-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-division-logos li {
  margin-bottom: 0;
  border-bottom: none;
}

.footer-division-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-division-logo:hover {
  opacity: 1;
  transform: translateX(5px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 80px;
}

.footer-logo {
  max-width: 240px;
  height: auto;
  margin-bottom: 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;
}

.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;
  transition: color 0.3s var(--ease-premium);
}

.footer-list a:hover {
  color: #fff;
}

.footer-contact .footer-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.bolt-mt-20 { margin-top: 20px; }

/* --- 9. MEDIA QUERIES --- */
@media (max-width: 1024px) {
  :root {
    --bolt-section-padding: 80px;
  }
  
  .site-header { padding: 10px 20px; }
  .main-nav, .header-cta { display: none; }
  .mobile-menu-toggle { display: block; }
  
  .bolt-grid, .bolt-grid-2, .bolt-grid-3, .bolt-grid-4, .split-50-50 {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  
  .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: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .footer-brand .footer-text {
    margin-left: auto;
    margin-right: auto;
  }
}

@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;
  }
}

@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;
  }
}
