/* Satoshi by Indian Type Foundry, from Fontshare (ITF Free Font License), self-hosted.
   No 600 weight exists, so font-weight: 600 renders with the 700 file. */
@font-face { font-family: 'Satoshi'; src: url('assets/fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('assets/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('assets/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --black: #0a0a0a;
  --near-black: #131313;
  --white: #ffffff;
  --off-white: #f7f5f1;
  --ink: #111111;
  --gray: #5c5c5c;
  --gray-light: #9a968d;
  --line: #e6e2d9;
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold: #b6903f;
  --gold-bright: #e3c07a;
  --gold-deep: #8a6a26;
  --radius: 4px;
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--gray); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 14px;
}

.section-sub {
  max-width: 640px;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 192, 122, 0) 0%, rgba(227, 192, 122, 0.6) 30%, rgba(227, 192, 122, 0.6) 70%, rgba(227, 192, 122, 0) 100%);
  pointer-events: none;
}
.site-header.scrolled {
  background: #0a0a0a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner { height: 66px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px;
  height: 28px;
  object-fit: contain;
}
.logo-full {
  height: 38px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.scrolled .logo-full { height: 32px; }

/* Animated lotus: blooms open on load, then a gold shimmer passes over it */
.site-header .logo { gap: 9px; }
.lotus {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 66px;
  height: 47px;
  transition: width 0.3s ease, height 0.3s ease, filter 0.3s ease, transform 0.4s ease;
}
.lotus img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: lotus-bloom 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
.lotus::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 248, 225, 0) 35%, rgba(255, 248, 225, 0.95) 50%, rgba(255, 248, 225, 0) 65%);
  background-size: 300% 100%;
  background-position: 120% 0;
  -webkit-mask: url('assets/logos/derosa-icon.png') center / contain no-repeat;
  mask: url('assets/logos/derosa-icon.png') center / contain no-repeat;
  animation: lotus-shimmer 7s ease-in-out 1.8s infinite;
  pointer-events: none;
}
.logo:hover .lotus {
  filter: drop-shadow(0 0 8px rgba(227, 192, 122, 0.55));
  transform: translateY(-1px) scale(1.06);
}
.logo-wordmark {
  height: 32px;
  width: auto;
  transition: height 0.3s ease;
  animation: wordmark-in 1s ease 0.55s both;
}
.site-header.scrolled .lotus { width: 56px; height: 40px; }
.site-header.scrolled .logo-wordmark { height: 28px; }

@keyframes lotus-bloom {
  0% { clip-path: circle(0% at 50% 100%); transform: scale(0.82) translateY(3px); filter: brightness(1.8); }
  70% { filter: brightness(1.25); }
  100% { clip-path: circle(150% at 50% 100%); transform: none; filter: none; }
}
@keyframes lotus-shimmer {
  0% { background-position: 120% 0; }
  22%, 100% { background-position: -20% 0; }
}
@keyframes wordmark-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lotus img, .lotus::after, .logo-wordmark { animation: none; }
}
.logo-word {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.site-footer .logo-mark { width: 28px; height: 23px; }
.site-footer .logo-word { font-size: 1.2rem; color: var(--white); }

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

.nav a {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.74);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a:not(.nav-cta):hover,
.nav a.active { color: #fff; }
.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: right 0.25s ease;
}
.nav a:not(.nav-cta):hover::after,
.nav a.active::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 20px !important;
  border-radius: 2px;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.nav-cta::after {
  content: '\2192';
  transition: transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--gold-bright);
  box-shadow: 0 8px 24px rgba(227, 192, 122, 0.3);
}
.nav-cta:hover::after { transform: translateX(3px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-block { width: 100%; }

/* Hero */
.hero {
  background: var(--black);
  color: #fff;
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }
.hero-fleet {
  position: absolute;
  inset: 0;
}
.hero-fleet canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.97) 0%, rgba(10, 10, 10, 0.9) 30%, rgba(10, 10, 10, 0.45) 48%, rgba(10, 10, 10, 0) 62%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 16%, rgba(10, 10, 10, 0) 82%, rgba(10, 10, 10, 0.75) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 192, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 192, 122, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 40%, transparent 90%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-inner > * { max-width: 640px; }
.hero-sub { text-shadow: 0 1px 12px rgba(10, 10, 10, 0.8); }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}
.hero-sub {
  color: #c9c6bf;
  font-size: 1.15rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Trusted-by marquee */
.trusted-by {
  background: var(--near-black);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 28px 0 24px;
  overflow: hidden;
}
.trusted-by-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-light);
  margin: 0 0 20px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.marquee-logo {
  height: 32px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.25));
  transition: opacity 0.2s ease;
}
.marquee-logo-wide { max-width: 210px; }
.marquee-logo-tall { height: 42px; }
.marquee-item:hover .marquee-logo { opacity: 1; }

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (max-width: 899px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.72) 55%, rgba(10, 10, 10, 0.55) 100%);
  }
}

/* Stats */
.stats {
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 24px;
  gap: 24px;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold-deep);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }
.section-dark {
  background: var(--black);
  color: #fff;
}
.section-dark p { color: #b7b3aa; }
.section-dark .eyebrow { color: var(--gold-bright); }
.section-dark h2 { color: #fff; }

/* Cards / grid */
.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.fulfillment-grid { margin-top: 40px; }
.fulfillment-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.fulfillment-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.fulfillment-card:hover .fulfillment-link { opacity: 1; transform: translateX(0); }
.fulfillment-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fulfillment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.92) 100%);
}
.fulfillment-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fulfillment-badge {
  height: 28px;
  max-width: 130px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}
