/* ========================================
   TempIQ — Luxury Wearable Technology
   Bentley Motors · Apple · Clean
   ======================================== */

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

/* Screen-reader only — visually hidden but accessible to search engines and assistive tech */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --white: #ffffff;
  --cream: #faf9f7;
  --warm: #f3f1ed;
  --text: #1a1a1a;
  --text-sub: #444;
  --text-secondary: #555;
  --text-light: #666;
  --text-muted: #888;
  --gold: #8a7354;
  --rule: #e5e2dc;
  --rule-light: #eeecea;
  --font: 'Helvetica Neue', 'Inter', 'Segoe UI', sans-serif;
  --max-w: 1180px;
  --gap: 200px;       /* Bentley-level breathing room */
}

/* ── Inter web font loaded at top of file ── */

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 80px; overscroll-behavior-y: none; }

/* iOS overscroll bounce — elastic feel at page edges */
@supports (-webkit-touch-callout: none) {
  body { -webkit-overflow-scrolling: touch; }
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
img[loading="lazy"] { opacity: 0; transition: opacity 0.5s ease; }
img[loading="lazy"].loaded { opacity: 1; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* ========================================
   Scroll-driven reveal animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children: each child delays slightly more */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* Reduced motion — respect OS accessibility settings (iOS, Android, desktop) */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body { animation: none !important; }
  body.page-exit { transition: none !important; opacity: 1 !important; }
  .preloader { transition: none !important; }
  .preloader.fade-out { opacity: 0 !important; }
}

/* Mobile: tighter reveal distance, smoother easing for premium feel */
@media (max-width: 768px) {
  .reveal {
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .reveal-stagger > * {
    transform: translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* ========================================
   Micro-interactions — Luxury polish
   ======================================== */

/* 1. Gentle lift — scale on hover, default cursor everywhere */

/* Kill pointer cursor on all content links — only nav/buttons keep it */
.collection-section a,
.ecosystem-text a,
.ecosystem-img a,
.content-section a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-dark):not(.btn-outline),
.oem-wrapper a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-dark):not(.btn-outline),
.cta-section a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-dark):not(.btn-outline),
.two-col a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-dark):not(.btn-outline),
.stats-row a,
.section-header-lg a,
.img-pair a,
.img-center a,
.text-block a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-dark):not(.btn-outline),
.page-hero a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-dark):not(.btn-outline) {
  cursor: default;
}

/* Ken Burns zoom — sitewide image hover */
.ecosystem-img img,
.collection-section img,
.oem-image img,
.science-flex img,
.intelligence-flex img,
.science-grid a img,
.img-pair img,
.img-center img,
.content-section img,
.text-block img,
.stat,
.survey-option {
  transition: transform 0.6s ease;
}
.ecosystem-img img:hover,
.collection-section img:hover,
.oem-image img:hover,
.science-flex img:hover,
.intelligence-flex img:hover,
.science-grid a:hover img,
.img-pair img:hover,
.img-center img:hover,
.content-section img:hover,
.text-block img:hover {
  transform: scale(1.06);
}
/* Exclude nav logo, tiny icons, and specific images from zoom */
.nav-logo img,
.nav-logo img:hover,
img.no-ken-burns,
img.no-ken-burns:hover {
  transform: none !important;
}
.stat:hover {
  transform: scale(1.03);
}
.survey-option:hover {
  transform: scale(1.01);
}

/* 2. Underline draw-in — slides from left on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { display: none; }
.nav-cta::after { display: none !important; }

/* 3. Button arrow nudge — existing arrows shift right on hover */
.btn,
.btn-primary,
.btn-secondary {
  transition: all 0.4s ease, padding-right 0.3s ease;
}
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover {
  padding-right: 4px;
  letter-spacing: 3px;
}

/* 4. Tap feedback — press scale on active */
.btn:active,
.btn-primary:active,
.btn-secondary:active,
.nav-cta:active,
.nav-toggle:active,
.survey-submit:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

/* 5. Focus ring — branded gold outline for keyboard nav */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ========================================
   Navigation — Floating, barely there
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  height: 56px;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 0; align-items: center; height: 100%; }
.nav-scroll-hint { display: none; }
.nav-menu-chevrons { display: none; }
.nav-links .nav-menu-chevrons { display: none; }
.nav-links a {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--text);
  font-weight: 600;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--cream);
  border-radius: 6px 6px 0 0;
  margin-bottom: -1px;
}
.nav-cta {
  color: var(--gold) !important;
  background: none !important;
  padding: 0 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { color: var(--text) !important; border-color: var(--text) !important; }

/* ── Nav dropdowns (Apple-style hover panels) ── */
.nav-drop {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
  pointer-events: none;
}
.nav-drop:hover > .nav-dropdown,
.nav-drop:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Invisible bridge so cursor can travel from link to panel */
.nav-drop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  display: none;
}
.nav-drop:hover::after {
  display: block;
}
.nav-dropdown-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 40px 36px;
  display: flex;
  gap: 48px;
}
.nav-drop-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}
.nav-drop-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
/* Override .nav-links a styles for dropdown links */
.nav-drop-col a,
.nav-links .nav-drop-col a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  padding: 4px 0;
  transition: color 0.2s ease;
  display: block;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
.nav-drop-col a:hover,
.nav-links .nav-drop-col a:hover {
  color: var(--text);
  background: none;
}
.nav-links .nav-drop-col a.active {
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  font-weight: 400;
  color: var(--text-muted);
}
.nav-drop-col a::after,
.nav-links .nav-drop-col a::after {
  display: none !important;
}
/* Mobile nav dropdowns — accordion-style */
@media (max-width: 1060px) {
  .nav-drop { height: auto; display: block; position: relative; }
  .nav-drop > a { cursor: pointer; }
  .nav-dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0,0,0,0.03) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    overflow: hidden;
    transition: none;
  }
  .nav-drop.open > .nav-dropdown {
    display: block !important;
  }
  .nav-dropdown-inner {
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px;
    max-width: none;
  }
  .nav-drop-col {
    min-width: 0;
    gap: 0;
    padding: 0;
  }
  .nav-drop-heading {
    font-size: 8px;
    letter-spacing: 2.5px;
    color: var(--gold);
    padding: 8px 28px 2px;
    margin-bottom: 0;
  }
  .nav-links.active .nav-drop-col a,
  .nav-drop-col a {
    font-size: 9px !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    padding: 6px 28px 6px 36px !important;
    color: var(--text-sub) !important;
    background: transparent !important;
    border-bottom: none !important;
    text-transform: none !important;
  }
  .nav-links.active .nav-drop-col a:hover,
  .nav-drop-col a:hover {
    color: var(--text) !important;
    background: rgba(0,0,0,0.02) !important;
  }
  /* Chevron indicator on parent links that have dropdowns */
  .nav-drop > a::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(-45deg);
    margin-right: 8px;
    transition: transform 0.25s ease;
    vertical-align: middle;
    flex-shrink: 0;
  }
  .nav-drop.open > a::before {
    transform: rotate(45deg);
  }
}

