/* v12 — a steady type system, horizontal rails and material motion. */
:root { --display: Onest, Arial, sans-serif; }
body { font-kerning: normal; font-synthesis: none; }
h1,h2,h3,h4,.brand,.total { letter-spacing: 0; }
h1,h2 { font-weight: 700; }
.hero h1 { font-size: clamp(48px,5.6vw,80px); line-height: 1.08; letter-spacing: -.015em; font-weight: 800; }
.hero-copy,.material-stage { animation: none; }
.hero-stats strong,.total { font-variant-numeric: tabular-nums; }
.brand { gap: 10px; }
.brand img { width: 78px; height: 56px; object-fit: contain; flex-shrink: 0; }
.brand>span { font-size: 15px; line-height: 1.12; letter-spacing: .02em; font-weight: 800; }
.brand small { font-size: 8px; letter-spacing: .08em; font-weight: 500; }
.material-stamp { transform: none; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.material-stamp img { width: 61px; height: 40px; filter: none; object-fit: contain; }
.material-stamp span { letter-spacing: .06em; }
.nav { gap: 22px; }
.direction-card h3 { font-size: 34px; line-height: 1.12; font-weight: 700; }
.hero-object:hover { transform: translateY(-7px); }
.hero-brick img { transition: opacity .25s ease, transform .45s var(--ease); }
.hero-brick.is-swapping img { opacity: 0; transform: translateX(35px) scale(.96); }
.hero-gas img { animation: material-float 7s ease-in-out infinite; }
.material-stage:focus-within .hero-gas img,.material-stage:hover .hero-gas img { animation-play-state: paused; }
@keyframes material-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.brick-switch button { position: relative; overflow: hidden; }
.brick-switch button.active::after { content:''; position:absolute; height:2px; bottom:1px; left:12px; right:12px; background:var(--red); transform-origin:left; animation:material-cycle 6s linear; }
.material-stage.is-paused .brick-switch button::after { animation-play-state: paused; }
@keyframes material-cycle { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.motion-toggle { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:var(--white); font-size:12px; }
.hero-autoplay { position:absolute; right:0; top:1%; z-index:8; }
.motion-rail { display:flex; gap:20px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; scroll-padding-inline:2px; padding:8px 2px 20px; margin:-8px -2px 0; }
.motion-rail::-webkit-scrollbar { display:none; }
.motion-rail>* { flex:0 0 calc(50% - 36px); min-width:0; scroll-snap-align:start; scroll-snap-stop:normal; }
.motion-rail .direction-card { min-height:480px; }
.motion-rail .house-custom { grid-column:auto; align-self:stretch; min-height:460px; }
.rail-toolbar { display:flex; align-items:center; justify-content:space-between; margin-top:4px; padding-top:16px; border-top:1px solid var(--line); gap:20px; }
.rail-caption { display:flex; align-items:center; gap:16px; font-size:12px; color:var(--muted); }
.rail-count { color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums; }
.rail-controls { display:flex; gap:8px; }
.rail-controls button { width:46px; height:46px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center; font-size:22px; transition:background .2s,color .2s; }
.rail-controls button:hover:not(:disabled) { color:white; background:var(--ink); }
.rail-controls button:disabled { opacity:.3; }
.guide-grid.motion-rail>* { flex-basis:calc(37% - 15px); }
.guide-grid h3 { margin-top:20px; }
.build-visual { position:relative; width:100%; height:165px; margin-bottom:25px; background:radial-gradient(ellipse at 50% 85%,#d8d5cd80,transparent 65%); overflow:hidden; border-radius:10px; }
.build-visual svg { height:100%; width:100%; }
.build-block { opacity:0; transform:translateY(-50px); transition:transform .8s var(--ease),opacity .5s; transition-delay:calc(var(--order)*90ms); }
.build-visual.is-built .build-block { opacity:1; transform:translateY(0); }
.build-visual .build-label { position:absolute; top:4px; left:8px; font-size:9px; color:var(--muted); letter-spacing:.08em; }
.build-replay { position:absolute; bottom:5px; right:8px; width:32px; height:32px; background:var(--white); border:1px solid var(--line); border-radius:50%; font-size:17px; }
.journey { min-height:220vh; }
.journey-sticky { min-height:0; padding:38px 0 24px; }
.journey-heading h2 { font-size:clamp(30px,3.5vw,48px); line-height:1.15; }
.journey-heading .eyebrow { margin-bottom:15px; }
.journey-heading>p { margin-top:16px; }
.journey-stage { height:clamp(270px,29.4vw,410px); margin-top:8px; }
.journey-backdrop { align-items:flex-start; padding-top:45px; }
.journey-backdrop span { font-size:6vw; font-weight:800; letter-spacing:.015em; opacity:.28; }
.journey-landscape { position:absolute; inset:0; pointer-events:none; }
.journey-landscape::before { content:''; position:absolute; left:-20%; bottom:34px; width:90%; height:80px; border-radius:50% 60% 0 0; background:#ded7cc; opacity:.45; }
.journey-landscape::after { content:''; position:absolute; right:-25%; bottom:34px; width:90%; height:95px; border-radius:60% 50% 0 0; background:#ded7cc; opacity:.4; }
.journey-truck { width:84%; max-width:1080px; left:0; bottom:27px; transform:translate3d(var(--truck-x,4%),0,0); transition:none; z-index:2; filter:drop-shadow(0 10px 8px #27311e20); }
.journey-truck img { display:block; width:100%; height:auto; }
.truck-chassis { clip-path:polygon(0 55.5%,76.7% 55.5%,76.7% 0,100% 0,100% 100%,0 100%); }
.cargo { position:absolute; inset:0; transform:translate3d(var(--cargo-x,0%),var(--cargo-y,0%),0); opacity:var(--cargo-opacity,1); will-change:transform,opacity; }
.cargo-0 { clip-path:polygon(0 0,22.9% 0,22.9% 55.55%,0 55.55%); }
.cargo-1 { clip-path:polygon(22.9% 0,41.6% 0,41.6% 55.55%,22.9% 55.55%); }
.cargo-2 { clip-path:polygon(41.6% 0,59.9% 0,59.9% 55.55%,41.6% 55.55%); }
.cargo-3 { clip-path:polygon(59.9% 0,76.7% 0,76.7% 55.55%,59.9% 55.55%); }
.road { height:24px; bottom:28px; border-radius:0; background:#2c322e; overflow:hidden; }
.road::before { content:''; position:absolute; inset:11px -100% auto; height:2px; background:repeating-linear-gradient(90deg,#ffffffe0 0 30px,transparent 30px 70px); }
.route-progress { position:absolute; bottom:0; left:0; width:100%; height:3px; background:var(--red); transform:scaleX(var(--travel,0)); transform-origin:left; }
.journey-stage.is-moving .road::before { animation:road-move .75s linear infinite; }
@keyframes road-move { to { transform:translateX(-70px); } }
.truck-dust { position:absolute; left:-7%; bottom:3%; width:15%; height:13%; background:radial-gradient(ellipse,#baa68b70,transparent 70%); opacity:0; transition:opacity .2s; filter:blur(4px); }
.journey-stage.is-moving .truck-dust { opacity:1; }
.journey-endpoints { position:absolute; bottom:0; left:0; right:0; display:flex; justify-content:space-between; font-size:9px; letter-spacing:.08em; color:var(--muted); }
.journey-progress { margin-top:14px; }
.journey-progress button { border-top:2px solid #cac6bc; }
.journey-progress button.active { border-top-color:var(--red); }
.journey-actions { display:flex; align-items:center; justify-content:center; gap:20px; margin-top:18px; }
.journey-play { min-height:42px; padding:10px 17px; gap:8px; font-size:12px; white-space:nowrap; }
.journey-note { margin:0; max-width:520px; text-align:left; }
.process article { transition:background .3s,transform .6s; }
.process article:hover { background:#fff9; }
@media(min-width:1500px) { .hero h1 {font-size:84px;} }
@media(max-width:1180px) { .nav {gap:14px;} .brand img {width:68px;height:50px;} .brand>span {font-size:14px;} .hero h1 {font-size:5.8vw;} }
@media(max-width:900px) { .hero h1 {font-size:5.8vw;} .journey-sticky {top:76px;} .journey-actions {gap:12px;} .guide-grid.motion-rail>* {flex-basis:calc(50% - 24px);} }
@media(max-width:700px) {
 .brand img {width:66px;height:46px;} .brand>span {font-size:13px;} .brand small {font-size:7px;}
 .hero h1 {font-size:clamp(42px,10.7vw,65px);line-height:1.07;letter-spacing:0;}
 .hero h1 span,.hero h1 em {white-space:nowrap;}
 h2 {font-size:30px;line-height:1.18;letter-spacing:0;}
 .hero-stats strong {font-size:39px;}
 .material-stage {height:420px;} .hero-autoplay {top:0;right:0;}
 .material-stamp {width:80px;} .material-stamp img {width:50px;height:34px;}
 .brick-switch {left:0;} .brick-switch button {font-size:10px;padding:10px 9px;}
 .motion-rail {gap:14px;overflow-x:auto;} .motion-rail>* {flex-basis:88%;}
 .motion-rail .direction-card {min-height:435px;padding:26px;} .direction-card h3 {font-size:31px;}
 .guide-grid.motion-rail>* {flex-basis:88%;} .house-grid.motion-rail>* {flex-basis:94%;}
 .rail-caption {gap:12px;font-size:10px;} .rail-toolbar {margin-top:0;padding-top:10px;}
 .rail-controls button {width:44px;height:44px;} .motion-rail .house-custom {min-height:440px;}
 .journey {min-height:0;padding:55px 0 35px;} .journey-sticky {position:static;padding:0;}
 .journey-heading h2 {font-size:29px;line-height:1.15;} .journey-stage {height:210px;}
 .journey-truck {width:98%;left:-7%;bottom:40px;} .journey-backdrop {padding-top:30px;}
 .journey-backdrop span {font-size:8vw;} .journey-actions {flex-direction:column;gap:13px;}
 .journey-note {text-align:center;max-width:320px;} .journey-progress b {font-size:14px;}
 .journey-progress button {padding:12px 8px;} .journey-progress small {font-size:10px;}
 .journey-play {min-height:44px;} .build-visual {height:155px;}
}
@media(max-width:370px) { .brand img {width:55px;} .hero h1 {font-size:39px;} h2 {font-size:27px;} .journey-heading h2 {font-size:26px;} .brick-switch button {padding-inline:7px;} }
@media(prefers-reduced-motion:reduce) {
 .hero-gas img,.brick-switch button.active::after,.journey-stage.is-moving .road::before {animation:none!important;}
 .build-block {opacity:1;transform:none;transition:none;} .hero-brick img {transition:none;}
 .journey {min-height:0;} .journey-sticky {position:static;} .cargo {will-change:auto;}
 .motion-rail {scroll-behavior:auto;} .journey-stage.is-moving .truck-dust {opacity:0;}
}

.road:after{display:none}
.guide-photo{width:100%;height:165px;margin-bottom:25px;border-radius:10px;overflow:hidden}
.guide-photo img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.hero-stats>div{flex-direction:column;align-items:flex-start;gap:9px}.hero-stats span{font-size:11px;line-height:1.45}.hero-stats{gap:14px}}
