:root {
  --bg: #f6efe7;
  --bg-soft: #efe2d4;
  --text: #2b221d;
  --muted: #6f5e50;
  --accent: #aa7b52;
  --panel: rgba(255,255,255,0.58);
  --line: rgba(67, 47, 29, 0.12);
  --dark: #241b16;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 10, 2, 0.09);
  --radius-xl: 30px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.light-eyebrow {
  color: rgba(255,255,255,0.56);
}

.heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.95;
  margin: 0;
  font-weight: 600;
}

.subheading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  margin: 0;
  font-weight: 600;
}

.copy {
  color: var(--muted);
  line-height: 1.85;
  font-size: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn-row.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.36);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 18px 0;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(246,239,231,0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

/* ===== CURTAIN HERO ===== */

.hero-curtain-section {
  position: relative;
  min-height: 100svh;
  background: #f7f2ec;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f2ec;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 20px 90px;
  text-align: center;
  color: #7b2319;
}

.hero-topline {
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #7b2319;
}

.hero-names {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 10vw, 132px);
  line-height: 0.92;
  font-weight: 600;
  color: #7b2319;
}

.hero-names .amp {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.hero-description {
  max-width: 1200px;
  margin: 38px auto 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b2319;
}

.hero-scroll {
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #7b2319;
}

.hero-scroll span {
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-arrow {
  font-size: 38px;
  line-height: 1;
}

.curtain-trigger {
  position: absolute;
  inset: 0;
  z-index: 6;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff4ea;
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.curtain-trigger span {
  padding: 14px 24px;
  border: 1px solid rgba(255, 240, 229, 0.42);
  border-radius: 999px;
  background: rgba(65, 8, 4, 0.22);
  backdrop-filter: blur(3px);
}

.curtain-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.curtain {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1), transparent 30%),
    linear-gradient(to bottom, #8b1208 0%, #9f170d 35%, #8e1109 70%, #780d06 100%);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset -12px 0 25px rgba(0,0,0,0.22);
  overflow: hidden;
}

.curtain::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to right,
      rgba(255, 233, 220, 0.76) 0px,
      rgba(255, 233, 220, 0.76) 2px,
      transparent 2px,
      transparent 62px
    );
  opacity: 0.58;
  transform: scaleX(1.15);
}

.curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.16), transparent 20%, transparent 80%, rgba(0,0,0,0.18));
  opacity: 0.8;
}

.curtain-left {
  left: 0;
  border-right: 2px solid rgba(255, 227, 212, 0.7);
}

.curtain-right {
  right: 0;
  border-left: 2px solid rgba(255, 227, 212, 0.7);
}

.curtain-center-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 120px;
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 65%);
  opacity: 0.45;
  transition: opacity 0.8s ease;
}

.hero-stage.is-open .curtain-left {
  transform: translateX(-88%);
}

.hero-stage.is-open .curtain-right {
  transform: translateX(88%);
}

.hero-stage.is-open .curtain-center-glow {
  opacity: 0;
}

