:root {
  --red: #ff3b22;
  --red-dark: #d81d0a;
  --yellow: #ffd928;
  --lime: #c8ff1a;
  --cream: #fff6dc;
  --ink: #11100e;
  --white: #ffffff;
  --blue: #2f6cff;
  --border: 4px solid var(--ink);
  --shadow: 10px 10px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.topbar {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 22px;
  right: 22px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px 8px 12px;
  background: rgba(255,246,220,.94);
  border: var(--border);
  box-shadow: 6px 6px 0 var(--ink);
  backdrop-filter: blur(8px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 25px;
  letter-spacing: 1px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 50% 45% 48% 44%;
  transform: rotate(-7deg);
}
.top-links { display: flex; align-items: center; gap: 10px; }
.icon-link {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
  transition: transform .18s ease, background .18s ease;
}
.icon-link:nth-child(1) { background: var(--lime); }
.icon-link:nth-child(2) { background: var(--yellow); }
.icon-link:nth-child(3) { background: var(--white); }
.icon-link:nth-child(4) { background: #8ed8ff; }
.icon-link:hover, .icon-link:focus-visible { transform: translateY(-4px) rotate(-2deg); }
.icon-link img { width: 27px; height: 27px; object-fit: contain; }
.icon-link::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  white-space: nowrap;
  padding: 7px 9px;
  color: var(--cream);
  background: var(--ink);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .8px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: .18s ease;
}
.icon-link:hover::after, .icon-link:focus-visible::after { opacity: 1; transform: translateY(0); }
.menu-button { display: none; }

.side-nav {
  position: fixed;
  z-index: 70;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
}
.side-nav a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: var(--cream);
  border: 3px solid var(--ink);
  font-weight: 1000;
  font-size: 11px;
  transition: .18s ease;
}
.side-nav a.active { background: var(--red); color: var(--white); transform: rotate(-8deg) scale(1.08); }

.panel {
  position: relative;
  min-height: 100vh;
  padding: 126px clamp(24px, 6vw, 92px) 70px;
  overflow: hidden;
  border-bottom: 5px solid var(--ink);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 2px;
}
.eyebrow span { width: 38px; height: 8px; background: var(--red); border: 2px solid var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 4vw;
  background:
    linear-gradient(90deg, rgba(255,255,255,.38) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(rgba(255,255,255,.38) 1px, transparent 1px) 0 0 / 54px 54px,
    var(--yellow);
}
.hero::after {
  content: "TOMA TOMA TOMA TOMA TOMA";
  position: absolute;
  left: -1%;
  bottom: -45px;
  white-space: nowrap;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(95px, 14vw, 220px);
  color: transparent;
  -webkit-text-stroke: 3px rgba(17,16,14,.14);
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero-copy, .hero-art { position: relative; z-index: 3; }
.hero h1 {
  margin: -4px 0 18px;
  display: flex;
  flex-wrap: wrap;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(110px, 14vw, 230px);
  line-height: .78;
  letter-spacing: -7px;
}
.hero h1 span:first-child { color: var(--red); text-shadow: 8px 8px 0 var(--ink); -webkit-text-stroke: 4px var(--ink); }
.hero h1 span:last-child { color: var(--lime); text-shadow: 8px 8px 0 var(--ink); -webkit-text-stroke: 4px var(--ink); }
.hero-text { max-width: 650px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 20px; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-decoration: none;
  border: var(--border);
  font-weight: 1000;
  letter-spacing: .7px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover, .button:focus-visible { transform: translate(4px,4px); box-shadow: 2px 2px 0 var(--ink); }
.button-primary { color: var(--white); background: var(--red); }
.button-secondary { background: var(--cream); }
.contract-box {
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 14px 13px 18px;
  background: rgba(255,246,220,.86);
  border: 3px solid var(--ink);
}
.contract-box small { display: block; margin-bottom: 5px; font-size: 9px; letter-spacing: 1.5px; font-weight: 900; }
.contract-box strong { font-family: monospace; font-size: 17px; }
.contract-box button {
  padding: 11px 16px;
  border: 3px solid var(--ink);
  background: var(--lime);
  font-weight: 1000;
  cursor: pointer;
}
.hero-art { min-width: 0; display: grid; place-items: center; }
.art-ring {
  position: relative;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 7px solid var(--ink);
  border-radius: 48% 52% 46% 54%;
  background: var(--red);
  box-shadow: 17px 17px 0 var(--ink);
  transform: rotate(2deg);
}
.art-ring::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 5px dashed var(--yellow);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
.art-ring img {
  position: relative;
  z-index: 2;
  width: 86%;
  height: 86%;
  object-fit: cover;
  border: 5px solid var(--ink);
  border-radius: 48%;
  transform: rotate(-2deg);
}
.orbit { position: absolute; border-radius: 50%; border: 4px solid var(--ink); z-index: 4; }
.orbit-one { width: 42px; height: 42px; left: -18px; top: 24%; background: var(--lime); }
.orbit-two { width: 64px; height: 64px; right: -26px; bottom: 17%; background: var(--yellow); }
.sticker {
  position: absolute;
  z-index: 7;
  padding: 12px 16px;
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: .5px;
}
.sticker-top { top: 7%; right: -3%; background: var(--lime); transform: rotate(8deg); }
.sticker-bottom { left: -2%; bottom: 6%; color: var(--white); background: var(--blue); transform: rotate(-8deg); }
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 1.5px;
}
.scroll-cue span { width: 42px; height: 3px; background: var(--ink); animation: pulseWidth 1.6s ease-in-out infinite; }

.route { background: var(--cream); }
.route::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .23;
  background: radial-gradient(circle at 15% 20%, var(--red) 0 6%, transparent 6.3%), radial-gradient(circle at 85% 75%, var(--lime) 0 8%, transparent 8.3%);
  pointer-events: none;
}
.section-heading { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 40px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2, .gallery-heading h2, .chart h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(74px, 10vw, 150px);
  line-height: .82;
  letter-spacing: -3px;
}
.section-heading p:not(.eyebrow), .gallery-heading p:not(.eyebrow) { max-width: 540px; margin: 0 0 8px; font-size: 19px; line-height: 1.5; font-weight: 700; }
.route-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route-card {
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.route-card:hover { transform: translateY(-8px) rotate(-1deg); }
.route-card-red { color: var(--white); background: var(--red); }
.route-card-yellow { background: var(--yellow); }
.route-card-green { background: var(--lime); }
.route-card .step { align-self: flex-end; font-family: Impact, sans-serif; font-size: 48px; -webkit-text-stroke: 2px var(--ink); color: var(--cream); }
.route-card h3 { margin: 30px 0 10px; font-family: Impact, sans-serif; font-size: 58px; line-height: 1; }
.route-card p { margin: 0 0 28px; font-weight: 700; line-height: 1.5; }
.route-card a, .route-card > span:last-child { margin-top: auto; width: max-content; padding-bottom: 4px; border-bottom: 4px solid currentColor; text-decoration: none; font-size: 12px; font-weight: 1000; letter-spacing: 1.2px; }
.route-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 70px; }
.route-strip figure { margin: 0; position: relative; border: var(--border); background: var(--ink); overflow: hidden; }
.route-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s ease; }
.route-strip figure:hover img { transform: scale(1.06); }
.route-strip figcaption { position: absolute; left: 12px; bottom: 12px; padding: 9px 11px; border: 3px solid var(--ink); background: var(--cream); font-weight: 1000; font-size: 11px; }

.gallery { background: var(--red); color: var(--cream); }
.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 28px, rgba(255,217,40,.16) 28px 56px);
}
.gallery-heading { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 30px; margin-bottom: 40px; }
.gallery-heading .eyebrow { grid-column: 1 / -1; }
.gallery-heading .eyebrow span { background: var(--yellow); }
.gallery-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; margin: 0; min-height: 320px; border: 4px solid var(--ink); background: var(--yellow); box-shadow: 7px 7px 0 var(--ink); overflow: hidden; }
.tile-wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.tile:hover img { transform: scale(1.055); filter: saturate(1.14) contrast(1.05); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; color: var(--ink); background: var(--yellow); border-top: 4px solid var(--ink); }
.tile figcaption b { font-family: Impact, sans-serif; letter-spacing: .8px; font-size: 24px; }
.tile figcaption span { font-size: 12px; font-weight: 1000; }

