:root {
  --cream: oklch(0.965 0.02 95);
  --cream-2: oklch(0.93 0.03 92);
  --ink: oklch(0.22 0.03 265);
  --muted: oklch(0.45 0.03 265);
  --cobalt: oklch(0.47 0.21 264);
  --cobalt-deep: oklch(0.32 0.15 266);
  --ember: oklch(0.7 0.19 42);
  --leaf: oklch(0.72 0.15 150);
  --disp: "Dela Gothic One", Impact, sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: min(1220px, 100% - 2 * clamp(16px, 4vw, 56px));
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--cream); color: var(--ink); font: 400 clamp(15.5px, 0.4vw + 14px, 17px)/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 0.98; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); text-wrap: balance; }
h2 em { font-style: normal; color: var(--cobalt); }
.over { font: 700 0.76rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.1rem; }
.head p:not(.over), .body { color: var(--muted); max-width: 50ch; margin-top: 1.1rem; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1em 1.5em; border-radius: 14px; font: 700 0.98rem/1 var(--sans); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; background: none; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ember { background: var(--ember); }
.btn-ghost { background: var(--cream); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 2rem; padding: 0.9rem clamp(16px, 4vw, 56px); background: color-mix(in oklch, var(--cream) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 0.6rem; font: 400 1.25rem/1 var(--disp); text-decoration: none; }
.mark { width: 26px; height: 20px; border: 4px solid var(--cobalt); border-top: 0; border-radius: 0 0 5px 5px; position: relative; }
.mark::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 5px; background: var(--ember); border-radius: 2px; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 600; font-size: 0.92rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--cobalt); }
.nav-cta { font-weight: 700; text-decoration: none; background: var(--cobalt); color: var(--cream); padding: 0.65em 1em; border-radius: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem) 0 0; }
.hero-copy { width: var(--wrap); margin: 0 auto; position: relative; z-index: 2; }
.tag { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.9rem; background: var(--cream-2); border: 2px solid var(--ink); padding: 0.4em 0.9em; border-radius: 999px; }
.blink { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
h1 { font-size: clamp(3.2rem, 9.4vw, 8.6rem); line-height: 0.86; letter-spacing: -0.03em; margin-top: 1.4rem; }
h1 span { display: inline-block; animation: bounce-in 0.9s var(--ease) both; }
h1 span:nth-child(2) { animation-delay: 0.08s; }
h1 .hl { animation-delay: 0.16s; color: var(--cobalt); position: relative; }
h1 .hl::after { content: ""; position: absolute; left: 0.04em; right: 0.1em; bottom: 0.06em; height: 0.12em; background: var(--ember); z-index: -1; transform: scaleX(0); transform-origin: 0 50%; animation: under 0.8s 0.9s var(--ease) forwards; }
@keyframes bounce-in { from { opacity: 0; transform: translateY(40%) rotate(3deg); } }
@keyframes under { to { transform: scaleX(1); } }
.lede { max-width: 50ch; font-size: 1.12em; margin: 2.6rem 0 2rem; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.road { position: relative; height: clamp(150px, 19vw, 250px); margin-top: clamp(-6rem, -5vw, 1rem); border-bottom: 3px solid var(--ink); }
.lines { position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; display: flex; gap: 60px; animation: road 0.9s linear infinite; }
.lines i { flex: none; width: 80px; background: var(--ink); opacity: 0.25; }
@keyframes road { to { transform: translateX(-140px); } }
.hero-truck { position: absolute; bottom: -6px; left: 58%; width: clamp(300px, 38vw, 560px); animation: drive-in 2s 0.3s var(--ease) both, idle 0.5s 2.3s ease-in-out infinite alternate; }
@keyframes drive-in { from { transform: translateX(-160vw); } to { transform: translateX(-10%); } }
@keyframes idle { from { translate: 0 0; } to { translate: 0 -2px; } }
.hero-truck svg { width: 100%; overflow: visible; }
.hero-truck .bed, .hero-truck .cab { fill: var(--cobalt); stroke: var(--ink); stroke-width: 4; }
.hero-truck .bed-rim { stroke: var(--ink); stroke-width: 4; }
.hero-truck .glass { fill: var(--cream-2); stroke: var(--ink); stroke-width: 3; }
.hero-truck .stripe { fill: var(--ember); }
.hero-truck .logo { font: 400 22px var(--disp); fill: var(--cream); text-anchor: middle; }
.hero-truck .wheel circle { fill: var(--ink); }
.hero-truck .wheel .hub { fill: var(--cream-2); }
.hero-truck .spoke { stroke: var(--ink); stroke-width: 4; }
.hero-truck .wheel { transform-box: fill-box; transform-origin: center; animation: roll 0.5s linear 5; }
@keyframes roll { to { rotate: -360deg; } }
.hero-truck .it { stroke: var(--ink); stroke-width: 4; animation: toss 0.7s var(--ease) both; }
.it.i1 { fill: var(--ember); animation-delay: 2.3s; }
.it.i2 { fill: var(--cream-2); animation-delay: 2.5s; }
.it.i3 { fill: var(--leaf); animation-delay: 2.65s; }
.it.i4 { fill: oklch(0.85 0.12 90); animation-delay: 2.8s; }
.it.i5 { fill: var(--cream); animation-delay: 2.95s; }
@keyframes toss { from { opacity: 0; transform: translateY(-160px) rotate(-14deg); } 70% { transform: translateY(6px); } }
.dust { position: absolute; bottom: 8px; left: 8%; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--ink); opacity: 0; animation: puff 1s 0.9s ease-out 2; }
.d2 { left: 4%; width: 22px; height: 22px; animation-delay: 1.2s; }
.d3 { left: 12%; width: 16px; height: 16px; animation-delay: 1.5s; }
@keyframes puff { from { opacity: 1; transform: scale(0.4); } to { opacity: 0; transform: translate(-60px, -30px) scale(1.4); } }
.proof { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--cream); }
.proof li { padding: 1.2rem clamp(16px, 4vw, 56px); font-size: 0.95rem; }
.proof li + li { border-left: 1px solid oklch(1 0 0 / 0.15); }
.proof b { color: var(--ember); }

