:root {
  --bg: #f4efe6;
  --paper: #fffaf2;
  --ink: #1c2b35;
  --muted: #6a7a83;
  --accent: #d95f38;
  --accent-2: #2f8f83;
  --accent-3: #f2c14e;
  --card: rgba(255, 250, 242, 0.88);
  --shadow: 0 24px 60px rgba(33, 32, 30, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 193, 78, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 143, 131, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f3ea 0%, #efe4d4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.25;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.hero {
  padding: 84px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.75);
  border: 1px solid rgba(28, 43, 53, 0.08);
  box-shadow: 0 10px 28px rgba(33, 32, 30, 0.08);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: end;
}

.hero-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.hero-note {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0.75));
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 43, 53, 0.08);
}

.hero-note strong {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-note p {
  margin: 0;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions a,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-actions a:hover,
.pill-button:hover {
  transform: translateY(-2px);
}

.pill-button--solid {
  background: var(--ink);
  color: #fffaf2;
  box-shadow: 0 14px 28px rgba(28, 43, 53, 0.18);
}

.footer-note {
  padding: 0 0 80px;
}

.panel-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid rgba(28, 43, 53, 0.08);
  box-shadow: var(--shadow);
}

.panel-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.story-wrap {
  padding: 24px 0 120px;
}

.story-stage {
  position: relative;
  height: 780vh;
}

.story-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 0;
}

.story-visual-inner {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(242, 193, 78, 0.22), transparent 18%),
    radial-gradient(circle at 87% 24%, rgba(47, 143, 131, 0.18), transparent 16%),
    radial-gradient(circle at 78% 82%, rgba(217, 95, 56, 0.18), transparent 16%),
    linear-gradient(180deg, #fff5e7 0%, #f5e6d4 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 43, 53, 0.08);
}

.story-visual-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.story-track {
  position: absolute;
  inset: 0;
}

.story-svg {
  width: 100%;
  height: 100%;
}

.story-route-shadow {
  fill: none;
  stroke: rgba(28, 43, 53, 0.08);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-route-line {
  fill: none;
  stroke: #2f8f83;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0 26;
}

.story-stop {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  opacity: 0.48;
  transition: opacity 0.32s ease;
}

.story-stop.is-active {
  opacity: 1 !important;
}

.story-city-marker {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fffaf2;
  border: 6px solid var(--accent-2);
  box-shadow: 0 0 0 10px rgba(47, 143, 131, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.story-stop.is-active .story-city-marker {
  transform: scale(1.18);
  box-shadow: 0 0 0 18px rgba(47, 143, 131, 0.18);
}

.story-city-tag {
  position: absolute;
  top: 50%;
  left: 26px;
  transform: translateY(-50%);
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid rgba(28, 43, 53, 0.08);
  box-shadow: 0 14px 24px rgba(33, 32, 30, 0.12);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.story-stop.is-left .story-city-tag {
  left: auto;
  right: 26px;
}

.story-stop.is-active .story-city-tag {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.95);
}

.story-truck {
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 60px;
  z-index: 4;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform, left, top;
}

.story-truck svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 24px rgba(28, 43, 53, 0.18));
}

.story-visual-copy {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  width: min(460px, calc(100% - 48px));
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(28, 43, 53, 0.08);
  box-shadow: 0 18px 30px rgba(33, 32, 30, 0.12);
  backdrop-filter: blur(8px);
}

.story-visual-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-visual-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.96;
}

.story-visual-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 34ch;
}

.story-copy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(28, 43, 53, 0.08);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.story-scroll-hint {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(28, 43, 53, 0.08);
  color: var(--muted);
  box-shadow: 0 12px 22px rgba(33, 32, 30, 0.1);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .story-stage {
    height: 620vh;
  }

  .story-visual-copy {
    width: min(420px, calc(100% - 40px));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-top: 42px;
  }

  .story-stage {
    height: 520vh;
  }

  .story-visual {
    padding: 12px 0;
  }

  .story-visual-inner,
  .hero-note,
  .panel-card {
    border-radius: 24px;
  }

  .story-visual-copy {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 18px;
  }

  .story-scroll-hint {
    right: 16px;
    bottom: 16px;
  }

  .story-truck {
    width: 82px;
    height: 52px;
  }

  .story-city-tag {
    font-size: 12px;
    padding: 8px 10px;
  }
}
