:root {
  color-scheme: light;
  --ink: #201c19;
  --muted: #6f6259;
  --paper: #fffaf3;
  --ivory: #f4eadb;
  --wine: #6f1f2c;
  --wine-dark: #3d1219;
  --forest: #173f36;
  --brass: #b9853e;
  --line: rgba(32, 28, 25, 0.15);
  --shadow: 0 24px 70px rgba(42, 19, 10, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fffaf3;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(21, 14, 10, 0.78), rgba(21, 14, 10, 0.4) 45%, rgba(21, 14, 10, 0.14)),
    linear-gradient(0deg, rgba(21, 14, 10, 0.62), rgba(21, 14, 10, 0.05) 44%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.nav__brand {
  font-weight: 800;
}

.nav__link {
  border: 1px solid rgba(255, 250, 243, 0.45);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 250, 243, 0.08);
  backdrop-filter: blur(10px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(94px, 18vh, 180px) 0 120px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 243, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--wine);
  color: #fffaf3;
  box-shadow: 0 14px 36px rgba(111, 31, 44, 0.28);
}

.button--ghost {
  border-color: rgba(32, 28, 25, 0.2);
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
}

.hero .button--ghost {
  border-color: rgba(255, 250, 243, 0.45);
  background: rgba(255, 250, 243, 0.1);
  color: #fffaf3;
  backdrop-filter: blur(12px);
}

.status-band {
  background: var(--forest);
  color: #fffaf3;
  padding: 34px 0;
}

.status-grid,
.split,
.rsvp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.status-band h2,
.section h2,
.admin-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
}

.status-band .muted {
  color: rgba(255, 250, 243, 0.72);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.event-facts div {
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 250, 243, 0.08);
}

.event-facts dt {
  margin-bottom: 8px;
  color: rgba(255, 250, 243, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.event-facts dd {
  margin: 0;
  line-height: 1.45;
}

.section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.section--tinted {
  background: var(--ivory);
}

.prose {
  font-size: 1.08rem;
  line-height: 1.9;
}

.prose p,
.rsvp-copy p {
  margin: 0 0 18px;
}

.section-header,
.admin-header,
.admin-toolbar,
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pill {
  min-width: 86px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--forest);
  font-weight: 800;
  text-align: center;
}

.member-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.member-card {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 250, 243, 0.72);
}

.member-card strong {
  display: block;
  font-size: 1.08rem;
}

.member-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  background: rgba(255, 250, 243, 0.58);
}

.form,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(32, 28, 25, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffdf8;
  color: var(--ink);
}

input:focus {
  outline: 3px solid rgba(185, 133, 62, 0.26);
  border-color: var(--brass);
}

.check {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.check input {
  min-height: 20px;
  margin-top: 2px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--wine);
  font-weight: 800;
  line-height: 1.5;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
}

.footer a {
  font-weight: 800;
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(23, 63, 54, 0.12), rgba(111, 31, 44, 0.08)),
    var(--paper);
}

.admin-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 40px 0;
}

.admin-panel {
  padding: clamp(20px, 4vw, 34px);
}

.admin-login {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 28px;
}

.admin-login label {
  flex: 1;
}

.admin-content {
  margin-top: 28px;
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-stats span,
.status-badge {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--ivory);
  color: var(--forest);
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: #fffdf8;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--forest);
  font-size: 0.82rem;
}

tr:last-child td {
  border-bottom: 0;
}

.danger-button {
  min-height: 36px;
  border: 1px solid rgba(111, 31, 44, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(111, 31, 44, 0.08);
  color: var(--wine);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero {
    min-height: 88vh;
  }

  .status-grid,
  .split,
  .rsvp-layout,
  .event-facts {
    grid-template-columns: 1fr;
  }

  .member-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-header,
  .admin-toolbar,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-login {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero__content {
    width: min(100% - 28px, 760px);
    padding-top: 84px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .member-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .nav__link {
    padding-inline: 12px;
  }
}
