:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-strong: #eef5f1;
  --ink: #17211f;
  --muted: #5d6c68;
  --line: #d6e0dc;
  --teal: #006c64;
  --blue: #254e92;
  --coral: #cc4634;
  --coral-dark: #aa3627;
  --gold: #c69218;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.11);
  --radius: 8px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(0, 108, 100, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 78, 146, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

svg {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(214, 224, 220, 0.86);
  background: rgba(246, 248, 247, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-name,
.brand-detail {
  display: block;
  white-space: nowrap;
}

.brand-name {
  font-weight: 800;
}

.brand-detail {
  color: var(--muted);
  font-size: 0.83rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.header-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  padding: 0 16px;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: clamp(54px, 10vw, 106px) 0 50px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  max-width: 920px;
}

h1 span {
  display: block;
  color: var(--blue);
  font-size: 0.42em;
  line-height: 1.08;
  margin-top: 18px;
}

.hero-lede {
  max-width: 660px;
  color: #33413e;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 20px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: var(--coral);
  box-shadow: 0 12px 30px rgba(217, 79, 61, 0.27);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary,
.button.ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: #aabbb5;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.08);
}

.rsvp-warning {
  max-width: 640px;
  margin: 26px 0 0;
  border-left: 4px solid var(--coral);
  background: #fff7f5;
  padding: 14px 18px;
  color: #4c2a25;
  font-weight: 650;
}

.date-panel {
  display: grid;
  gap: 16px;
}

.date-card,
.countdown,
.quick-facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.date-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 320px;
  overflow: hidden;
  text-align: center;
}

.date-card .month,
.date-card .year {
  display: grid;
  place-items: center;
  min-height: 64px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-card .day {
  display: grid;
  place-items: center;
  color: var(--coral);
  font-size: clamp(7rem, 17vw, 10rem);
  font-weight: 950;
  line-height: 0.9;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.countdown span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.countdown strong {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 950;
}

.quick-facts {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.quick-facts div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 16px 18px;
}

.quick-facts div + div {
  border-top: 1px solid var(--line);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 750;
}

.status-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(56px, 9vw, 96px);
  border: 1px solid #b7d2cb;
  border-radius: var(--radius);
  background: #edf7f4;
  padding: 18px 20px;
}

.status-strip div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.status-strip p {
  margin: 0;
  color: #31534d;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 108, 100, 0.14);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(66px, 10vw, 110px);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-heading h2,
.venue-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.updates-section {
  margin-top: clamp(-38px, -4vw, -20px);
}

.updates-list {
  border-top: 1px solid var(--line);
}

.update-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.update-item time {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.update-item strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.update-item p {
  color: var(--muted);
  margin: 0;
}

.info-card {
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.info-card.priority {
  border-color: rgba(217, 79, 61, 0.5);
  background: #fff8f6;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.info-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.text-link {
  color: var(--coral-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.timeline {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}

.timeline time {
  color: var(--blue);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  line-height: 1.15;
}

.timeline span {
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 6px;
}

.venue-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.venue-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(28px, 5vw, 44px);
}

.venue-copy p {
  color: var(--muted);
  font-size: 1.07rem;
}

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 850;
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
}

.not-found {
  width: min(680px, 100%);
}

.not-found h1 {
  font-size: clamp(3.2rem, 12vw, 7rem);
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
}

.mobile-rsvp {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .venue-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .date-panel {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    align-items: stretch;
  }

  .date-card {
    min-height: 240px;
  }

  .quick-facts {
    grid-column: 1 / -1;
  }

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

  .status-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-detail {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-rsvp {
    display: none;
  }

  .hero,
  .section,
  .status-strip,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(2.76rem, 14vw, 4.2rem);
  }

  h1 span {
    font-size: 0.46em;
  }

  .hero-actions,
  .venue-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .date-panel {
    grid-template-columns: 1fr;
  }

  .date-card {
    min-height: 230px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .update-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quick-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mobile-rsvp {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 999px;
    background: var(--coral);
    box-shadow: 0 16px 42px rgba(217, 79, 61, 0.34);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
