/* ==========================================================================
   ARKANSAS WAREHOUSE EQUIPMENT — DESIGN SYSTEM
   One accent, one spacing rhythm, one button system.
   ========================================================================== */

:root {
  /* Type */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Brand — Arkansas Warehouse Equipment Red */
  --accent: #d81e28;
  --accent-hover: #be121b;
  --accent-press: #9c0001;
  --accent-soft: rgba(216, 30, 40, 0.14);
  --accent-ring: rgba(216, 30, 40, 0.38);
  --accent-text: #ff5c65;
  --accent-glow: rgba(216, 30, 40, 0.55);

  /* Dark surfaces */
  --ink-950: #06080e;
  --ink-900: #0b0f17;
  --ink-800: #121722;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-dark-strong: rgba(255, 255, 255, 0.18);
  --on-dark: #ffffff;
  --on-dark-2: #cbd5e1;
  --on-dark-3: #94a3b8;

  /* Light surfaces */
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --text-strong: #0a0d14;
  --text: #334155;
  --text-muted: #64748b;

  /* Geometry */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --header-h: 72px;
  --gutter: 24px;
  --section-y: clamp(64px, 7.5vw, 104px);
  --head-gap: clamp(28px, 3.2vw, 44px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.18s;
  --dur: 0.32s;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 32px -12px rgba(15, 23, 42, 0.18);
  --shadow-dark: 0 24px 60px -18px rgba(0, 0, 0, 0.85);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--ink-950);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  background: var(--ink-950);
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

/* Side-entering reveals must never create horizontal scroll */
main, .site-footer { overflow-x: clip; }

img, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; }
a { color: inherit; }
dd { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   TYPE PRIMITIVES
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.eyebrow-light { color: rgba(255, 255, 255, 0.82); }
.eyebrow-light::before { background: currentColor; }

.display-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: 18px;
}

.display-title-sm { font-size: clamp(36px, 4vw, 52px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-wrap: balance;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
  color: var(--text-muted);
  text-wrap: pretty;
}

.section-dark .section-lead { color: var(--on-dark-3); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-md { height: 44px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-pill { border-radius: var(--r-pill); }

.btn-arrow { font-size: 15px; transition: transform var(--dur) var(--ease-out); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 4px 14px -6px rgba(216, 30, 40, 0.6);
}

.btn-glass {
  background: rgba(10, 14, 20, 0.45);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark-strong);
  color: #fff;
}

.btn:active { transform: scale(0.97); }

@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-glass:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }
  .btn-outline:hover { background: var(--accent); color: #fff; }
  .btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); }
  .btn:hover .btn-arrow { transform: translateX(3px); }
}

.btn.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.link-arrow i { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .link-arrow:hover { color: var(--accent-press); }
  .link-arrow:hover i { transform: translateX(4px); }
}

.btn-round {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.btn-round:active { transform: scale(0.94); }
@media (hover: hover) {
  .btn-round:hover { border-color: var(--accent); color: var(--accent); }
}

.icon-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark-2);
  font-size: 18px;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.icon-btn { width: 44px; height: 44px; }
@media (hover: hover) { .icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; } }

/* Whole-card click target from an inner button/link */
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 15, 0.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.site-header.scrolled { background: rgba(6, 8, 12, 0.95); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.9); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--dur-fast);
}
.brand-cluster { gap: 12px; color: #fff; }
.brand-mark { height: 38px; width: auto; flex-shrink: 0; }
.brand-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.brand-wordmark span + span {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--on-dark-3);
}
@media (hover: hover) { a.brand-cluster:hover { opacity: 0.85; } }

.main-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: var(--header-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-caret { font-size: 10px; opacity: 0.7; transition: transform var(--dur) var(--ease-out); }

/* Dropdowns: open on hover/focus, close a beat late so diagonal mouse paths don't drop them */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -20px;
  width: 320px;
  padding: 8px;
  background: #0c1017;
  border: 1px solid var(--line-dark-strong);
  border-radius: 14px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.985);
  transform-origin: top left;
  transition: opacity 0.16s var(--ease-out) 0.08s, transform 0.2s var(--ease-out) 0.08s, visibility 0s linear 0.24s;
  z-index: 150;
}
.nav-dropdown-wide { width: 520px; }
/* Invisible bridge across the gap between link and panel */
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.18s var(--ease-out), transform 0.24s var(--ease-out), visibility 0s;
}
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-item:hover > .nav-link { color: #fff; }

/* Dismissed after a click: stay closed until the pointer leaves */
.nav-item.is-dismissed .nav-dropdown { opacity: 0; visibility: hidden; transition: none; }
.nav-item.is-dismissed .nav-caret { transform: none; }

.dropdown-header {
  padding: 8px 10px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-grid-single { grid-template-columns: 1fr; }

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: background-color var(--dur-fast);
}
.dropdown-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  color: var(--on-dark-2);
  font-size: 17px;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.dropdown-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; line-height: 1.25; color: #fff; }
.dropdown-desc { font-size: 12px; line-height: 1.35; color: var(--on-dark-3); }

.dropdown-link:hover, .dropdown-link:focus-visible { background: rgba(255, 255, 255, 0.05); }
.dropdown-link:hover .dropdown-icon, .dropdown-link:focus-visible .dropdown-icon {
  background: var(--accent-soft);
  border-color: rgba(216, 30, 40, 0.45);
  color: var(--accent-text);
}
.dropdown-link:focus-visible { outline-offset: -2px; }

.dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px -8px -8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line-dark);
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12.5px;
  color: var(--on-dark-3);
}
.dropdown-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.dropdown-cta i { color: var(--accent-text); transition: transform var(--dur) var(--ease-out); }
.dropdown-cta:hover i { transform: translateX(3px); }

