/* =====================================================
   PACE MAYO — LIGHT PREMIUM DESIGN SYSTEM v2
   Warm Material Lab / Premium Product Reveal
   ===================================================== */

/* ── Localization anti-flash guard ───────────────────────
   The inline bootstrap in each page's <head> sets
   data-i18n-cloak ONLY for non-English visitors, so the
   default English render never flashes. js/i18n.js removes
   it after translating (with a JS safety timeout as backup). */
html[data-i18n-cloak] body { opacity: 0; }

/* ── Design Tokens ───────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-ivory:    #F8F5F0;
  --bg-warm:     #F0EDE7;
  --bg-stone:    #E8E4DC;
  --bg-white:    #FFFFFF;
  --bg-dark:     #191715;
  --bg-dark-alt: #211E1B;

  /* Borders */
  --line:        rgba(26, 23, 21, 0.09);
  --line-2:      rgba(26, 23, 21, 0.16);
  --line-inv:    rgba(255, 255, 255, 0.09);

  /* Text — light surfaces */
  --ink:         #1A1715;
  --ink-2:       #4A4744;
  --ink-3:       #6A6762;
  --ink-4:       #9A9690;

  /* Text — dark surfaces */
  --inv:         #EDEAE4;
  --inv-2:       #787470;
  --inv-3:       #484542;

  /* Accent — muted forest green */
  --green:       #3A7852;
  --green-mid:   #2B5D3E;
  --green-dim:   rgba(58, 120, 82, 0.09);
  --green-line:  rgba(58, 120, 82, 0.24);

  /* Material panel colors */
  --mat-face:    #EBE4D5;
  --mat-mid:     #E1D9CB;
  --mat-back:    #D4CEC0;
  --mat-edge:    #C2BBB0;
  --mat-deep:    #B8B0A4;

  /* Shadows */
  --sh-xs:  0 1px 2px rgba(0,0,0,0.04);
  --sh-sm:  0 1px 4px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.05);
  --sh-md:  0 2px 8px rgba(0,0,0,0.05), 0 16px 40px rgba(0,0,0,0.07);
  --sh-lg:  0 4px 16px rgba(0,0,0,0.06), 0 32px 72px rgba(0,0,0,0.08);
  --sh-panel: 0 2px 10px rgba(0,0,0,0.06), 0 20px 56px rgba(0,0,0,0.10), 0 52px 100px rgba(0,0,0,0.07);

  /* Layout */
  --container:    1240px;
  --nav-height:   72px;
  --section-v:    50px;
  --section-v-sm: 80px;

  /* Radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 10px;

  /* Transitions */
  --t-fast: 140ms ease;
  --t-base: 240ms ease;
  --t-slow: 420ms ease;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ── Container ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Typography ──────────────────────────────────────── */
.display-hero {
  font-size: clamp(80px, 11vw, 152px);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--ink);
}
.display-xl {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}
.display-lg {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.display-md {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink);
}
.section-title-inv {
  color: var(--inv);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.eyebrow-line {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}
.eyebrow-inv { color: rgba(255,255,255,0.4); }
.eyebrow-inv .eyebrow-line { background: rgba(255,255,255,0.4); }
.body-lg  { font-size: 18px; font-weight: 300; line-height: 1.72; color: var(--ink-3); }
.body-md  { font-size: 16px; font-weight: 300; line-height: 1.68; color: var(--ink-3); }
.body-sm  { font-size: 14px; font-weight: 300; line-height: 1.64; color: var(--ink-3); }
.body-inv { color: var(--inv-2) !important; }

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248, 245, 240, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 48px;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-main {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-sub {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; justify-content: center; gap: 18px; }
.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  transition: color var(--t-fast);
  position: relative;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--green);
}
.nav-right { display: flex; align-items: center; gap: 20px; }

/* Language Selector */
.lang-selector { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.lang-btn:hover { color: var(--ink); border-color: var(--line-2); }
.lang-btn .chevron { transition: transform var(--t-fast); }
.lang-selector.open .lang-btn .chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  min-width: 148px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
  box-shadow: var(--sh-md);
}
.lang-selector.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 12px; font-weight: 300;
  color: var(--ink-3);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-option:hover { background: var(--bg-warm); color: var(--ink); }
.lang-option.selected { color: var(--green); }
.lang-code { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; min-width: 26px; }

/* Nav CTA */
.nav-cta {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  padding: 8px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  color: var(--ink);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: var(--bg-ivory); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  z-index: 999;
  background: rgba(248, 245, 240, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 28px;
  flex-direction: column;
  backdrop-filter: blur(16px);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 300;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.nav-mobile .nav-cta { margin-top: 20px; justify-content: center; padding: 14px 24px; font-size: 13px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; border: none; background: none;
  transition: all var(--t-base);
  text-decoration: none;
}
/* Dark (charcoal) button */
.btn-dark {
  padding: 14px 32px;
  background: var(--ink);
  color: var(--bg-ivory);
  border-radius: var(--r-sm);
}
.btn-dark:hover { background: #000; transform: translateY(-1px); }
/* Outline button */
.btn-outline {
  padding: 14px 32px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ink); background: rgba(26,23,21,0.04); transform: translateY(-1px); }
/* White button (on dark sections) */
.btn-white {
  padding: 14px 32px;
  background: var(--bg-white);
  color: var(--ink);
  border-radius: var(--r-sm);
}
.btn-white:hover { background: var(--bg-ivory); transform: translateY(-1px); }
/* Ghost on dark */
.btn-ghost-inv {
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--inv);
  border-radius: var(--r-sm);
}
.btn-ghost-inv:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
/* Arrow link */
.btn-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--green);
  transition: gap var(--t-fast);
}
.btn-arrow:hover { gap: 14px; }
.btn-arrow-inv { color: rgba(255,255,255,0.5); }
.btn-arrow-inv:hover { color: var(--inv); }

/* ── Hero — Home (split layout) ──────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  background: var(--bg-ivory);
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 23, 21, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 23, 21, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 64px 0 80px;
  position: relative;
  z-index: 1;
}
.hero-text { padding-right: 32px; }
.hero-headline {
  font-size: clamp(80px, 11vw, 152px);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  color: var(--ink-3);
  max-width: 480px;
  line-height: 1.68;
  margin-bottom: 32px;
}
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.02em;
  color: var(--ink-3);
  box-shadow: var(--sh-xs);
  white-space: nowrap;
}
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Physical Panel Visual ───────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: -48px;
  height: 100%;
  min-height: 480px;
}
.panel-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
}
/* Back/shadow panel */
.panel-back {
  position: absolute;
  top: 28px; right: -28px;
  width: 90%;
  aspect-ratio: 5/4;
  background: linear-gradient(145deg, var(--mat-back), var(--mat-deep));
  border-radius: var(--r-md);
  box-shadow: 0 20px 56px rgba(0,0,0,0.10);
}
/* Second back panel */
.panel-back-2 {
  position: absolute;
  top: 14px; right: -14px;
  width: 95%;
  aspect-ratio: 5/4;
  background: linear-gradient(145deg, #D9D3C5, #CCC6B8);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
/* Main front panel */
.panel-main {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  background: linear-gradient(148deg, #EDE7DA 0%, #E3DCD0 45%, #EAE2D6 80%, #EDE7DC 100%);
  border-radius: var(--r-md);
  box-shadow: var(--sh-panel);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.65);
  border-left: 1px solid rgba(255,255,255,0.50);
}
/* Subtle surface grain/texture */
.panel-main::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 56px, rgba(26,23,21,0.014) 56px, rgba(26,23,21,0.014) 57px),
    repeating-linear-gradient(0deg, transparent, transparent 56px, rgba(26,23,21,0.014) 56px, rgba(26,23,21,0.014) 57px);
  border-radius: var(--r-md);
}
/* Surface highlight (gloss edge) */
.panel-main::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
/* Right edge — panel thickness */
.panel-edge-r {
  position: absolute;
  top: 3px; right: -7px; bottom: -3px;
  width: 7px;
  background: linear-gradient(90deg, var(--mat-edge), var(--mat-deep));
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transform: skewY(0.4deg);
}
/* Bottom edge */
.panel-edge-b {
  position: absolute;
  bottom: -6px; left: 3px; right: -3px;
  height: 6px;
  background: linear-gradient(180deg, var(--mat-mid), var(--mat-deep));
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transform: skewX(-0.4deg);
}
.panel-specimen-label {
  position: absolute;
  bottom: 18px; left: 18px;
  font-size: 9px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(248, 245, 240, 0.78);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 1px;
  border: 1px solid var(--line);
}
.panel-ref-num {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 9px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.panel-float-badge {
  position: absolute;
  bottom: -18px; right: 40px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink-3);
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-4);
  font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--ink-4), transparent);
  animation: scrollPulse 2.4s ease infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Page Hero (sub-pages) ───────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 80px;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 23, 21, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 23, 21, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 200;
  letter-spacing: -0.038em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 800px;
}
.page-hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--ink-3);
  max-width: 560px;
  line-height: 1.68;
  margin-bottom: 36px;
}
.page-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