.chart { color: var(--cream); background: var(--ink); }
.chart::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -250px;
  top: -180px;
  border-radius: 50%;
  border: 80px solid var(--red);
  opacity: .35;
}
.chart-head { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.chart-head .eyebrow span { background: var(--lime); border-color: var(--cream); }
.live-badge { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 3px solid var(--cream); color: var(--ink); background: var(--lime); font-size: 12px; font-weight: 1000; letter-spacing: 1px; }
.live-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,59,34,.8); animation: livePulse 1.4s infinite; }
.chart-shell { position: relative; z-index: 2; border: 5px solid var(--cream); box-shadow: 12px 12px 0 var(--red); background: #0b0b0c; overflow: hidden; }
.browser-bar { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--ink); background: var(--yellow); border-bottom: 4px solid var(--cream); }
.browser-bar > span { width: 13px; height: 13px; border: 2px solid var(--ink); border-radius: 50%; background: var(--red); }
.browser-bar > span:nth-child(2) { background: var(--lime); }
.browser-bar > span:nth-child(3) { background: var(--blue); }
.browser-bar strong { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: monospace; font-size: 13px; }
.browser-bar a { margin-left: auto; padding: 7px 10px; border: 2px solid var(--ink); background: var(--cream); text-decoration: none; font-weight: 1000; font-size: 11px; }
.chart-shell iframe { width: 100%; height: min(72vh, 760px); min-height: 580px; display: block; border: 0; background: #0b0b0c; }
.final-cta { position: relative; z-index: 2; margin-top: 70px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: var(--ink); background: var(--lime); border: 5px solid var(--cream); box-shadow: 10px 10px 0 var(--red); }
.final-cta small { font-weight: 1000; letter-spacing: 2px; }
.final-cta h3 { margin: 4px 0 0; font-family: Impact, sans-serif; font-size: clamp(55px, 7vw, 100px); line-height: .9; }
.final-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.final-links a { padding: 14px 16px; border: 3px solid var(--ink); background: var(--cream); text-decoration: none; font-weight: 1000; box-shadow: 4px 4px 0 var(--ink); transition: .18s ease; }
.final-links a:hover { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
footer { position: relative; z-index: 2; padding-top: 55px; display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 30px; }
footer strong { font-family: Impact, sans-serif; font-size: clamp(64px, 10vw, 150px); color: var(--red); line-height: .75; }
footer p { max-width: 370px; margin: 0; color: #bbb5a7; font-size: 12px; line-height: 1.5; }
footer span { font-family: Impact, sans-serif; font-size: 38px; color: var(--yellow); }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; transform: translate(-50%, 120px); padding: 14px 20px; border: 3px solid var(--ink); color: var(--ink); background: var(--lime); box-shadow: 5px 5px 0 var(--ink); font-weight: 1000; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(38px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseWidth { 0%,100% { width: 24px; } 50% { width: 52px; } }
@keyframes livePulse { 70% { box-shadow: 0 0 0 12px rgba(255,59,34,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,34,0); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-text, .contract-box { margin-left: auto; margin-right: auto; }
  .art-ring { width: min(82vw, 650px); }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 240px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 1; }
}

@media (max-width: 760px) {
  .topbar { top: 10px; left: 10px; right: 10px; min-height: 58px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .menu-button { width: 43px; height: 43px; display: grid; place-content: center; gap: 5px; border: 3px solid var(--ink); background: var(--yellow); }
  .menu-button span { width: 22px; height: 3px; background: var(--ink); }
  .top-links {
    position: fixed;
    top: 78px;
    left: 10px;
    right: 10px;
    padding: 18px;
    justify-content: center;
    background: var(--cream);
    border: var(--border);
    box-shadow: 6px 6px 0 var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: .2s ease;
  }
  body.menu-open .top-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .side-nav { display: none; }
  .panel { padding: 110px 18px 58px; }
  .hero { gap: 40px; }
  .hero h1 { font-size: clamp(85px, 31vw, 140px); justify-content: center; letter-spacing: -4px; }
  .hero h1 span:first-child, .hero h1 span:last-child { text-shadow: 5px 5px 0 var(--ink); -webkit-text-stroke: 3px var(--ink); }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .contract-box { align-items: flex-start; text-align: left; }
  .contract-box strong { font-size: 14px; word-break: break-all; }
  .art-ring { width: 88vw; max-width: 500px; box-shadow: 9px 9px 0 var(--ink); }
  .sticker { font-size: 16px; padding: 9px 11px; }
  .section-heading, .gallery-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow, .gallery-heading .eyebrow { grid-column: 1; }
  .section-heading h2, .gallery-heading h2, .chart h2 { font-size: clamp(62px, 20vw, 100px); }
  .route-strip { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .tile { min-height: 280px; }
  .tile img { min-height: 280px; }
  .chart-head { align-items: flex-start; }
  .chart-shell iframe { min-height: 520px; height: 68vh; }
  .browser-bar strong { display: none; }
  .final-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
  .final-links { justify-content: flex-start; }
  footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
