/* ============================================
   LOTUS THEME — COMPONENT STYLES
   All section component styles
   ============================================ */


/* ========== ICON SYSTEM (Tabler inline SVG) ========== */

.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

/* Bento tile icons — saffron accent by default, lighter on dark/accent tiles */
.bento__tile-icon .icon {
  color: var(--color-saffron);
}
.bento__tile--dark .bento__tile-icon .icon,
.bento__tile--accent .bento__tile-icon .icon {
  color: var(--color-saffron-light);
}

/* Decorative quote marks — muted saffron flourish */
.icon.proof__qmark {
  color: var(--color-saffron);
  opacity: 0.2;
}


/* ========== HERO PRIMARY ========== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,13,24,0.8) 0%, rgba(10,25,47,0.7) 30%, rgba(15,32,53,0.65) 60%, rgba(22,42,74,0.6) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease-in-out infinite;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}


.hero__accent-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(224, 138, 44, 0.3) 30%, rgba(224, 138, 44, 0.3) 70%, transparent);
  left: calc(50% - 640px);
}

/* Grain texture — filmic premium overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  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;
  z-index: 2;
  mix-blend-mode: overlay;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(224, 138, 44, 0.06) 0%, transparent 70%);
  animation: floatSlow 20s ease-in-out infinite;
}

.hero__shape--2 {
  width: 250px;
  height: 250px;
  bottom: 25%;
  left: 10%;
  background: radial-gradient(circle, rgba(43, 94, 167, 0.08) 0%, transparent 70%);
  animation: floatSlow 15s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(224, 138, 44, 0.04) 0%, transparent 70%);
  animation: float 12s ease-in-out infinite;
}

/* Layout: left text, right stats/visual */
.hero__content {
  position: relative;
  z-index: 1;
  padding-inline: var(--gutter);
  max-width: var(--container-wide);
  margin-inline: auto;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
  padding-block: var(--space-12);
}

.hero__text {
  max-width: 600px;
}

.hero__label {
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: var(--text-7xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-on-dark);
  opacity: 0.7;
  line-height: var(--leading-relaxed);
  max-width: 480px;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero stats (right side) — bottom-aligned so they sit grounded next to the
   text block instead of floating mid-column. align-self overrides the grid's
   align-items: center for this cell only; text stays vertically centered. */
.hero__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-self: end;
}

.hero__stats-stack {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-saffron);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stat-suffix {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-saffron);
}

.hero__stat-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-on-dark);
  opacity: 0.5;
  margin-top: var(--space-1);
}

.hero__stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero visual (facility image) */
.hero__visual {
  position: relative;
}

.hero__visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__visual-badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(12, 24, 41, 0.85);
  backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__visual-badge-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
}

.hero__visual-badge-sub {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-on-dark);
  opacity: 0.6;
}

/* Hero trust bar (bottom of hero) */
.hero__trust {
  position: relative;
  z-index: 1;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), #FFFFFF);
  padding-block: var(--space-6);
}

.hero__trust-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-inline: var(--gutter);
  max-width: var(--container-wide);
  margin-inline: auto;
}

.hero__trust-label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.hero__trust-logos {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.hero__trust-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.hero__trust-logos:hover .hero__trust-track {
  animation-play-state: paused;
}

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

.hero__trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 36px;
  padding-inline: var(--space-3);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  transition: opacity var(--duration-base);
  opacity: 0.95;
  flex-shrink: 0;
}

.hero__trust-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Logos render in their official brand colors (no filter) */
}

.hero__trust-logo:hover {
  opacity: 1;
}

.hero__trust-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__title {
    font-size: var(--text-6xl);
  }

  .hero__accent-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__stats-stack {
    gap: var(--space-6);
  }

  .hero__stat-number {
    font-size: var(--text-4xl);
  }

  .hero__trust-inner {
    flex-wrap: wrap;
  }

  .hero__trust-note {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__trust-logo {
    width: 84px;
    height: 28px;
  }
}


/* ========== STATS COUNTER ========== */

.stats {
  padding-block: var(--space-16);
}

.stats__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
  text-align: center;
}

.stats__item {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 280px;
  position: relative;
  padding: var(--space-6) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.stats__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.stats__number {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--color-saffron);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.stats__prefix,
.stats__suffix {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-saffron);
}

.stats__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-on-dark);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.stats__accent-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--color-saffron);
  opacity: 0.3;
  border-radius: 1px;
}

/* Stats on light background — dark cards */
.stats:not(.section--navy) .stats__item {
  background: var(--color-navy);
  border-color: rgba(255, 255, 255, 0.08);
}

.stats:not(.section--navy) .stats__item:hover {
  background: var(--color-navy-light, #1a2744);
}

@media (max-width: 768px) {
  .stats__grid {
    gap: var(--space-4);
  }

  .stats__item {
    min-width: calc(50% - var(--space-4));
  }

  .stats__number {
    font-size: var(--text-5xl);
  }
}


/* ========== BENTO CAPABILITIES ========== */

.bento {
  padding-block: var(--section-padding);
}

.bento .section__header {
  margin-bottom: var(--space-12);
}

.bento .section__header h2 {
  font-size: var(--text-5xl);
  max-width: 600px;
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  grid-auto-rows: minmax(200px, auto);
}

.bento__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.bento__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Tile sizes */
.bento__tile--lg {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 420px;
  color: var(--color-white);
  border-color: transparent;
}

.bento__tile--md {
  grid-column: span 5;
  min-height: 240px;
}

.bento__tile--full {
  grid-column: span 12;
  min-height: 160px;
}

.bento__tile--sm {
  grid-column: span 4;
  min-height: 200px;
}

/* Dark tile (with background image) */
.bento__tile--dark {
  background: var(--color-navy);
}

.bento__tile--dark .bento__tile-bg {
  position: absolute;
  inset: 0;
}

.bento__tile--dark .bento__tile-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity var(--duration-slow), transform 0.6s var(--ease-out);
}

.bento__tile--dark:hover .bento__tile-bg img {
  opacity: 0.55;
  transform: scale(1.05);
}

.bento__tile--dark .bento__tile-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 24, 41, 0.95) 0%, rgba(12, 24, 41, 0.3) 60%);
}

/* Accent tile */
.bento__tile--accent {
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-color: transparent;
  color: var(--color-white);
}

.bento__tile--accent .bento__tile-desc {
  color: var(--color-text-on-dark);
  opacity: 0.8;
}

/* Tile content */
.bento__tile-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento__tile--lg .bento__tile-content {
  justify-content: flex-end;
}

.bento__tile-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-saffron-light);
  margin-bottom: var(--space-2);
}

.bento__tile-badge {
  display: inline-block;
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  background: var(--color-saffron);
  color: var(--color-white);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.bento__tile-icon {
  margin-bottom: var(--space-4);
}

.bento__tile-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.bento__tile--lg .bento__tile-title {
  font-size: var(--text-3xl);
}

.bento__tile--dark .bento__tile-title,
.bento__tile--accent .bento__tile-title {
  color: var(--color-white);
}

.bento__tile-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Large tile: keep body copy from extending past where the larger title wraps. */
.bento__tile--lg .bento__tile-desc {
  max-width: 36ch;
}

.bento__tile--dark .bento__tile-desc,
.bento__tile--accent .bento__tile-desc {
  color: var(--color-white);
}

.bento__tile-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-saffron);
  margin-top: auto;
  transition: gap var(--duration-base);
}

.bento__tile:hover .bento__tile-link {
  gap: var(--space-3);
}

.bento__tile--dark .bento__tile-link,
.bento__tile--accent .bento__tile-link {
  color: var(--color-saffron-light);
}

/* Accent stripe on hover */
.bento__tile-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-saffron-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.bento__tile:hover .bento__tile-accent {
  transform: scaleX(1);
}

/* Post-sale tile: stat cluster */
.bento__tile-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  height: 100%;
}

.bento__tile-stat-cluster {
  display: flex;
  gap: var(--space-6);
}

.bento__tile-stat {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
}

.bento__tile-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-saffron);
  line-height: 1;
}

.bento__tile-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Bento responsive */
@media (max-width: 1024px) {
  .bento__tile--lg { grid-column: span 12; grid-row: span 1; }
  .bento__tile--md { grid-column: span 6; }
  .bento__tile--full { grid-column: span 12; }
  .bento__tile--sm { grid-column: span 6; }

  .bento__tile-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Stack stats into 3 equal columns once we drop below the desktop side-by-side layout. */
  .bento__tile-stat-cluster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    width: 100%;
  }

  .bento__tile-stat {
    padding: var(--space-3) var(--space-2);
  }
}

@media (max-width: 640px) {
  .bento__tile--lg,
  .bento__tile--md,
  .bento__tile--full,
  .bento__tile--sm {
    grid-column: span 12;
  }

  .bento__tile-stat-cluster {
    gap: var(--space-2);
  }

  .bento__tile-stat-num {
    font-size: var(--text-xl);
  }
}


/* ========== NARRATIVE BLOCK ========== */

.narrative {
  padding-block: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.narrative__inner {
  position: relative;
}

.narrative__inner::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 138, 44, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.narrative__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: start;
}

.narrative__lead .label {
  margin-bottom: var(--space-6);
}

.narrative__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.narrative__quote p {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
}

.narrative__footnote {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark);
  opacity: 0.6;
  line-height: var(--leading-relaxed);
  margin-top: var(--space-6);
}

.narrative__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-4);
}

.narrative__point {
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.narrative__point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.narrative__point-number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-saffron);
  flex-shrink: 0;
  padding-top: var(--space-1);
}

.narrative__point h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.narrative__point p {
  font-size: var(--text-base);
  color: var(--color-text-on-dark);
  opacity: 0.7;
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .narrative__layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .narrative__quote p {
    font-size: var(--text-3xl);
  }
}


/* ========== SOCIAL PROOF (consolidated) ========== */

.proof {
  padding-block: var(--section-padding);
}

/* Two-column testimonials */
.proof__testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.proof__quote-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin: 0;
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.proof__quote-card:hover {
  box-shadow: var(--shadow-md);
}

.proof__qmark {
  margin-bottom: var(--space-4);
}

.proof__quote-card p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-800);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.proof__quote-card footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  min-width: 0;
}

.proof__quote-attribution {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 0;
}

.proof__quote-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-gray-900);
}

.proof__quote-card footer span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  /* Allow wrapping on narrow screens — long titles like
     "Director of Service & Ecommerce Operations, ESI Enterprises"
     were clipping off the right edge of the card on mobile. */
  overflow-wrap: anywhere;
  min-width: 0;
}

.proof__quote-card footer span::before {
  content: '\2014\00a0';
}

@media (max-width: 768px) {
  .proof__testimonials {
    grid-template-columns: 1fr;
  }

  /* Stack attribution into a column on mobile: name on its own line,
     role below. Avoids any chance of clipping long role strings. */
  .proof__quote-attribution {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }

  .proof__quote-card footer span::before {
    /* Em-dash reads awkwardly when the role is on its own line. */
    content: '';
  }
}

.proof__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8);
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  flex-wrap: wrap;
}

.proof__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.proof__quote-logo {
  height: 16px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  margin-bottom: var(--space-1);
  filter: grayscale(1);
  opacity: 0.4;
}

.proof__item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.proof__item-icon:has(img) {
  background: transparent;
}

.proof__item-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  /* Tint to match --color-blue briefcase icon */
  filter: grayscale(1) brightness(0.25) sepia(1) hue-rotate(180deg) saturate(5);
  opacity: 0.85;
}

.proof__item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gray-900);
}

.proof__item span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.proof__divider {
  width: 1px;
  height: 40px;
  background: var(--color-gray-200);
}

@media (max-width: 768px) {
  .proof__row {
    gap: var(--space-6);
  }

  .proof__divider {
    display: none;
  }

  .proof__item {
    min-width: 45%;
  }
}


/* ========== CARD GRID ========== */