body[data-page="freight"] .page-hero {
  padding-bottom: 96px;
}

.freight-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 80px;
  align-items: center;
}

.freight-hero-media {
  min-height: 340px;
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--sh-sm);
}

.freight-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
}

.freight-proof-stack {
  display: grid;
  gap: 18px;
}

.freight-dock-photo {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--sh-sm);
}

.freight-dock-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.freight-study-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.freight-study-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 12px 54px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--sh-sm);
  color: var(--ink);
  text-align: left;
}

.freight-study-preview:hover,
.freight-study-preview:focus-visible {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.freight-study-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-ivory);
}

.freight-study-preview-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: rgba(26, 23, 21, 0.92);
  color: var(--bg-white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.freight-study-modal[hidden] { display: none; }

.freight-study-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(17, 15, 13, 0.74);
}

.freight-study-modal-panel {
  width: min(100%, 920px);
  max-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--bg-white);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.freight-study-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.freight-study-modal-top h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.freight-study-close,
.freight-study-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg-white);
  color: var(--ink);
  font-size: 24px;
}

.freight-study-close:hover,
.freight-study-arrow:hover,
.freight-study-close:focus-visible,
.freight-study-arrow:focus-visible {
  border-color: var(--ink);
}

.freight-study-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  border-color: var(--line);
}

.freight-study-stage {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 18px;
  align-items: center;
  padding: 20px;
  min-height: 0;
  overflow: auto;
}

.freight-study-figure {
  margin: 0;
  min-width: 0;
}

.freight-study-figure img {
  display: block;
  width: min(100%, 620px);
  max-height: calc(100vh - 190px);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-ivory);
}

.freight-study-figure figcaption {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-4);
}

/* ── Sections ────────────────────────────────────────── */
.section     { padding: var(--section-v) 0; }
.section-sm  { padding: var(--section-v-sm) 0; }
.section-xl  { padding: 160px 0; }
.bg-ivory  { background: var(--bg-ivory); }
.bg-warm   { background: var(--bg-warm); }
.bg-stone  { background: var(--bg-stone); }
.bg-white  { background: var(--bg-white); }
.bg-dark   { background: var(--bg-dark); }

/* Subtle grid texture */
.grid-tex {
  position: relative; overflow: hidden;
}
.grid-tex::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,23,21,0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,23,21,0.030) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
}
.grid-tex > * { position: relative; z-index: 1; }

/* Dark section grid texture */
.grid-tex-inv::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
}

.section-header { margin-bottom: 64px; }
.section-header-center { text-align: center; max-width: 680px; margin: 0 auto 64px; }

/* ── Ticker ──────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--bg-warm);
}
.ticker-track {
  display: flex; gap: 72px;
  animation: ticker 36s linear infinite;
  white-space: nowrap; width: max-content;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-3); flex-shrink: 0;
}
.ticker-dot { width: 3px; height: 3px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Layout Grids ────────────────────────────────────── */
.grid-2   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: center; }
.grid-2-1 { display: grid; grid-template-columns: 1.8fr 1fr; gap: 80px; align-items: center; }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
  position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.card-number { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--green); margin-bottom: 18px; }
.card-label  { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.card-title  { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.card-body   { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--ink-3); }
.card-footer { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/*──────── About Section ──────────────── */
.about-section {
  display: flex;
  height: 400px;
}

.text-side {
  flex: 1;
  padding: 40px;
}

.image-side {
  flex: 1;
  background-image: url('../assets/images/skyline.jpg');
  background-size: cover;
  background-position: center right;
}

/* ── Visual Application Card ─────────────────────────── */
.vis-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.vis-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.vis-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}
.vis-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.vis-card:hover .vis-card-img img { transform: scale(1.04); }
.vis-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vis-card-body .card-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }

/* ── Partner Card (with logo area) ──────────────────────── */
.partner-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.partner-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.partner-logo-area {
  height: 96px;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  flex-shrink: 0;
}
/* Drop-in slot: when a real logo <img> replaces the span, it inherits these */
.partner-logo-area img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.partner-logo-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.partner-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.partner-card-body .card-body { flex: 1; }
.partner-card-body .card-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }

/* Feature card (on dark bg) */
.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-inv);
  border-radius: var(--r-md);
  padding: 36px;
  transition: background var(--t-base), border-color var(--t-base);
}
.card-dark:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }
.card-dark .card-label { color: rgba(255,255,255,0.35); }
.card-dark .card-title { color: var(--inv); }
.card-dark .card-body  { color: var(--inv-2); }
.card-dark .card-footer { border-top-color: rgba(255,255,255,0.08); }

/* ── Application Grid (home) ─────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.app-tile {
  background: var(--bg-white);
  padding: 40px 32px;
  transition: background var(--t-base);
  position: relative; overflow: hidden;
}
.app-tile:hover { background: var(--bg-ivory); }
.app-tile::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 1px; height: 0;
  background: var(--green);
  transition: height var(--t-slow);
}
.app-tile:hover::before { height: 100%; }
.app-tile-num   { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--green); margin-bottom: 28px; }
.app-tile-title { font-size: 20px; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; margin-bottom: 12px; }
.app-tile-body  { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.62; }

/* ── Feature Detail Cards (OmneBoard reveal) ─────────── */
.feat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.feat-block {
  background: var(--bg-white);
  padding: 44px 40px;
  transition: background var(--t-base);
}
.feat-block:hover { background: var(--bg-ivory); }
.feat-num   { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--green); margin-bottom: 20px; }
.feat-title { font-size: 20px; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.feat-body  { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.65; }
.feat-cta   { margin-top: 20px; }

/* ── Disclosure Block ────────────────────────────────── */
.disclosure {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px 44px;
  position: relative;
  box-shadow: var(--sh-sm);
}
.disclosure::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--green);
  border-radius: var(--r-md) 0 0 var(--r-md);
  opacity: 0.5;
}
/* Dark variant */
.disclosure-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-inv);
  border-radius: var(--r-md);
  padding: 40px 44px;
  position: relative;
}
.disclosure-dark::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--r-md) 0 0 var(--r-md);
}

/* ── Material Specimen Placeholder (full-width) ──────── */
.material-slab {
  width: 100%;
  position: relative;
  background: linear-gradient(150deg, #EDE7DA 0%, #E3DCD0 40%, #EAE2D6 75%, #EDE7DC 100%);
  overflow: hidden;
}
.material-slab-wide    { aspect-ratio: 21/8; }
.material-slab-medium  { aspect-ratio: 16/7; }
.material-slab-card    { aspect-ratio: 4/3; }
.material-slab-square  { aspect-ratio: 1; }
.material-slab::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 56px, rgba(26,23,21,0.018) 56px, rgba(26,23,21,0.018) 57px),
    repeating-linear-gradient(0deg, transparent, transparent 56px, rgba(26,23,21,0.018) 56px, rgba(26,23,21,0.018) 57px);
}
.material-slab::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, transparent 30%);
}

.slab-label {
  position: absolute; bottom: 20px; left: 20px; z-index: 5;
  font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(248,245,240,0.82);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 1px; border: 1px solid var(--line);
}
.slab-ref {
  position: absolute; top: 20px; right: 20px; z-index: 5;
  font-size: 9px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4);
}
/* Seam lines */
.slab-seam-h {
  position: absolute; left: 0; right: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent 0%, rgba(26,23,21,0.06) 20%, rgba(26,23,21,0.06) 80%, transparent 100%);
}
.slab-seam-v {
  position: absolute; top: 0; bottom: 0; width: 1px; z-index: 3;
  background: linear-gradient(180deg, transparent 0%, rgba(26,23,21,0.06) 20%, rgba(26,23,21,0.06) 80%, transparent 100%);
}

