:root {
  --ink: #10141b;
  --muted: #566170;
  --paper: #efe6d1;
  --paper-2: #d7c2a1;
  --cardboard: #bc8f58;
  --night: #131a24;
  --night-2: #202939;
  --line: rgba(16, 20, 27, 0.16);
  --amber: #e6b640;
  --green: #4fa66a;
  --red: #d85f40;
  --blue: #5c86b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #141b25;
  color: #f3f0e7;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(19, 26, 36, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: baseline;
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark,
h1,
h2,
figcaption {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
}

.brand-mark {
  color: var(--amber);
  font-size: 30px;
  text-shadow: 2px 2px 0 #000;
}

.brand-line,
.nav a,
.eyebrow,
.label,
.subline,
.stat span,
.stat em,
.receipt dt,
.receipt dd,
.status-pill,
.meter-labels,
.footer {
  font-family: "JetBrains Mono", monospace;
}

.brand-line {
  color: #9ca7b5;
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 16px;
}

.nav a {
  color: #ccd5df;
  font-size: 13px;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  min-height: calc(100svh - 72px);
  padding: clamp(26px, 5vw, 74px) clamp(16px, 4vw, 52px) clamp(20px, 4vw, 46px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  margin: 0;
  max-width: 760px;
}

h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  margin: 0;
}

.lede {
  color: #cbd4df;
  font-size: 20px;
  margin: 22px 0 0;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  border: 2px solid #0b1018;
  border-radius: 8px;
  font-weight: 800;
  padding: 12px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--amber);
  color: var(--ink);
}

.button.secondary {
  background: #eef1f5;
  color: var(--ink);
}

.hero-art,
.image-tile {
  border: 3px solid #0b1018;
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.hero-art {
  align-self: stretch;
  margin: 0;
  min-height: 420px;
  position: relative;
}

.hero-art img {
  height: 100%;
  object-fit: cover;
}

figcaption {
  background: var(--cardboard);
  bottom: 16px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
  color: #21170d;
  left: 16px;
  padding: 8px 12px;
  position: absolute;
  transform: rotate(-2deg);
}

.dashboard-band,
.journey {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 5vw, 60px) clamp(16px, 4vw, 52px);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.status-pill {
  background: #10141b;
  border-radius: 999px;
  color: #e8edf2;
  font-size: 12px;
  padding: 8px 12px;
}

.bag-panel {
  align-items: center;
  background: #f8f1df;
  border: 2px dashed #92734c;
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 0.45fr) 1fr;
  padding: clamp(18px, 3vw, 28px);
}

.label,
.subline {
  color: #776243;
  display: block;
  font-size: 13px;
}

.bag-panel strong {
  color: var(--ink);
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  margin: 4px 0;
}

.meter-track {
  background: #c9b996;
  border: 2px solid #8f774e;
  border-radius: 999px;
  height: 26px;
  overflow: hidden;
}

.meter-track span {
  background: linear-gradient(90deg, var(--red), var(--amber), var(--green));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 0;
}

.meter-labels {
  color: #776243;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 8px;
}

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.stat {
  background: var(--night);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f4f0e7;
  padding: 18px;
}

.stat span,
.stat em {
  color: #98a5b4;
  display: block;
  font-size: 12px;
  font-style: normal;
}

.stat strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(24px, 3vw, 34px);
  margin: 6px 0 4px;
}

.split {
  align-items: stretch;
  display: grid;
  gap: clamp(18px, 4vw, 42px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  padding: clamp(30px, 5vw, 68px) clamp(16px, 4vw, 52px);
}

.split.reverse {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
}

.panel {
  background: var(--paper-2);
  border: 3px solid #0b1018;
  border-radius: 8px;
  color: var(--ink);
  padding: clamp(20px, 4vw, 34px);
}

.receipt {
  background: #fff8e7;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  margin: 20px 0 0;
  padding: 6px 16px;
}

.receipt div {
  border-bottom: 1px dashed #b9a684;
  display: grid;
  gap: 16px;
  grid-template-columns: 120px 1fr;
  padding: 12px 0;
}

.receipt div:last-child {
  border-bottom: 0;
}

.receipt dt {
  color: #776243;
  font-size: 12px;
}

.receipt dd {
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
}

.image-tile {
  margin: 0;
  min-height: 360px;
}

.image-tile img {
  height: 100%;
  object-fit: cover;
}

.journey blockquote {
  background: var(--cardboard);
  border: 3px solid #0b1018;
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.28);
  color: #21170d;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin: 0;
  max-width: 1120px;
  padding: clamp(20px, 4vw, 34px);
}

.address {
  word-break: break-all;
}

.footer {
  background: #0f151f;
  color: #909baa;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 52px);
}

.footer p {
  margin: 0;
  max-width: 720px;
}

@media (max-width: 860px) {
  .topbar,
  .brand,
  .section-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .split.reverse,
  .bag-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art,
  .image-tile {
    min-height: 320px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .receipt div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