/* Search flyout reuses the header style with a divider */
.search-results-flyout .dropdown-header { margin-bottom: 6px; padding-top: 0; border-bottom: 1px solid var(--line-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Search: 40px icon at rest, expands leftward over the nav on focus */
.nav-search-wrap { position: relative; width: 40px; height: 40px; }

.search-icon-inside {
  position: absolute;
  right: 13px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--on-dark-2);
  pointer-events: none;
}

.nav-search-input {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 0 38px 0 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 13.5px;
  cursor: pointer;
  transition: width 0.32s var(--ease-out), border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast);
}
.nav-search-input::placeholder { color: transparent; transition: color var(--dur-fast); }
.nav-search-input::-webkit-search-cancel-button { display: none; }
.nav-search-input:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); }
.nav-search-input:focus {
  width: 300px;
  outline: none;
  cursor: text;
  background: #0f141f;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.nav-search-input:focus::placeholder { color: #8a94a6; }

.search-results-flyout {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  padding: 10px;
  background: rgba(13, 17, 24, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast), transform var(--dur) var(--ease-out), visibility var(--dur-fast);
  z-index: 200;
}
.search-results-flyout.active { opacity: 1; visibility: visible; transform: none; }

.search-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--on-dark-2);
  cursor: pointer;
}
.search-result-row.is-active, .search-result-row:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }

.search-tag {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-empty { padding: 10px; font-size: 13px; color: var(--on-dark-3); }
.search-empty button { color: var(--accent-text); font-weight: 700; }

.nav-quote-btn { height: 40px; }

.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.mobile-nav-toggle i {
  font-size: 18px;
}
.mobile-nav-toggle:active { transform: scale(0.97); }
@media (hover: hover) {
  .mobile-nav-toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); }
}
.nav-toggle-text {
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   01 HERO
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: max(580px, calc(100svh - var(--header-h) - 76px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-950);
}

.hero-video-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; }

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-fallback-backdrop {
  position: absolute;
  inset: 0;
  background: url('../img/hero/hero-poster.webp') center 38% / cover no-repeat;
  animation: kenBurns 28s ease-in-out infinite alternate;
  transition: opacity 0.8s ease-out;
}
.hero-fallback-backdrop.is-hidden { opacity: 0; }

@keyframes kenBurns { to { transform: scale(1.045); } }

.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.9) 0%, rgba(6, 8, 12, 0.74) 30%, rgba(6, 8, 12, 0.4) 52%, transparent 74%),
    linear-gradient(270deg, rgba(6, 8, 12, 0.82) 0%, rgba(6, 8, 12, 0.4) 22%, transparent 46%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.6) 0%, transparent 22%),
    linear-gradient(0deg, rgba(6, 8, 12, 0.6) 0%, transparent 18%);
}

.hero-content-container { position: relative; z-index: 4; padding-top: 48px; padding-bottom: 48px; }

.hero-main-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.hero-narrative { max-width: 700px; }

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.8vw, 80px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}

.hero-title-accent { color: var(--accent); }

.hero-lead {
  max-width: 540px;
  margin-bottom: 30px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--on-dark-2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.play-icon-circle {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-950);
  font-size: 14px;
  transition: transform var(--dur) var(--ease-out);
}
.play-icon-circle i { margin-left: 2px; }
.play-icon-circle::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: pulseRing 2.4s var(--ease-out) infinite;
}
@keyframes pulseRing { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.btn-watch-video:hover .play-icon-circle { transform: scale(1.06); }

.hero-metrics-stack { width: 200px; display: flex; flex-direction: column; }

.metric-card-block { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.metric-card-block:first-child { border-top: 0; padding-top: 0; }

.metric-label {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}
.metric-value.highlight { font-size: 36px; line-height: 1.02; letter-spacing: -0.01em; }

/* ==========================================================================
   02 TRUST BAR
   ========================================================================== */

.trust-bar-section {
  position: relative;
  z-index: 10;
  padding: 20px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
}

.trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.trust-pillar-card { display: flex; align-items: center; gap: 14px; }

.trust-icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--text-strong);
  font-size: 19px;
}