/* ── Layer Stack Diagram ─────────────────────────────── */
.layer-stack { display: flex; flex-direction: column; gap: 3px; }
.layer-row {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 18px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.layer-row:hover { background: var(--bg-ivory); border-color: var(--line-2); }
.layer-swatch { width: 36px; height: 6px; border-radius: 1px; flex-shrink: 0; }
.layer-name   { font-size: 13px; font-weight: 300; color: var(--ink-3); }
.layer-note   { margin-left: auto; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }

/* ── Use Case Cards ──────────────────────────────────── */
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-case-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.use-case-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.use-case-img {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--bg-warm), var(--bg-stone));
  position: relative; overflow: hidden;
}
.use-case-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,23,21,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,23,21,0.028) 1px, transparent 1px);
  background-size: 32px 32px;
}
.use-case-img::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, var(--bg-stone), transparent);
}
.use-case-img-label {
  position: absolute; bottom: 16px; left: 16px; z-index: 5;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green);
}
.use-case-content { padding: 24px 28px 28px; }
.use-case-cat   { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px; }
.use-case-title { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.use-case-desc  { font-size: 13px; font-weight: 300; color: var(--ink-3); line-height: 1.62; }

/* ── Sustainability Pillars ──────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.pillar {
  background: var(--bg-white); padding: 52px 44px;
  transition: background var(--t-base);
}
.pillar:hover { background: var(--bg-ivory); }
.pillar-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.pillar-icon svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar-title { font-size: 21px; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; line-height: 1.25; }
.pillar-body  { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.65; }

/* ── Team Cards ──────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-base);
}
.team-card:hover { box-shadow: var(--sh-sm); }
.team-avatar {
  width: 64px; height: 64px;
  background: var(--bg-stone);
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4);
}
.team-name { font-size: 16px; font-weight: 400; color: var(--ink); margin-bottom: 2px; }
.team-role { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 14px; }
.team-bio  { font-size: 13px; font-weight: 300; color: var(--ink-3); line-height: 1.62; }

/* ── Partnership Tiers ───────────────────────────────── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.tier {
  background: var(--bg-white); padding: 44px 40px;
  transition: background var(--t-base);
}
.tier:hover { background: var(--bg-ivory); }
.tier-name  { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.tier-title { font-size: 21px; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; }
.tier-body  { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.65; }
.tier-list  { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.tier-list-item { display: flex; gap: 10px; font-size: 13px; font-weight: 300; color: var(--ink-3); }
.tier-list-item::before { content: '—'; color: rgba(58,120,82,0.5); flex-shrink: 0; }

/* ── Inquiry Steps ───────────────────────────────────── */
.inquiry-step {
  display: grid; grid-template-columns: 200px 1fr; gap: 56px;
  padding-top: 48px; border-top: 1px solid var(--line);
}
.step-num   { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.step-title { font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.4; }

/* ── Forms ───────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-3);
}
.form-input, .form-select, .form-textarea {
  font-size: 15px; font-weight: 300;
  color: var(--ink);
  background: var(--bg-white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 18px;
  width: 100%; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none; -webkit-appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236A6762' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
.form-select option { background: #fff; color: var(--ink); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-4); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.check-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); cursor: pointer; flex-shrink: 0; }
.check-item label { font-size: 14px; font-weight: 300; color: var(--ink-3); cursor: pointer; }
.form-confirm {
  padding: 24px 28px;
  border: 1px solid var(--green-line);
  background: var(--green-dim);
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.65;
}

/* ── Badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid;
}
.badge-green   { color: var(--green); border-color: var(--green-line); background: var(--green-dim); }
.badge-neutral { color: var(--ink-3); border-color: var(--line); background: transparent; }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  padding: 30px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(38px, 5vw, 60px); font-weight: 200; letter-spacing: -0.025em; line-height: 1.05;
  color: var(--ink); margin-bottom: 20px;
}
.cta-title-inv { color: var(--inv); }
.cta-body { font-size: 17px; font-weight: 300; color: var(--ink-3); line-height: 1.65; margin-bottom: 40px; }
.cta-body-inv { color: var(--inv-2); }
.cta-btn-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2.2fr repeat(3, 1fr); gap: 48px; margin-bottom: 64px; }
.footer-brand .nav-logo-main { color: var(--inv); }
.footer-brand .nav-logo-sub  { color: var(--inv-3); }
.footer-brand p { font-size: 13px; font-weight: 300; color: var(--inv-2); line-height: 1.64; max-width: 220px; margin-top: 14px; }
.footer-col-title { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--inv); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link { font-size: 13px; font-weight: 300; color: var(--inv-2); transition: color var(--t-fast); }
.footer-link:hover { color: var(--inv); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap; gap: 16px;
}
.footer-copy   { font-size: 12px; font-weight: 300; color: var(--inv-2); }
.footer-legal  { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; font-weight: 300; color: var(--inv-2); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--inv); }

/* ── Logo Components ─────────────────────────────────── */

/* Nav logo badge — dark square holds P|M mark */
.logo-badge {
  width: 40px; height: 40px;
  background: var(--bg-dark);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Product identity card — dark pill, holds OmneBoard logo */
.product-logo-card {
  display: inline-flex;
  align-items: center;
  background: var(--bg-dark);
  border-radius: var(--r-md);
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--sh-sm);
  margin-bottom: 28px;
}
.product-logo-card img {
  height: 22px;
  width: auto;
  display: block;
}

/* Footer logo badge — slightly lighter inset on dark footer */
.footer-logo-badge {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.footer-logo-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* OmneBoard logo in page hero dark badge */
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  padding: 8px 16px 8px 12px;
  margin-bottom: 32px;
  box-shadow: var(--sh-sm);
}
.product-hero-badge img {
  height: 18px;
  width: auto;
  display: block;
}
.product-hero-badge-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── Utilities ───────────────────────────────────────── */
.text-green   { color: var(--green) !important; }
.text-ink     { color: var(--ink) !important; }
.text-muted   { color: var(--ink-3) !important; }
.text-inv     { color: var(--inv) !important; }
.text-inv-2   { color: var(--inv-2) !important; }
.mt-sm  { margin-top: 16px; }
.mt-md  { margin-top: 32px; }
.mt-lg  { margin-top: 48px; }
.mt-xl  { margin-top: 64px; }
.mb-sm  { margin-bottom: 16px; }
.mb-md  { margin-bottom: 32px; }
.mb-lg  { margin-bottom: 48px; }
.mb-xl  { margin-bottom: 64px; }
hr    { border: none; border-top: 1px solid var(--line); }
hr.inv { border-top-color: var(--line-inv); }

/* ── Animations ──────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }

::selection { background: rgba(58,120,82,0.14); color: var(--ink); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-ivory); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-visual { margin-right: -24px; }
  .panel-back { right: -16px; }
  .nav-inner { column-gap: 32px; }
}
/* Switch to mobile nav before links crowd the brand block */
@media (max-width: 1140px) {
  .nav-links { display: none; }
  .nav-right .lang-selector { display: none; }
  .nav-toggle { display: flex; }
  /* Collapse 3-col grid to 2-col (brand + right-controls) */
  .nav-inner { grid-template-columns: 1fr auto; column-gap: 16px; }
}
@media (max-width: 960px) {
  :root { --section-v: 88px; --section-v-sm: 60px; }
  .container { padding: 0 28px; }
  .hero-split { grid-template-columns: 1fr; padding: 48px 0 80px; }
  .hero-visual { display: none; }
  .hero-text { padding-right: 0; }
  .hero-headline { font-size: clamp(64px, 12vw, 100px); }
  .grid-1-2, .grid-2-1 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid, .tier-grid { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .inquiry-step { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .freight-hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .freight-hero-media,
  .freight-hero-media img {
    min-height: 0;
  }
  .freight-hero-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .freight-study-preview {
    width: 100%;
    min-height: 0;
  }
}
@media (max-width: 640px) {
  :root { --section-v: 64px; --section-v-sm: 48px; }
  .container { padding: 0 20px; }
  .hero-split { padding: 40px 0 72px; }
  .hero-headline { font-size: clamp(56px, 14vw, 80px); }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  body[data-page="freight"] .page-hero {
    padding-bottom: 64px;
  }
  .freight-hero-layout {
    gap: 32px;
  }
  .freight-study-preview-grid {
    grid-template-columns: 1fr;
  }
  .freight-study-preview { padding: 12px 12px 54px; }
  .freight-study-preview-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 10px;
  }
  .freight-study-modal {
    padding: 12px;
  }
  .freight-study-modal-panel {
    max-height: calc(100vh - 24px);
  }
  .freight-study-modal-top {
    padding: 12px;
  }
  .freight-study-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 12px;
  }
  .freight-study-close,
  .freight-study-arrow {
    width: 40px;
    height: 40px;
  }
  .freight-study-figure img {
    max-height: calc(100vh - 170px);
  }
  .app-grid { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .page-cta-row .btn { width: 100%; justify-content: center; }
}
.use-case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 960px) { .use-case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .use-case-grid { grid-template-columns: 1fr; } }

/* Contact sidebar layout */
.contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { position: static !important; }
}

/* ── Path Selector (Choose Your Path / Project Fit Studio) ── */
.path-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  max-width: 1480px;
  margin: 64px auto 0;
}
.path-card {
  background: var(--bg-dark);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background var(--t-base);
}
.path-card:hover { background: var(--bg-dark-alt); }
.path-card-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 32px;
}
.path-card-title {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 300;
  letter-spacing: -0.022em;
  color: var(--inv);
  line-height: 1.1;
  margin-bottom: 16px;
}
.path-card-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(237,234,228,0.48);
  flex: 1;
  margin-bottom: 36px;
}
.path-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  transition: color var(--t-fast), gap var(--t-fast);
}
.path-card:hover .path-card-link { color: var(--inv); gap: 14px; }
@media (max-width: 760px) {
  .path-selector-grid { grid-template-columns: 1fr; }
  .path-card { padding: 40px 28px; }
}

