@font-face {
  font-family: 'Burgues Script';
  src: url('../fonts/burgues-script.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

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

mux-video { display: block; }

:root {
  --black:   #0d0b09;
  --dark:    #111009;
  --panel:   #161210;
  --border:  #2a2520;
  --gold:    #ffffff;
  --gold-dim: rgba(255,255,255,0.45);
  --cream:   #ffffff;
  --text:    #e8e8e8;
  --muted:   #aaaaaa;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --script:  'Burgues Script', cursive;
  --seasons: 'Seasons', Georgia, serif;
  --sans:    'Montserrat', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  -ms-overflow-style: none;
}

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,11,9,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  gap: 36px; padding: 20px 40px;
}
nav.site-nav a {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
nav.site-nav a:hover,
nav.site-nav a.active { color: var(--cream); }
nav.site-nav a.active {
  font-weight: 700;
}

/* ── VIDEO HERO ── */
.video-hero {
  position: relative; width: 100%; height: 100vh;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
.video-hero video, .video-hero mux-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.60) saturate(1.3) brightness(1.08);
}
.video-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22,12,4,0.04) 0%, rgba(22,12,4,0.18) 55%, rgba(22,12,4,0.40) 100%);
}
.video-hero .hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px; text-align: center;
  padding: 0 24px;
}

/* ── PHOTO HERO ── */
.photo-hero {
  position: relative; width: 100%;
  height: 100vh;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
.photo-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.45) saturate(1.2) brightness(1.06);
}
.photo-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22,12,4,0.08) 0%, rgba(22,12,4,0.32) 100%);
}
.photo-hero .hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px; text-align: center;
  padding: 0 24px;
}

/* ── MONOGRAM ── */
.monogram {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px;
  color: var(--gold); letter-spacing: 2px;
  flex-shrink: 0;
}
.monogram img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ── HERO TYPOGRAPHY ── */
.hero-script {
  font-family: var(--script);
  font-size: clamp(44px, 7vw, 80px);
  font-style: normal; font-weight: 400;
  color: var(--cream); line-height: 1;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 13px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold);
}
.hero-date {
  font-family: var(--sans);
  font-size: 14px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--text);
}
sup { font-size: 0.55em; vertical-align: super; }

/* ── GOLD RULE ── */
.gold-rule {
  width: 36px; height: 1px;
  background: var(--gold); margin: 0 auto;
}

/* ── CTA BUTTON ── */
.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold); background: transparent;
  font-family: var(--sans); font-size: 12px;
  font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 36px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold); color: var(--black); }

/* ── PAGE WRAPPER ── */
.page-wrap {
  max-width: 860px; margin: 0 auto;
  padding: 64px 40px 80px;
}
.page-wrap.wide { max-width: 1100px; }

/* ── PAGE HEADER ── */
.page-header {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  text-align: center; margin-bottom: 56px;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-style: italic; font-weight: 300;
  color: var(--cream);
}