.trust-content { display: flex; flex-direction: column; }
.trust-title { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.trust-desc { margin-top: 2px; font-size: 12.5px; color: var(--text-muted); }

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */

.section { position: relative; padding: var(--section-y) 0; }
.section-light { background: var(--paper); color: var(--text-strong); }
.section-dark { background: var(--ink-950); color: var(--on-dark); }
.section-light + .section-light { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: var(--head-gap);
}
.section-head-text { max-width: 640px; }

/* ==========================================================================
   03 EQUIPMENT SYSTEM
   ========================================================================== */

.equipment-controls-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 4px;
}

.carousel-nav-buttons { display: flex; gap: 10px; }

.equipment-carousel-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 24px;
  scroll-padding: 0 var(--gutter);
}
.equipment-carousel-viewport::-webkit-scrollbar { display: none; }

.equipment-cards-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.equipment-card {
  position: relative;
  height: clamp(440px, 36vw, 500px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0d1118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease, background 0.35s ease;
}

.equipment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d81e28, #ff5c65);
  opacity: 0;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.equipment-card.active {
  background: linear-gradient(180deg, #151822 0%, #171216 48%, #140b0e 100%);
  border-color: rgba(216, 30, 40, 0.75);
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

.equipment-card.active::before {
  opacity: 1;
}

@media (hover: hover) {
  .equipment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
  }
  .equipment-card.active:hover { border-color: rgba(216, 30, 40, 0.95); }
  .equipment-card:hover .equipment-card-img {
    transform: scale(1.04);
  }
  .equipment-card:hover .card-num-badge {
    color: #ff5c65;
  }
}

.equipment-card-media {
  position: relative;
  height: 52%;
  overflow: hidden;
  background: #090c12;
}
.equipment-card.active .equipment-card-media {
  background: #11141c;
}

.equipment-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.equipment-card[data-category="protect"] .equipment-card-img { object-position: 42% center; }

.card-media-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, rgba(13, 17, 24, 0.6) 72%, #0d1118 100%);
  transition: background 0.35s ease;
}
.equipment-card.active .card-media-gradient {
  background: linear-gradient(to bottom, transparent 40%, rgba(21, 24, 34, 0.65) 72%, #151822 100%);
}

.card-num-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transition: color 0.25s ease;
}
.equipment-card.active .card-num-badge {
  color: #ff5c65;
}

.equipment-card-content { position: relative; flex: 1; padding: 18px 20px 20px; }

.card-category-name {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}
.card-select {
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: #fff;
  cursor: pointer;
}

.equipment-subitems-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subitem {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--on-dark-3);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.subitem::after {
  content: '→';
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  color: var(--accent-text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.equipment-card.active .subitem {
  color: rgba(255, 255, 255, 0.78);
}

@media (hover: hover) {
  .subitem:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .subitem:hover::after { opacity: 1; transform: translateX(0); }
}

.card-action-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.equipment-card.active .card-action-arrow {
  border-color: rgba(216, 30, 40, 0.7);
  background: rgba(216, 30, 40, 0.15);
  color: #ff5c65;
}
@media (hover: hover) {
  .card-action-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
}

/* Category Spotlight Banner */
.equipment-spotlight-banner {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 28px;
  border-radius: var(--r-lg);
  background: #0d1118;
  border: 1px solid rgba(216, 30, 40, 0.4);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.45);
}
.equipment-spotlight-banner.is-swapping .spotlight-title-group,
.equipment-spotlight-banner.is-swapping #spotlightCategoryNum { animation: swapIn 0.4s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; translate: 0 6px; } }

.spotlight-header-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(216, 30, 40, 0.15);
  border: 1px solid rgba(216, 30, 40, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff5c65;
  white-space: nowrap;
}

.spotlight-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d81e28;
  box-shadow: 0 0 8px #ff4d58;
}

.spotlight-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.spotlight-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-dark-2);
  margin: 0;
  max-width: 640px;
}

.spotlight-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .equipment-spotlight-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
  }
  .spotlight-header-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .spotlight-actions-group {
    width: 100%;
    flex-direction: row;
  }
  .spotlight-actions-group .btn {
    flex: 1;
  }
}

@media (max-width: 599px) {
  .equipment-spotlight-banner {
    padding: 18px 16px;
    gap: 16px;
    margin-top: 24px;
  }
  .spotlight-actions-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .spotlight-actions-group .btn {
    flex: none;
    width: 100%;
    height: 44px;
    font-size: 14px;
    padding: 0 16px;
    justify-content: center;
  }
}

/* ==========================================================================
   04 PRODUCT SHOWCASE
   ========================================================================== */

.showcase-mobile-list { display: none; }

.products-showcase-section { position: relative; background: var(--ink-950); color: #fff; overflow: clip; }

.showcase-scroll-wrapper { position: relative; height: 520vh; }

.showcase-sticky-frame {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 24px 0;
}

.showcase-main-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.showcase-left-col { display: flex; flex-direction: column; }

.showcase-counter { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); }
.counter-active { font-size: 32px; font-weight: 800; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.counter-divider, .counter-total { font-size: 18px; font-weight: 600; color: var(--on-dark-3); }

.showcase-progress { width: 132px; height: 2px; margin: 10px 0 14px; border-radius: 2px; background: var(--line-dark-strong); overflow: hidden; }
.showcase-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.1667);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.showcase-text-deck {
  position: relative;
  min-height: 96px;
  margin-bottom: 12px;
}

