/* LI-TRANS design system (Roman's 10Web version 1365051, DESIGN.md): zero radius, Plus Jakarta Sans + JetBrains Mono, cobalt glow, calm reveals. */

html:has(body.home-dark) { background-color: var(--bg); }
body.home-dark { font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.home-dark h1, body.home-dark h2, body.home-dark h3, body.home-dark h4 { font-family: var(--font); }
.hero h1, .lt-band h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.band h2, .lt-band h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.lt-band h3, .band h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.lt-band h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.lt-card h2, .lt-box h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.lt-value, .hero-facts b { font-weight: 600 !important; letter-spacing: -.01em; }
.lt-col p:first-child { font-weight: 600; }
.lt-band .wp-block-details summary, .faq-list summary { font-weight: 600; }

/* Mono telemetry labels */
.eyebrow, .kicker, .calc-label, .calc-note, .hero-card-kicker, .form-panel-kicker, .faq-help-label, .models-sub,
.panel-kicker, .panel-label, .services-label, .service-icon, .li-strip-locations-label,
.lt-kicker, .lt-tag, .lt-note, .stage-top, .team-top, .team-role, .mode-top span, .scenario-photo span, .china-photo span,
.faq-list summary span, .marquee-track, .section-foot, .lt-faq summary::before, .lt-band .wp-block-table thead th,
.calc-field span, .home-field span, .track-home-form label > span, .hero-facts strong, .route-pill, .site-footer h2 {
  font-family: var(--mono) !important; font-weight: 500 !important; letter-spacing: .06em !important;
}
.lt-kicker, .kicker, .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted) !important; }
.lt-light .lt-kicker, .band.light .kicker { color: var(--light-muted) !important; }
.lt-kicker::before, .kicker::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.lt-tag, .stage-top, .team-top { color: #8a91a0 !important; }
.pulse { width: 6px; height: 6px; background: var(--blue); animation: beacon 2s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { box-shadow: 0 0 4px 1px rgba(30,95,246,.6); } 50% { box-shadow: 0 0 12px 3px rgba(30,95,246,.9); } }

/* Header: solid at rest, frosted with a cobalt lamp glow once scrolled */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: none;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.site-header::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: min(900px, 80%); height: 1px;
  transform: translateX(-50%); opacity: 0; transition: opacity .4s var(--ease);
  background: linear-gradient(90deg, transparent, rgba(30,95,246,.9), transparent);
}
.site-header.scrolled {
  background: rgba(16,18,22,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: rgba(40,44,52,.8);
  box-shadow: 0 10px 40px -14px rgba(30,95,246,.55), 0 24px 70px -30px rgba(30,95,246,.45);
}
.site-header.scrolled::after { opacity: 1; }
.nav-wrap { min-height: 80px; gap: 16px; justify-content: space-between; }
.logo { flex: none; }
.logo img { height: 34px; }
.nav { flex: 1; margin: 0; justify-content: center; gap: clamp(4px, 1.6vw, 28px); }
.nav a {
  position: relative; padding: 10px 12px; border-radius: 0; font-size: 14px; font-weight: 500;
  color: var(--muted); background: none !important; box-shadow: none !important;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a:focus-visible, .nav a.active { color: var(--ink) !important; }
.nav a:hover::after, .nav a:focus-visible::after, .nav a.active::after { transform: scaleX(1); }
.nobr { white-space: nowrap; }
.nav .nav-cta-menu { display: none; }
.nav-item { position: relative; display: flex; }
.nav-item > a::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav-sub {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 60; min-width: 260px; padding: 8px 0;
  display: grid; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav-sub a { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.nav .nav-sub a::after { display: none; }
.nav .nav-sub a:hover, .nav .nav-sub a:focus-visible, .nav .nav-sub a.current { color: var(--ink) !important; background: rgba(30,95,246,.12) !important; }
.nav .nav-sub a.current { box-shadow: inset 2px 0 0 var(--blue) !important; }
.nav-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.nav-track, .nav-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 0; font-size: 14px; font-weight: 500; white-space: nowrap; transition: .2s var(--ease);
}
.nav-track { background: #1d2027; border: 1px solid var(--line); color: var(--ink); }
.nav-track:hover { border-color: rgba(243,244,246,.4); background: rgba(30,95,246,.12); }
.nav-track-short { display: none; }
.lang-switch { display: inline-flex; min-height: 42px; border: 1px solid var(--line); }
.lang-switch a { display: inline-grid; place-items: center; min-width: 42px; padding: 0 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { color: var(--ink); background: #1d2027; }
@media (max-width: 700px) {
  .lang-switch a.active { display: none; }
  .lang-switch a + a { border-left: 0; }
}
.nav-cta { background: var(--blue); border: 1px solid var(--blue); color: #fff; }
.nav-cta:hover { background: var(--blue-2); box-shadow: var(--glow); }
.menu-btn {
  display: none; margin: 0; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center;
  border-radius: 0; background: #1d2027; border: 1px solid var(--line); color: var(--ink);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none;
  background: var(--blue); box-shadow: 0 0 10px rgba(30,95,246,.8);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}

/* Buttons: cobalt plate with a round arrow badge */
.btn, .lt-band .wp-block-button__link {
  min-height: 50px; padding: 0 26px; border-radius: 0 !important; font-weight: 600; font-size: 15px;
  transition: background-color .2s var(--ease), border-color .2s, box-shadow .25s, transform .1s;
}
.btn:active, .lt-band .wp-block-button__link:active { transform: translateY(1px); }
.btn-primary:hover, .lt-band .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { box-shadow: var(--glow); }
.lt-light .wp-block-button:not(.is-style-outline) .wp-block-button__link, .band.light .btn-primary { box-shadow: none; }
.btn-arrow, .nav-cta .btn-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  font-size: 11px; line-height: 1; transition: transform .25s var(--ease);
}
.lt-band .wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
  content: "→"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  font-size: 11px; line-height: 1; transition: transform .25s var(--ease);
}
.btn:hover .btn-arrow, .nav-cta:hover .btn-arrow, .lt-band .wp-block-button__link:hover::after { transform: translateX(4px); }
.btn-ghost, .lt-band .is-style-outline .wp-block-button__link {
  background: transparent !important; border: 1px solid var(--line) !important; color: var(--ink) !important;
}
.btn-ghost:hover, .lt-band .is-style-outline .wp-block-button__link:hover { border-color: var(--ink) !important; background: rgba(30,95,246,.12) !important; }
.lt-light .is-style-outline .wp-block-button__link, .band.light .btn-line { border-color: var(--light-line) !important; color: var(--light-ink) !important; }
.lt-light .is-style-outline .wp-block-button__link:hover, .band.light .btn-line:hover { border-color: var(--light-ink) !important; }
.btn-line { border-radius: 0; }

/* Cards: hairline plates that lift with a glow; photos zoom inside */
.lt-card, .lt-box, .scenario-card, .china-card, .team-card, .model-card, .cn-step, .stage-card, .mode-card, .hero-facts div, .hero-card, .calc-strip,
.form-panel, .consult-panel, .track-home-form, .faq-list, .faq-help, .team-note, .cn-strip, .stage-choice {
  border-radius: 0 !important; box-shadow: none !important;
}
.lt-card { background: var(--card); padding: 28px; }
.lt-card > .wp-block-image:first-child { margin: -28px -28px 22px; }
.lt-box { background: var(--card); padding: 32px; }
.lt-light .lt-card, .lt-light .lt-box { background: #fff; }
.lt-card, .scenario-card, .china-card, .team-card, .model-card, .cn-step, .stage-card, .mode-card {
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s !important;
}
.lt-card:hover, .scenario-card:hover, .china-card:hover, .team-card:hover, .model-card:hover, .cn-step:hover, .stage-card:hover, .mode-card:hover {
  transform: translateY(-4px); border-color: rgba(30,95,246,.5) !important; box-shadow: var(--glow) !important;
}
.lt-hero .lt-card:hover, .lt-row .lt-card:hover { transform: none; box-shadow: none !important; }
.lt-card img, .scenario-photo img, .china-photo img, .team-photo img, .model-photo img, .mode-card img { transition: transform .5s var(--ease), filter .5s; }
.lt-card:hover img, .scenario-card:hover .scenario-photo img, .china-card:hover .china-photo img, .team-card:hover .team-photo img,
.model-card:hover .model-photo img, .mode-card:hover img { transform: scale(1.05); }
.lt-card > .wp-block-image:first-child, .scenario-photo, .china-photo, .team-photo, .model-photo { overflow: hidden; }
.china-photo img { filter: none; }
.scenario-photo span, .china-photo span, .mode-top span {
  border-radius: 0 !important; background: rgba(16,18,22,.82) !important; color: var(--ink) !important;
  border: 1px solid var(--line); font-size: 11px !important;
}

/* Light bands: 64px technical grid with a radial fade */
.lt-band.lt-light, .band.light { background-image: none; isolation: isolate; }
.lt-band.lt-light::before, .band.light::before, .lt-band.lt-dark:not(.lt-hero)::before, .band.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-size: 64px 64px;
  background-image:
    linear-gradient(to right, rgba(22,25,31,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,25,31,.07) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 25%, transparent 95%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 25%, transparent 95%);
}
.lt-band.lt-dark:not(.lt-hero)::before, .band.dark::before {
  background-image:
    linear-gradient(to right, rgba(243,244,246,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243,244,246,.045) 1px, transparent 1px);
}
.band { position: relative; isolation: isolate; }
.lt-band.lt-dark { isolation: isolate; }
.pip {
  position: absolute; z-index: -1; width: 3px; height: 3px; background: var(--blue); pointer-events: none;
  box-shadow: 0 0 6px var(--blue); transform: translate(-50%, -50%); opacity: .3;
  animation: pip 6s var(--ease) infinite alternate;
}
@keyframes pip {
  0% { opacity: .15; transform: translate(-50%, -50%) scale(.9); }
  50% { opacity: .6; transform: translate(-50%, -50%) scale(1.15); }
  100% { opacity: .2; transform: translate(-50%, -50%) scale(.95); }
}

/* Side rail: a thin, tight wave in the left gutter fills with scroll; one soft dot marks the reader's place */
.band, .lt-band { overflow-x: clip; }
.rail { position: fixed; left: 14px; top: 96px; bottom: 24px; width: 12px; z-index: 30; pointer-events: none; display: none; }
.rail svg { width: 100%; height: 100%; overflow: visible; }
.rail path { fill: none; stroke-linecap: round; }
.rail-track { stroke: rgba(138,145,160,.22); stroke-width: 1; }
.rail-fill { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p, 0)); filter: drop-shadow(0 0 3px rgba(30,95,246,.6)); }
.rail-dot {
  position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 6px; height: 6px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(30,95,246,.5), 0 0 10px 2px rgba(30,95,246,.55);
}
@media (min-width: 1240px) { .rail { display: block; } }

/* Card hover from Roman's newer iteration: a slight tilt toward the cursor and a cobalt light behind the card */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(30,95,246,.16), transparent 60%);
}
.tilt:hover::before { opacity: 1; }
.tilt.tilting { box-shadow: 0 24px 60px -22px rgba(30,95,246,.75), 0 0 0 1px rgba(30,95,246,.45) !important; border-color: rgba(30,95,246,.6) !important; }
.js .rv.tilt.tilting, .tilt.tilting { transition: transform .15s ease-out, box-shadow .3s, border-color .3s, opacity .8s var(--ease), translate .8s var(--ease) !important; }
.lt-card.tilt, .scenario-card.tilt, .china-card.tilt, .team-card.tilt, .model-card.tilt, .cn-step.tilt, .stage-card.tilt { position: relative; }

/* The zoomed parallax photo must not slide under the caption column */
.cn-strip > div { position: relative; z-index: 1; background: #fff; }

/* Hero image frame with a telemetry ticker */
.lt-band.lt-hero > .lt-hero-media { position: relative; }
.lt-hero-media img, .hero-photo { will-change: transform; }

/* Motion (classes are set by motion.js, so content without JS stays visible) */
.js .rv {
  opacity: 0; translate: 0 24px;
  transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms), transform .5s var(--ease), border-color .3s, box-shadow .3s !important;
}
.js .rv.in { opacity: 1; translate: none; }
.js .rv-img { overflow: hidden; }
.js .rv-img img { scale: 1.08; transition: scale 1.2s var(--ease), transform .5s var(--ease); }
.js .rv-img.in img { scale: 1; }
.plx { scale: 1.14; translate: 0 var(--plx, 0px); }
.js .rv-img.in img.plx { scale: 1.14; }
.js .rv-line { position: relative; border-bottom-color: transparent !important; }
.js .rv-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .15s;
}
.lt-light .rv-line::after, .band.light .rv-line::after { background: var(--light-line); }
.js .rv-line.in::after { transform: scaleX(1); }
.js .lt-hero .rv-line::after { background: var(--line); }