.card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px) rotateY(1deg) rotateX(0.5deg);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__hover-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-saffron-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.card:hover .card__hover-accent {
  transform: scaleX(1);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.1), rgba(224, 138, 44, 0.05));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  color: var(--color-saffron);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s var(--ease-out);
}

.card:hover .card__icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.18), rgba(224, 138, 44, 0.08));
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-gray-900);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-saffron);
  transition: color var(--duration-fast);
}

.card__link:hover {
  color: var(--color-saffron-dark);
}

/* Dark section cards */
.section--dark .card,
.section--navy .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.section--dark .card:hover,
.section--navy .card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--dark .card__title,
.section--navy .card__title {
  color: var(--color-white);
}

.section--dark .card__desc,
.section--navy .card__desc {
  color: var(--color-text-on-dark);
  opacity: 0.7;
}


/* ========== PROCESS FLOW ========== */

.process-flow__track {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.process-flow__line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gray-200);
}

.process-flow__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--color-saffron), var(--color-blue-light));
  transition: height 0.1s linear;
}

.process-flow__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.process-flow__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
}

.process-flow__step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
  transition: all var(--duration-base) var(--ease-out);
}

.process-flow__step.is-active .process-flow__step-marker {
  border-color: var(--color-saffron);
  background: var(--color-saffron);
}

.process-flow__step-number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gray-300);
  transition: color var(--duration-base) var(--ease-out);
}

.process-flow__step.is-active .process-flow__step-number {
  color: var(--color-white);
}

.process-flow__step-content {
  padding-top: var(--space-3);
}

.process-flow__step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.process-flow__step-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 500px;
}

@media (max-width: 640px) {
  .process-flow__step-marker {
    width: 44px;
    height: 44px;
  }

  .process-flow__line {
    left: 22px;
  }
}


/* ========== ORBITAL LIFECYCLE ========== */

.orbital {
  /* Top padding clears fixed header when ScrollTrigger pins the section */
  padding-top: calc(var(--header-height-scrolled) + var(--space-12));
  padding-bottom: var(--space-8);
  /* Must override .section overflow:hidden — it breaks ScrollTrigger pinning */
  overflow: visible;
}

/* ScrollTrigger wraps pinned sections in a .pin-spacer div.
   It must inherit the section background so the scroll gap isn't white. */
.pin-spacer:has(> .orbital) {
  background-color: var(--color-navy);
}

.orbital .section__header {
  margin-bottom: var(--space-8);
}

.orbital .section__header h2 {
  font-size: var(--text-4xl);
}

.orbital .section__header p {
  font-size: var(--text-base);
}

.orbital__wrapper {
  position: relative;
  width: 100%;
  max-width: min(520px, calc(100vh - 300px));
  margin: 0 auto;
  aspect-ratio: 1;
}

/* SVG ring */
.orbital__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbital__arc {
  /* No CSS transition — GSAP scrub drives stroke-dashoffset
     directly; adding a CSS transition causes jitter under scroll. */
}

/* Center element */
.orbital__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-full);
  background: var(--color-navy-light);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s var(--ease-out);
  z-index: 2;
}

.orbital__center-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--space-4);
}

.orbital__center-label {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
}

.orbital__center-sub {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-saffron);
  font-weight: 600;
  margin-top: var(--space-1);
}

/* Center crossfade transitions */
.orbital__center-default,
.orbital__center-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.orbital__center-default[hidden],
.orbital__center-detail[hidden] {
  display: flex !important;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;
  inset: 0;
}

/* Detail state (when a node is hovered/active) */
.orbital__center-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--space-3);
}

.orbital__center-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  color: var(--color-saffron);
  line-height: 0;
}

.orbital__center-icon svg {
  width: 32px;
  height: 32px;
}

.orbital__center-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-saffron);
  margin-bottom: var(--space-1);
}

.orbital__center-title {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
}

.orbital__center-desc {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Active center state — expands with glow */
.orbital__center--detail {
  background: var(--color-navy);
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 6px rgba(224, 138, 44, 0.12), 0 0 40px rgba(224, 138, 44, 0.08);
  width: 240px;
  height: 240px;
}

/* Nodes — icon-first, 64px */
.orbital__node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 64px;
  height: 64px;
  transition: transform var(--duration-base) var(--ease-out);
}

.orbital__node:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.orbital__node-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-navy-light);
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.orbital__node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--duration-base);
  line-height: 0;
}

.orbital__node-icon svg {
  width: 24px;
  height: 24px;
}

.orbital__node--active .orbital__node-icon,
.orbital__node--lit .orbital__node-icon {
  color: var(--color-white);
}

.orbital__node--active .orbital__node-ring,
.orbital__node--lit .orbital__node-ring {
  border-color: var(--color-saffron);
  background: var(--color-saffron);
  box-shadow: 0 0 20px rgba(224, 138, 44, 0.5), 0 0 0 6px rgba(224, 138, 44, 0.12), var(--shadow-md);
  animation: nodeGlow 2s ease-in-out infinite;
}

@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(224, 138, 44, 0.5), 0 0 0 6px rgba(224, 138, 44, 0.12), var(--shadow-md); }
  50%      { box-shadow: 0 0 32px rgba(224, 138, 44, 0.7), 0 0 0 10px rgba(224, 138, 44, 0.18), var(--shadow-md); }
}

.orbital__node-title {
  position: absolute;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  transition: color var(--duration-base);
  pointer-events: none;
}

.orbital__node--active .orbital__node-title,
.orbital__node--lit .orbital__node-title {
  color: var(--color-white);
}

/* Label positioning based on data-pos */
.orbital__node[data-pos="bottom"] .orbital__node-title {
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.orbital__node[data-pos="right"] .orbital__node-title {
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.orbital__node[data-pos="left"] .orbital__node-title {
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

/* Mobile list fallback — with icons */
.orbital__mobile-list {
  display: none;
}

.orbital__mobile-step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-start;
}

.orbital__mobile-step:last-child {
  border-bottom: none;
}

.orbital__mobile-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(224, 138, 44, 0.12);
  color: var(--color-saffron);
}

.orbital__mobile-icon svg {
  width: 22px;
  height: 22px;
}

.orbital__mobile-step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-white);
}

.orbital__mobile-step p {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .orbital__wrapper {
    display: none;
  }

  .orbital__mobile-list {
    display: block;
  }
}


/* ========== CONTENT SPLIT ========== */

.content-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.content-split--reversed .content-split__grid {
  direction: rtl;
}

.content-split--reversed .content-split__grid > * {
  direction: ltr;
}

.content-split__image {
  position: relative;
}

.content-split__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.content-split__video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.content-split__video-wrapper iframe,
.content-split__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--color-gray-900);
}

/* ─── Video overlay (poster/title screen for self-hosted videos) ───────
   Sits on top of the <video> element until first play, then fades out
   so native controls take over. Uses a dark gradient + saffron play
   button for the title-screen feel. */
.content-split__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: clamp(20px, 4%, 36px);
  background:
    linear-gradient(180deg, rgba(12, 24, 41, 0.0) 0%, rgba(12, 24, 41, 0.55) 100%),
    linear-gradient(135deg, rgba(12, 24, 41, 0.55) 0%, rgba(12, 24, 41, 0.15) 60%);
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: opacity var(--duration-base) var(--ease-out);
  appearance: none;
}

.content-split__video-overlay:focus-visible {
  outline: 3px solid var(--color-saffron);
  outline-offset: -3px;
}

.content-split__video-overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.content-split__video-overlay-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 80%;
}

.content-split__video-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-saffron);
}

.content-split__video-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.content-split__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-saffron);
  color: var(--color-white);
  box-shadow: 0 12px 32px rgba(224, 138, 44, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.12);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.content-split__video-play svg {
  margin-left: 4px; /* optical centering — play triangle leans right */
}

.content-split__video-overlay:hover .content-split__video-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 36px rgba(224, 138, 44, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.16);
}

.content-split__video-duration {
  align-self: flex-end;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-sm);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
}

@media (max-width: 600px) {
  .content-split__video-play {
    width: 56px;
    height: 56px;
  }
  .content-split__video-play svg {
    width: 22px;
    height: 22px;
  }
}

.content-split__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.content-split__badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 1;
}

.content-split__badge-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
}

.content-split__badge-sub {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-on-dark);
  opacity: 0.7;
}

.content-split__image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 40%;
  height: 40%;
  border: 2px solid var(--color-saffron);
  border-radius: var(--radius-xl);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

.content-split__content .label {
  margin-bottom: var(--space-4);
}

.content-split__content h2 {
  margin-bottom: var(--space-6);
}

.content-split__body {
  margin-bottom: var(--space-5);
}

/* Body copy intentionally sized at text-base + leading-normal so multi-paragraph
   sections (industry Speed/Market, manufacturing diff/quality/IT/SC, etc.) read
   tighter and don't dwarf the side-by-side landscape image. SEO-neutral — same
   words, less vertical pixels. Bump back up via a modifier if a one-paragraph
   section ever needs marketing-prose treatment. */
.content-split__body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.content-split__body p:last-child {
  margin-bottom: 0;
}

/* In-text links — match the .single-post__content convention so body links
   read as links (blue + underline, saffron on hover). */
.content-split__body a {
  color: var(--color-blue-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}

.content-split__body a:hover {
  color: var(--color-saffron);
}

.content-split__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.content-split__bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
}

.content-split__bullets li svg {
  margin-top: 0.25em;
}

.content-split__bullets li svg {
  flex-shrink: 0;
  color: var(--color-saffron);
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  .content-split__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .content-split--reversed .content-split__grid {
    direction: ltr;
  }
}


/* ========== CTA BAND ========== */

.cta-band.section--sm {
  padding-block: 0;
}

.cta-band__inner {
  background: linear-gradient(135deg, var(--color-saffron) 0%, #c87a20 100%);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.cta-band__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.cta-band__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.cta-band .btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.cta-band .btn--primary:hover {
  background: var(--color-navy-light);
}

.cta-band__divider {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.cta-band__phone {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  transition: opacity var(--duration-fast);
}

.cta-band__phone:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .cta-band__content {
    flex-direction: column;
    text-align: center;
  }

  .cta-band__actions {
    flex-direction: column;
  }
}


/* ========== BLOG CARD ========== */

.blog-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--duration-base) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card__link {
  display: block;
}

.blog-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: var(--space-6);
}

.blog-card__date {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  display: block;
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-gray-900);
  line-height: var(--leading-snug);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.blog-card__read-more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-saffron);
}


/* ========== FAQ ACCORDION ========== */

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-gray-900);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--space-4);
}

.faq__question:hover {
  color: var(--color-saffron);
}

.faq__icon {
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}

.faq__answer.is-open {
  opacity: 1;
}

.faq__answer p {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}


/* ========== FORM SECTION ========== */

.form-placeholder {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.form-placeholder__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-gray-50);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-8);
}

.form-row {
  margin-bottom: var(--space-5);
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: var(--space-2);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-blue-light);
  box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Lotus custom form --- */
.lotus-form .form-row {
  margin-bottom: 16px;
}

.lotus-form .form-field {
  position: relative;
}

.lotus-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 5px;
  line-height: 1;
}

.lotus-form label .req {
  color: var(--color-saffron);
}

.lotus-form input[type="text"],
.lotus-form input[type="email"],
.lotus-form input[type="tel"],
.lotus-form input[type="url"],
.lotus-form input[type="number"],
.lotus-form select,
.lotus-form textarea {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: var(--text-base);
  font-family: inherit;
  line-height: 1.5;
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-sizing: border-box;
  transition: border-color 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
}

.lotus-form input::placeholder,
.lotus-form textarea::placeholder {
  color: var(--color-gray-400);
}

.lotus-form input:focus,
.lotus-form select:focus,
.lotus-form textarea:focus {
  outline: none;
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(224, 138, 44, 0.1);
}