.showcase-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), visibility 0.28s;
}

.showcase-text-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.showcase-headline {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}

.showcase-desc {
  max-width: 360px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--on-dark-2);
}

/* Category Navigation List */
.showcase-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  max-width: 360px;
}

.showcase-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
  position: relative;
  outline: none;
  user-select: none;
}

@media (hover: hover) {
  .showcase-nav-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
  .showcase-nav-btn:hover .nav-icon-wrap { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }
}

.showcase-nav-btn:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 30, 40, 0.35);
}

.showcase-nav-btn.active {
  background: rgba(216, 30, 40, 0.12);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.nav-icon-wrap {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
  flex-shrink: 0;
}

.showcase-nav-btn.active .nav-icon-wrap {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.nav-btn-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-active-pill {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0);
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
  box-shadow: 0 0 8px var(--accent);
}

.showcase-nav-btn.active .nav-active-pill {
  opacity: 1;
  transform: scale(1);
}

/* Action Bar with View Button + Arrows */
.showcase-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.showcase-action-bar .showcase-cta {
  margin-top: 0;
  border-radius: var(--r-pill);
}

.showcase-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-nav-arrows .btn-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}

@media (hover: hover) {
  .showcase-nav-arrows .btn-round:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
}

.showcase-right-col { display: flex; flex-direction: column; min-width: 0; }

.showcase-stage-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: calc(100svh - var(--header-h) - 100px);
  min-height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #080b11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.parallax-layer-bg {
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.parallax-layer-visuals {
  z-index: 2;
  overflow: hidden;
}
.showcase-slides-deck {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
.showcase-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  visibility: visible;
}
.showcase-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-layer-specs {
  z-index: 3;
  pointer-events: none;
}

.showcase-specs-deck {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 240px;
  pointer-events: auto;
}

.showcase-spec-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 18px 20px 18px 28px;
  border-radius: var(--r-md);
  background: rgba(10, 14, 24, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateZ(24px) translateY(8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.showcase-spec-card.active {
  position: relative;
  opacity: 1;
  transform: translateZ(24px) translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.spec-accent-bar {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 3px;
  height: 38px;
  border-radius: 2px;
  background: var(--accent);
}
.spec-brand { font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; }
.spec-category { margin: 2px 0 10px; font-size: 13.5px; font-weight: 500; color: var(--on-dark-2); }
.spec-list { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; line-height: 1.4; color: var(--on-dark-3); }

.parallax-layer-sheen {
  z-index: 4;
  background: radial-gradient(circle 420px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.showcase-stage-card:hover .parallax-layer-sheen {
  opacity: 1;
}

/* ==========================================================================
   05 FEATURED PRODUCTS
   ========================================================================== */

.featured-products-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

.featured-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast);
}

@media (hover: hover) {
  .featured-product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
  .featured-product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
  .featured-product-card:hover .product-card-link { gap: 8px; }
}

.product-card-img-wrap { height: 140px; display: grid; place-items: center; margin-bottom: 14px; }
.product-card-img-wrap img { max-height: 124px; max-width: 92%; width: auto; object-fit: contain; transition: transform 0.4s var(--ease-out); }

.product-card-title { margin-bottom: 3px; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.product-card-spec { margin-bottom: 12px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); }

.product-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: gap var(--dur) var(--ease-out), color var(--dur-fast);
}

/* ==========================================================================
   06 MANUFACTURERS
   ========================================================================== */

.brands-work-section {
  position: relative;
  overflow: clip;
}

.brands-work-section .section-head {
  margin-bottom: 48px;
}

.logo-cloud-wrapper {
  position: relative;
  width: 100%;
}

/* Full-screen bleed hairlines on top and bottom (21st.dev signature detail) */
.grid-bleed-line {
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--line-dark);
  pointer-events: none;
  z-index: 2;
}
.grid-bleed-top { top: 0; }
.grid-bleed-bottom { bottom: 0; }

/* 4-column x 2-row blueprint grid */
.logo-cloud-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  background: rgba(8, 11, 17, 0.5);
}

.logo-grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px 34px;
  min-height: 175px;
  text-decoration: none;
  overflow: visible;
  transition: background-color var(--dur-fast), box-shadow var(--dur);
}

/* Subtle checkerboard contrast between adjacent cells */
.bg-cell-base {
  background: rgba(255, 255, 255, 0.012);
}

.bg-cell-subtle {
  background: rgba(255, 255, 255, 0.038);
}

.logo-grid-card.border-r {
  border-right: 1px solid var(--line-dark);
}

.logo-grid-card.border-b {
  border-bottom: 1px solid var(--line-dark);
}

.card-corner-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--on-dark-3);
  opacity: 0.5;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}

.logo-grid-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.logo-grid-card .brand-partner-img {
  max-height: 44px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transform: translateY(2px);
  transition: opacity var(--dur-fast), filter var(--dur), transform var(--dur) var(--ease-out);
}

