/* R3 / Cinematic V2. Existing branding, assets and typography remain canonical. */
:root { --signal: #c1e8ed; --motion-object: cubic-bezier(.2,.75,.25,1); }
.r3-signal { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #f0feff; box-shadow: 0 0 9px 2px #b8e7ed75; flex-shrink: 0; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
.hero-sequence { position: relative; }
.chip-slices, .chip-story, .chip-current { display: none; }
.hero .hero-visual { grid-column: 6 / 10; }
.chip-annotations { position: absolute; inset: 0; padding: 0; margin: 0; list-style: none; pointer-events: none; }
.chip-annotations li { position: absolute; left: 82%; width: 225px; color: #bdc8c9; font: 12px/1.5 "JetBrains Mono", monospace; }
.chip-annotations li:nth-child(1) { top: 22%; }
.chip-annotations li:nth-child(2) { top: 36%; }
.chip-annotations li:nth-child(3) { top: 50%; }
.chip-annotations li:nth-child(4) { top: 64%; }
.chip-annotations li:nth-child(5) { top: 78%; }
.chip-annotations li::before { content: ""; position: absolute; top: 8px; left: -35px; width: 26px; border-top: 1px solid #c2dae64d; }
.chip-annotations small { display: block; max-width: 190px; margin-top: 5px; color: #95a5a8; font: 14px/1.4 Inter, sans-serif; }
.scene-caption { position: absolute; left: 56px; right: 56px; bottom: 28px; display: flex; align-items: center; gap: 16px; color: #a2b0b1; font: 12px/1.5 "JetBrains Mono", monospace; letter-spacing: .08em; }
.scene-count { margin-left: auto; }
.cinema-ready .hero-sequence { height: 210svh; min-height: 1450px; }
.cinema-ready .hero { position: sticky; top: 74px; height: calc(100svh - 74px); min-height: 630px; padding-top: 30px; padding-bottom: 70px; }
.cinema-ready .hero-copy { opacity: var(--hero-copy-opacity, 1); transform: translateY(var(--copy-y, 0px)); }
.cinema-ready .hero .status-panel { opacity: var(--hero-copy-opacity, 1); }
.cinema-ready .hero .hero-visual { min-height: 440px; grid-column: 6 / 10; }
.cinema-ready .stack-stage { width: 440px; max-width: 120%; animation: none; transform: translate3d(var(--stack-x, 0px), var(--float-y, 0px), 0) rotateX(var(--stack-rx, 0deg)) rotateY(var(--stack-ry, 0deg)); transition: none; }
.cinema-ready .hero-stack { visibility: hidden; }
.cinema-ready .chip-slices { display: block; position: absolute; inset: 0; }
.chip-slice { position: absolute; inset: 0; background: url('./assets/R3_SYSTEMS_HERO_STACK_MASTER.png') center / 100% 100% no-repeat; transform: translate3d(var(--slice-x, 0px), var(--slice-y, 0px), 0); will-change: transform; filter: brightness(var(--slice-light, 1)); }
.chip-slice:nth-child(1) { z-index: 5; clip-path: polygon(0 0,100% 0,100% 22%,80% 22%,50% 34%,20% 22%,0 22%); }
.chip-slice:nth-child(2) { z-index: 4; clip-path: polygon(0 22%,20% 22%,50% 34%,80% 22%,100% 22%,100% 36%,80% 36%,50% 48%,20% 36%,0 36%); }
.chip-slice:nth-child(3) { z-index: 3; clip-path: polygon(0 36%,20% 36%,50% 48%,80% 36%,100% 36%,100% 50%,80% 50%,50% 62%,20% 50%,0 50%); }
.chip-slice:nth-child(4) { z-index: 2; clip-path: polygon(0 50%,20% 50%,50% 62%,80% 50%,100% 50%,100% 65%,80% 65%,50% 77%,20% 65%,0 65%); }
.chip-slice:nth-child(5) { z-index: 1; clip-path: polygon(0 65%,20% 65%,50% 77%,80% 65%,100% 65%,100% 100%,0 100%); }
.cinema-ready .chip-annotations { opacity: var(--annotation-opacity, 0); }
.chip-annotations li { transition: color 180ms; }
.chip-annotations li.is-active { color: #f2feff; }
.chip-annotations li.is-active::before { border-color: var(--signal); box-shadow: 0 0 8px #c1e8ed55; }
.cinema-ready .chip-current { position: absolute; display: block; left: 50%; top: 18%; height: 64%; width: 1px; background: linear-gradient(transparent,#c1e8ed40,transparent); z-index: 6; opacity: var(--annotation-opacity, 0); }
.chip-current .r3-signal { position: absolute; left: -2px; top: var(--chip-signal-y, 0%); }
.cinema-ready .chip-story { display: block; position: absolute; z-index: 4; left: 56px; top: 28%; width: 36%; opacity: var(--story-opacity, 0); pointer-events: none; }
.chip-story h2 { font-size: clamp(2.7rem, 4.6vw, 4.5rem); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 24px; }
.chip-story > p:last-of-type { font-size: 17px; line-height: 1.65; color: #a7b4b6; max-width: 340px; }
.chip-online { display: flex; gap: 14px; align-items: center; margin-top: 32px; opacity: var(--online-opacity, 0); font: 12px/1.7 "JetBrains Mono", monospace; color: #8c9c9f; }
.chip-online b { color: #e7faff; font-size: 18px; font-weight: 500; letter-spacing: .18em; }
.stack-glow { background: radial-gradient(circle at var(--light-x, 50%) var(--light-y, 50%), #b8e0e32e, #4d717b0d 38%, transparent 68%); }
.hero.is-locked .stack-glow::after { animation: chipLock 900ms ease-out both; }
@keyframes chipLock { 0% { opacity: .2; transform: scale(.7); } 35% { opacity: .8; } 100% { opacity: .15; transform: scale(1.6); } }

/* A working miniature experience reveals its operating system. */
.web-card { grid-column: 1 / -1; padding: 0; margin-top: 14px; overflow: hidden; border-radius: 8px; background: #080c0f; box-shadow: none; }
.web-card:hover { transform: none; }
.web-intro { padding: 30px 34px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.web-intro .kicker { font: 12px/1.5 "JetBrains Mono", monospace; letter-spacing: .07em; color: #8a9c9f; min-height: 0; margin-bottom: 12px; }
.web-intro h3 { font-size: 27px; margin-bottom: 8px; }
.web-intro p { min-height: 0; margin-bottom: 0; font-size: 16px; }
.engine-toggle { display: flex; align-items: center; gap: 20px; border: 1px solid #b6cdd42e; background: transparent; color: #d5e6e9; border-radius: 3px; padding: 13px 17px; cursor: pointer; font-size: 14px; white-space: nowrap; }
.engine-toggle:hover { background: #ffffff08; border-color: #b6cdd46b; }
.portal-scene { height: 610px; position: relative; perspective: 1600px; margin: 10px 24px 0; }
.portal-front { position: absolute; z-index: 3; left: 8%; top: 25px; width: 84%; transform-origin: left center; border: 1px solid #a6c3cb40; border-radius: 7px; background: #080e13; box-shadow: 0 25px 65px #000b; overflow: hidden; transition: transform 1100ms var(--motion-object), width 1100ms var(--motion-object), left 1100ms var(--motion-object); }
.browser-chrome { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 18px; color: #a4b5bc; background: #0e151a; font: 12px/1.3 "JetBrains Mono", monospace; }
.browser-lights { color: #607179; font-size: 10px; letter-spacing: 3px; }
.travel-experience { position: relative; height: 430px; overflow: hidden; background: #091622; isolation: isolate; }
.web-card .travel-image { position: absolute; z-index: -2; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; border: 0; border-radius: 0; object-fit: cover; object-position: 65% center; transform: scale(1.04) translate3d(var(--travel-x,0px),var(--travel-y,0px),0); transition: transform 700ms var(--motion-object); }
.travel-experience::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#050f1bd9,transparent 80%),linear-gradient(0deg,#040b1499,transparent 35%); }
.travel-top { display: flex; justify-content: space-between; align-items: start; padding: 25px 30px 0; color: #e2e3de; font: 12px/1.3 Inter,sans-serif; letter-spacing: .17em; }
.travel-top b { font: 24px/1.1 Georgia,serif; letter-spacing: .05em; }
.travel-top small { font-size: 10px; letter-spacing: .13em; padding-top: 4px; }
.travel-copy { padding: 48px 30px 30px; }
.travel-eyebrow { color: #c2d2da; font-size: 12px; letter-spacing: .03em; }
.travel-copy h4 { font: 48px/1.03 Georgia,serif; letter-spacing: -.045em; margin: 14px 0 16px; color: #f5f0df; }
.travel-copy h4 em { font-weight: 400; }
.travel-copy p { font-size: 14px; color: #c1cbd0; min-height: 0; max-width: 245px; line-height: 1.6; margin-bottom: 24px; }
.trip-trigger { padding: 13px 19px; color: #18212b; background: #ece9df; font-size: 13px; border: 0; display: inline-flex; align-items: center; gap: 24px; cursor: pointer; transition: background 150ms; }
.trip-trigger:hover { background: #fff; }
.trip-trigger:disabled { cursor: progress; }
.travel-bottom { position: absolute; bottom: 17px; left: 30px; right: 30px; display: flex; justify-content: space-between; color: #b7c4ca; font: 10px/1.5 "JetBrains Mono",monospace; letter-spacing: .07em; }
.experience-caption { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; gap: 12px; color: #bfcbd0; font: 12px/1.5 "JetBrains Mono",monospace; }
.experience-status { display: flex; align-items: center; gap: 8px; }
.experience-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--signal); }
.system-engine { position: absolute; right: 1%; top: 44px; width: 44%; padding: 20px 22px; border: 1px solid #a0c2cc2a; background: linear-gradient(120deg,#10191d,#090e11); border-radius: 4px; opacity: 0; transform: translateX(-80px) scale(.94); transition: transform 1000ms var(--motion-object), opacity 700ms; }
.engine-heading { display: flex; align-items: center; justify-content: space-between; color: #c2d9de; font: 12px/1.5 "JetBrains Mono",monospace; letter-spacing: .04em; }
.engine-sources, .engine-base { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding: 12px 0; border-block: 1px solid #c1dae31c; font: 12px/1.4 "JetBrains Mono",monospace; color: #9aafb5; }
.engine-base { margin-top: 0; border-bottom: 0; }
.engine-route { list-style: none; padding: 8px 0; margin: 0; }
.engine-route li { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 8px; min-height: 59px; position: relative; color: #a6b6bb; font: 12px/1.4 "JetBrains Mono",monospace; transition: color 160ms, background 160ms; }
.engine-route li::before { content: ""; position: absolute; top: 41px; left: 10px; height: 30px; border-left: 1px solid #627d834d; }
.engine-route li:last-child::before { display: none; }
.route-number { font-size: 11px; color: #859a9f; }
.engine-route b { font-weight: 500; font-size: 12px; }
.engine-route small { display: block; margin-top: 3px; font: 12px/1.4 Inter,sans-serif; color: #97a9af; }
.engine-route em { font-style: normal; font-size: 10px; color: #c7edf0; opacity: 0; }
.engine-route li.is-active { color: #ecfcff; background: #c1e8ed09; }
.engine-route li.is-complete em { opacity: 1; }
.engine-route li.is-complete::before { border-color: #c1e8ed80; }
.engine-route li.is-active .route-number { color: #e8faff; text-shadow: 0 0 10px #a1d7e6; }
.portal-connection { position: absolute; top: 292px; left: 44%; width: 15%; height: 1px; z-index: 2; background: #c1e8ed45; opacity: 0; }
.portal-connection .r3-signal { position: absolute; left: 0; top: -2px; opacity: 0; }
.web-card.is-open .portal-front { left: 0; width: 50%; transform: perspective(1600px) rotateY(-4deg); }
.web-card.is-open .system-engine { opacity: 1; transform: none; }
.web-card.is-open .portal-connection { opacity: 1; }
.web-card.is-running .portal-connection .r3-signal { animation: requestTransfer 700ms ease-in both; }
@keyframes requestTransfer { 0% { left: 0; opacity: 0; } 25% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.web-outro { border-top: 1px solid #b6cdd21f; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 30px; }
.web-outro p { display: flex; align-items: center; gap: 16px; margin: 0; min-height: 0; font-size: 14px; }
.demo-id, .demo-status { font: 12px/1.6 "JetBrains Mono",monospace; color: #8ea1a7; }
.demo-id { color: #d3e0e3; white-space: nowrap; }
.demo-status { max-width: 280px; text-align: right; }
.web-card .experience-principle { margin: 0; padding: 0 30px 26px; min-height: 0; font-size: 16px; color: #d4dfe1; }
.build .commerce-card { grid-column: 1 / 5; }
.build .api-card { grid-column: 5 / 9; }
.build .automation-card { grid-column: 9 / 13; }
.signal-relay { position: absolute; top: 0; left: 50%; width: 1px; height: 54px; background: linear-gradient(#a9d6e455, transparent); z-index: 2; pointer-events: none; }
.signal-relay .r3-signal { position: absolute; top: 0; left: -2px; opacity: 0; }
.has-signal .signal-relay .r3-signal { animation: relay 1000ms ease-out both; }
@keyframes relay { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 100% { top: 50px; opacity: 0; } }

/* The original moon becomes an approaching surface, cropped at physical scale. */
.moon { display: block; position: relative; padding: 0; min-height: 0; background: #030507; border-bottom: 1px solid var(--line); }
.moon::after { display: none; }
.lunar-stage { height: 870px; position: relative; overflow: hidden; isolation: isolate; }
.moon .moon-copy { position: absolute; top: 11%; left: 8%; right: 8%; text-align: center; z-index: 5; }
.moon .moon-copy h2 { font-size: clamp(3.2rem,7.5vw,6.8rem); line-height: .98; letter-spacing: -.06em; margin-bottom: 22px; }
.moon .moon-copy h2 span { color: #c1cbcd; }
.moon .moon-copy > p:not(.kicker) { max-width: 445px; margin: 0 auto 24px; color: #a9b8bd; font-size: 16px; line-height: 1.65; }
.moon-copy .kicker { color: #99afb6; font: 12px/1.5 "JetBrains Mono",monospace; letter-spacing: .1em; }
.moon .moon-copy .button { gap: 25px; }
.lunar-landscape { position: absolute; inset: 0; z-index: 1; pointer-events: none; transform: translate3d(var(--moon-x,0px),var(--moon-y,0px),0); transition: transform 1000ms var(--motion-object); }
.moon .moon-asset { position: absolute; top: 52%; left: -62%; width: 185%; height: auto; max-width: none; margin: 0; opacity: .82; filter: grayscale(1) brightness(.65) contrast(1.15); transform: translateY(var(--moon-rise,-35px)); animation: none; mask-image: linear-gradient(black 50%,transparent 90%); }
.lunar-landscape::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at var(--moon-light,50%) 72%,#b6d9df16,transparent 40%),linear-gradient(0deg,#030507 0%,transparent 28%); }
.moon .moon-particles { position: absolute; top: 4%; left: 8%; width: 84%; height: 70%; object-fit: cover; opacity: .12; animation: none; mask-image: linear-gradient(black,transparent); }
.lunar-arrival { position: absolute; z-index: 2; height: 60%; width: 1px; left: 50%; top: 0; background: linear-gradient(transparent,#bad7df12); opacity: var(--arrival-opacity,0); }
.lunar-arrival .r3-signal { position: absolute; top: var(--arrival-y,50%); left: -2px; }
.lunar-network { position: absolute; z-index: 4; left: 8%; right: 8%; top: 61%; height: 31%; }
.lunar-traces { width: 100%; height: 100%; overflow: visible; fill: none; stroke: #bce6ef24; stroke-width: 1; }
.lunar-trace-current { stroke: #c5f3ff75; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.lunar-node-wrap { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; flex-direction: column; }
.lunar-node { position: relative; border: 0; padding: 8px; background: transparent; cursor: crosshair; }
.moon .lunar-node img { width: 34px; height: 34px; filter: grayscale(1); transform: perspective(160px) rotateX(48deg) rotateZ(-35deg); }
.lunar-node .r3-signal { position: absolute; left: 24px; top: 25px; width: 3px; height: 3px; opacity: .3; }
.lunar-node::after { content: ""; position: absolute; inset: -18px; border: 1px solid #c5eaf04d; border-radius: 50%; transform: scale(.2) rotateX(60deg); opacity: 0; pointer-events: none; }
.lunar-node-label { color: #d2e2e6; white-space: nowrap; font: 12px/1.5 "JetBrains Mono",monospace; margin-top: 8px; }
.surface-node { position: absolute; color: #a9c1c8; font: 12px/1.5 "JetBrains Mono",monospace; letter-spacing: .1em; }
.surface-node i { display: block; margin: 7px auto 0; width: 3px; height: 3px; background: #bce6ef; border-radius: 50%; }
.surface-web { left: 25%; top: 30%; }.surface-api { left: 8%; top: 68%; }.surface-ai { left: 69%; top: 39%; }.surface-auto { right: 6%; top: 65%; }.surface-data { left: 47%; top: 76%; }
.lunar-telemetry { position: absolute; width: 260px; bottom: 95%; left: 50%; transform: translate(-50%,8px); padding: 18px; background: #080e12f5; border: 1px solid #b7d4de42; color: #bbd0d6; opacity: 0; visibility: hidden; transition: opacity 200ms,transform 300ms,visibility 200ms; font: 12px/1.6 "JetBrains Mono",monospace; box-shadow: 0 15px 40px #0008; }
.lunar-telemetry strong { font-weight: 500; font-size: 11px; }
.lunar-telemetry dl { margin: 14px 0; padding-block: 12px; border-block: 1px solid #a6c0c42e; }
.lunar-telemetry dl div { display: flex; justify-content: space-between; }
.lunar-telemetry dd { margin: 0; color: #ecfaff; }
.lunar-telemetry small { display: block; color: #819aa4; margin-top: 8px; font: 12px/1.5 Inter,sans-serif; }
.lunar-node-wrap.is-inspected .lunar-telemetry { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.lunar-footer { display: flex; justify-content: space-between; gap: 18px; position: absolute; z-index: 5; left: 40px; right: 40px; bottom: 24px; color: #a3b4ba; font: 11px/1.6 "JetBrains Mono",monospace; letter-spacing: .06em; }
.lunar-wait { display: none; }
.cinema-ready .moon { height: 160svh; min-height: 1250px; overflow: visible; }
.cinema-ready .lunar-stage { position: sticky; top: 0; height: 100svh; min-height: 800px; }
.cinema-ready .moon-copy { opacity: 0; transform: translateY(16px); transition: opacity 1100ms ease,transform 1100ms var(--motion-object); }
.cinema-ready .moon-copy .button { visibility: hidden; }
.cinema-ready .surface-node, .cinema-ready .lunar-traces { opacity: 0; transition: opacity 1200ms; }
.cinema-ready .lunar-online-text { display: none; }
.cinema-ready .lunar-wait { display: inline; }
.moon.is-online .moon-copy { opacity: 1; transform: none; }
.moon.is-online .moon-copy .button { visibility: visible; }
.moon.is-online .surface-node, .moon.is-online .lunar-traces { opacity: 1; }
.moon.is-online .lunar-trace-current { stroke-dashoffset: 0; transition: stroke-dashoffset 2200ms ease-out; }
.moon.is-online .lunar-node .r3-signal { opacity: 1; }
.moon.is-online .lunar-node::after { animation: lunarActivation 1600ms ease-out both; }
.moon.is-online .lunar-online-text { display: inline; }.moon.is-online .lunar-wait { display: none; }
@keyframes lunarActivation { 0% { opacity: 0; transform: scale(.2) rotateX(60deg); } 15% { opacity: .8; } 100% { opacity: 0; transform: scale(3.6) rotateX(60deg); } }
.hero:not(.scene-visible) .hero-particles, .hero:not(.scene-visible) .status-panel dd span { animation-play-state: paused; }

@media (min-width: 961px) and (max-height: 740px) {
  .cinema-ready .hero { min-height: 565px; }
  .hero-copy h1 { font-size: 3.45rem; }
  .hero .hero-lede { font-size: 16px; margin-bottom: 20px; }
  .hero .micro-note { display: none; }
  .cinema-ready .stack-stage { width: 380px; }
  .cinema-ready .lunar-stage { min-height: 680px; }
  .moon .moon-copy { top: 8%; }
  .moon .moon-copy h2 { font-size: 5rem; }
}
@media (max-width: 1080px) {
  .cinema-ready .hero .hero-visual { grid-column: 7 / 11; }
  .cinema-ready .stack-stage { width: 360px; }
  .hero .status-panel { display: none; }
  .chip-annotations li { left: 78%; width: 170px; font-size: 11px; }
  .chip-annotations small { font-size: 12px; max-width: 160px; }
  .web-intro { padding-inline: 24px; }
  .portal-scene { margin-inline: 12px; }
  .browser-chrome { font-size: 10px; gap: 8px; }
  .travel-copy h4 { font-size: 40px; }
  .travel-top { padding-inline: 22px; }.travel-copy { padding-inline: 22px; }
  .travel-top small { max-width: 120px; text-align: right; }
  .system-engine { right: 0; padding-inline: 14px; width: 46%; }
  .engine-route li { grid-template-columns: 20px 1fr auto; gap: 5px; }
}
@media (max-width: 960px) {
  .cinema-ready .hero-sequence { min-height: 0; height: auto; }
  .cinema-ready .hero { position: relative; top: 0; height: auto; min-height: 0; padding-top: 38px; padding-bottom: 64px; }
  .cinema-ready .hero-copy { grid-column: 1 / -1; opacity: 1; transform: none; }
  .hero .micro-note { display: none; }
  .hero .hero-actions { gap: 10px; }
  .hero .hero-actions .button { padding: 14px 12px; min-height: 44px; font-size: 10px; }
  .cinema-ready .hero .hero-visual { grid-column: 1 / -1; min-height: 465px; margin: 0; display: flex; align-items: center; justify-content: start; }
  .cinema-ready .stack-stage { width: 290px; max-width: none; flex-shrink: 0; margin-left: -50px; }
  .cinema-ready .chip-annotations { opacity: 1; inset: -25px 0; }
  .chip-annotations li { left: 78%; width: min(160px, calc(100vw - 214px)); font-size: 10px; transform: none !important; }
  .chip-annotations li:nth-child(1) { top: 17%; }
  .chip-annotations li:nth-child(2) { top: 34%; }
  .chip-annotations li:nth-child(3) { top: 51%; }
  .chip-annotations li:nth-child(4) { top: 68%; }
  .chip-annotations li:nth-child(5) { top: 85%; }
  .chip-annotations small { font-size: 12px; max-width: 150px; }
  .chip-annotations li::before { left: -18px; width: 13px; }
  .cinema-ready .chip-story { display: none; }
  .scene-caption { bottom: 23px; left: 22px; right: 22px; font-size: 10px; letter-spacing: .04em; gap: 10px; }
  .web-intro { padding: 24px 20px; display: block; }
  .web-intro h3 { font-size: 24px; }
  .web-intro p { font-size: 16px; }
  .engine-toggle { margin-top: 20px; font-size: 14px; }
  .portal-scene { height: auto; min-height: 505px; margin: 0 12px; display: flex; flex-direction: column; }
  .portal-front { position: relative; width: 100%; left: 0; top: 0; order: 0; }
  .web-card.is-open .portal-front { width: 100%; left: 0; transform: none; }
  .browser-chrome { font-size: 9px; padding: 12px; gap: 6px; }
  .browser-lights { font-size: 8px; letter-spacing: 0; }
  .travel-experience { height: auto; min-height: 475px; }
  .travel-copy { padding: 44px 22px 66px; }
  .travel-copy h4 { font-size: clamp(32px,9.5vw,40px); }
  .travel-copy p { max-width: 200px; font-size: 14px; }
  .travel-top { padding-inline: 22px; }
  .travel-top small { font-size: 9px; }
  .travel-bottom { left: 22px; right: 22px; font-size: 9px; }
  .travel-bottom span:last-child { display: none; }
  .experience-caption { padding: 13px 12px; font-size: 10px; }
  .system-engine { position: relative; top: 0; right: auto; width: 100%; padding: 20px 16px; order: 1; display: none; margin: 22px 0 0; transform: none; }
  .web-card.is-open .system-engine { display: block; animation: mobileEngine 450ms var(--motion-object) both; }
  .engine-route li { min-height: 66px; grid-template-columns: 24px 1fr auto; }
  .engine-route b, .engine-route small { font-size: 12px; }
  .engine-route em { font-size: 10px; }
  .engine-route li::before { height: 37px; }
  .portal-connection { display: none; }
  .web-outro { margin-top: 24px; display: block; padding: 20px; }
  .web-outro p { display: block; font-size: 14px; }
  .demo-id { display: block; margin-bottom: 10px; }
  .demo-status { display: block; text-align: left; margin-top: 12px; max-width: none; }
  .web-card .experience-principle { padding-inline: 20px; line-height: 1.6; }
  .build .commerce-card, .build .api-card, .build .automation-card { grid-column: 1 / -1; }
  .cinema-ready .moon { min-height: 0; height: auto; }
  .cinema-ready .lunar-stage, .lunar-stage { position: relative; height: 850px; min-height: 0; }
  .moon .moon-copy { top: 12%; left: 20px; right: 20px; }
  .moon .moon-copy h2 { font-size: clamp(3.2rem,14vw,5rem); }
  .moon .moon-copy > p:not(.kicker) { font-size: 16px; max-width: 290px; }
  .moon .moon-asset { top: 63%; width: 350%; left: -160%; }
  .lunar-network { left: 5%; right: 5%; top: 68%; height: 22%; }
  .surface-node { font-size: 9px; }
  .lunar-node-label { font-size: 10px; }
  .lunar-telemetry { width: 245px; }
  .lunar-footer { left: 20px; right: 20px; bottom: 25px; flex-direction: column; gap: 9px; font-size: 10px; }
}
@keyframes mobileEngine { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: none; } }
/* Static, fully readable narrative when motion or JS is unavailable. */
html:not(.cinema-ready) .hero .status-panel { display: none; }
html:not(.cinema-ready) .portal-scene { min-height: 610px; }
html:not(.cinema-ready) .portal-front { width: 53%; left: 0; }
html:not(.cinema-ready) .system-engine { opacity: 1; transform: none; }
html:not(.cinema-ready) .engine-toggle, html:not(.cinema-ready) .trip-trigger, html:not(.cinema-ready) .web-outro { display: none; }
@media (prefers-reduced-motion: reduce) {
  .cinema-ready .hero-sequence { height: auto; min-height: 0; }
  .cinema-ready .hero { position: relative; top: 0; height: auto; min-height: 680px; }
  .cinema-ready .hero-copy, .cinema-ready .chip-annotations { opacity: 1 !important; transform: none; }
  .cinema-ready .hero .status-panel { display: none; }
  .cinema-ready .hero-stack { visibility: visible; }
  .cinema-ready .chip-slices, .cinema-ready .chip-story, .cinema-ready .chip-current, .lunar-arrival, .scene-caption, .portal-connection { display: none; }
  .portal-front, .web-card.is-open .portal-front { width: 53%; left: 0; transform: none; }
  .system-engine { opacity: 1; transform: none; }
  .engine-toggle { display: none; }
  .cinema-ready .moon { height: auto; min-height: 0; }
  .cinema-ready .lunar-stage { position: relative; }
  .cinema-ready .moon-copy, .cinema-ready .surface-node, .cinema-ready .lunar-traces { opacity: 1; transform: none; }
  .cinema-ready .moon-copy .button { visibility: visible; }
  .cinema-ready .lunar-online-text { display: inline; }.cinema-ready .lunar-wait { display: none; }
  .lunar-landscape, .travel-image { transform: none !important; }
  .web-card .travel-image { z-index: 0; }
  .travel-experience::after { z-index: 1; }
  .travel-top, .travel-copy { position: relative; z-index: 2; }
  .travel-bottom { z-index: 2; }
}
@media (max-width: 960px) {
  html:not(.cinema-ready) .portal-front { width: 100%; }
  html:not(.cinema-ready) .system-engine { display: block; }
  html:not(.cinema-ready) .hero-visual { min-height: 400px; }
  html:not(.cinema-ready) .stack-stage { width: 75%; margin-left: -25px; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .portal-front, .web-card.is-open .portal-front { width: 100%; }
  .system-engine { display: block; }
}

@media (max-width: 960px) {
  .cinema-ready .chip-slices { transform: translateX(-12px); }
  .cinema-ready .hero-stack { position: relative; left: -12px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .cinema-ready .hero .hero-visual { justify-content: center; }
  .cinema-ready .stack-stage { margin-left: -145px; }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .cinema-ready .chip-slices { transform: translateX(-18px); }
  .cinema-ready .hero-stack { position: relative; left: -18px; }
  .cinema-ready .chip-current { margin-left: -18px; }
}