.lotus-form textarea {
  resize: vertical;
  min-height: 120px;
}

.lotus-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Focus underline accent */
.lotus-form .form-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--color-saffron);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s var(--ease-out);
  border-radius: 1px;
}

.lotus-form .form-field:focus-within::after {
  transform: translateX(-50%) scaleX(1);
}

/* Validation */
.lotus-form .form-field--error input,
.lotus-form .form-field--error select,
.lotus-form .form-field--error textarea {
  border-color: #dc2626;
}

.lotus-form .form-field__error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  line-height: 1.3;
}

/* Opt-in checkbox row (subscribe to newsletter from contact / careers forms) */
.lotus-form .form-field--checkbox {
  margin-bottom: var(--space-3);
}

.lotus-form .form-field--checkbox::after {
  display: none; /* opt out of the floating-label underline used by text fields */
}

.lotus-form .form-field--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  cursor: pointer;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.lotus-form .form-field--checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-saffron);
}

/* Footer */
.lotus-form__legal {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  margin-bottom: 16px;
  line-height: var(--leading-relaxed);
}

.lotus-form__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.lotus-form__status {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.lotus-form__status--error {
  color: #dc2626;
}

.lotus-form__status--success {
  color: #16a34a;
}

/* Submitting state */
.lotus-form.is-submitting button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}

.lotus-form.is-submitting button[type="submit"] .btn-arrow {
  animation: pulse 1s ease-in-out infinite;
}

/* Inline success card (shown when form submits without redirect) */
.lotus-form__success {
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e6e6e6);
  border-radius: var(--radius-xl);
  text-align: center;
}

.lotus-form__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(224, 138, 44, 0.12);
  color: var(--color-saffron);
  margin: 0 auto var(--space-4);
}

.lotus-form__success-icon .icon {
  stroke: currentColor;
}

.lotus-form__success h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xl);
}

.lotus-form__success p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 44ch;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr;
  }
}


/* ========== CERTIFICATION BADGES (card variant) ========== */

.cert-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.cert-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 63, 110, 0.1), rgba(30, 63, 110, 0.05));
  border-radius: var(--radius-full);
  color: var(--color-blue);
}

.cert-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.cert-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}


/* ========== SINGLE POST ========== */

.single-post__header {
  margin-bottom: var(--space-8);
}

.single-post__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.single-post__date,
.single-post__category,
.single-post__read-time {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.single-post__sep {
  color: var(--color-gray-300);
}

.single-post__category {
  color: var(--color-saffron);
  font-weight: 500;
}

.single-post__title {
  font-size: var(--text-5xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.single-post__excerpt {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.single-post__hero {
  margin-bottom: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.single-post__hero img {
  width: 100%;
  height: auto;
}

/* Post content — WordPress output styling */
.single-post__content {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-800);
}

.single-post__content p {
  margin-bottom: var(--space-6);
}

.single-post__content h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.single-post__content h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}

.single-post__content h4 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.single-post__content ul,
.single-post__content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.single-post__content ul { list-style: disc; }
.single-post__content ol { list-style: decimal; }

.single-post__content li {
  margin-bottom: var(--space-2);
}

.single-post__content blockquote {
  border-left: 3px solid var(--color-saffron);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--color-gray-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-gray-600);
}

.single-post__content img {
  border-radius: var(--radius-lg);
  margin-block: var(--space-6);
}

.single-post__content a {
  color: var(--color-blue-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}

.single-post__content a:hover {
  color: var(--color-saffron);
}

.single-post__content pre {
  background: var(--color-gray-900);
  color: var(--color-gray-100);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-block: var(--space-6);
  font-size: var(--text-sm);
}

.single-post__content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  background: var(--color-gray-50);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
}

.single-post__content pre code {
  background: none;
  padding: 0;
}

/* Post footer */
.single-post__footer {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.single-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.single-post__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
}

.single-post__tag:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

/* Related posts */
.single-post__related-section {
  background: var(--color-gray-50);
}

.single-post__related-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-8);
}



/* ========== BLOG ARCHIVE ========== */

/* Featured post (first post on blog index) */
.blog-featured {
  margin-bottom: var(--space-12);
}

.blog-featured__link {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

.blog-featured__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-featured__image {
  height: 100%;
  overflow: hidden;
}

.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-featured__link:hover .blog-featured__image img {
  transform: scale(1.03);
}

.blog-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-10);
}

.blog-featured__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: var(--leading-snug);
  margin: var(--space-3) 0 var(--space-4);
}

.blog-featured__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .blog-featured__link {
    grid-template-columns: 1fr;
  }

  .blog-featured__content {
    padding: var(--space-6);
  }

  .blog-featured__title {
    font-size: var(--text-2xl);
  }
}

/* Empty state */
.blog-archive__empty {
  text-align: center;
  padding: var(--space-20) 0;
}

.blog-archive__empty-content {
  max-width: 480px;
  margin-inline: auto;
}

.blog-archive__empty h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.blog-archive__empty p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.blog-archive__pagination {
  margin-top: var(--space-12);
  text-align: center;
}

.blog-archive__pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.blog-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.blog-archive__pagination .page-numbers:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

.blog-archive__pagination .page-numbers.current {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
  color: var(--color-white);
}

.blog-archive__empty {
  text-align: center;
  padding: var(--space-16) 0;
  color: var(--color-text-muted);
}

/* ========== DEFAULT PAGE ========== */

.default-page__header {
  margin-bottom: var(--space-8);
}

.default-page__header h1 {
  font-size: var(--text-5xl);
}

.default-page__content {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.default-page__content p {
  margin-bottom: var(--space-6);
}

.default-page__content h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.default-page__content h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}

.default-page__content ul,
.default-page__content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.default-page__content ul { list-style: disc; }
.default-page__content ol { list-style: decimal; }

.default-page__content li {
  margin-bottom: var(--space-2);
}

.default-page__content a {
  color: var(--color-blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.default-page__content img {
  border-radius: var(--radius-lg);
  margin-block: var(--space-6);
}


/* ========== ABOUT PAGE ========== */

/* Compact hero */
/* --- Video Hero --- */
.video-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-20);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.video-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 25, 47, 0.85) 0%,
    rgba(10, 25, 47, 0.7) 40%,
    rgba(10, 25, 47, 0.4) 100%
  );
}

.video-hero .container {
  position: relative;
  z-index: 1;
}

.video-hero__inner {
  max-width: 700px;
}

.video-hero h1 {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.video-hero p {
  font-size: var(--text-xl);
  color: var(--color-text-on-dark);
  opacity: 0.85;
  line-height: var(--leading-relaxed);
  max-width: 560px;
}

.video-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

@media (max-width: 768px) {
  .video-hero {
    min-height: 60vh;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

  .video-hero h1 {
    font-size: var(--text-4xl);
  }

  .video-hero__overlay {
    background: rgba(10, 25, 47, 0.75);
  }
}

/* --- About Hero --- */
.about-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-20);
}

/* Subtle 80px grid overlay — matches the homepage hero pattern.
   Drawn behind .container (which has z-index: 1) so content sits cleanly above. */
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.about-hero > .container {
  position: relative;
  z-index: 1;
}

.about-hero__inner {
  max-width: 700px;
}

.about-hero h1 {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.about-hero p {
  font-size: var(--text-xl);
  color: var(--color-text-on-dark);
  opacity: 0.7;
  line-height: var(--leading-relaxed);
  max-width: 560px;
}

.about-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.about-hero__stats {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: flex-start;
  max-width: 600px;
}

/* ─── Hero layout — single column by default, two-column when product
       marquee fields are populated (currently CE only, generalizable). */
.about-hero__layout {
  display: block;
}

.about-hero--with-products .about-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.about-hero--with-products .about-hero__inner {
  max-width: none;
}

.about-hero--with-products .about-hero p {
  max-width: none;
}

.about-hero--with-products .about-hero__stats {
  max-width: none;
}

@media (max-width: 960px) {
  .about-hero--with-products .about-hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}


/* ========== HERO PRODUCT MARQUEE (industry hero — 2-column infinite scroll) ========== */

.hero-products-marquee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  height: 520px;
  position: relative;
  overflow: hidden;
  /* Fade top/bottom edges so cards don't cut off harshly. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-products-marquee__col {
  overflow: hidden;
}

.hero-products-marquee__track {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation-name: hero-products-marquee-up;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* Different speeds per column produce the parallax / mosaic feel.
   Pause both on hover so users can scan. */
.hero-products-marquee__col--1 .hero-products-marquee__track {
  animation-duration: 44s;
}
.hero-products-marquee__col--2 .hero-products-marquee__track {
  animation-duration: 36s;
}
.hero-products-marquee:hover .hero-products-marquee__track {
  animation-play-state: paused;
}

@keyframes hero-products-marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-products-marquee__track {
    animation: none;
  }
  .hero-products-marquee {
    -webkit-mask-image: none;
            mask-image: none;
    height: auto;
    max-height: 520px;
    overflow-y: auto;
  }
}

.hero-products-marquee__card {
  flex-shrink: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-products-marquee__logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: 100%;
}

.hero-products-marquee__logo img {
  max-width: 80%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-products-marquee__brand {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  line-height: 1.2;
}

.hero-products-marquee__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-saffron);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .hero-products-marquee {
    height: 360px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-products-marquee__card {
    min-height: 100px;
    padding: var(--space-4) var(--space-3);
  }
}

@media (max-width: 480px) {
  .hero-products-marquee {
    grid-template-columns: 1fr;
    height: 320px;
  }
  .hero-products-marquee__col--2 {
    display: none;
  }
}


/* ========== HERO 3D STAGE (industry hero — three.js canvas) ========== */

/* When the 3D stage is active, take the canvas OUT of the grid flow and let it
   span the entire hero section (full width, full height). Text content overlays
   on the left half via z-index. Camera framing in the JS handles offsetting the
   model to render in the right portion of the canvas. */
.about-hero--with-3d {
  overflow: hidden;
}
.about-hero--with-3d .about-hero__layout {
  display: block;
  position: static;
}
.about-hero--with-3d .about-hero__inner {
  max-width: 50%;
  position: relative;
  z-index: 1;
}
.about-hero--with-3d .about-hero__products--3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  display: block;
}
.about-hero--with-3d .hero-3d-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* The foreground content (eyebrow / h1 / subtitle / stats) overlays the
   absolutely-positioned 3D canvas. Without this rule, clicking those
   non-interactive blocks would be captured by the overlay and the drag
   never reaches the canvas behind — so drag would only work below the
   text column. Make the wrapper chain transparent to pointer events and
   then re-enable just on the actual interactive elements. */
.about-hero--with-3d .container,
.about-hero--with-3d .about-hero__layout,
.about-hero--with-3d .about-hero__inner,
.about-hero--with-3d .about-hero__actions,
.about-hero--with-3d .about-hero__stats {
  pointer-events: none;
}
.about-hero--with-3d .about-hero__inner a,
.about-hero--with-3d .about-hero__inner button,
.about-hero--with-3d .about-hero__inner .btn,
.about-hero--with-3d .about-hero__inner input,
.about-hero--with-3d .about-hero__inner select,
.about-hero--with-3d .about-hero__inner textarea {
  pointer-events: auto;
}
/* Let visitors select the hero copy (it lives in the left column), while the
   model area on the right stays grabbable for the drag-to-rotate UX. Drags
   that start on the copy select text instead of rotating — expected. */
.about-hero--with-3d .about-hero__inner .label,
.about-hero--with-3d .about-hero__inner h1,
.about-hero--with-3d .about-hero__inner h2,
.about-hero--with-3d .about-hero__inner p,
.about-hero--with-3d .about-hero__inner li {
  pointer-events: auto;
  -webkit-user-select: text;
  user-select: text;
}
@media (max-width: 960px) {
  .about-hero--with-3d .about-hero__inner {
    max-width: 100%;
  }
  .about-hero--with-3d .about-hero__products--3d {
    position: relative;
    height: 360px;
    margin-top: var(--space-8);
  }
}

