/* Design tokens — matched to the published Framer site */
:root {
  --bg: #0d0d0f;
  --bg-raised: #141416;
  --card: rgba(255, 255, 255, 0.02);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e4e4e7;
  --text-soft: #d4d4d8;
  --muted: #a1a1aa;
  --dim: #8b8b93;
  --green: #b2d67d;
  --green-soft: rgba(178, 214, 125, 0.12);
  --radius: 16px;
  --font: "Onest", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain over the whole page */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: url("assets/noise.png") repeat; background-size: 128px;
  opacity: 0.035; mix-blend-mode: screen;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 16px; border-radius: 10px;
  font-size: 16px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s;
}
.btn-light { background: var(--text-soft); color: #18181b; }
.btn-light:hover { background: #fff; }
.btn-outline { border: 1px solid var(--line-strong); color: #fff; height: 44px; border-radius: 12px; }
.btn-outline:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13, 13, 15, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-inner { height: 75px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 6px; font-size: 18px; letter-spacing: 0.01em; color: #fff; }
.brand img { width: 26px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links > a:not(.btn) { color: var(--text); transition: opacity .2s; }
.nav-links > a:not(.btn):hover { opacity: .7; }
.nav-cta { margin-left: -4px; }

/* ---------- Products mega menu ---------- */
.nav-links { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--text); transition: opacity .2s; }
.nav-trigger:hover { opacity: .7; }
.nav-trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.has-menu.open .nav-trigger { opacity: 1; }
.has-menu.open .nav-trigger svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 16px); right: 0; width: 860px;
  display: grid; grid-template-columns: 220px 1fr 220px; gap: 8px; padding: 8px;
  background: #141416; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
/* invisible bridge so the pointer can travel from the trigger to the panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-menu.open .mega { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s ease, transform .2s ease; }

.mega-cats { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-right: 1px solid var(--line); }
.mega-cat { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; transition: background .2s; }
.mega-cat:hover, .mega-cat.active { background: rgba(255,255,255,.04); }
.mega-cat b { display: block; font-size: 15px; font-weight: 500; color: var(--text); }
.mega-cat small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; line-height: 1.3; }
.mega-ico, .mega-gico { flex: none; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.mega-ico { width: 34px; height: 34px; border-radius: 8px; }
.mega-gico { width: 26px; height: 26px; border-radius: 6px; }
.mega-ico svg, .mega-gico svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mega-gico svg { width: 14px; height: 14px; }
.mega-cat.active .mega-ico { border-color: rgba(178,214,125,.35); background: var(--green-soft); }

.mega-panel { display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 4px; animation: megaIn .25s ease; }
.mega-panel.active { display: grid; }
@keyframes megaIn { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-group { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); transition: background .2s; }
.mega-group:hover { background: rgba(255,255,255,.04); }
.mega-list { list-style: none; margin: 0 0 8px 21px; padding-left: 14px; border-left: 1px solid var(--line); }
.mega-list a { display: block; padding: 6px 8px; border-radius: 6px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.mega-list a:hover { color: #fff; background: rgba(255,255,255,.03); }
.mega-list em { display: block; font-style: normal; font-size: 11px; color: var(--dim); margin-top: 1px; }

.mega-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 10px; }
.mega-empty b { font-size: 15px; font-weight: 500; color: var(--text); margin-top: 6px; }
.mega-empty p { font-size: 14px; color: var(--dim); max-width: 320px; line-height: 1.45; }
.mega-link { font-size: 14px; color: var(--green); margin-top: 4px; }
.mega-link:hover { opacity: .8; }

.mega-feature {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px;
  border-radius: 12px; background: radial-gradient(120% 80% at 50% 0%, rgba(178,214,125,.08), transparent 60%), rgba(255,255,255,.025);
  border: 1px solid var(--line); text-align: center; transition: border-color .2s;
}
.mega-feature[hidden] { display: none; }
.mega-feature:hover { border-color: var(--line-strong); }
.mega-feature-img { flex: 1; display: grid; place-items: center; min-height: 140px; }
.mega-feature-img img { max-height: 150px; width: auto; transition: transform .5s ease; }
.mega-feature:hover .mega-feature-img img { transform: scale(1.05); }
.mega-feature b { font-size: 14px; font-weight: 500; color: var(--text); }
.mega-feature > span:last-child { font-size: 13px; color: var(--dim); line-height: 1.4; }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 7px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; height: max(640px, 62.5vw); max-height: 1100px; overflow: hidden; container-type: size; --fx: 50%; }

/* Parallax wrapper (mouse-driven via --px/--py) and the scene box. The scene keeps the image's 3:2 ratio,
   covers the hero and is anchored to the bottom so every layer lines up with the picture at any size. */
.hero-parallax {
  position: absolute; inset: -2%; transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.hero-scene {
  position: absolute; bottom: 0; left: var(--fx); translate: calc(-1 * var(--fx)) 0;
  width: max(100%, 150cqh); aspect-ratio: 3 / 2;
  transform-origin: 50% 70%; animation: intro-push 1.4s cubic-bezier(.45,.05,.35,1) both, drift 26s ease-in-out 1.4s infinite alternate;
}
.hero-scene > img, .scene-layer img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-plate { animation: plate-out .3s ease-out 1.3s both; }
.scene-layer { position: absolute; inset: 0; pointer-events: none; }
.layer-train img { clip-path: polygon(48.70% 67.29%, 51.11% 65.82%, 53.39% 64.65%, 55.99% 63.09%, 61.59% 59.77%, 69.40% 56.25%, 75.26% 52.83%, 81.77% 50.98%, 86.59% 50.98%, 90.62% 53.91%, 93.23% 57.42%, 95.31% 61.33%, 97.01% 64.84%, 98.11% 67.97%, 97.72% 71.09%, 96.61% 73.44%, 95.83% 75.39%, 80.47% 75.59%, 78.12% 74.80%, 72.66% 73.14%, 62.24% 70.61%, 55.99% 69.63%, 52.08% 68.95%, 49.61% 68.26%, 48.70% 67.87%); }

/* Train: rushes in from the vanishing point, overshoots slightly as it brakes, settles */
.layer-train { transform-origin: 48.8% 67.6%; will-change: transform, opacity, filter; }
.layer-train.main {
  animation: train-in 1.1s cubic-bezier(.45,.05,.35,1) .25s both;
}
@property --rev { syntax: "<percentage>"; inherits: false; initial-value: 110%; }
@keyframes train-reveal { from { --rev: 44%; } to { --rev: 110%; } }
.layer-train.ghost { mix-blend-mode: screen; }
.layer-train.g1 { animation: train-ghost 1.4s cubic-bezier(.12,.82,.25,1) .31s both; }
.layer-train.g2 { animation: train-ghost 1.3s cubic-bezier(.12,.82,.25,1) .37s both; }
@keyframes train-in {
  0%   { transform: scale(.55); opacity: 0; filter: brightness(1.3); }
  12%  { opacity: 1; }
  100% { transform: none; opacity: 1; filter: none; }
}
@keyframes train-ghost {
  0%   { transform: scale(.5); opacity: 0; filter: blur(10px); }
  15%  { opacity: .5; }
  70%  { transform: scale(.97); opacity: .25; filter: blur(4px); }
  100% { transform: scale(1); opacity: 0; filter: blur(2px); }
}
@keyframes plate-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-push { from { transform: scale(1.08); filter: saturate(.7); } to { transform: none; filter: none; } }
@keyframes drift { to { transform: scale(1.035); } }

/* Shared SVG effects layer */
.scene-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; mix-blend-mode: screen; }
.streaks { animation: streaks-fade 1.9s ease-out both; }
.streaks path { fill: none; stroke: #d9f2b4; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 140 1400; stroke-dashoffset: 140; animation: streak .55s cubic-bezier(.5,0,.9,.6) var(--d) 3 both; }
.streaks path.thin { stroke: #fff; stroke-width: 1.4; stroke-dasharray: 90 1400; }
@keyframes streak { from { stroke-dashoffset: 140; } to { stroke-dashoffset: -1100; } }
@keyframes streaks-fade { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }

.pulses path { fill: none; stroke: #eaffc8; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 7 100; stroke-dashoffset: 7; opacity: 0; animation: pulse var(--t) cubic-bezier(.45,0,.75,1) var(--d) infinite; }
.pulses path.thin { stroke-width: 2.4; stroke-dasharray: 4 100; }
@keyframes pulse { 0% { stroke-dashoffset: 7; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }

.beacons circle { fill: url(#fxDot); opacity: .25; transform-box: fill-box; transform-origin: center; animation: beacon 2.4s ease-in-out var(--d) infinite; }
@keyframes beacon { 0%, 100% { opacity: .2; transform: scale(.7); } 12% { opacity: 1; transform: scale(1.25); } 30% { opacity: .35; transform: scale(.9); } }

/* Water: reflections under the ship ripple gently */
.scene-water {
  position: absolute; left: 0; top: 68.36%; width: 36.46%; height: 25.88%; overflow: hidden;
  clip-path: polygon(0 3%, 69.6% 3%, 71.4% 42.3%, 0 96.2%); filter: url(#fxRipple);
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 70%, transparent 95%), linear-gradient(to left, transparent 26%, #000 40%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 70%, transparent 95%), linear-gradient(to left, transparent 26%, #000 40%); mask-composite: intersect;
}
.scene-water img { max-width: none; position: absolute; left: 0; top: -264.2%; width: 274.3%; height: 386.4%; }

/* Headlight: flash when the train stops, then a slow breathing glow; anamorphic flare streak */
.headlight, .flare { position: absolute; left: 84.7%; top: 60.8%; translate: -50% -50%; pointer-events: none; mix-blend-mode: screen; }
.headlight {
  width: 8%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,255,220,.95) 0%, rgba(178,214,125,.5) 20%, rgba(178,214,125,0) 62%);
  animation: headlight-flash 1.6s ease-out 1.15s both, headlight-breathe 3.2s ease-in-out 2.8s infinite alternate;
}
.flare {
  width: 46%; height: 1.1%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(178,214,125,.55) 35%, transparent);
  animation: flare 1.5s ease-out 1.2s both;
}
@keyframes headlight-flash { 0% { opacity: 0; scale: .4; } 18% { opacity: 1; scale: 2.2; } 100% { opacity: .7; scale: 1; } }
@keyframes headlight-breathe { to { opacity: .35; scale: .9; } }
@keyframes flare { 0% { opacity: 0; scale: .2 1; } 20% { opacity: 1; scale: 1 1; } 100% { opacity: 0; scale: 1.4 .6; } }

/* One-off light sweep across the scene as the train lands */
.sweep {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(220,255,180,.55) 48%, rgba(255,255,255,.75) 50%, rgba(220,255,180,.55) 52%, transparent 65%);
  background-size: 250% 100%; animation: sweep 1.8s ease-in-out 1.35s both;
}
@keyframes sweep { 0% { opacity: 0; background-position: 120% 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }

.hero-content { transform: translate3d(calc(var(--px, 0px) * -.6), calc(var(--py, 0px) * -.6), 0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13,13,15,.6) 22%, rgba(13,13,15,.25) 45%, rgba(13,13,15,.18) 70%, rgba(13,13,15,.35) 100%);
}
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 139px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(13,13,15,.5);
  font-size: 13px; color: var(--text-soft);
}
.badge-new { background: #7e9a52; color: #0d0d0f; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 999px; }
.badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { margin-top: 16px; }
.wordmark { width: 702px; max-width: 100%; opacity: .8; }
.wordmark-stacked { display: none; width: 344px; max-width: 100%; opacity: .8; }
.hero-sub { margin-top: 14px; max-width: 470px; font-size: 18px; line-height: 1.4; color: var(--text-soft); }
.hero .btn { margin-top: 32px; }

/* ---------- Logo strips ---------- */
.logos { padding: 80px 0 40px; text-align: center; }
.logos-title { font-size: 18px; color: var(--muted); }
.logo-marquee { margin: 34px auto 0; overflow: hidden; max-width: 740px; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.logo-marquee.narrow { max-width: 520px; }
.logo-track { display: flex; gap: 64px; width: max-content; animation: marquee 22s linear infinite; }
.logo-item { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 500; color: var(--text); white-space: nowrap; opacity: .85; }
.logo-item img { height: 26px; width: auto; }
.static-desktop { mask-image: none; -webkit-mask-image: none; }
.static-desktop .logo-track { animation: none; margin: 0 auto; }
.static-desktop .dup { display: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
.partners { padding: 40px 0 20px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0 0; }
.head { margin-bottom: 64px; }
.head.center { text-align: center; }
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green);
  opacity: .85; margin-bottom: 10px;
}
.label::before { content: ""; width: 12px; height: 6px; border-radius: 4px; background: var(--green); }
.head h2, .cta h2 {
  font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 400;
  color: var(--text-soft);
}
.dim { color: var(--dim); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

.icon-box {
  flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.icon-box svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- What we do ---------- */
.usecases { display: grid; grid-template-columns: 447px 1fr; overflow: hidden; }
.uc-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.uc-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.uc-item:last-child { border-bottom: 0; }
.uc-item:hover { background: rgba(255,255,255,.015); }
.uc-text { flex: 1; display: flex; flex-direction: column; padding-top: 7px; }
.uc-title { font-size: 20px; line-height: 1.3; color: var(--text-soft); }
.uc-desc { font-size: 17px; line-height: 1.35; color: var(--dim); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease, margin .3s; }
.uc-item.active .uc-desc { max-height: 120px; opacity: 1; margin-top: 6px; }
.chev { flex: none; width: 18px; height: 18px; margin-top: 11px; fill: none; stroke: var(--text-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }

.uc-visual { padding: 40px 86px 0; display: flex; }
.app {
  width: 100%; min-height: 360px; display: grid; grid-template-columns: 30px 1fr;
  border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; background: #111113; overflow: hidden;
  font-size: 9px; color: var(--muted);
}
.app-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 10px; }
.app-side img { width: 14px; margin-bottom: 14px; }
.app-side i { width: 9px; height: 9px; border-radius: 2px; background: #3f3f46; }
.app-side i.on { background: var(--green); box-shadow: 0 0 0 4px rgba(178,214,125,.15); }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-weight: 500; }
.app-search { margin-left: auto; width: 110px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 5px; color: #52525b; font-weight: 400; }
.app-user { display: flex; align-items: center; gap: 5px; font-weight: 400; white-space: nowrap; }
.app-user b { width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #0d0d0f; display: grid; place-items: center; font-size: 8px; }
.app-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px; }
.app-head b { font-size: 11px; color: var(--text); font-weight: 500; }
.app-head em { white-space: nowrap; font-style: normal; margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #27272a; font-size: 8px; }
.app-btn { background: var(--text-soft); color: #18181b; padding: 4px 8px; border-radius: 4px; font-weight: 500; white-space: nowrap; }
.app-table { margin: 0 14px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: opacity .25s; }
.app-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr .9fr; gap: 8px; padding: 9px 10px; border-top: 1px solid rgba(255,255,255,.04); color: var(--muted); }
.app-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row:first-child { border-top: 0; background: rgba(255,255,255,.02); color: #71717a; }
.app-row span:first-child { color: var(--text-soft); }
.app-row:first-child span:first-child { color: #71717a; }
.st { display: inline-flex; align-items: center; gap: 4px; }
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.st.ok { color: #86c46a; } .st.run { color: #5ec8e5; } .st.wait { color: #e5b85e; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry { padding: 0 0 22px; overflow: hidden; }
.industry-img { height: 352px; display: grid; place-items: center; padding: 50px 40px 30px; }
.industry-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .6s ease; }
.industry:hover .industry-img img { transform: scale(1.04); }
.industry h3 { font-size: 20px; color: var(--text-soft); padding: 0 24px; margin-top: 18px; }
.industry p { font-size: 17px; line-height: 1.36; color: var(--dim); padding: 0 24px; margin-top: 8px; }

/* ---------- Compare ---------- */
.compare { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 12px; }
.compare-col { padding: 24px 24px 18px; }
.compare-col h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; color: var(--text-soft); margin-bottom: 24px; }
.compare-col.highlight { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; }
.x-list, .check-list { list-style: none; display: grid; gap: 13px; font-size: 16px; }
.x-list li, .check-list li { display: flex; align-items: center; gap: 10px; }
.x-list li { color: var(--dim); }
.check-list li { color: var(--text-soft); }
.x-list li::before, .check-list li::before { content: ""; width: 14px; height: 14px; flex: none; background: center / contain no-repeat; }
.x-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b93' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E"); }
.check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2d67d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr) 1.01fr; grid-template-rows: repeat(3, 214px); gap: 16px; }
.feat { padding: 23px; display: flex; flex-direction: column; }
.feat h3 { margin-top: auto; font-size: 20px; color: var(--text-soft); }
.feat p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--dim); max-width: 300px; }
.feat-tall { grid-column: 3; grid-row: 1 / 4; padding: 23px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tall-glow { flex: 1; display: grid; place-items: center; position: relative; }
.tall-glow::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(178,214,125,.14), transparent 70%); }
.tall-glow img { width: 120px; opacity: .14; position: relative; }
.tall-copy h3 { font-size: 36px; line-height: 1.15; letter-spacing: -0.03em; color: var(--text-soft); margin-bottom: 36px; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 96px; }
.cta { padding: 64px 32px; }
.cta p { margin-top: 18px; max-width: 400px; font-size: 16px; color: var(--muted); line-height: 1.45; }
.cta .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.footer { background: #0a0a0b; border-top: 1px solid var(--line); padding: 80px 0 28px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; left: 50%; top: -220px; translate: -50% 0; width: 900px; height: 440px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(178,214,125,.09), transparent);
}
.footer > .container-sm { position: relative; }

.to-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; max-width: 280px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.footer-contact { display: grid; gap: 10px; margin-top: 24px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); width: fit-content; transition: color .2s; }
.footer-contact a:hover { color: var(--green); }
.footer-contact svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-col > a { font-size: 15px; color: var(--text-soft); width: fit-content; position: relative; transition: color .2s; }
.footer-col > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.footer-col > a:hover { color: #fff; }
.footer-col > a:hover::after { transform: scaleX(1); }
.footer-col em { font-style: normal; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(178,214,125,.35); border-radius: 999px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }

.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text-soft); transition: all .2s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: #111; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-small { font-size: 13px; color: var(--dim); max-width: 200px; line-height: 1.45; margin-top: 4px; }

.footer-wordmark { width: 100%; height: auto; margin-top: 72px; opacity: .06; user-select: none; pointer-events: none; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { color: var(--dim); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.footer-legal a:hover { color: var(--text-soft); }
.to-top:hover svg { transform: translateY(-2px); }

/* ---------- Motion ---------- */
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-content .fade-up:nth-child(2) { animation-delay: .1s; }
.hero-content .fade-up:nth-child(3) { animation-delay: .2s; }
.hero-content .fade-up:nth-child(4) { animation-delay: .3s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-scene, .scene-layer, .headlight, .pulses path, .beacons circle { animation: none; }
  .scene-plate, .streaks, .flare, .sweep, .layer-train.ghost { display: none; }
  .headlight { opacity: .5; }
  .scene-water { filter: none; }
  .logo-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .usecases { grid-template-columns: 380px 1fr; }
  .uc-visual { padding: 32px 32px 0; }
  .industry-img { height: 280px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .feat-tall { grid-column: 1 / -1; grid-row: auto; height: 300px; }
}

@media (max-width: 809px) {
  .container, .container-sm { padding: 0 24px; }
  .nav-inner { height: 68px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #0d0d0f; border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all .25s;
  }
  .nav-links > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin: 18px 0 0; }
  .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; }

  /* Products menu becomes an accordion inside the mobile menu */
  .has-menu { border-bottom: 1px solid var(--line); }
  .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 17px; }
  .nav-trigger:hover { opacity: 1; }
  .mega {
    position: static; width: auto; display: none; grid-template-columns: 1fr; padding: 0 0 14px;
    background: none; border: 0; box-shadow: none; opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  }
  .mega::before { display: none; }
  .has-menu.open .mega { display: grid; }
  .mega-cats { flex-direction: row; border-right: 0; padding: 0 0 8px; }
  .mega-cat { flex: 1; padding: 8px; }
  .mega-cat small, .mega-ico { display: none; }
  .mega-cat b { font-size: 14px; }
  .mega-panel { grid-template-columns: 1fr; padding: 0; }
  .mega-list a { font-size: 15px; }
  .mega-feature { display: none !important; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero { height: 600px; }
  .hero { --fx: 62%; }
  .hero-content { padding-top: 120px; }
  .wordmark { display: none; }
  .wordmark-stacked { display: block; }
  .hero-sub { font-size: 15px; max-width: 320px; }
  .hero .btn { margin-top: 40px; }

  .static-desktop { mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
  .static-desktop .logo-track { animation: marquee 22s linear infinite; }
  .static-desktop .dup { display: flex; }

  .section { padding-top: 96px; }
  .head { margin-bottom: 40px; }
  .usecases { grid-template-columns: 1fr; }
  .uc-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .uc-visual { padding: 24px 16px 0; }
  .app { min-height: 280px; }
  .uc-title { font-size: 18px; }
  .uc-desc { font-size: 15px; }

  .industry-grid { grid-template-columns: 1fr; }
  .industry-img { height: 320px; }
  .compare { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .feat { min-height: 200px; }
  .feat-tall { grid-column: auto; height: 320px; }
  .cta { padding: 48px 24px; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-wordmark { margin-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Product catalogue page (light) ---------- */
.page-light { background: #f2f2f0; color: #18181b; }
.page-light .grain { mix-blend-mode: multiply; opacity: .05; }
.catalog { padding: 150px 0 110px; }
.catalog-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.catalog-head .label { color: #7e9a52; margin-bottom: 14px; }
.catalog-head .label::before { background: #b2d67d; }
.catalog-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-bottom: 10px; }
.ctag {
  padding: 3px 8px; border-radius: 4px; background: #e2e2df; color: #27272a;
  font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  animation: tagFloat 4s ease-in-out var(--d) infinite alternate;
}
@keyframes tagFloat { to { transform: translateY(-4px); } }
.catalog-head h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 400; color: #111; }
.catalog-head > p { max-width: 520px; margin-top: 16px; font-size: 16px; color: #6b6b72; line-height: 1.45; }

.seg {
  display: inline-grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 38px 0 56px; padding: 6px;
  background: #e6e6e3; border: 1px solid #dcdcd8; border-radius: 10px; width: min(570px, 100%);
}
.seg-btn { text-align: center; padding: 8px 12px; border-radius: 7px; font-size: 15px; color: #27272a; white-space: nowrap; transition: background .2s, color .2s; }
.seg-btn:hover { background: rgba(0,0,0,.04); }
.seg-btn.active { background: #111; color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  display: flex; flex-direction: column; padding: 12px 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,.55); border: 1.5px solid #cfcfcb;
  animation: cardIn .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 60ms);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product-card:hover { border-color: #a9a9a4; box-shadow: 0 16px 30px -18px rgba(0,0,0,.25); transform: translateY(-2px); }
.product-card.highlight { border-color: #9cc15f; box-shadow: 0 0 0 4px rgba(178,214,125,.35); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.product-media { height: 172px; border-radius: 8px; overflow: hidden; background: #ddd; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media.placeholder { display: grid; place-items: center; background: linear-gradient(160deg, #e8ecf1, #cfd8e3); }
.shape { width: 70%; height: 85%; }
.shape > * { fill: #111; }
.shape .pane { fill: #eef1f1; }
.product-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 16px; color: #111; }
.pbadge[hidden] { display: none; }
.pbadge { font-size: 10px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: #e8f0da; color: #5b7436; }
.product-card p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #6b6b72; flex: 1; }
.btn-green {
  align-self: flex-start; margin-top: 14px; padding: 7px 12px; border-radius: 7px;
  background: #b2d67d; color: #18181b; font-size: 13px; font-weight: 500; transition: background .2s;
}
.btn-green:hover { background: #a3ca69; }

.catalog-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px;
  padding: 28px; border-radius: 12px; background: #e6e6e3;
}
.catalog-cta h2 { font-size: 24px; letter-spacing: -0.02em; color: #111; }
.catalog-cta p { margin-top: 6px; font-size: 15px; color: #6b6b72; }
.catalog-cta .btn { flex: none; }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #2a2a2e; }

@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 809px) {
  .catalog { padding: 120px 0 80px; }
  .seg { display: flex; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; margin: 30px 0 36px; }
  .seg-btn { flex: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { height: 210px; }
  .catalog-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ctag, .product-card { animation: none; }
}
.page-light .nav { background: #111113; }

/* ---------- Product detail page ---------- */
.detail { padding-top: 120px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #66666d; margin-bottom: 28px; }
.crumbs a { color: #52525b; transition: color .2s; }
.crumbs a:hover { color: #111; }
.crumbs [aria-current] { color: #111; }

.detail-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.gallery-stage {
  aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #ddd; border: 1.5px solid #cfcfcb;
  display: grid; place-items: center; animation: cardIn .4s ease both;
}
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery-stage.drawing { background: #fff; }
.gallery-stage.drawing img { object-fit: contain; padding: 8%; }
.gallery-stage.placeholder { background: linear-gradient(160deg, #e8ecf1, #cfd8e3); }
.gallery-stage .shape { width: 60%; height: 70%; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs[hidden] { display: none; }
.gallery-thumbs button {
  width: 96px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 1.5px solid #cfcfcb; background: #ddd;
  opacity: .6; transition: opacity .2s, border-color .2s; display: grid; place-items: center;
}
.gallery-thumbs button.drawing { background: #fff; }
.gallery-thumbs button.placeholder { background: linear-gradient(160deg, #e8ecf1, #cfd8e3); }
.gallery-thumbs button:hover { opacity: .9; }
.gallery-thumbs button.active { opacity: 1; border-color: #111; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.drawing img { object-fit: contain; padding: 8px; }
.gallery-thumbs .shape { width: 70%; height: 70%; }

.summary { padding-top: 6px; }
.summary .label { color: #7e9a52; }
.summary .label::before { background: #b2d67d; }
.summary h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 400; color: #111; }
.summary .pbadge { display: inline-block; margin-top: 14px; }
.summary-desc { margin-top: 18px; font-size: 18px; line-height: 1.45; color: #52525b; max-width: 480px; }
.summary-points { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.summary-points li, .feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #27272a; }
.summary-points li::before, .feature-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: #b2d67d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.summary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.btn-ghost-dark { border: 1.5px solid #cfcfcb; color: #111; }
.btn-ghost-dark:hover { border-color: #111; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #dcdcd8; }
.trust div { display: flex; gap: 10px; align-items: flex-start; }
.trust svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #7e9a52; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust span { font-size: 12px; color: #66666d; line-height: 1.35; }
.trust b { display: block; font-size: 13px; font-weight: 500; color: #111; margin-bottom: 2px; }

.detail-info { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; margin-top: 88px; }
.info-card { padding: 26px; border-radius: 12px; background: rgba(255,255,255,.55); border: 1.5px solid #dcdcd8; }
.info-card h2, .related-head h2 { font-size: 22px; letter-spacing: -0.02em; color: #111; margin-bottom: 18px; }
.feature-list, .app-list { list-style: none; display: grid; gap: 12px; }
.spec-table { display: grid; }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid #e2e2df; font-size: 14px; }
.spec-row:first-child { border-top: 0; padding-top: 0; }
.spec-row dt { color: #66666d; }
.spec-row dd { color: #18181b; }
.spec-note { margin-top: 14px; font-size: 12px; color: #6b6b72; }
.app-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #27272a; }
.app-list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #7e9a52; flex: none; }

.related { margin-top: 88px; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.related-all { font-size: 14px; color: #52525b; }
.related-all:hover { color: #111; }
.detail .catalog-cta { margin-top: 64px; }

@media (max-width: 1023px) {
  .detail-top { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; }
  .detail-info { grid-template-columns: 1fr 1fr; }
  .detail-info .wide { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 809px) {
  .detail { padding-top: 100px; }
  .detail-info { grid-template-columns: 1fr; margin-top: 56px; }
  .trust { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 110px 1fr; }
  .related { margin-top: 56px; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1.5px solid #dcdcd8; border-radius: 10px; overflow: hidden; }
.stats[hidden] { display: none; }
.stats div { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.5); }
.stats div + div { border-left: 1.5px solid #dcdcd8; }
.stats b { font-size: 17px; font-weight: 500; color: #111; letter-spacing: -0.01em; }
.stats span { font-size: 12px; color: #66666d; }

.dims { margin-top: 16px; padding: 26px; border-radius: 12px; background: rgba(255,255,255,.55); border: 1.5px solid #dcdcd8; }
.dims[hidden] { display: none; }
.dims-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.dims-head h2 { font-size: 22px; letter-spacing: -0.02em; color: #111; }
.dims-head span { font-size: 13px; color: #6b6b72; }
.dims-row { display: grid; grid-template-columns: 48px 1.6fr 1fr 1fr; gap: 16px; padding: 12px 4px; border-top: 1px solid #e2e2df; font-size: 14px; color: #18181b; }
.dims-th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #66666d; }
.dims-row span:first-child { color: #6b6b72; }
.spec-row { grid-template-columns: 150px 1fr; }

@media (max-width: 809px) {
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1.5px solid #dcdcd8; }
  .dims { padding: 20px; }
  .dims-row { grid-template-columns: 24px 1.4fr 1fr .9fr; gap: 10px; font-size: 13px; }
}
.summary .pbadge[hidden] { display: none; }

/* ---------- Inner pages (About, Contact) ---------- */
.nav-links > a[aria-current="page"] { color: var(--green); }
.page { padding-top: 75px; }
.page-hero { padding-top: 96px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 400; color: var(--text-soft); max-width: 900px; }
.page-lead { margin-top: 24px; max-width: 560px; font-size: 18px; line-height: 1.45; color: var(--muted); }
.page-hero .fade-up:nth-child(2) { animation-delay: .1s; }
.page-hero .fade-up:nth-child(3) { animation-delay: .2s; }

.about-banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 9; }
.about-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.03em; color: var(--text-soft); }
.story-copy { display: grid; gap: 18px; padding-top: 30px; }
.story-copy p { font-size: 17px; line-height: 1.55; color: var(--muted); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-card { padding: 32px; }
.mv-card h3, .step-card h3, .value h3 { font-size: 20px; color: var(--text-soft); margin-top: 24px; }
.mv-card p, .step-card p, .value p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--dim); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { padding: 26px 24px 28px; position: relative; overflow: hidden; }
.step-num { font-size: 13px; font-weight: 500; color: var(--green); letter-spacing: .05em; }
.step-card h3 { margin-top: 48px; }
.step-card::after { content: ""; position: absolute; left: 24px; right: 24px; top: 58px; height: 1px; background: linear-gradient(90deg, rgba(178,214,125,.4), transparent); }

.industry-grid.compact .industry-img { height: 260px; }
a.industry { transition: border-color .2s; }
a.industry:hover { border-color: var(--line-strong); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value h3 { margin-top: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; padding-bottom: 120px; }
.contact-info { display: grid; gap: 12px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; transition: border-color .2s; }
a.info-item:hover { border-color: var(--line-strong); }
.info-item small { display: block; font-size: 13px; color: var(--dim); }
.info-item b { display: block; font-weight: 400; font-size: 16px; color: var(--text-soft); margin-top: 2px; line-height: 1.4; }
.next { padding: 24px; margin-top: 12px; }
.next h3 { font-size: 18px; color: var(--text-soft); margin-bottom: 16px; }
.next ol { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; font-size: 14px; color: var(--dim); line-height: 1.45; }
.next li::before { content: counter(n); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--green-soft); color: var(--green); }
.next li b { font-weight: 500; color: var(--text-soft); }

.contact-form { padding: 32px; position: relative; display: grid; gap: 18px; }
.form-head h2 { font-size: 28px; letter-spacing: -0.03em; color: var(--text-soft); }
.form-head p { margin-top: 6px; font-size: 14px; color: var(--dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(255,255,255,.03);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option, .field select optgroup { background: #18181b; color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5a5a62; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: rgba(178,214,125,.04); }
.field.invalid input, .field.invalid textarea { border-color: #e5776b; }
.field.invalid > span::after { content: " — required"; color: #e5776b; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--dim); max-width: 320px; }
.contact-form.sent > :not(.form-success) { visibility: hidden; }
.form-success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px; }
.form-success[hidden] { display: none; }
.form-success .icon-box { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); }
.form-success .icon-box svg { width: 24px; height: 24px; stroke-width: 2.4; }
.form-success h3 { font-size: 24px; color: var(--text-soft); }
.form-success p { max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.form-success a { color: var(--green); }
.form-success .btn { margin-top: 10px; }

@media (max-width: 1023px) {
  .steps, .values { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 809px) {
  .page-hero { padding-top: 64px; padding-bottom: 40px; }
  .about-banner { aspect-ratio: 4 / 3; }
  .story, .mv { grid-template-columns: 1fr; gap: 24px; }
  .story-copy { padding-top: 0; }
  .steps, .values { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { padding-bottom: 80px; }
}
.section.container-sm { padding-left: 40px; padding-right: 40px; }
a.industry, .industry { display: block; }
.industry-img img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 809px) { .section.container-sm { padding-left: 24px; padding-right: 24px; } }
.industry-img { display: block; }

/* ---------- Light theme for About / Contact (matches product pages) ---------- */
.page-light .page-hero h1, .page-light .story h2, .page-light .head h2, .page-light .cta h2,
.page-light .form-head h2, .page-light .form-success h3 { color: #111; }
.page-light .dim { color: #9a9aa0; }
.page-light .page-lead, .page-light .story-copy p { color: #6b6b72; }
.page-light .label { color: #7e9a52; }
.page-light .label::before { background: #b2d67d; }

.page-light .card { background: rgba(255,255,255,.55); border: 1.5px solid #dcdcd8; }
.page-light a.card:hover, .page-light a.industry:hover { border-color: #a9a9a4; }
.page-light .icon-box { background: #fff; border-color: #dcdcd8; }
.page-light .icon-box svg { stroke: #6f8c45; }
.page-light .mv-card h3, .page-light .step-card h3, .page-light .value h3,
.page-light .industry h3, .page-light .next h3 { color: #111; }
.page-light .mv-card p, .page-light .step-card p, .page-light .value p, .page-light .industry p { color: #6b6b72; }
.page-light .step-num { color: #6f8c45; }
.page-light .step-card::after { background: linear-gradient(90deg, rgba(126,154,82,.5), transparent); }
.page-light .about-banner { border-color: #dcdcd8; }
.page-light .industry-img { background: radial-gradient(70% 60% at 50% 55%, #2a2d2b, #161817); margin: 10px 10px 0; border-radius: 10px; }

.page-light .cta { background: #111113; border-color: #111113; }
.page-light .cta h2 { color: #f4f4f5; }
.page-light .cta .dim { color: #8b8b93; }

/* Contact */
.page-light .info-item small { color: #66666d; }
.page-light .info-item b { color: #111; }
.page-light .next li { color: #6b6b72; }
.page-light .next li b { color: #111; }
.page-light .next li::before { background: #e8f0da; color: #5b7436; }
.page-light .form-head p, .page-light .form-note { color: #66666d; }
.page-light .field > span { color: #3f3f46; }
.page-light .field input, .page-light .field select, .page-light .field textarea { background: #fff; border-color: #d4d4d0; color: #111; }
.page-light .field input::placeholder, .page-light .field textarea::placeholder { color: #a1a1aa; }
.page-light .field input:focus, .page-light .field select:focus, .page-light .field textarea:focus { border-color: #7e9a52; background: #fff; box-shadow: 0 0 0 3px rgba(178,214,125,.35); }
.page-light .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.page-light .field select option, .page-light .field select optgroup { background: #fff; color: #111; }
.page-light .contact-form .btn-light { background: #111; color: #fff; }
.page-light .contact-form .btn-light:hover { background: #2a2a2e; }
.page-light .form-success { background: #f7f7f5; border-radius: inherit; }
.page-light .form-success p { color: #6b6b72; }
.page-light .form-success a { color: #5b7436; }
.page-light .form-success .icon-box { background: #e8f0da; border-color: #d4e4b8; }
.page-light .form-success .btn-outline { color: #111; border-color: #cfcfcb; }
.page-light .field select { background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }

/* Contact intro: logo on the right, as tall as the intro text block */
.hero-with-logo { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.hero-with-logo .hero-text { min-width: 0; }
.hero-logo { height: 100%; width: auto; align-self: stretch; animation-delay: .3s; }
@media (max-width: 809px) { .hero-logo { display: none; } }
.hero-logo.fade-up { animation-name: logoIn; }
@keyframes logoIn { to { opacity: .18; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-logo.fade-up { opacity: .18; } }
.form-foot { justify-content: flex-end; }

/* ---------- Header v2: floating bar on scroll ---------- */
.nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: padding .35s ease; }
.nav-inner {
  position: relative; height: 75px; padding-left: 40px; padding-right: 40px; border: 1px solid transparent; border-radius: 0;
  background: rgba(13,13,15,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: height .35s ease, max-width .35s ease, border-radius .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease, padding .35s ease;
}
.page-light .nav { background: transparent; }
.page-light .nav-inner { background: #111113; }
.nav.scrolled { padding-top: 12px; }
.nav.scrolled .nav-inner {
  height: 62px; max-width: 1200px; border-radius: 16px; padding-left: 14px; padding-right: 10px;
  background: rgba(18,18,20,.78); border-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
}
.page-light .nav.scrolled .nav-inner { background: rgba(17,17,19,.92); }

.brand { transition: opacity .2s; }
.brand:hover { opacity: .85; }
.brand img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

.nav-links { gap: 4px; }
.nav-links > a:not(.btn), .nav-trigger {
  position: relative; padding: 8px 14px; border-radius: 10px; color: var(--text); opacity: 1;
  transition: background .2s, color .2s;
}
.nav-links > a:not(.btn):hover, .nav-trigger:hover, .has-menu.open .nav-trigger { opacity: 1; background: rgba(255,255,255,.07); color: #fff; }
.nav-links > a[aria-current="page"], .nav-trigger.is-current { color: #fff; }
.nav-links > a[aria-current="page"]::after, .nav-trigger.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green);
}
.nav-trigger.is-current::after { margin-left: -9px; }

.nav-cta {
  margin-left: 10px; height: 42px; padding: 0 16px; gap: 8px; border-radius: 11px; border: 0;
  background: var(--green); color: #111; font-weight: 500; font-size: 15px;
}
.nav-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-cta:hover { background: #c3e08f; }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left;
  transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, rgba(178,214,125,0), var(--green));
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.nav.scrolled .nav-progress { opacity: 1; left: 16px; width: calc(100% - 32px); }

.mega { top: calc(100% + 14px); }

@media (max-width: 809px) {
  .nav-inner { height: 64px; padding-left: 24px; padding-right: 18px; }
  .nav.scrolled { padding: 8px 10px 0; }
  .nav.scrolled .nav-inner { height: 58px; padding-left: 14px; padding-right: 8px; border-radius: 14px; }
  .nav-links { top: calc(100% + 8px); left: 0; right: 0; border-radius: 0 0 16px 16px; border: 1px solid var(--line); background: rgba(13,13,15,.98); }
  .nav.scrolled .nav-links { border-radius: 16px; }
  .nav-links > a:not(.btn), .nav-trigger { padding: 14px 4px; border-radius: 0; }
  .nav-links > a:not(.btn):hover, .nav-trigger:hover, .has-menu.open .nav-trigger { background: none; }
  .nav-links > a[aria-current="page"]::after { left: auto; right: 6px; top: 50%; bottom: auto; margin: -2px 0 0; }
  .nav-trigger.is-current::after { display: none; }
  .nav-cta { margin: 18px 0 4px; height: 48px; justify-content: center; }
}


/* ---------- Hero polish: train glint, particles, wordmark shine, scroll ---------- */
.glint {
  clip-path: polygon(48.70% 67.29%, 51.11% 65.82%, 53.39% 64.65%, 55.99% 63.09%, 61.59% 59.77%, 69.40% 56.25%, 75.26% 52.83%, 81.77% 50.98%, 86.59% 50.98%, 90.62% 53.91%, 93.23% 57.42%, 95.31% 61.33%, 97.01% 64.84%, 98.11% 67.97%, 97.72% 71.09%, 96.61% 73.44%, 95.83% 75.39%, 80.47% 75.59%, 78.12% 74.80%, 72.66% 73.14%, 62.24% 70.61%, 55.99% 69.63%, 52.08% 68.95%, 49.61% 68.26%, 48.70% 67.87%); mix-blend-mode: screen; opacity: .9;
  background: linear-gradient(100deg, transparent 0 40%, rgba(255,255,255,.0) 44%, rgba(235,255,210,.55) 47.5%, rgba(255,255,255,.75) 48.5%, rgba(235,255,210,.4) 50%, transparent 54% 100%);
  background-size: 300% 100%; background-position: 100% 0;
  animation: glint 7s cubic-bezier(.5,0,.3,1) 2.4s infinite;
}
@keyframes glint { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0% 0; } }

.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

.hero h1 { position: relative; }
.wordmark-shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("assets/wordmark.svg") center / contain no-repeat; mask: url("assets/wordmark.svg") center / contain no-repeat;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.95) 50%, transparent 60%);
  background-size: 260% 100%; background-position: 120% 0;
  animation: wordmark-shine 8s ease-in-out 1.5s infinite;
}
@keyframes wordmark-shine { 0% { background-position: 120% 0; } 18%, 100% { background-position: -20% 0; } }
@media (max-width: 809px) {
  .wordmark-shine { -webkit-mask-image: url("assets/wordmark-stacked.svg"); mask-image: url("assets/wordmark-stacked.svg"); }
}

/* Scroll: scene pushes in, copy lifts away (--sp: 0 → 1 across the hero height) */
.hero-scene { scale: calc(1 + var(--sp, 0) * .1); }
.hero-content { opacity: calc(1 - var(--sp, 0) * 1.6); translate: 0 calc(var(--sp, 0) * -70px); }
.hero-fade { opacity: calc(1 + var(--sp, 0) * 1.5); }

@media (prefers-reduced-motion: reduce) {
  .glint, .wordmark-shine, .hero-particles { display: none; }
  .layer-train.main { -webkit-mask-image: none; mask-image: none; }
  .hero-scene { scale: 1; }
  .hero-content { opacity: 1; translate: none; }
}


/* ---------- Ship: arrival glide, wake, idle rocking ---------- */
/* The ship's bow faces the camera (left), stern toward the vanishing point (right) — so, like the train,
   it comes out of the distance: grows from its stern end and is revealed stern-first toward the bow. */
.layer-ship {
  transform-origin: 29% 69.5%; will-change: transform, opacity, filter;
  animation: ship-in 1.3s cubic-bezier(.45,.05,.35,1) .1s both;
}
@property --srev { syntax: "<percentage>"; inherits: false; initial-value: 110%; }
@keyframes ship-reveal { from { --srev: 70%; } to { --srev: 110%; } }
.ship-bob { position: absolute; inset: 0; transform-origin: 16% 69.5%; animation: ship-bob 7s ease-in-out 1.4s infinite; }
.ship-bob img { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(2.60% 56.45%, 4.04% 55.37%, 6.25% 54.79%, 6.32% 52.54%, 7.29% 52.15%, 7.36% 49.02%, 7.68% 49.02%, 7.88% 51.95%, 8.66% 51.95%, 8.66% 49.71%, 19.40% 49.61%, 19.60% 48.63%, 20.25% 48.54%, 20.57% 49.51%, 20.96% 50.00%, 21.03% 52.25%, 22.53% 52.73%, 22.59% 54.88%, 25.52% 55.47%, 25.65% 56.64%, 27.99% 57.13%, 28.12% 62.50%, 28.91% 63.96%, 29.04% 64.65%, 28.39% 67.19%, 27.34% 68.36%, 19.53% 69.14%, 13.02% 69.63%, 9.11% 69.92%, 7.03% 69.92%, 6.38% 69.14%, 6.77% 68.16%, 7.55% 67.19%, 7.03% 65.62%, 5.99% 63.48%, 5.34% 62.89%, 3.78% 62.70%, 3.52% 60.35%, 3.39% 58.40%); }
@keyframes ship-in {
  0%   { transform: scale(.62); opacity: 0; filter: brightness(1.15); }
  12%  { opacity: 1; }
  100% { transform: none; opacity: 1; filter: none; }
}
@keyframes ship-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(.18%) rotate(.12deg); }
  65% { transform: translateY(-.12%) rotate(-.1deg); }
}
.wake {
  position: absolute; left: 1%; top: 66.2%; width: 30%; height: 3.4%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(235,255,225,.55), rgba(178,214,125,.25) 45%, transparent);
  filter: blur(4px); mix-blend-mode: screen; transform-origin: left center;
  animation: wake 2.8s ease-out .5s both;
}
@keyframes wake { 0% { opacity: 0; scale: .3 .6; } 25% { opacity: .85; } 100% { opacity: 0; scale: 1.2 1; } }
@media (prefers-reduced-motion: reduce) {
  .layer-ship, .ship-bob { animation: none; -webkit-mask-image: none; mask-image: none; }
  .wake, .scene-plate { display: none; }
}
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(178,214,125,.3); }
.page-light .nav:not(.scrolled) { background: #111113; }

/* ---------- Mega menu: 7 categories + "soon" states ---------- */
.mega { width: 900px; grid-template-columns: 240px 1fr 210px; }
.mega-cats { gap: 2px; }
.mega-cat { padding: 8px 10px; align-items: center; }
.mega-cat small { margin-top: 0; }
.mega-ico { width: 30px; height: 30px; }
.mega-all { display: block; margin-top: 6px; padding: 10px 10px 4px; border-top: 1px solid var(--line); font-size: 13px; color: var(--green); }
.mega-all:hover { opacity: .8; }
.mega-heading { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.mega-heading:hover { color: var(--text-soft); }
.mega-heading.spaced { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.soon {
  display: inline-block; font-size: 9.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  padding: 3px 6px; border-radius: 999px; color: var(--green); border: 1px solid rgba(178,214,125,.35); background: rgba(178,214,125,.06);
  vertical-align: 1px; margin-left: 4px; white-space: nowrap;
}
.soon.big { font-size: 11px; padding: 5px 9px; margin: 0; }
.mega-list a .soon { margin-left: 6px; }
.mega-soon { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 10px; }
.mega-soon > b { font-size: 18px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.mega-soon p { font-size: 14px; color: var(--dim); max-width: 340px; line-height: 1.5; }
.mega-list.plain { margin: 0; padding-left: 14px; }
.mega-list.plain span { display: block; padding: 5px 8px; font-size: 14px; color: var(--muted); }
.soon-card .mega-feature-img img { max-height: 70px; opacity: .25; }
@media (max-width: 809px) {
  .mega { width: auto; grid-template-columns: 1fr; }
  .mega-cats { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .mega-cat { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
  .mega-cat b { font-size: 13px; }
  .mega-all { width: 100%; border-top: 0; padding: 6px 2px 0; }
  .mega-soon { padding: 6px 2px; }
}

/* Coming-soon products (light pages) */
.pbadge.soon-badge { background: #eef3e4; color: #5b7436; border: 1px solid #d4e4b8; }
.product-card.is-soon .product-media { filter: grayscale(.3); opacity: .85; }
.btn-green.ghost { background: transparent; border: 1.5px solid #b2d67d; color: #3f5a1d; }
.btn-green.ghost:hover { background: #b2d67d; color: #18181b; }
.detail-info:has(.soon-card-detail) { grid-template-columns: 1fr; }
.soon-card-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; }
.soon-card-detail h2 { margin: 0; }
.soon-card-detail p { max-width: 560px; color: #6b6b72; font-size: 16px; line-height: 1.5; }

/* ---------- Products overview ---------- */
.catalog-head h1 + p { max-width: 560px; }
.catalog-head a.label:hover { opacity: .75; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.cat-card { display: flex; flex-direction: column; border-radius: 12px; background: rgba(255,255,255,.55); border: 1.5px solid #cfcfcb; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card:hover { border-color: #a9a9a4; box-shadow: 0 16px 30px -18px rgba(0,0,0,.25); transform: translateY(-2px); }
.cat-card:target { border-color: #9cc15f; box-shadow: 0 0 0 4px rgba(178,214,125,.35); }
.cat-card.featured { grid-column: span 2; flex-direction: row; }
.cat-media { height: 150px; margin: 10px 10px 0; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(160deg, #eef1ec, #dfe6d6); }
.cat-media svg { width: 52px; height: 52px; fill: none; stroke: #6f8c45; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cat-media.dark { background: radial-gradient(70% 60% at 50% 55%, #2a2d2b, #161817); }
.cat-media.dark img { max-height: 85%; width: auto; }
.cat-card.featured .cat-media { flex: 1.1; height: auto; min-height: 300px; margin: 10px 0 10px 10px; }
.cat-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 18px 20px; }
.cat-card.featured .cat-body { padding: 28px; justify-content: center; }
.cat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.cat-top h2 { font-size: 19px; letter-spacing: -0.02em; color: #111; }
.cat-card.featured .cat-top h2 { font-size: 30px; }
.cat-body > p { font-size: 14px; color: #66666d; line-height: 1.45; }
.cat-list { list-style: none; display: grid; gap: 6px; font-size: 14px; color: #52525b; flex: 1; }
.cat-list li { display: flex; gap: 8px; align-items: baseline; }
.cat-list li::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: #b2d67d; flex: none; translate: 0 -2px; }
.cat-subs { list-style: none; display: grid; gap: 8px; width: 100%; margin: 6px 0 8px; }
.cat-subs a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1.5px solid #e2e2df; font-size: 16px; font-weight: 500; color: #111; transition: border-color .2s; }
.cat-subs a:hover { border-color: #b2d67d; }
.cat-subs a span:not(.pbadge) { font-size: 13px; font-weight: 400; color: #66666d; }
.cat-subs .pbadge { align-self: flex-start; }
.cat-body .btn-green { margin-top: auto; }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 809px) {
  .cat-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .cat-card.featured { grid-column: auto; flex-direction: column; }
  .cat-card.featured .cat-media { min-height: 220px; margin: 10px 10px 0; }
}
.summary-points[hidden] { display: none; }
.cat-top { align-items: flex-start; }
.cat-top h2 { flex: 1; min-width: 0; }
.cat-top .pbadge { white-space: nowrap; flex: none; margin-top: 3px; }
.cat-list { align-content: start; }
@media (max-width: 809px) { .nav-links { background: #0d0d0f; } }


/* ---------- Railway Glass listing polish ---------- */
.crumbs.center { justify-content: center; margin-bottom: 18px; }
.catalog-tags { list-style: none; margin: 22px 0 0; gap: 8px; }
.ctag { animation: none; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #dcdcd8; color: #3f3f46; display: inline-flex; align-items: center; gap: 6px; }
.ctag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b2d67d; }
.seg { width: auto; display: inline-flex; gap: 4px; }
.seg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; }
.seg-count, .seg-soon { font-size: 11px; line-height: 1; padding: 3px 6px; border-radius: 999px; background: rgba(0,0,0,.07); color: #52525b; }
.seg-soon { text-transform: uppercase; letter-spacing: .05em; background: #eef3e4; color: #5b7436; }
.seg-btn.active .seg-count { background: rgba(255,255,255,.18); color: #fff; }
.seg-btn.active .seg-soon { background: #b2d67d; color: #111; }
.product-media.drawing { background: #fff; display: grid; place-items: center; }
.product-media.drawing img { width: auto; height: auto; max-width: 70%; max-height: 78%; object-fit: contain; }
.product-card:hover .product-media.drawing img { transform: scale(1.04); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips li { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #fff; border: 1px solid #e2e2df; color: #3f3f46; }
.product-card .btn-green { margin-top: 16px; }
.gallery-stage.drawing img { max-width: 100%; }
@media (max-width: 809px) {
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: visible; }
  .seg-btn { justify-content: center; }
}
.product-media.drawing img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; padding: 18px; background: #fff; }
.product-media.drawing, .gallery-stage.drawing { position: relative; display: block; }
.product-media.drawing img, .gallery-stage.drawing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.gallery-stage.drawing img { padding: 8%; }
.gallery-thumbs button.drawing { position: relative; }
.gallery-thumbs button.drawing img { position: absolute; inset: 0; }

/* Harbour mist: covers the empty berth while the ship comes in, then clears */
.harbour-mist {
  position: absolute; left: -3%; top: 42%; width: 36%; height: 30%; pointer-events: none;
  background:
    radial-gradient(42% 60% at 28% 58%, rgba(120,135,122,.85), transparent 72%),
    radial-gradient(48% 55% at 62% 55%, rgba(105,118,106,.8), transparent 72%),
    radial-gradient(70% 40% at 45% 82%, rgba(140,155,138,.7), transparent 72%),
    radial-gradient(55% 45% at 50% 35%, rgba(70,80,72,.75), transparent 75%);
  filter: blur(14px); animation: mist-clear 2.2s ease-in both;
}
@keyframes mist-clear {
  0%   { opacity: 1; transform: translateX(0) scale(1); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-6%) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .harbour-mist { display: none; } }

/* ---------- Explosion proof lighting ---------- */
.system-blurb { margin-top: -36px; margin-bottom: 40px; font-size: 14px; color: #66666d; }
.product-media.photo { display: block; background: #fff; position: relative; }
.product-media.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.light-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.3; }
.series { font-size: 13px; color: #66666d; margin-top: 4px; }
.series.big { font-size: 16px; margin-top: 10px; }
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.card-badges:empty { display: none; }
.card-badges.big { gap: 10px; margin-top: 20px; }
.cbadge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  min-width: 40px; height: 34px; padding: 0 7px; border-radius: 6px; font-weight: 700; font-size: 12px;
}
.cbadge small { font-size: 8px; font-weight: 600; margin-top: 2px; letter-spacing: .02em; }
.cbadge.atex { background: #f5d90a; color: #111; border: 1.5px solid #111; }
.cbadge.iecex { background: #1f4fa3; color: #fff; font-style: italic; }
.cbadge.hazloc { background: #b5242e; color: #fff; }
.cbadge.ip { background: #fff; color: #111; border: 2px solid #111; border-radius: 999px; min-width: 46px; }
.card-badges.big .cbadge { height: 46px; min-width: 54px; font-size: 15px; }
.card-badges.big .cbadge small { font-size: 9px; }
.light-stage { background: #fff; position: relative; display: block; }
.light-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.light-info { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 72px; align-items: start; }
.cert-group + .cert-group { margin-top: 20px; }
.cert-group h3 { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #5b7436; margin-bottom: 8px; }
.cert-group ul { list-style: none; display: grid; gap: 6px; }
.cert-group li { font-size: 14px; color: #27272a; padding-left: 14px; position: relative; line-height: 1.45; }
.cert-group li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 2px; background: #b2d67d; }
#lCertBadges { padding-top: 18px; margin-top: 22px; border-top: 1px solid #e2e2df; }
@media (max-width: 1023px) { .light-info { grid-template-columns: 1fr; } }
.mega-list.plain-links { margin: 0; padding-left: 14px; }
.mega-list.plain-links a { padding: 4px 8px; font-size: 13px; }
.mega-feature-img.light { background: #fff; border-radius: 8px; }
.mega-feature-img.light img { max-height: 120px; }
.cat-media.white { background: #fff; border: 1px solid #e2e2df; }
.cat-media.white img { max-height: 88%; max-width: 88%; object-fit: contain; }
.cat-card.featured#lighting { flex-direction: row-reverse; }
.cat-card.featured#lighting .cat-media { margin: 10px 10px 10px 0; }
@media (max-width: 809px) { .cat-card.featured#lighting { flex-direction: column; } .cat-card.featured#lighting .cat-media { margin: 10px 10px 0; } }
.mega-feature-img.light { flex: none; height: 150px; margin-bottom: auto; padding: 8px; }

/* ---------- Homepage: about, audience split, product range ---------- */
.story .label { margin-bottom: 16px; }
.story h2.story-h { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 400; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.about-points .mv-card { padding: 28px; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; }
.audience-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; transition: border-color .25s, transform .25s, background .25s; }
.audience-card:hover { border-color: rgba(178,214,125,.4); transform: translateY(-3px); background: rgba(178,214,125,.04); }
.audience-tag { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(178,214,125,.35); border-radius: 999px; padding: 5px 10px; }
.audience-card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-soft); }
.audience-card .check-list { flex: 1; }
.audience-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--green); margin-top: 6px; }
.audience-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.audience-card:hover .audience-link svg { transform: translateX(4px); }

.range-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.range { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.range-item { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; min-height: 104px; justify-content: space-between; transition: border-color .2s, background .2s; }
.range-item:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.range-item b { font-size: 16px; font-weight: 500; color: var(--text-soft); }
.range-item > span:not(.soon) { font-size: 13px; color: var(--dim); }
.range-item .soon { align-self: flex-start; margin: 0; }
.range-note { margin-top: 18px; font-size: 14px; color: #6b6b72; }
.range-note a { color: #5b7436; font-weight: 500; }

/* ---------- Buyers / Sellers ---------- */
.aud-hero h1 { max-width: 900px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.head-sub { margin-top: 16px; max-width: 560px; font-size: 16px; line-height: 1.5; color: #6b6b72; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 26px; }
.benefit h3 { font-size: 18px; margin-top: 20px; color: #111; letter-spacing: -0.01em; }
.benefit p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #6b6b72; }
.fit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 40px; align-items: center; }
.fit h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; color: #111; font-weight: 400; }
.fit p { margin-top: 12px; font-size: 16px; color: #6b6b72; line-height: 1.5; }
.fit-list { gap: 14px; }

/* light-theme versions of shared components */
.page-light .range-item b { color: #111; }
.page-light .range-item > span:not(.soon) { color: #66666d; }
.page-light .range-item:hover { border-color: #b2d67d; background: #fff; }
.page-light .soon { color: #5b7436; border-color: #d4e4b8; background: #eef3e4; }
.page-light .check-list li { color: #27272a; }
.page-light .step-card::after { background: linear-gradient(90deg, rgba(126,154,82,.5), transparent); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 14px; border: 1.5px solid #dcdcd8; background: rgba(255,255,255,.6); padding: 0 22px; transition: border-color .2s, background .2s; }
.faq details[open] { background: #fff; border-color: #cfcfcb; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 500; color: #111; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: #eef3e4; color: #5b7436; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; font-size: 15px; line-height: 1.6; color: #6b6b72; }
.faq summary:focus-visible { outline: 2px solid #7e9a52; outline-offset: 4px; border-radius: 6px; }

@media (max-width: 1023px) {
  .about-points, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .range { grid-template-columns: repeat(2, 1fr); }
  .fit { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 809px) {
  .about-points, .benefit-grid, .benefit-grid.three, .audience { grid-template-columns: 1fr; }
  .about-points { margin-top: 32px; }
  .audience-card { padding: 24px; }
  .fit { padding: 26px; }
  .hero-cta .btn { flex: 1; }
}
.audience { max-width: none; }
.bento .feat h3 { margin-top: 22px; }
.bento .feat p { margin-top: 8px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-section .head { margin-bottom: 0; position: sticky; top: 120px; }
.faq-section .faq { max-width: none; }
.hero-with-logo.aud-hero .hero-logo { max-height: 340px; align-self: center; }
@media (max-width: 1023px) { .faq-section { grid-template-columns: 1fr; gap: 28px; } .faq-section .head { position: static; } }
.hero-cta .btn { white-space: nowrap; }
@media (max-width: 809px) { .hero-cta .btn { flex: 1 1 auto; } }
@media (max-width: 809px) { .hero-with-logo { grid-template-columns: 1fr; } }

/* ---------- Image-led layouts (fewer boxes) ---------- */
.split-media { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media.reverse .media { order: 2; }
.media { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.2; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.media:hover img { transform: scale(1.04); }
.split-copy .label { margin-bottom: 14px; }
.split-copy .story-h { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; color: var(--text-soft); font-weight: 400; }
.lede { margin-top: 20px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 480px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.mini-stats dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.mini-stats dd { margin-top: 6px; font-size: 15px; color: var(--text-soft); line-height: 1.45; }
.icon-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 32px; }
.icon-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-soft); }
.icon-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.industry-grid.open .industry { padding: 0; }
.industry-grid.open .industry-img { margin: 0; border-radius: 16px; background: radial-gradient(70% 60% at 50% 55%, #1d201c, #121313); }
.industry-grid.open .industry h3 { padding: 0; margin-top: 18px; }
.industry-grid.open .industry p { padding: 0; margin-top: 4px; font-size: 15px; }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; isolation: isolate; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,.92) 100%); }
.panel:hover img { transform: scale(1.05); }
.panel-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel-copy h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; color: #fff; font-weight: 400; max-width: 420px; }
.panel-copy .audience-tag { background: rgba(13,13,15,.55); backdrop-filter: blur(6px); }

.photo-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #1a1a1c; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.photo-tile.white { background: #fff; }
.photo-tile.white img { object-fit: contain; padding: 8% 8% 22%; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile > span { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px; background: rgba(13,13,15,.72); backdrop-filter: blur(8px); color: var(--muted); font-size: 13px; }
.photo-tile > span b { color: #fff; font-size: 17px; font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.chip-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-right: 6px; }
.chip-row a { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-soft); transition: border-color .2s, color .2s; }
.chip-row a:hover { border-color: var(--green); color: var(--green); }
.chip-row.light a { border-color: #d4d4d0; color: #27272a; background: #fff; }
.chip-row.light a:hover { border-color: #7e9a52; color: #3f5a1d; }

/* Buyers / Sellers */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-media { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.3; animation-delay: .3s; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.split-hero h1 { font-size: clamp(40px, 5vw, 68px); }
.benefit-grid { gap: 40px 32px; }
.benefit { padding: 0; }
.benefit .icon-box { width: 44px; height: 44px; border-radius: 12px; background: #eef3e4; border: 0; }
.benefit h3 { margin-top: 16px; }
.benefit p { margin-top: 4px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, #b2d67d, #dcdcd8); }
.tl-step { position: relative; }
.tl-step::before { content: ""; position: absolute; top: -21px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #f2f2f0; border: 3px solid #7e9a52; }
.tl-step .step-num { font-size: 13px; color: #6f8c45; font-weight: 500; }
.tl-step h3 { margin-top: 10px; font-size: 18px; color: #111; }
.tl-step p { margin-top: 4px; font-size: 15px; color: #6b6b72; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.img-tile { margin: 0; }
.img-tile .img-wrap { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 55%, #2a2d2b, #141516); }
.img-tile .img-wrap img { max-width: 80%; max-height: 82%; object-fit: contain; transition: transform .8s ease; }
.img-tile:hover .img-wrap img { transform: scale(1.05); }
.img-tile figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #6b6b72; }
.img-tile figcaption b { font-size: 17px; font-weight: 500; color: #111; }
.img-placeholder {
  margin: 0; display: grid; place-items: center; text-align: center; aspect-ratio: 4 / 3; border-radius: 20px;
  border: 2px dashed #c9c9c4; color: #66666d; font-size: 14px; line-height: 1.5;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.02) 0 12px, transparent 12px 24px), #ececea;
}
.img-placeholder small { color: #a1a1aa; }
.img-placeholder.wide { aspect-ratio: 21 / 7; margin-bottom: 48px; }
.fit { grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 0; background: none; border: 0; }
.fit > div { display: contents; }
.fit > div > .label, .fit > div > h2 { grid-column: 2; }
.fit { grid-template-areas: "img copy"; }
.fit .img-placeholder { grid-row: span 4; }

@media (max-width: 1023px) {
  .split-media, .split-hero { grid-template-columns: 1fr; gap: 36px; }
  .split-media.reverse .media { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .tl-step::before { display: none; }
  .fit { grid-template-columns: 1fr; }
  .fit > div > .label, .fit > div > h2 { grid-column: auto; }
  .fit .img-placeholder { grid-row: auto; }
}
@media (max-width: 809px) {
  .panels, .photo-tiles, .tiles { grid-template-columns: 1fr; }
  .panel { aspect-ratio: 4 / 3.6; }
  .icon-list, .mini-stats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .img-placeholder.wide { aspect-ratio: 16 / 9; }
}
.split-hero .hero-text { min-width: 0; }
.fit > div { display: block; }
.fit { grid-template-columns: 1fr 1.1fr; grid-template-areas: none; align-items: center; }
.fit .img-placeholder { grid-row: auto; }
.fit h2 { margin-bottom: 24px; }
.cta-img { position: relative; overflow: hidden; isolation: isolate; border: 0; background: #0d0d0f; }
.cta-img .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
.cta-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.95) 20%, rgba(10,10,11,.4) 75%, rgba(10,10,11,.15)); }
.page-light .cta-img { background: #0d0d0f; }
.panel img[src$=".svg"] { object-position: right center; }
.panel:has(img[src$=".svg"])::after { background: linear-gradient(180deg, rgba(10,10,11,0) 15%, rgba(10,10,11,.95) 75%); }

/* ---------- Homepage motion ---------- */
.home .reveal { opacity: 1; transform: none; }                /* replaced by richer effects below */

/* word-by-word headlines */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--wi) * 55ms); }
.words.on .w > span { transform: none; }

/* section labels: line grows, text fades */
.home .label { opacity: 0; transition: opacity .6s ease .1s; }
.home .label::before { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.75,.15,1); }
.home .label.on { opacity: .85; }
.home .label.on::before { transform: none; }

/* image wipe + zoom settle */
.wipe { clip-path: inset(18% 8% 18% 8% round 28px); opacity: .2; transition: clip-path 1.3s cubic-bezier(.2,.75,.15,1), opacity .9s ease; }
.wipe.on { clip-path: inset(0 0 0 0 round 20px); opacity: 1; }
.wipe img { scale: 1.18; transition: scale 1.6s cubic-bezier(.2,.75,.15,1), transform 1.2s cubic-bezier(.2,.7,.2,1); }
.wipe.on img { scale: 1.06; }
.media img, .panel img, .cta-bg, .industry-img img { translate: 0 var(--py, 0px); }
.industry-img.wipe { clip-path: inset(10% 10% 10% 10% round 24px); }
.industry-img.wipe.on { clip-path: inset(0 round 16px); }
.cta-img.wipe { clip-path: inset(10% 4% 10% 4% round 32px); }
.cta-img.wipe.on { clip-path: inset(0 round 16px); }

/* staggered children */
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--si) * 90ms + 120ms); }
.stagger.on > * { opacity: 1; transform: none; }
.panels.stagger > *, .photo-tiles.stagger > * { transform: translateY(60px); }
.logo-track.stagger > * { transform: translateY(12px); }

/* paragraphs & buttons ease in after their heading */
.home .split-copy .lede, .home .split-copy .btn, .home .cta p, .home .cta .btn { opacity: 0; transform: translateY(16px); transition: opacity .8s ease .35s, transform .9s cubic-bezier(.2,.75,.15,1) .35s; }
.home .split-copy:has(.words.on) .lede, .home .split-copy:has(.words.on) .btn,
.home .cta:has(.words.on) p, .home .cta:has(.words.on) .btn { opacity: 1; transform: none; }

/* hover depth on interactive tiles */
.panel, .photo-tile { transition: transform .5s cubic-bezier(.2,.75,.15,1), box-shadow .5s; }
.panel:hover, .photo-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(178,214,125,.25); }
.chip-row a { transition: border-color .2s, color .2s, transform .25s; }
.chip-row a:hover { transform: translateY(-2px); }

/* ticker */
.ticker { padding: 90px 0 10px; overflow: hidden; display: grid; gap: 4px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; white-space: nowrap; will-change: transform; }
.ticker-track span { font-size: clamp(44px, 7vw, 104px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; color: #26282a; }
.ticker-track i { width: 18px; height: 18px; border-radius: 50%; background: var(--green); flex: none; opacity: .8; }
.ticker-track.outline { margin-left: -40%; }
.ticker-track.outline span { color: transparent; -webkit-text-stroke: 1px rgba(178,214,125,.45); }
.ticker-track.outline i { background: transparent; border: 1.5px solid rgba(178,214,125,.5); }

@media (prefers-reduced-motion: reduce) {
  .words .w > span, .stagger > *, .home .label { transform: none !important; opacity: 1 !important; transition: none !important; }
  .wipe { clip-path: none !important; opacity: 1 !important; }
}
.mega-group.big { align-items: flex-start; padding: 12px 10px; }
.mega-group.big .mega-gico { width: 32px; height: 32px; }
.mega-group.big b { display: block; font-weight: 500; font-size: 15px; }
.mega-group.big small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero .hero-ctas .btn { margin-top: 0; }
.hero-ctas.left { justify-content: flex-start; margin-top: 26px; }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.icon-list.services { margin-top: 28px; }
.benefit-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .benefit-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 809px) { .benefit-grid.four { grid-template-columns: 1fr; } }
.mega-panel[data-panel="lighting"] .mega-col { grid-column: 1 / -1; max-width: 360px; }

/* ===== Client content ===== */
/* customer logos — each on a white tile so mixed logo backgrounds sit evenly on the dark page */
.logo-marquee.customers { max-width: 1040px; margin-top: 30px; }
.logo-marquee.customers .logo-track { gap: 16px; animation-duration: 36s; }
.logo-marquee.customers:hover .logo-track { animation-play-state: paused; }
@keyframes marquee-customers { to { transform: translateX(calc(-50% - 8px)); } }
.logo-marquee.customers .logo-track { animation-name: marquee-customers; }
.cust-logo { flex: none; display: grid; place-items: center; width: 184px; height: 88px; padding: 12px 20px; border-radius: 14px; background: #fff; }
.cust-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* about copy */
.split-copy .lede-sm { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 500px; }
.split-copy .purpose { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--green); font-size: 16px; line-height: 1.5; color: var(--text); max-width: 480px; }
.home .split-copy .lede-sm, .home .split-copy .purpose { opacity: 0; transform: translateY(16px); transition: opacity .8s ease .5s, transform .9s cubic-bezier(.2,.75,.15,1) .5s; }
.home .split-copy:has(.words.on) .lede-sm, .home .split-copy:has(.words.on) .purpose { opacity: 1; transform: none; }

/* what we do */
#what-we-do .head-sub { color: var(--muted); }
.services-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.services-list li { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.svc-num { display: block; font-size: 13px; color: var(--green); letter-spacing: .04em; }
.services-list h3 { margin-top: 26px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.services-list b { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--text-soft); }
.services-list p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1023px) { .services-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .services-list { grid-template-columns: 1fr; } .services-list h3 { margin-top: 14px; } }

/* contact page */
.info-item b a { color: inherit; text-decoration: none; }
.info-item b a:hover { text-decoration: underline; }
.qr-card { padding: 22px; }
.qr-card h3 { font-size: 16px; font-weight: 500; }
.qr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.qr-pair figure { margin: 0; text-align: center; }
.qr-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid rgba(0,0,0,.08); }
.qr-pair figcaption { margin-top: 6px; font-size: 13px; color: #6b6b72; }
.qr-card p { margin-top: 10px; font-size: 13px; color: #6b6b72; }
.logo-marquee.customers { padding: 14px 0; }
.cust-logo.fill { padding: 0; overflow: hidden; }
.cust-logo.fill img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
/* CAD renders: show the whole part on a matching blue-grey ground */
.product-media.render, .gallery-stage.render { background: radial-gradient(circle at 50% 45%, #d9e5f7, #a3b7d6); }
.product-media.render img, .gallery-stage.render img { object-fit: contain; }
.gallery-thumbs button.render { background: #b9cae6; }
.gallery-thumbs button.render img { object-fit: contain; }
.cust-logo.fill { position: relative; }
.cust-logo.fill img { position: absolute; inset: 0; }

/* ===== Responsive pass ===== */
/* Stagger start offsets: these selectors outrank `.stagger.on > *`, so clear them explicitly once revealed */
.panels.stagger.on > *, .photo-tiles.stagger.on > *, .logo-track.stagger.on > * { transform: none; }

/* Ticker drifts right by up to ~35vh while on screen; start far enough left that its edge never shows */
.ticker-track.outline { margin-left: calc(-35vh - 80px); }

/* Readable secondary button over the hero scene */
.hero .btn-glass { background: rgba(13,13,15,.55); border-color: rgba(255,255,255,.28); }

/* Footer "Soon" tags wrap under the link instead of leaving an indent */
.footer-col a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.footer-col em { margin-left: 0; vertical-align: 0; white-space: nowrap; }

/* Tablet */
@media (max-width: 1023px) {
  .fit { grid-template-columns: 1fr; gap: 28px; }
  .fit .img-placeholder { width: 100%; max-width: 560px; aspect-ratio: 16 / 9; }
  .split-media .split-copy { max-width: 640px; }
  .services-list { gap: 32px 28px; margin-top: 36px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .panels, .photo-tiles { grid-template-columns: 1fr 1fr; }
  .panel { aspect-ratio: 4 / 5; }
  .photo-tile { aspect-ratio: 4 / 3; }
  .industry-grid, .industry-grid.open { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .industry-grid.open .industry-img { height: 200px; padding: 24px; }
  .industry-grid.open .industry p { font-size: 14px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 599px) {
  .section { padding-top: 72px; }
  .head { margin-bottom: 28px; }
  .logos { padding: 56px 0 8px; }
  .logos-title { font-size: 16px; padding: 0 24px; }
  .cust-logo { width: 150px; height: 72px; }
  .cust-logo img { max-height: 52px; }
  .panel { aspect-ratio: 1 / 1; }
  .photo-tile { aspect-ratio: 4 / 3; }
  .industry-grid.open .industry-img { height: 230px; }
  .ticker { padding-top: 56px; }
  .hero-ctas { width: 100%; padding: 0 24px; }
  .hero-ctas .btn { flex: 1 1 0; justify-content: center; }
  .hero-ctas.left { padding: 0; }
  .split-copy .purpose { font-size: 15px; }
  .qr-pair img { aspect-ratio: 4 / 5; }
}

/* Category cards: keep featured images inside their frame when the card stacks */
.cat-media { overflow: hidden; }
.cat-media.dark img { max-height: 85%; max-width: 85%; object-fit: contain; }
@media (max-width: 809px) {
  .cat-card.featured .cat-media, .cat-card.featured#lighting .cat-media { flex: none; height: 260px; min-height: 0; }
}

/* Small tablets (600–809): two-up grids instead of one long column */
@media (min-width: 600px) and (max-width: 809px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-media { height: 190px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card.featured { grid-column: span 2; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div + div { border-top: 0; border-left: 1.5px solid #dcdcd8; }
}

/* Contact details sit two-up on tablets */
@media (min-width: 600px) and (max-width: 1023px) {
  .contact-info { grid-template-columns: 1fr 1fr; }
  .contact-info > :nth-child(3) { grid-column: 1 / -1; }
  .qr-pair img { aspect-ratio: 4 / 5; }
}

/* Phone hero buttons: keep labels on one line */
@media (max-width: 599px) {
  .hero-ctas { gap: 8px; padding: 0 16px; }
  .hero-ctas .btn { flex: 1 1 auto; white-space: nowrap; padding-left: 14px; padding-right: 14px; font-size: 15px; }
}
@media (max-width: 809px) {
  .cat-card.featured .cat-media { position: relative; }
  .cat-card.featured .cat-media img { position: absolute; inset: 7%; width: 86%; height: 86%; max-width: none; max-height: none; object-fit: contain; }
}

/* Phone hero: a wide scene can't sit behind the copy in a narrow viewport without losing the ship and
   cutting the train, so stack them — copy first, then the scene at near full width with soft top/bottom edges */
@media (max-width: 599px) {
  .hero { height: auto; max-height: none; container-type: normal; display: flex; flex-direction: column; --fx: 64%; }
  .hero-content { order: 1; padding-top: 104px; }
  .hero-parallax {
    order: 2; position: relative; inset: auto; transform: none; height: 84vw; margin-top: -36px;
    container-type: size; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  }
  .hero-fade { display: none; }
}

/* Product renders are padded to 2:1 with their own backdrop: fill the frame, and give the gallery the same shape */
.product-media.render img, .gallery-stage.render img, .gallery-thumbs button.render img { object-fit: cover; }
.gallery-stage.render { aspect-ratio: 2 / 1; height: auto; }
.product-media.render { height: auto; aspect-ratio: 2 / 1; }
/* QR codes are cropped to the code itself: square, uncropped, on white */
.qr-pair img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 6px; }

/* ==========================================================================
   Type system — one scale for the whole site. Every text role maps to a step:
   display → h2 → h3 → title → lead → body → small → meta → caption → micro
   ========================================================================== */
:root {
  --fs-display: clamp(36px, 4.4vw, 58px);
  --fs-h2: clamp(30px, 3.4vw, 48px);
  --fs-h3: clamp(22px, 2vw, 26px);
  --fs-title: 18px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 15px;
  --fs-meta: 14px;
  --fs-caption: 13px;
  --fs-micro: 11px;
}
p, li, dd, dt, summary, figcaption { line-height: 1.55; }

/* Display — page titles */
.page-hero h1, .split-hero h1, .catalog-head h1 {
  font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.04em; font-weight: 400;
}

/* H2 — section headings (and the product title on detail pages) */
.head h2, .cta h2, .story-h, .split-copy .story-h, .story h2, .story h2.story-h, .fit h2, .summary h1 {
  font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; font-weight: 400;
}

/* H3 — card and panel headings */
.panel-copy h3, .cat-card.featured .cat-top h2, .form-head h2, .form-success h3, .catalog-cta h2,
.info-card h2, .related-head h2, .dims-head h2, .audience-card h3 {
  font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400;
}

/* Title — names of items inside cards and lists */
.product-card h3, .benefit h3, .tl-step h3, .services-list h3, .industry h3, .industry-grid.open .industry h3,
.cat-top h2, .next h3, .qr-card h3, .feat h3, .photo-tile > span b, .img-tile figcaption b, .soon-card-detail h2 {
  font-size: var(--fs-title); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500;
}
.light-card h3 { font-size: var(--fs-title); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; text-transform: none; }
.faq summary { font-size: 17px; font-weight: 500; line-height: 1.4; }

/* Lead — the paragraph that introduces a page or section */
.page-lead, .hero-sub, .lede, .head-sub, .catalog-head > p, .summary-desc, .logos-title {
  font-size: var(--fs-lead); line-height: 1.55; letter-spacing: 0;
}
.hero-sub { font-size: 17px; }

/* Body */
.fit p, .faq details p, .split-copy .purpose, .cta p, .soon-card-detail p, .check-list, .x-list, .icon-list li,
.story-copy p, .feat p, .system-blurb, .series.big, .info-item b, .summary-points li, .feature-list li {
  font-size: var(--fs-body); line-height: 1.6;
}

/* Small — descriptions inside cards */
.product-card p, .benefit p, .tl-step p, .services-list p, .industry p, .industry-grid.open .industry p,
.cat-body > p, .catalog-cta p, .split-copy .lede-sm, .footer-brand p, .form-success p, .next li,
.cert-group li, .spec-row, .mini-stats dd, .mega-soon p {
  font-size: var(--fs-small); line-height: 1.55;
}

/* Meta — supporting text, form labels, navigation aids */
.crumbs, .field > span, .form-head p, .chip-row a, .related-all, .footer-contact a, .footer-contact span,
.footer-bottom, .series, .services-list b, .img-tile figcaption, .dims-row, .cat-list, .range-note,
.audience-link, .cat-subs a span:not(.pbadge), .photo-tile > span {
  font-size: var(--fs-meta);
}
.footer-col > a { font-size: 15px; }

/* Caption — eyebrows and small uppercase headings */
.label, .footer-col h4, .cert-group h3, .chip-label, .audience-tag, .mega-heading, .mini-stats dt {
  font-size: var(--fs-caption); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.step-num, .tl-step .step-num, .svc-num, .info-item small, .qr-pair figcaption, .qr-card p, .footer-small, .form-note {
  font-size: var(--fs-caption);
}

/* Micro — badges and counters */
.pbadge, .footer-col em, .soon.big, .seg-count, .seg-soon, .badge-new, .ctag { font-size: var(--fs-micro); letter-spacing: 0.05em; }
.chips li, .stats span, .spec-note, .dims-th { font-size: 12px; }

/* Buttons — one primary size, one compact size */
.btn { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.btn-green { font-size: var(--fs-meta); padding: 8px 14px; border-radius: 8px; }
.seg-btn { font-size: 15px; }

/* ===== UX pass ===== */
/* Products overview: available categories get full-width rows, coming-soon cards fill a clean 3-up grid */
.cat-card.featured { grid-column: 1 / -1; }
.cat-card.featured .cat-media { flex: 1; min-height: 340px; }
.cat-card.featured .cat-body { flex: 1; padding: 36px 40px; }
@media (max-width: 1023px) { .cat-card.featured .cat-body { padding: 28px; } }

/* Sellers "right fit" image */
.fit-media { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.fit-media img { width: 100%; height: 100%; object-fit: cover; }

/* Keyboard focus: visible on every interactive element, never on mouse click */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.page-light :focus-visible { outline-color: #6f8c45; }

/* Skip link: hidden until focused by keyboard */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--green); color: #18181b; font-weight: 500; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* Footer call to action (replaces placeholder social links) */
.footer-cta .footer-small { margin-top: 0; max-width: 240px; font-size: var(--fs-meta); line-height: 1.55; }
.footer-cta .btn { margin-top: 18px; height: 40px; }

/* Hero badge: a quiet tagline, not a "new" announcement */
.hero .badge { padding: 0 12px 0 14px; }
.notfound { min-height: 60vh; padding-top: 140px; }
.footer-col > a.btn { display: inline-flex; width: auto; align-self: flex-start; color: #18181b; font-size: 15px; padding: 0 18px; }
.footer-col > a.btn:hover { color: #18181b; }
@media (max-width: 1023px) { .footer-cta { grid-column: 1 / -1; } .footer-cta .footer-small { max-width: 420px; } }

/* ===== Products overview: compact, scannable ===== */
.pc-section { margin-top: 56px; }
.catalog-head + .pc-section { margin-top: 40px; }
.pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #d9d9d4; }
.pc-head h2 { font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.01em; color: #111; }
.pc-head p { font-size: var(--fs-meta); color: #66666d; }

.pc-available { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.6); border: 1px solid #d9d9d4; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pc-card:hover { border-color: #b9b9b3; box-shadow: 0 18px 34px -22px rgba(0,0,0,.35); transform: translateY(-2px); }
.pc-media { display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pc-card:hover .pc-media img { transform: scale(1.03); }
.pc-body { padding: 22px 24px 24px; }
.pc-body h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; color: #111; }
.pc-body p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.55; color: #66666d; max-width: 46ch; }
.pc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }
.pc-links a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); font-weight: 500; color: #3f5a1d; }
.pc-links a:hover { color: #111; }
.pc-links svg, .pc-enquire svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pc-muted { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: #66666d; }

.pc-soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pc-soon { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.45); border: 1px solid #deded9; transition: border-color .2s, background .2s; }
.pc-soon:hover { border-color: #9cc15f; background: rgba(255,255,255,.75); }
.pc-soon:target { border-color: #9cc15f; box-shadow: 0 0 0 4px rgba(178,214,125,.3); }
.pc-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #eef3e4; }
.pc-ico svg { width: 20px; height: 20px; fill: none; stroke: #6f8c45; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pc-soon-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-soon-text b { font-size: 15px; font-weight: 500; color: #111; line-height: 1.3; }
.pc-soon-text small { font-size: 13px; color: #66666d; line-height: 1.4; }
.pc-enquire { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: #3f5a1d; opacity: .7; transition: opacity .2s; }
.pc-soon:hover .pc-enquire { opacity: 1; }

@media (max-width: 1023px) { .pc-soon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) {
  .pc-available, .pc-soon-grid { grid-template-columns: 1fr; }
  .pc-enquire { font-size: 0; gap: 0; }
  .pc-enquire svg { width: 16px; height: 16px; }
}

/* Lighting detail: features and certifications as open spec-sheet sections, not boxed cards */
.light-info { display: block; margin-top: 80px; }
.info-block { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid #d9d9d4; }
.info-block:last-child { border-bottom: 1px solid #d9d9d4; }
.info-block > h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; color: #111; }
.info-block .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.info-block .feature-list li { padding: 12px 0; border-bottom: 1px solid #e4e4df; font-size: var(--fs-small); line-height: 1.5; }
#lCertBadges { padding: 0 0 20px; margin: 0; border: 0; }
.info-block .cert-group { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 0; border-top: 1px solid #e4e4df; margin: 0; }
.info-block .cert-group + .cert-group { margin-top: 0; }
.info-block .cert-group h3 { margin: 2px 0 0; }
.info-block .cert-group ul { gap: 6px; }
.info-block .cert-group li { padding-left: 0; font-size: var(--fs-small); }
.info-block .cert-group li::before { display: none; }
@media (max-width: 899px) {
  .info-block { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .info-block .feature-list { grid-template-columns: 1fr; }
  .info-block .cert-group { grid-template-columns: 1fr; gap: 8px; }
}

/* Timeline: a dot travels the line, pausing at each step while that step's marker pulses (6s loop).
   Step markers start at i × (25% + 6px) — four columns with 24px gaps — and are 20px wide; the dot is 10px. */
.timeline::after {
  content: ""; position: absolute; top: 9px; left: 5px; width: 10px; height: 10px; border-radius: 50%;
  background: #7e9a52; box-shadow: 0 0 0 4px rgba(178,214,125,.35); z-index: 1; pointer-events: none;
  animation: tl-travel 6s cubic-bezier(.55,0,.35,1) infinite;
}
@keyframes tl-travel {
  0%    { left: 5px; opacity: 0; }
  3%, 10% { left: 5px; opacity: 1; }
  23.3%, 33.3% { left: calc(25% + 11px); }
  46.7%, 56.7% { left: calc(50% + 17px); }
  70%, 86% { left: calc(75% + 23px); opacity: 1; }
  94%, 100% { left: calc(75% + 23px); opacity: 0; }
}
.tl-step::before { animation: tl-tick 6s ease-out infinite; }
.tl-step:nth-child(1)::before { animation-delay: .1s; }
.tl-step:nth-child(2)::before { animation-delay: 1.4s; }
.tl-step:nth-child(3)::before { animation-delay: 2.8s; }
.tl-step:nth-child(4)::before { animation-delay: 4.2s; }
@keyframes tl-tick {
  0%   { background: #b2d67d; transform: scale(1); box-shadow: 0 0 0 0 rgba(126,154,82,.55); }
  6%   { background: #b2d67d; transform: scale(1.25); }
  14%  { background: #b2d67d; transform: scale(1); box-shadow: 0 0 0 10px rgba(126,154,82,0); }
  24%, 100% { background: #f2f2f0; transform: scale(1); box-shadow: 0 0 0 0 rgba(126,154,82,0); }
}
@media (max-width: 1023px) { .timeline::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .timeline::after { display: none; } .tl-step::before { animation: none; } }

/* Step markers: 20px circles centred on the line (pseudo-elements don't inherit the global border-box) */
.tl-step::before { box-sizing: border-box; width: 20px; height: 20px; top: -24px; }
/* The line runs from the first marker's centre to the last one's — nothing beyond step 04 */
.timeline::before { left: 10px; right: auto; width: calc(75% + 18px); }

/* ===== Button system: large (hero), default, compact (in cards) ===== */
.btn { height: 40px; padding: 0 18px; font-size: 14px; font-weight: 500; border-radius: 10px; gap: 8px; white-space: nowrap; }
.btn-outline { height: 40px; border-radius: 10px; }
/* Large — hero calls to action */
.hero .hero-ctas .btn, .split-hero .hero-cta .btn, .page-hero .hero-cta .btn { height: 44px; padding: 0 20px; font-size: 15px; }
/* Nav call to action stays compact */
.nav-cta { height: 38px; padding: 0 14px; font-size: 14px; }
/* Compact — buttons inside product and category cards */
.btn-green { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
/* Footer button follows the default size */
.footer-col > a.btn { height: 40px; font-size: 14px; padding: 0 18px; }
.footer-cta .btn { height: 40px; }

/* Phones: keep a 44px tap height for main actions, but don't stretch buttons edge to edge */
@media (max-width: 809px) {
  .btn, .hero .hero-ctas .btn, .split-hero .hero-cta .btn, .page-hero .hero-cta .btn { height: 44px; font-size: 15px; }
  .hero-cta .btn, .hero-ctas .btn { flex: 0 0 auto; }
  .hero-ctas { justify-content: center; }
  .btn-green { height: 36px; }
  .nav-links .nav-cta { height: 44px; }
}
@media (max-width: 809px) { .footer-col > a.btn { height: 44px; font-size: 15px; } }
.fit-media.wide { aspect-ratio: 16 / 9; }
.cta.cta-img { border-radius: 20px; }
.nav-links > a.nav-cta[aria-current="page"]::after { display: none; }
/* Multi-line address: icon aligns with the first line */
.footer-contact span { align-items: flex-start; line-height: 1.5; max-width: 320px; }
.footer-contact span svg { margin-top: 3px; flex: none; }

/* ===== Products dropdown: one template for every category =====
   Left: equal single-line category rows. Middle: header (name, one line, link) + captioned groups.
   Right: the same image card for every category. */
.mega { width: 980px; grid-template-columns: 252px 1fr 232px; gap: 0; padding: 10px; }
.mega-cats { gap: 2px; padding: 4px 10px 4px 4px; }
.mega-cat { align-items: center; gap: 12px; padding: 9px 10px; min-height: 52px; }
.mega-cat > span:last-child { min-width: 0; }
.mega-cat b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat small { font-size: 12px; margin-top: 1px; }
.mega-ico { width: 32px; height: 32px; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 12px 10px 4px; font-size: 13px; font-weight: 500; }
.mega-all svg, .mx-link svg, .mx-note-cta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.mega-panel, .mega-panel.active { grid-template-columns: none; gap: 0; padding: 10px 22px 12px; }
.mega-panel.active { display: flex; flex-direction: column; }
.mx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mx-head b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.mx-head .soon { margin-left: 10px; vertical-align: 3px; }
.mx-head p { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--dim); max-width: 340px; }
.mx-link { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--green); white-space: nowrap; }
.mx-link:hover { opacity: .8; }

.mx-groups { column-count: 2; column-gap: 28px; }
.mx-groups.single { column-count: 1; }
.mx-group { break-inside: avoid; margin-bottom: 16px; }
.mx-group h4 { margin-bottom: 4px; padding: 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.mx-group ul { list-style: none; margin: 0; padding: 0; }
.mx-group a, .mx-group li > span { display: block; padding: 6px 8px; border-radius: 6px; font-size: 14px; line-height: 1.35; color: var(--text-soft); transition: background .2s, color .2s; }
.mx-group li > span { color: var(--muted); }
.mx-group a:hover { background: rgba(255,255,255,.04); color: #fff; }
.mx-group a small { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); }

.mx-note { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 8px 2px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.mx-note-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--green); }
.mx-note:hover .mx-note-cta { opacity: .8; }

.mega-feature { display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 14px; border-radius: 12px; justify-content: flex-start; text-align: left; }
.mega-feature[hidden] { display: none; }
.mx-feature-img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.mx-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mega-feature:hover .mx-feature-img img { transform: scale(1.04); }
.mega-feature b { padding: 0 4px; font-size: 14px; font-weight: 500; color: var(--text); }
.mega-feature > span:last-child { padding: 0 4px; font-size: 13px; line-height: 1.45; color: var(--dim); }

@media (max-width: 1100px) { .mega { width: 860px; grid-template-columns: 236px 1fr; } .mega-feature { display: none !important; } }
@media (max-width: 809px) {
  .mega { width: auto; grid-template-columns: 1fr; padding: 8px 0; }
  .mega-panel, .mega-panel.active { padding: 6px 2px 0; }
  .mx-groups { column-count: 1; }
  .mx-head { flex-direction: column; gap: 6px; }
  .mega-cat { min-height: 0; }
}
.mega-feature { align-self: start; }
.mx-head:last-child { border-bottom: 0; margin-bottom: 0; }
@media (max-width: 809px) {
  .mega-all { padding-left: 2px; }
  .mx-group h4, .mx-group a, .mx-group li > span, .mx-note { padding-left: 2px; padding-right: 2px; }
}

/* Contact form: spam trap and send error */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin-top: 4px; padding: 12px 14px; border-radius: 10px; background: #fbeaea; border: 1px solid #f0c9c9; color: #8a1f1f; font-size: var(--fs-meta); line-height: 1.5; }
.form-error a { color: inherit; text-decoration: underline; }
#formSubmit:disabled { opacity: .7; cursor: progress; }
