:root {
  --navy: #14233c;
  --navy-deep: #0c1728;
  --ink: #1c2430;
  --muted: #4d5a6a;
  --cream: #f6efe2;
  --paper: #fffaf1;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --plum: #5c3a78;
  --plum-deep: #43285a;
  --heart: #9b3d6a;
  --line: rgba(20, 35, 60, 0.12);
  --shadow: 0 18px 50px rgba(20, 35, 60, 0.16);
  --radius: 22px;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(92, 58, 120, 0.12), transparent 50%),
    var(--cream);
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--plum-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 239, 226, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ribbon {
  width: 28px;
  height: 36px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
}

.nav-links a + a::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--plum);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(20, 35, 60, 0.22);
}

.hero {
  padding: 2.2rem 0 1rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--plum);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--plum);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1.1rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  color: var(--navy);
  font-weight: 500;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.video-frame {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow:
    0 0 0 6px #efe4c8,
    0 0 0 8px var(--gold),
    var(--shadow);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  border: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(12, 23, 40, 0.05), rgba(12, 23, 40, 0.45));
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.play-overlay[hidden] {
  display: none;
}

.play-disc {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.play-overlay strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.play-overlay small {
  opacity: 0.9;
}

.banner {
  margin: 1.5rem 0 0;
  background: var(--plum);
  color: #fff;
  text-align: center;
  padding: 0.85rem 1rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.banner span {
  color: var(--gold-bright);
}

section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 24px rgba(20, 35, 60, 0.05);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.donate {
  background: var(--navy);
  color: #efe8d8;
  border-radius: 32px;
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow);
}

.donate h2,
.donate .section-head p {
  color: #fff;
}

.donate .section-head p {
  opacity: 0.86;
}

.etransfer {
  background: linear-gradient(180deg, #fffdf7, #f3e7c2);
  color: var(--navy);
  border-radius: 24px;
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.etransfer label {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.email-row code {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 3.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.copy-note {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #2f6b3a;
  font-weight: 600;
}

.ways {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.way {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
}

.way h3 {
  color: var(--gold-bright);
  font-size: 1.2rem;
}

.way p,
.way a {
  color: #efe8d8;
}

.event-grid {
  display: grid;
  gap: 1rem;
}

.event-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.pill {
  background: #efe4c8;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.pill b {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
}

.activities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

.activity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #efe4c8;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.poker {
  position: relative;
  overflow: hidden;
}

.route {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 1.2rem 0 0.4rem;
}

.route span {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--plum);
}

.route-line {
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 18px,
    transparent 18px 28px
  );
  margin-bottom: 1rem;
}

.poster-grid {
  display: grid;
  gap: 1.2rem;
}

.print-tips {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.print-tips li {
  margin: 0.35rem 0;
}

.plan-frame {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}

.plan-frame img {
  width: 100%;
  display: block;
}

.dialog {
  position: relative;
  border: 0;
  padding: 0.6rem;
  background: transparent;
  max-width: min(920px, 96vw);
}

.dialog::backdrop {
  background: rgba(12, 23, 40, 0.72);
}

.dialog img {
  width: 100%;
  border-radius: 12px;
}

.dialog-close {
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #d7d0c0;
  padding: 2.5rem 0 2rem;
}

.site-footer a {
  color: var(--gold-bright);
}

.site-footer h2 {
  color: #fff;
  font-size: 1.8rem;
}

.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: #fff;
  margin: 1.2rem 0 0;
}

.nav-toggle {
  display: none;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-form {
  display: grid;
  gap: 1.25rem;
}

.signup-form fieldset {
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
}

.signup-form legend {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--navy);
  padding: 0 0.4rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--navy);
}

.field span em,
.field-help {
  font-weight: 400;
  color: var(--muted);
  font-style: normal;
}

.field-help {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.field input,
.field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  border: 1.5px solid rgba(20, 35, 60, 0.18);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.form-grid,
.event-picks,
.form-grid-3 {
  display: grid;
  gap: 0.85rem;
}

.event-pick {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem 1.05rem 2.6rem;
  border: 2px solid rgba(20, 35, 60, 0.14);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.event-pick input {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
}

.event-pick strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.event-pick span {
  color: var(--muted);
  font-size: 0.92rem;
}

.event-pick.is-on {
  border-color: var(--gold);
  background: #fff8e6;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.donation-block {
  background: rgba(92, 58, 120, 0.06);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.donation-block h3 {
  font-size: 1.2rem;
}

.money-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.money-picks button {
  font: inherit;
  font-weight: 650;
  border: 1.5px solid rgba(20, 35, 60, 0.16);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.money-picks button.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.alert {
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.alert-ok {
  background: #e7f4ea;
  color: #215c32;
}

.alert-err {
  background: #fdecea;
  color: #8a1f1f;
}

.alert ul {
  margin: 0.4rem 0 0;
}

.admin-main {
  padding: 2rem 0 3rem;
}

.admin-login {
  max-width: 28rem;
  margin: 2rem auto;
}

.admin-login h1 {
  font-size: 2.2rem;
}

.admin-login .field {
  margin: 1rem 0;
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(20, 35, 60, 0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--plum);
}

.admin-filter {
  margin-bottom: 1rem;
  max-width: 28rem;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 780px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.8fr;
    gap: 3rem;
    min-height: calc(100vh - 5.5rem);
  }

  .cards,
  .event-grid,
  .ways,
  .poster-grid,
  .event-picks,
  .form-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .form-grid-3 {
    grid-template-columns: 0.7fr 1fr 1fr;
  }

  .activities {
    grid-template-columns: repeat(3, 1fr);
  }

  .donate {
    padding: 2.5rem;
  }
}

@media (max-width: 779px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 1rem;
    top: 4.2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-links a + a::before {
    content: none;
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
