/* COMPOSITION: layout=cover-photo · winter-snow elegance · WHY: a single full-screen cover of the couple on a pale ice-blue/white canvas, airy spacing, a quiet silver hairline language and a soft snowfall motif — stillness and romance of a winter morning, never loud. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Cormorant:ital,wght@0,400;0,500;1,400&display=swap');

.bb-ww {
  --ww-bg: #fbfdff;
  --ww-text: #223240;
  --ww-muted: #5b7083;
  --ww-accent: #a9c4d6;
  --ww-surface: #eef4f8;
  --ww-border: #c9dae5;
  --ww-accent-strong: #44607a;

  --ww-title-size: clamp(2.6rem, 7.5cqw, 5.4rem);
  --ww-heading-size: clamp(1.4rem, 3.2cqw, 2.1rem);
  --ww-body-size: clamp(1rem, 1.5cqw, 1.15rem);
  --ww-radius: 2px;
  --ww-radius-button: 2px;
  --ww-font-heading: 'Cormorant Garamond', Georgia, serif;
  --ww-font-body: 'Cormorant Garamond', Georgia, serif;
  --ww-font-accent: 'Cormorant', Georgia, serif;

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

  /* additional literal tokens derived-use only */
  --ww-snow: #ffffff;
}

/* ---------- snowfall field on the page ground (subtle, in-flow via backdrop) ---------- */
.bb-ww {
  position: relative;
  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.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- NAV ---------- */
.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(22px, 3.5cqw, 42px)) 0 0;
}
.bb-ww__nav-link {
  font-family: var(--ww-font-body);
  font-size: clamp(0.8rem, 1.2cqw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ww-muted);
  text-decoration: none;
  position: relative;
}
.bb-ww__nav-link:hover { color: var(--ww-accent-strong); }

