:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #fbf9f4;
  --text: #181716;
  --muted: #676055;
  --border: rgba(24, 23, 22, 0.12);
  --border-strong: rgba(24, 23, 22, 0.24);
  --shadow: 0 20px 50px rgba(36, 27, 14, 0.08);
  --success: #275d3d;
  --warning: #8b6413;
  --danger: #8a251c;
  --accent-a: #181716;
  --accent-b: #575046;
  --font-display: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", serif;
  --font-body: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(24, 23, 22, 0.04), transparent 34%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
}

.shell {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.hero {
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  animation: rise 500ms ease both;
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-note {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(36, 27, 14, 0.04);
}

.status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.status-loading {
  color: var(--warning);
}

.status-ready {
  color: var(--success);
}

.status-warning {
  color: var(--danger);
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.choice-card {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  animation: rise 520ms ease both;
}

.choice-card:nth-child(2) {
  animation-delay: 70ms;
}

.choice-card:hover:not([disabled]),
.choice-card:focus-visible:not([disabled]) {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(36, 27, 14, 0.12);
}

.choice-card[disabled] {
  cursor: not-allowed;
  opacity: 0.92;
}

.choice-card.is-selected {
  border-color: rgba(39, 93, 61, 0.42);
  box-shadow: 0 24px 60px rgba(39, 93, 61, 0.12);
}

.choice-media {
  display: grid;
  place-items: center;
  min-height: clamp(240px, 34vw, 360px);
  padding: 22px;
  background: var(--surface-soft);
}

.choice-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.hidden {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .shell {
    padding: 24px 16px 40px;
  }

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

  .choice-media {
    min-height: 220px;
    padding: 18px;
  }

  .choice-card img {
    max-height: 260px;
  }
}
