/* ============================================================
   OSHANE & RENEÉ — WEDDING WEBSITE
   Design tokens: ivory/champagne ground, deep emerald + antique
   gold accents, Regency/Bridgerton-inspired crest & filigree motif.
   ============================================================ */

:root {
  /* --- colour --- */
  --ivory: #fbf7ee;
  --ivory-deep: #f2e9d6;
  --champagne: #e8d6a8;
  --champagne-dk: #c9a75c;
  --emerald: #0f4c3a;
  --emerald-dp: #08281f;
  --emerald-lt: #1f6b54;
  --gold: #b8924a;
  --gold-lt: #e3c787;
  --ink: #2a2620;
  --ink-soft: #6b6353;
  --white: #fffdf9;

  /* --- type --- */
  --f-display: "Cinzel", serif;
  --f-script: "Parisienne", cursive;
  --f-body: "Cormorant Garamond", serif;
  --f-ui: "Jost", sans-serif;

  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(15, 76, 58, 0.04), transparent 40%),
    radial-gradient(
      circle at 92% 25%,
      rgba(184, 146, 74, 0.04),
      transparent 45%
    ),
    radial-gradient(
      circle at 25% 95%,
      rgba(15, 76, 58, 0.035),
      transparent 42%
    ),
    #ffffff;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}
p {
  margin: 0 0 1em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============ ORNATE CARD ACCENTS (shared) ============ */
.countdown-item,
.schedule-item,
.contact-card,
.stay-card,
.venue-details,
.rules {
  position: relative;
}
.countdown-item::before,
.schedule-item::before,
.contact-card::before,
.stay-card::before,
.venue-details::before,
.rules::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--emerald),
    var(--gold),
    var(--emerald)
  );
}
.countdown-item::after,
.schedule-item::after,
.contact-card::after,
.stay-card::after,
.venue-details::after,
.rules::after {
  content: "";
  position: absolute;
  bottom: 9px;
  right: 9px;
  width: 16px;
  height: 16px;
  border-bottom: 1px solid var(--emerald-lt);
  border-right: 1px solid var(--emerald-lt);
  opacity: 0.55;
  pointer-events: none;
}

/* ============ SHARED UI ============ */
.eyebrow {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75em;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 1px;
  background: var(--emerald);
  transform: rotate(45deg);
  vertical-align: middle;
}
.hero-eyebrow::before,
.hero-eyebrow::after,
.rsvp .eyebrow::before,
.rsvp .eyebrow::after {
  background: var(--gold-lt);
}
.eyebrow.center {
  text-align: center;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--emerald);
  letter-spacing: 0.02em;
  margin-bottom: 1.1em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.section-title.center {
  text-align: center;
}
.section-title.center::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--emerald),
    var(--gold),
    var(--emerald),
    transparent
  );
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px 24px 90px;
}

.btn {
  display: inline-block;
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--champagne-dk));
  color: var(--emerald-dp);
  border: 1px solid rgba(8, 40, 31, 0.18);
  box-shadow:
    0 6px 20px rgba(184, 146, 74, 0.35),
    inset 0 0 0 1px rgba(255, 253, 249, 0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 146, 74, 0.45);
}
.btn-outline {
  margin-top: 8px;
  border-color: var(--gold);
  color: var(--emerald);
  background: transparent;
}
.btn-outline:hover {
  background: var(--emerald);
  color: var(--ivory);
  border-color: var(--emerald);
}