/* Desktop search icon — visible on wide screens, hidden on mobile */
.nav-search-desktop {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 10px;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-search-desktop svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s;
}
.nav-search-desktop:hover svg { stroke: var(--gold); }
/* Mobile nav toggle + search */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle .grid-dots {
  display: grid;
  grid-template-columns: repeat(2, 3.5px);
  gap: 4px;
}
.nav-toggle .grid-dots span {
  display: block;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--text);
}
/* MENU/CLOSE text toggle */
.nav-toggle .menu-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  font-family: var(--font);
  line-height: 1;
  transition: opacity 0.25s ease;
}
.nav-toggle .menu-label .label-open { display: inline; }
.nav-toggle .menu-label .label-close { display: none; }
.nav-toggle.open .menu-label .label-open { display: none; }
.nav-toggle.open .menu-label .label-close { display: inline; }
.nav-search {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-search svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  stroke-width: 1.5;
  fill: none;
}
.nav-actions {
  display: none;
  align-items: center;
  gap: 4px;
}
/* Search overlay */
.nav-search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule-light);
  z-index: 999;
}
.nav-search-overlay.active {
  display: block;
}
.nav-search-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.3s;
}
.nav-search-input:focus {
  border-bottom-color: var(--gold);
}
.nav-search-input::placeholder {
  color: var(--text-muted, #999);
  letter-spacing: 1.5px;
  font-size: 11px;
  text-transform: uppercase;
}

/* ========================================
   Typography — Whisper thin, cinematic
   ======================================== */
.label {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font);
  font-size: 80px;
  font-weight: 100;
  letter-spacing: -3px;
  line-height: 0.95;
  text-wrap: balance;
  color: var(--text);
}

h2 {
  font-family: var(--font);
  font-size: 56px;
  font-weight: 100;
  letter-spacing: -2px;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--text);
}

h3 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 200;
  letter-spacing: -0.3px;
  line-height: 1.3;
  text-wrap: balance;
}

h4 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
}

p { color: var(--text-sub); }

.deck-copy {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-sub);
  max-width: 520px;
  text-wrap: pretty;
}

/* ========================================
   Buttons — Fashion house: text + fine rule
   Hermès / Chanel / Bottega Veneta
   No solid fills. No boxes. Just type.
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0 0 4px;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  background: none;
  font-family: var(--font);
  color: var(--text);
  border-bottom: 1px solid var(--gold);
}
.btn:hover {
  color: var(--gold);
  border-bottom-color: transparent;
}
.btn-dark {
  background: none;
  color: var(--text);
}
.btn-dark:hover { color: var(--gold); }
.btn-outline {
  background: none;
  color: var(--text-light);
  border-bottom: 1px solid var(--rule);
}
.btn-outline:hover { color: var(--text); border-bottom-color: var(--text); }

/* Legacy compatibility */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; color: var(--text);
  font-size: 10px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0 0 4px; cursor: pointer; transition: all 0.4s ease;
  border: none; border-bottom: 1px solid var(--gold); font-family: var(--font);
}
.btn-primary:hover { color: var(--gold); border-bottom-color: transparent; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; color: var(--text-light);
  font-size: 10px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0 0 4px; cursor: pointer; transition: all 0.4s ease;
  border: none; border-bottom: 1px solid var(--rule); font-family: var(--font);
}
.btn-secondary:hover { color: var(--text); border-bottom-color: var(--text); }

/* ========================================
   HERO — Full viewport, cinematic
   Like Bentley's model pages
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
}
.hero-inner {
  max-width: 900px;
}
.hero h1 {
  margin-bottom: 32px;
}
.hero .deck-copy {
  margin: 0 auto 48px;
  max-width: 480px;
}
.hero-img {
  margin-top: 80px;
}
.hero-img img {
  max-height: 60vh;
  width: auto;
  margin: 0 auto;
}

/* ========================================
   PAGE HERO — Interior pages, centered
   ======================================== */
.page-hero {
  padding: 110px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: 64px;
  letter-spacing: -2px;
  max-width: 800px;
  margin: 0 auto 20px;
}
.page-hero .deck-copy {
  margin: 0 auto;
}
.page-hero .label { margin-bottom: 16px; }

/* Aliases for legacy markup */
.section-label { font-size: 11.5px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.section-title { font-family: var(--font); font-size: 48px; font-weight: 100; letter-spacing: -1.5px; line-height: 1.05; color: var(--text); margin-bottom: 24px; }
.section-subtitle { font-size: 16px; font-weight: 300; line-height: 1.9; color: var(--text-sub); max-width: 520px; }

/* ========================================
   TEXT BLOCK — Narrow, centered editorial
   Replaces editorial-text. Bentley-style
   breathing room between image sections.
   ======================================== */
.text-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 48px 40px;
}
.text-block h2 { margin-bottom: 24px; }
.text-block p {
  font-size: 16px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--text-sub);
  margin-top: 16px;
}
.text-block .btn,
.text-block .btn-primary,
.text-block .btn-secondary {
  margin-top: 40px;
}

/* Legacy alias */
.editorial-text {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: var(--gap) 48px;
}
.editorial-text h2, .editorial-text .section-title { font-size: 48px; font-weight: 100; letter-spacing: -1.5px; margin-bottom: 24px; }
.editorial-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--text-sub);
  margin-top: 16px;
}

/* ========================================
   IMAGE BLOCKS — Swappable containers
   Every image sits in a named container
   a Squarespace designer can find and swap.
   ======================================== */

/* Full-width single image — edge to edge */
.img-full {
  width: 100%;
  background: var(--white);
}
.img-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered product image — floating on white */
.img-center {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px;
  text-align: center;
  background: var(--white);
}
.img-center img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.img-center.large { max-width: 1100px; }
.img-center.compact { padding: 24px 48px; }

/* Two images side by side */
.img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--white);
}
.img-pair img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--white);
}

/* Three images in a row */
.img-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--white);
}
.img-trio img {
  width: 100%;
  object-fit: contain;
  display: block;
  background: var(--white);
}

/* Flexible image grid — auto columns */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  background: var(--white);
}
.img-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: var(--white);
}
.img-grid.wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.img-grid.narrow { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* Feature row — small icons/badges in a row */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 56px 48px;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.icon-row .icon-item {
  text-align: center;
}
.icon-row img {
  height: 48px;
  width: auto;
  margin: 0 auto 10px;
}
.icon-row span {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* Legacy aliases */
.showcase {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px;
  text-align: center;
  background: var(--white);
}
.showcase img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--white);
}
.gallery-2 img {
  width: 100%;
  object-fit: contain;
  display: block;
  background: var(--white);
}

/* ========================================
   ECOSYSTEM DIAGRAM — Composed overlay
   Products positioned inside bubble circles
   matching the Keynote composition exactly.
   ======================================== */
.ecosystem-compose {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  /* The aspect ratio matches the bubble diagram (3200×1800) */
}
.ecosystem-compose .eco-bg {
  width: 100%;
  height: auto;
  display: block;
}
.ecosystem-compose .eco-product {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}
.ecosystem-compose .eco-product img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
/* Center circle — large, ~19% of width */
.ecosystem-compose .eco-center {
  width: 19%;
  height: 0;
  padding-bottom: 19%;
  top: 42%;
  left: 40.5%;
}
.ecosystem-compose .eco-center img {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
}
/* Satellite circles — ~9% of width */
.ecosystem-compose .eco-sat {
  width: 9%;
  height: 0;
  padding-bottom: 9%;
}
.ecosystem-compose .eco-sat img {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
}
/* Satellite positions (from pixel analysis of bubble diagram) */
.ecosystem-compose .eco-sat-tl  { top: 21%;   left: 35.8%; }
.ecosystem-compose .eco-sat-tr  { top: 21%;   left: 55.2%; }
.ecosystem-compose .eco-sat-ml  { top: 42.6%; left: 26.1%; }
.ecosystem-compose .eco-sat-mr  { top: 42.6%; left: 64.9%; }
.ecosystem-compose .eco-sat-bl  { top: 63.8%; left: 35.8%; }
.ecosystem-compose .eco-sat-br  { top: 63.8%; left: 55.2%; }

