/* COMPOSITION: layout=cover-photo · airy botanical morning-light styling on a soft-white ground · WHY: a full-screen cover reads as a fresh morning garden moment, with delicate light-blue floral line-work and generous white space keeping the romance calm rather than heavy. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@400;500;600&display=swap');

.bb-ww {
  --ww-bg: #fffdfb;
  --ww-text: #2f3a3c;
  --ww-muted: #647178;
  --ww-accent: #9cc2d6;
  --ww-surface: #f7f9f8;
  --ww-border: #dbe7ec;
  --ww-accent-strong: #4d7f96;
  --ww-hero-scrim-tint: #1c2e35;

  --ww-title-size: clamp(2.6rem, 8cqw, 5.2rem);
  --ww-heading-size: clamp(1.4rem, 3.2cqw, 2.1rem);
  --ww-body-size: clamp(1rem, 1.6cqw, 1.125rem);
  --ww-radius: 14px;
  --ww-radius-button: 999px;
  --ww-font-heading: 'Cormorant Garamond', Georgia, serif;
  --ww-font-body: 'Jost', 'Segoe UI', sans-serif;
  --ww-font-accent: 'Cormorant Garamond', Georgia, serif;

  --ww-hero-ink: #ffffff;
  --ww-hero-scrim: color-mix(in oklch, var(--ww-hero-scrim-tint), transparent 30%);
  --ww-on-strong: oklch(from var(--ww-accent-strong) calc((0.62 - l) * infinity) 0.02 h);

  /* botanical line-art mask (a small rose/leaf sprig) reused as decoration */
  --ww-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M4 34 C 24 20, 40 30, 60 20 C 80 10, 96 18, 116 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M22 26 C 18 16, 28 12, 34 20 C 30 24, 26 26, 22 26 Z' fill='%23000'/%3E%3Cpath d='M50 22 C 48 12, 58 10, 62 18 C 58 22, 54 24, 50 22 Z' fill='%23000'/%3E%3Cpath d='M78 14 C 76 6, 86 4, 90 12 C 86 16, 82 16, 78 14 Z' fill='%23000'/%3E%3Ccircle cx='104' cy='10' r='5' fill='%23000'/%3E%3Ccircle cx='112' cy='6' r='2.6' fill='%23000'/%3E%3C/svg%3E");
}

.bb-ww {
  min-height: var(--ww-height);
  background: var(--ww-bg);
  color: var(--ww-text);
  font-family: var(--ww-font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bb-ww__wrapper {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(64px, 10cqw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8cqw, 100px);
  text-align: center;
  position: relative;
}
.bb-ww__main { display: contents; }
.bb-ww__hero { order: -2; }

.bb-ww__nav {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3cqw, 36px);
  padding: 0 clamp(24px, 6cqw, 48px);
  margin: calc(-1 * clamp(24px, 4cqw, 44px)) 0 0;
}
.bb-ww__nav-link {
  font-family: var(--ww-font-body);
  font-size: clamp(0.78rem, 1.2cqw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ww-text);
  text-decoration: none;
}
.bb-ww__nav-link:hover { color: var(--ww-text); text-decoration: underline; }

.bb-ww__section {
  width: min(680px, calc(100% - clamp(40px, 10cqw, 80px)));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.4cqw, 24px);
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  position: relative;
}

/* ornament slot — a gentle sprig divider, opted in for select sections */
.bb-ww__ornament {
  display: block;
  width: clamp(90px, 16cqw, 130px);
  height: 30px;
  margin: 0 auto;
  background: var(--ww-accent);
  -webkit-mask: var(--ww-sprig) center / contain no-repeat;
  mask: var(--ww-sprig) center / contain no-repeat;
  opacity: 0.85;
}
.bb-ww__section--story > .bb-ww__ornament,
.bb-ww__section--gift > .bb-ww__ornament {
  display: block;
}
.bb-ww__section--venue > .bb-ww__ornament {
  display: block;
  transform: scaleX(-1);
}