/* ============ LOADER / CREST REVEAL ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--emerald-dp);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderOut 0.9s ease 1.3s forwards;
}
.loader-crest {
  width: 130px;
  height: 130px;
  animation: crestPulse 1.3s ease;
}
.crest-svg,
.crest-svg-sm {
  width: 100%;
  height: 100%;
}
.crest-ring-outer {
  fill: none;
  stroke: var(--gold-lt);
  stroke-width: 1.5;
}
.crest-ring-inner {
  fill: none;
  stroke: var(--gold-lt);
  stroke-width: 1;
  opacity: 0.6;
}
.crest-crown path,
.crest-crown rect,
.crest-crown circle {
  fill: var(--gold-lt);
}
.crest-laurel path {
  fill: none;
  stroke: var(--gold-lt);
  stroke-width: 1.6;
}
.crest-laurel ellipse {
  fill: var(--gold-lt);
}
.crest-letter {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 52px;
  fill: var(--gold-lt);
}
.crest-amp {
  font-family: var(--f-script);
  font-size: 26px;
  fill: var(--gold);
}
.footer-crest .crest-ring-outer,
.footer-crest .crest-ring-inner,
.footer-crest .crest-laurel path {
  stroke: var(--gold);
}
.footer-crest .crest-crown path,
.footer-crest .crest-crown rect,
.footer-crest .crest-crown circle,
.footer-crest .crest-laurel ellipse,
.footer-crest .crest-letter,
.footer-crest .crest-amp {
  fill: var(--gold);
}
@keyframes crestPulse {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes loaderOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 18px 0;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(251, 247, 238, 0.95);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(15, 76, 58, 0.08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mark {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 0.15em;
  color: var(--emerald);
}
.nav.scrolled .nav-mark,
.hero .nav-mark {
  color: inherit;
}
.nav:not(.scrolled) .nav-mark {
  color: var(--ivory);
}
.nav-amp {
  color: var(--gold);
  font-family: var(--f-script);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--f-ui);
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding-bottom: 4px;
}
.nav.scrolled .nav-links a {
  color: var(--emerald);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links .nav-cta {
  border: 1px solid var(--gold);
  padding: 8px 18px;
  color: var(--gold-lt) !important;
}
.nav.scrolled .nav-cta {
  color: var(--emerald) !important;
  border-color: var(--emerald);
}
.nav-links .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: all 0.3s ease;
}
.nav.scrolled .nav-toggle span {
  background: var(--emerald);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(31, 107, 84, 0.55),
      transparent 60%
    ),
    linear-gradient(
      160deg,
      var(--emerald-dp),
      var(--emerald) 55%,
      var(--emerald-dp)
    );
  color: var(--ivory);
  padding: 120px 24px 60px;
}
.hero-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(227, 199, 135, 0.45);
  pointer-events: none;
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-lt);
}
.hero-frame::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.hero-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: heroIn 1.4s ease 0.3s both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-photo {
  width: 150px;
  height: 190px;
  margin: 0 auto 26px;
  border-radius: 50% / 42%;
  position: relative;
  padding: 6px;
  background: linear-gradient(
    160deg,
    var(--gold-lt),
    var(--gold) 55%,
    var(--champagne-dk)
  );
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50% / 42%;
  border: 1px solid rgba(8, 40, 31, 0.35);
  z-index: 2;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% / 42%;
  display: block;
}
.hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo span {
  position: relative;
  z-index: 2;
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(8, 40, 31, 0.45);
  padding: 6px 10px;
  border-radius: 50% / 42%;
  text-align: center;
  max-width: 80%;
}

.hero-eyebrow {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 22px;
}
.hero-names {
  font-family: var(--f-display);
  font-size: clamp(46px, 9vw, 104px);
  line-height: 1;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  flex-wrap: wrap;
}
.hero-names .name {
  color: var(--ivory);
}
.hero-names .ampersand {
  font-family: var(--f-script);
  color: var(--gold-lt);
  font-size: 0.6em;
  padding: 0 0.1em;
}
.hero-sub {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 22px;
  color: var(--champagne);
  margin: 22px 0 6px;
}
.ornament {
  margin: 22px auto;
  width: min(320px, 70%);
}
.flourish {
  width: 100%;
  height: auto;
  overflow: visible;
}
.flourish path {
  fill: none;
  stroke: var(--gold-lt);
  stroke-width: 1.2;
}
.flourish circle {
  fill: var(--gold-lt);
}
.hero .flourish path,
.hero .flourish circle {
  stroke: var(--gold-lt);
  fill: var(--gold-lt);
}

.hero-date {
  font-family: var(--f-ui);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin-bottom: 4px;
}
.hero-venue {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 18px;
  color: var(--champagne);
  margin-bottom: 34px;
}
.hero-btn {
  border: 1px solid var(--gold-lt);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1px solid var(--gold-lt);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.scroll-cue span {
  width: 3px;
  height: 8px;
  background: var(--gold-lt);
  border-radius: 2px;
  animation: cueMove 1.8s ease infinite;
}
@keyframes cueMove {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
  }
}

/* ============ DIVIDERS ============ */
.divider {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}
.flourish-lg {
  display: block;
}
.flourish-lg path {
  stroke: var(--gold);
}
.flourish-lg circle {
  fill: var(--emerald);
}
.flourish-petal {
  fill: none;
  stroke: var(--emerald-lt) !important;
  stroke-width: 1.4;
}

/* ============ COUNTDOWN ============ */
.countdown-section {
  text-align: center;
  padding: 70px 24px 10px;
}
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto;
}
.countdown-item {
  background: var(--white);
  border: 1px solid var(--champagne);
  min-width: 98px;
  padding: 22px 16px;
  box-shadow: 0 10px 30px rgba(15, 76, 58, 0.06);
}
.countdown-number {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(30px, 5vw, 46px);
  color: var(--emerald);
}
.countdown-label {
  display: block;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}
.countdown-divider {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--gold);
}