.hero-3d-stage {
  position: relative;
  width: 100%;
  height: 560px;
  /* Subtle radial vignette to anchor the model visually against the navy. */
  background: radial-gradient(
    ellipse at center,
    rgba(224, 138, 44, 0.06) 0%,
    rgba(10, 25, 47, 0) 60%
  );
}

.hero-3d-stage__canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* Start invisible — fades in once the model has been added to the scene. */
  opacity: 0;
  transition: opacity 600ms ease-out;
  cursor: grab;
  /* pan-y lets users scroll the page past the hero with a vertical swipe,
     while horizontal drags rotate the drones. */
  touch-action: pan-y;
  /* The .about-hero__products--3d wrapper on industry pages sets
     pointer-events: none so click-through to the underlying buttons works.
     Re-enable here so the canvas catches drag for the rotate-the-drones UX. */
  pointer-events: auto;
}

.hero-3d-stage--dragging .hero-3d-stage__canvas {
  cursor: grabbing;
}

.hero-3d-stage--ready .hero-3d-stage__canvas {
  opacity: 1;
}

.hero-3d-stage__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}

/* Show the static fallback only when WebGL isn't available or the model
   fails to load — both add this class. Canvas stays hidden in that case. */
.hero-3d-stage--no-webgl .hero-3d-stage__canvas {
  display: none;
}
.hero-3d-stage--no-webgl .hero-3d-stage__fallback {
  opacity: 1;
}

@media (max-width: 960px) {
  .hero-3d-stage {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-3d-stage {
    height: 320px;
  }
}

/* Lotus philosophy */
.lotus-philosophy {
  padding-block: var(--section-padding);
}

.lotus-philosophy h2 {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
}

.lotus-philosophy__body p {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  max-width: 600px;
  margin-inline: auto;
}

.lotus-philosophy__body p:last-child {
  margin-bottom: 0;
}

/* Values grid */
.values__grid {
  gap: var(--space-6);
}

.values__item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.values__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.1), rgba(224, 138, 44, 0.04));
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-5);
}

.values__item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.values__item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero h1 {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 480px) {
  .values__grid {
    grid-template-columns: 1fr;
  }
}

/* Leadership section */
.leadership__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.leadership__text .label {
  margin-bottom: var(--space-4);
}

.leadership__text h2 {
  margin-bottom: var(--space-6);
}

.leadership__text p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.leadership__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .leadership__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* Sustainability section */
.sustainability {
  padding-block: var(--section-padding);
}

.sustainability__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.sustainability__text .label {
  margin-bottom: var(--space-4);
}

.sustainability__text h2 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.sustainability__text p {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.sustainability__certs {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.sustainability__cert-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.sustainability__cert-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.sustainability__cert-item strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
}

.sustainability__cert-item span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .sustainability__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}


/* ========== ROLLER PRODUCTION PAGE ========== */

/* --- Configurator placeholder --- */
.roller-configurator__card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.roller-configurator__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

/* Left: visual preview */
.roller-configurator__preview {
  background: linear-gradient(135deg, var(--color-gray-50), var(--color-gray-100));
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-8) var(--space-4);
  border: 1px solid var(--color-border);
}

.roller-configurator__roller {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Roller diagram — full-card-width preview, but capped at a comfortable size */
.roller-configurator__roller svg {
  width: 90%;
  max-width: 760px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(12, 24, 41, 0.15));
}

.roller-configurator__preview-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--color-gray-200);
}

.roller-configurator__preview-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-saffron);
}

.roller-configurator__preview-dim {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Right: controls */
.roller-configurator__controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.roller-configurator__control {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.roller-configurator__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.roller-configurator__row--3col {
  grid-template-columns: repeat(3, 1fr);
}

.roller-configurator__row--4col {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.roller-configurator__controls--compact {
  gap: var(--space-3);
}

.roller-configurator__controls--compact .roller-configurator__control {
  gap: var(--space-1);
}

.roller-configurator__pills--wrap {
  flex-wrap: wrap;
}

.roller-configurator__qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.roller-configurator__groove-line {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: nowrap;
  min-width: 0;
}

.roller-configurator__groove-line .roller-configurator__input-suffix {
  width: auto;
  flex-shrink: 0;
}

.roller-configurator__groove-line .roller-configurator__pills {
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.roller-configurator__row > .roller-configurator__control {
  min-width: 0;
}

.roller-configurator__groove-dist {
  margin: 0 !important;
  transition: none !important;
}

.roller-configurator__groove-dist:not([hidden]) {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.roller-configurator__groove-dist[hidden] {
  display: none !important;
}

.roller-configurator__text-input--sm {
  width: 80px;
  padding: 4px 8px;
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .roller-configurator__row,
  .roller-configurator__row--3col,
  .roller-configurator__row--4col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .roller-configurator__row,
  .roller-configurator__row--3col,
  .roller-configurator__row--4col {
    grid-template-columns: 1fr;
  }
  .roller-configurator__quote-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.roller-configurator__control label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
}

.roller-configurator__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.roller-configurator__val {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-saffron);
}

.roller-configurator__range-hint {
  display: flex;
  justify-content: space-between;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.65rem;
  color: var(--color-gray-300);
  margin-top: -4px;
}

/* Native range slider styling */
.roller-configurator__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  margin: var(--space-2) 0 var(--space-1);
}

.roller-configurator__slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    to right,
    var(--color-saffron) 0%,
    var(--color-saffron-light) var(--pct, 33%),
    var(--color-gray-100) var(--pct, 33%),
    var(--color-gray-100) 100%
  );
}

.roller-configurator__slider::-moz-range-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    to right,
    var(--color-saffron) 0%,
    var(--color-saffron-light) var(--pct, 33%),
    var(--color-gray-100) var(--pct, 33%),
    var(--color-gray-100) 100%
  );
}

/* Windowed slider — track shows the full possible range, but only the
   valid window between --valid-start and --valid-end is colored saffron.
   Out-of-range zones get a striped grey pattern so it's clear those values
   aren't reachable. Used for the shaft length slider, where the valid
   window is [roller_length+1, roller_length+6]. */
.roller-configurator__slider--windowed::-webkit-slider-runnable-track {
  background:
    linear-gradient(
      to right,
      transparent 0%,
      transparent var(--valid-start, 0%),
      var(--color-saffron) var(--valid-start, 0%),
      var(--color-saffron) var(--valid-end, 100%),
      transparent var(--valid-end, 100%),
      transparent 100%
    ),
    repeating-linear-gradient(
      45deg,
      var(--color-gray-100) 0,
      var(--color-gray-100) 4px,
      var(--color-gray-200) 4px,
      var(--color-gray-200) 8px
    );
}

.roller-configurator__slider--windowed::-moz-range-track {
  background:
    linear-gradient(
      to right,
      transparent 0%,
      transparent var(--valid-start, 0%),
      var(--color-saffron) var(--valid-start, 0%),
      var(--color-saffron) var(--valid-end, 100%),
      transparent var(--valid-end, 100%),
      transparent 100%
    ),
    repeating-linear-gradient(
      45deg,
      var(--color-gray-100) 0,
      var(--color-gray-100) 4px,
      var(--color-gray-200) 4px,
      var(--color-gray-200) 8px
    );
}

.roller-configurator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border: 3px solid var(--color-saffron);
  border-radius: var(--radius-full);
  cursor: grab;
  box-shadow: 0 2px 6px rgba(224, 138, 44, 0.3);
  margin-top: -7px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.roller-configurator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roller-configurator__slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}

.roller-configurator__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border: 3px solid var(--color-saffron);
  border-radius: var(--radius-full);
  cursor: grab;
  box-shadow: 0 2px 6px rgba(224, 138, 44, 0.3);
}

/* Material pills */
.roller-configurator__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.roller-configurator__pill {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.roller-configurator__pill:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

.roller-configurator__pill--active {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
  color: var(--color-white);
  font-weight: 600;
}

.roller-configurator__pill--active:hover {
  color: var(--color-white);
}

/* Quantity stepper */
.roller-configurator__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-1);
  width: fit-content;
}

.roller-configurator__qty button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-gray-800);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.roller-configurator__qty button:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

.roller-configurator__qty input {
  width: 80px;
  padding: 0 var(--space-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  text-align: center;
  background: transparent;
  border: none;
  outline: none;
  -moz-appearance: textfield;
}

.roller-configurator__qty input::-webkit-outer-spin-button,
.roller-configurator__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Quantity presets */
.roller-configurator__qty-presets {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.roller-configurator__qty-presets button {
  padding: var(--space-1) var(--space-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.roller-configurator__qty-presets button:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

.roller-configurator__qty-presets button.roller-configurator__qty-preset--active {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
  color: var(--color-white);
}

.roller-configurator__cta {
  margin-top: var(--space-6);
  align-self: stretch;
  justify-content: center;
}

/* Custom material details textarea */
.roller-configurator__custom-details {
  width: 100%;
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-gray-900);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 72px;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.roller-configurator__custom-details:focus {
  outline: none;
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(224, 138, 44, 0.12);
}

.roller-configurator__custom-details[hidden] {
  display: none;
}

/* Custom inquiry link */
.roller-configurator__inquiry-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  align-self: center;
  transition: color var(--duration-fast) var(--ease-out);
}

.roller-configurator__inquiry-link:hover {
  color: var(--color-saffron);
}

/* Inline RFQ form panel */
.roller-configurator__form-panel {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 2px solid var(--color-saffron);
}

.roller-configurator__form-panel[hidden] {
  display: none;
}

.roller-configurator__form-header {
  margin-bottom: var(--space-6);
}

.roller-configurator__form-header h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.roller-configurator__form-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.roller-configurator__form-spec {
  padding: var(--space-4);
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-sm);
  color: var(--color-gray-800);
  line-height: var(--leading-relaxed);
}

.roller-configurator__form-body .form-placeholder {
  background: transparent;
  border: none;
  padding: 0;
}

.roller-configurator__form-body .form-placeholder__note {
  background: var(--color-gray-50);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Contextual notices (warnings, info) */
.roller-configurator__notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.roller-configurator__notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.roller-configurator__notice[hidden] {
  display: none;
}

.roller-configurator__notice--warn {
  background: rgba(224, 138, 44, 0.08);
  border-color: rgba(224, 138, 44, 0.2);
  color: var(--color-saffron-dark);
}

.roller-configurator__notice--info {
  background: rgba(43, 94, 167, 0.06);
  border-color: rgba(43, 94, 167, 0.15);
  color: var(--color-blue);
}

/* Informational hint (bearing face) */
.roller-configurator__hint {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  color: var(--color-text-muted);
}

.roller-configurator__hint svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-gray-300);
}

/* ─── Bento-style controls grid ───────────────────────────────
   Color-cued tiles in an 8-col grid. Compact, dense layout.
   Tiles span 2/3/4/6/8 cols via the `--span-*` modifiers. */
.roller-configurator__controls--bento {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--space-2);
}

.bento-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid;
  border-radius: var(--radius-md);
  background: var(--color-white);
  min-width: 0;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.bento-tile--span-2 { grid-column: span 2; }
.bento-tile--span-3 { grid-column: span 3; }
.bento-tile--span-4 { grid-column: span 4; }
.bento-tile--span-6 { grid-column: span 6; }
.bento-tile--span-8 { grid-column: span 8; }

/* Tall variant — spans 2 grid rows. Used when a half-width tile needs
   extra vertical room (e.g. quantity stepper + presets stacked). */
.bento-tile--tall {
  grid-row: span 2;
}

/* Color cues by category */
.bento-tile--dim {
  background: rgba(43, 94, 167, 0.04);
  border-color: rgba(43, 94, 167, 0.18);
}

.bento-tile--config {
  background: rgba(224, 138, 44, 0.05);
  border-color: rgba(224, 138, 44, 0.20);
}