.hero-stage.is-open .curtain-trigger {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-stage:not(.is-open) .hero-content {
  opacity: 0.92;
  transition: opacity 0.6s ease 0.2s;
}

.hero-stage.is-open .hero-content {
  opacity: 1;
}

/* ===== OTHER SITE SECTIONS ===== */

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card-pad {
  padding: 36px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 8px;
  flex: 0 0 auto;
}

.events {
  background: var(--bg-soft);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.event-card {
  background: #fff9f4;
  border: 1px solid rgba(91, 68, 45, 0.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  margin: 0 0 18px;
}

.event-meta {
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--shadow);
}

.gallery-item.tall {
  min-height: 440px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.dark-band {
  background: var(--dark);
  color: var(--white);
}

.dark-band .copy {
  color: rgba(255,255,255,0.72);
}

.dark-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
}

.rsvp {
  text-align: center;
}

.rsvp .copy {
  max-width: 720px;
  margin: 20px auto 0;
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0;
}

.reveal {
  transform: translateY(34px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-left {
  transform: translateX(-40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-right {
  transform: translateX(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-zoom {
  transform: scale(1.08);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
  opacity: 1;
  transform: none;
}

.title-mask {
  overflow: hidden;
  display: inline-block;
}

.title-mask > span {
  display: inline-block;
  transform: translateY(115%);
  animation: liftText 1.15s cubic-bezier(.22,1,.36,1) forwards;
}

.title-delay > span {
  animation-delay: 0.12s;
}

@keyframes liftText {
  to {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .grid-2,
  .event-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .gallery-item,
  .gallery-item.tall {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero-content {
    width: min(100%, calc(100% - 24px));
    padding: 120px 12px 70px;
  }

  .hero-topline {
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .hero-description {
    margin-top: 26px;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.6;
  }

  .hero-scroll {
    margin-top: 60px;
  }

  .curtain-trigger span {
    font-size: 14px;
    padding: 12px 18px;
  }

  .curtain::before {
    background:
      repeating-linear-gradient(
        to right,
        rgba(255, 233, 220, 0.7) 0px,
        rgba(255, 233, 220, 0.7) 2px,
        transparent 2px,
        transparent 34px
      );
  }

  .hero-stage.is-open .curtain-left {
    transform: translateX(-82%);
  }

  .hero-stage.is-open .curtain-right {
    transform: translateX(82%);
  }

  .event-title {
    font-size: 30px;
  }

  .card-pad,
  .event-card {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }
  
}

/* ============================= */
/* DATE REVEAL SECTION */
/* ============================= */

.reveal-date-section {
  background: #f7f4ef;
  padding-top: 120px;
  padding-bottom: 120px;
}

.date-reveal-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: #7b2319;
}

.date-reveal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 1px solid rgba(123, 35, 25, 0.14);
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: rgba(123, 35, 25, 0.55);
  box-shadow: 0 6px 20px rgba(60, 20, 10, 0.06);
}

.date-reveal-note {
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: rgba(123, 35, 25, 0.72);
}

.date-reveal-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  color: #7b2319;
  font-weight: 600;
}

.date-reveal-subtitle {
  margin: 18px 0 46px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b2319;
}

.date-reveal-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.date-circle {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 0 0 10px rgba(255,255,255,0.45),
    0 10px 30px rgba(60, 20, 10, 0.05);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.date-circle-value {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: #7b2319;
}

.date-circle-cover {
  position: absolute;
  inset: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.35s ease;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 242, 191, 0.98), rgba(255, 223, 136, 0.96) 28%, rgba(205, 150, 71, 0.95) 58%, rgba(140, 96, 34, 0.98) 100%);
  box-shadow:
    inset 0 2px 10px rgba(255,255,255,0.45),
    inset 0 -8px 14px rgba(130, 79, 19, 0.22);
}

.date-circle-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,255,255,0.15) 0deg,
      rgba(255,255,255,0.02) 10deg,
      rgba(0,0,0,0.04) 18deg,
      rgba(255,255,255,0.12) 26deg
    );
  mix-blend-mode: soft-light;
  opacity: 0.75;
}

.date-circle-cover.revealed {
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
}

.date-reveal-wrap.is-complete .date-reveal-note {
  color: #7b2319;
}

@media (max-width: 640px) {
  .reveal-date-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .date-reveal-note {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .date-reveal-subtitle {
    font-size: 13px;
    letter-spacing: 0.14em;
    margin-bottom: 30px;
  }

  .date-reveal-circles {
    gap: 18px;
  }

  .date-circle {
    width: 112px;
    height: 112px;
  }

  .date-circle-value {
    font-size: 28px;
  }
}

/* ============================= */
/* COUNTDOWN SECTION */
/* ============================= */

.countdown-section {
  background: #f7f4ef;
  padding-top: 110px;
  padding-bottom: 110px;
}

.countdown-wrap {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #7b2319;
}

.countdown-title {
  margin: 0 0 42px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(58px, 8vw, 100px);
  line-height: 0.95;
  color: #7b2319;
  font-weight: 600;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
}

.countdown-box {
  min-width: 112px;
}

.countdown-number {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border: 1.5px solid #8a392b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  line-height: 1;
  color: #7b2319;
  background: rgba(255,255,255,0.28);
}

.countdown-label {
  margin-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b2319;
}

.countdown-note {
  margin: 54px 0 86px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #7b2319;
}

.countdown-venue-block {
  margin-top: 10px;
}

.countdown-venue-topline {
  margin: 0 0 38px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b2319;
}

.countdown-illustration-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.countdown-illustration {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .countdown-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .countdown-grid {
    gap: 20px;
  }

  .countdown-number {
    width: 84px;
    height: 84px;
    font-size: 30px;
  }

  .countdown-label {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .countdown-note {
    margin: 38px 0 58px;
    font-size: 18px;
  }

  .countdown-venue-topline {
    font-size: 14px;
    letter-spacing: 0.14em;
    margin-bottom: 26px;
  }
}

@media (max-width: 520px) {
  .countdown-grid {
    gap: 14px;
  }

  .countdown-box {
    min-width: 78px;
  }

  .countdown-number {
    width: 74px;
    height: 74px;
    font-size: 26px;
    border-radius: 10px;
  }

  .countdown-label {
    margin-top: 10px;
    font-size: 11px;
  }
}

/* ============================= */
/* VENUE TEXT BELOW ILLUSTRATION */
/* ============================= */

.countdown-venue-text {
  margin-top: 48px;
  text-align: center;
  color: #7b2319;
}

.venue-date {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.2;
}

.venue-name {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.06em;
}

.venue-address {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(123, 35, 25, 0.75);
}

/* ============================= */
/* PROGRAM IMAGE */
/* ============================= */

.countdown-program {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.countdown-program img {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
}

/* MOBILE */
@media (max-width: 640px) {
  .countdown-venue-text {
    margin-top: 36px;
  }

  .venue-date {
    font-size: 26px;
  }

  .venue-name {
    font-size: 16px;
  }

  .venue-address {
    font-size: 14px;
  }

  .countdown-program {
    margin-top: 36px;
  }

  .countdown-program img {
    max-width: 100%;
  }
}


/* ============================= */
/* RECEPTION SECTION */
/* ============================= */

.reception-section {
  background: #f7f4ef;
  padding-top: 110px;
  padding-bottom: 110px;
}

.reception-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #7b2319;
}

.reception-topline {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b2319;
}

.reception-title {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.95;
  font-weight: 600;
  color: #7b2319;
}

.reception-copy {
  max-width: 920px;
  margin: 0 auto 42px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.45;
  color: #7b2319;
}

.reception-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reception-date {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.2;
  color: #7b2319;
}

.reception-time {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 2.5vw, 38px);
  color: #7b2319;
}

.reception-venue {
  margin: 18px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0.04em;
  color: #7b2319;
}

.reception-address {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(123, 35, 25, 0.78);
}

.reception-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* MOBILE */
@media (max-width: 640px) {
  .reception-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .reception-topline {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .reception-copy {
    font-size: 18px;
    margin-bottom: 34px;
  }

  .reception-venue {
    font-size: 18px;
  }

  .reception-address {
    font-size: 15px;
  }
}
