:root {
  --ink: #17231e;
  --muted: #5f6964;
  --paper: #f8f4ec;
  --paper-deep: #efe7d9;
  --green: #234d3f;
  --green-soft: #dfe9e2;
  --gold: #d6a33d;
  --rose: #b95f56;
  --line: rgba(23, 35, 30, .16);
  --white: #fffdf8;
  --shadow: 0 14px 34px rgba(26, 40, 33, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 3%, rgba(214,163,61,.12), transparent 22rem),
    linear-gradient(180deg, var(--paper) 0%, #fbfaf6 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248,244,236,.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--green);
}

.brand-place {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.submit-link {
  font-size: .92rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 500;
}

h1 em {
  color: var(--green);
  font-weight: 500;
}

.hero-copy {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
}

.week-strip {
  margin-top: 38px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.human-note {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.days {
  padding-bottom: 80px;
}

.day {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.day-heading {
  position: sticky;
  top: 24px;
  align-self: start;
}

.day-name {
  margin: 0;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.day-date {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-card {
  position: relative;
  background: rgba(255,253,248,.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.event-card.pick {
  border-color: rgba(214,163,61,.65);
  background: linear-gradient(135deg, #fff9e9, #fffdf8 68%);
  box-shadow: var(--shadow);
}

.pick-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #755715;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 650;
}

.event-title {
  margin-bottom: 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.08;
  font-weight: 600;
}

.event-description {
  max-width: 760px;
  margin-bottom: 16px;
  color: #3d4843;
}

.irl-note {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--green);
  font-weight: 720;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: .78rem;
  font-weight: 750;
}

.details-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 850;
  color: var(--green);
  text-underline-offset: 5px;
}

.state-card {
  margin: 24px 0 80px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.error-card { border-color: rgba(185,95,86,.45); }

.submit-section {
  background: var(--green);
  color: var(--white);
}

.submit-inner {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 40px;
}

.submit-section .eyebrow { color: #dce9e3; }

.submit-section h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.submit-section p {
  max-width: 650px;
  color: #e5eee9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  text-decoration: none;
  font-weight: 850;
}

.button[aria-disabled="true"] {
  opacity: .72;
  pointer-events: none;
}

.site-footer {
  background: #15251f;
  color: #dfe8e3;
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 3px 0 0;
  color: #afbeb7;
  font-size: .9rem;
}

@media (max-width: 760px) {
  .hero { padding-top: 54px; }

  .week-strip,
  .footer-inner {
    flex-direction: column;
  }

  .day {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .day-heading {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .day-date { font-size: 2rem; }

  .submit-inner {
    grid-template-columns: 1fr;
  }

  .button { justify-self: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .event-card {
    transition: transform .18s ease, box-shadow .18s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .event-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
  }
}