.bento-tile--meta {
  background: var(--color-gray-50);
  border-color: var(--color-border);
}

.bento-tile--qty {
  background: rgba(224, 138, 44, 0.08);
  border-color: rgba(224, 138, 44, 0.30);
}

/* Eyebrow label — tiny uppercase tag with optional inline icon */
.bento-tile__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  line-height: 1;
}

.bento-tile--dim .bento-tile__eyebrow {
  color: var(--color-blue, #2B5EA7);
}

.bento-tile--config .bento-tile__eyebrow,
.bento-tile--qty .bento-tile__eyebrow {
  color: var(--color-saffron);
}

.bento-tile__eyebrow svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Body — holds the actual control */
.bento-tile__body {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 32px;
}

.bento-tile__body--inline {
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Length-tile current-value badge sits at the right of the slider */
.bento-tile__val {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  min-width: 42px;
  text-align: right;
}

/* Footer row — used for slider min/max labels and qty preset chips */
.bento-tile__foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bento-tile__foot--presets {
  display: flex;
  gap: 4px;
  justify-content: stretch;
}

.bento-tile__foot--presets button {
  flex: 1;
  padding: 4px 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-body);
  background: transparent;
  border: 1px solid rgba(224, 138, 44, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.bento-tile__foot--presets button:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

/* Inline check chips inside meta tile */
.bento-tile__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--color-text);
  white-space: nowrap;
}

.bento-tile__chip svg {
  color: var(--color-saffron);
  flex-shrink: 0;
}

/* Slider sits flush in tile body */
.bento-tile .roller-configurator__slider {
  flex: 1;
  margin: 0;
}

/* Pills inside tiles — equal-width fill */
.bento-tile .roller-configurator__pills {
  display: flex;
  gap: 4px;
  width: 100%;
}

.bento-tile .roller-configurator__pill {
  flex: 1;
  padding: 6px 8px;
  text-align: center;
  white-space: nowrap;
}

/* Text input inside tile — fill width */
.bento-tile .roller-configurator__input-suffix {
  width: 100%;
}

.bento-tile .roller-configurator__input-suffix input[type="text"] {
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Groove distance input: force a real, legible width. The rule above sets
   width:100%, which collapses to nothing inside the auto-width groove wrapper.
   An ID selector (specificity 1,0,0) is required to win over it. */
#roller-groove-distance {
  width: 100px;
  flex: 0 0 auto;
}

/* Quantity stepper inside tile — fill width */
.bento-tile--qty .roller-configurator__qty {
  width: 100%;
  justify-content: space-between;
}

.bento-tile--qty .roller-configurator__qty input {
  flex: 1;
  text-align: center;
}

/* PU coverage — Start + Length inputs revealed when Polyurethane is selected. */
.roller-configurator__pu-coverage {
  margin-top: 8px;
  width: 100%;
}

.roller-configurator__pu-coverage[hidden] {
  display: none !important;
}

.roller-configurator__pu-coverage-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.roller-configurator__pu-coverage-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.roller-configurator__pu-coverage-field label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.roller-configurator__pu-coverage-field .roller-configurator__input-suffix {
  width: 100%;
}

.roller-configurator__pu-coverage-field .roller-configurator__input-suffix input[type="text"] {
  width: 100%;
}

.roller-configurator__pu-coverage-prompt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  font-size: var(--text-xs);
  color: var(--color-saffron);
  font-weight: 500;
}

.roller-configurator__pu-coverage-prompt[hidden] {
  display: none !important;
}

.roller-configurator__pu-coverage-prompt svg {
  flex-shrink: 0;
  color: var(--color-saffron);
}

/* Tablet: collapse to 4 cols */
@media (max-width: 900px) {
  .roller-configurator__controls--bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento-tile--span-6,
  .bento-tile--span-8 {
    grid-column: span 4;
  }
  .bento-tile--span-3 {
    grid-column: span 4;
  }
}

/* Mobile: collapse to 2 cols */
@media (max-width: 600px) {
  .roller-configurator__controls--bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-tile,
  .bento-tile--span-2,
  .bento-tile--span-3,
  .bento-tile--span-4,
  .bento-tile--span-6,
  .bento-tile--span-8 {
    grid-column: span 2;
  }
}

/* Tiny: stack everything */
@media (max-width: 380px) {
  .roller-configurator__controls--bento {
    grid-template-columns: 1fr;
  }
  .bento-tile,
  .bento-tile--span-2,
  .bento-tile--span-3,
  .bento-tile--span-4,
  .bento-tile--span-6,
  .bento-tile--span-8 {
    grid-column: span 1;
  }
}

/* Fixed-spec strip — locked production-standard items shown beneath the variable controls */
.roller-configurator__fixed-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(43, 94, 167, 0.04);
  border: 1px solid rgba(43, 94, 167, 0.12);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.roller-configurator__fixed-label {
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.roller-configurator__fixed-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.roller-configurator__fixed-item svg {
  color: var(--color-saffron);
  flex-shrink: 0;
}

/* Group labels (DIMENSIONS, SHAFT & BEARINGS, etc.) */
.roller-configurator__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.roller-configurator__group + .roller-configurator__group {
  margin-top: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-gray-100);
}

.roller-configurator__group-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-saffron);
  padding-bottom: var(--space-1);
}

/* Text input with suffix (e.g. between frame, shaft length) */
.roller-configurator__input-suffix {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.roller-configurator__input-suffix input[type="text"] {
  width: 120px;
  padding: var(--space-2) var(--space-3);
  padding-right: var(--space-6);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.roller-configurator__input-suffix input[type="text"]:focus {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(224, 138, 44, 0.12);
}

.roller-configurator__input-suffix input[type="text"]::placeholder {
  color: var(--color-gray-300);
  font-weight: 400;
}

.roller-configurator__input-suffix span {
  position: absolute;
  right: var(--space-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  pointer-events: none;
}

/* Conditional reveal fields */
.roller-configurator__conditional {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s var(--ease-out), opacity 0.25s var(--ease-out), margin 0.3s var(--ease-out);
  margin-top: 0;
}

.roller-configurator__conditional[hidden] {
  display: block !important;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.roller-configurator__conditional.is-visible {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--space-3);
}

/* Desktop: side-by-side configurator with sticky preview */
@media (min-width: 1024px) {
  /* Layout intentionally stacked: diagram on top, controls below.
     This gives the roller diagram the full card width — easier to read
     and gives the bento controls room to breathe in 4 cols. */
  .roller-configurator__layout {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .roller-configurator__card {
    padding: var(--space-6);
  }
}

/* Weight estimate display */
.roller-configurator__preview-weight {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.roller-configurator__preview-weight:empty {
  display: none;
}


/* --- CEMA membership badge --- */
.cema-badge {
  padding-top: 0;
  padding-bottom: var(--space-8);
  margin-top: -56px;
  text-align: center;
}

.cema-badge__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.cema-badge__link:hover {
  border-color: var(--color-saffron);
  box-shadow: var(--shadow-sm);
}

.cema-badge__logo {
  height: 48px;
  width: auto;
}

.cema-badge__text {
  text-align: left;
}

.cema-badge__title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gray-900);
}

.cema-badge__subtitle {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}


/* --- Roller specs grid --- */
.roller-specs__item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--duration-base) var(--ease-out);
}

.roller-specs__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.roller-specs__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.1), rgba(224, 138, 44, 0.04));
  border-radius: var(--radius-full);
}

.roller-specs__item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.roller-specs__range {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-saffron);
  margin-bottom: var(--space-3);
}

.roller-specs__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.roller-specs__note {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-10);
}

/* Featured spec card — highlights the Galvanized/corrosion-resistant lead spec */
.roller-specs__item--featured {
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.08), rgba(224, 138, 44, 0.02));
  border-color: rgba(224, 138, 44, 0.35);
  position: relative;
}

.roller-specs__item--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-saffron);
  opacity: 0.4;
  pointer-events: none;
}

.roller-specs__item--featured .roller-specs__range {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
}

/* ─── Roller Types section (capabilities matrix) ─── */
.roller-types__grid {
  margin-top: var(--space-8);
}

.roller-types__item {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.roller-types__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 138, 44, 0.3);
}

.roller-types__item--primary {
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.06), rgba(224, 138, 44, 0.02));
  border-color: rgba(224, 138, 44, 0.4);
}

.roller-types__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-saffron);
  padding: 4px 10px;
  background: rgba(224, 138, 44, 0.12);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.roller-types__badge--alt {
  color: var(--color-text-muted);
  background: var(--color-gray-100);
}

.roller-types__item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.roller-types__item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.roller-types__note {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-8);
}

/* ─── Roller Feature sections (Noise Prevention Insert + Bearings) ─── */
.roller-feature__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.roller-feature__inner--reversed {
  grid-template-columns: 1fr 1.2fr;
}

.roller-feature__inner--reversed .roller-feature__copy {
  order: 2;
}

.roller-feature__copy h2 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.roller-feature__copy p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.roller-feature__placeholder {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-gray-50);
  border-left: 3px solid var(--color-saffron);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.roller-feature__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.roller-feature__highlight {
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.roller-feature__highlight svg {
  color: var(--color-saffron);
}

.roller-feature__highlight h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
}

.roller-feature__highlight p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--leading-snug);
}

@media (max-width: 768px) {
  .roller-feature__inner,
  .roller-feature__inner--reversed {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .roller-feature__inner--reversed .roller-feature__copy {
    order: 0;
  }
}

@media (max-width: 1024px) {
  .roller-specs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .roller-specs__grid {
    grid-template-columns: 1fr;
  }
}


/* --- Industries served tags --- */
.roller-industries__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  max-width: 900px;
  margin-inline: auto;
}

.roller-industries__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-800);
  transition: all var(--duration-base) var(--ease-out);
}

.roller-industries__tag:hover {
  border-color: var(--color-saffron);
}

.roller-industries__tag svg {
  flex-shrink: 0;
}


/* --- Process steps --- */
.roller-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.roller-process__step {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--duration-base) var(--ease-out);
}

.roller-process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.roller-process__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 2px solid var(--color-saffron);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-saffron);
  margin-bottom: var(--space-4);
}

.roller-process__step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.roller-process__step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 1024px) {
  .roller-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .roller-process__steps {
    grid-template-columns: 1fr;
  }
}


/* ========== CASE STUDIES ========== */

/* Archive cards — 2-column grid */
.case-studies-archive__grid {
  gap: var(--space-8);
}

.case-study-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--duration-base) var(--ease-out);
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.case-study-card__link {
  display: block;
}

.case-study-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.case-study-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.case-study-card:hover .case-study-card__image img {
  transform: scale(1.03);
}

.case-study-card__content {
  padding: var(--space-8);
}

.case-study-card__industry {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-saffron);
  margin-bottom: var(--space-2);
}

.case-study-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

.case-study-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.case-study-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.case-study-card__service-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-blue);
  background: rgba(30, 63, 110, 0.06);
  border-radius: var(--radius-full);
}

.case-study-card__read-more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-saffron);
}

@media (max-width: 640px) {
  .case-studies-archive__grid {
    grid-template-columns: 1fr;
  }
}

/* Single case study */
.case-study-single__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-12);
  align-items: start;
}

.case-study-single__sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.case-study-single__meta-block {
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.case-study-single__meta-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case-study-single__meta-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.case-study-single__meta-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-gray-900);
}

.case-study-single__services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.case-study-single__results {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.case-study-single__results li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: var(--leading-snug);
}

.case-study-single__results svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.case-study-single__hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.case-study-single__hero-image img {
  width: 100%;
  height: auto;
}

.case-study-single__testimonial {
  max-width: 700px;
  margin: var(--space-16) auto;
}

.case-study-single__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .case-study-single__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .case-study-single__sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
  }

  .case-study-single__meta-block {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}


/* ========== SITEMAP PAGE ========== */

.sitemap-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
}

.sitemap-page__col h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-saffron);
}