/* ── SECTION ── */
.section { margin-bottom: 48px; }
.section-label {
  font-family: var(--sans); font-size: 11px;
  font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-size: 28px;
  font-style: italic; color: var(--cream);
  margin-bottom: 14px;
}
p, .body-text {
  font-family: var(--sans); font-size: 17px;
  font-weight: 300; line-height: 1.9;
  color: var(--text);
}
p + p { margin-top: 14px; }
strong { color: var(--cream); font-weight: 400; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── DIVIDER ── */
hr.rule {
  border: none; border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── EVENT CARDS ── */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}
.event-card {
  background: var(--panel); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.event-name {
  font-family: var(--serif); font-size: 30px;
  font-style: italic; color: var(--cream);
}
.event-detail {
  font-family: var(--sans); font-size: 15px;
  font-weight: 300; line-height: 1.8; color: var(--text);
}
.event-attire {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border-top: 1px solid var(--border);
  padding-top: 12px; margin-top: 4px;
}
.event-note {
  font-family: var(--sans); font-size: 14px;
  font-weight: 300; line-height: 1.8;
  color: var(--muted); font-style: italic;
  margin-top: 6px;
}

/* ── HOTEL LISTS ── */
.hotel-section { margin-bottom: 40px; }
.hotel-section-title {
  font-family: var(--serif); font-size: 28px;
  font-style: italic; color: var(--cream);
  margin-bottom: 6px;
}
.hotel-section-sub {
  font-family: var(--sans); font-size: 13px;
  color: var(--muted); margin-bottom: 20px;
  letter-spacing: 1px;
}
.hotel-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.hotel-list li {
  display: flex; justify-content: space-between;
  align-items: baseline; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.hotel-list li:first-child { border-top: 1px solid var(--border); }
.hotel-name {
  font-family: var(--sans); font-size: 16px;
  color: var(--cream); font-weight: 400;
}
.hotel-dist {
  font-family: var(--sans); font-size: 13px;
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
}

/* ── TRANSPORT BLOCKS ── */
.info-block {
  background: var(--panel); border: 1px solid var(--border);
  padding: 28px 32px; margin-bottom: 16px;
}
.info-block .label {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.transport-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 16px;
}
@media (max-width: 600px) { .transport-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq-group { margin-bottom: 40px; }
.faq-group-title {
  font-family: var(--sans); font-size: 11px;
  font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
details.faq-item {
  border-bottom: 1px solid var(--border);
}
details.faq-item summary {
  padding: 22px 0; cursor: pointer;
  font-family: var(--sans); font-size: 16px;
  font-weight: 400; color: var(--cream);
  letter-spacing: 0.3px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; color: var(--gold); font-size: 22px;
  font-weight: 300; flex-shrink: 0; transition: transform 0.2s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 24px;
  font-family: var(--sans); font-size: 16px;
  font-weight: 300; line-height: 1.85; color: var(--text);
}
.faq-answer em { color: var(--cream); font-style: normal; }

/* ── REGISTRY ── */
.registry-wrap {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 32px;
  padding: 80px 40px;
}
.registry-script {
  font-family: var(--script);
  font-size: clamp(48px, 6vw, 72px);
  font-style: normal; font-weight: 400; color: var(--cream);
  line-height: 1.1;
}
.registry-sub {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold);
}
.registry-photo {
  width: 100%; max-width: 560px;
  aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid var(--border);
}

/* ── RSVP FORM ── */
.rsvp-form {
  background: rgba(13,11,9,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 48px; max-width: 600px; width: 100%;
}
.form-title {
  font-family: var(--serif); font-size: 32px;
  font-style: italic; color: var(--cream);
  text-align: center; margin-bottom: 32px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--sans);
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); color: var(--cream);
  font-family: var(--sans); font-size: 16px; font-weight: 300;
  padding: 14px 16px; outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--panel); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-submit {
  width: 100%; padding: 14px;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); font-family: var(--sans);
  font-size: 12px; font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--gold); color: var(--black); }

/* ── MAP ── */
.map-container {
  width: 100%; height: 420px;
  border: 1px solid var(--border);
  filter: grayscale(40%) contrast(0.9) brightness(0.85);
}

/* ── FOOTER ── */
footer {
  background: var(--black); border-top: 1px solid var(--border);
  text-align: center; padding: 28px 24px;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}

/* ── BACK TO TOP ── */
.back-to-top {
  display: block; text-align: center;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: 24px 0; transition: color 0.2s;
}
.back-to-top:hover { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav.site-nav { gap: 16px; padding: 16px; flex-wrap: wrap; justify-content: center; }
  nav.site-nav a { font-size: 10px; letter-spacing: 2px; }
  .page-wrap { padding: 48px 24px 64px; }
  .rsvp-form { padding: 32px 24px; }
  .event-grid { grid-template-columns: 1fr; }
}
