:root {
  --blush-deep: #e8b9ae;
  --blush-mid:  #f3d3c9;
  --cream:      #fbf3ea;
  --ink:        #2f3b2a;
  --sage:       #6f8768;
  --sage-light: #a9bfa0;
  --sage-text:  #4f6a4d;
  --maroon:     #7a3b3b;
  --gold:       #b8945a;
  --gold-light: #d8bd8c;
  --charcoal:   #3d372f;
  --marigold:   #e8a23a;
  --magenta:    #a33d5e;
  --teal:       #2f6f6a;
}

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

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Big Caslon", "Didot", "Times New Roman", serif;
  min-height: 100vh;
}

#site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 16px;
  background: linear-gradient(to bottom, var(--blush-mid), var(--cream));
  border-bottom: 1px solid var(--gold-light);
}

#site-title {
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--maroon);
}

#site-title .amp,
#couple-names .amp {
  color: var(--gold);
  font-style: italic;
  padding: 0 8px;
}

#tab-nav {
  display: flex;
  gap: 24px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-text);
  padding: 8px 4px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: var(--maroon);
}

.tab-btn.is-active {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

#video-frame {
  display: flex;
  justify-content: center;
  padding: 8px;
  background: var(--charcoal);
  border: 1px solid var(--gold);
  box-shadow: 0 12px 32px rgba(58, 31, 34, 0.25);
  border-radius: 4px;
}

#save-the-date-video {
  width: 100%;
  max-width: 380px;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 2px;
}

#home-details {
  text-align: center;
  margin-top: 32px;
}

#kicker {
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--sage-text);
  font-size: 13px;
  margin-bottom: 12px;
}

#couple-names {
  font-size: 40px;
  color: var(--maroon);
  margin-bottom: 12px;
}

#wedding-dates {
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 6px;
}

#wedding-location {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-text);
}

#agenda h1 {
  text-align: center;
  color: var(--maroon);
  font-size: 32px;
  margin-bottom: 24px;
}

#agenda-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 40px;
}

#agenda-overview li {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--blush-mid);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  padding: 6px 16px;
}

.day-card {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(58, 31, 34, 0.08);
  padding: 24px 20px;
  margin-bottom: 28px;
}

.day-title {
  color: var(--maroon);
  font-size: 22px;
  margin-bottom: 16px;
}

.day-date {
  color: var(--sage-text);
  font-size: 16px;
  font-style: italic;
}

.schedule-list {
  list-style: none;
  border-left: 2px solid var(--gold-light);
  margin-bottom: 8px;
}

.schedule-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 8px 0 8px 16px;
  border-bottom: 1px dotted var(--gold-light);
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-list .time {
  flex: 0 0 150px;
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.schedule-list .event {
  flex: 1 1 200px;
  color: var(--charcoal);
}

.schedule-list li.no-time .event {
  color: var(--sage-text);
  font-style: italic;
}

.day-notes,
.day-todo {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--blush-mid);
}

.day-notes h3,
.day-todo h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.day-notes p {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.5;
}

.day-todo ul {
  list-style: none;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
}

.day-todo li::before {
  content: "\2610\0020";
  color: var(--sage-text);
}

@media (max-width: 480px) {
  #site-title { font-size: 22px; }
  #couple-names { font-size: 30px; }
  #tab-nav { gap: 16px; }
  .schedule-list .time { flex-basis: 100%; }
}