/* ============ LOVE STORY (two royal letters) ============ */
.story-intro {
  color: var(--ink-soft);
  font-style: italic;
  max-width: 520px;
  margin: 0 auto 50px;
}

.letters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1080px;
  margin: 0 auto;
}

.letter-wrap {
  position: relative;
  padding-top: 22px;
}
.letter-left .parchment {
  transform: rotate(-0.6deg);
}
.letter-right .parchment {
  transform: rotate(0.6deg);
}
.letter-wrap:hover .parchment {
  transform: rotate(0deg);
}

.wax-seal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  z-index: 2;
  background: radial-gradient(
    circle at 35% 30%,
    var(--gold-lt),
    var(--gold) 55%,
    var(--champagne-dk) 100%
  );
  box-shadow:
    0 6px 14px rgba(15, 76, 58, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--emerald-dp);
}

.parchment {
  position: relative;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(201, 167, 92, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(201, 167, 92, 0.08),
      transparent 45%
    ),
    var(--white);
  border: 1px solid var(--champagne-dk);
  box-shadow:
    0 18px 40px rgba(15, 76, 58, 0.16),
    0 0 0 1px rgba(15, 76, 58, 0.05);
  padding: 52px 42px 40px;
  transition: transform 0.4s ease;
}
.parchment::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(15, 76, 58, 0.22);
  pointer-events: none;
}
.parchment-heading {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 24px;
}
.parchment-lead {
  font-family: var(--f-body);
  font-size: 19px;
  color: var(--ink);
}
.drop-cap {
  float: left;
  font-family: var(--f-display);
  font-size: 58px;
  line-height: 0.8;
  color: var(--gold);
  padding: 4px 8px 0 0;
}
.parchment p {
  color: var(--ink-soft);
  font-family: var(--f-body);
}
.parchment-signoff {
  color: var(--ink) !important;
  font-style: italic;
}
.parchment-sign {
  font-family: var(--f-script);
  font-size: 28px;
  color: var(--gold);
  margin: 14px 0 0;
  text-align: right;
}

@media (max-width: 820px) {
  .letters-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

/* ============ SCHEDULE ============ */
.schedule {
  position: relative;
  background: var(--emerald);
  box-shadow: 0 0 0 100vmax var(--emerald);
  clip-path: inset(0 -100vmax);
}
.schedule .eyebrow {
  color: var(--gold-lt);
}
.schedule .eyebrow::before,
.schedule .eyebrow::after {
  background: var(--gold-lt);
}
.schedule .section-title {
  color: var(--ivory);
  text-shadow: none;
}
.schedule .section-title.center::after {
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-lt),
    var(--gold),
    var(--gold-lt),
    transparent
  );
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-top: 40px;
}
.schedule-item {
  text-align: center;
  padding: 34px 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 76, 58, 0.05);
}
.schedule-time {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.schedule-icon {
  color: var(--champagne-dk);
  font-size: 18px;
  margin: 10px 0;
}
.schedule-item h3 {
  font-family: var(--f-display);
  font-size: 19px;
  color: var(--emerald);
  margin-bottom: 10px;
}
.schedule-item p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

/* ============ VENUE ============ */
.venue-address {
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.venue-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: stretch;
}
.venue-map {
  min-height: 340px;
  border: 6px solid var(--white);
  box-shadow: 0 14px 40px rgba(15, 76, 58, 0.12);
}
.venue-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: sepia(8%) saturate(85%);
}
.venue-details {
  background: var(--white);
  padding: 38px;
  box-shadow: 0 14px 40px rgba(15, 76, 58, 0.06);
}
.venue-details h3 {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--emerald);
  margin-bottom: 14px;
}
.venue-list {
  margin: 20px 0;
}
.venue-list li {
  padding: 10px 0;
  border-top: 1px solid var(--ivory-deep);
  color: var(--ink-soft);
}
.venue-list li:first-child {
  border-top: none;
}
.venue-list strong {
  color: var(--emerald);
}

/* ============ ACCOMMODATION ============ */
.accommodation-note {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 44px;
}
.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stay-card {
  background: var(--white);
  border: 1px solid var(--champagne);
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(15, 76, 58, 0.05);
  display: flex;
  flex-direction: column;
}
.stay-tag {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.stay-card h3 {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--emerald);
  margin-bottom: 12px;
}
.stay-card p {
  color: var(--ink-soft);
}
.stay-meta {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--gold);
  font-style: normal;
  margin-bottom: 18px;
}
.stay-card .btn-outline {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ GALLERY ============ */
.gallery-note {
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 40px;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-feature,
.gallery-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ivory-deep), var(--champagne));
}
.gallery-feature {
  aspect-ratio: 21/8;
  box-shadow: 0 16px 40px rgba(15, 76, 58, 0.1);
}
.gallery-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 1/1;
}