.sitemap-page__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sitemap-page__col li a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.sitemap-page__col li a:hover {
  color: var(--color-saffron);
}

@media (max-width: 768px) {
  .sitemap-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .sitemap-page__grid {
    grid-template-columns: 1fr;
  }
}


/* ========== CAREERS PAGE ========== */

.careers-why__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.careers-why__text .label {
  margin-bottom: var(--space-4);
}

.careers-why__text h2 {
  margin-bottom: var(--space-6);
}

.careers-why__text p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.careers-why__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.careers-why__value {
  padding: var(--space-5) var(--space-6);
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-saffron);
}

.careers-why__value h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.careers-why__value p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.careers-apply__email {
  display: inline-block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-saffron);
  transition: color var(--duration-fast);
}

.careers-apply__email:hover {
  color: var(--color-saffron-dark);
}

@media (max-width: 768px) {
  .careers-why__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}


/* ========== CERTIFICATIONS PAGE ========== */

.certs-page__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 860px;
  margin-inline: auto;
}

.certs-page__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.certs-page__card:hover {
  box-shadow: var(--shadow-md);
}

/* In-progress / not-yet-awarded certification — visually distinct from earned certs, centered on its own row */
.certs-page__card--pending {
  border-style: dashed;
  background: var(--color-bg-alt);
  grid-column: 1 / -1;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}
.certs-page__card--pending .certs-page__card-icon {
  color: var(--color-text-muted);
}

.certs-page__card--compact > p {
  padding: var(--space-4) var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.certs-page__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-8) 0;
}

.certs-page__card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.1), rgba(224, 138, 44, 0.04));
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.certs-page__card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.certs-page__card-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1;
  margin: 0;
}

.certs-page__card-subtitle {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.certs-page__card-body {
  padding: var(--space-6) var(--space-8) var(--space-8);
}

.certs-page__card-body > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.certs-page__card-body h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.certs-page__card-body ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.certs-page__card-body li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-gray-800);
  line-height: var(--leading-snug);
}

.certs-page__card-body li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: var(--radius-full);
  background: var(--color-saffron);
}

.certs-page__card-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .certs-page__card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-6) 0;
  }

  .certs-page__card-body {
    padding: var(--space-4) var(--space-6) var(--space-6);
  }
}


/* ========== CLEANROOM OPERATIONS PAGE ========== */

.cleanroom-class-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 960px;
  margin-inline: auto;
}

.cleanroom-class-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.cleanroom-class-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cleanroom-class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-saffron-light));
}

.cleanroom-class-card--stricter::before {
  background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light));
}

.cleanroom-class-card__header {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

.cleanroom-class-card__iso {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  background: var(--color-gray-50);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.cleanroom-class-card h3 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.cleanroom-class-card__particles {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-saffron);
}

.cleanroom-class-card--stricter .cleanroom-class-card__particles {
  color: var(--color-blue-light);
}

.cleanroom-class-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.cleanroom-class-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cleanroom-class-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-gray-800);
  line-height: var(--leading-snug);
}

.cleanroom-class-card__list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cleanroom-classes__note {
  margin-top: var(--space-10);
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .cleanroom-class-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .cleanroom-class-card {
    padding: var(--space-8);
  }

  .cleanroom-class-card h3 {
    font-size: var(--text-3xl);
  }
}


/* ========== MANUFACTURING & ASSEMBLY PAGE ========== */

.mfg-capabilities__grid {
  gap: var(--space-6);
}

.mfg-capability {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.mfg-capability:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mfg-capability::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-saffron-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.mfg-capability:hover::before {
  transform: scaleX(1);
}

.mfg-capability__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.1), rgba(224, 138, 44, 0.04));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.mfg-capability h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-gray-900);
  line-height: var(--leading-snug);
}

.mfg-capability p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

a.mfg-capability {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.mfg-capability__explore {
  margin-top: auto;
  padding-top: var(--space-4);
}

.mfg-capability h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Service card group labels */
.mfg-capabilities__group-label {
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-top: var(--space-10);
  margin-bottom: var(--space-6);
}

.mfg-capabilities__group-label:first-of-type {
  margin-top: var(--space-12);
}

/* Reverse logistics stack */
.rl-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.rl-stack__item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.rl-stack__item p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.rl-sustainability {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: rgba(var(--color-saffron-rgb, 224, 164, 0), 0.08);
  border-left: 3px solid var(--color-saffron);
  border-radius: var(--radius-md);
}

.rl-sustainability h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.rl-sustainability p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Process steps row override for 5 columns on the manufacturing page */
.mfg-process__steps {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .mfg-process__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mfg-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mfg-process__steps {
    grid-template-columns: 1fr;
  }
}

/* ========== CONTACT PAGE ========== */

.contact {
  padding-block: var(--section-padding);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 900px) {
  .contact__layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* --- Contact info card (left side) --- */
.contact-info-card {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.contact-info-card__inner {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.contact-info-card__inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224, 138, 44, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-card__inner > * {
  position: relative;
}

.contact-info-card .label {
  margin-bottom: var(--space-3);
}

.contact-info-card h2 {
  color: var(--color-white);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.contact-info-card__intro {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  opacity: 0.7;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.contact-info-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.contact-info-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 138, 44, 0.12);
  border: 1px solid rgba(224, 138, 44, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-saffron-light);
}

.contact-info-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.contact-info-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-on-dark);
  opacity: 0.5;
}

.contact-info-card__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-white);
  line-height: var(--leading-snug);
  transition: color var(--duration-fast) var(--ease-out);
}

a.contact-info-card__value:hover {
  color: var(--color-saffron-light);
}

.contact-info-card__value--multi {
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.contact-info-card__value--static {
  font-weight: 500;
}

.contact-info-card__callout {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(224, 138, 44, 0.08);
  border: 1px solid rgba(224, 138, 44, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-saffron-light);
  font-weight: 500;
}

.contact-info-card__callout svg {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact-info-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-info-card__inner {
    padding: var(--space-8) var(--space-6);
  }
}


/* --- Contact form wrapper (right side) --- */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}

.contact-form-wrap .label {
  margin-bottom: var(--space-3);
}

.contact-form-wrap h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.contact-form-wrap__intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.contact-form-wrap__form .form-placeholder {
  background: transparent;
  border: none;
  padding: 0;
}

.contact-form-wrap__form .form-placeholder__note {
  background: var(--color-gray-50);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

.contact-form-wrap__form .form-placeholder__legal {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 640px) {
  .contact-form-wrap {
    padding: var(--space-6);
  }
}


/* --- Contact map section --- */
.contact-map-section {
  padding-bottom: var(--section-padding);
}

.contact-map {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-map iframe {
  display: block;
  width: 100%;
  filter: grayscale(0.3) contrast(0.95);
  transition: filter var(--duration-base) var(--ease-out);
}

.contact-map:hover iframe {
  filter: grayscale(0) contrast(1);
}

.contact-map__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--color-white);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-map__badge-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-saffron);
}

.contact-map__badge-addr {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: var(--leading-snug);
}

.contact-map__badge-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-saffron);
  transition: gap var(--duration-base) var(--ease-out);
}

.contact-map__badge-link:hover {
  gap: var(--space-2);
}

@media (max-width: 640px) {
  .contact-map iframe {
    height: 360px;
  }

  .contact-map__badge {
    bottom: var(--space-3);
    left: var(--space-3);
    right: var(--space-3);
    max-width: none;
    padding: var(--space-4);
  }
}


/* ========== THANK-YOU PAGE ========== */

.thank-you {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
}

.thank-you__hero {
  margin-bottom: var(--space-16);
}

.thank-you__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(224, 138, 44, 0.15), rgba(224, 138, 44, 0.05));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 480px;
  margin: var(--space-4) auto 0;
}

.thank-you__section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
}

/* Timeline */
.thank-you__timeline {
  margin-bottom: var(--space-16);
}

.thank-you__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.thank-you__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.thank-you__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-saffron);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
}

.thank-you__step-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.thank-you__step-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Resource Cards */
.thank-you__resources {
  margin-bottom: var(--space-16);
}

.thank-you__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.thank-you__card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-base) var(--ease-out);
}

.thank-you__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.thank-you__card-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-saffron);
  margin-bottom: var(--space-3);
}

.thank-you__card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.thank-you__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.thank-you__card-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-saffron);
  margin-top: var(--space-4);
  transition: gap var(--duration-fast);
}

/* Trust Badges */
.thank-you__badges {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.thank-you__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gray-500);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .thank-you__cards {
    grid-template-columns: 1fr;
  }
}

/* ── Breadcrumbs ──────────────────────────────────── */
.breadcrumbs {
  padding: var(--space-3) 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: '/';
  margin-right: var(--space-1);
  color: var(--color-gray-400);
}

.breadcrumbs__item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-base);
}

.breadcrumbs__item a:hover {
  color: var(--color-blue);
}

.breadcrumbs__item [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* ── Careers Positions ─────────────────────────────── */
.careers-position {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.careers-position:first-child {
  border-top: 1px solid var(--color-border);
}

.careers-position h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.careers-position p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .careers-position {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Why Michigan ─────────────────────────────────── */
.why-michigan {
  position: relative;
  overflow: hidden;
}

.why-michigan__mitten {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: 620px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.why-michigan .container {
  position: relative;
  z-index: 1;
}

.why-michigan .mfg-capability {
  background: rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 1024px) {
  .why-michigan__mitten {
    width: 240px;
    opacity: 0.25;
    right: -5%;
  }
}

@media (max-width: 768px) {
  .why-michigan__mitten {
    display: none;
  }
}

/* ── Leadership ───────────────────────────────────── */
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.leadership__member {
  text-align: center;
  padding: var(--space-4) var(--space-2);
}

.leadership__member h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-1);
}

.leadership__title {
  font-size: var(--text-sm);
  color: var(--color-saffron);
  letter-spacing: var(--tracking-wide);
}

.leadership__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: var(--space-3) auto 0;
  border-radius: var(--radius-full);
  color: var(--color-text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--duration-base), color var(--duration-base), transform var(--duration-base);
}

.leadership__social:hover,
.leadership__social:focus-visible {
  background: var(--color-saffron);
  color: var(--color-navy);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .leadership__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ──────────────────────────────────────────────────────────
   WMS Mockup Animation (warehousing integration section)
   ────────────────────────────────────────────────────────── */
.wms-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.18), 0 0 0 1px rgba(10, 25, 47, 0.06);
  overflow: hidden;
  font-family: var(--font-sans);
}

.wms-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: #e9ecf1;
  border-bottom: 1px solid rgba(10, 25, 47, 0.08);
}

.wms-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.wms-mockup__dot--red    { background: #ff5f57; }
.wms-mockup__dot--yellow { background: #febc2e; }
.wms-mockup__dot--green  { background: #28c840; }

.wms-mockup__title {
  margin-left: auto;
  font-size: 11px;
  color: #6c7a8a;
  font-weight: 500;
}

.wms-mockup__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #1f8f3a;
  padding: 2px 7px;
  background: rgba(40, 200, 64, 0.12);
  border-radius: 10px;
}

.wms-mockup__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: wms-live-pulse 1.6s ease-in-out infinite;
}

@keyframes wms-live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.6);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 5px rgba(40, 200, 64, 0);
  }
}

.wms-mockup__body {
  position: relative;
  display: grid;
  grid-template-columns: 28% 1fr;
  height: calc(100% - 28px);
  background: #f5f7fa;
}

.wms-mockup__sidebar {
  background: #0a192f;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wms-mockup__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  border-left: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.wms-mockup__nav-icon {
  stroke: currentColor;
  flex-shrink: 0;
}

.wms-mockup__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wms-mockup__dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid rgba(10, 25, 47, 0.1);
  border-radius: 6px;
  font-size: 11px;
  color: #0a192f;
  font-weight: 500;
  animation: wms-dropdown-click 12s linear infinite;
}

