:root {
  --forest: #2d5016;
  --forest-deep: #1a3010;
  --earth: #6b4423;
  --gold: #d4a84b;
  --cream: #f7f1e8;
  --ink: #1f1a14;
  --muted: rgba(247, 241, 232, 0.78);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--forest-deep);
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  padding: 1.25rem 1rem 2.5rem;
}

.hero-plane {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 48, 16, 0.55) 0%, rgba(26, 48, 16, 0.78) 42%, rgba(26, 48, 16, 0.94) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 168, 75, 0.18), transparent 55%);
}

.card-shell {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding-top: 1.5rem;
  text-align: center;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.event-line {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  animation: rise 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 6.5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto 1.35rem;
  text-wrap: pretty;
}

.portrait-wrap {
  margin: 0 auto 1.5rem;
  width: min(100%, 280px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  animation: rise 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.links {
  display: grid;
  gap: 0.65rem;
  animation: rise 1s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.chooser {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
  animation: rise 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.chooser-link {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--cream);
  text-align: left;
  padding: 1.1rem 1.15rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--forest) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chooser-link:hover,
.chooser-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: color-mix(in srgb, var(--forest) 78%, var(--gold) 8%);
  outline: none;
}

.chooser-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.chooser-role {
  font-size: 0.92rem;
  color: var(--muted);
}

.person-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.person-name {
  margin-bottom: 0.55rem;
}

.swap {
  margin-top: 1.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.swap a {
  color: var(--gold);
  text-decoration: none;
}

.swap a:hover,
.swap a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.link {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--cream);
  background: color-mix(in srgb, var(--forest) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--forest) 78%, var(--gold) 8%);
  border-color: var(--gold);
  outline: none;
}

.link-primary {
  background: color-mix(in srgb, var(--gold) 88%, var(--forest));
  border-color: var(--gold);
  color: var(--forest-deep);
}

.link-primary .link-hint {
  color: rgba(26, 48, 16, 0.72);
}

.link-primary:hover,
.link-primary:focus-visible {
  background: var(--gold);
  color: var(--forest-deep);
}

.link-label {
  font-weight: 700;
  font-size: 1.05rem;
}

.link-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.foot {
  margin-top: 1.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.45);
}

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

@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img,
  .card-shell,
  .event-line,
  .portrait-wrap,
  .links {
    animation: none;
  }
  .link { transition: none; }
}
