:root {
  --sand: #f4efe2;
  --paper: #fffaf0;
  --ink: #14241c;
  --deep: #10241f;
  --pine: #1b3330;
  --yellow: #ffcf3a;
  --teal: #127e78;
  --coral: #ff6a3d;
  --muted: #5d6b64;
  --line: #14241c1f;
  --shadow: 0 18px 50px #14241c1c;
  --spring: cubic-bezier(.2, 1.3, .4, 1);
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--sand);
  background-image: radial-gradient(#14241c14 1.1px, transparent 1.1px);
  background-size: 22px 22px;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
::selection { background: var(--yellow); color: var(--ink); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 40;
  font-weight: 800;
}
.skip:focus { top: 14px; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--coral), var(--yellow) 45%, var(--teal));
  z-index: 30;
}

.header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100vw - 28px));
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--deep) 72%, transparent);
  color: #f7f3e8;
  border: 1px solid #ffffff2e;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px #07141033;
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--deep) 92%, transparent);
  box-shadow: 0 14px 36px #07141055;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(#16343a, #16343a) 9px 8px / 12px 8px no-repeat,
    linear-gradient(#1a1a1a, #1a1a1a) 6px 22px / 22px 7px no-repeat,
    var(--yellow);
  box-shadow: inset 0 -3px 0 #e2ac12;
  transform: rotate(-8deg);
  transition: transform .45s var(--spring);
}
.brand:hover .brand-mark { transform: rotate(8deg) scale(1.06); }
.header nav { display: flex; gap: 6px; }
.header nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .92rem;
  color: #e7ecdf;
}
.header nav a:hover { background: #ffffff18; color: var(--yellow); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .4s var(--spring), background .2s;
}
.header-cta { padding: 11px 16px; font-size: .9rem; }
.header-cta:hover, .button:hover { transform: translateY(-3px) rotate(-1deg); background: #ffe27a; }
.header-cta:active, .button:active { transform: translateY(1px) scale(.98); }

.hero {
  --px: 0;
  --py: 0;
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: end;
  gap: 24px;
  overflow: hidden;
  color: #f7f4ea;
  background:
    radial-gradient(circle at 78% 42%, #24584e 0%, transparent 42%),
    var(--deep);
}
.narrow-only { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 140px 0 110px 7vw;
}
.hero-board {
  position: relative;
  z-index: 1;
  margin: 130px 7vw 108px 0;
}
.map-card {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(1.6deg);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.hero .eyebrow { color: #ffe9a0; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0 0 18px;
  font-size: clamp(3.6rem, 8.4vw, 7.6rem);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 850;
}
h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 820;
}
em {
  font-style: normal;
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  padding: 0 .12em .04em;
  border-radius: .22em;
  transform: rotate(-2.5deg);
}
.hero-copy {
  max-width: 540px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #e7eee4;
}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.button { padding: 16px 22px; font-size: 1rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.text-link.light { color: #fff; }
.sticker {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translate(calc(var(--px) * var(--d) * -28px), calc(var(--py) * var(--d) * -20px)) rotate(var(--rot));
  animation: bob 4.5s ease-in-out infinite;
}
.sticker-live { top: -18px; left: 8%; display: flex; align-items: center; gap: 8px; }
.sticker-ads { top: 18%; right: -12px; background: var(--coral); color: white; animation-delay: -1.4s; }
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1aa35a;
  box-shadow: 0 0 0 0 #1aa35a88;
  animation: pulse 1.8s ease-out infinite;
}
.toy {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 18px;
  width: 168px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 8px 8px 10px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
  animation: bob 3.6s ease-in-out infinite;
}
.toy img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 6px #14241c33);
}
.toy figcaption { margin: 0; text-align: center; font-weight: 800; font-size: .85rem; }
.toy-dumper { left: auto; right: 6%; bottom: 22px; width: 156px; transform: rotate(5deg); animation-delay: -1.2s; }
.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 7vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero-scroll span { color: var(--yellow); font-size: 1.3rem; animation: bob 1.6s ease-in-out infinite; }

.marquee {
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  border-block: 10px solid transparent;
  border-image: repeating-linear-gradient(-18deg, var(--ink) 0 12px, var(--yellow) 12px 24px) 10;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  animation: ticker 28s linear infinite;
}
.marquee-group { display: flex; gap: 22px; padding-right: 22px; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee b { color: var(--coral); font-weight: 500; }

.section { padding: 104px 7vw; }
.intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
  align-items: end;
}
.intro-copy p { font-size: 1.05rem; line-height: 1.7; color: var(--muted); }
.intro-copy p:first-child { color: var(--ink); font-size: 1.2rem; }
.scenic { padding: 10px 5vw 40px; }
.frame {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow);
  transform: rotate(-1.1deg);
  transition: transform .8s var(--spring);
}
.scenic.in .frame, .frame:hover { transform: rotate(0deg) scale(1.01); }
.frame img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.scenic-shade { position: absolute; inset: 0; background: linear-gradient(#07161200 40%, #071612e6); }
.scenic-text { position: absolute; left: 5%; bottom: 54px; color: white; max-width: 680px; }
.scenic em { background: var(--yellow); }
.photo-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: #fff;
  background: #07161288;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .75rem;
  font-weight: 700;
}
.section, .scenic, .fleet, .gallery, .closing { scroll-margin-top: 120px; }
h2 { scroll-margin-top: 160px; }
.section-heading, .fleet-heading, .gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
.section-heading h2, .fleet-heading h2, .gallery-heading h2 { max-width: 740px; }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.features article, .machines article, .legal {
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.features article { padding: 26px 24px 28px; }
.feature-ico {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #fff3c4;
  color: var(--ink);
  margin-bottom: 22px;
}
.feature-ico svg { width: 42px; height: 42px; fill: currentColor; }
.feature-ico.photo {
  width: 132px;
  height: 96px;
  background:
    radial-gradient(ellipse 46% 16% at 50% 78%, #14241c22, transparent 70%),
    var(--sand);
}
.feature-ico.photo img {
  width: 118px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 8px 5px #14241c2b);
}
.feature-number { font-weight: 800; color: var(--teal); letter-spacing: .08em; }
.features h3 { font-size: 1.45rem; letter-spacing: -.03em; margin: 10px 0 8px; }
.features p, .fleet-note, .gallery-heading > p, .fleet-heading > p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.fleet { background: var(--deep); color: #f6f3ea; border-radius: 40px; margin: 0 18px; }
.fleet .muted, .fleet-heading > p, .fleet-note, .machine-category { color: #b7c3bb; }
.fleet em { background: var(--yellow); color: var(--ink); }
.machines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.machines article {
  background: #1a312c;
  color: #f6f3ea;
  padding: 18px 18px 22px;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--spring);
}
.machine-category { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.stage {
  margin: 14px 0 8px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 48% 14% at 50% 80%, #14241c24, transparent 72%),
    var(--sand);
  overflow: hidden;
}
.stage img {
  width: 100%;
  height: 158px;
  object-fit: contain;
  object-position: center 62%;
  filter: drop-shadow(0 12px 8px #14241c38);
  animation: bob 3.8s ease-in-out infinite;
}
.machines article:nth-child(2) .stage img { animation-delay: -.8s; }
.machines article:nth-child(3) .stage img { animation-delay: -1.6s; }
.machines h3 { font-size: 1.8rem; letter-spacing: -.04em; margin: 8px 0 4px; }
.machines p { margin: 0; color: #d5ddd4; }
.fleet-note { margin-top: 22px; }

.gallery-heading > p { max-width: 280px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 28px;
  cursor: zoom-in;
  text-align: left;
  min-height: 280px;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--spring);
}
.gallery-wide { grid-column: 1 / -1; min-height: 420px; }
.gallery-item:nth-child(2) { rotate: -1.2deg; }
.gallery-item:nth-child(3) { rotate: 1.4deg; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 48px 18px 16px;
  background: linear-gradient(#07161200, #071612e0);
  color: white;
  font-weight: 750;
}
.gallery-item b { font-size: 1.4rem; font-weight: 500; }

.closing {
  margin: 28px 18px 0;
  background: var(--yellow);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}
.closing .eyebrow { color: #6a5410; }
.closing h2 { font-size: clamp(4rem, 11vw, 8.5rem); max-width: 12ch; }
.closing em { background: var(--ink); color: var(--yellow); }
.stripe {
  height: 16px;
  margin: 0 -8px 28px;
  background: repeating-linear-gradient(-18deg, var(--ink) 0 14px, var(--yellow) 14px 28px);
}
.closing .stripe:last-child { margin: 28px -8px 0; }
.closing-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
}
.closing-bottom p { font-size: 1.15rem; line-height: 1.5; margin: 0; }
.availability {
  background: var(--paper);
  border-radius: 22px;
  padding: 16px 18px;
  max-width: 320px;
  transform: rotate(2deg);
  box-shadow: var(--shadow);
}
.availability span { font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.availability p { font-size: .95rem; margin-top: 6px; }

footer {
  padding: 36px 7vw 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}
footer p { margin: 0; color: var(--muted); }
footer > div { display: flex; gap: 18px; align-items: center; color: var(--muted); font-weight: 700; }
footer a:hover { color: var(--teal); }

.legal {
  width: min(820px, calc(100vw - 32px));
  margin: 120px auto 48px;
  padding: 42px 36px 48px;
  overflow-wrap: break-word;
}
.legal h1 { font-size: clamp(3rem, 7vw, 4.6rem); letter-spacing: -.05em; line-height: .95; }
.legal h2 { font-size: 1.45rem; margin: 32px 0 8px; letter-spacing: -.03em; }
.legal p { font-size: 1.05rem; line-height: 1.7; color: #31423b; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.back { color: var(--teal); letter-spacing: .08em; }

dialog {
  width: min(1100px, 94vw);
  border: 0;
  border-radius: 28px;
  padding: 54px 16px 16px;
  background: var(--deep);
  color: #f6f3ea;
  box-shadow: 0 30px 80px #000a;
  opacity: 0;
  transform: translateY(12px) scale(.97) rotate(-.4deg);
  transition: opacity .28s ease, transform .4s var(--spring), display .28s allow-discrete, overlay .28s allow-discrete;
}
dialog[open] { opacity: 1; transform: none; }
@starting-style {
  dialog[open] { opacity: 0; transform: translateY(16px) scale(.96) rotate(-1deg); }
}
dialog::backdrop { background: #071410cc; }
dialog img { width: 100%; max-height: 74svh; object-fit: contain; border-radius: 16px; background: #0c1613; }
dialog p { margin: 14px 8px 4px; font-weight: 700; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise .8s var(--spring) both;
  animation-delay: var(--delay, 0ms);
  animation-play-state: paused;
}
.reveal.in { animation-play-state: running; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(0, -2%, 0); }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px #1aa35a00; }
  100% { box-shadow: 0 0 0 0 #1aa35a00; }
}
@keyframes boom {
  0%, 100% { transform: rotate(6deg); }
  50% { transform: rotate(24deg); }
}
@keyframes stick {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(34deg); }
}
@keyframes bucket {
  0%, 100% { transform: rotate(-16deg); }
  45% { transform: rotate(20deg); }
  70% { transform: rotate(-34deg); }
}
@keyframes puff {
  0%, 55% { opacity: 0; transform: translateY(0) scale(.6); }
  75% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-16px) scale(1.3); }
}
@keyframes dig {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-18deg); }
}
@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08) rotate(-4deg); }
}

@media (max-width: 900px) {
  .header { height: 60px; top: 10px; }
  .header nav { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-content { padding: 120px 6vw 28px; }
  .hero-board { margin: 12px 6vw 18px; }
  .hero-scroll { position: static; margin: 8px 6vw 28px; }
  .sticker-ads { display: none; }
  .toy, .toy-dumper { width: 124px; bottom: 10px; }
  .toy { left: 10px; }
  .toy-dumper { right: 10px; }
  .hero-scroll { margin-top: 16px; }
  h1 { font-size: clamp(3.3rem, 16vw, 5.4rem); }
  .intro, .features, .machines, .section-heading, .fleet-heading, .gallery-heading, .closing-bottom, footer {
    display: block;
  }
  .intro-copy, .fleet-heading > p, .gallery-heading > p, .availability { margin-top: 22px; }
  .features, .gallery-grid { grid-template-columns: 1fr; }
  .machines { grid-template-columns: repeat(2, 1fr); }
  .frame { min-height: 0; transform: none; }
  .frame img { height: auto; }
  .gallery-wide, .gallery-item { min-height: 240px; }
  .gallery-item:nth-child(2), .gallery-item:nth-child(3) { rotate: 0deg; }
  .fleet, .closing { margin-inline: 10px; border-radius: 28px; }
  .section { padding: 72px 6vw; }
  footer > div { margin-top: 16px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .header { width: calc(100% - 16px); padding-right: 8px; }
  .header-cta { padding: 10px 12px; font-size: .85rem; }
  .brand { font-size: .92rem; }
  .sticker { display: none; }
  .hero h1 { font-size: min(3.05rem, 12vw); letter-spacing: -.045em; }
  .hero-content { padding: 108px 22px 84px; }
  .hero-copy { font-size: 1rem; max-width: 34ch; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-copy .desktop { display: none; }
  .hero-scroll { left: 22px; }
  .photo-label { display: none; }
  .legal { padding: 28px 18px 32px; }
  .closing h2 { font-size: 3.4rem; }
  .features article, .machines article { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-image { transform: none; }
}
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}