/* ---------- generic section ---------- */
.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: snow-star flourish above section titles ---------- */
.bb-ww__ornament {
  display: block;
  width: 64px;
  height: 20px;
  margin: 0 auto;
  background: var(--ww-accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 36'%3E%3Cg stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'%3E%3Cpath d='M60 2v32M46 8l28 20M74 8L46 28'/%3E%3Ccircle cx='60' cy='18' r='3' fill='%23000' stroke='none'/%3E%3Cpath d='M10 18h20M90 18h20'/%3E%3Ccircle cx='8' cy='18' r='2' fill='%23000' stroke='none'/%3E%3Ccircle cx='112' cy='18' r='2' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 36'%3E%3Cg stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'%3E%3Cpath d='M60 2v32M46 8l28 20M74 8L46 28'/%3E%3Ccircle cx='60' cy='18' r='3' fill='%23000' stroke='none'/%3E%3Cpath d='M10 18h20M90 18h20'/%3E%3Ccircle cx='8' cy='18' r='2' fill='%23000' stroke='none'/%3E%3Ccircle cx='112' cy='18' r='2' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.8;
}
.bb-ww__section--hero .bb-ww__ornament,
.bb-ww__hero .bb-ww__ornament { display: none; }

.bb-ww__section-title {
  font-family: var(--ww-font-heading);
  font-weight: 600;
  font-size: var(--ww-heading-size);
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--ww-text);
  margin: 0;
  overflow-wrap: break-word;
}
.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.88rem, 1.2cqw, 1rem);
  color: var(--ww-muted);
  letter-spacing: 0.03em;
  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, 22px);
  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 62%);
}
/* gentle snowfall scattered across the hero photo, functional opacity, never obscuring */
.bb-ww__photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, white 1px, transparent 1.6px),
    radial-gradient(circle, white 1px, transparent 1.6px),
    radial-gradient(circle, white 1.4px, transparent 2px);
  background-size: 140px 160px, 90px 110px, 200px 220px;
  background-position: 10px 20px, 60px 80px, 30px 140px;
  background-repeat: repeat;
}
.bb-ww__photo,
.bb-ww__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bb-ww__headline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6cqw, 16px);
}
.bb-ww__title {
  font-family: var(--ww-font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: var(--ww-title-size);
  letter-spacing: 0.015em;
  line-height: 1.05;
  color: var(--ww-hero-ink);
  margin: 0;
  overflow-wrap: break-word;
}
.bb-ww__date {
  font-size: clamp(0.82rem, 1.2cqw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ww-hero-ink);
  margin: 0;
}
.bb-ww__location {
  font-size: clamp(0.95rem, 1.5cqw, 1.1rem);
  letter-spacing: 0.04em;
  color: var(--ww-hero-ink);
  margin: 0;
}

/* ---------- Buttons ---------- */
.bb-ww__button {
  display: block;
  width: fit-content;
  margin: clamp(14px, 2cqw, 22px) auto 0;
  padding: 13px 34px;
  background: var(--ww-accent-strong);
  color: var(--ww-on-strong);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--ww-radius-button);
  font-family: var(--ww-font-body);
  font-size: clamp(0.85rem, 1.2cqw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.bb-ww__button:hover {
  background: oklch(from var(--ww-accent-strong) calc(l + 0.1) c h);
}
.bb-ww__hero .bb-ww__button--rsvp {
  background: transparent;
  color: var(--ww-hero-ink);
  border: 1px solid color-mix(in oklch, var(--ww-hero-ink), transparent 35%);
}
.bb-ww__hero .bb-ww__button--rsvp:hover {
  background: color-mix(in oklch, var(--ww-hero-ink), transparent 88%);
}
.bb-ww__button--gift,
.bb-ww__button--hotels {
  background: transparent;
  color: var(--ww-text);
  border: 1px solid var(--ww-border);
}
.bb-ww__button--gift:hover,
.bb-ww__button--hotels:hover {
  background: color-mix(in oklch, var(--ww-accent), transparent 86%);
  border-color: var(--ww-accent);
}

/* ---------- 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 1px 0 color-mix(in oklch, var(--ww-border), transparent 40%);
}
.bb-ww__image-card--landscape { max-width: 640px; }
.bb-ww__image-card--portrait { max-width: 440px; }

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

/* ---------- surface bands for key sections: a cool pale ice panel ---------- */
.bb-ww__section--schedule,
.bb-ww__section--venue,
.bb-ww__section--stay {
  background: var(--ww-surface);
  border: 1px solid var(--ww-border);
  border-radius: var(--ww-radius);
  padding: clamp(32px, 5cqw, 56px) clamp(24px, 5cqw, 48px);
}

/* ---------- 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(16px, 2.4cqw, 24px);
  border-bottom: 1px solid var(--ww-border);
}
.bb-ww__faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.bb-ww__faq-question {
  font-family: var(--ww-font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2cqw, 1.35rem);
  color: var(--ww-text);
  margin: 0 0 0.5rem;
}
.bb-ww__faq-answer {
  font-size: clamp(0.95rem, 1.5cqw, 1.08rem);
  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 solid 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-weight: 600;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4cqw, 1.6rem);
  color: var(--ww-accent-strong);
  margin: 0 0 1rem;
}
.bb-ww__schedule-event-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ww-text);
  margin: 0 0 0.15rem;
}
.bb-ww__schedule-event-time {
  color: var(--ww-muted);
  font-size: clamp(0.85rem, 1.2cqw, 0.95rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem;
}
.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(8px, 1.8cqw, 18px) auto 0;
  padding: clamp(36px, 6cqw, 56px) 0 0;
  text-align: center;
  border-top: 1px solid var(--ww-border);
  position: relative;
}
.bb-ww__footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 10px;
  background: var(--ww-accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cg stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='round'%3E%3Cpath d='M30 1v12M24 4l12 8M36 4L24 12'/%3E%3Ccircle cx='30' cy='7' r='1.6' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cg stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='round'%3E%3Cpath d='M30 1v12M24 4l12 8M36 4L24 12'/%3E%3Ccircle cx='30' cy='7' r='1.6' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.bb-ww__footer-names {
  font-family: var(--ww-font-heading);
  font-style: italic;
  font-weight: 500;
  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.2cqw, 0.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ww-muted);
  margin: 0;
}

/* ---------- Mobile ---------- */
@container (max-width: 640px) {
  .bb-ww__hero {
    padding: clamp(40px, 12cqw, 72px) clamp(22px, 6cqw, 36px);
  }
  .bb-ww__wrapper { gap: clamp(36px, 8cqw, 60px); }
  .bb-ww__nav { gap: 14px 22px; }
  .bb-ww__section--schedule,
  .bb-ww__section--venue,
  .bb-ww__section--stay {
    padding: clamp(24px, 6cqw, 36px) clamp(18px, 5cqw, 28px);
  }
}
