@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #68737c;
  --paper: #f7f5ef;
  --card: #fffdf8;
  --line: #dedbd1;
  --accent: #ec6847;
  --accent-soft: #f5d9c9;
  --teal: #b9ded5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: '';
  background: radial-gradient(circle at 82% 8%, var(--teal) 0, transparent 25%), radial-gradient(circle at 5% 90%, var(--accent-soft) 0, transparent 28%);
  opacity: .7;
}
.page-shell { max-width: 1120px; margin: 0 auto; padding: 48px 28px 72px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: end; min-height: 430px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0; }
h1 { max-width: 620px; font-size: clamp(3.3rem, 8vw, 7.5rem); line-height: .9; }
.intro { max-width: 410px; margin: 30px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.destination { display: grid; gap: 14px; color: var(--ink); font-size: .82rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.destination img { width: 100%; aspect-ratio: 1; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 10px 10px 0 var(--accent); }
.votes { margin-top: 90px; padding-top: 26px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.total { margin: 0; color: var(--muted); white-space: nowrap; }
.vote-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vote-item { display: flex; min-height: 142px; flex-direction: column; justify-content: space-between; padding: 20px; background: var(--card); border: 1px solid var(--line); }
.vote-item h2 { font-size: 1.35rem; }
.vote-item p { margin: 8px 0 0; color: var(--muted); font-size: .85rem; }
.vote-item button { align-self: start; padding: 10px 17px; color: #fff; background: var(--ink); border: 0; border-radius: 999px; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.vote-item button:hover { background: var(--accent); transform: translateY(-2px); }
.vote-item button:disabled { cursor: wait; opacity: .55; transform: none; }
.status { min-height: 24px; margin: 20px 0 0; color: var(--accent); font-size: .9rem; }
@media (max-width: 700px) {
  .page-shell { padding: 28px 18px 48px; }
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  h1 { font-size: clamp(3rem, 17vw, 5.4rem); }
  .destination { grid-template-columns: 110px 1fr; align-items: center; }
  .destination img { padding: 8px; box-shadow: 5px 5px 0 var(--accent); }
  .votes { margin-top: 64px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .vote-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .vote-list { grid-template-columns: 1fr; } }