.brand-partner-desc {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--on-dark-3);
  opacity: 0.65;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.35;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}

/* Crosshair Plus Intersection Markers */
.grid-plus-marker {
  position: absolute;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  z-index: 10;
  transition: color 0.28s var(--ease-out), transform 0.4s var(--ease-out);
}

.grid-plus-marker.pos-br {
  right: -12px;
  bottom: -12px;
}

.grid-plus-marker.pos-bl {
  left: -12px;
  bottom: -12px;
}

.visible-mobile-only {
  display: none;
}

/* Hover States (Emil Kowalski / Architectural blueprint precision) */
@media (hover: hover) {
  .logo-grid-card:hover { background: rgba(255, 255, 255, 0.06); z-index: 5; }
  .logo-grid-card:hover .card-corner-tag {
    opacity: 1;
    color: var(--accent-text);
  }
  .logo-grid-card:hover .brand-partner-img { opacity: 1; transform: translateY(0); }
  .logo-grid-card:hover .brand-partner-desc {
    opacity: 1;
    color: #fff;
  }
  .logo-grid-card:hover .grid-plus-marker {
    color: var(--accent);
    transform: scale(1.25) rotate(90deg);
  }
}

/* Desktop Modifiers (min-width: 961px) */
@media (min-width: 961px) {
  .logo-grid-card.md-border-r {
    border-right: 1px solid var(--line-dark);
  }
  .logo-grid-card.md-bg-subtle {
    background: rgba(255, 255, 255, 0.038);
  }
  .logo-grid-card.md-bg-base {
    background: rgba(255, 255, 255, 0.012);
  }
}

/* Responsive Grid: 2 columns on tablet & mobile */
@media (max-width: 960px) {
  .logo-cloud-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid-card.border-b-mobile {
    border-bottom: 1px solid var(--line-dark);
  }
  .logo-grid-card:nth-child(even).border-r {
    border-right: none;
  }
  .hidden-mobile {
    display: none;
  }
  .visible-mobile-only {
    display: block;
  }
}

@media (max-width: 540px) {
  .logo-grid-card {
    padding: 34px 16px 24px;
    min-height: 145px;
  }
  .logo-grid-card .brand-partner-img {
    max-height: 36px;
    max-width: 135px;
  }
  .brand-partner-desc {
    font-size: 10.5px;
  }
}

/* ==========================================================================
   07 SOLUTIONS
   ========================================================================== */

.solutions-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast);
}

@media (hover: hover) {
  .solution-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
  .solution-card:hover img { transform: scale(1.06); }
  .solution-card:hover .solution-card-arrow { color: var(--accent); transform: translate(2px, -2px); }
}

.solution-card.is-flash { animation: flash 1.6s var(--ease-out); }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--accent), var(--shadow-md); } 100% { box-shadow: 0 0 0 0 transparent, var(--shadow-sm); } }

.solution-card-img-wrap { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-900); }
.solution-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }

.solution-card-info { position: relative; padding: 16px 44px 20px 18px; }
.solution-card-title { margin-bottom: 4px; font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.solution-card-desc { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.solution-card-arrow { position: absolute; top: 18px; right: 16px; font-size: 17px; color: var(--text-muted); transition: color var(--dur-fast), transform var(--dur) var(--ease-out); }

/* ==========================================================================
   08 HOW WE HELP
   ========================================================================== */

.how-we-help-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* Rail runs from the first icon's centre to the last; ::after fills with scroll (--progress set in JS) */
.how-we-help-steps::before,
.how-we-help-steps::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 23px;
  right: calc((100% - 96px) / 5 - 23px);
  height: 2px;
  border-radius: 2px;
}
.how-we-help-steps::before { background: var(--line-dark-strong); }
.how-we-help-steps::after {
  background: var(--accent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 0.15s linear;
}

.step-card { position: relative; padding-right: 8px; }

.step-icon-wrap {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line-dark-strong);
  background: var(--ink-900);
  font-size: 20px;
  color: var(--on-dark-3);
  transition: border-color 0.4s var(--ease-out), color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.step-card.is-lit .step-icon-wrap { border-color: var(--accent); color: #fff; background: #2a0d12; }

.step-number { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--on-dark-3); transition: color 0.4s var(--ease-out); }
.step-card.is-lit .step-number { color: var(--accent-text); }
.step-title { margin-bottom: 6px; font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.step-desc { font-size: 14px; line-height: 1.5; color: var(--on-dark-3); }

/* ==========================================================================
   09 SINCE 1987
   ========================================================================== */

.since-1987-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

.storefront-media-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.35);
}
.storefront-img { width: 100%; height: 100%; object-fit: cover; }

.btn-watch-tour { position: absolute; left: 20px; bottom: 20px; z-index: 2; }

.storefront-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-md);
  background: rgba(10, 14, 22, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.storefront-badge img { height: 28px; width: auto; }
.storefront-badge span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.storefront-badge small { font-size: inherit; color: var(--accent-text); }

.since-1987-content .section-lead { margin-bottom: 28px; color: var(--text); }

.story-points { display: grid; gap: 12px; margin: -8px 0 28px; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); animation: reveal 0.5s var(--ease-out); }
.story-points li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--text); }
.story-points b { font-family: var(--font-display); font-weight: 800; color: var(--accent); }