/* ── Challenge list (dark section) ──────────────────────── */
.challenge-list { display: flex; flex-direction: column; }
.challenge-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
}
.challenge-item + .challenge-item { border-top: 1px solid rgba(255,255,255,0.07); }
.challenge-item-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 22px;
}
.challenge-item-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.62;
  color: rgba(237,234,228,0.55);
}

/* ── Prep / "what to bring" list ─────────────────────────── */
.prep-list { display: flex; flex-direction: column; }
.prep-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.prep-item:first-child { border-top: 1px solid var(--line); }
.prep-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 7px;
}
.prep-text { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--ink-3); }
.prep-text strong { font-weight: 500; color: var(--ink-2); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { font-size: 15px; font-weight: 400; letter-spacing: -0.005em; color: var(--ink); margin-bottom: 10px; }
.faq-a { font-size: 14px; font-weight: 300; line-height: 1.68; color: var(--ink-3); }

/* ── Fullscreen Immersive Hero (homepage only) ───────────── */
.hero-fullscreen {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero-fs-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero-fs-top {
  position: relative; z-index: 3;
  padding: calc(var(--nav-height) + 32px) 56px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-fs-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative; z-index: 3;
  padding: 48px 0;
  min-height: 200px;
}
.hero-fs-bottom {
  position: relative; z-index: 3;
  padding: 0 56px 56px;
}
.hero-fs-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 320px;
  background: linear-gradient(transparent, rgba(25,23,21,0.97));
  pointer-events: none;
  z-index: 2;
}
.hero-fs-inner {
  position: relative; z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-fs-headline {
  font-size: clamp(52px, 7.5vw, 112px);
  font-weight: 200;
  letter-spacing: -0.045em;
  color: var(--inv);
  line-height: 0.92;
  margin-bottom: 16px;
}
.hero-fs-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(237,234,228,0.42);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 28px;
}
.hero-fs-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-fs-right {
  flex-shrink: 0;
  text-align: right;
  padding-bottom: 4px;
}
.hero-fs-label {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  display: block; margin-bottom: 8px;
}
.hero-fs-product-badge {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px; border-radius: 2px;
}
@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.06); }
  60%       { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}
.hero-play-pulse { animation: hero-pulse 4s ease-in-out infinite; }
@media (max-width: 860px) {
  .hero-fs-top    { padding: calc(var(--nav-height) + 20px) 24px 0; }
  .hero-fs-bottom { padding: 0 24px 40px; }
  .hero-fs-inner  { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-fs-right  { text-align: left; }
}
@media (max-width: 480px) {
  .hero-fs-headline { font-size: clamp(44px, 14vw, 72px); }
}

/* ── Hero Cinematic Slideshow ─────────────────────────────── */
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-media-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #151310 0%, #1e1b18 100%);
}
.hero-media-fallback::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide[data-broken="true"] { display: none; }
.hero-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
}
/* Slow Ken Burns zoom while the slide is active */
.hero-slide.is-active .hero-slide-img {
  animation: heroKenBurns 6.5s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.16); }
}
/* Darken + vignette so brand text and controls stay readable */
.hero-media-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,16,0.58) 0%, rgba(20,18,16,0.14) 32%, rgba(20,18,16,0.30) 62%, rgba(20,18,16,0.94) 100%),
    radial-gradient(120% 82% at 50% 38%, transparent 42%, rgba(20,18,16,0.55) 100%);
  pointer-events: none;
}

/* Segmented progress / slide indicators (top-right) */
.hero-slides-nav {
  display: flex; align-items: center; gap: 16px;
}
.hero-slides-progress {
  display: flex; align-items: center; gap: 6px;
}
.hero-slide-seg {
  width: 34px; height: 2px;
  padding: 0; border: none;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.25s ease;
}
.hero-slide-seg:hover { height: 4px; }
.hero-slide-seg-fill {
  position: absolute; inset: 0;
  width: 0%;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
}
.hero-slides-counter {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Elegant edge prev/next controls */
.hero-slide-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(20,18,16,0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.72);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.hero-fullscreen:hover .hero-slide-arrow { opacity: 1; }
.hero-slide-arrow:hover {
  background: rgba(20,18,16,0.5);
  border-color: rgba(255,255,255,0.42);
  color: #fff;
}
.hero-slide-arrow:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}
.hero-slide-prev { left: 28px; }
.hero-slide-next { right: 28px; }

@media (max-width: 860px) {
  .hero-slides-nav { gap: 10px; }
  .hero-slide-seg { width: 22px; }
  .hero-slide-arrow { opacity: 0.55; width: 40px; height: 40px; }
  .hero-slide-prev { left: 14px; }
  .hero-slide-next { right: 14px; }
}
@media (max-width: 560px) {
  .hero-slides-counter { display: none; }
  .hero-slide-seg { width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-slide-img { animation: none; transform: scale(1.05); }
  .hero-slide { transition: opacity 0.4s ease; }
}

/* ── Video Hero Placeholder ───────────────────────────────── */
.video-placeholder {
  position: relative;
  background: linear-gradient(150deg, #151310 0%, #1e1b18 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.video-play-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.video-play-triangle {
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid rgba(255,255,255,0.45);
  margin-left: 3px;
}
.video-placeholder-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  position: relative; z-index: 1;
}
.video-placeholder-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 1;
}
.video-placeholder-logo {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 1;
  opacity: 0.4;
}
.video-placeholder-ref {
  position: absolute;
  bottom: 18px; left: 22px;
  font-size: 9px;
  color: rgba(255,255,255,0.18);
  font-weight: 500;
  letter-spacing: 0.08em;
  z-index: 1;
}
.video-placeholder-timeline {
  position: absolute;
  bottom: 18px; right: 22px;
  display: flex; align-items: center; gap: 8px;
  z-index: 1;
}
.video-timeline-bar {
  width: 80px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.video-timeline-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  background: rgba(255,255,255,0.3);
}
.video-timeline-time {
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ── Team grid (8-card) ───────────────────────────────────── */
.team-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 960px) { .team-grid-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid-8 { grid-template-columns: 1fr; } }

/* ── Project Fit Studio v2 (branching inline flow) ───── */
.sf-wrap {
  background: var(--bg-ivory);
  padding-top: var(--nav-height);
  min-height: 100vh;
}
.sf-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 40px 160px;
}
@media (max-width: 760px) { .sf-inner { padding: 56px 24px 120px; } }

/* Opening */
.sf-opening { padding-top: 48px; }
.sf-opening-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 28px;
}
.sf-opening-title {
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 200;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 0.92;
  margin-bottom: 28px;
}
.sf-opening-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 8px;
  max-width: 440px;
}
.sf-opening-note {
  font-size: 12px;
  color: var(--ink-4);
  margin-bottom: 48px;
}
.sf-opening-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Reveal blocks */
.sf-block {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 56px;
}

/* Question */
.sf-q-step {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 12px;
}
.sf-q-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 32px;
}