.wms-mockup__dropdown-icon {
  stroke: #6c7a8a;
  flex-shrink: 0;
}

.wms-mockup__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wms-mockup__pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  background: rgba(241, 184, 45, 0.08);
  border: 1px solid rgba(241, 184, 45, 0.3);
  border-radius: 10px;
  color: #b07d11;
  text-transform: uppercase;
  transition: none;
  animation: wms-pill-wave 3s ease-in-out infinite;
}

.wms-mockup__pill:nth-child(1) { animation-delay: 0s; }
.wms-mockup__pill:nth-child(2) { animation-delay: 0.4s; }
.wms-mockup__pill:nth-child(3) { animation-delay: 0.8s; }
.wms-mockup__pill:nth-child(4) { animation-delay: 1.2s; }

@keyframes wms-pill-wave {
  0%, 85%, 100% {
    background: rgba(241, 184, 45, 0.08);
    border-color: rgba(241, 184, 45, 0.3);
    color: #b07d11;
    box-shadow: none;
  }
  12% {
    background: rgba(241, 184, 45, 0.28);
    border-color: var(--color-saffron);
    color: #7a5507;
    box-shadow: 0 0 8px rgba(241, 184, 45, 0.45);
  }
}

.wms-mockup__chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  align-items: end;
  height: 42%;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 6px;
}

.wms-mockup__bar-col {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.wms-mockup__bar-col span {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--color-saffron) 0%, #d19a1f 100%);
  border-radius: 3px 3px 0 0;
  height: 0;
  animation: wms-bar-grow 12s linear infinite;
}

.wms-mockup__bar-col:nth-child(1) span { animation-delay: 0s; }
.wms-mockup__bar-col:nth-child(2) span { animation-delay: 0.08s; }
.wms-mockup__bar-col:nth-child(3) span { animation-delay: 0.16s; }
.wms-mockup__bar-col:nth-child(4) span { animation-delay: 0.24s; }
.wms-mockup__bar-col:nth-child(5) span { animation-delay: 0.32s; }
.wms-mockup__bar-col:nth-child(6) span { animation-delay: 0.40s; }
.wms-mockup__bar-col:nth-child(7) span { animation-delay: 0.48s; }

.wms-mockup__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wms-mockup__row {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 8px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 4px;
  opacity: 0;
  animation: wms-row-appear 12s linear infinite;
}
.wms-mockup__row:nth-child(1) { animation-delay: 0s; }
.wms-mockup__row:nth-child(2) { animation-delay: 0.2s; }
.wms-mockup__row:nth-child(3) { animation-delay: 0.4s; }

.wms-mockup__row span {
  height: 6px;
  background: rgba(10, 25, 47, 0.12);
  border-radius: 3px;
}
.wms-mockup__row span:last-child {
  background: rgba(241, 184, 45, 0.35);
}

.wms-mockup__toast {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  max-width: 62%;
  background: #0a192f;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(10, 25, 47, 0.28), 0 0 0 1px rgba(241, 184, 45, 0.25);
  transform: translate(calc(100% + 20px), 0);
  opacity: 0;
  animation: wms-toast-slide 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.wms-mockup__toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  flex-shrink: 0;
  animation: wms-live-pulse 1.6s ease-in-out infinite;
}

.wms-mockup__toast-title {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.wms-mockup__toast-meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  line-height: 1.2;
}

@keyframes wms-toast-slide {
  0%, 70% {
    transform: translate(calc(100% + 20px), 0);
    opacity: 0;
  }
  74%, 96% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(calc(100% + 20px), 0);
    opacity: 0;
  }
}

.wms-mockup__cursor {
  position: absolute;
  top: 15%;
  left: 85%;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  animation: wms-cursor-path 12s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  pointer-events: none;
}

/* Click ripple positioned at the cursor's arrow tip (SVG path starts at ~2,2 of 20x20) */
.wms-mockup__cursor::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  border: 2px solid var(--color-saffron);
  transform: scale(0);
  opacity: 0;
  animation: wms-cursor-click 12s linear infinite;
}

/* Sidebar highlight timing — Reports lights up while cursor is on it */
.wms-mockup__nav[data-nav="reports"] {
  animation: wms-nav-hit 12s linear infinite;
}

/* Path waypoints (left/top are % of .wms-mockup__body):
   - idle     → (85%, 12%)  top-right
   - reports  → (14%, 28%)  3rd nav item center, in 28%-wide sidebar
   - dropdown → (58%, 10%)  dropdown row in content area
   - chart    → (58%, 44%)  middle of chart panel (bars grow here)
   - toast    → (72%, 82%)  real-time order notification (cycle payoff)
*/
@keyframes wms-cursor-path {
  0%   { left: 85%; top: 12%; }
  6%   { left: 85%; top: 12%; }
  16%  { left: 14%; top: 28%; }
  24%  { left: 14%; top: 28%; }
  34%  { left: 58%; top: 10%; }
  42%  { left: 58%; top: 10%; }
  52%  { left: 58%; top: 44%; }
  68%  { left: 58%; top: 44%; }
  80%  { left: 72%; top: 82%; }
  94%  { left: 72%; top: 82%; }
  100% { left: 85%; top: 12%; }
}

/* Click ripple fires at Reports (19%), Dropdown (37%), and Toast (84%). Chart is a hover. */
@keyframes wms-cursor-click {
  0%, 18%, 24%, 36%, 42%, 83%, 88%, 100% {
    transform: scale(0);
    opacity: 0;
  }
  19% { transform: scale(1); opacity: 0.85; }
  23% { transform: scale(3); opacity: 0; }
  37% { transform: scale(1); opacity: 0.85; }
  41% { transform: scale(3); opacity: 0; }
  84% { transform: scale(1); opacity: 0.85; }
  87% { transform: scale(3); opacity: 0; }
}

@keyframes wms-nav-hit {
  0%, 16%, 26%, 100% {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border-left-color: transparent;
  }
  18%, 24% {
    background: rgba(241, 184, 45, 0.15);
    color: #ffffff;
    border-left-color: var(--color-saffron);
  }
}

@keyframes wms-dropdown-click {
  0%, 34%, 43%, 100% {
    background: #ffffff;
    border-color: rgba(10, 25, 47, 0.1);
  }
  37%, 41% {
    background: rgba(241, 184, 45, 0.15);
    border-color: var(--color-saffron);
  }
}

@keyframes wms-bar-grow {
  0%, 52% { height: 0; }
  64%, 100% { height: var(--h); }
}

@keyframes wms-row-appear {
  0%, 62% { opacity: 0; transform: translateY(4px); }
  72%, 100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wms-mockup__cursor,
  .wms-mockup__cursor::after,
  .wms-mockup__nav[data-nav="reports"],
  .wms-mockup__dropdown,
  .wms-mockup__bar-col span,
  .wms-mockup__row,
  .wms-mockup__pill,
  .wms-mockup__toast,
  .wms-mockup__toast-dot,
  .wms-mockup__live-dot {
    animation: none;
  }
  .wms-mockup__bar-col span { height: var(--h); }
  .wms-mockup__row { opacity: 1; }
  .wms-mockup__toast { transform: translate(0, 0); opacity: 1; }
}

/* ──────────────────────────────────────────────────────────
   RMA Pipeline Animation (post-sale reverse logistics)
   ────────────────────────────────────────────────────────── */
.rma-pipeline {
  --rma-duration: 14s;
  --rma-accent: var(--color-saffron);
  --rma-track: rgba(10, 25, 47, 0.12);
  --rma-ink: #0a192f;
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.14), 0 0 0 1px rgba(10, 25, 47, 0.06);
  overflow: hidden;
  font-family: var(--font-sans);
}

.rma-pipeline__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--rma-ink);
  color: #ffffff;
}

.rma-pipeline__id {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-family: var(--font-mono, ui-monospace, monospace);
}

.rma-pipeline__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--rma-accent);
}

.rma-pipeline__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rma-accent);
  animation: rma-live-pulse 1.6s ease-in-out infinite;
}

@keyframes rma-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(241, 184, 45, 0.6); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px rgba(241, 184, 45, 0); }
}

.rma-pipeline__body {
  position: relative;
  padding: 22px 20px 22px 20px;
}

/* Vertical track (background + filling). Nodes are 40px; center the track on the node column. */
.rma-pipeline__track,
.rma-pipeline__track-fill {
  position: absolute;
  top: 44px;
  bottom: 44px;
  left: calc(20px + 20px);
  width: 2px;
  transform: translateX(-1px);
  border-radius: 2px;
}

.rma-pipeline__track {
  background: var(--rma-track);
}

.rma-pipeline__track-fill {
  background: linear-gradient(180deg, var(--rma-accent) 0%, #d19a1f 100%);
  transform-origin: top;
  transform: translateX(-1px) scaleY(0);
  animation: rma-track-grow var(--rma-duration) linear infinite;
}

@keyframes rma-track-grow {
  0%, 6%   { transform: translateX(-1px) scaleY(0); }
  18%      { transform: translateX(-1px) scaleY(0.2); }
  36%      { transform: translateX(-1px) scaleY(0.4); }
  54%      { transform: translateX(-1px) scaleY(0.6); }
  72%      { transform: translateX(-1px) scaleY(0.8); }
  86%, 96% { transform: translateX(-1px) scaleY(1); }
  100%     { transform: translateX(-1px) scaleY(0); }
}

.rma-pipeline__stages {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rma-pipeline__stage {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
}

.rma-pipeline__node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--rma-track);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 25, 47, 0.4);
  flex-shrink: 0;
  transition: none;
  animation: rma-node-activate var(--rma-duration) linear infinite;
  position: relative;
  z-index: 1;
}

.rma-pipeline__icon {
  stroke: currentColor;
}

.rma-pipeline__info {
  min-width: 0;
}

.rma-pipeline__title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(10, 25, 47, 0.5);
  line-height: 1.2;
  animation: rma-title-activate var(--rma-duration) linear infinite;
}

.rma-pipeline__timestamp {
  font-size: 11px;
  color: rgba(10, 25, 47, 0.45);
  margin-top: 2px;
  line-height: 1.25;
  opacity: 0;
  animation: rma-timestamp-appear var(--rma-duration) linear infinite;
}

.rma-pipeline__chip {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
  padding: 3px 8px;
  background: rgba(10, 25, 47, 0.06);
  color: rgba(10, 25, 47, 0.5);
  border-radius: 10px;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: rma-chip-appear var(--rma-duration) linear infinite;
}

/* Per-stage delays: stages activate at 9%, 24%, 40%, 56%, 72% of the 14s cycle.
   Using POSITIVE delays: stage N starts from its keyframe 0% at delay seconds in,
   so its activation window falls at (delay + 9%) of wall-clock time within the loop. */
.rma-pipeline__stage[data-stage="1"] .rma-pipeline__node,
.rma-pipeline__stage[data-stage="1"] .rma-pipeline__title,
.rma-pipeline__stage[data-stage="1"] .rma-pipeline__timestamp,
.rma-pipeline__stage[data-stage="1"] .rma-pipeline__chip { animation-delay: 0s; }

.rma-pipeline__stage[data-stage="2"] .rma-pipeline__node,
.rma-pipeline__stage[data-stage="2"] .rma-pipeline__title,
.rma-pipeline__stage[data-stage="2"] .rma-pipeline__timestamp,
.rma-pipeline__stage[data-stage="2"] .rma-pipeline__chip { animation-delay: calc(var(--rma-duration) * 0.15); }

.rma-pipeline__stage[data-stage="3"] .rma-pipeline__node,
.rma-pipeline__stage[data-stage="3"] .rma-pipeline__title,
.rma-pipeline__stage[data-stage="3"] .rma-pipeline__timestamp,
.rma-pipeline__stage[data-stage="3"] .rma-pipeline__chip { animation-delay: calc(var(--rma-duration) * 0.31); }

