:root {
  color-scheme: light;
  --bg: #f7f1e7;
  --bg-soft: #f1e8d8;
  --paper: #fffaf2;
  --dark: #231917;
  --dark-soft: #3b2428;
  --text: #2b211d;
  --muted: #776861;
  --gold: #c29c60;
  --gold-soft: rgba(194, 156, 96, 0.25);
  --line: rgba(66, 46, 38, 0.14);
  --card-line: rgba(194, 156, 96, 0.2);
  --shadow: 0 24px 60px rgba(49, 33, 28, 0.08);
  --nav-bg: rgba(247, 241, 231, 0.92);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(180deg, #faf5ed 0%, #f7f1e7 48%, #f1e7d8 100%);
}

body.menu-open {
  overflow: hidden;
}

.background-audio {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

button,
input,
textarea,
fieldset {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

/* PRIVREMENO: sakriven nav — ukloni ovaj blok kad ga opet trebaš */
.site-nav,
.mobile-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(35, 25, 23, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition:
    opacity 240ms ease,
    visibility 240ms ease,
    transform 240ms ease,
    padding 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.site-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav.scrolled {
  padding: 1rem 1.5rem;
}

.nav-logo {
  position: relative;
  z-index: 1;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a,
.mobile-menu a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav-links a,
.nav-burger span {
  color: var(--text);
}

.nav-burger {
  position: relative;
  z-index: 1;
  display: inline-grid;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 2rem;
  height: 1px;
  background: currentColor;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.44rem) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.44rem) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2rem;
  padding: 6rem 2rem 2rem;
  background: rgba(35, 25, 23, 0.96);
  transform: translateY(-100%);
  transition: transform 300ms ease;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  color: #f6ede2;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #17110f;
  overflow: hidden;
  transition:
    opacity 500ms ease,
    visibility 500ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro.is-collapsed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.intro-media,
.intro-video,
.intro-video-fallback {
  position: absolute;
  inset: 0;
}

.intro-media {
  z-index: 2;
}

.intro-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

.intro-video-fallback {
  background:
    radial-gradient(circle at 20% 20%, rgba(194, 156, 96, 0.18), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(109, 54, 60, 0.22), transparent 26%),
    linear-gradient(180deg, #17110f 0%, #231917 100%);
}

.intro-actions {
  position: absolute;
  inset: auto 0 2.5rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.intro-cta {
  min-width: min(100%, 18rem);
  padding: 0.95rem 1.6rem;
  border: 1px solid rgba(243, 236, 214, 0.72);
  background: rgba(24, 16, 14, 0.18);
  color: #fbf5e8;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.intro-cta.is-visible {
  opacity: 1;
  pointer-events: none;
  transform: translateY(0);
}

.intro-cta:hover,
.intro-cta:focus-visible {
  background: rgba(24, 16, 14, 0.32);
  border-color: rgba(243, 236, 214, 0.95);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 18% 16%, rgba(194, 171, 116, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(166, 119, 92, 0.12), transparent 22%),
    linear-gradient(180deg, #f8f0e3 0%, #efe2cf 52%, #e7d6c1 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  z-index: 0;
  border: 1px solid rgba(194, 156, 96, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.34);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 24%, rgba(126, 95, 72, 0.08), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(126, 95, 72, 0.06), transparent 20%),
    repeating-linear-gradient(0deg,
      rgba(92, 67, 50, 0.018) 0,
      rgba(92, 67, 50, 0.018) 2px,
      transparent 2px,
      transparent 7px),
    repeating-linear-gradient(90deg,
      rgba(92, 67, 50, 0.012) 0,
      rgba(92, 67, 50, 0.012) 1px,
      transparent 1px,
      transparent 6px);
  mix-blend-mode: multiply;
}

.hero-cover {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
}

.hero-cover-copy {
  width: min(100%, 48rem);
  text-align: center;
  color: rgba(58, 39, 31, 0.94);
}

.hero-cover-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.hero-cover-names,
.hero-cover-date {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(126, 97, 63, 0.8);
}

.hero-cover-names {
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
}

.hero-cover-date {
  font-size: 0.74rem;
}

.hero-cover-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 0;
  color: rgba(145, 114, 77, 0.72);
}

.hero-cover-ornament::before,
.hero-cover-ornament::after {
  content: "";
  width: clamp(4rem, 10vw, 7rem);
  height: 1px;
  background: linear-gradient(90deg,
      rgba(145, 114, 77, 0),
      rgba(145, 114, 77, 0.52),
      rgba(145, 114, 77, 0));
}

.hero-cover-ornament span {
  font-size: 0.9rem;
}

.hero-cover-monogram-frame {
  width: min(100%, clamp(18rem, 52vw, 26rem));
  aspect-ratio: 1023 / 1159;
  margin: 0 auto 1.25rem;
}

.hero-cover-monogram {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: rgba(126, 97, 63, 0.82);
  transform: translateX(-50%);
}

.hero-scroll-label {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 4.25rem;
  background: rgba(145, 114, 77, 0.24);
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 1.6rem;
  background: rgba(145, 114, 77, 0.78);
  transform: translateX(-50%);
  animation: hero-scroll 1.9s ease-in-out infinite;
}

@keyframes hero-scroll {
  0% {
    top: -1.6rem;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 4.25rem;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line::after {
    animation: none;
    top: 1.3rem;
    opacity: 1;
  }
}

@media (max-width: 759px) {
  .hero-cover {
    transform: translateY(-32px);
  }
}

.section-tag,
.timeline-time,
.countdown-label,
.detail-label,
.form-label,
.contact-label,
.footer-date,
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.section-title,
.timeline-item h3,
.contact-card h3,
.site-footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 0.98;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-ornament::before,
.section-ornament::after {
  content: "";
  width: min(100%, 10rem);
  height: 1px;
  background: var(--gold-soft);
}

.section {
  position: relative;
}

.section-light,
.section-soft,
.site-footer {
  background:
    radial-gradient(circle at 18% 16%, rgba(194, 171, 116, 0.16), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(166, 119, 92, 0.1), transparent 22%),
    linear-gradient(180deg, #f8f0e3 0%, #efe2cf 52%, #e7d6c1 100%);
}

.section-light::before,
.section-soft::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 24%, rgba(126, 95, 72, 0.06), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(126, 95, 72, 0.05), transparent 20%),
    repeating-linear-gradient(0deg,
      rgba(92, 67, 50, 0.014) 0,
      rgba(92, 67, 50, 0.014) 2px,
      transparent 2px,
      transparent 7px),
    repeating-linear-gradient(90deg,
      rgba(92, 67, 50, 0.01) 0,
      rgba(92, 67, 50, 0.01) 1px,
      transparent 1px,
      transparent 6px);
  mix-blend-mode: multiply;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(194, 156, 96, 0.11), transparent 26%),
    radial-gradient(circle at top right, rgba(109, 54, 60, 0.18), transparent 24%),
    linear-gradient(180deg, #2a1d1b 0%, #211715 100%);
  color: #f7eee2;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 22%, rgba(214, 184, 132, 0.08), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(214, 184, 132, 0.06), transparent 20%),
    repeating-linear-gradient(0deg,
      rgba(255, 245, 224, 0.016) 0,
      rgba(255, 245, 224, 0.016) 2px,
      transparent 2px,
      transparent 7px),
    repeating-linear-gradient(90deg,
      rgba(255, 245, 224, 0.012) 0,
      rgba(255, 245, 224, 0.012) 1px,
      transparent 1px,
      transparent 6px);
  mix-blend-mode: screen;
}

.section-inner {
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.site-footer>* {
  position: relative;
  z-index: 1;
}

.section-inner-narrow {
  width: min(100%, 56rem);
}

.section-inner-form {
  width: min(100%, 54rem);
}

.centered {
  text-align: center;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  margin: 0 0 1rem;
  color: var(--gold);
}

.section-title {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.section-title em {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
  color: var(--gold);
}

.section-ornament {
  margin: 1.6rem auto;
  color: var(--gold);
}

.section-subtitle {
  width: min(100%, 42rem);
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
}

.section-dark .section-title,
.section-dark .section-subtitle {
  color: #f7eee2;
}

.section-dark .section-subtitle {
  color: rgba(247, 238, 226, 0.78);
}

.invitation-card {
  padding: 2.3rem 1.4rem;
  border: 1px solid var(--card-line);
  background: rgba(255, 248, 239, 0.64);
  box-shadow: var(--shadow);
}

.invitation-date {
  margin: 0 0 1rem;
  color: #ba8e90;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.invitation-text {
  width: min(100%, 42rem);
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height: 1.2;
  text-align: center;
}

.detail-grid,
.contact-grid,
.countdown-grid {
  display: grid;
  gap: 1.2rem;
}

.detail-grid {
  margin-top: 1.3rem;
}

.detail-card {
  padding: 2rem 1.4rem;
  border: 1px solid var(--card-line);
  background: rgba(255, 248, 239, 0.58);
  text-align: center;
}

.detail-label {
  margin: 0 0 1rem;
  color: var(--muted);
}

.detail-value {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.24;
}

.detail-value small {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.48em;
  color: rgba(58, 39, 31, 0.54);
}

.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  width: min(100%, 50rem);
  margin: 0 auto;
  padding-left: 2.8rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(194, 156, 96, 0.7), rgba(194, 156, 96, 0.14));
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding-left: 1rem;
}

.timeline-dot {
  position: absolute;
  left: -2.8rem;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(194, 156, 96, 0.45);
  border-radius: 999px;
  background: rgba(250, 242, 231, 0.92);
  color: var(--text);
  font-size: 0.95rem;
}

.timeline-time {
  margin: 0 0 0.75rem;
  color: var(--gold);
}

.timeline-item h3 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.timeline-copy>p:not(.timeline-time):not(.timeline-location) {
  margin: 0.75rem 0 0.55rem;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
  color: #6e5d4d;
}

.timeline-location {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
  color: #a89478;
}

.timeline-location::before {
  content: "";
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.2em;
  background-color: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.timeline-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-color: rgba(194, 156, 96, 0.65);
}

.timeline-link:hover,
.timeline-link:focus-visible {
  text-decoration-color: var(--gold);
}

.countdown-grid {
  margin-top: 2.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.countdown-card {
  padding: 2rem 1rem;
  border: 1px solid var(--card-line);
  background: rgba(255, 248, 239, 0.72);
  text-align: center;
}

.countdown-number {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.8rem, 11vw, 6.6rem);
  line-height: 1;
  color: var(--text);
}

.countdown-label {
  display: block;
  margin-top: 0.75rem;
  color: var(--gold);
}

.rsvp-form {
  width: 100%;
}

.form-grid {
  display: grid;
  gap: 1.6rem;
}

.form-field {
  display: grid;
  gap: 0.8rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-label {
  color: var(--muted);
}

.form-field,
.form-radios {
  min-width: 0;
}

.form-radios {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-input {
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid rgba(66, 46, 38, 0.18);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  outline: 0;
  transition: border-color 180ms ease;
}

.form-input:focus {
  border-bottom-color: var(--gold);
}

.form-textarea {
  min-height: 4.8rem;
  resize: vertical;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: 2rem;
  margin-top: 0.4rem;
  cursor: pointer;
}

.radio-option input {
  position: absolute;
  opacity: 0;
}

.radio-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(66, 46, 38, 0.24);
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
}

.radio-mark::after {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border-radius: 999px;
  background: var(--gold);
  transform: scale(0);
  transition: transform 180ms ease;
}

.radio-option input:checked+.radio-mark::after {
  transform: scale(1);
}

.rsvp-form-error {
  margin-top: 1.25rem;
  color: #8b2942;
  font-size: 0.95rem;
  text-align: center;
  scroll-margin-top: 6rem;
}

.form-submit {
  width: 100%;
  margin-top: 2.4rem;
  padding: 1.2rem 1.4rem;
  border: 0;
  background: linear-gradient(180deg, #2d1f1d 0%, #201614 100%);
  color: #dec4a8;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-submit span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.rsvp-success {
  text-align: center;
  padding: 3rem 1rem 1rem;
  scroll-margin-top: 6rem;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  font-size: 1.4rem;
  color: var(--gold);
}

.rsvp-success h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.rsvp-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-grid {
  margin-top: 2.5rem;
}

.contact-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--card-line);
  background: rgba(255, 248, 239, 0.72);
  text-align: center;
}

.contact-label {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-card h3 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--text);
}

.contact-card a {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: 0.12em;
  color: var(--gold);
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--text);
  text-align: center;
  padding: 0;
  border-top: 1px solid var(--line);
  min-height: 100vh;
  justify-content: space-between;
  align-items: stretch;
  display: flex;
  flex-direction: column;
}

.footer-ornament {
  display: block;
  width: min(90%, 600px);
  max-width: 600px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.footer-ornament--top {
  margin-bottom: 2.75rem;
  transform: rotate(180deg);
}

.footer-ornament--bottom {
  margin-top: 2.75rem;
}

.footer-signature {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--muted);
}

.site-footer h2 {
  margin-top: 0.8rem;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  color: var(--gold);
}

.footer-date {
  margin: 1rem 0 2rem;
  color: var(--muted);
}

.footer-quote {
  margin: 0 auto;
  width: min(100%, 42rem);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3.8vw, 3.25rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #966725;
  animation: footer-quote-reveal 1400ms ease-out both;
  padding: 0 1.5rem;
}

.footer-quote-line {
  display: block;
}

.footer-quote-line-accent {
  color: #966725;
  text-shadow: none;
}

.footer-quote strong {
  color: #966725;
  font-weight: 600;
}

@keyframes footer-quote-reveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-quote {
    animation: none;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 1.8rem;
  margin: 0 auto 2rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  color: rgba(43, 33, 29, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 260ms;
}

.delay-4 {
  transition-delay: 340ms;
}

@media (min-width: 760px) {
  .site-nav {
    padding-inline: 3rem;
  }

  .site-nav.scrolled {
    padding-inline: 3rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-burger,
  .mobile-menu {
    display: none;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

@media (max-width: 759px) {
  .section-inner {
    padding-block: 4rem;
  }

  .countdown-grid {
    gap: 0.6rem;
  }

  .countdown-card {
    padding: 1.2rem 0.35rem;
  }

  .countdown-number {
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .countdown-label {
    margin-top: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .radio-option {
    display: flex;
    margin-right: 0;
    margin-bottom: 0.9rem;
  }

  .timeline {
    padding-left: 2.4rem;
  }

  .timeline-dot {
    left: -2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
}

.grecaptcha-badge {
  display: none !important
}