/* ========================================
   VIDEO HERO — Bentley-style opening
   Full viewport background video with
   centered headline overlay. Squarespace
   designer swaps video via src attribute.
   ======================================== */
.video-hero {
  position: relative;
  width: 100%;
  max-height: 59vh;
  overflow: hidden;
  background: var(--text);
  margin-top: 20px;
  margin-bottom: 0;
}
.video-hero video {
  display: block;
  width: 100%;
  height: 59vh;
  object-fit: cover;
  object-position: center bottom;
}
.video-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  z-index: 2;
  /* Subtle dark gradient for text legibility */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.05) 60%,
    rgba(0,0,0,0.25) 100%
  );
}
/* Scroll hint chevron — mobile only */
.video-hero .scroll-hint {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scrollDrift 4s ease-in-out infinite;
}
.video-hero .scroll-hint span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  margin: -6px 0;
}
@keyframes scrollDrift {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
  50% { transform: translateX(-50%) translateY(4px); opacity: 0.5; }
}

/* Page scroll chevron — follows page scroll, flips at bottom */
.page-scroll-chevron {
  position: fixed;
  right: 5%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: transform 0.4s ease;
  z-index: 50;
  pointer-events: none;
}
.page-scroll-chevron i {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  margin-top: -3px;
}
.page-scroll-chevron.flipped i {
  transform: rotate(-135deg);
  margin-top: 0;
  margin-bottom: -3px;
}
.page-scroll-chevron i:nth-child(1) { opacity: 0.35; }
.page-scroll-chevron i:nth-child(2) { opacity: 0.65; }
.page-scroll-chevron i:nth-child(3) { opacity: 1; }

/* CTP Device Features — cycling pill active state */
.ctp-feat-pill.active {
  border-color: rgba(138,115,84,0.6) !important;
  color: var(--gold) !important;
}

/* Continue Exploring — related content strip */
.continue-exploring {
  padding: 64px 0 48px;
  border-top: 1px solid var(--rule-light);
}
.continue-exploring-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.continue-exploring h3 {
  font-weight: 100;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 32px;
}
.continue-exploring-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.continue-exploring-card {
  flex: 1;
  max-width: 320px;
  padding: 28px 24px;
  border: 1px solid var(--rule-light);
  border-radius: 6px;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.continue-exploring-card:hover {
  border-color: rgba(138,115,84,0.4);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.continue-exploring-card .ce-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.continue-exploring-card .ce-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.continue-exploring-card .ce-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-sub);
}
@media (max-width: 768px) {
  .continue-exploring-cards { flex-direction: column; align-items: center; }
  .continue-exploring-card { max-width: 100%; }
  .continue-exploring { padding: 48px 0 36px; }
  .continue-exploring-inner { padding: 0 24px; }
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
  z-index: 50;
}
.back-to-top.visible {
  opacity: 0.7;
  pointer-events: auto;
}
.back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.back-to-top i {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-135deg);
  margin-top: 3px;
}

