:root {
  --bg: #f8ece6;
  --surface: #fff9f4;
  --text-main: #3b2a22;
  --text-muted: #7b6256;
  --accent: #d46a78;
  --line: rgba(212, 106, 120, 0.3);
  --section-tint-a: rgba(255, 248, 242, 0.9);
  --section-tint-b: rgba(249, 235, 225, 0.9);
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(236, 171, 184, 0.4) 0, rgba(236, 171, 184, 0) 30%),
    radial-gradient(circle at 88% 12%, rgba(245, 191, 119, 0.32) 0, rgba(245, 191, 119, 0) 30%),
    linear-gradient(180deg, #fdf2eb 0%, var(--bg) 48%, #f6e2d6 100%);
  color: var(--text-main);
  font-family: "Nunito", "Inter", "Lato", "Segoe UI", Arial, sans-serif;
}

.container.pb-4 {
  flex: 1 0 auto;
}

.site-shell {
  max-width: 1020px;
}

.content-shell {
  max-width: 900px;
  margin: 0 auto;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: #9e5c26;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(166, 109, 58, 0.13);
}

.header-date {
  text-align: center;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #a16d3f;
}

.navbar-brand {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #4a2f22;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 2.25rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.top-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: rgba(212, 106, 120, 0.16);
  color: #9a4454;
}

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

.page-intro,
.page-section {
  background: transparent;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.content-shell > section {
  background: var(--section-tint-a);
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 !important;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.content-shell > section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%);
}

.content-shell > section:nth-of-type(even) {
  background: var(--section-tint-b);
}

.content-shell > section + section {
  margin-top: 0 !important;
}

.page-intro {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2.4rem;
}

.date-line,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9b6d41;
  font-size: 0.76rem;
}

.page-intro h1,
.page-section h1 {
  font-size: 2.65rem;
  margin-bottom: 0.85rem;
  color: #4b2f23;
}

.page-section h2,
.section-title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.96rem;
  color: #c05e6e;
  margin-bottom: 1rem;
}

.lead,
.page-section p {
  color: var(--text-muted);
  line-height: 1.9;
}

.lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.intro-photo {
  margin: 0 auto;
  max-width: 560px;
}

.intro-photo-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 14px;
  border: 1px solid rgba(212, 106, 120, 0.28);
  box-shadow: 0 12px 24px rgba(166, 109, 58, 0.2);
  display: block;
}

.small-note a {
  color: var(--accent);
}

.countdown-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  color: var(--text-muted);
}

.countdown-inline strong {
  font-size: 1.55rem;
  color: #cf6171;
  font-family: "Cormorant Garamond", "Georgia", serif;
}

.countdown-inline .dot {
  color: var(--accent);
}

.story-strip {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: inherit;
  padding: 1.15rem 0.2rem;
}

.story-strip p {
  color: var(--text-muted);
  margin: 0;
}

.timeline-facts {
  display: grid;
  gap: 0.8rem;
}

.fact-item {
  border-left: 3px solid rgba(216, 111, 127, 0.55);
  padding-left: 0.85rem;
}

.fact-item span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.fact-item strong {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
}

.weekend-timeline,
.seating-grid,
.event-grid {
  display: grid;
  gap: 0.95rem;
}

.timeline-item,
.event-card,
.seating-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-left: 3px solid rgba(216, 111, 127, 0.55);
  padding: 0.35rem 0 0.35rem 0.95rem;
}

.planning-list .timeline-item {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.vertical-timeline {
  position: relative;
  gap: 1.1rem;
  padding-left: 1.4rem;
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.4rem;
  width: 2px;
  background: rgba(216, 111, 127, 0.35);
}

.planning-list .timeline-entry {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
}

.planning-list .timeline-entry::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fffaf5;
  border: 2px solid rgba(216, 111, 127, 0.75);
  box-shadow: 0 0 0 5px rgba(255, 236, 219, 0.8);
}

.timeline-time {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.timeline-content {
  border: 1px solid rgba(216, 111, 127, 0.22);
  background: rgba(255, 252, 249, 0.92);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 8px 18px rgba(180, 83, 37, 0.1);
}

.planning-list .timeline-entry:hover {
  border: none;
}

.planning-list .timeline-entry:hover .timeline-content {
  border-color: rgba(111, 85, 64, 0.45);
}

.timeline-item h3,
.event-card h3,
.seating-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.timeline-item p,
.event-card p,
.seating-card p,
.event-date {
  color: var(--text-muted);
  margin-bottom: 0;
}

.timeline-item:hover,
.event-card:hover {
  border-left-color: var(--accent);
}

.simple-list,
.course-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.day-timeline {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.day-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 2px;
  background: rgba(212, 106, 120, 0.35);
}

.day-step {
  position: relative;
  margin: 0;
  border: 1px solid rgba(212, 106, 120, 0.2);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.92);
  padding: 0.65rem 0.8rem;
}