/* Options */
.sf-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.sf-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--bg-white);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.2s, opacity 0.3s;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.sf-option:hover { border-color: var(--ink-3); background: var(--bg-warm); transform: translateX(3px); }
.sf-option.sf-selected { border-color: var(--ink); background: var(--ink); transform: none; pointer-events: none; }
.sf-option.sf-deselected { opacity: 0.2; pointer-events: none; transform: none; }
.sf-opt-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-2); flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.18s;
}
.sf-option:hover .sf-opt-radio { border-color: var(--ink-3); }
.sf-option.sf-selected .sf-opt-radio { border-color: rgba(255,255,255,0.35); }
.sf-opt-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); opacity: 0; transition: opacity 0.18s;
}
.sf-option:hover .sf-opt-dot { opacity: 0.3; }
.sf-option.sf-selected .sf-opt-dot { opacity: 1; background: var(--inv); }
.sf-opt-label {
  display: block;
  font-size: 14px; font-weight: 400; color: var(--ink);
  line-height: 1.3; margin-bottom: 3px; transition: color 0.18s;
}
.sf-option.sf-selected .sf-opt-label { color: var(--inv); }
.sf-opt-sub {
  display: block;
  font-size: 12px; font-weight: 300; color: var(--ink-4);
  line-height: 1.45; transition: color 0.18s;
}
.sf-option.sf-selected .sf-opt-sub { color: rgba(237,234,228,0.5); }

/* Skip */
.sf-skip-row { margin-top: 4px; transition: opacity 0.25s; }
.sf-skip-btn {
  font-size: 11px; color: var(--ink-4);
  text-decoration: underline; text-underline-offset: 3px;
  background: none; border: none; cursor: pointer;
  padding: 8px 0; letter-spacing: 0.02em;
  font-family: inherit; transition: color 0.18s;
}
.sf-skip-btn:hover { color: var(--ink-2); }

/* Result */
.sf-result-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.sf-result-title {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 300; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.12; margin-bottom: 16px;
}
.sf-result-body {
  font-size: 15px; font-weight: 300; color: var(--ink-3);
  line-height: 1.7; max-width: 480px; margin-bottom: 32px;
}
.sf-result-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.sf-restart-btn {
  font-size: 11px; color: var(--ink-4);
  text-decoration: underline; text-underline-offset: 3px;
  background: none; border: none; cursor: pointer;
  padding: 0; letter-spacing: 0.02em;
  font-family: inherit; transition: color 0.18s;
}
.sf-restart-btn:hover { color: var(--ink); }

/* Routing transition */
.sf-route-msg {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink-3);
  line-height: 1.3;
}

/* ── Company Timeline ─────────────────────────────────── */
.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; 
  bottom: 0;
  width: 2px;
  background: var(--ink-2);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 80px;
}
.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--ink-2);
  border-radius: var(--r-md);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.timeline-card {
  width: 42%;
  background: white;
  border: 1px solid var(--ink-2);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.timeline-card.align-right {
  text-align: right;
  margin-right: 40px;
}

.timeline-card.align-left {
  text-align: left;
  margin-left: 40px;
}

.timeline-heading {
  text-align: center;
  margin-bottom: 60px;
}

/* Description text */
.timeline-desc {
  color: var(--ink-4);
}

.timeline-wrapper,
.timeline-items,
.timeline-item {
  list-style: none;
}
/* ── Team Cards (large) ───────────────────────────────── */
.team-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 640px) {
  .team-grid-large { grid-template-columns: 1fr; }
}
.team-card-lg {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.team-card-lg:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.team-visual-placeholder {
  height: 300px;
  background: var(--bg-stone);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-4);
}
.team-visual-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.team-card-body {
  padding: 28px 32px 32px;
}
.team-name-lg  { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.team-role-lg  { font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 16px; }
.team-bio-lg   { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.68; margin-bottom: 16px; }
.team-pending-note { font-size: 11px; font-weight: 400; color: var(--ink-4); padding-top: 14px; border-top: 1px solid var(--line); }

/* ── Team Card 3D Flip ───────────────────────────────── */
/***
.team-card-flip {
  perspective: 1200px;
}


.team-card-flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}



.team-card-flip:hover .team-card-flip-inner {
  transform: rotateY(180deg);
}



.team-card-flip-front,
.team-card-flip-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.team-card-flip-front {
  background: var(--bg-white);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.team-card-flip:hover .team-card-flip-front {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}


.team-card-flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: #0e0e0e;
  border-color: rgba(255,255,255,0.06);
}
.team-visual-img {
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}
.team-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-visual-gif { border-bottom-color: rgba(255,255,255,0.06); }
.team-card-body-dark {
  padding: 20px 32px 24px;
  background: #0e0e0e;
}
.team-card-body-dark .team-visual-label {
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  font-size: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .team-card-flip-inner { transition: none !important; }
  .team-card-flip:hover .team-card-flip-inner { transform: none !important; }
  .team-card-flip:hover .team-card-flip-front { transform: none !important; }
}


/* ── Full-image flip card (Weiwei / first team card) ──── */

.team-flip-card {
  height: 560px;
  perspective: 1200px;
}
.team-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}
/***
.team-flip-card:hover .team-flip-inner {
  transform: rotateY(180deg);
}
***/
.team-flip-front,
.team-flip-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--sh-sm);
}
.team-flip-front {
  border: 1px solid var(--line);
}
.team-flip-back {
  transform: rotateY(180deg);
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.08);
}
.team-flip-front img,
.team-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.team-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 28px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
}
.team-overlay .team-name-lg  { color: #fff; margin-bottom: 4px; }
.team-overlay .team-role-lg  { color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.team-overlay .team-bio-lg   { color: rgba(255,255,255,0.5); margin-bottom: 0; font-size: 13px; }
.team-overlay .team-visual-label { color: rgba(255,255,255,0.45); }
@media (max-width: 640px) {
  .team-flip-card { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-flip-inner { transition: none !important; }
  .team-flip-card:hover .team-flip-inner { transform: none !important; }
}


/* ── Image Panel System ───────────────────────────────── */

/* Framed image panel — for in-section photos */
.img-panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}
.img-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-panel:hover img {
  transform: scale(1.03);
}

/* Editorial label — bottom-left chip */
.img-label {
  position: absolute;
  bottom: 16px; left: 16px; z-index: 5;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(248, 245, 240, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Reference badge — top-right chip */
.img-ref-badge {
  position: absolute;
  top: 16px; right: 16px; z-index: 5;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: rgba(248, 245, 240, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Editorial caption below image */
.img-caption {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--ink-4);
  line-height: 1.55;
}

/* ── Scroll Reveal Animation ─────────────────────────── */
/* Richer than .fade-up — adds subtle scale for image panels */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity  0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── Reduced Motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .img-panel img {
    transition: none !important;
  }
  .scroll-line {
    animation: none !important;
    opacity: 0.3;
  }
  .ticker-track {
    animation-play-state: paused !important;
  }
}

/* ── Full Image Contain (no forced crop) ─────────────── */
/* For images that must show their full composition without cropping */
.full-image-contain {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}
.full-image-contain img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Vertical Clip-Path Reveal ───────────────────────── */
.vertical-reveal-frame {
  clip-path: inset(0 0 100% 0);
}
.vertical-reveal-frame img {
  transform: scale(1.035);
}
.vertical-reveal-frame.is-visible {
  clip-path: inset(0 0 0% 0);
  transition: clip-path 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.vertical-reveal-frame.is-visible img {
  transform: scale(1.0);
  transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}
.vertical-reveal-frame.is-visible:hover img {
  transform: scale(1.025);
}

/* ── Card Reveal (re-triggerable fade-up) ────────────── */
.card-reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
}
.card-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Horizontal Pan Image Frame ──────────────────────── */
.img-frame-pan {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}
.img-pan-track {
  width: 115%;
  display: block;
  animation: imgPanTrack 16s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.card-reveal.is-visible .img-pan-track {
  animation-play-state: running;
}
.img-pan-track img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes imgPanTrack {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-13.04%); }
}

/* ── Hero OmneBoard Logo ─────────────────────────────── */
.hero-logo-simple {
  margin: 0 0 14px;
}
.hero-omneboard-img {
  display: block;
  width: clamp(220px, 36vw, 480px);
  height: auto;
}
@media (max-width: 768px) {
  .hero-omneboard-img { width: clamp(160px, 60vw, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  .vertical-reveal-frame { clip-path: none !important; }
  .vertical-reveal-frame img { transform: none !important; }
  .vertical-reveal-frame.is-visible { transition: none !important; }
  .vertical-reveal-frame.is-visible img { transition: none !important; }
  .card-reveal { opacity: 1 !important; transform: none !important; }
  .card-reveal.is-visible { transition: none !important; }
  .img-pan-track { animation: none !important; transform: translateX(-6.52%) !important; }
  .hero-omneboard-img { opacity: 1 !important; transform: none !important; }
}

/* ── Freight Conversation Map ────────────────────────── */
.freight-map {
  display: flex;
  align-items: stretch;
  margin: 0 auto;
}
.freight-map-node {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px 44px;
  box-shadow: var(--sh-sm);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.freight-map-node:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.freight-map-step {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
}
.freight-map-node-title {
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.freight-map-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 28px;
}
.freight-map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}
.freight-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-ivory);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 13px;
  white-space: nowrap;
}
.freight-map-connector {
  flex-shrink: 0;
  width: 64px;
  position: relative;
}
.freight-map-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.freight-map-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--ink-3);
  border-right: 1.5px solid var(--ink-3);
  transform: translateY(-50%) rotate(45deg);
}
.freight-map-note {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-4);
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .freight-map-node { padding: 32px 28px 36px; }
  .freight-map-node-title { font-size: 18px; }
  .freight-map-connector { width: 40px; }
}
@media (max-width: 600px) {
  .freight-map {
    flex-direction: column;
    align-items: stretch;
  }
  .freight-map-connector {
    width: auto;
    height: 48px;
  }
  .freight-map-connector::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }
  .freight-map-connector::after {
    top: auto;
    bottom: 10px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* ── Calendar Page ───────────────────────────────────── */

/* Scroll offset for sticky nav on detail sections */
.cal-detail-section {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* Section highlight animation — triggered by JS on nav */
@keyframes calHighlight {
  0%   { box-shadow: inset 0 0 0 2px rgba(58, 120, 82, 0); background-color: inherit; }
  20%  { box-shadow: inset 0 0 0 2px rgba(58, 120, 82, 0.18); }
  100% { box-shadow: inset 0 0 0 2px rgba(58, 120, 82, 0); }
}
.cal-section-highlight {
  animation: calHighlight 1.4s ease forwards;
}

/* Hero note */
.cal-hero-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  margin-top: -20px;
}

/* Category legend bar */
.cal-legend-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}
.cal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-dot-qc        { background: #3a7852; }
.cal-dot-closure   { background: #c07c3a; }
.cal-dot-company   { background: #3a6ea5; }
.cal-dot-event     { background: #7c5a3a; }
.cal-dot-milestone { background: #8a8a8a; }

/* Category badge pills */
.cal-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cal-cat::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-cat-qc        { color: #2e6040; background: rgba(58,120,82,0.1);  }
.cal-cat-qc::before        { background: #3a7852; }
.cal-cat-closure   { color: #8a5020; background: rgba(192,124,58,0.1); }
.cal-cat-closure::before   { background: #c07c3a; }
.cal-cat-company   { color: #2a508a; background: rgba(58,110,165,0.1); }
.cal-cat-company::before   { background: #3a6ea5; }
.cal-cat-event     { color: #5a3a1a; background: rgba(124,90,58,0.1);  }
.cal-cat-event::before     { background: #7c5a3a; }
.cal-cat-milestone { color: var(--ink-3); background: var(--bg-stone); }
.cal-cat-milestone::before { background: #8a8a8a; }

/* Filter chips */
.cal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.cal-filter-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-white);
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.cal-filter-btn:hover { color: var(--ink); border-color: var(--line-2); }
.cal-filter-btn.active { background: var(--ink); color: var(--bg-white); border-color: var(--ink); }

/* Calendar item list */
.cal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.cal-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px 30px;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.cal-item[data-target] { cursor: pointer; }
.cal-item[data-target]:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.cal-item[data-target]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.cal-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cal-date-label {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-4);
  margin-left: auto;
  white-space: nowrap;
}
.cal-item-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.cal-item-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
}
.cal-item-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-4);
  transition: color var(--t-fast);
}
.cal-item[data-target]:hover .cal-item-action { color: var(--ink); }
.cal-list-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-4);
  line-height: 1.65;
}

/* Info card (QC section) */
.cal-info-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-sm);
}
.cal-info-card-head { margin-bottom: 18px; }
.cal-info-card-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.cal-info-card-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 24px;
}
.cal-info-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cal-info-field {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
}
.cal-info-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-4);
  flex-shrink: 0;
  min-width: 68px;
}

/* Closure cards */
.cal-closure-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.cal-closure-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.cal-closure-title {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.cal-closure-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.cal-closure-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cal-closure-date {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-4);
}

/* Event cards */
.cal-event-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.cal-event-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.cal-event-card-top { margin-bottom: 16px; }
.cal-event-title {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.cal-event-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.cal-event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cal-event-meta-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-3);
}

@media (max-width: 600px) {
  .cal-legend { gap: 14px; }
  .cal-item { padding: 22px 20px 24px; }
  .cal-item-title { font-size: 17px; }
  .cal-filters { gap: 6px; }
  .cal-filter-btn { padding: 6px 14px; font-size: 10px; }
}

/* ── Value Matrix Grid ──────────────────────── */
.why-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.why-card {
  background: var(--bg-white);
  padding: 64px 48px;
  transition: background var(--t-base), transform var(--t-base);
}

.why-card:hover { background: var(--bg-ivory); transform: translateY(-2px); }
.why-num { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 24px; }
.why-title { font-size: 22px; font-weight: 400; letter-spacing: 0; margin-bottom: 16px; color: var(--ink); }
.why-desc { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.68; }

/* ── Objections & Solutions Split Section Layout ── */
.split-objections-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  border-bottom: 1px solid var(--line);
  margin-top: 64px;
}

