@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #1e1c19;
  --ink-soft: #4e4a45;
  --stone: #f5f1eb;
  --linen: #fbf7f2;
  --olive: #31413c;
  --champagne: #d7c2a3;
  --gold: #b3925b;
  --shadow: rgba(18, 16, 12, 0.16);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 20%, #f7efe4 0%, #f8f5ef 40%, #f3ede4 100%);
  color: var(--ink);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.35;
  pointer-events: none;
  z-index: -2;
}

main {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 120px;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

p {
  line-height: 1.7;
  color: var(--ink-soft);
}

.section {
  width: min(1100px, 90vw);
  margin: 0 auto;
  animation: rise 700ms ease both;
}

.section-inner {
  display: grid;
  gap: 32px;
}

.split {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  margin-bottom: 18px;
  color: var(--olive);
}

.section-text {
  max-width: 560px;
  margin-bottom: 24px;
}

.muted {
  color: #746d64;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px min(6vw, 48px);
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(211, 197, 178, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.monogram {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--olive);
  background: var(--linen);
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.names {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
}

.date {
  font-size: 0.85rem;
  color: #6a625a;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: var(--gold);
}

.header-cta {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--linen);
  padding: 10px 18px;
  background: var(--olive);
  border-radius: 999px;
}

.intro {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.intro-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 30px 80px var(--shadow);
}

.intro-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.8);
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 20, 18, 0.55), rgba(20, 20, 18, 0.15));
}

.intro-content {
  padding: clamp(48px, 8vw, 96px);
  color: #f9f5ef;
  max-width: 620px;
  display: grid;
  gap: 22px;
}

.intro-content p {
  color: #e9e4dc;
}

.intro-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--gold);
  color: #1a1510;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(26, 21, 16, 0.2);
}

.button.ghost {
  background: transparent;
  color: #f6f1ea;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.contribution-button {
  justify-self: start;
}

.intro-details {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #6f6760;
}

.intro-details .label {
  color: rgba(255, 255, 255, 0.7);
}

.value {
  font-size: 1rem;
  color: inherit;
}

.detail-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.text-link {
  color: var(--olive);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-color: var(--olive);
}

.image-frame {
  background: var(--linen);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px var(--shadow);
}

.image-placeholder {
  height: 260px;
  border-radius: 20px;
  background: linear-gradient(130deg, rgba(49, 65, 60, 0.15), rgba(215, 194, 163, 0.3));
  display: grid;
  place-items: center;
  color: var(--olive);
  font-style: italic;
}

.location-slideshow {
  position: relative;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #d9cfbf;
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.slide-image.is-active {
  opacity: 1;
}

.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.65);
  color: rgba(35, 40, 38, 0.72);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
  opacity: 0.82;
}

.slide-control.prev {
  left: 12px;
}

.slide-control.next {
  right: 12px;
}

.slide-control span {
  font-size: 1.25rem;
  line-height: 1;
}

.slide-control:hover,
.slide-control:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(35, 40, 38, 0.95);
  opacity: 1;
}

.schedule {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--linen);
  box-shadow: 0 16px 34px rgba(25, 23, 18, 0.08);
}

.time {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--olive);
}

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

.chips span {
  border: 1px solid rgba(49, 65, 60, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--olive);
}

.note-card {
  background: var(--linen);
  padding: 26px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(20, 18, 12, 0.1);
}

.menu-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.menu-grid div,
.info-grid div {
  background: var(--linen);
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(20, 18, 12, 0.08);
}

.food-subheading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.food-subtitle {
  font-size: 1rem;
  color: rgba(37, 31, 25, 0.68);
  font-weight: 400;
}

#menu .section-inner {
  gap: 16px;
}

#menu .section-text {
  margin-bottom: 0;
}

.site-footer {
  text-align: center;
  padding: 60px 20px 90px;
  background: var(--linen);
  display: grid;
  gap: 20px;
  border-top: 1px solid rgba(211, 197, 178, 0.4);
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(17, 16, 13, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(680px, 92vw);
  max-height: 85vh;
  overflow: auto;
  background: #fbf8f3;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(15, 13, 9, 0.28);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(33, 30, 24, 0.7);
  cursor: pointer;
}

.modal-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-nav {
    justify-content: center;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  main {
    gap: 90px;
  }

  .intro {
    min-height: 70vh;
  }

  .intro-content {
    padding: 40px 28px;
  }

  .schedule-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section {
    animation: none;
  }

  .button {
    transition: none;
  }
}
