@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --forest:    #1b2d1f;
  --forest-mid:#243328;
  --cream:     #f8f4ee;
  --beige:     #ede5d8;
  --sage:      #7a9e7e;
  --sage-light:#a8c4a2;
  --gold:      #c9a96e;
  --text:      #2e2a25;
  --text-light:#7a7068;
  --white:     #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 5rem;
  background-color: var(--forest);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(122,158,126,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 85% 10%, rgba(201,169,110,0.08) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 2rem;
  opacity: 0.85;
  animation: fadeUp 0.8s ease both 0.1s;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  animation: fadeUp 0.8s ease both 0.35s;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--sage-light);
  font-size: 0.85em;
  margin-top: 0.1em;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
  animation: fadeUp 0.8s ease both 0.55s;
}

.hero-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem auto;
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.6;
  animation: fadeUp 0.8s ease both 0.75s;
}

.hero-ornament span {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-date {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease both 0.9s;
}

.hero-cta {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 1rem 2.5rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  animation: fadeUp 0.8s ease both 1.1s;
}

.hero-cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--forest);
}

.scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.25);
  animation: fadeUp 0.8s ease both 1.4s, bob 2.5s ease-in-out 2.2s infinite;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════
   INFO TRIO
══════════════════════════════ */
.intro-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 4rem;
}

.info-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.info-section h2 {
  margin-bottom: 2rem;
}

.info-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.info-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--beige);
}

.info-item:first-child { border-top: 1px solid var(--beige); }

.info-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.info-address {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.info-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}

@media (min-width: 640px) {
  .info-trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .info-item {
    border-bottom: none;
    border-right: 1px solid var(--beige);
    padding: 1.75rem 2rem;
  }
  .info-item:first-child {
    border-top: none;
    padding-left: 0;
  }
  .info-item:last-child {
    border-right: none;
  }
}

/* ══════════════════════════════
   MAP
══════════════════════════════ */
.map-wrap {
  margin-top: 3rem;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  display: block;
}

@media (min-width: 640px) {
  .map-wrap iframe { height: 360px; }
}

/* ══════════════════════════════
   OLIVER & FLORA
══════════════════════════════ */
.baby-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.baby-section .section-label {
  margin-bottom: 3rem;
}

.baby-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 540px) {
  .baby-grid { grid-template-columns: 1fr 1fr; }
}

.baby-card {
  border: 1px solid var(--beige);
  padding: 2.5rem 2rem;
}

.baby-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2rem;
}

.baby-name em {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.85em;
}

.baby-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.baby-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.baby-detail-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.baby-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text);
}

/* ══════════════════════════════
   AGENDA
══════════════════════════════ */
.agenda-section {
  background: var(--forest);
  padding: 4rem 2rem;
}

.agenda-section .section-label {
  color: var(--sage-light);
  opacity: 0.7;
  max-width: 800px;
  margin: 0 auto 3rem;
  display: block;
}

.agenda {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.agenda-item {
  display: grid;
  grid-template-columns: 5rem 2rem 1fr;
  align-items: start;
  gap: 0 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.agenda-item:last-child { border-bottom: none; }

.agenda-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  padding-top: 0.15rem;
  text-align: right;
}

.agenda-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
}

.agenda-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.agenda-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.agenda-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* ══════════════════════════════
   OSA
══════════════════════════════ */
.osa-section {
  background: var(--white);
}

.osa-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.osa-lead {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 0;
}

form {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

input, textarea {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--beige);
  border-radius: 0;
  padding: 0.6rem 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

input:focus, textarea:focus {
  border-bottom-color: var(--text);
}

input::placeholder, textarea::placeholder {
  color: rgba(0,0,0,0.2);
}

textarea {
  resize: none;
  min-height: 80px;
}

.attend-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.attend-btn {
  cursor: pointer;
}

.attend-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.attend-btn span {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--beige);
  padding: 0.85rem 1.75rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.attend-btn input[type="radio"]:checked + span {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 1rem 3rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover { background: var(--forest-mid); }
button[type="submit"]:disabled { opacity: 0.5; cursor: default; }

.cal-btn {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--forest);
  border: 1px solid var(--forest);
  padding: 0.85rem 2rem;
  transition: background 0.2s, color 0.2s;
}

.cal-btn:hover {
  background: var(--forest);
  color: var(--white);
}

.osa-success {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--sage);
  padding: 2rem 0;
}

.osa-error {
  font-size: 0.85rem;
  color: #a04040;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--forest);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