/* reveal */
.head, .b-grid, .donut-wrap, .steps li, .how-pics figure, .ph-grid > div, .form { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.in { opacity: 1 !important; transform: none !important; }

/* builder */
.builder { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.6rem; align-items: start; }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.item { position: relative; display: grid; justify-items: center; gap: 0.2rem; padding: 0.9rem 0.4rem 0.8rem; background: var(--cream); border: 2px solid var(--ink); border-radius: 16px; cursor: pointer; font: 700 0.92rem/1.2 var(--sans); color: var(--ink); transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s var(--ease); box-shadow: 3px 3px 0 var(--ink); }
.item:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.item svg { width: 52px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.item small { font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.item .qty { position: absolute; top: -9px; right: -9px; min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 13px; background: var(--ember); border: 2px solid var(--ink); font-size: 0.8rem; transform: scale(0); transition: transform 0.3s var(--ease); }
.item.has { background: color-mix(in oklch, var(--cobalt) 12%, var(--cream)); }
.item.has .qty { transform: scale(1); }
.item.pop { animation: pop 0.35s var(--ease); }
@keyframes pop { 40% { transform: scale(0.94); } }

.t-wrap { position: sticky; top: 90px; }
.t-body { position: relative; aspect-ratio: 2.05 / 1; }
.bed-box { position: absolute; left: 1%; bottom: 22%; width: 67%; height: 72%; border: 5px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px; background: transparent; display: flex; flex-wrap: wrap; align-content: flex-end; align-items: flex-end; gap: 3px; padding: 6px; overflow: hidden; z-index: 3; }
.bed-box.over { border-color: var(--ember); }
.level { position: absolute; left: 1%; bottom: 22%; width: 67%; height: 72%; z-index: 1; background: linear-gradient(to top, color-mix(in oklch, var(--cobalt) 30%, transparent), color-mix(in oklch, var(--cobalt) 12%, transparent)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.6s var(--ease); border-top: 2px dashed var(--cobalt); }
.gauge { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.gauge span { position: absolute; left: calc(68% + 6px); bottom: calc(22% + var(--at) * 0.72% - 0.6em); font: 700 0.72rem/1 var(--sans); color: var(--muted); }
.gauge span::before { content: ""; position: absolute; right: calc(100% + 6px); top: 50%; width: 10px; height: 2px; background: var(--muted); }
.cargo { flex: 0 0 auto; width: var(--w); aspect-ratio: 48 / 32; padding: 0; border: 2px solid var(--ink); border-radius: 6px; background: var(--ember); cursor: pointer; display: grid; place-items: center; }
.cargo:nth-child(3n+2) { background: var(--cream-2); }
.cargo:nth-child(3n) { background: var(--leaf); }
.cargo svg { width: 82%; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cargo:hover { outline: 3px solid var(--ink); }
.cargo.fresh { animation: fall 0.6s var(--ease) both; }
@keyframes fall { from { transform: translateY(-260%) rotate(-18deg); opacity: 0; } 60% { transform: translateY(4%) rotate(2deg); opacity: 1; } }
.t-cab { position: absolute; right: 1%; bottom: 22%; width: 26%; height: 62%; background: var(--cobalt); border: 5px solid var(--ink); border-radius: 10px 40px 10px 10px; }
.t-cab::before { content: ""; position: absolute; top: 12%; right: 10%; width: 52%; height: 34%; background: var(--cream-2); border: 4px solid var(--ink); border-radius: 4px 26px 4px 4px; }
.t-cab::after { content: ""; position: absolute; left: -5px; right: -5px; bottom: 16%; height: 14%; background: var(--ember); border-block: 4px solid var(--ink); }
.t-wheel { position: absolute; bottom: 4%; width: 12.5%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--cream-2) 0 26%, var(--ink) 27%); border: 4px solid var(--ink); z-index: 0; }
.t-wheel.a { left: 9%; } .t-wheel.b { right: 7%; }
.t-body::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: 4%; height: 4px; background: var(--ink); border-radius: 2px; z-index: 0; }
.empty { position: absolute; left: 4%; bottom: 44%; width: 60%; text-align: center; font-weight: 600; color: var(--muted); z-index: 2; }
.readout { display: grid; grid-template-columns: 1fr 1fr 1.2fr; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; margin-top: 1.4rem; }
.readout div { padding: 0.9rem 1rem; }
.readout div + div { border-left: 2px solid var(--ink); }
.readout span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.readout b { font: 400 1.35rem/1.2 var(--disp); font-variant-numeric: tabular-nums; }
.readout .price { background: var(--ink); color: var(--cream); }
.readout .price span { color: oklch(0.8 0.03 265); }
.readout .price b { font-size: 2rem; color: var(--ember); }
.fine { font-size: 0.85rem; color: var(--muted); margin: 0.8rem 0 1.2rem; min-height: 2.8em; }
.b-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* where */
.where { background: var(--cobalt-deep); color: var(--cream); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.over.light { color: var(--ember); }
.where h2 em { color: var(--ember); }
.where .body { color: oklch(0.85 0.03 265); }
.w-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.donut-wrap { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.donut { width: 100%; rotate: -90deg; }
.donut circle { fill: none; stroke-width: 26; }
.donut .track { stroke: oklch(1 0 0 / 0.08); }
.donut .arc { stroke-dasharray: 0 503; stroke-dashoffset: calc(var(--o) * -5.027); transition: stroke-dasharray 1.4s var(--ease); }
.donut .a1 { stroke: var(--leaf); } .donut .a2 { stroke: var(--ember); transition-delay: 0.3s; } .donut .a3 { stroke: oklch(0.6 0.03 265); transition-delay: 0.6s; }
.donut-wrap.in .arc { stroke-dasharray: calc(var(--v) * 5.027 - 3) 503; }
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-mid b { font: 400 clamp(3rem, 7vw, 5rem)/1 var(--disp); }
.donut-mid b::after { content: "%"; font-size: 0.5em; }
.donut-mid span { font-size: 0.85rem; color: oklch(0.85 0.03 265); max-width: 16ch; margin: 0.4rem auto 0; }
.legend { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0.7rem; }
.legend li { display: flex; align-items: center; gap: 0.8rem; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.legend b { font-family: var(--disp); font-weight: 400; min-width: 3.2ch; }
.k1 { background: var(--leaf); } .k2 { background: var(--ember); } .k3 { background: oklch(0.6 0.03 265); }

/* how */
.how { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; counter-reset: s; }
.steps li { border-top: 3px solid var(--ink); padding-top: 1.2rem; }
.steps li:nth-child(2) { transition-delay: 80ms; } .steps li:nth-child(3) { transition-delay: 160ms; } .steps li:nth-child(4) { transition-delay: 240ms; }
.n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt); color: var(--cream); font: 400 1.2rem/1 var(--disp); border: 2px solid var(--ink); }
.steps h3 { font-size: 1.35rem; margin: 1rem 0 0.5rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.how-pics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.how-pics figure { border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
.how-pics figure:nth-child(2) { transition-delay: 100ms; rotate: 1.5deg; } .how-pics figure:nth-child(3) { transition-delay: 200ms; rotate: -1.2deg; }
.how-pics img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }

/* reviews */
.reviews { background: var(--ember); border-block: 3px solid var(--ink); overflow: hidden; padding: 1.6rem 0; }
.rail > div { display: flex; gap: 1rem; width: max-content; animation: rail 50s linear infinite; }
.reviews:hover .rail > div { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }
blockquote { flex: none; width: 360px; background: var(--cream); border: 2px solid var(--ink); border-radius: 16px; padding: 1.1rem 1.2rem; font-weight: 600; font-size: 1rem; }
blockquote cite { display: block; margin-top: 0.6rem; font-style: normal; font-weight: 500; font-size: 0.85rem; color: var(--muted); }

/* photo quote */
.photo { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--ink); color: var(--cream); }
.photo h2 em { color: var(--ember); }
.photo .body { color: oklch(0.82 0.03 265); }
.ph-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.load-note { margin-top: 1.4rem; background: var(--cobalt); border: 2px solid var(--cream); border-radius: 14px; padding: 0.9rem 1.1rem; }
.form { display: grid; gap: 1rem; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 8px 8px 0 var(--ember); }
.drop { position: relative; display: grid; place-items: center; min-height: 150px; border: 2.5px dashed var(--cobalt); border-radius: 16px; background: color-mix(in oklch, var(--cobalt) 6%, var(--cream)); cursor: pointer; transition: background 0.2s; padding: 1rem; }
.drop.hot { background: color-mix(in oklch, var(--cobalt) 18%, var(--cream)); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-in { display: grid; text-align: center; gap: 0.2rem; pointer-events: none; }
.drop-in b { font: 400 1.3rem/1 var(--disp); color: var(--cobalt); }
.drop-in small { color: var(--muted); }
.drop.filled .drop-in { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); animation: fall 0.5s var(--ease) both; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label:not(.drop) { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.85rem; }
.form input:not([type=file]) { font: 500 1rem/1.4 var(--sans); padding: 0.75rem 0.9rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--cream); color: var(--ink); }
.form input:focus { outline: none; border-color: var(--cobalt); box-shadow: 3px 3px 0 var(--cobalt); }
.ok { font-weight: 700; color: var(--cobalt); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding: 1.4rem clamp(16px, 4vw, 56px); font-size: 0.82rem; color: var(--muted); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .b-grid, .w-grid, .ph-grid { grid-template-columns: 1fr; }
  .t-wrap { position: relative; top: 0; order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .how-pics { grid-template-columns: 1fr 1fr; }
  .how-pics .p1 { grid-column: 1 / -1; }
  .proof { grid-template-columns: 1fr; }
  .proof li + li { border-left: 0; border-top: 1px solid oklch(1 0 0 / 0.15); }
  .proof li { padding-block: 0.8rem; }
}
@media (max-width: 560px) {
  .items { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .item { font-size: 0.8rem; padding-inline: 0.2rem; }
  .item svg { width: 40px; }
  .item small { font-size: 0.66rem; }
  .readout { grid-template-columns: 1fr 1fr; }
  .readout .price { grid-column: 1 / -1; border-left: 0 !important; border-top: 2px solid var(--ink); }
  .gauge span { font-size: 0.62rem; }
  .steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  blockquote { width: 280px; }
  .hero-truck { width: 88vw; left: 55%; }
  .road { margin-top: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .head, .b-grid, .donut-wrap, .steps li, .how-pics figure, .ph-grid > div, .form { opacity: 1; transform: none; }
  .hero-truck { transform: translateX(-10%); }
  .donut .arc { stroke-dasharray: calc(var(--v) * 5.027 - 3) 503; }
  h1 .hl::after { transform: none; }
}