.day-step::before {
  content: "";
  position: absolute;
  left: -0.98rem;
  top: 0.85rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff8f2;
  border: 2px solid rgba(212, 106, 120, 0.7);
}

.day-step-time {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.day-step h3 {
  margin: 0;
  font-size: 1.1rem;
}

.simple-list li,
.course-list li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.guest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.guest-tag {
  font-size: 0.85rem;
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.75);
}

.seating-layout {
  display: grid;
  gap: 1.4rem;
}

.top-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 244, 0.9));
  text-align: center;
  box-shadow: 0 10px 18px rgba(74, 47, 34, 0.1);
}

.top-table h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.top-table .guest-tags {
  justify-content: center;
}

.round-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.round-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.round-table-shape {
  width: 225px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: radial-gradient(circle at 30% 25%, #ffffff 0, #fff8f2 58%, #f2e4d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.35rem;
  color: #5c3c2d;
  box-shadow: 0 10px 18px rgba(74, 47, 34, 0.11);
}

.round-table-guests {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: 340px;
}

.seating-card-wide {
  grid-column: 1 / -1;
}

.practical-grid {
  display: grid;
  gap: 0.85rem;
}

.practical-item {
  border-left: 3px solid rgba(216, 111, 127, 0.55);
  padding-left: 0.9rem;
}

.practical-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.practical-item p {
  margin-bottom: 0;
}

.gift-account {
  display: inline-block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  letter-spacing: 0.04em;
}

.seating-grid-three {
  grid-template-columns: 1fr;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-decoration: none;
}

.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.topic-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(212, 106, 120, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.topic-link:hover {
  border-color: rgba(212, 106, 120, 0.5);
  background: rgba(255, 243, 244, 0.92);
  color: #9a4454;
}

.topic-list {
  display: grid;
  gap: 0.85rem;
}

.topic-card {
  border: 1px solid rgba(212, 106, 120, 0.2);
  border-radius: 16px;
  background: rgba(255, 252, 248, 0.92);
  box-shadow: 0 10px 18px rgba(74, 47, 34, 0.08);
  overflow: hidden;
}

.topic-card summary {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 3.25rem 1rem 1rem;
  cursor: pointer;
  position: relative;
}

.topic-card summary::-webkit-details-marker {
  display: none;
}

.topic-card summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 106, 120, 0.12);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.topic-card[open] summary::after {
  content: "−";
}

.topic-name {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.45rem;
  color: #4b2f23;
}

.topic-preview {
  color: var(--text-muted);
  line-height: 1.7;
}

.topic-body {
  padding: 0 1rem 1rem;
}

.topic-body .simple-list {
  margin-top: 0;
}

.footer {
  margin-top: auto !important;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 250, 244, 0.84);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.photo-slot {
  min-height: 130px;
  border-radius: 14px;
  border: 1px dashed rgba(216, 106, 127, 0.45);
  background: linear-gradient(135deg, rgba(255, 246, 245, 0.92), rgba(247, 225, 223, 0.86));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a24b5a;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.photo-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(216, 106, 127, 0.25);
  box-shadow: 0 10px 20px rgba(173, 77, 93, 0.14);
}

.photo-image {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .page-intro,
  .page-section {
    padding: 1.8rem 0 2.5rem;
  }

  .content-shell > section {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .page-intro h1,
  .page-section h1 {
    font-size: 3rem;
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .round-tables {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .round-tables .round-table:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .round-tables .round-table:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .round-tables .round-table:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    margin-top: -5.8rem;
  }

  .timeline-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .seating-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .vertical-timeline {
    padding-left: 0;
  }

  .vertical-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .planning-list .timeline-entry {
    width: 50%;
    padding-right: 2.2rem;
  }

  .planning-list .timeline-entry::before {
    left: auto;
    right: -0.35rem;
  }

  .planning-list .timeline-entry:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 2.2rem;
  }

  .planning-list .timeline-entry:nth-child(even)::before {
    right: auto;
    left: -0.35rem;
  }

  .day-timeline {
    padding-left: 0;
  }

  .day-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .day-step {
    width: 50%;
    padding-right: 2rem;
  }

  .day-step::before {
    left: auto;
    right: -0.35rem;
  }

  .day-step:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 2rem;
  }

  .day-step:nth-child(even)::before {
    right: auto;
    left: -0.35rem;
  }
}