.video-hero-overlay h1 {
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.video-hero-overlay .label {
  color: rgba(255,255,255,0.8);
}
.video-hero-overlay .deck-copy {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 24px auto 0;
}

/* ========================================
   SPLIT — Text + Image, 50/50
   Bentley editorial spread layout
   ======================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: center;
}
.split-text {
  padding: 80px 72px;
}
.split-text h2 { margin-bottom: 24px; }
.split-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--text-sub);
  margin-bottom: 16px;
  max-width: 420px;
}
.split-img {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--white);
}
.split-img img {
  max-width: 100%;
  max-height: 500px;
  width: auto;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split.cream .split-text { background: var(--cream); }
.split.warm .split-text { background: var(--warm); }

/* Legacy alias */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ========================================
   PRODUCT CARDS — Apple style
   ======================================== */
.product-card {
  background: var(--cream);
  padding: 48px;
  text-align: center;
}
.product-card-badge {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.product-card h3 {
  font-size: 22px;
  font-weight: 200;
  margin-bottom: 12px;
}
.product-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ========================================
   SPEC TABLE — Thin, precise
   ======================================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule-light);
  font-size: 12px;
  font-weight: 300;
}
.spec-table th {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 160px;
}
.spec-table td { color: var(--text-sub); }
.spec-table td strong { font-weight: 400; color: var(--text); }
/* Palo gold bubbles for competitive tables */
.bubble-yes {
  display: block;
  margin: 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.bubble-gold {
  background: var(--gold);
}
.spec-table td:has(.bubble-yes),
.spec-table td:has(.bubble-gold) {
  text-align: center;
  vertical-align: middle;
}

/* ── Competitive table — compact rows + zebra striping ── */
.spec-table tbody tr:nth-child(odd) {
  background: rgba(138,115,84,0.03);
}
.spec-table:has(.col-highlight) th,
.spec-table:has(.col-highlight) td {
  padding: 7px 12px;
  font-size: 11px;
  line-height: 1.4;
}
.spec-table:has(.col-highlight) th:first-child,
.spec-table:has(.col-highlight) td:first-child {
  white-space: nowrap;
}
.spec-table:has(.col-highlight) .bubble-yes {
  width: 8px;
  height: 8px;
}

/* ── Competitive table row animation ── */
.spec-table.animated tbody tr {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.spec-table.animated.in-view tbody tr {
  opacity: 1;
  transform: translateY(0);
}
.spec-table.animated.in-view tbody tr:nth-child(1) { transition-delay: 0.05s; }
.spec-table.animated.in-view tbody tr:nth-child(2) { transition-delay: 0.12s; }
.spec-table.animated.in-view tbody tr:nth-child(3) { transition-delay: 0.19s; }
.spec-table.animated.in-view tbody tr:nth-child(4) { transition-delay: 0.26s; }
.spec-table.animated.in-view tbody tr:nth-child(5) { transition-delay: 0.33s; }
.spec-table.animated.in-view tbody tr:nth-child(6) { transition-delay: 0.40s; }
.spec-table.animated.in-view tbody tr:nth-child(7) { transition-delay: 0.47s; }
.spec-table.animated.in-view tbody tr:nth-child(8) { transition-delay: 0.54s; }
.spec-table.animated.in-view tbody tr:nth-child(9) { transition-delay: 0.61s; }
.spec-table.animated.in-view tbody tr:nth-child(10) { transition-delay: 0.68s; }
.spec-table.animated.in-view tbody tr:nth-child(11) { transition-delay: 0.75s; }
.spec-table.animated.in-view tbody tr:nth-child(12) { transition-delay: 0.82s; }
.spec-table.animated.in-view tbody tr:nth-child(13) { transition-delay: 0.89s; }

/* Header row — slide from left */
.spec-table.animated thead tr {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.spec-table.animated.in-view thead tr {
  opacity: 1;
  transform: translateX(0);
}

/* Gold bubble pop-in */
.spec-table.animated .bubble-yes {
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spec-table.animated.in-view .bubble-yes {
  transform: scale(1);
}
.spec-table.animated.in-view tbody tr:nth-child(1) .bubble-yes { transition-delay: 0.25s; }
.spec-table.animated.in-view tbody tr:nth-child(2) .bubble-yes { transition-delay: 0.32s; }
.spec-table.animated.in-view tbody tr:nth-child(3) .bubble-yes { transition-delay: 0.39s; }
.spec-table.animated.in-view tbody tr:nth-child(4) .bubble-yes { transition-delay: 0.46s; }
.spec-table.animated.in-view tbody tr:nth-child(5) .bubble-yes { transition-delay: 0.53s; }
.spec-table.animated.in-view tbody tr:nth-child(6) .bubble-yes { transition-delay: 0.60s; }
.spec-table.animated.in-view tbody tr:nth-child(7) .bubble-yes { transition-delay: 0.67s; }
.spec-table.animated.in-view tbody tr:nth-child(8) .bubble-yes { transition-delay: 0.74s; }
.spec-table.animated.in-view tbody tr:nth-child(9) .bubble-yes { transition-delay: 0.81s; }
.spec-table.animated.in-view tbody tr:nth-child(10) .bubble-yes { transition-delay: 0.88s; }
.spec-table.animated.in-view tbody tr:nth-child(11) .bubble-yes { transition-delay: 0.95s; }
.spec-table.animated.in-view tbody tr:nth-child(12) .bubble-yes { transition-delay: 1.02s; }
.spec-table.animated.in-view tbody tr:nth-child(13) .bubble-yes { transition-delay: 1.09s; }

/* Highlight column subtle glow on reveal */
.spec-table.animated .col-highlight {
  transition: text-shadow 0.6s ease 0.3s;
  text-shadow: none;
}
.spec-table.animated.in-view .col-highlight {
  text-shadow: 0 0 20px rgba(138,115,84,0.25);
}

/* ========================================
   STATS ROW — Bentley-style numbers
   ======================================== */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 80px;
  padding: 36px 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-val {
  font-size: 48px;
  font-weight: 100;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.stat-key {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Legacy aliases */
.specs-row { display: flex; justify-content: center; gap: 64px; padding: 56px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.specs-row .spec-item { text-align: center; }
.specs-row .spec-val { font-size: 28px; font-weight: 200; color: var(--text); line-height: 1; margin-bottom: 8px; }
.specs-row .spec-key { font-size: 9px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.market-stat { font-size: 48px; font-weight: 100; color: var(--text); line-height: 1; letter-spacing: -1px; }
.market-stat-label { font-size: 9px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

/* ========================================
   CTA SECTION — Clean, quiet close
   ======================================== */
.cta-section {
  padding: 64px 0;
  text-align: center;
  background: #1a1917;
}
.cta-section h2 { margin-bottom: 16px; color: #f5f4f1; }
.cta-section .label { color: var(--gold); }
.cta-section p {
  margin: 0 auto 40px;
  max-width: 420px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}
.cta-buttons {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.cta-section .btn-dark,
.cta-section .btn-outline {
  color: #f5f4f1;
  border-color: rgba(138,115,84,0.5);
}
.cta-section .btn-dark:hover,
.cta-section .btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Legacy alias */
.oem-cta-section { padding: 64px 0; background: var(--cream); }
.oem-cta-box { text-align: center; padding: 0; }
.oem-cta-box .section-subtitle { margin: 0 auto 40px; max-width: 420px; }

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section { padding: 56px 0; }
.content-section.alt { background: var(--cream); }
.content-section.warm { background: var(--warm); }
.content-section.dark {
  background: #111;
  color: #fff;
}
.content-section.dark .label { color: var(--gold); }
.content-section.dark .deck-copy { color: rgba(255,255,255,0.6); }
.content-section.dark .text-block p { color: rgba(255,255,255,0.6); }
.content-section.dark .text-block h2 { color: #fff; }

/* Brand marks row */
.brand-marks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.brand-marks img {
  height: 56px;
  width: auto;
}

/* Ecosystem features */
.ecosystem-features { display: flex; flex-direction: column; gap: 24px; }
.eco-feature h4 { font-size: 13px; font-weight: 400; color: var(--text); margin-bottom: 4px; }
.eco-feature p { font-size: 14px; font-weight: 300; color: var(--text-sub); line-height: 1.75; }

/* ========================================
   FOOTER — Whisper quiet
   ======================================== */
.footer {
  border-top: 1px solid var(--rule);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 12px;
}
.footer-col-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-sub);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-contact a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-sub);
  padding: 4px 0;
}
.footer-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
}
.footer-certifications { display: flex; gap: 20px; align-items: center; }
.footer-certifications span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--text);
  text-transform: uppercase;
}

/* ========================================
   CONTACT FORM — Razor thin inputs
   ======================================== */
.contact-form { max-width: 560px; margin: 40px auto 0; }
.form-group { margin-bottom: 32px; }
.form-group label {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font);
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--text);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ========================================
   SURVEY FORMS
   ======================================== */
.survey-form { max-width: 640px; margin: 0 auto; }
.survey-section { margin-bottom: 56px; }
.survey-section-number { font-size: 9px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.survey-question { font-size: 18px; font-weight: 300; letter-spacing: -0.3px; color: var(--text); margin-bottom: 24px; line-height: 1.5; }
.survey-options { display: flex; flex-direction: column; gap: 0; }
.survey-option { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: color 0.3s; }
.survey-option:first-child { border-top: 1px solid var(--rule); }
.survey-option:hover { color: var(--gold); }
.survey-option input[type="radio"],
.survey-option input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border: 1px solid var(--rule); border-radius: 50%; flex-shrink: 0; cursor: pointer; transition: all 0.3s; position: relative; }
.survey-option input[type="checkbox"] { border-radius: 2px; }
.survey-option input[type="radio"]:checked,
.survey-option input[type="checkbox"]:checked { border-color: var(--gold); background: var(--gold); }
.survey-option input[type="radio"]:checked::after { content: ''; position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; background: white; border-radius: 50%; }
.survey-option input[type="checkbox"]:checked::after { content: ''; position: absolute; top: 2px; left: 5px; width: 4px; height: 8px; border: solid white; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.survey-option label { font-size: 14px; font-weight: 300; color: var(--text-secondary); cursor: pointer; flex: 1; }
.survey-divider { width: 40px; height: 1px; background: var(--gold); margin: 56px 0; }
.survey-contact-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--rule); }
.survey-contact-section h3 { font-size: 13px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }
.survey-submit { display: inline-block; padding: 16px 48px; background: var(--text); color: white; font-family: var(--font); font-size: 10px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s; margin-top: 40px; }
.survey-submit:hover { background: var(--gold); }
.survey-thankyou { display: none; text-align: center; padding: 80px 0; }
.survey-thankyou.active { display: block; }
.survey-thankyou h2 { font-size: 36px; font-weight: 200; letter-spacing: -1px; margin-bottom: 16px; }
.survey-thankyou p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.survey-progress { display: flex; gap: 6px; margin-bottom: 48px; }
.survey-progress span { flex: 1; height: 2px; background: var(--rule); border-radius: 1px; transition: background 0.4s; }
.survey-progress span.filled { background: var(--gold); }
.survey-likert { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.survey-likert label { flex: 1; text-align: center; cursor: pointer; }
.survey-likert label span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 8px; line-height: 1.4; }
.survey-likert input[type="radio"] { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border: 1px solid var(--rule); border-radius: 50%; cursor: pointer; transition: all 0.3s; display: block; margin: 0 auto; }
.survey-likert input[type="radio"]:checked { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px white; }
.survey-likert-labels { display: flex; justify-content: space-between; margin-bottom: 4px; }
.survey-likert-labels span { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
.survey-consent { background: var(--bg-alt, #fafafa); border: 1px solid var(--rule); padding: 32px 32px 24px; margin-bottom: 48px; }
.survey-consent p { font-size: 13px; line-height: 1.8; color: var(--text-secondary, #666); margin-bottom: 12px; }
.survey-consent p:last-of-type { margin-bottom: 0; }
.survey-consent a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.survey-consent a:hover { border-bottom-color: var(--gold); }
.survey-consent-check { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.survey-consent-check .survey-option { border: none; padding: 0; }
.survey-consent-check .survey-option span { font-size: 13px; line-height: 1.7; color: var(--text); font-weight: 500; }
.survey-disclaimer { background: transparent; border-top: 1px solid var(--rule); padding: 24px 0; margin-top: 48px; margin-bottom: 24px; }
.survey-disclaimer p { font-size: 12px; line-height: 1.8; color: var(--text-muted); }
.survey-submit:disabled { opacity: 0.35; cursor: not-allowed; }
.survey-section-label { font-size: 9px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  :root { --gap: 100px; }
  h1 { font-size: 48px; letter-spacing: -2px; }
  h2 { font-size: 36px; letter-spacing: -1px; }
  .label { font-size: 14px !important; }
  .split { grid-template-columns: 1fr; min-height: auto; }
  .split-text { padding: 48px 36px; }
  .split-img { padding: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .content-section { padding: 48px 0; }
  .editorial-text p, .text-block p { font-size: 14px !important; }
  /* Collapse nav to MENU toggle on tablets too */
  .nav-links { display: none; }
  .nav-actions { display: flex; }
  .nav-toggle { display: block; }
  .nav-search { display: block; }
  .nav-search-desktop { display: none; }
  .nav-links.active {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    left: auto !important;
    width: 240px;
    height: auto !important;
    background: #faf9f7 !important;
    border: 1px solid var(--rule);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-height: 70vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Clydesdale Smart Features — desktop default */
.smart-features-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  :root { --gap: 100px; }
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-certifications { flex-wrap: wrap; justify-content: center; }
  .back-to-top { bottom: 20px; right: 20px; width: 36px; height: 36px; }
  /* Performance: drop blur on mobile to avoid repaint on every scroll frame */
  .nav { height: 64px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.98); }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-actions { display: flex; }
  .nav-toggle { display: block; }
  .nav-search { display: block; }
  .nav-search-desktop { display: none; }
  .nav-links.active {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    left: auto !important;
    width: 220px;
    height: auto !important;
    background: #faf9f7 !important;
    border: 1px solid var(--rule);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-height: 70vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .nav-links.active::-webkit-scrollbar {
    display: none;
  }
  /* Scroll chevron hint — sticky at bottom of mobile dropdown */
  .nav-links.active .nav-menu-chevrons {
    display: flex !important;
    position: sticky;
    bottom: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 10px;
    background: linear-gradient(to bottom, rgba(250,249,247,0) 0%, #faf9f7 60%);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.3s ease;
    animation: dropdownChevronPulse 2.5s ease-in-out infinite;
  }
  @keyframes dropdownChevronPulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.35; transform: translateY(3px); }
  }
  .nav-links.active .nav-menu-chevrons.flipped i {
    transform: rotate(-135deg);
    margin-top: 0;
    margin-bottom: -2px;
  }
  .nav-menu-chevrons i {
    display: block;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #6dcef5;
    border-bottom: 1.5px solid #6dcef5;
    transform: rotate(45deg);
    margin-top: -2px;
  }
  .nav-menu-chevrons i:nth-child(1) { opacity: 0.35; }
  .nav-menu-chevrons i:nth-child(2) { opacity: 0.65; }
  .nav-menu-chevrons i:nth-child(3) { opacity: 1; }
  .nav-links.active a {
    display: block !important;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 2px;
    padding: 10px 18px !important;
    height: auto !important;
    line-height: 1.2 !important;
    color: var(--text) !important;
    background: #faf9f7 !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-links.active a:last-of-type {
    border-bottom: none;
  }
  .nav-links.active a:hover {
    background: #f3f1ee !important;
  }
  .nav-links a.active {
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
  }
  .nav-links a.nav-cta {
    color: var(--gold) !important;
    border-bottom: 1px solid var(--gold) !important;
    padding-bottom: 4px !important;
    margin-top: 4px;
    display: inline-block;
    width: fit-content;
  }
  /* ── Global mobile typography ── */
  h1 { font-size: 32px !important; letter-spacing: -1px; }
  h2, .section-title { font-size: 28px !important; letter-spacing: -0.5px; }
  h3 { font-size: 16px !important; }
  .label { font-size: 11px !important; letter-spacing: 2px !important; }
  .container { padding: 0 20px !important; }

  /* ── Global mobile layout ── */
  .hero { padding: 80px 20px 48px; min-height: 70vh; }
  .page-hero { padding: 90px 0 40px; }
  .page-hero h1 { font-size: 28px !important; }
  .page-hero p { font-size: 13px !important; }
  .text-block, .editorial-text { padding: 28px 20px 20px; }
  .editorial-text h2 { font-size: 28px !important; }
  .editorial-text p, .text-block p { font-size: 13px !important; line-height: 1.8 !important; }
  .img-center { padding: 24px 20px; }
  .img-pair { grid-template-columns: 1fr; }
  .img-trio { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .gallery-2 { grid-template-columns: 1fr; }

  /* ── Stats ── */
  .stats-row, .specs-row { flex-wrap: wrap; gap: 16px 24px; padding: 24px 20px; }
  .stat-val { font-size: 28px !important; letter-spacing: -0.5px; margin-bottom: 4px; }
  .stat-key { font-size: 8px; letter-spacing: 1.5px; }
  .stat { flex: 0 0 calc(50% - 12px); }

  /* ── Panels & sections ── */
  .icon-row { padding: 28px 20px; gap: 20px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .split-text { padding: 32px 20px; }
  .split-img { padding: 20px; }
  .content-section { padding: 28px 0; }
  .cta-section, .oem-cta-section { padding: 32px 0 !important; }
  .showcase { padding: 28px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .brand-marks { gap: 32px; }
  .brand-marks img { height: 28px; }

  /* ── Sidebar pages (products, rd, markets, etc.) ── */
  .product-sidebar { display: none !important; }
  .product-panels { margin-left: 0 !important; width: 100% !important; }
  .panel-hero h1, .panel-hero h2 { font-size: 28px !important; }
  .panel-hero p { font-size: 13px !important; }
  .panel-hero .label { font-size: 10px !important; }

  /* ── Universal mobile stack — two-column flex/grid layouts ── */
  /* Any fixed-width flex child inside a panel becomes full-width */
  .panel-content [style*="flex: 0 0"] {
    flex: none !important;
    width: 100% !important;
  }
  /* Two-column flex layouts (side-by-side content, not centered carousels) — stack */
  .panel-content .reveal[style*="display: flex"][style*="align-items"]:not([style*="justify-content: center"]),
  .panel-content [style*="display: flex"][style*="align-items: flex-start"]:not([style*="justify-content"]),
  .panel-content [style*="display: flex"][style*="align-items: flex-end"]:not([style*="justify-content"]),
  .panel-content [style*="display: flex"][style*="align-items: center"][style*="gap: 6"]:not([style*="justify-content"]),
  .panel-content [style*="display: flex"][style*="align-items: center"][style*="gap: 7"]:not([style*="justify-content"]) {
    flex-direction: column !important;
    gap: 32px !important;
  }
  /* Negative margins used for desktop overlap — remove on mobile */
  .panel-content [style*="margin-left: -"] {
    margin-left: 0 !important;
  }
  /* Fixed-column grids inside panels — stack to single column */
  .panel-content [style*="grid-template-columns: 1fr 240px"],
  .panel-content [style*="grid-template-columns: 38%"],
  .panel-content [style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Repeat-3 grids (3-col card grids) — stack to single column */
  .panel-content [style*="grid-template-columns: repeat(3"],
  .panel-content [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
  /* Universal panel inner padding: 48px → 24px on mobile */
  .panel-content [style*="padding: 0 48px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .panel-content [style*="padding: 0 44px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Universal panel heading scale: 48px → 32px on mobile */
  .panel-content h2[style*="font-size: 48px"] {
    font-size: 32px !important;
  }
  .panel-content h2[style*="font-size: 44px"] {
    font-size: 30px !important;
  }
  .panel-content h2[style*="font-size: 42px"] {
    font-size: 28px !important;
  }

  /* ── Footer ── */
  .footer { padding: 40px 20px 24px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-certifications { flex-wrap: wrap; justify-content: center; }
  .back-to-top { bottom: 16px; right: 16px; width: 32px; height: 32px; }

  /* ── Continue Exploring footer cards ── */
  .continue-exploring { padding: 32px 20px !important; }
  .continue-exploring-inner { padding: 0 !important; }
  .continue-exploring h3 { font-size: 16px !important; }
  .continue-exploring p { font-size: 12px !important; }
  .continue-exploring-cards {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .continue-exploring-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Scroll hint — visible on mobile */
  .video-hero .scroll-hint { display: none; }

  /* Video hero — show full landscape video on mobile */
  .video-hero { max-height: 60vw !important; margin-top: 20px; }
  .video-hero video { height: auto !important; object-fit: contain !important; object-position: center center !important; }
  .video-hero-overlay { padding: 24px !important; }
  .video-hero-overlay h1 { font-size: 36px !important; letter-spacing: -1px !important; }
  .video-hero-overlay a { font-size: 8px !important; padding: 6px 16px !important; letter-spacing: 1.5px !important; }

  /* Section header — scale down */
  .section-header-lg { margin-bottom: 48px; }
  .section-header-lg h2 { font-size: 32px; }

  /* Collection / Engine lineup */
  .collection-section { padding: 8px 16px 0 !important; }
  .collection-section > a { margin-top: -24px !important; }
  .collection-section > div:first-child { padding: 12px 16px 6px !important; }
  .collection-section .label { font-size: 9px !important; letter-spacing: 1.2px !important; margin-bottom: 4px !important; }
  .collection-section h2 { font-size: 32px !important; }

  /* Scroll chevron — smaller on mobile */
  .page-scroll-chevron { right: 3%; opacity: 0.5; }
  .page-scroll-chevron i { width: 10px; height: 10px; }

  /* Hide gold page chevrons when browse dropdown is open */
  .page-scroll-chevron.browse-hidden { display: none !important; }

  /* Browse dropdown scroll hint — blue directional chevrons */
  .browse-scroll-hint {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    padding: 6px 0 10px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 40%);
  }
  .mobile-open > .browse-scroll-hint { display: flex; }
  .browse-scroll-hint i {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #6DCEF5;
    border-bottom: 1.5px solid #6DCEF5;
    transform: rotate(45deg);
    margin-top: -2px;
  }
  .browse-scroll-hint i:first-child { opacity: 0.4; }
  .browse-scroll-hint i:last-child { opacity: 1; }
  .browse-scroll-hint.flipped i {
    transform: rotate(-135deg);
    margin-top: 0;
    margin-bottom: -2px;
  }
  .browse-scroll-hint.flipped {
    background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 40%);
  }

  /* Ecosystem diagram */
  .ecosystem-text { padding: 40px 24px 16px !important; }
  .ecosystem-img { padding: 0 16px 24px !important; }

  /* Ecosystem section — tighten for mobile */
  #ecosystem > .reveal { padding: 24px 24px 20px !important; }
  #ecosystem .label { font-size: 12px !important; }
  #ecosystem h2 { font-size: 32px !important; }
  #ecosystem > .reveal p:last-child { font-size: 13px !important; }
  #ecosystem .eco-map { margin-bottom: 8px !important; }

  /* Science of Cool — scale + stack */
  .science-flex { flex-direction: column !important; gap: 24px !important; }
  .science-flex > div:first-child { padding-left: 0 !important; }
  .science-flex .mannequin-col img { max-width: 100% !important; margin-left: 0 !important; }
  .science-grid { grid-template-columns: 1fr !important; gap: 24px !important; padding-left: 0 !important; padding-right: 0 !important; }
  /* Vest cards — stack image above text, center everything */
  .science-grid a.science-vest-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    padding: 24px 20px !important;
  }
  .science-grid a.science-vest-card > div:first-child {
    width: 140px !important;
    height: 160px !important;
  }
  .science-grid a.science-vest-card > img {
    width: 100px !important;
    flex-shrink: 0;
  }
  #science { padding: 32px 0 24px !important; }
  #science .section-header-lg { margin-bottom: 24px !important; }
  #science .section-header-lg h2 { font-size: 32px !important; }
  #science .section-header-lg p { font-size: 13px !important; }
  .science-flex .label, #science .label { font-size: 12px !important; }
  .science-grid p { font-size: 12px !important; }

  /* Digital Control — scale + stack + left-align media */
  .intelligence-flex { flex-direction: column !important; gap: 24px !important; }
  .intelligence-flex .intel-image { flex: none !important; width: 100% !important; }
  .intelligence-flex .intel-image img { width: 280px !important; max-width: 80% !important; margin: 0 auto !important; }
  .intelligence-flex .intel-copy p { max-width: 100% !important; }
  #intel { padding: 32px 0 36px !important; }
  #intel .section-header-lg h2 { font-size: 32px !important; }
  #intel .intel-copy .label { font-size: 12px !important; }
  #intel .intel-copy p { font-size: 13px !important; }
  #intel .intel-copy { margin-bottom: 24px !important; }
  .intel-media-row {
    justify-content: flex-start !important;
    align-items: flex-end !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }
  .intel-media-row video { margin-left: 0 !important; }

  /* ── Global catch-all: inline padding: 0 48px containers ── */
  [style*="padding: 0 48px"],
  [style*="padding: 0 48px 40px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* The Platform — scale + stack */
  #technology { padding: 24px 0 16px !important; }
  #technology .label { font-size: 12px !important; }
  #technology h2 { font-size: 32px !important; }
  #technology > .container > .reveal { flex-direction: column !important; gap: 24px !important; }
  #technology > .container > .reveal > div:first-child { flex: none !important; }
  #technology > .container > .reveal > div:first-child img { width: 160px !important; }
  #technology p { font-size: 13px !important; }
  /* Platform cards — stack to single column */
  #technology .reveal-stagger[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #technology .platform-card { padding: 24px 20px !important; }
  #technology .platform-card h4 { font-size: 15px !important; }
  #technology .platform-card p { font-size: 13px !important; }

  /* Clydesdale Smart Features — 2-col compact grid on mobile */
  .smart-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    max-width: 320px !important;
  }
  .smart-features-grid > div {
    padding: 12px 8px !important;
  }
  .smart-features-grid > div svg {
    width: 26px !important;
    height: 26px !important;
    margin-bottom: 6px !important;
  }
  .smart-features-grid > div p {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  /* OEM / LCG Biosystems — scale + stack */
  .oem-flex { flex-direction: column !important; gap: 24px !important; }
  .oem-flex .oem-image { flex: none !important; width: 100% !important; text-align: center !important; }
  .oem-flex .oem-image img { width: 200px !important; position: relative !important; z-index: 0 !important; }
  .oem-flex .oem-image { min-height: 260px !important; position: relative !important; }
  .oem-flex .oem-image .stitch-frame { width: 260px !important; height: 260px !important; }
  .oem-flex .oem-copy p { max-width: 100% !important; }
  .oem-wrapper { padding: 24px 24px 32px !important; }
  .oem-copy .label { font-size: 12px !important; }
  .oem-copy h2 { font-size: 32px !important; }
  .oem-copy p { font-size: 13px !important; }

  /* CTA — tighten */
  .cta-section { padding: 32px 0 !important; }
  .cta-section .label { font-size: 12px !important; }
  .cta-section h2 { font-size: 28px !important; }
  .cta-section p { font-size: 13px !important; }

}

/* ── Competitive tables — sticky first two columns (up to 1024px covers landscape) ── */
@media (max-width: 1024px) {
  .content-section .container:has(.spec-table .col-highlight) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  .spec-table:has(.col-highlight) {
    min-width: 580px !important;
    font-size: 10px !important;
  }
  .spec-table:has(.col-highlight) th,
  .spec-table:has(.col-highlight) td {
    padding: 10px 12px !important;
    white-space: nowrap;
  }
  /* Feature name column — sticky at left:0 */
  .spec-table:has(.col-highlight) th:first-child,
  .spec-table:has(.col-highlight) td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    background: var(--white) !important;
    min-width: 90px;
    will-change: transform;
  }
  /* TempIQ column — sticky at left offset */
  .spec-table:has(.col-highlight) th:nth-child(2),
  .spec-table:has(.col-highlight) td:nth-child(2) {
    position: sticky !important;
    left: 90px !important;
    z-index: 2 !important;
    background: var(--white) !important;
    min-width: 80px;
    will-change: transform;
  }
  /* Subtle gold hairline on sticky edge */
  .spec-table:has(.col-highlight) th:nth-child(2)::after,
  .spec-table:has(.col-highlight) td:nth-child(2)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(138,115,84,0.15);
  }
  /* Alt (cream) section background for sticky cells */
  .content-section.alt .spec-table:has(.col-highlight) th:first-child,
  .content-section.alt .spec-table:has(.col-highlight) td:first-child,
  .content-section.alt .spec-table:has(.col-highlight) th:nth-child(2),
  .content-section.alt .spec-table:has(.col-highlight) td:nth-child(2) {
    background: var(--cream) !important;
  }
  /* Zebra stripe on sticky columns so stripe doesn't vanish under white */
  .spec-table tbody tr:nth-child(odd) td:first-child,
  .spec-table tbody tr:nth-child(odd) td:nth-child(2) {
    background: #fbfbfa !important;
  }
}

/* ========================================
   EXTRACTED UTILITY CLASSES
   Inline styles consolidated for global
   typography and layout control.
   ======================================== */

/* ── Typography ── */

/* Image/product captions: 10px uppercase muted */
.caption-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* Slightly wider-spaced caption (markets product strip) */
.caption-label-wide {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Brand/product name under logo (markets competitor row) */
.brand-caption {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Inline gold link — card CTAs */
.card-link {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 16px;
  display: inline-block;
}

/* Gold arrow-down link (oem path cards) */
.card-link-bold {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Section heading — 48px ultralight */
.heading-section {
  font-size: 48px;
  font-weight: 100;
  letter-spacing: -0.5px;
}

/* Section heading — 42px ultralight (surveys) */
.heading-section-sm {
  font-size: 42px;
  font-weight: 100;
  letter-spacing: -1px;
}

/* Card title — 28px ultralight (oem path cards) */
.heading-card-lg {
  font-size: 28px;
  font-weight: 100;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text);
}

/* Survey card heading */
.heading-card {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 16px;
}

/* Badge — gold uppercase (path labels, consent header) */
.badge-gold {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Badge — survey card category (11px) */
.badge-gold-lg {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Source attribution — 11px uppercase muted */
.source-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Contact section heading — 13px bold uppercase */
.contact-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Meta / time estimate text */
.text-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Body copy — secondary 15px */
.text-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Body copy — secondary 16px */
.text-body-lg {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

/* Body copy — light color 16px (about concepts) */
.text-body-light {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

/* Body copy — muted 14px */
.text-body-muted {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Gold italic tagline */
.text-gold-italic {
  margin-top: 24px;
  color: var(--gold);
  font-weight: 300;
  font-style: italic;
}

/* Fine print — 12px muted */
.text-fine {
  font-size: 12px;
  color: var(--text-muted);
}

/* Survey voluntary notice */
.text-survey-notice {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── Layout ── */

/* Centered text container */
.text-center { text-align: center; }

/* Section header wrapper — centered with bottom margin */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Section header wrapper — larger spacing */
.section-header-lg {
  text-align: center;
  margin-bottom: 80px;
}

/* Concept grid — 5 columns aligned bottom */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: end;
}
.concept-grid.gap-sm { gap: 24px; }

/* 2-column card grid, centered narrow */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.card-grid-2.gap-sm { gap: 32px; }

/* 3-column gallery strip */
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* 4-column product grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* 4-column image grid (field photos) */
.grid-4-flush {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* Centered card — vertical flex with padding */
.showcase-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
  text-align: center;
}

/* Image showcase cell — white bg, centered */
.showcase-cell {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.showcase-cell-lg {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
}

/* Brand logo item — column with gap */
.brand-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Competitor logos row */
.competitor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: center;
  padding: 48px;
  border-bottom: 1px solid var(--rule-light);
}

/* Narrow centered container */
.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* Logo stack — centered column */
.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Centered flex row for buttons */
.flex-center {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Flex image row — centered with gap */
.flex-row-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Table cell styles ── */

/* Gold column header */
.spec-table th.col-highlight { color: var(--gold); }

/* Emphasized data cell */
.spec-table td.cell-emphasis { color: var(--text); font-weight: 400; }

/* Gold italic "Inquire" cell */
.spec-table td.cell-inquire { color: var(--gold); font-weight: 400; font-style: italic; }

/* ── Spacing utilities ── */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mb-80 { margin-bottom: 80px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.deck-copy.centered { margin: 0 auto; }
.deck-copy.centered.mb-64 { margin: 0 auto 64px; }
.deck-copy.centered.mb-80 { margin: 0 auto 80px; }
.deck-copy.centered.mb-40 { margin: 0 auto 40px; }
.deck-copy.centered.mb-24 { margin: 0 auto 24px; }
.deck-copy.centered.mt-16 { margin: 16px auto 0; }
.deck-copy.full-width { max-width: 100%; }
.deck-copy.full-width.mt-20 { max-width: 100%; margin-top: 20px; }
.max-w-500 { max-width: 500px; }
.max-w-560 { max-width: 560px; }
.max-w-600 { max-width: 600px; }
.max-w-640 { max-width: 640px; }
.max-w-680 { max-width: 680px; }
.max-w-800 { max-width: 800px; }

/* Panel hero — white background variant */
.panel-hero.bg-white { background: var(--white); }

/* Panel text with extra bottom padding */
.panel-text.pb-60 { padding-bottom: 60px; }

/* Showcase with white background */
.showcase.bg-white { background: var(--white); }

/* Product card variant — transparent bg */
.product-card.transparent { background: transparent; }

/* Product card variant — compact padding (survey cards) */
.product-card.compact-pad { padding: 40px; }

/* Gold accent link */
.link-gold { color: var(--gold); }

/* Survey-specific: consent option no-border */
.survey-option-flat { border: none; padding: 16px 0 0; }

/* Form group with no bottom margin */
.form-group-flush { margin-bottom: 0; }

/* btn-primary size override for survey cards */
.btn-primary.btn-sm { font-size: 13px; }

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .concept-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-4-flush { grid-template-columns: repeat(2, 1fr); }
  .gallery-3 { grid-template-columns: 1fr; }
  .competitor-row { gap: 24px; padding: 32px 24px; }
  .heading-section { font-size: 36px; }
  .heading-section-sm { font-size: 32px; }
}


/* ═══════════════════════════════════════════════════════════════
   TECHNOLOGY SECTION — merged from technology.html
   ═══════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  background: var(--white);
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-grid-item {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.product-grid-item img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}
.who-what-how {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.feature-block {
  border-top: 1px solid var(--rule-light);
  padding-top: 28px;
}
.feature-block h4 {
  margin-bottom: 10px;
}
.feature-block p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-sub);
  max-width: 420px;
}
/* ── Universe matching table ── */
.universe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.universe-arrow-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.universe-arrow-line {
  flex: 1;
  max-width: 220px;
  display: flex;
  align-items: center;
}
.universe-arrow-line svg {
  width: 100%;
  height: 24px;
}
.universe-grid {
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}
.universe-row {
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.universe-row:first-child {
  border-top: 1px solid var(--rule);
}
.universe-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.universe-img img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
}
.universe-info h4 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}
.universe-products {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.universe-info p:last-child {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 460px;
}
.universe-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.track-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
}
.track-performance {
  background: var(--warm);
  color: var(--gold);
}
.track-recovery {
  background: #eef3f0;
  color: #4a6b5a;
}
/* Intelligence strip */
.universe-intel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 48px;
  text-align: center;
}
.universe-intel-item {
  background: var(--cream);
  padding: 28px 16px;
}
.universe-intel-item h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
}
.universe-intel-item p {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .product-grid-item {
    padding: 24px 16px;
  }
  .universe-row {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .universe-tracks {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  .universe-intel {
    grid-template-columns: repeat(2, 1fr);
  }
  .universe-arrow {
    gap: 12px;
  }
  .universe-arrow-label {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .universe-arrow-line {
    max-width: 120px;
  }
}


/* ========================================
   PRELOADER — branded loading overlay
   ======================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}
/* Mobile: let touch through immediately so scroll isn't blocked while page parses */
@media (max-width: 900px) {
  .preloader { transition: opacity 0.25s ease; pointer-events: none; }
}
.preloader-inner {
  text-align: center;
}
.preloader-logo {
  height: 18px;
  width: auto;
  opacity: 0.6;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}


/* ========================================
   PAGE TRANSITION — fade between pages
   Entrance is handled by the preloader overlay.
   Exit fades out before navigating.
   ======================================== */
body.page-exit {
  opacity: 0;
  transition: opacity 0.25s ease;
}


/* ========================================
   LUXURY ELEVATIONS
   Grain · Parallax · Hover lift · Scrollbar
   ======================================== */

/* Subtle grain texture — tactile, printed-paper feel on white backgrounds */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Parallax hero sections */
.page-hero {
  position: relative;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: -1;
}

/* Image hover lift — gentle scale + shadow */
.img-pair img,
.img-center img,
.img-grid img,
.concept-grid img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.img-pair img:hover,
.img-center img:hover,
.img-grid img:hover,
.concept-grid img:hover {
  transform: scale(1.025);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Custom scrollbar — small dark pill, transparent track */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(40,36,30,0.55);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(40,36,30,0.75);
}
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(40,36,30,0.55) transparent;
}

/* Lenis smooth scroll overrides */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
/* Lenis touch: prevent rubber-band fighting with native iOS overscroll */
.lenis.lenis-smooth {
  -webkit-overflow-scrolling: auto;
}

/* Stat counter animation */
.stat-val {
  transition: opacity 0.4s ease;
}

/* Disable hover lift on touch devices */
@media (hover: none) {
  .img-pair img:hover,
  .img-center img:hover,
  .img-grid img:hover,
  .concept-grid img:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Reduced motion: disable grain, parallax, hover lift */
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
  .parallax-bg { position: static; }
  .img-pair img, .img-center img, .img-grid img, .concept-grid img {
    transition: none !important;
  }
}


/* ========================================
   PRINT STYLESHEET
   Clean, ink-friendly output
   ======================================== */
@media print {
  /* Reset backgrounds and shadows */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body { font-size: 11pt; line-height: 1.6; }

  /* Hide non-print elements */
  .nav, .nav-search-overlay, .back-to-top, .page-scroll-chevron,
  .nav-toggle, .nav-actions, .cta-section, .cta-buttons,
  .video-hero, .preloader, .sidebar-toggle, .intel-browse-mobile,
  .home-sidebar, .grain-overlay { display: none !important; }
  body::after { display: none !important; }

  /* Kill all fixed/sticky positioning — causes overlap on print */
  *, *::before, *::after {
    position: static !important;
    float: none !important;
  }
  body, html { overflow: visible !important; }

  /* Restore needed positioning for layout */
  .container, .panel-section, .content-section, .product-panel,
  .product-panels, .product-showcase, .intel-content, .intel-page-section {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    overflow: visible !important;
  }

  /* Hide sidebars */
  .product-sidebar, .intel-sidebar { display: none !important; }

  /* Reset reveal animations — show everything */
  .reveal, .reveal-stagger, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Page breaks */
  h1, h2, h3, h4 { page-break-after: avoid; }
  img, table, figure { page-break-inside: avoid; }
  p { orphans: 3; widows: 3; }

  /* Gate overlay — block printing unless unlocked */
  .gate-overlay { display: flex !important; position: static !important; page-break-after: always; }
  .gate-overlay.hidden { display: none !important; }

  /* Images: constrain and display */
  img {
    max-width: 100% !important;
    opacity: 1 !important;
    height: auto !important;
  }

  /* Links: show URL */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    font-weight: 300;
    color: #666 !important;
  }
  .nav-links a::after, .footer-col a::after, .btn::after { content: none !important; }

  /* Layout resets */
  .container { max-width: 100%; padding: 0 20px; }
  .page-hero { padding: 40px 20px; min-height: auto; }
  .content-section, .content-section.alt { padding: 32px 0; }

  /* Footer: simplify */
  .footer { border-top: 1px solid #ccc; padding: 24px 0; }
  .footer-grid { display: none; }
  .footer-bottom { display: block; text-align: center; }
}