.since-1987-footer-row { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.btn-outline[aria-expanded="true"] .btn-arrow { transform: rotate(90deg); }

.since-stats-cluster { display: flex; align-items: stretch; }

.since-stat-item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 22px; border-left: 1px solid var(--line); }
.since-stat-item:first-child { padding-left: 0; border-left: 0; }

.since-stat-num {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.since-stat-label { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--text-muted); }

/* ==========================================================================
   10 CONTACT CTA
   ========================================================================== */

.tell-us-banner-section {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 80px) 0;
  background:
    radial-gradient(900px 450px at 85% -10%, rgba(255, 75, 85, 0.28), transparent 60%),
    radial-gradient(600px 300px at 15% 100%, rgba(216, 30, 40, 0.22), transparent 60%),
    linear-gradient(135deg, #120305 0%, #680910 52%, #b5121e 100%);
  color: #fff;
}
.tell-us-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.tell-us-grid { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }

.tell-us-content .section-lead { margin-bottom: 26px; color: rgba(255, 255, 255, 0.88); }

.tell-us-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.action-card:active { transform: scale(0.98); }
@media (hover: hover) {
  .action-card:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4); }
}

.action-card-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.16); font-size: 18px; }
.action-card-text { display: flex; flex-direction: column; }
.action-card-headline { font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 1.25; }
.action-card-subtext { margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); }

.prefer-talk-card {
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  border-radius: var(--r-lg);
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.prefer-talk-title { font-family: var(--font-display); font-size: 17px; font-weight: 900; text-transform: uppercase; }
.prefer-talk-desc { margin: 2px 0 16px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }

.phone-contact-group { display: flex; align-items: center; gap: 14px; }
.phone-icon-box { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); font-size: 19px; }
.phone-numbers { display: flex; flex-direction: column; }
.phone-link { font-family: var(--font-display); font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
.phone-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.phone-link.primary { font-size: 21px; line-height: 1.2; }
.phone-link.secondary { font-size: 17px; line-height: 1.3; opacity: 0.88; }
.prefer-talk-hours { margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }

/* ==========================================================================
   11 FOOTER
   ========================================================================== */

.site-footer { padding: 64px 0 28px; background: var(--ink-950); border-top: 1px solid var(--line-dark); color: #fff; }

.footer-top-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 36px; margin-bottom: 52px; }

.footer-brand { margin-bottom: 18px; }
.footer-tagline { font-size: 13px; line-height: 1.6; color: var(--on-dark-3); }

.footer-col-title { margin-bottom: 14px; font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.footer-link-list { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--on-dark-3);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-link:hover { color: #fff; }

.footer-contact-col { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; }
.footer-contact-icon { margin-top: 2px; font-size: 18px; color: var(--on-dark-3); }
.footer-contact-text { font-size: 13.5px; line-height: 1.5; color: var(--on-dark-2); }
.footer-contact-text a { text-decoration: none; }
.footer-contact-text a:hover, a.footer-contact-item:hover .footer-contact-text { color: #fff; }

.footer-social-row { display: flex; gap: 10px; margin-top: 4px; }
.footer-social-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-dark-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark-2);
  font-size: 17px;
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.footer-social-btn:hover { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: rgba(255, 255, 255, 0.08); }

.footer-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--on-dark-3);
  text-align: center;
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.mobile-nav-backdrop.active { opacity: 1; visibility: visible; }

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  display: flex;
  flex-direction: column;
  background: rgba(10, 14, 22, 0.98);
  border-left: 1px solid var(--line-dark-strong);
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.7);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-nav-backdrop.active .mobile-nav-drawer { transform: none; }

.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; height: var(--header-h); border-bottom: 1px solid var(--line-dark); }
.mobile-drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }

.mobile-nav-list { display: flex; flex-direction: column; gap: 2px; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.mobile-nav-link i { font-size: 19px; color: var(--on-dark-3); }
.mobile-nav-link:hover, .mobile-nav-link:active { background: rgba(255, 255, 255, 0.06); color: #fff; }

.mobile-drawer-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.modal-backdrop.active { opacity: 1; visibility: visible; }

.modal-dialog {
  width: 100%;
  max-width: 640px;
  max-height: calc(100svh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0f141f;
  border: 1px solid var(--line-dark-strong);
  border-radius: 20px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.42s var(--ease-out);
}
.modal-backdrop.active .modal-dialog { transform: none; }

.modal-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 16px 24px;
  border-bottom: 1px solid var(--line-dark);
}

.modal-dialog-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; }
.modal-dialog-title i { color: var(--accent-text); font-size: 20px; }
.modal-logo-img {
  height: 28px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
}

.modal-dialog-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; }