.bb-ww__section-title {
  font-family: var(--ww-font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: var(--ww-heading-size);
  line-height: 1.15;
  color: var(--ww-text);
  margin: 0;
  overflow-wrap: break-word;
}
.bb-ww__section-title::after {
  content: '❦';
  display: block;
  margin-top: 0.35em;
  font-style: normal;
  font-size: 0.6em;
  color: var(--ww-accent);
}
.bb-ww__body {
  font-family: var(--ww-font-body);
  font-size: var(--ww-body-size);
  line-height: 1.8;
  color: var(--ww-text);
  max-width: 62ch;
  margin: 0 auto;
}
.bb-ww__meta {
  font-size: clamp(0.85rem, 1.3cqw, 1rem);
  color: var(--ww-muted);
  margin: 0;
  max-width: 62ch;
}

/* ============================ HERO ============================ */
.bb-ww__hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: var(--ww-height);
  margin: 0;
  padding: clamp(48px, 10cqw, 104px) clamp(24px, 7cqw, 72px);
  border: 0;
  background: var(--ww-accent-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4cqw, 24px);
  overflow: hidden;
  text-align: center;
}
.bb-ww__photo-frame {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.bb-ww__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ww-hero-scrim) 0%, transparent 68%);
}
.bb-ww__photo,
.bb-ww__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bb-ww__headline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6cqw, 16px);
}
.bb-ww__monogram {
  display: block;
  width: clamp(60px, 8cqw, 84px);
  height: clamp(60px, 8cqw, 84px);
  margin: 0 auto clamp(8px, 1.4cqw, 14px);
  border: 1px solid color-mix(in oklch, var(--ww-hero-ink), transparent 35%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ww-font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 3cqw, 1.9rem);
  color: var(--ww-hero-ink);
}
.bb-ww__title {
  font-family: var(--ww-font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: var(--ww-title-size);
  line-height: 1.04;
  color: var(--ww-hero-ink);
  margin: 0;
  overflow-wrap: break-word;
  text-shadow: 0 2px 18px color-mix(in oklch, var(--ww-hero-scrim-tint), transparent 45%);
}
.bb-ww__date {
  font-size: clamp(0.85rem, 1.4cqw, 1rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ww-hero-ink);
  margin: 0;
}
.bb-ww__location {
  font-family: var(--ww-font-accent);
  font-style: italic;
  font-size: clamp(1rem, 1.7cqw, 1.25rem);
  color: var(--ww-hero-ink);
  margin: 0;
}

.bb-ww__button {
  display: block;
  width: fit-content;
  margin: clamp(12px, 2cqw, 20px) auto 0;
  padding: 13px 34px;
  background: var(--ww-accent-strong);
  color: var(--ww-on-strong);
  text-decoration: none;
  border: 0;
  border-radius: var(--ww-radius-button);
  font-family: var(--ww-font-body);
  font-size: clamp(0.85rem, 1.3cqw, 0.95rem);
  letter-spacing: 0.06em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.bb-ww__button:hover {
  background: oklch(from var(--ww-accent-strong) calc(l + 0.08) c h);
  transform: translateY(-1px);
}
.bb-ww__hero .bb-ww__button--rsvp {
  background: var(--ww-surface);
  color: var(--ww-accent-strong);
}
.bb-ww__button--gift,
.bb-ww__button--hotels {
  background: transparent;
  color: var(--ww-accent-strong);
  border: 1px solid var(--ww-accent);
}
.bb-ww__button--gift:hover,
.bb-ww__button--hotels:hover {
  background: color-mix(in oklch, var(--ww-accent), transparent 84%);
}

/* ---------- Standalone photos ---------- */
.bb-ww__section--photo { padding: 0; }
.bb-ww__image-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--ww-radius);
  overflow: hidden;
  border: 1px solid var(--ww-border);
  box-shadow: 0 18px 40px -28px color-mix(in oklch, var(--ww-accent-strong), transparent 45%);
}
.bb-ww__image-card--landscape { max-width: 620px; }
.bb-ww__image-card--portrait { max-width: 440px; }