.objections-side {
  background: var(--bg-white);
  padding: var(--section-v) 8% var(--section-v) 0;
  display: flex;
  justify-content: flex-end;
  border-right: 1px solid var(--line);
}

.answers-side {
  background: var(--bg-dark);
  padding: var(--section-v) 0 var(--section-v) 8%;
  display: flex;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

#splitCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.split-side-content {
  width: 100%;
  max-width: 540px;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}

.split-cards-stack {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.split-item-card {
  position: relative;
  padding-left: 56px;
  transition: opacity var(--t-base), transform var(--t-base);
}

.item-index {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}

.index-green { color: var(--green); }

.item-heading {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}

.header-inv { color: var(--inv); }

@media (max-width: 1024px) {
  .grid-3, .why-partner-grid, .tier-grid, .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-partner-grid, .tier-grid { gap: 0; }
  .why-card, .tier { border-bottom: 1px solid var(--line); padding: 44px 32px; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .grid-1-2 { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .pb-reduce { padding-bottom: 44px; }
  .page-hero .container { grid-template-columns: 1fr !important; gap: 48px !important; }
  .hero-image-container { max-width: 100%; }
  .split-objections-section {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .objections-side, .answers-side {
    padding: var(--section-v-sm) 24px;
    justify-content: center;
  }
  .objections-side {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .split-side-content { padding: 0; }
}

/* =====================================================
   Localization layout robustness (minimal, additive)
   Keeps the light premium layout intact across the five
   languages when translated strings run longer (German /
   French) or use CJK glyphs (Simplified Chinese).
   ===================================================== */

/* Keep single-line UI labels from wrapping mid-phrase; they
   grow the element width instead of breaking the layout. */
.nav-link,
.footer-link,
.footer-col-title,
.lang-option { white-space: nowrap; }

.btn,
.btn-arrow,
.btn-text,
.path-card-link,
.card-label { white-space: nowrap; }

/* Long compound words (common in German) should wrap rather
   than overflow their container in headings and body copy. */
.page-hero-title,
.section-title,
.hero-fs-sub,
.card-title,
.path-card-title { overflow-wrap: break-word; }

/* Give the desktop nav a little more breathing room for longer
   languages in the band just before it collapses to the mobile
   drawer (mobile switch already happens at 1140px). */
@media (min-width: 1141px) and (max-width: 1320px) {
  .nav-links { gap: 13px; }
  .nav-inner { column-gap: 28px; }
  .nav-link { font-size: 12.5px; }
}

/* The language dropdown must fit the longest readable name. */
.lang-dropdown { min-width: 156px; }

/* Mobile language selector (injected by i18n.js into the drawer). The desktop
   selector is hidden below 1140px, so this gives mobile users a way to switch.
   Render the dropdown inline (not floating) so it fits the vertical drawer. */
.nav-mobile .lang-selector-mobile { width: 100%; margin-top: 8px; }
.nav-mobile .lang-selector-mobile .lang-btn {
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
}
.nav-mobile .lang-selector-mobile .lang-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  width: 100%;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.nav-mobile .lang-selector-mobile.open .lang-dropdown { max-height: 320px; }

/* Simplified Chinese: heavy uppercase letter-spacing looks off on
   CJK glyphs — relax it for the small label/eyebrow styles. */
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .nav-logo-sub,
html[lang="zh-CN"] .card-label,
html[lang="zh-CN"] .footer-col-title,
html[lang="zh-CN"] .hero-fs-label { letter-spacing: 0.02em; }
html[lang="zh-CN"] .nav-link { letter-spacing: 0; }


/* =====================================================
   Mobile optimization (additive)
   Everything below is scoped to phone-sized viewports.
   Desktop (>=769px) inherits none of it, with one
   documented exception: the .nav-mobile scroll cap at
   <=1140px, which only engages if the drawer would
   otherwise overflow off-screen.
   ===================================================== */

/* -- Drawer overflow guard (<=1140px, where the drawer exists) --
   The drawer holds 9 links + CTA + language selector. On short
   viewports (iPhone SE portrait, any phone in landscape) that is
   taller than the screen and the last items became unreachable.
   Purely protective: no visual change unless it would overflow. */
@media (max-width: 1140px) {
  .nav-mobile {
    max-height: calc(100vh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) {
  /* ── Navigation ─────────────────────────────────────
     .nav is display:flex, so its .container child took
     min-width:auto and refused to shrink below min-content.
     That pushed #navToggle past the right edge (fully
     off-screen and untappable on partners/freight at 320px). */
  .nav > .container { min-width: 0; width: 100%; flex: 1 1 auto; }
  .nav-inner { min-width: 0; column-gap: 12px; }
  /* `1fr` is shorthand for minmax(auto, 1fr) -- its floor is min-content,
     so the long German logo subtitle ("Fortschrittliche Baumaterialien")
     refused to shrink and pushed the bar ~24px past the screen. */
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-logo > *, .nav-logo-text > * { min-width: 0; }

  .nav-right { min-width: 0; gap: 6px; }
  .nav-logo { min-width: 0; }
  .nav-logo-text { min-width: 0; }
  /* Scoped to the nav bar: .nav-logo-* is also used by the footer brand
     block, which has the full container width and should wrap normally. */
  .nav .nav-logo-main,
  .nav .nav-logo-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-logo-sub { font-size: 9px; }

  /* The top-bar CTA is 160px wide and duplicates the one already
     inside the drawer; dropping it is what frees the hamburger. */
  .nav .nav-right > .nav-cta { display: none; }

  /* 44px touch target without changing the drawn glyph */
  .nav-toggle {
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    padding: 0;
  }
  .nav-logo { position: relative; min-height: 44px; }
  .nav-logo::after { content: ''; position: absolute; inset: -2px -6px; }

  /* Drawer rows: comfortable, 44px-min targets */
  .nav-mobile { padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .nav-mobile .nav-link {
    display: flex; align-items: center;
    min-height: 46px; padding: 8px 0;
    font-size: 16px;
  }
  .nav-mobile .nav-cta { min-height: 48px; font-size: 14px; margin-top: 16px; }
  .nav-mobile .lang-selector-mobile .lang-btn { min-height: 48px; }
  .nav-mobile .lang-selector-mobile .lang-option {
    display: flex; align-items: center; min-height: 44px;
  }

  /* ── Long translated strings must wrap on narrow screens ──
     The localization block sets white-space:nowrap on these to
     protect the desktop layout; on phones wrapping is correct. */
  .footer-link,
  .footer-col-title,
  .nav-mobile .nav-link,
  .lang-option,
  .nav-link,
  .btn,
  .btn-arrow,
  .btn-text,
  .btn-text-arrow,
  .path-card-link,
  .card-label,
  .badge,
  .spec-item,
  .eyebrow,
  .tier-name,
  .stat-label { white-space: normal; }
  h1, h2, h3, h4, p, li, span, a, label, .btn { overflow-wrap: break-word; }

  /* ── Typography ─────────────────────────────────────── */
  .page-hero-title { font-size: clamp(38px, 11vw, 56px); }
  .page-hero-sub { font-size: 16px; line-height: 1.65; max-width: 100%; }
  .section-title { font-size: clamp(27px, 7.4vw, 38px); }
  .cta-title { font-size: clamp(32px, 8.6vw, 44px); }
  .body-lg { font-size: 17px; line-height: 1.65; }
  .section-header p, .body-lg, .body-md { max-width: 100%; }

  /* Lift sub-11px label text to a legible floor on phones */
  .card-label,
  .form-label,
  .tier-name,
  .use-case-cat,
  .img-label,
  .use-case-img-label,
  .team-visual-label { font-size: 11px; }

  /* Long category names ("Structural Design and Failure Analysis")
     are nowrap pills; on a 320px screen one of them measured 320px
     wide and stretched the whole document. */
  .cal-cat {
    font-size: 11px;
    white-space: normal;
    min-width: 0;
    max-width: 100%;
    text-align: left;
    line-height: 1.35;
    padding: 6px 12px;
    border-radius: 12px;
  }
  .cal-item-head { flex-wrap: wrap; gap: 8px; min-width: 0; }
  /* Bare anchors ("View details", "Send an inquiry") sit at 15-16px tall */
  .cal-item-action a,
  .cal-list-note a { display: inline-flex; align-items: center; min-height: 44px; }

  /* ── Buttons: 44px targets, full width where sensible ── */
  /* Long CTA labels ("Request Production Information") on a standalone
     button overflowed the 320px viewport; cap and let them wrap. */
  .btn { min-height: 46px; justify-content: center; max-width: 100%; text-align: center; }
  .btn-arrow,
  .btn-text-arrow,
  .path-card-link { min-height: 44px; align-items: center; }
  .cta-btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-btn-row .btn { width: 100%; }
  .page-cta-row { flex-direction: column; align-items: stretch; }
  .page-cta-row .btn { width: 100%; }

  /* ── Forms ──────────────────────────────────────────
     16px is the threshold below which iOS Safari zooms the
     viewport on focus; 15px was causing that on every field. */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 13px 16px;
  }
  .form-select { padding-right: 40px; }
  .form-textarea { min-height: 128px; }
  .form-label { font-size: 11px; }
  .check-grid { grid-template-columns: 1fr; gap: 2px; }
  .check-item { min-height: 44px; padding: 4px 0; align-items: center; }
  .check-item input[type="checkbox"] { width: 22px; height: 22px; }
  /* The <label for=...> is the real tap target; make it fill the row
     so the whole 44px strip toggles the box. */
  .check-item label {
    font-size: 15px; line-height: 1.45;
    display: flex; align-items: center;
    flex: 1 1 auto; min-height: 44px;
  }

  /* ── Footer ─────────────────────────────────────────── */
  .footer-links { gap: 2px; }
  .footer-link {
    display: flex; align-items: center;
    min-height: 44px; font-size: 14px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { gap: 20px; }
  .footer-legal a {
    display: inline-flex; align-items: center;
    min-height: 44px; font-size: 13px;
  }


  /* Several sections build their columns with an inline style attribute,
     which a stylesheet cannot override normally. On phones these stayed
     multi-column and long German compounds pushed them off-screen
     (construction.html overflowed 185px at 320px in German). */
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 2.2fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns"] > *,
  [style*="display: grid"] > *,
  [style*="display:grid"] > * { min-width: 0; }

  /* Any grid/flex child keeps min-width:auto by default, so a single long
     German compound ("Bauunternehmensnetzwerk") can widen its whole track
     past the screen. Zero it out and let long words hyphenate. */
  [class*="grid"] > *,
  .tier, .why-card, .pillar, .app-card, .vis-card, .use-case-card { min-width: 0; }
  .page-hero-title,
  .section-title,
  .cta-title,
  .scale-section-title,
  .tier-title,
  .card-title,
  .feat-title,
  .body-lg, .body-md { hyphens: auto; -webkit-hyphens: auto; }

  /* Grid/flex children default to min-width:auto and can push past
     their container; feat-row cards did exactly that at 320px. */
  .feat-row > *, .grid-3 > *, .grid-2 > *, .grid-1-2 > *, .grid-2-1 > * { min-width: 0; }
  .feat-block { padding: 32px 22px; }
  .feat-title { font-size: 18px; }

  /* ── about.html hero ────────────────────────────────
     .about-section is a fixed 400px-tall flex row. The text column kept
     only ~224px of width next to the skyline panel, and anything taller
     than 400px was cut off by .page-hero's overflow:hidden — 678px of
     content in a 400px box in English, and worse in longer languages.
     Stack it and let the height follow the text. */
  .about-section {
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .text-side {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    padding: 0 0 28px;
  }
  .image-side {
    flex: 0 0 auto;
    width: 100%;
    height: 200px;
    background-position: center;
  }

  /* ── about.html timeline ────────────────────────────
     Desktop alternates 42%-wide cards either side of a centre rail, with
     the year badge absolutely positioned at left:50%. Once the cards are
     narrow that badge sits on top of them — all 8 items overlapped.
     Rebuild as one column with the year above its card. */
  .timeline-wrapper { max-width: 100%; }
  .timeline-wrapper::before { display: none; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 28px;
  }
  .timeline-year {
    /* the markup emits the card first, so pull the year up */
    order: -1;
    position: static;
    transform: none;
    left: auto;
    align-self: flex-start;
    margin: 0 0 10px;
    font-size: 13px;
    padding: 6px 14px;
    white-space: nowrap;
  }
  .timeline-card,
  .timeline-card.align-left,
  .timeline-card.align-right {
    width: 100%;
    min-width: 0;
    margin: 0;
    text-align: left;
    padding: 20px;
  }

  /* ── Media ──────────────────────────────────────────── */
  .material-slab { max-width: 100%; }
  .vis-card-img img,
  .use-case-img img { max-width: 100%; }
}

/* Enlarge fiddly controls without altering how they are drawn */
@media (max-width: 768px) {
  .hero-slide-seg { position: relative; }
  .hero-slide-seg::after { content: ''; position: absolute; inset: -22px -5px; }
  .hero-slide-arrow { width: 44px; height: 44px; }
  .cal-filter-btn { min-height: 44px; }
  .sf-skip-btn { min-height: 44px; }
  .lang-btn { min-height: 44px; }
}

/* Narrow phones (iPhone SE and similar) */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .page-hero-title { font-size: clamp(34px, 10.5vw, 42px); }
  .hero-headline { font-size: clamp(46px, 14vw, 60px); }
  .section-title { font-size: clamp(25px, 7.2vw, 32px); }
  .nav-mobile .nav-link { font-size: 15px; }
  .footer-link { font-size: 13px; }
}

/* =====================================================
   Right-to-left support (Arabic)
   -----------------------------------------------------
   Every rule is scoped to html[dir="rtl"], which js/i18n.js
   sets only for Arabic and resets to "ltr" otherwise. The
   five left-to-right languages are therefore untouched.

   dir="rtl" already mirrors inline text flow, flex/grid axes,
   and logical alignment on its own. What follows covers the
   places where a physical left/right value is hard-coded and
   would otherwise stay on the wrong side.
   ===================================================== */

html[dir="rtl"] body { text-align: right; }

/* Anything genuinely non-directional stays centred */
html[dir="rtl"] .cta-inner,
html[dir="rtl"] .section-header[style*="text-align: center"],
html[dir="rtl"] .timeline-heading { text-align: center; }

/* Latin brand names and codes inside Arabic sentences keep
   their own direction so "OmneBoard 119" cannot be reordered. */
html[dir="rtl"] .nav-logo-main,
html[dir="rtl"] .lang-code,
html[dir="rtl"] .lang-current { direction: ltr; unicode-bidi: isolate; }

/* ── Navigation ─────────────────────────────────────── */
/* The dropdown is absolutely positioned against the button. */
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .nav-mobile .lang-selector-mobile .lang-dropdown { left: auto; right: auto; }

/* ── Forms ──────────────────────────────────────────── */
/* The select chevron is a background image pinned right, with
   matching padding so the text never runs under it. */
html[dir="rtl"] .form-select {
  background-position: left 16px center;
  padding-right: 18px;
  padding-left: 40px;
}
html[dir="rtl"] .form-input,
html[dir="rtl"] .form-textarea,
html[dir="rtl"] .form-select { text-align: right; }
html[dir="rtl"] .check-item { flex-direction: row; }

/* Latin-only inputs read left-to-right even in an RTL form */
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"] { direction: ltr; text-align: right; }

/* ── Directional glyphs ─────────────────────────────── */
/* Arrows point the way the eye travels, so they mirror. */
html[dir="rtl"] .btn-arrow svg,
html[dir="rtl"] .btn-text-arrow span,
html[dir="rtl"] .path-card-link svg,
html[dir="rtl"] .cal-item-action svg,
html[dir="rtl"] .freight-map-connector::after { transform: scaleX(-1); }
html[dir="rtl"] .freight-map-connector::after {
  right: auto; left: 12px;
  transform: translateY(-50%) rotate(-135deg);
}

/* ── Hero / imagery ─────────────────────────────────── */
html[dir="rtl"] .image-side { background-position: center left; }
html[dir="rtl"] .hero-fs-right { text-align: left; }

/* ── Timeline ───────────────────────────────────────── */
/* The centre rail stays centred; only the card offsets and the
   alignment helpers carry a physical side. */
html[dir="rtl"] .timeline-card.align-right {
  text-align: left; margin-right: 0; margin-left: 40px;
}
html[dir="rtl"] .timeline-card.align-left {
  text-align: right; margin-left: 0; margin-right: 40px;
}

/* ── Cards / lists ──────────────────────────────────── */
html[dir="rtl"] .spec-item,
html[dir="rtl"] .check-item label,
html[dir="rtl"] .cal-item,
html[dir="rtl"] .tier,
html[dir="rtl"] .why-card,
html[dir="rtl"] .feat-block,
html[dir="rtl"] .vis-card-body,
html[dir="rtl"] .team-overlay { text-align: right; }

/* Slideshow arrows sit either side of the frame; swap them so
   "previous" stays on the side the reader came from. */
html[dir="rtl"] .hero-slide-prev { left: auto; right: 28px; }
html[dir="rtl"] .hero-slide-next { right: auto; left: 28px; }
html[dir="rtl"] .hero-slide-prev svg,
html[dir="rtl"] .hero-slide-next svg { transform: scaleX(-1); }

/* ── Project imagery and page-specific structure ────── */
.construction-hero-layout,
.research-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 72px;
  align-items: center;
}

.construction-hero-media,
.research-hero-media,
.research-workbench-media,
.sourcing-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-warm);
  box-shadow: var(--sh-sm);
}

.construction-hero-media img,
.research-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.research-hero-media img { object-position: 52% center; }

.research-workbench-media {
  width: min(100%, 920px);
  margin: 40px auto 48px;
}

.research-workbench-media img {
  display: block;
  width: 100%;
  height: clamp(340px, 48vw, 580px);
  object-fit: cover;
  object-position: center 48%;
}

.sourcing-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.sourcing-copy .section-title { margin-bottom: 24px; }
.sourcing-copy .body-lg {
  max-width: 620px;
  font-size: clamp(17px, 1.55vw, 21px);
}

.sourcing-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.freight-study-preview-grid { grid-template-columns: minmax(0, 1fr); }
.freight-study-preview { max-width: 420px; }

@media (max-width: 900px) {
  .construction-hero-layout,
  .research-hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 32px;
  }

  .sourcing-row {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .construction-hero-layout,
  .research-hero-layout { grid-template-columns: 1fr; }
  .sourcing-row { grid-template-columns: 1fr; }
  .sourcing-row-reverse .sourcing-copy { order: -1; }
  .research-workbench-media { margin-top: 32px; }
  .research-workbench-media img { height: 420px; }
  .freight-study-preview { max-width: 100%; }
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 768px) {
  html[dir="rtl"] .nav-mobile .nav-link,
  html[dir="rtl"] .footer-link,
  html[dir="rtl"] .footer-col-title,
  html[dir="rtl"] .timeline-year,
  html[dir="rtl"] .timeline-card { text-align: right; }
  html[dir="rtl"] .timeline-year { align-self: flex-end; }
  html[dir="rtl"] .timeline-card,
  html[dir="rtl"] .timeline-card.align-left,
  html[dir="rtl"] .timeline-card.align-right { margin: 0; text-align: right; }
  html[dir="rtl"] .footer-bottom,
  html[dir="rtl"] .footer-legal { align-items: flex-end; }
}
