:root {
  --bg: #0B1430;
  --bg-alt: #0F1A3A;
  --fg: #F4ECDC;
  --fg-muted: rgba(244, 236, 220, 0.62);
  --accent: #C9A961;
  --accent-soft: rgba(201, 169, 97, 0.18);
  --line: rgba(244, 236, 220, 0.18);

  --font-display: 'Italiana', 'Cormorant Garamond', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-script: 'Cormorant Garamond', serif;

  --display-weight: 400;
  --body-weight: 300;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  -webkit-font-smoothing: antialiased;
}

section { scroll-margin-top: 88px; }

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; }

/* ────────────── Monogram (C | N) ────────────── */
.monogram {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  color: var(--fg);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
}
.monogram__bar {
  display: inline-block;
  width: 1px;
  background: var(--accent);
}
.monogram--small      { font-size: 22px; gap: 4px; }
.monogram--small  .monogram__bar { height: 18.7px; }
.monogram--medium     { font-size: 28px; gap: 5px; }
.monogram--medium .monogram__bar { height: 23.8px; }

/* ────────────── Gold rule ────────────── */
.rule--plain {
  display: inline-block;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  width: var(--rule-w, 120px);
}
.rule--diamond {
  display: inline-block;
  position: relative;
  width: var(--rule-w, 120px);
  height: 6px;
}
.rule--diamond::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  margin-top: -0.5px;
  background: linear-gradient(
    to right,
    rgba(201, 169, 97, 0.7) 0,
    rgba(201, 169, 97, 0.7) calc(50% - 10px),
    transparent calc(50% - 10px),
    transparent calc(50% + 10px),
    rgba(201, 169, 97, 0.7) calc(50% + 10px),
    rgba(201, 169, 97, 0.7) 100%
  );
}
.rule--diamond::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ────────────── Top nav ────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 48, 0.93);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 44px;
  gap: 32px;
}
.topnav__brand { display: flex; align-items: center; }

.topnav__burger {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.topnav__burger span {
  display: block;
  height: 1px;
  width: 22px;
  margin-left: auto;
  background: var(--fg);
  transition: transform .3s ease, opacity .2s ease;
}
.topnav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.topnav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.topnav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topnav__links {
  display: flex;
  gap: 44px;
  align-items: center;
  justify-content: center;
}
.topnav__links a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.topnav__links a:hover { color: var(--fg); }
.topnav__links a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.topnav__date {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: right;
}

/* ────────────── Hero ────────────── */
.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 44px 100px;
  text-align: center;
  position: relative;
}

.corner {
  position: absolute;
  width: 36px;
  height: 36px;
  pointer-events: none;
}
.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: var(--accent);
  opacity: 0.65;
}
.corner::before { top: 0; left: 0; width: 36px; height: 1px; }
.corner::after  { top: 0; left: 0; width: 1px;  height: 36px; }
.corner--tl { top: 28px; left: 28px; }
.corner--tr { top: 28px; right: 28px; transform: rotate(90deg); }
.corner--bl { bottom: 28px; left: 28px; transform: rotate(270deg); }
.corner--br { bottom: 28px; right: 28px; transform: rotate(180deg); }

.hero__name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(72px, 13vw, 168px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.hero__amp {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 88px);
  color: var(--accent);
  margin: -8px 0;
  line-height: 1;
}

.hero__rule { margin-top: 48px; margin-bottom: 28px; }

.hero__request {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--fg);
}

.hero__date {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--fg);
  letter-spacing: 0.04em;
  margin-top: 22px;
}

/* ────────────── Section heads ────────────── */
.section-head { text-align: center; }
.section-head__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 56px);
  color: var(--fg);
  margin: 16px 0 0;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.section-head__rule {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

/* ────────────── Programme ────────────── */
.programme {
  padding: 120px 44px;
  border-top: 1px solid var(--line);
}
.schedule {
  list-style: none;
  margin: 60px auto 0;
  padding: 0;
  width: 100%;
  max-width: 720px;
}
.schedule li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.schedule li:last-child { border-bottom: none; }

.schedule__title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 24px;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.schedule__note {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: right;
}
.schedule__map {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}
.schedule__map:hover {
  border-bottom-color: var(--accent);
}

/* ────────────── Stay ────────────── */
.stay {
  padding: 120px 44px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.stay__intro {
  margin: 44px auto 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 580px;
  text-align: center;
  line-height: 1.75;
}
.hotels {
  margin: 56px auto 0;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.hotel {
  border: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
  background: var(--bg);
}
.hotel__tier {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hotel__name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 28px;
  color: var(--fg);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.hotel__meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 0 0 20px;
}
.hotel__rule {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.hotel__rate {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 8px;
}
.hotel__code {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
/* ────────────── RSVP ────────────── */
.rsvp {
  padding: 140px 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact {
  padding: 120px 44px;
  border-top: 1px solid var(--line);
}
.rsvp__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  color: var(--fg);
  margin: 22px auto 28px;
  max-width: 880px;
}
.rsvp__rule { display: flex; justify-content: center; }

.rsvp__body {
  margin: 32px auto 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.75;
}
.rsvp__deadline {
  color: var(--accent);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ────────────── Footer ────────────── */
.footer {
  padding: 44px 44px 56px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer__date {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ────────────── Responsive ────────────── */
@media (max-width: 880px) {
  .topnav {
    grid-template-columns: 1fr auto;
    padding: 16px 20px;
    gap: 16px;
  }
  .topnav__date { display: none; }
  .topnav__burger { display: flex; }

  .topnav__links {
    grid-column: 1 / -1;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    background: rgba(11, 20, 48, 0.98);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }
  .topnav__links.is-open {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
    padding: 8px 20px 16px;
  }
  .topnav__links a {
    width: 100%;
    font-size: 11px;
    letter-spacing: 0.24em;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .topnav__links a:last-child { border-bottom: none; }
  .topnav__links a.is-active {
    border-bottom-color: var(--line);
  }

  .hero, .programme, .stay, .rsvp { padding-left: 22px; padding-right: 22px; }

  .schedule li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .schedule__title {
    font-size: 22px;
  }
  .schedule__note {
    grid-column: 1;
    text-align: left;
    font-size: 10px;
  }

  .hotels { grid-template-columns: 1fr; max-width: 480px; }
}