.modal-callout { margin-bottom: 22px; padding: 18px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid rgba(216, 30, 40, 0.32); }
.modal-callout h3 { margin-bottom: 4px; font-size: 15px; color: #fff; }
.modal-callout p { margin-bottom: 12px; font-size: 13.5px; color: var(--on-dark-2); }
.modal-callout-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.modal-callout-links a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 14.5px; font-weight: 700; color: #fff; text-decoration: none; }
.modal-callout-links a:hover { color: var(--accent-text); }
.modal-callout-links small { font-family: var(--font-body); font-size: 11.5px; font-weight: 500; color: var(--on-dark-3); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--on-dark-2); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-dark-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14.5px;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-input::placeholder, .form-textarea::placeholder { color: #6b7587; }

.form-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select option { background: #0f141f; }

.form-textarea { height: 100px; padding: 12px 14px; resize: vertical; line-height: 1.5; }

.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); background-color: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 3px var(--accent-ring); }
.form-input:user-invalid { border-color: #f43f5e; }

.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.form-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--on-dark-3); }
.form-note i { color: #f59e0b; }

.video-modal-dialog { max-width: 960px; background: #000; }
.video-player-container { aspect-ratio: 16 / 9; background: #000; }
.modal-cinema-video { width: 100%; height: 100%; object-fit: contain; }

/* Toast */
.toast-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: min(420px, calc(100vw - 32px));
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: #121826;
  border: 1px solid var(--line-dark-strong);
  box-shadow: var(--shadow-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform 0.42s var(--ease-out);
}
.toast-notice i { margin-top: 1px; font-size: 18px; color: #34d399; }
.toast-notice.show { opacity: 1; transform: none; }

/* ==========================================================================
   MOTION & STORYTELLING ANIMATIONS
   ========================================================================== */

/* Lenis smooth scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Direction is set per element: data-reveal="left | right | down | zoom" (default rises up) */
@keyframes reveal {
  from { opacity: 0; translate: var(--rx, 0) var(--ry, 24px); scale: var(--rs, 1); }
  to { opacity: 1; translate: none; scale: none; }
}
[data-reveal="left"] { --rx: -48px; --ry: 0; }
[data-reveal="right"] { --rx: 48px; --ry: 0; }
[data-reveal="down"] { --ry: -20px; }
[data-reveal="zoom"] { --ry: 0; --rs: 0.96; }

/* Headings rise out of an invisible baseline */
@keyframes revealMask {
  from { opacity: 0; clip-path: inset(100% 0 0 0); translate: 0 0.45em; }
  to { opacity: 1; clip-path: inset(-10% -10% -10% -10%); translate: none; }
}
/* Photos open top-to-bottom while the image settles */
@keyframes revealCurtain {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes settle { from { scale: 1.18; } }

.js [data-reveal]:not(.is-visible) { opacity: 0; }
.js [data-reveal].is-visible {
  animation: reveal 0.8s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

.js [data-reveal="mask"].is-visible { animation: revealMask 0.95s cubic-bezier(0.22, 1, 0.36, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="curtain"].is-visible { animation: revealCurtain 1.1s cubic-bezier(0.77, 0, 0.18, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="curtain"].is-visible img { animation: settle 1.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* Hero headline: line-by-line rise out of masks */
.hero-line-mask { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero-line { display: block; }
.js .hero-line { animation: heroLine 1.05s cubic-bezier(0.22, 1, 0.36, 1) backwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes heroLine { from { translate: 0 108%; } }

.js .hero-intro {
  animation: reveal 0.8s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 80ms + 80ms);
}

/* Floating Circular Scroll Progress & Back to Top */
.back-to-top-fab {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f141f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s, border-color var(--dur-fast), background-color var(--dur-fast);
}
.back-to-top-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: hover) {
  .back-to-top-fab:hover { background: #171f2e; border-color: rgba(255, 255, 255, 0.32); }
  .back-to-top-fab:hover i { transform: translateY(-2px); }
}
.back-to-top-fab i {
  position: relative;
  z-index: 2;
  font-size: 18px;
  transition: transform var(--dur-fast);
}



/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Short laptop screens: keep the pinned showcase inside the viewport */
@media (min-width: 1024px) and (max-height: 820px) {
  .showcase-sticky-frame { padding: 12px 0; min-height: 0; }
  .counter-active { font-size: 28px; }
  .showcase-progress { margin: 10px 0 12px; }
  .showcase-headline { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 8px; }
  .showcase-nav-list { gap: 3px; margin-bottom: 12px; }
  .showcase-nav-btn { padding: 4px 10px 4px 5px; font-size: 13px; }
  .nav-icon-wrap { width: 26px; height: 26px; font-size: 14px; }
  .showcase-action-bar { margin-top: 6px; }
  .showcase-stage-card { max-height: calc(100svh - var(--header-h) - 100px); }
}

@media (max-width: 1099px) {
  .nav-search-wrap { display: none; }
}

@media (max-width: 1180px) {
  .equipment-cards-track { grid-template-columns: repeat(5, 248px); width: max-content; }
  .featured-products-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .brand-mark { height: 34px; }
  .nav-list { display: none; }
  .mobile-nav-toggle { display: inline-flex; }

  .hero-main-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-metrics-stack { width: 100%; flex-direction: row; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .metric-card-block, .metric-card-block:first-child { padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .metric-value.highlight { font-size: 20px; line-height: 1.15; }

  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }

  /* Showcase: one vertical story, every product in order */
  .showcase-scroll-wrapper { display: none; }
  .showcase-mobile-list { display: block; padding: var(--section-y) 0; }
  .showcase-mobile-list .eyebrow { margin-bottom: 4px; }
  .sm-anchor { display: block; }
  .sm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    padding: 20px 20px 22px;
    border-radius: 20px;
    background: var(--ink-900);
    border: 1px solid var(--line-dark);
    box-shadow: 0 -12px 40px -16px rgba(0, 0, 0, 0.8);
  }
  /* Darkens a card as the next one slides over it (--dim driven by GSAP) */
  .sm-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #000;
    opacity: var(--dim, 0);
    pointer-events: none;
  }
  .sm-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-dark-3);
  }
  .sm-num { font-weight: 700; color: var(--accent-text); }
  .sm-text .showcase-headline { font-size: clamp(26px, 5.5vw, 36px); margin-bottom: 8px; }
  .sm-text .showcase-desc { max-width: 52ch; font-size: 15px; }
  .sm-media {
    position: relative;
    aspect-ratio: 16 / 10;
    margin-top: 6px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink-900);
    border: 1px solid var(--line-dark);
  }
  .sm-media img { width: 100%; height: 100%; object-fit: cover; }
  .sm-spec {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: min(240px, calc(100% - 24px));
    padding: 14px 16px 14px 26px;
    border-radius: var(--r-md);
    background: rgba(10, 14, 24, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .sm-spec .spec-accent-bar { left: 13px; top: 15px; height: 32px; }
  .sm-cta { align-self: flex-start; }
  .sm-media { margin-top: 2px; border-radius: 14px; }

  .since-1987-grid { grid-template-columns: 1fr; gap: 36px; }
  .tell-us-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .equipment-controls-wrap { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }

  .hero-content-container { padding-top: 40px; padding-bottom: 40px; }
  .hero-lead { font-size: 15.5px; }
  .hero-metrics-stack { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }

  .equipment-cards-track { grid-template-columns: repeat(5, min(78vw, 280px)); }

  .sm-media { aspect-ratio: 4 / 3; }
  .sm-card { padding: 16px 16px 18px; }

  .featured-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-img-wrap { height: 120px; }
  .product-card-img-wrap img { max-height: 104px; }

  .how-we-help-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .how-we-help-steps::before, .how-we-help-steps::after { display: none; }

  .since-1987-footer-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .since-stats-cluster { width: 100%; }
  .since-stat-item { flex: 1; padding: 0 14px; }

  .tell-us-actions-grid { grid-template-columns: 1fr; }
  .storefront-badge { display: none; }

  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-contact-col { grid-column: 1 / -1; }

  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal-dialog { max-height: 92svh; border-radius: 20px 20px 0 0; transform: translateY(40px); }
  .modal-dialog-body { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .form-input, .form-select, .form-textarea { font-size: 16px; } /* prevents iOS zoom on focus */
  .video-modal-dialog { border-radius: 0; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-submit-row .btn { width: 100%; }

  .toast-notice { right: 16px; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: none; }
  .back-to-top-fab { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}

@media (max-width: 599px) {
  .mobile-nav-toggle { width: 40px; padding: 0; justify-content: center; }
  .sm-spec { width: auto; padding: 10px 14px 10px 24px; }
  .sm-spec .spec-list { display: none; }
  .sm-spec .spec-category { margin-bottom: 0; }
  .sm-spec .spec-accent-bar { top: 12px; height: 28px; }
  .nav-toggle-text { display: none; }
  .solutions-cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .how-we-help-steps { grid-template-columns: 1fr; gap: 18px; }
  .step-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .step-icon-wrap { grid-row: span 3; margin-bottom: 0; }
  /* Vertical progress rail that fills as the steps scroll into view */
  .how-we-help-steps::before,
  .how-we-help-steps::after { display: block; left: 22px; right: auto; top: 23px; bottom: 23px; width: 2px; height: auto; }
  .how-we-help-steps::after { transform: scaleY(var(--progress, 0)); transform-origin: top; }
}

@media (max-width: 479px) {
  .site-header .brand-wordmark { display: none; }
  .site-header .brand-mark { height: 36px; }
  .nav-actions { gap: 8px; }
  .nav-quote-btn { padding: 0 12px; font-size: 13px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }
  .trust-bar-grid { grid-template-columns: 1fr; }
  .story-points li { grid-template-columns: 1fr; gap: 2px; }
}

/* Mobile card stack: only where a whole card fits on screen (not landscape phones) */
@media (max-width: 1023px) and (min-height: 600px) {
  .sm-card { position: sticky; top: calc(var(--header-h) + 12px + var(--n, 0) * 8px); }
}