.gallery-feature::before,
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(184, 146, 74, 0.5);
  z-index: 2;
  pointer-events: none;
}
.gallery-feature::after,
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

.gallery-feature img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-feature:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-feature span,
.gallery-item span {
  position: relative;
  z-index: 3;
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-feature {
    aspect-ratio: 4/3;
  }
}
@media (max-width: 480px) {
  .gallery-row {
    grid-template-columns: 1fr;
  }
}

/* ============ RSVP FORM ============ */
.rsvp {
  background: var(--emerald);
  border-radius: 2px;
  color: var(--ivory);
  max-width: var(--container);
}
.rsvp .eyebrow {
  color: var(--gold-lt);
}
.rsvp .section-title {
  color: var(--ivory);
}
.rsvp-note {
  text-align: center;
  color: var(--champagne);
  max-width: 520px;
  margin: 0 auto 40px;
}
.rsvp-form {
  max-width: 720px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  margin-bottom: 22px;
  border: none;
  padding: 0;
}
.form-group legend {
  padding: 0;
  margin-bottom: 10px;
  font-family: var(--f-ui);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
}
label {
  display: block;
  font-family: var(--f-ui);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 10px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: rgba(251, 247, 238, 0.06);
  border: 1px solid rgba(227, 199, 135, 0.4);
  color: var(--ivory);
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 17px;
  border-radius: 1px;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
input::placeholder,
textarea::placeholder {
  color: rgba(251, 247, 238, 0.45);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-lt);
  background: rgba(251, 247, 238, 0.1);
  outline: none;
}
select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-lt) 50%),
    linear-gradient(135deg, var(--gold-lt) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) center,
    calc(100% - 16px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
select option {
  color: var(--ink);
}
.radio-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(227, 199, 135, 0.4);
  padding: 12px 20px;
  cursor: pointer;
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--ivory);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
.radio-pill:has(input:checked) {
  border-color: var(--gold-lt);
  background: rgba(227, 199, 135, 0.12);
}
.radio-pill input {
  accent-color: var(--gold-lt);
}
.hidden-field {
  position: absolute;
  left: -9999px;
}
.rsvp-submit {
  display: block;
  width: 100%;
  margin-top: 10px;
}
.form-status {
  text-align: center;
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--gold-lt);
  min-height: 20px;
}

/* ============ FAQ / ACCORDION ============ */
.accordion {
  max-width: 760px;
  margin: 40px auto 0;
}
.accordion-item {
  border-bottom: 1px solid var(--champagne-dk);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--emerald);
}
.accordion-icon {
  font-family: var(--f-ui);
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.35s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  color: var(--ink-soft);
  padding: 0 4px;
}
.accordion-panel p {
  margin: 0 0 20px;
}

.rules {
  max-width: 760px;
  margin: 70px auto 0;
  background: var(--white);
  padding: 44px;
  box-shadow: 0 14px 40px rgba(15, 76, 58, 0.06);
}
.rules-title {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--emerald);
  margin-bottom: 22px;
}
.rules-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--ink-soft);
  border-top: 1px solid var(--ivory-deep);
}
.rules-list li:first-child {
  border-top: none;
}
.rules-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--gold);
  font-size: 12px;
}

/* ============ CONTACT ============ */
.contact-note {
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 44px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.contact-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border: 1px solid var(--champagne);
}
.contact-card h3 {
  font-family: var(--f-display);
  font-size: 19px;
  color: var(--emerald);
  margin-bottom: 12px;
}
.contact-card a {
  display: block;
  color: var(--ink-soft);
  margin: 4px 0;
  transition: color 0.3s ease;
}
.contact-card a:hover {
  color: var(--gold);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--emerald-dp);
  color: var(--champagne);
  text-align: center;
  padding: 60px 24px 40px;
}
.footer-crest {
  width: 80px;
  margin: 0 auto 14px;
}
.footer-names {
  font-family: var(--f-script);
  font-size: 30px;
  color: var(--gold-lt);
}
.footer-date {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin: 8px 0;
}
.footer-credit {
  font-style: italic;
  font-size: 15px;
  color: var(--champagne-dk);
  margin: 0;
}

/* ============ TO TOP ============ */
.to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ivory);
  color: var(--emerald);
  cursor: pointer;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%;
    max-width: 320px;
    background: var(--emerald-dp);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 34px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.45s ease;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    color: var(--ivory) !important;
    font-size: 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 17px;
  }
  .countdown {
    gap: 12px;
  }
  .countdown-item {
    min-width: 76px;
    padding: 16px 10px;
  }
  .section {
    padding: 56px 20px 70px;
  }
}