.rma-pipeline__stage[data-stage="4"] .rma-pipeline__node,
.rma-pipeline__stage[data-stage="4"] .rma-pipeline__title,
.rma-pipeline__stage[data-stage="4"] .rma-pipeline__timestamp,
.rma-pipeline__stage[data-stage="4"] .rma-pipeline__chip { animation-delay: calc(var(--rma-duration) * 0.47); }

.rma-pipeline__stage[data-stage="5"] .rma-pipeline__node,
.rma-pipeline__stage[data-stage="5"] .rma-pipeline__title,
.rma-pipeline__stage[data-stage="5"] .rma-pipeline__timestamp,
.rma-pipeline__stage[data-stage="5"] .rma-pipeline__chip { animation-delay: calc(var(--rma-duration) * 0.63); }

/* Each stage's "activate" window is ~8%-20% of the cycle. Before: muted. After: solid saffron + remembers. */
@keyframes rma-node-activate {
  0%, 7% {
    background: #ffffff;
    border-color: var(--rma-track);
    color: rgba(10, 25, 47, 0.4);
    box-shadow: none;
  }
  9% {
    background: var(--rma-accent);
    border-color: var(--rma-accent);
    color: var(--rma-ink);
    box-shadow: 0 0 0 0 rgba(241, 184, 45, 0.6);
  }
  14% {
    background: var(--rma-accent);
    border-color: var(--rma-accent);
    color: var(--rma-ink);
    box-shadow: 0 0 0 10px rgba(241, 184, 45, 0);
  }
  20%, 100% {
    background: var(--rma-accent);
    border-color: var(--rma-accent);
    color: var(--rma-ink);
    box-shadow: none;
  }
}

@keyframes rma-title-activate {
  0%, 7%   { color: rgba(10, 25, 47, 0.5); }
  12%, 100% { color: var(--rma-ink); }
}

@keyframes rma-timestamp-appear {
  0%, 8%   { opacity: 0; transform: translateX(-3px); }
  14%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes rma-chip-appear {
  0%, 9%   { opacity: 0; transform: scale(0.8); }
  12%      { opacity: 1; transform: scale(1.12); background: rgba(241, 184, 45, 0.22); color: var(--rma-ink); }
  18%, 100% { opacity: 1; transform: scale(1); background: rgba(241, 184, 45, 0.15); color: var(--rma-ink); }
}

/* Moving token — a small saffron ring that slides down the track. */
.rma-pipeline__token {
  position: absolute;
  left: calc(20px + 20px);
  top: 44px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--rma-accent);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--rma-accent), 0 4px 10px rgba(241, 184, 45, 0.45);
  z-index: 2;
  animation: rma-token-slide var(--rma-duration) cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes rma-token-slide {
  0%, 4%   { top: 20px;  opacity: 0; }
  6%       { top: 44px;  opacity: 1; }
  18%      { top: 44px;  opacity: 1; }
  22%      { top: calc(44px + 56px * 1); }
  34%      { top: calc(44px + 56px * 1); }
  38%      { top: calc(44px + 56px * 2); }
  50%      { top: calc(44px + 56px * 2); }
  54%      { top: calc(44px + 56px * 3); }
  66%      { top: calc(44px + 56px * 3); }
  70%      { top: calc(44px + 56px * 4); }
  88%      { top: calc(44px + 56px * 4); opacity: 1; }
  94%, 100% { top: calc(44px + 56px * 4); opacity: 0; }
}

.rma-pipeline__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(40, 200, 64, 0.08);
  border-top: 1px solid rgba(40, 200, 64, 0.2);
  opacity: 0;
  animation: rma-footer-appear var(--rma-duration) linear infinite;
}

.rma-pipeline__footer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  animation: rma-live-pulse 1.6s ease-in-out infinite;
}

.rma-pipeline__footer-text {
  font-size: 11px;
  font-weight: 600;
  color: #1f8f3a;
  letter-spacing: 0.2px;
}

@keyframes rma-footer-appear {
  0%, 86%   { opacity: 0; transform: translateY(4px); }
  90%, 98%  { opacity: 1; transform: translateY(0); }
  100%      { opacity: 0; transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .rma-pipeline__live-dot,
  .rma-pipeline__track-fill,
  .rma-pipeline__node,
  .rma-pipeline__title,
  .rma-pipeline__timestamp,
  .rma-pipeline__chip,
  .rma-pipeline__token,
  .rma-pipeline__footer,
  .rma-pipeline__footer-dot {
    animation: none;
  }
  .rma-pipeline__track-fill { transform: translateX(-1px) scaleY(1); }
  .rma-pipeline__node {
    background: var(--rma-accent);
    border-color: var(--rma-accent);
    color: var(--rma-ink);
  }
  .rma-pipeline__title { color: var(--rma-ink); }
  .rma-pipeline__timestamp { opacity: 1; }
  .rma-pipeline__chip { opacity: 1; background: rgba(241, 184, 45, 0.15); color: var(--rma-ink); }
  .rma-pipeline__token { display: none; }
  .rma-pipeline__footer { opacity: 1; }
}


/* ========== COST SAVINGS CALLOUT (postsale page) ========== */
.cost-savings-callout__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-6);
  align-items: stretch;
  margin-top: var(--space-8);
}
.cost-savings-callout__grid--no-center {
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.cost-savings-callout__col {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}
.cost-savings-callout__col--negative {
  border-left: 4px solid var(--color-danger);
}
.cost-savings-callout__col--positive {
  border-left: 4px solid var(--color-success);
}
.cost-savings-callout__col-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  color: var(--color-text);
}
.cost-savings-callout__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cost-savings-callout__list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}
.cost-savings-callout__icon {
  flex-shrink: 0;
  margin-top: 3px;
}
.cost-savings-callout__icon--negative { color: var(--color-danger); }
.cost-savings-callout__icon--positive { color: var(--color-success); }
.cost-savings-callout__center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  min-width: 180px;
}
.cost-savings-callout__savings-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-saffron);
  letter-spacing: -0.02em;
}
.cost-savings-callout__savings-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--space-2);
  max-width: 14ch;
  line-height: 1.4;
}
.cost-savings-callout__savings-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  font-style: italic;
}
@media (max-width: 900px) {
  .cost-savings-callout__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .cost-savings-callout__center {
    order: -1;
    padding: var(--space-4);
  }
}


/* ========== VERTICAL DEPOT GRID (postsale page) ========== */
/* Mostly reuses .mfg-capability + .mfg-capabilities__grid. Tile-link variant
   for clickable industry tiles. */
.vertical-depot-tile {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
a.vertical-depot-tile:hover {
  transform: translateY(-2px);
  border-color: var(--color-saffron);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}


/* ========== BUYER CARDS (industry page — 3 archetypes) ========== */

/* Parent grid: 5 row tracks (header, need-label, need-body, solution-label, solution-body).
   Each card uses subgrid + grid-row: span 5 to share these row heights — so the
   "Lotus delivers" label sits at the same Y position across all cards, regardless
   of how long each "They need" body runs. */
.buyer-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .buyer-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .buyer-cards__grid {
    grid-template-columns: 1fr;
  }
}

.buyer-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  row-gap: 0;
  padding: var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.buyer-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-saffron);
  box-shadow: 0 6px 24px rgba(10, 25, 47, 0.06);
}

.buyer-card__header {
  margin-bottom: var(--space-5);
}

.buyer-card__icon {
  margin-bottom: var(--space-4);
  color: var(--color-saffron);
}

.buyer-card__icon .icon {
  stroke: currentColor;
}

.buyer-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0;
  color: var(--color-navy);
}

.buyer-card__row-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.buyer-card__row-label--solution {
  position: relative;
  color: var(--color-saffron);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
}

.buyer-card__row-label--solution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--color-border);
}

.buyer-card__row-text {
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}


/* ========== CREDENTIALS BAND (industry page — qualification badges) ========== */

.credentials-band__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}

@media (max-width: 960px) {
  .credentials-band__row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .credentials-band__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.credentials-band__badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.credentials-band__badge:hover {
  border-color: var(--color-saffron);
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.04);
}

.credentials-band__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(224, 138, 44, 0.08);
  color: var(--color-saffron);
}

.credentials-band__icon .icon {
  stroke: currentColor;
}

.credentials-band__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.credentials-band__label {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.credentials-band__sub {
  margin-top: 2px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════
   WHOLESALE PAGE — coming-soon block + product catalog
   ══════════════════════════════════════════════════ */

/* Coming-soon placeholder */
.wholesale-soon {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}
.wholesale-soon p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}
.wholesale-soon__actions {
  margin-top: var(--space-8);
}

/* Catalog grid — product cards extend the base .card */
.wholesale-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.wholesale-card__media {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.wholesale-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wholesale-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  flex: 1;
}
.wholesale-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.wholesale-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(243, 144, 20, 0.12);
  color: var(--color-saffron-dark);
}
.wholesale-badge--alt {
  background: rgba(12, 24, 41, 0.06);
  color: var(--color-navy);
}
.wholesale-card__title {
  font-size: var(--text-xl);
  margin: 0;
}
.wholesale-card__specs,
.wholesale-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.wholesale-card__specs li,
.wholesale-card__meta li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}
.wholesale-card__specs li:last-child,
.wholesale-card__meta li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.wholesale-card__spec-label,
.wholesale-card__meta span {
  color: var(--color-text-muted);
}
.wholesale-card__spec-value,
.wholesale-card__meta strong {
  font-weight: 600;
  text-align: right;
}
.wholesale-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-4);
}
.wholesale-card__msrp {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.wholesale-card__msrp-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.wholesale-card__msrp-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
}
.wholesale-card .wholesale-request {
  width: 100%;
  justify-content: center;
}
.wholesale-empty {
  text-align: center;
  color: var(--color-text-muted);
}

/* Inquiry form block */
.wholesale-inquiry {
  max-width: 42rem;
  margin-inline: auto;
}
.wholesale-inquiry__intro {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* ── Wholesale: clickable cards, no-image, CTA ── */
.wholesale-card {
  cursor: pointer;
  text-align: left;
}
.wholesale-card:focus-visible {
  outline: 2px solid var(--color-saffron);
  outline-offset: 2px;
}
.wholesale-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}
.wholesale-card__cta {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-saffron-dark);
  white-space: nowrap;
}

/* ── Wholesale: product modal ── */
body.wh-modal-open { overflow: hidden; }

.wholesale-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.wholesale-modal[hidden] { display: none; }
.wholesale-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 24, 41, 0.6);
  backdrop-filter: blur(2px);
}
.wholesale-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin: auto;
  /* Never taller than the viewport — inner content scrolls instead. */
  max-height: calc(100vh - var(--space-8));
  max-height: calc(100dvh - var(--space-8));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wholesale-modal__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.wholesale-modal__close:hover { background: var(--color-border); }
.wholesale-modal__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.wholesale-modal__detail {
  padding: var(--space-8);
  border-right: 1px solid var(--color-border);
}
.wholesale-modal__form {
  padding: var(--space-8);
}
.wholesale-modal__form h3 { margin-top: 0; }

@media (max-width: 860px) {
  .wholesale-modal__content { grid-template-columns: 1fr; }
  .wholesale-modal__detail { border-right: 0; border-bottom: 1px solid var(--color-border); }
}

/* ── Wholesale: detail + gallery inside modal ── */
.wholesale-detail__title { margin: 0 0 var(--space-2); }
.wholesale-detail__msrp {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 var(--space-4);
}
.wholesale-detail__msrp span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-right: var(--space-2);
}
.wholesale-detail__info > .wholesale-card__badges { margin-bottom: var(--space-3); }
/* Divider between the specs list and the inventory/pallet rows. */
.wholesale-card__specs + .wholesale-card__meta {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.wholesale-gallery { margin-bottom: var(--space-6); }
.wholesale-gallery__main {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.wholesale-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.wholesale-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.wholesale-gallery__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-alt);
}
.wholesale-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wholesale-gallery__thumb.is-active { border-color: var(--color-saffron); }