@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: 13px; }
  .nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 1050px) {
  .nav-wrap { min-height: 64px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex: none; background: var(--bg); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 0; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav { max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-item { display: block; }
  .nav-item > a { display: block; }
  .nav-item > a::before { display: none; }
  .nav-sub { position: static; min-width: 0; padding: 0 0 6px 14px; display: grid; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav .nav-sub a { padding: 9px 0; font-size: 14px; color: var(--muted); }
  .nav .nav-sub a:hover, .nav .nav-sub a.current { background: none !important; box-shadow: none !important; }
  .nav .nav-cta-menu { display: flex; justify-content: center; min-height: 50px; margin-top: 14px; border: 0; color: #fff !important; background: var(--blue) !important; }
  .nav-actions .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 28px; }
  .site-header.scrolled { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 700px) {
  .nav-track-long { display: none; }
  .nav-track-short { display: inline; }
  .nav-track { padding: 0 12px; font-size: 13px; }
  .lt-card { padding: 20px; }
  .lt-card > .wp-block-image:first-child { margin: -20px -20px 16px; }
  .lt-box { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv-img img, .js .rv-line::after { transform: none !important; translate: none !important; scale: none !important; transition: opacity .15s !important; }
  .plx { scale: none; translate: none; }
  .pip { animation: none; }
  .rail-dot { transition: none; }
  .lt-card:hover, .scenario-card:hover, .china-card:hover, .team-card:hover, .model-card:hover, .cn-step:hover, .stage-card:hover, .mode-card:hover { transform: none; }
  .hero-photo { animation: none !important; }
}