.bb-ww__gallery {
  width: 100%;
  margin-top: clamp(8px, 1.8cqw, 16px);
  border-radius: var(--ww-radius);
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.bb-ww__faq-list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3cqw, 30px);
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.bb-ww__faq-item {
  margin: 0;
  padding-bottom: clamp(18px, 3cqw, 26px);
  border-bottom: 1px solid var(--ww-border);
}
.bb-ww__faq-item:last-child { border-bottom: 0; }
.bb-ww__faq-question {
  font-family: var(--ww-font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1cqw, 1.35rem);
  color: var(--ww-text);
  margin: 0 0 0.4rem;
}
.bb-ww__faq-answer {
  font-size: clamp(0.95rem, 1.5cqw, 1.1rem);
  line-height: 1.75;
  color: var(--ww-muted);
  margin: 0;
}

/* ---------- Schedule ---------- */
.bb-ww__schedule-group {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.bb-ww__schedule-group + .bb-ww__schedule-group { margin-top: 2.4rem; }
.bb-ww__schedule-event {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px dotted var(--ww-border);
}
.bb-ww__schedule-event:first-of-type { border-top: 0; padding-top: 0; }
.bb-ww__schedule-date {
  font-family: var(--ww-font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4cqw, 1.6rem);
  color: var(--ww-text);
  margin: 0 0 1rem;
}
.bb-ww__schedule-event-name {
  font-weight: 600;
  color: var(--ww-text);
  margin: 0 0 0.15rem;
}
.bb-ww__schedule-event-time {
  color: var(--ww-muted);
  font-size: clamp(0.85rem, 1.3cqw, 0.95rem);
  margin: 0 0 0.45rem;
  letter-spacing: 0.03em;
}
.bb-ww__schedule-event-description {
  color: var(--ww-muted);
  margin: 0;
}

@container (min-width: 640px) {
  .bb-ww__body,
  .bb-ww__meta,
  .bb-ww__faq-answer,
  .bb-ww__schedule-event-name,
  .bb-ww__schedule-event-description {
    font-size: var(--ww-body-size);
  }
}

/* ---------- Footer ---------- */
.bb-ww__footer {
  width: min(680px, calc(100% - 48px));
  margin: clamp(12px, 2cqw, 22px) auto 0;
  padding: clamp(28px, 5cqw, 44px) clamp(16px, 4cqw, 32px);
  text-align: center;
  background: var(--ww-surface);
  border-radius: var(--ww-radius);
  border: 1px solid var(--ww-border);
  position: relative;
}
.bb-ww__footer::before {
  content: '';
  display: block;
  width: clamp(70px, 12cqw, 100px);
  height: 24px;
  margin: 0 auto clamp(14px, 2.4cqw, 20px);
  background: var(--ww-accent);
  -webkit-mask: var(--ww-sprig) center / contain no-repeat;
  mask: var(--ww-sprig) center / contain no-repeat;
  opacity: 0.8;
}
.bb-ww__footer-names {
  font-family: var(--ww-font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8cqw, 2rem);
  color: var(--ww-text);
  margin: 0 0 0.3em;
}
.bb-ww__footer-date {
  font-family: var(--ww-font-body);
  font-size: clamp(0.85rem, 1.3cqw, 0.95rem);
  color: var(--ww-muted);
  letter-spacing: 0.08em;
  margin: 0;
}

@container (max-width: 640px) {
  .bb-ww__hero {
    padding: clamp(40px, 12cqw, 72px) clamp(22px, 6cqw, 36px);
  }
  .bb-ww__wrapper { gap: clamp(40px, 8cqw, 60px); }
  .bb-ww__nav { gap: 14px 22px; }
}