.fulfillment-content h3 { color: #fff; margin-bottom: 8px; font-size: 1.05rem; }
.fulfillment-content p {
  color: #c9c6bf;
  font-size: 0.88rem;
  margin-bottom: 0;
}
.fulfillment-link {
  display: block;
  margin-top: 14px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partners-grid {
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.partner-logo {
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 4px;
}
.partner-tag {
  font-size: 0.76rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.industries-grid { margin-top: 32px; }
.pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  padding: 18px 20px;
  text-align: center;
  font-weight: 500;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pill:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.approach-grid { margin-top: 44px; }
.step-num {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 14px;
}
.step p { font-size: 0.93rem; margin-bottom: 0; }

/* About */
.about-inner { max-width: 760px; position: relative; z-index: 1; }
.about-section { position: relative; overflow: hidden; }
.about-lotus {
  position: absolute;
  right: 5%;
  top: 50%;
  width: 380px;
  height: 269px;
  transform: translateY(-50%);
  background:
    linear-gradient(105deg, rgba(255, 244, 214, 0) 40%, rgba(255, 244, 214, 0.9) 50%, rgba(255, 244, 214, 0) 60%) 120% 0 / 300% 100% no-repeat,
    linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-mask: url('assets/logos/derosa-icon.png') center / contain no-repeat;
  mask: url('assets/logos/derosa-icon.png') center / contain no-repeat;
  opacity: 0.13;
  animation: about-lotus-breathe 9s ease-in-out infinite, about-lotus-shimmer 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes about-lotus-breathe {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.11; }
  50% { transform: translateY(-52%) scale(1.04); opacity: 0.17; }
}
@keyframes about-lotus-shimmer {
  0%, 30% { background-position: 120% 0, 0 0; }
  60%, 100% { background-position: -20% 0, 0 0; }
}
@media (max-width: 900px) {
  .about-lotus { width: 300px; height: 212px; right: -70px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-lotus { animation: none; }
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details a { color: var(--ink); font-weight: 600; }
.contact-details a:hover { color: var(--gold-deep); }
.contact-details strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 144, 63, 0.15);
}
.form-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-deep);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--gold);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p { margin: 0; font-size: 0.85rem; color: var(--gray-light); }

/* Industries dropdown */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s ease;
}
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: #fff; }
.nav-dd-btn { position: relative; }
.nav-dd-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: right 0.25s ease;
}
.nav-dd-btn:hover::after, .nav-dd.open .nav-dd-btn::after { right: 0; }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 120;
  display: grid;
  min-width: 290px;
  padding: 10px;
  border: 1px solid rgba(227, 192, 122, 0.3);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav-dd-menu a {
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}
/* Menu items: a gold line draws under the label on hover. */
.nav .nav-dd-menu a { justify-self: start; }
.nav .nav-dd-menu a::after { left: 12px; right: calc(100% - 12px); bottom: 5px; }
.nav .nav-dd-menu a:hover, .nav .nav-dd-menu a:focus-visible { color: #fff; }
.nav .nav-dd-menu a:hover::after, .nav .nav-dd-menu a:focus-visible::after { right: 12px; }
/* Solutions opens on hover or keyboard focus; its label still links to the
   solutions section. */
.nav-dd-menu--solutions { min-width: 300px; }
@media (min-width: 721px) {
  .nav-dd--hover:hover .nav-dd-menu,
  .nav-dd--hover:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 720px) {
  .nav-dd { width: 100%; }
  .nav-dd-btn { font-size: 1rem; }
  .nav-dd-menu {
    position: static;
    min-width: 0;
    display: none;
    margin-top: 8px;
    padding: 4px 0 4px 12px;
    border: none;
    border-left: 1px solid rgba(227, 192, 122, 0.35);
    box-shadow: none;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dd.open .nav-dd-menu, .nav-dd--hover .nav-dd-menu { display: grid; }
  .nav-dd-menu::before { display: none; }
}

/* Full footer */
.site-footer--full { padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline { margin: 0 0 26px; color: #d5d1c8; font-size: 0.98rem; max-width: 300px; }
.footer-h {
  margin: 0 0 14px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.footer-contact { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: 0.9rem; color: #bdb9b0; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-contact .footer-area { margin-top: 4px; font-size: 0.82rem; color: #8f8b83; }
.footer-cta { margin-bottom: 28px; padding: 12px 22px; }
.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.lang-toggle a {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle a:hover { color: #fff; }
.lang-toggle a.active { background: var(--gold); color: var(--black); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: #d5d1c8; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { margin: 0; font-size: 0.84rem; color: var(--gray-light); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { font-size: 0.84rem; color: #d5d1c8; }
.footer-legal a:hover { color: var(--gold-bright); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Content pages (About, Careers, policies) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(227, 192, 122, 0.1), rgba(227, 192, 122, 0) 70%),
    var(--black);
  color: #fff;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero-sub { color: #c9c6bf; font-size: 1.1rem; max-width: 620px; margin: 0; }
.prose { max-width: 760px; }
.prose-wide { max-width: 860px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--gray); font-size: 1rem; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold-deep); font-weight: 600; }
.prose .lead { font-size: 1.12rem; color: var(--ink); }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.role-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 28px;
}
.role { padding: 20px 0; border-top: 1px solid var(--line); }
.role h3 { font-size: 1.05rem; margin-bottom: 6px; }
.role p { margin: 0; font-size: 0.95rem; }
.cta-strip p a { color: var(--gold-deep); font-weight: 600; }
@media (max-width: 720px) {
  .role-list, .stats-grid--3 { grid-template-columns: 1fr; }
  .stats-grid--3 .stat { border-right: none; }
}

/* Warehouse explorer */
.explorer {
  background:
    radial-gradient(ellipse 70% 55% at 50% 65%, rgba(227, 192, 122, 0.08), rgba(227, 192, 122, 0) 70%),
    var(--black);
  color: #fff;
  padding-bottom: 40px;
  overflow: hidden;
}
.explorer h2 { color: #fff; }
.explorer .eyebrow { color: var(--gold-bright); }
.explorer-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 40px;
}
.explorer-steps::before,
.explorer-steps::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.explorer-steps::after {
  right: auto;
  width: calc(83.34% * var(--xp-p, 0));
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 0.5s ease;
}
.explorer-steps button {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}
.explorer-steps button:hover,
.explorer-steps button.active { color: #fff; }
.explorer-steps .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: var(--black);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.explorer-steps button.done .dot { border-color: var(--gold); }
.explorer-steps button.active .dot {
  border-color: var(--gold-bright);
  background: radial-gradient(circle, var(--gold-bright) 0 35%, var(--black) 40%);
  box-shadow: 0 0 0 6px rgba(227, 192, 122, 0.18), 0 0 18px rgba(227, 192, 122, 0.5);
}
.explorer-steps button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 4px; }
.explorer .section-sub { color: #d5d1c8; margin: 0 0 8px; }
.explorer-copy { min-height: 150px; margin: 28px auto 0; max-width: 900px; text-align: center; }
.explorer-copy h3 { margin: 0 0 10px; color: #fff; font-size: 1.6rem; }
.explorer-copy p { margin: 0; color: #d5d1c8; font-size: 1.08rem; }
.explorer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.explorer-links a { color: var(--gold-bright); font-weight: 600; font-size: 0.92rem; }
.explorer-links a:hover { color: #fff; }
.explorer-stage { max-width: 1240px; margin: 8px auto 0; padding: 0 12px; }
.explorer-svg { display: block; width: 100%; height: auto; overflow: visible; }

.explorer-svg .xp-zone,
.explorer-svg .xp-base { transition: opacity 0.5s ease; }
.explorer-svg:not([data-step="all"]) .xp-zone:not(.active) { opacity: 0.2; }
.explorer-svg:not([data-step="all"]) .xp-base { opacity: 0.6; }

.xp-label { opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.explorer-svg[data-step="docks"] .xp-label[data-step="docks"],
.explorer-svg[data-step="storage"] .xp-label[data-step="storage"],
.explorer-svg[data-step="picking"] .xp-label[data-step="picking"],
.explorer-svg[data-step="handling"] .xp-label[data-step="handling"],
.explorer-svg[data-step="projection"] .xp-label[data-step="projection"] { opacity: 1; transition-delay: 0.25s; }

.xp-trailer.arrive { animation: xp-arrive 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes xp-arrive {
  from { transform: translate(-156px, 90px); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
.xp-trailer-body { transition: opacity 0.6s ease; }
.xp-fade { transition: opacity 0.8s ease; }
/* Vehicles stay visible on every step: they tie the zones together. */
.explorer-svg:not([data-step="all"]) .xp-zone.xp-mover { opacity: 1; }
.explorer-svg[data-step="docks"] .xp-trailer-body { opacity: 0.32; }
.xp-lidar-dot { animation: xp-pulse 0.9s ease-in-out infinite; }
.xp-laser-beam { opacity: 0.9; }
.xp-carrier { animation: xp-pulse 1.6s ease-in-out infinite; }
.xp-vlm-light { animation: xp-pulse 2.2s ease-in-out infinite; }
@keyframes xp-pulse { 50% { opacity: 0.35; } }

.xp-sign, .xp-beam, .xp-lens { opacity: 0; transition: opacity 0.6s ease; }
.explorer-svg[data-step="projection"] .xp-sign { opacity: 1; }
.explorer-svg[data-step="projection"] .xp-beam { opacity: 0.85; }
.explorer-svg[data-step="projection"] .xp-lens { opacity: 1; }
.explorer-svg[data-step="projection"] .xp-sign:nth-child(2) { transition-delay: 0.3s; }
.explorer-svg[data-step="projection"] .xp-sign:nth-child(3) { transition-delay: 0.6s; }
.explorer-svg[data-step="projection"] .xp-sign:nth-child(4) { transition-delay: 0.9s; }
.explorer-svg[data-step="projection"] .xp-sign:nth-child(5) { transition-delay: 1.2s; }
.explorer-svg[data-step="projection"] .xp-dash { animation: xp-march 1s linear infinite; }
@keyframes xp-march { to { stroke-dashoffset: -10; } }
.explorer-svg[data-step="projection"] .xp-chevron { animation: xp-pulse 1.2s ease-in-out infinite; }
.explorer-svg[data-step="projection"] .xp-chevron:nth-child(2) { animation-delay: 0.2s; }
.explorer-svg[data-step="projection"] .xp-chevron:nth-child(3) { animation-delay: 0.4s; }
/* Aisle-end signs: on standby during the projection step, fully on when the
   motion sensor sees a forklift. */
.xp-asign, .xp-abeam, .xp-alens { opacity: 0; transition: opacity 0.35s ease; }
.explorer-svg[data-step="projection"] .xp-asign { opacity: 0.35; }
.explorer-svg[data-step="projection"] .xp-alens { opacity: 1; }
.explorer-svg .xp-asign.on, .explorer-svg .xp-alens.on { opacity: 1; }
.explorer-svg .xp-abeam.on { opacity: 0.85; }
.xp-sensor-led { transition: fill 0.2s ease; }

@media (max-width: 720px) {
  .explorer-steps { grid-template-columns: repeat(6, minmax(84px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .explorer-steps button { font-size: 0.8rem; }
  .explorer-stage { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .xp-carrier, .xp-vlm-light, .xp-dash, .xp-chevron, .xp-trailer.arrive { animation: none !important; }
}

/* Motion & polish */

.reveal { opacity: 0; }
.reveal.in {
  opacity: 1;
  animation: reveal-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms) backwards;
}
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary:hover { box-shadow: 0 10px 28px rgba(227, 192, 122, 0.28); }

.fulfillment-video { transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fulfillment-card:hover .fulfillment-video { transform: scale(1.05); }
.fulfillment-card:hover { box-shadow: 0 18px 40px rgba(10, 10, 10, 0.18); }

.partner-logo {
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-card:hover .partner-logo { filter: none; opacity: 1; }
.partner-card:hover { box-shadow: 0 10px 26px rgba(10, 10, 10, 0.06); }

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.step:hover { border-top-color: var(--gold); }
.step:hover .step-num { color: var(--gold); }
.step-num { transition: color 0.3s ease; }

/* Solution detail pages */
.detail-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
}
.detail-hero-media { position: absolute; inset: 0; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.6) 55%, rgba(10, 10, 10, 0.96) 100%);
}
.detail-hero-inner { position: relative; z-index: 1; padding: 72px 24px 56px; width: 100%; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
}
.breadcrumb:hover { color: var(--gold-bright); }
.detail-hero-badge {
  height: 34px;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}
.detail-hero h1 { color: #fff; max-width: 760px; }
.detail-hero-sub { color: #c9c6bf; max-width: 620px; font-size: 1.1rem; margin-bottom: 0; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon svg { width: 18px; height: 18px; }
.benefit-item h3 { font-size: 1rem; margin-bottom: 4px; }
.benefit-item p { font-size: 0.92rem; margin-bottom: 0; }

.pill-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.vendor-callout {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
}
.vendor-callout-logo { height: 44px; max-width: 180px; object-fit: contain; flex-shrink: 0; }
.vendor-callout p { margin-bottom: 0; font-size: 0.95rem; }

.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner .section-sub { margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; margin-top: 8px; }

.related-solutions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.related-solutions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.related-solutions a:hover { border-color: var(--gold); color: var(--gold-deep); }

@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .vendor-callout { flex-direction: column; align-items: flex-start; gap: 16px; }
  .detail-hero { min-height: 50vh; }
}

/* Solution pages */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.detail-hero { min-height: 74vh; }
.detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.15) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.96) 100%);
}
.detail-hero .hero-actions { margin-top: 28px; }
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.fact { padding: 20px 20px 0 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.fact-num {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold-bright);
}
.fact-label { display: block; margin-top: 6px; font-size: 0.8rem; color: #bdb9b0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.12);
  aspect-ratio: 4 / 3;
  background: var(--near-black);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.lead { font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 52px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(227, 192, 122, 0.12));
}
.steps li { position: relative; }
.step-dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--black);
  box-shadow: 0 0 0 7px var(--black), 0 0 24px rgba(227, 192, 122, 0.25);
  color: var(--gold-bright);
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.steps h3 { color: #fff; font-size: 1.02rem; }
.steps p { font-size: 0.92rem; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 10, 10, 0.08); border-color: rgba(182, 144, 63, 0.4); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(182, 144, 63, 0.1);
  color: var(--gold-deep);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; }
.feature p { font-size: 0.92rem; margin: 0; }
.feature-num {
  display: block;
  margin-bottom: 10px;
  font-family: 'Satoshi', sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-deep);
}

.spec-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.spec-wrap > *, .split > * { min-width: 0; }
.spec-media { margin-top: 24px; aspect-ratio: 4 / 3; }
.detail-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ROI calculator */
.roi {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: start;
}
.roi-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.roi fieldset {
  margin: 0;
  padding: 22px 22px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-width: 0;
}
.roi .roi-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 18px;
}
.roi legend {
  padding: 0 8px;
  margin-left: -8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.roi-field { display: block; margin-bottom: 16px; }
.roi-field > span:first-child {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}
.roi-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.roi-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 144, 63, 0.15); }
.roi-input i {
  padding: 0 10px;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--gray);
  white-space: nowrap;
}
.roi-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 11px 12px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
}
.roi-input.has-prefix input { padding-left: 0; }
.roi-input.has-suffix input { padding-right: 0; }
.roi-input input.invalid { color: #b3261e; }
.roi-input:has(input.invalid) { border-color: #b3261e; }
.roi-results {
  position: sticky;
  top: 96px;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  border: 1px solid rgba(227, 192, 122, 0.35);
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.18);
}
.roi-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.roi-total {
  margin: 6px 0 18px;
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.roi-list { margin: 0 0 24px; }
.roi-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.roi-list > div[hidden] { display: none; }
.roi-list dt { font-size: 0.88rem; color: #bdb9b0; }
.roi-list dd { margin: 0; font-weight: 600; color: #fff; text-align: right; white-space: nowrap; }
.roi-note { margin: 14px 0 0; font-size: 0.76rem; color: #8f8b83; }
@media (max-width: 960px) {
  .roi { grid-template-columns: 1fr; }
  .roi-results { position: static; }
}
@media (max-width: 560px) {
  .roi-inputs { grid-template-columns: 1fr; }
  .roi .roi-wide { grid-template-columns: 1fr; }
}

/* Video heroes: keep the footage clear, shade only behind the text */
.detail-hero--clear .detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.45) 30%, rgba(10, 10, 10, 0) 55%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, 0.6) 100%);
}
.detail-hero--clear h1,
.detail-hero--clear .detail-hero-sub,
.detail-hero--clear .breadcrumb,
.detail-hero--clear .eyebrow,
.detail-hero--clear .fact-num,
.detail-hero--clear .fact-label {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 18px rgba(0, 0, 0, 0.45);
}
.detail-hero--clear .detail-hero-sub,
.detail-hero--clear .fact-label { color: #f1eee8; }
@media (max-width: 720px) {
  .detail-hero--clear .detail-hero-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.55) 100%);
  }
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.system-card { aspect-ratio: 16 / 10; }
.system-card .fulfillment-content h3 { font-size: 1.3rem; }
.system-card .fulfillment-content p { font-size: 0.95rem; max-width: 460px; }
.system-card .fulfillment-link { opacity: 1; transform: none; }

.spec-reel {
  position: relative;
  aspect-ratio: 1300 / 400;
  margin: 28px 0 40px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--off-white);
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.1);
}
.spec-reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.spec-reel video.on { opacity: 1; }
.spec-wrap > div > .spec-subhead:first-child { margin-top: 0; }
@media (max-width: 720px) {
  .system-grid { grid-template-columns: 1fr; }
  .system-card { aspect-ratio: 4 / 3; }
  .spec-reel { aspect-ratio: 16 / 9; }
}
.quote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.quote {
  margin: 0;
  padding: 24px 26px;
  border-left: 2px solid var(--gold);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { margin: 0 0 10px; color: var(--ink); font-size: 0.98rem; font-style: italic; }
.quote cite { font-style: normal; font-size: 0.82rem; font-weight: 600; color: var(--gray); }
@media (max-width: 720px) { .quote-row { grid-template-columns: 1fr; } }
.spec-subhead {
  margin: 32px 0 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.spec-results { margin-top: 24px; }
.spec-results .spec-subhead { margin-bottom: 14px; }
.fit-note { margin-top: 18px; }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.cta-strip { padding: 64px 0; border-bottom: 1px solid var(--line); }
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { margin-bottom: 6px; }
.cta-strip p { margin: 0; }
.cta-strip .hero-actions { margin-top: 0; }
.related-section { padding-top: 64px; }
.related-section .related-grid { margin-top: 18px; }
.table-scroll {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th,
.spec-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tbody th { width: 42%; font-weight: 500; color: var(--gray); }
.spec-table td { font-weight: 600; color: var(--ink); }
.spec-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--off-white);
  white-space: nowrap;
}
.spec-table.models td,
.spec-table.models tbody th { white-space: nowrap; }
.spec-table.models tbody th { width: auto; color: var(--ink); font-weight: 600; }
.spec-table.models td { font-weight: 500; color: var(--gray); }
.spec-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--gray-light); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tag:hover { border-color: var(--gold); color: var(--gold-deep); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.compare-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.compare-card .eyebrow { margin-bottom: 8px; }
.compare-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--gray); font-size: 0.93rem; }
.compare-card li { margin-bottom: 6px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.related-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.related-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 30%, rgba(10, 10, 10, 0.9) 100%);
}
.related-card span {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #fff;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.related-card:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: none; }
  .split, .spec-wrap { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .steps, .feature-grid, .compare { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { min-height: 0; }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-right: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(227, 192, 122, 0.35);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta { width: 100%; justify-content: center; }
  .lotus { width: 56px; height: 40px; }
  .logo-wordmark { height: 27px; }
  .header-inner { height: 68px; }
  .hero { padding: 80px 0 64px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: none; }
}

/* AGV fleet showcase: one model per row, alternating sides */
.fleet-nav {
  position: sticky;
  top: 66px;
  z-index: 20;
  display: flex;
  gap: 6px;
  margin: 28px 0 8px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.fleet-nav::-webkit-scrollbar { display: none; }
.fleet-nav a {
  flex: none;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s, background .2s, border-color .2s;
}
.fleet-nav a:hover { color: var(--ink); border-color: var(--gray-light); }
.fleet-nav a.active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.fleet-model {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}
.fleet-model:last-child { border-bottom: 0; }
.fleet-model.reveal { --reveal-delay: 0ms !important; }
.fleet-model.flip .fleet-media { order: 2; }
.fleet-media {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 460px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 62%, #ffffff 0%, var(--off-white) 62%);
  border-radius: var(--radius);
}
.fleet-media::after {
  content: '';
  position: absolute;
  left: 18%; right: 18%; bottom: 13%;
  height: 14px;
  background: radial-gradient(ellipse, rgba(0,0,0,.16), transparent 70%);
}
.fleet-media img {
  position: relative;
  z-index: 1;
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.fleet-model:hover .fleet-media img { transform: scale(1.035); }
.fleet-type {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.fleet-copy h3 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.05; }
.fleet-copy > p { margin: 0 0 24px; color: var(--gray); max-width: 46ch; }
.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.fleet-specs div { background: var(--white); padding: 12px 14px; }
.fleet-specs dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-light); }
.fleet-specs dd { margin: 2px 0 0; font-weight: 600; font-size: 0.95rem; }
.fleet-specs div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .fleet-model { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .fleet-model.flip .fleet-media { order: 0; }
  .fleet-media { max-height: 340px; }
}
@media (max-width: 340px) { .fleet-specs { grid-template-columns: 1fr; } }

/* Header language switch */
.nav-lang {
  display: inline-flex;
  align-items: center;
  margin-left: -14px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.nav .nav-lang a {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}
.nav .nav-lang a::after { display: none; }
.nav .nav-lang a:hover { color: #fff; }
.nav .nav-lang a.active { background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (max-width: 720px) { .nav-lang { margin-left: 0; } }

/* Trailer loading page ------------------------------------------------- */
.featured-tech {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  color: #e9e5dc;
  font-size: 0.86rem;
}
.featured-tech img { height: 32px; width: auto; padding: 4px 12px; background: #fff; border-radius: 999px; }
.featured-tech strong { color: #fff; font-weight: 600; }
.metric-band { background: var(--black); border-bottom: 1px solid rgba(227, 192, 122, 0.25); }
.metric-band .fact-strip { margin: 0; padding: 30px 0; border-top: 0; }
.app-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.app-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  align-items: start;
  padding: 26px 28px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.app-card:hover { border-color: var(--gray-light); transform: translateY(-2px); }
.app-card[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 144, 63, 0.18); }
.app-card h3 { margin: 0; font-size: 1.3rem; }
.app-card .app-sub { margin: 0; color: var(--gray); font-weight: 500; }
.app-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--gray); font-size: 0.9rem; }
.app-status { margin: 18px 0 0; font-size: 0.92rem; color: var(--gray); }
.app-status a { color: var(--gold-deep); font-weight: 600; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.approach-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.approach-card .approach-logo { height: 34px; width: auto; align-self: flex-start; margin-bottom: 22px; object-fit: contain; }
.approach-card h3 { margin: 0 0 4px; font-size: 1.35rem; }
.approach-card .approach-by { margin: 0 0 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.approach-card p { color: var(--gray); }
.approach-card ul { margin: 0 0 22px; padding-left: 18px; color: var(--gray); font-size: 0.92rem; }
.approach-link { margin-top: auto; color: var(--gold-deep); font-weight: 600; }
.approach-link:hover { color: var(--ink); }
.px-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.px-filters button {
  padding: 8px 16px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.px-filters button[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.px-group { margin-top: 44px; scroll-margin-top: 110px; }
.px-group[hidden] { display: none; }
.px-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.px-group-head img { height: 28px; width: auto; }
.px-group-head h3 { margin: 0; font-size: 1.1rem; }
.px-group-head span { color: var(--gray); font-size: 0.9rem; }
.px-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.px-grid--2 { grid-template-columns: repeat(2, 1fr); }
.px-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.px-card[hidden] { display: none; }
.px-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 60%, #fff 0%, var(--off-white) 70%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.px-media img, .px-media video { width: 100%; height: 100%; object-fit: cover; }
.px-media.contain img { object-fit: contain; padding: 18px; }
.px-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--black); background: var(--gold-bright); border-radius: 999px; }
.px-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 18px; }
.px-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.px-tags span { padding: 2px 9px; font-size: 0.72rem; font-weight: 600; color: var(--gold-deep); border: 1px solid rgba(182, 144, 63, 0.4); border-radius: 999px; }
.px-body h4 { margin: 0 0 6px; font-family: 'Satoshi', sans-serif; font-size: 1.25rem; }
.px-body > p { margin: 0 0 16px; color: var(--gray); font-size: 0.92rem; }
.px-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 14px; background: var(--line); border: 1px solid var(--line); }
.px-specs div { background: #fff; padding: 9px 11px; }
.px-specs dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-light); }
.px-specs dd { margin: 2px 0 0; font-weight: 600; font-size: 0.88rem; }
.px-specs div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.px-card details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.px-card summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--gold-deep); }
.px-card details[open] summary { margin-bottom: 12px; }
.px-card details .spec-table { font-size: 0.82rem; }
.px-card details h5 { margin: 16px 0 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); }
.px-card details ul { margin: 0; padding-left: 18px; font-size: 0.85rem; color: var(--gray); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; }
.flow-node { position: relative; padding: 0 14px; text-align: center; }
.flow-node::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(227, 192, 122, 0.35));
}
.flow-node:last-child::before { display: none; }
.flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border: 1px solid rgba(227, 192, 122, 0.5);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(227, 192, 122, 0.06);
}
.flow-node.is-key .flow-icon { background: var(--gold); color: var(--black); border-color: var(--gold); }
.flow-icon svg { width: 30px; height: 30px; }
.flow-node h3 { margin: 0 0 6px; font-size: 1rem; color: #fff; }
.flow-node p { margin: 0; font-size: 0.86rem; color: #bdb9b0; }
.flow-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.flow-options div { padding: 20px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.flow-options h4 { margin: 0 0 6px; color: #fff; font-size: 1rem; }
.flow-options p { margin: 0; color: #bdb9b0; font-size: 0.88rem; }
@media (max-width: 960px) {
  .px-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow-node { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .flow-node .flow-icon { grid-row: span 2; margin: 0; }
  .flow-node::before { top: 68px; bottom: -26px; left: 33px; right: auto; width: 2px; height: auto; background: rgba(227, 192, 122, 0.45); }
  .flow-options { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .app-picker, .approach-grid, .px-grid, .px-grid--2 { grid-template-columns: 1fr; }
  .app-card { padding: 16px; }
}
.flow-options-title { margin: 56px 0 0; color: #fff; font-size: 1.15rem; }
.flow-options-title + .flow-options { margin-top: 18px; }
.metric-band .fact { padding-top: 0; padding-bottom: 0; }
.flow { list-style: none; padding: 0; }
.partner-logo--tile { max-height: 46px; border-radius: 4px; }

/* Isometric mini scenes ------------------------------------------------- */
.iso { display: block; width: 100%; height: 100%; }
.app-illus { display: flex; align-items: center; justify-content: center; width: 100%; height: 170px; padding: 12px 14px; background: radial-gradient(ellipse at 50% 60%, #fff 0%, var(--off-white) 75%); border-radius: var(--radius); }
.app-card { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px 22px; }
.app-card .app-illus { margin-bottom: 10px; height: 230px; }
.flow--illus .flow-scene { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 170px; height: 104px; margin: 0 auto 16px; padding: 6px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.flow--illus .flow-node::before { top: 52px; left: calc(50% + 90px); right: calc(-50% + 90px); }
.flow--illus .flow-node.is-key .flow-scene { border-color: var(--gold); background: rgba(227, 192, 122, 0.1); }
.flow--4 { grid-template-columns: repeat(4, 1fr); }

/* AGV application explorer -------------------------------------------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 18px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.app-tile:hover { border-color: var(--gray-light); transform: translateY(-2px); }
.app-tile[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 144, 63, 0.18); }
.app-tile .app-illus { margin-bottom: 10px; }
.app-tile-title { font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 1.08rem; }
.app-tile-sub { color: var(--gray); font-size: 0.9rem; }
.agv-result { margin-top: 26px; padding: 28px; background: var(--black); color: #e9e5dc; border-radius: var(--radius); }
.agv-result-panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.agv-result-panel[hidden] { display: none; }
.agv-result .eyebrow { color: var(--gold-bright); }
.agv-result h3 { margin: 0 0 8px; color: #fff; font-size: 1.5rem; }
.agv-result p { color: #d5d1c8; }
.agv-result-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agv-result-list a { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line-dark); border-radius: var(--radius); color: #d5d1c8; font-size: 0.85rem; transition: border-color .2s; }
.agv-result-list a:hover { border-color: var(--gold); }
.agv-result-list img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 3px; }
.agv-result-list strong { display: block; color: #fff; font-size: 0.95rem; }
.agv-clear { margin-top: 18px; padding: 0; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--gold-bright); background: none; border: 0; cursor: pointer; }
.agv-result .spec-note { margin-top: 10px; }

/* Equipment families and series cards ---------------------------------- */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.family-card { display: flex; flex-direction: column; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.family-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.family-media { aspect-ratio: 1 / 1; margin-bottom: 14px; background: radial-gradient(ellipse at 50% 60%, #fff 0%, var(--off-white) 75%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.family-media img { width: 80%; height: 80%; object-fit: contain; }
.family-card h3 { margin: 0 0 4px; font-size: 1.08rem; }
.family-card p { margin: 0 0 14px; color: var(--gray); font-size: 0.9rem; }
.series-link { margin-top: auto; color: var(--gold-deep); font-weight: 600; font-size: 0.9rem; }
.family-block { margin-top: 56px; scroll-margin-top: 100px; }
.family-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.family-head h3 { margin: 0; font-size: 1.3rem; }
.family-head span { color: var(--gray); }
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.series-grid--compact { grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; }
.series-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s, opacity .25s, box-shadow .25s; }
.series-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.series-media { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 60%, #fff 0%, var(--off-white) 75%); }
.series-media img { width: 78%; height: 86%; object-fit: contain; }
.series-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.series-body h4 { margin: 0; font-family: 'Satoshi', sans-serif; font-size: 1.15rem; }
.series-type { margin: 2px 0 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.series-body p { margin: 0 0 10px; color: var(--gray); font-size: 0.88rem; }
.series-body .series-meta { font-size: 0.8rem; color: var(--gray-light); }
.series-match { display: none; align-self: flex-start; margin-bottom: 8px; padding: 2px 9px; font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--black); background: var(--gold-bright); border-radius: 999px; }
[data-agv-filter] .series-card[data-series] { opacity: 0.38; }
[data-agv-filter] .series-card.is-match { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 144, 63, 0.16); }
[data-agv-filter] .series-card.is-match .series-match { display: inline-block; }

/* Technology details and DeRosa role ---------------------------------- */
.tech-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
.tech-details details { padding: 16px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.tech-details summary { cursor: pointer; color: #fff; font-weight: 600; }
.tech-details details[open] summary { margin-bottom: 8px; color: var(--gold-bright); }
.tech-details p { margin: 0; color: #bdb9b0; font-size: 0.92rem; }
.role-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: role; }
.role-steps li { position: relative; padding: 26px 24px 0 0; border-top: 2px solid var(--line); }
.role-steps li::before { content: ''; position: absolute; top: -2px; left: 0; width: 36px; height: 2px; background: var(--gold); }
.role-num { display: block; margin-bottom: 10px; font-family: 'Satoshi', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); }
.role-steps h3 { margin: 0 0 8px; font-size: 1.2rem; }
.role-steps p { margin: 0; color: var(--gray); font-size: 0.92rem; }

/* Series pages --------------------------------------------------------- */
.series-hero { padding: 48px 0 72px; color: #fff; background: radial-gradient(ellipse at 75% 55%, #2a2f36 0%, var(--black) 62%); }
.series-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.series-hero h1 { margin: 6px 0 4px; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.series-hero .eyebrow { color: var(--gold-bright); }
.series-hero-type { margin: 0 0 14px; font-size: 0.85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 28px; font-size: 0.82rem; color: #9a968d; }
.crumbs a { color: #d5d1c8; }
.crumbs a:hover { color: var(--gold-bright); }
.series-hero-media { display: grid; grid-template-columns: 1fr; gap: 12px; }
.series-hero-media.is-pair { grid-template-columns: 1fr 1fr; }
.series-hero-media figure { margin: 0; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius); background: radial-gradient(ellipse at 50% 55%, #fff 0%, #e9e6df 72%); }
.series-hero-media img { width: 86%; height: 82%; object-fit: contain; }
.series-hero-media figcaption { margin-bottom: 10px; font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.series-hero-media:not(.is-pair) figure { max-width: 440px; justify-self: center; width: 100%; }
.series-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.series-app { padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.series-app h3 { margin: 12px 0 4px; font-size: 1.08rem; }
.series-app p { margin: 0; color: var(--gray); font-size: 0.9rem; }
.compare-table thead th { vertical-align: bottom; text-align: left; font-family: 'Satoshi', sans-serif; font-size: 0.95rem; }
.compare-table thead img { display: block; width: 96px; height: 96px; object-fit: contain; margin-bottom: 6px; }
.series-note { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--off-white); color: var(--gray); font-size: 0.92rem; }
.compare-card a { color: var(--gold-deep); font-weight: 600; }

@media (max-width: 960px) {
  .app-grid, .series-apps { grid-template-columns: repeat(2, 1fr); }
  .family-grid, .series-grid { grid-template-columns: repeat(2, 1fr); }
  .flow--4 { grid-template-columns: 1fr; }
  .flow--illus .flow-node { grid-template-columns: 130px 1fr; }
  .flow--illus .flow-scene { width: 130px; height: 84px; grid-row: span 2; margin: 0; }
  .flow--illus .flow-node::before { top: 84px; left: 64px; }
  .tech-details { grid-template-columns: 1fr; }
  .role-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .series-hero-inner { grid-template-columns: 1fr; }
  .agv-result-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .app-grid, .series-apps, .family-grid, .series-grid, .series-grid--compact, .agv-result-list, .role-steps { grid-template-columns: 1fr; }
  .flow--illus .flow-node { grid-template-columns: 96px 1fr; }
  .flow--illus .flow-scene { width: 96px; height: 64px; }
  .flow--illus .flow-node::before { top: 64px; left: 47px; }
}
.partners-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }

/* Customer testimonials */
/* Homepage industries band: photo beside a two-column list. */
.industries-band { background: var(--black); color: #fff; }
.industries-band h2 { color: #fff; }
.industries-band .eyebrow { color: var(--gold-bright); }
.industries-band-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.industries-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.industries-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.industries-copy > p:not(.eyebrow) { margin: 0; color: #d5d1c8; font-size: 1.02rem; }
.industries-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; padding: 0; margin: 26px 0 0; }
.industries-list li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; }
.industries-list li::before { content: ""; flex: none; width: 18px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M1 5h15M12 1l4 4-4 4' fill='none' stroke='%23e3c07a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 860px) { .industries-band-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 480px) { .industries-list { grid-template-columns: 1fr; } }

/* Carousel: three cards per page on desktop, two on tablets, one on phones. */
.quote-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px; margin-top: 36px; }
.qc-viewport { grid-column: 2; overflow: hidden; padding: 6px 2px 16px; }
.qc-track { display: flex; gap: 20px; transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.qc-track .quote-card { flex: 0 0 calc((100% - 40px) / 3); margin: 0; display: flex; flex-direction: column; }
.qc-track .quote-card blockquote { margin-bottom: 20px; }
.qc-track .quote-card figcaption { margin-top: auto; }
.qc-nav { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.qc-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qc-nav:hover { border-color: var(--gold); color: var(--gold-deep); }
.qc-nav:focus-visible, .qc-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.qc-dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.qc-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #d8d3c8; cursor: pointer; transition: width 0.3s ease, background 0.3s ease; }
.qc-dots button[aria-selected="true"] { width: 24px; background: var(--gold); }
@media (max-width: 960px) { .qc-track .quote-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) {
  .quote-carousel { grid-template-columns: minmax(0, 1fr); }
  .qc-nav { display: none; }
  .qc-viewport { grid-column: 1; }
  .qc-track .quote-card { flex-basis: 100%; }
}
/* The customer's words lead each card: a topic label names the application,
   with no supplier branding. */
.quote-card { break-inside: avoid; margin: 0 0 20px; padding: 26px 28px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.quote-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 10, 10, 0.07); }
.quote-topic { display: inline-block; margin-bottom: 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote::before { content: "\201C"; display: block; height: 30px; font-family: 'Satoshi', sans-serif; font-size: 3.4rem; line-height: 1; color: var(--gold); }
.quote-card blockquote p { margin: 0; font-family: 'Satoshi', sans-serif; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.quote-card figcaption { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; align-items: end; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.86rem; }
.quote-card figcaption strong { grid-column: 1; color: var(--ink); }
.quote-card figcaption span { grid-column: 1; color: var(--gray); }
.quote-card figcaption em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 0.7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.quote-card figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Homepage solution cards: six equal cards, three per row */
#solutions .container { max-width: 1320px; }
.solution-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 460px; gap: 20px; margin-top: 44px; }
.sol-card { aspect-ratio: auto; height: 100%; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 10px 30px rgba(10, 10, 10, 0.12); isolation: isolate; }
.sol-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(227, 192, 122, 0); transition: box-shadow .35s ease; }
.sol-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px rgba(10, 10, 10, 0.28); }
.sol-card:hover::after { box-shadow: inset 0 0 0 1.5px rgba(227, 192, 122, 0.85); }
.sol-card .fulfillment-video { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter .6s ease; filter: saturate(0.92); }
.sol-card:hover .fulfillment-video { transform: scale(1.06); filter: saturate(1.05); }
.sol-card .fulfillment-overlay { background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.2) 40%, rgba(10, 10, 10, 0.88) 100%), linear-gradient(90deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0) 60%); }
.sol-index { position: absolute; top: 22px; left: 26px; z-index: 1; font-family: 'Satoshi', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: .12em; color: var(--gold-bright); }
.sol-index::after { content: ''; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-left: 10px; background: rgba(227, 192, 122, 0.7); transition: width .35s ease; }
.sol-card:hover .sol-index::after { width: 56px; }
.sol-card .fulfillment-content { padding: 30px 30px 28px; }
.sol-card .fulfillment-content h3 { margin-bottom: 10px; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.sol-card .fulfillment-content p { max-width: 460px; font-size: 0.95rem; line-height: 1.55; color: #d9d5cc; }
.sol-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: #fff; font-size: 0.86rem; font-weight: 600; }
.sol-arrow { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(10, 10, 10, 0.35); transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease; }
.sol-arrow svg { width: 16px; height: 16px; }
.sol-card:hover .sol-arrow { background: var(--gold); border-color: var(--gold); color: var(--black); transform: translateX(4px); }
@media (max-width: 960px) {
  .solution-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 400px; }
  .solution-bento .sol-card:nth-child(n) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .solution-bento { grid-template-columns: 1fr; grid-auto-rows: 380px; gap: 16px; }
  .sol-card .fulfillment-content { padding: 24px 22px 22px; }
}
.iso-tray-anim { animation: iso-tray 5s ease-in-out infinite; }
@keyframes iso-tray { 0%, 15% { transform: translate(1.9px, -1.1px); } 35%, 75% { transform: none; } 95%, 100% { transform: translate(1.9px, -1.1px); } }
@media (prefers-reduced-motion: reduce) { .iso-tray-anim { animation: none; } }

/* Goods-to-person page */
.gtp-how { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gtp-how li { position: relative; }
.gtp-how .app-illus { height: 200px; margin-bottom: 18px; }
.gtp-step { display: inline-block; margin-bottom: 6px; font-family: 'Satoshi', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); }
.gtp-how h3 { margin: 0 0 6px; font-size: 1.25rem; }
.gtp-how p { margin: 0; color: var(--gray); }
.gtp-how li:not(:last-child)::after { content: '→'; position: absolute; top: 88px; right: -19px; color: var(--gold); font-size: 1.3rem; }
.app-grid--4 { grid-template-columns: repeat(4, 1fr); }
.series-grid--5 { grid-template-columns: repeat(5, 1fr); margin-top: 32px; }
.series-grid--5 .series-media .app-illus { height: 100%; background: none; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.benefit { padding-top: 20px; border-top: 2px solid var(--line); }
.benefit h3 { margin: 0 0 6px; font-size: 1.1rem; }
.benefit p { margin: 0; color: var(--gray); font-size: 0.92rem; }
.config-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.config-grid .compare-card p { margin: 0; color: var(--gray); }
.series-hero-media.is-video { display: block; }
.series-hero-media.is-video video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
@media (max-width: 1100px) { .series-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .gtp-how { grid-template-columns: 1fr; }
  .gtp-how li::after { display: none; }
  .app-grid--4, .benefit-grid, .config-grid { grid-template-columns: repeat(2, 1fr); }
  .series-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .app-grid--4, .benefit-grid, .config-grid, .series-grid--5 { grid-template-columns: 1fr; } }
.series-grid--5 .series-media { aspect-ratio: auto; height: 230px; padding: 14px; background: radial-gradient(ellipse at 50% 60%, #fff 0%, #f1efea 80%); }
.series-grid--5 .series-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.series-hero-media figure img { mix-blend-mode: multiply; }

/* Generic solution hubs */
.series-grid--hub { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.series-grid--hub .series-media { aspect-ratio: auto; height: 190px; }
.series-grid--hub .series-media .app-illus { height: 100%; background: none; }
.hub-group { margin-top: 40px; }
.hub-group + .series-grid--hub { margin-top: 0; }
.agv-result-list--text a { padding: 12px 14px; }
.series-hero-media figure.is-illus { background: radial-gradient(ellipse at 50% 55%, #fff 0%, #e9e6df 72%); }
.series-hero-media figure.is-illus .app-illus { height: 100%; background: none; padding: 24px; }
@media (max-width: 960px) { .series-grid--hub { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .series-grid--hub { grid-template-columns: 1fr; } }

/* Projection systems page: photo-led sections */
.series-media--photo { background: var(--near-black); }
.series-media--photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pj-photo { margin: 0; }
.pj-photo--diagram { background: #c8c8c8; }
.pj-photo--diagram img { object-fit: contain; }
.pj-split-rev { grid-template-columns: 1fr 1.05fr; }
.pj-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.pj-facts div { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pj-facts div:last-child { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.pj-facts strong { font-family: 'Satoshi', sans-serif; font-size: 1rem; }
.pj-facts span { color: var(--gray); font-size: 0.9rem; }
.pj-steps { list-style: none; display: grid; gap: 18px; padding: 0; margin: 26px 0 0; }
.pj-steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.pj-steps li > span, .pj-plan-steps li > span, .pj-app-num { font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--gold-deep); }
.pj-steps li > span { padding-top: 3px; }
.pj-steps h3 { margin: 0 0 4px; font-size: 1.12rem; }
.pj-steps p { margin: 0; color: var(--gray); }
.pj-app-grid .app-tile { justify-content: flex-start; gap: 6px; padding-top: 22px; padding-bottom: 22px; }
.pj-app-num { margin-bottom: 8px; }
.pj-compare-wrap { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pj-compare thead th { font-family: 'Satoshi', sans-serif; font-size: 0.82rem; }
.pj-compare tbody th { width: 18%; color: var(--ink); font-weight: 600; }
.pj-compare td { font-weight: 400; color: var(--gray); }
.pj-compare td:last-child { color: var(--ink); font-weight: 500; background: rgba(227, 192, 122, 0.1); }
.pj-compare thead th:last-child { color: var(--gold-deep); background: rgba(227, 192, 122, 0.1); }
.pj-signs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.pj-panel { padding: 22px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pj-panel h3 { margin: 18px 0 6px; font-size: 1.15rem; }
.pj-panel p { margin: 0; color: var(--gray); font-size: 0.93rem; }
.pj-gobos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pj-gobos img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 50%; }
.pj-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pj-products figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.pj-products img { width: 100%; height: 140px; object-fit: contain; }
.pj-products figcaption { font-size: 0.78rem; font-weight: 600; color: var(--gray); }
.pj-plan { margin: 34px 0 0; padding: 14px; background: #fff; border-radius: var(--radius); }
.pj-plan img { display: block; width: 100%; height: auto; border-radius: 2px; }
.pj-plan figcaption { margin-top: 10px; font-size: 0.8rem; color: var(--gray); }
.pj-plan-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 34px 0 0; }
.pj-plan-steps h3 { margin: 8px 0 4px; font-size: 1.08rem; color: #fff; }
.pj-plan-steps p { margin: 0; color: #bdb9b0; font-size: 0.92rem; }
.pj-plan-steps li > span { color: var(--gold-bright); }
@media (max-width: 860px) {
  .pj-split-rev { grid-template-columns: 1fr; }
  .pj-split-rev > figure { order: 2; }
  .pj-signs-grid, .pj-facts { grid-template-columns: 1fr; }
  .pj-plan-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .pj-plan-steps { grid-template-columns: 1fr; } }
.pj-systems { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pj-systems { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .pj-systems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pj-systems { grid-template-columns: minmax(0, 1fr); } }
.series-hero-media figure.pj-hero-photo { overflow: hidden; background: var(--near-black); }
.series-hero-media .pj-hero-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pj-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.pj-stats div { display: grid; gap: 4px; padding: 16px 18px; border-left: 2px solid var(--gold); background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; }
.pj-stats strong { font-family: 'Satoshi', sans-serif; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.pj-stats span { font-size: 0.85rem; color: var(--gray); }
.pj-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.pj-before-after figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); }
.pj-before-after img { width: 100%; height: 100%; object-fit: cover; }
.pj-before-after figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 2px; background: rgba(10, 10, 10, 0.82); color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pj-before-after figure:last-child figcaption { background: var(--gold); color: var(--black); }
.pj-photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.pj-photo-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pj-photo-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pj-photo-card > div { padding: 18px 20px 22px; }
.pj-photo-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.pj-photo-card p { margin: 0; color: var(--gray); font-size: 0.92rem; }
@media (max-width: 860px) {
  .pj-stats, .pj-photo-cards { grid-template-columns: 1fr; }
  .pj-before-after { grid-template-columns: 1fr; }
}
.series-hero-media .pj-hero-photo { position: relative; }
.pj-credit { position: absolute; right: 8px; bottom: 8px; margin: 0 !important; padding: 3px 8px; border-radius: 2px; background: rgba(10, 10, 10, 0.7); color: #e8e4dc !important; font-size: 0.68rem !important; font-weight: 500 !important; }
.pj-compare--multi tbody th { width: auto; white-space: nowrap; }
.pj-compare--multi tbody th a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.pj-compare--multi td:last-child { background: none; color: var(--ink); font-weight: 500; }
.pj-compare--multi thead th:last-child { background: var(--off-white); color: var(--gold-deep); }
.series-media--photo:has(img[src*="cantilever"]) { background: #fff; }
.series-media--photo img[src*="cantilever"], .pj-hero-photo img[src*="cantilever"] { object-fit: contain; background: #fff; }
.series-hero-media figure.pj-hero-photo:has(img[src*="cantilever"]) { background: #fff; }

/* Chat bubble, fixed to the bottom right on every page */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-bubble { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); color: var(--black); box-shadow: 0 10px 28px rgba(10, 10, 10, 0.28); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.chat-bubble:hover { transform: translateY(-2px); background: var(--gold-bright); }
.chat-bubble:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.chat-bubble svg { width: 26px; height: 26px; fill: currentColor; }
.chat-widget.open .chat-bubble { background: var(--black); color: var(--gold-bright); }
.chat-panel { width: min(340px, calc(100vw - 44px)); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 22px 50px rgba(10, 10, 10, 0.25); animation: chat-in 0.22s ease; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 16px 16px 14px; background: var(--black); color: #fff; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: #1b1b1b url('assets/logos/derosa-icon.png') center / 70% no-repeat; border: 1px solid rgba(227, 192, 122, 0.4); }
.chat-title { margin: 0; font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 1rem; }
.chat-sub { margin: 4px 0 0; font-size: 0.82rem; color: #bdb9b0; }
.chat-close { padding: 0 4px; border: 0; background: none; color: #bdb9b0; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.chat-close:hover { color: #fff; }
.chat-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 0; }
.chat-action { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.chat-action span { font-weight: 400; font-size: 0.74rem; color: var(--gray); overflow: hidden; text-overflow: ellipsis; }
.chat-action:hover { border-color: var(--gold); }
.chat-form { display: grid; gap: 8px; padding: 14px 16px 16px; }
.chat-form input, .chat-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 0.9rem; resize: vertical; }
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--gold); }
.chat-form .btn { width: 100%; justify-content: center; }
.chat-note { margin: 0; min-height: 1em; font-size: 0.78rem; color: var(--gold-deep); }
@media (max-width: 480px) { .chat-widget { right: 14px; bottom: 14px; } .chat-bubble { width: 52px; height: 52px; } }
@media print { .chat-widget { display: none; } }
.approach-card .approach-logo--lg { height: 48px; margin-bottom: 10px; }
.approach-maker { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 0.72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.approach-maker img { height: 16px; width: auto; opacity: 0.85; }

/* Projection page: animated exploded view of a gobo projector. The parts
   start stacked, slide apart along the optical axis, the beam and the
   projected sign light up, then the projector reassembles. */
.pj-explode { position: relative; container-type: inline-size; background: #bebec2; }
.pj-explode .pj-x-base { width: 100%; height: 100%; object-fit: cover; }
.pj-explode img.pj-x-part, .pj-explode img.pj-x-beam { position: absolute; height: auto; max-width: none; object-fit: fill; }
.pj-x-part { animation: pj-explode 8s ease-in-out infinite; will-change: transform; }
.pj-x-beam, .pj-x-label { animation: pj-light 8s ease-in-out infinite; }
.pj-x-label { position: absolute; transform: translateY(-15%); font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 1.65cqw; line-height: 1.1; color: #2a2a2e; white-space: nowrap; }
@keyframes pj-explode {
  0%, 14% { transform: translate(calc(var(--dx) / 6.4 * 1cqw), calc(var(--dy) / 6.4 * 1cqw)); }
  36%, 78% { transform: none; }
  94%, 100% { transform: translate(calc(var(--dx) / 6.4 * 1cqw), calc(var(--dy) / 6.4 * 1cqw)); }
}
@keyframes pj-light {
  0%, 36% { opacity: 0; }
  44%, 74% { opacity: 1; }
  82%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pj-x-part, .pj-x-beam, .pj-x-label { animation: none; }
}

/* Photo slideshow in place of a video: rests on the first photo, and runs a
   slow zoom with crossfades only while the card is hovered or focused. */
.kb-slides { position: absolute; inset: 0; overflow: hidden; background: var(--near-black); }
.kb-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.kb-slides img:first-child { opacity: 1; }
@media (hover: hover) {
  a:hover > .kb-slides img, a:focus-visible > .kb-slides img { animation: kb-slide 20s linear infinite; }
  a:hover > .kb-slides img:nth-child(1), a:focus-visible > .kb-slides img:nth-child(1) { animation-delay: -1s; }
  a:hover > .kb-slides img:nth-child(2), a:focus-visible > .kb-slides img:nth-child(2) { animation-delay: 4s; }
  a:hover > .kb-slides img:nth-child(3), a:focus-visible > .kb-slides img:nth-child(3) { animation-delay: 9s; }
  a:hover > .kb-slides img:nth-child(4), a:focus-visible > .kb-slides img:nth-child(4) { animation-delay: 14s; }
}
@keyframes kb-slide {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  32% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) { .kb-slides img { animation: none; } }

/* Software screenshots: tablet captures shown whole on the warm off-white they were flattened onto. */
.sw-shot { background: #f7f5f1; display: flex; align-items: center; justify-content: center; }
.split-media.sw-shot img { width: 100%; height: 100%; padding: 12px; object-fit: contain; mix-blend-mode: normal; }
.series-media--photo.sw-card-shot { background: #f7f5f1; padding: 10px 14px 0; }
.series-media--photo.sw-card-shot img { object-fit: contain; object-position: center top; }

/* Every top-level nav item opens its menu on hover, with the gold underline held
   on the label while the menu is open. On phones a caret toggles each menu. */
.nav-dd--hover:hover > .nav-dd-link, .nav-dd--hover:focus-within > .nav-dd-link { color: #fff; }
.nav-dd--hover:hover > .nav-dd-link::after, .nav-dd--hover:focus-within > .nav-dd-link::after { right: 0; }
.nav-dd-menu--partners { min-width: 230px; }
.nav-dd-caret { display: none; }
@media (max-width: 720px) {
  .nav-dd--hover { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-dd--hover > .nav-dd-link { flex: 1; }
  .nav-dd-caret { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .nav-dd-caret::before { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--gold-bright); border-bottom: 1.5px solid var(--gold-bright); transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
  .nav-dd.open .nav-dd-caret::before { transform: translateY(2px) rotate(-135deg); }
  .nav-dd--hover .nav-dd-menu { display: none; flex-basis: 100%; }
  .nav-dd--hover.open .nav-dd-menu { display: grid; }
}
a.partner-card { color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.partner-card:hover { transform: translateY(-3px); border-color: var(--gold); }

/* About: service offering */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.svc-card { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s ease, transform 0.2s ease; }
.svc-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.svc-num { font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--gold-deep); }
.svc-card h3 { margin: 8px 0 6px; font-size: 1.02rem; }
.svc-card p { margin: 0; font-size: 0.9rem; color: var(--gray); }
.svc-agreement { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; margin-top: 28px; padding: 30px 32px; border-left: 3px solid var(--gold); background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; }
.svc-agreement h3 { margin: 0 0 8px; }
.svc-agreement p { margin: 0; color: var(--gray); }
.svc-agreement .check-list { margin: 0; grid-template-columns: 1fr 1fr; }
.about-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.about-partners a { display: flex; align-items: center; justify-content: center; height: 96px; padding: 18px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s ease, transform 0.2s ease; }
.about-partners a:hover { border-color: var(--gold); transform: translateY(-2px); }
.about-partners img { max-height: 48px; max-width: 100%; object-fit: contain; }
.page-hero .hero-actions { margin-top: 26px; }
@media (max-width: 960px) { .svc-grid, .about-partners { grid-template-columns: repeat(2, 1fr); } .svc-agreement { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-grid, .svc-agreement .check-list { grid-template-columns: 1fr; } }

/* Industry pages */
.ind-priorities { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 14px 0 46px; }
.ind-priorities li { padding: 9px 16px; border: 1px solid rgba(227, 192, 122, 0.45); border-radius: 999px; color: #fff; font-family: 'Satoshi', sans-serif; font-weight: 500; font-size: 0.92rem; }
.ind-solutions .series-body p { margin-top: 6px; }
.related-grid--ind { grid-template-columns: repeat(7, 1fr); gap: 12px; }
.related-grid--ind .related-card { aspect-ratio: 3 / 4; min-height: 0; }
@media (max-width: 960px) { .related-grid--ind { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .related-grid--ind { grid-template-columns: repeat(2, 1fr); } }
.qc-more { text-align: center; margin: 34px 0 0; }

/* Testimonials & case studies page */
.tm-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.tm-quotes .quote-card { height: 100%; margin: 0; }
.tm-pull { margin: 26px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); }
.tm-pull p { margin: 0 0 6px; font-family: 'Satoshi', sans-serif; font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.tm-pull cite { font-style: normal; font-size: 0.85rem; color: var(--gray); }
.cs-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; }
.cs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 0.88rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.cs-chip span { font-size: 0.75rem; color: var(--gray-light); }
.cs-chip:hover { border-color: var(--gold); }
.cs-chip.is-active { background: var(--near-black); border-color: var(--near-black); color: #fff; }
.cs-chip.is-active span { color: var(--gold-bright); }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cs-card { display: flex; flex-direction: column; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.cs-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 10, 10, 0.08); }
.cs-card[hidden] { display: none; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cs-head img { height: 22px; width: auto; max-width: 120px; object-fit: contain; }
.cs-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); text-align: right; }
.cs-card h3 { margin: 0; font-size: 1.12rem; }
.cs-ind { margin: 2px 0 12px; font-size: 0.84rem; color: var(--gray-light); }
.cs-chal { margin: 0 0 16px; font-size: 0.9rem; color: var(--gray); }
.cs-chal strong { color: var(--ink); font-weight: 600; }
.cs-results { list-style: none; display: grid; gap: 10px; padding: 14px 0 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.cs-results li { display: grid; grid-template-columns: minmax(92px, auto) 1fr; gap: 12px; align-items: baseline; }
.cs-results strong { font-family: 'Satoshi', sans-serif; font-size: 1.12rem; color: var(--ink); white-space: nowrap; }
.cs-results span { font-size: 0.86rem; color: var(--gray); }
.cs-src { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); }
.cs-src:hover { color: var(--ink); }
.er-study { margin-top: 40px; align-items: center; }
.er-study h3 { margin: 0 0 12px; color: #fff; font-size: 1.3rem; }
.er-study p { color: #cfcac0; }
.er-study .check-list li { color: #e9e5dc; }
.er-cite { font-size: 0.84rem; color: #a9a59c !important; }
.er-cite a { color: var(--gold-bright); }
.er-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.er-card { padding: 22px; border: 1px solid rgba(227, 192, 122, 0.25); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); }
.er-card strong { display: block; font-family: 'Satoshi', sans-serif; font-size: 1.9rem; color: var(--gold-bright); line-height: 1.1; }
.er-card p { margin: 8px 0 12px; font-size: 0.9rem; color: #cfcac0; }
.er-card a { font-size: 0.8rem; color: #a9a59c; }
.er-card a:hover { color: var(--gold-bright); }
.er-sub { margin: 48px 0 0; color: #fff; }
.er-stats { grid-template-columns: repeat(4, 1fr); }
.er-stats div { background: rgba(255, 255, 255, 0.04); }
.er-stats strong { color: #fff; }
.er-stats span { color: #bdb9b0; }
@media (max-width: 960px) { .tm-quotes, .cs-grid, .er-grid { grid-template-columns: repeat(2, 1fr); } .er-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tm-quotes, .cs-grid, .er-grid, .er-stats { grid-template-columns: 1fr; } }
.form-note.is-error { color: #b3261e; }

/* Footer: the lotus leads the brand block, well above header size. */
.footer-brand .logo { gap: 14px; align-items: center; }
.footer-brand .lotus { width: 116px; height: 80px; }
@media (max-width: 720px) { .footer-brand .lotus { width: 92px; height: 64px; } }

/* Explorer steps on phones: all six fit on one row, no sideways scroll. */
@media (max-width: 560px) {
  .explorer-steps { grid-template-columns: repeat(6, 1fr); overflow: visible; padding-bottom: 0; margin-top: 28px; }
  .explorer-steps button { gap: 8px; padding: 0; font-size: 0.66rem; letter-spacing: 0; }
  .explorer-steps .dot { width: 18px; height: 18px; }
  .explorer-steps::before, .explorer-steps::after { top: 8px; }
  .explorer-steps button.active .dot { box-shadow: 0 0 0 4px rgba(227, 192, 122, 0.18), 0 0 12px rgba(227, 192, 122, 0.5); }
}

/* AI assistant panel (shares the chat bubble and header styles above) */
.ai-panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 120px)); }
.ai-panel[hidden] { display: none; }
.ai-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--off-white); }
.ai-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 0.9rem; line-height: 1.5; overflow-wrap: anywhere; }
.ai-msg p { margin: 0; }
.ai-msg p + p, .ai-msg p + ul, .ai-msg ul + p { margin-top: 8px; }
.ai-msg ul { margin: 0; padding-left: 18px; }
.ai-msg a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; }
.ai-msg--assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.ai-msg--user { align-self: flex-end; background: var(--near-black); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.is-typing::after { content: ''; display: inline-block; width: 28px; height: 8px; background: radial-gradient(circle, var(--gold) 3px, transparent 3.5px) 0 50% / 10px 8px repeat-x; animation: ai-dots 1s steps(3) infinite; }
@keyframes ai-dots { from { width: 8px; } to { width: 28px; } }
.ai-chips { display: grid; gap: 6px; margin-top: 2px; }
.ai-chips button, .ai-handoff { justify-self: start; padding: 8px 12px; border: 1px solid var(--gold); border-radius: 999px; background: #fff; font: inherit; font-size: 0.82rem; color: var(--ink); text-align: left; cursor: pointer; transition: background 0.2s ease; }
.ai-chips button:hover { background: #fbf6ea; }
.ai-handoff { align-self: flex-start; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.ai-handoff:hover { background: var(--gold-bright); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-form textarea { flex: 1; min-height: 40px; max-height: 120px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.9rem; resize: none; }
.ai-form textarea:focus { outline: none; border-color: var(--gold); }
.ai-send { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 8px; background: var(--gold); cursor: pointer; }
.ai-send svg { width: 18px; height: 18px; fill: var(--black); }
.ai-send:disabled { opacity: 0.5; cursor: default; }
.ai-foot { display: flex; align-items: center; gap: 10px; padding: 0 12px 10px; background: #fff; }
.ai-foot span { font-size: 0.68rem; line-height: 1.3; color: var(--gray-light); }
.ai-person { flex-shrink: 0; padding: 6px 10px; border: 1px solid var(--near-black); border-radius: 6px; background: #fff; font: inherit; font-size: 0.78rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.ai-person:hover { background: var(--near-black); color: #fff; }
@media (max-width: 480px) { .ai-panel { height: calc(100vh - 100px); } }

/* Live chat additions: engineer messages, status notes, contact form */
.ai-msg--agent { border: 1px solid var(--gold); border-left-width: 3px; }
.ai-who { display: block; margin-bottom: 3px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-deep); }
.ai-note { align-self: center; max-width: 92%; padding: 2px 8px; font-size: 0.74rem; color: var(--gray); text-align: center; }
.ai-contact { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--gold); border-radius: 10px; background: #fff; }
.ai-contact p { margin: 0 0 2px; font-size: 0.82rem; }
.ai-contact input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 0.86rem; }
.ai-contact input:focus { outline: none; border-color: var(--gold); }
.ai-contact .ai-handoff { justify-self: stretch; text-align: center; }
