:root {
  --ivory: #f6f1e8;
  --paper: #fffaf2;
  --ink: #273027;
  --forest: #394a35;
  --forest-dark: #263324;
  --gold: #b6914f;
  --gold-light: #dfc99b;
  --line: rgba(57, 74, 53, 0.18);
  --shadow: 0 24px 70px rgba(39, 48, 39, 0.16);
  --script: "Allura", "Brush Script MT", cursive;
  --hero-script: "Parisienne", "Brush Script MT", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #222820;
}

body {
  margin: 0;
  color: var(--ink);
  background: #222820;
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-shell {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  overflow: clip;
  background: var(--ivory);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.35);
}

.story-section {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.paper-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(182, 145, 79, 0.1), transparent 28%),
    radial-gradient(circle at 85% 90%, rgba(57, 74, 53, 0.07), transparent 24%),
    var(--ivory);
}

.section-inner,
.section-heading {
  width: 100%;
  padding: 88px 24px 72px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.eyebrow.light {
  color: #f0d89b;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--forest-dark);
  font-family: var(--serif);
  font-size: clamp(3rem, 13vw, 4.3rem);
  font-weight: 500;
  line-height: 0.93;
}

h2 em {
  color: var(--gold);
  font-weight: 400;
}

.section-copy {
  max-width: 390px;
  margin: 22px auto 0;
  color: #657064;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Floating controls */
.music-control {
  position: fixed;
  z-index: 50;
  top: calc(14px + env(safe-area-inset-top));
  right: max(14px, calc((100vw - 500px) / 2 + 14px));
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(25, 30, 24, 0.42);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.music-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

.music-icon svg {
  width: 19px;
  fill: currentColor;
}

.music-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.equalizer {
  display: none;
  height: 15px;
  align-items: end;
  gap: 2px;
}

.equalizer i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #f1d99d;
  animation: equalize 0.65s ease-in-out infinite alternate;
}

.equalizer i:nth-child(2) { animation-delay: -0.25s; }
.equalizer i:nth-child(3) { animation-delay: -0.48s; }

.music-control.is-playing .equalizer { display: flex; }

@keyframes equalize {
  to { height: 14px; }
}

.page-dots {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: max(8px, calc((100vw - 520px) / 2 + 8px));
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: translateY(-50%);
}

.page-dots a {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(41, 50, 38, 0.22);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  transition: height 0.25s ease, background 0.25s ease;
}

.page-dots a.active {
  height: 19px;
  border-radius: 10px;
  background: #e3c17e;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background: #2b2924 url("/assets/images/hero.webp") center top / 100% auto no-repeat;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 28, 20, 0.25), rgba(28, 24, 18, 0.03) 23%, rgba(19, 22, 17, 0.12) 58%, rgba(17, 20, 16, 0.68)),
    radial-gradient(circle at 50% 48%, transparent 30%, rgba(22, 21, 17, 0.18) 85%);
}

.hero-content {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: calc(42px + env(safe-area-inset-top)) 24px calc(104px + env(safe-area-inset-bottom));
  text-align: center;
}

.hero-spacer {
  flex: 0.78;
  min-height: 18vh;
}

.hero h1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 18vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.66;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.28);
}

.hero h1 em {
  margin: 0.18em 0;
  color: #e7c67f;
  font-size: 0.48em;
  font-weight: 400;
  line-height: 1;
}

.hero-quote {
  max-width: 370px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--serif);
  font-size: 1.04rem;
  font-style: italic;
  line-height: 1.55;
}

.hero-date {
  margin-top: 22px;
  padding: 8px 18px;
  color: #f4d994;
  border: 1px solid rgba(244, 217, 148, 0.66);
  border-radius: 999px;
  background: rgba(35, 38, 27, 0.34);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.23em;
}

.hero-details {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.77rem;
  line-height: 1.65;
}

.hero-details p {
  margin: 0;
}

.hero-details p > span + span::before {
  margin: 0 10px;
  color: #e4c77e;
  content: "•";
}

.hero-details p:first-child {
  display: flex;
  flex-direction: column;
}

.hero-details strong {
  font-weight: 600;
}

.glass-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 19px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.53);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.glass-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.scroll-cue {
  position: absolute;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue span {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  animation: scrollHint 1.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* Countdown */
.countdown-section {
  display: grid;
  align-items: center;
}

.countdown-section .section-inner {
  padding-bottom: 84px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 35px 0 37px;
}

.countdown div {
  position: relative;
  padding: 17px 4px 14px;
  border: 1px solid rgba(182, 145, 79, 0.28);
  border-radius: 60px 60px 12px 12px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: 0 10px 35px rgba(50, 58, 46, 0.06);
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  margin-top: 5px;
  color: #8b7f6b;
  font-size: 0.59rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-arrived {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  color: var(--forest);
  border: 1px solid rgba(182, 145, 79, 0.28);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.72);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.photo-triptych {
  height: 270px;
  display: grid;
  grid-template-columns: 0.9fr 1.13fr 0.9fr;
  align-items: center;
  gap: 7px;
}

.photo-triptych figure {
  height: 79%;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 70px 70px 10px 10px;
  box-shadow: 0 16px 35px rgba(44, 54, 43, 0.16);
}

.photo-triptych figure:nth-child(2) {
  height: 100%;
  border-radius: 12px;
}

.photo-triptych img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-triptych figure:first-child img { object-position: 59% center; }
.photo-triptych figure:nth-child(2) img { object-position: 44% center; }
.photo-triptych figure:last-child img { object-position: center; }

/* Flow */
.flow-section {
  padding-bottom: 70px;
}

.flow-section .section-heading {
  padding-bottom: 34px;
}

.section-heading > p:last-child {
  max-width: 340px;
  margin: 16px auto 0;
  color: #6b7469;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.45;
}

.flow-card {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  margin: 0 15px;
  overflow: hidden;
  border-radius: 36px;
  background: url("/assets/images/flow-hall.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.flow-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 29, 22, 0.91), rgba(22, 29, 22, 0.42));
  content: "";
}

.flow-panel {
  position: relative;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 46px 23px 42px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(24, 31, 24, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  min-height: 74px;
  text-align: left;
}

.timeline li:not(:last-child)::after {
  position: absolute;
  top: 31px;
  bottom: 0;
  left: 51px;
  width: 1px;
  background: rgba(228, 199, 126, 0.46);
  content: "";
}

.timeline li::before {
  position: absolute;
  top: 11px;
  left: 47px;
  width: 7px;
  height: 7px;
  border: 2px solid #e2bf73;
  border-radius: 50%;
  background: #3a4638;
  content: "";
}

.timeline time {
  padding-top: 7px;
  color: #efd28e;
  font-size: 0.73rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.timeline span {
  padding-left: 6px;
}

.timeline strong,
.timeline small {
  display: block;
}

.timeline strong {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
}

.timeline small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.67rem;
  line-height: 1.45;
}

/* Venue */
.venue-section .section-inner {
  padding-bottom: 74px;
}

.venue-photo {
  position: relative;
  height: 390px;
  margin: 36px 0 18px;
  overflow: hidden;
  border-radius: 150px 150px 20px 20px;
  box-shadow: var(--shadow);
}

.venue-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(23, 29, 21, 0.68));
  content: "";
}

.venue-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.venue-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.map-card {
  padding: 9px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(45, 53, 41, 0.08);
}

.map-card iframe {
  width: 100%;
  height: 230px;
  display: block;
  border: 0;
  border-radius: 13px;
  filter: saturate(0.7) sepia(0.08);
}

.primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  box-shadow: 0 10px 24px rgba(43, 57, 41, 0.17);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.map-card .primary-button {
  width: calc(100% - 20px);
  margin: 13px 10px 0;
}

/* Weather */
.weather-section {
  min-height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(53, 74, 61, 0.94), rgba(31, 48, 40, 0.97)),
    url("/assets/images/venue-sunny.webp") center / cover;
}

.weather-section h2 {
  color: #fff;
}

.weather-date {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--serif);
  font-size: 1.06rem;
}

.weather-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
}

.orb-one {
  top: 10%;
  right: -90px;
  width: 230px;
  height: 230px;
  background: rgba(231, 201, 137, 0.17);
}

.orb-two {
  bottom: 4%;
  left: -120px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.weather-card {
  margin-top: 35px;
  padding: 26px 25px 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 120px 120px 24px 24px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(15px);
}

.weather-icon {
  height: 70px;
  color: #f2d995;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 0.88;
}

.weather-location {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.weather-temp {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 5.4rem;
  font-weight: 400;
  line-height: 1;
}

.weather-description {
  max-width: 300px;
  min-height: 48px;
  margin: 7px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.4;
}

.weather-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.weather-meta span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.weather-meta small,
.weather-meta strong {
  display: block;
}

.weather-meta small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-meta strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
}

.weather-note {
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.67rem;
  line-height: 1.5;
}

/* After party */
.party-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff4dc;
  background:
    radial-gradient(circle at 50% -5%, rgba(255, 184, 80, 0.2), transparent 37%),
    radial-gradient(circle at 15% 75%, rgba(132, 31, 25, 0.42), transparent 34%),
    linear-gradient(160deg, #26130f, #100b09 65%, #20120e);
}

.party-section::after {
  position: absolute;
  z-index: -1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  height: 34%;
  border: 1px solid rgba(220, 162, 87, 0.27);
  border-top: 0;
  border-radius: 0 0 160px 160px;
  content: "";
}

.party-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.17;
  background-image: repeating-linear-gradient(115deg, transparent 0 12px, rgba(255, 255, 255, 0.03) 12px 13px);
}

.disco-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translateX(-50%);
}

.disco-string {
  width: 1px;
  height: 80px;
  background: linear-gradient(rgba(255, 255, 255, 0.15), #c9a869);
}

.disco-ball {
  display: block;
  font-size: 4.5rem;
  filter: drop-shadow(0 0 25px rgba(255, 215, 149, 0.45));
  animation: disco 5s ease-in-out infinite;
}

@keyframes disco {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

.party-stars i {
  position: absolute;
  color: rgba(255, 201, 112, 0.62);
  font-style: normal;
  animation: twinkle 1.6s ease-in-out infinite alternate;
}

.party-stars i:nth-child(1) { top: 22%; left: 11%; font-size: 1.5rem; }
.party-stars i:nth-child(2) { top: 29%; right: 13%; font-size: 1rem; animation-delay: -0.6s; }
.party-stars i:nth-child(3) { top: 52%; left: 7%; font-size: 0.8rem; animation-delay: -1.1s; }
.party-stars i:nth-child(4) { bottom: 18%; right: 8%; font-size: 1.3rem; animation-delay: -0.3s; }
.party-stars i:nth-child(5) { bottom: 9%; left: 21%; font-size: 0.7rem; animation-delay: -0.9s; }
.party-stars i:nth-child(6) { top: 14%; left: 27%; font-size: 0.75rem; animation-delay: -1.3s; }
.party-stars i:nth-child(7) { top: 18%; right: 28%; font-size: 1.15rem; animation-delay: -0.45s; }
.party-stars i:nth-child(8) { top: 39%; left: 18%; font-size: 0.6rem; animation-delay: -1.05s; }
.party-stars i:nth-child(9) { top: 43%; right: 20%; font-size: 0.9rem; animation-delay: -0.72s; }
.party-stars i:nth-child(10) { top: 61%; left: 29%; font-size: 1.05rem; animation-delay: -0.18s; }
.party-stars i:nth-child(11) { top: 66%; right: 26%; font-size: 0.65rem; animation-delay: -1.42s; }
.party-stars i:nth-child(12) { bottom: 26%; left: 12%; font-size: 0.95rem; animation-delay: -0.82s; }
.party-stars i:nth-child(13) { bottom: 31%; right: 11%; font-size: 0.7rem; animation-delay: -1.2s; }
.party-stars i:nth-child(14) { bottom: 11%; right: 31%; font-size: 1.1rem; animation-delay: -0.56s; }
.party-stars i:nth-child(15) { bottom: 6%; right: 9%; font-size: 0.55rem; animation-delay: -1.52s; }

@keyframes twinkle {
  to { opacity: 0.2; transform: scale(0.75); }
}

.party-content {
  padding: 174px 27px 74px;
  text-align: center;
}

.party-kicker {
  margin: 0;
  color: #d9aa69;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.party-content h2 {
  margin-top: 17px;
  color: #fff3d8;
  font-family: var(--serif);
  font-size: clamp(5.8rem, 25vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.65;
  text-transform: uppercase;
  text-shadow: 0 6px 0 rgba(111, 44, 28, 0.38);
}

.party-content h2 em {
  color: #d59554;
  font-size: 0.62em;
  font-style: italic;
  text-transform: none;
}

.western-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 43px auto 17px;
  color: #d5a35f;
}

.western-rule::before,
.western-rule::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #8b6537);
  content: "";
}

.western-rule::after { transform: rotate(180deg); }

.party-place {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
}

.party-address {
  margin: 4px 0 0;
  color: rgba(255, 244, 220, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dress-code {
  margin: 26px auto 0;
  padding: 17px;
  border: 1px dashed rgba(224, 169, 95, 0.52);
  border-radius: 8px;
  background: rgba(92, 38, 27, 0.25);
}

.dress-code small,
.dress-code strong,
.dress-code span {
  display: block;
}

.dress-code small {
  color: #d29c5b;
  font-size: 0.61rem;
  letter-spacing: 0.2em;
}

.dress-code strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.dress-code span {
  color: rgba(255, 244, 220, 0.63);
  font-size: 0.7rem;
}

.party-time {
  margin: 19px 0 0;
  color: #e4b97e;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.party-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 5px;
  color: #fff3d8;
  border-bottom: 1px solid #d09552;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Forms */
.rsvp-section .section-inner {
  padding-bottom: 80px;
}

.rsvp-form {
  margin-top: 34px;
  padding: 26px 18px 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 110px 110px 24px 24px;
  background: rgba(255, 255, 255, 0.63);
  box-shadow: 0 22px 50px rgba(45, 53, 41, 0.08);
}

.field-label,
.rsvp-form legend {
  display: block;
  margin: 19px 4px 8px;
  color: #5d665a;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rsvp-form > .field-label:first-child {
  margin-top: 62px;
}

.field-label small {
  font-size: 0.57rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.rsvp-form input[type="text"],
.rsvp-form textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(57, 74, 53, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
}

.rsvp-form input[type="text"] {
  height: 49px;
  padding: 0 14px;
}

.rsvp-form textarea {
  resize: vertical;
  padding: 13px 14px;
}

.rsvp-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.attendance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.attendance-options label {
  min-width: 0;
  cursor: pointer;
}

.attendance-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-options span {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 8px 4px;
  color: #687064;
  border: 1px solid rgba(57, 74, 53, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.attendance-options b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 400;
}

.attendance-options input:checked + span {
  color: #fff;
  border-color: var(--forest);
  background: var(--forest);
  box-shadow: 0 8px 22px rgba(57, 74, 53, 0.18);
}

.guest-counter {
  height: 58px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(57, 74, 53, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.guest-counter button {
  height: 100%;
  color: var(--forest);
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.guest-counter button:first-child { border-right: 1px solid rgba(57, 74, 53, 0.11); }
.guest-counter button:last-of-type { border-left: 1px solid rgba(57, 74, 53, 0.11); }

.guest-counter strong {
  color: var(--forest-dark);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

.guest-counter small {
  color: #737b70;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
}

.submit-button,
.upload-card > .primary-button {
  width: 100%;
  margin-top: 21px;
}

.form-status {
  min-height: 22px;
  margin: 11px 5px 0;
  color: #5e6c59;
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: center;
}

button:disabled {
  opacity: 0.58;
  cursor: wait;
}

/* Memories */
.memories-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #2a3328;
}

.memories-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 31, 24, 0.82), rgba(25, 32, 25, 0.93)),
    url("/assets/images/memories.webp") center / cover no-repeat;
  filter: saturate(0.72);
  transform: scale(1.03);
}

.memories-section h2 {
  color: #fff;
}

.memories-section .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.upload-card {
  margin-top: 31px;
  padding: 13px 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.upload-zone {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
  border: 1px dashed rgba(255, 255, 255, 0.36);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.upload-zone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: #f0d48c;
  border: 1px solid rgba(240, 212, 140, 0.5);
  border-radius: 50%;
}

.upload-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.upload-zone strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
}

.upload-zone small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
}

.selected-files {
  max-height: 105px;
  overflow: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  text-align: left;
}

.selected-files:not(:empty) {
  margin: 13px 3px 0;
}

.selected-files span {
  display: block;
  padding: 4px 0;
}

.upload-card .primary-button {
  color: #263324;
  background: #f0d48c;
}

.memories-section .form-status {
  color: rgba(255, 255, 255, 0.68);
}

/* Gift */
.gift-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.gift-mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 27px;
  color: var(--forest);
  border: 1px solid rgba(182, 145, 79, 0.48);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.gift-mark span {
  color: var(--gold);
  font-style: italic;
}

.iban-card {
  margin-top: 32px;
  padding: 26px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.61);
  box-shadow: 0 20px 50px rgba(45, 53, 41, 0.09);
}

.iban-card > strong,
.iban-card code,
.bank-label {
  display: block;
}

.bank-label {
  margin-bottom: 5px;
  color: #8e8e7f;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iban-card > strong {
  margin-bottom: 22px;
  color: var(--forest-dark);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.iban-card code {
  color: var(--forest);
  font-family: var(--sans);
  font-size: clamp(0.8rem, 3.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.copy-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 17px;
  color: var(--forest);
  border: 1px solid rgba(57, 74, 53, 0.27);
  border-radius: 999px;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.closing-note {
  margin: 28px auto 0;
  color: #747b70;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}

.signature {
  margin: 17px 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.toast {
  position: fixed;
  z-index: 100;
  bottom: calc(22px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: calc(100vw - 36px);
  padding: 11px 17px;
  color: #fff;
  border-radius: 999px;
  background: #283426;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  font-size: 0.73rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 600px) {
  .site-shell { margin: 28px auto; border-radius: 24px; }
  .story-section:first-child { border-radius: 24px 24px 0 0; }
  .story-section:last-child { border-radius: 0 0 24px 24px; }
  .page-dots { right: calc((100vw - 520px) / 2 + 12px); }
  .music-control { right: calc((100vw - 520px) / 2 + 16px); }
}

@media (max-width: 370px) {
  .section-inner,
  .section-heading { padding-right: 18px; padding-left: 18px; }
  .hero-content { padding-right: 20px; padding-left: 20px; }
  .attendance-options span { min-height: 84px; font-size: 0.49rem; }
  .countdown strong { font-size: 1.75rem; }
  .flow-panel { width: calc(100% - 30px); padding-right: 17px; padding-left: 17px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 11px; }
  .timeline li::before { left: 43px; }
  .timeline li:not(:last-child)::after { left: 47px; }
}

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

/* Editorial invitation revision */
:root {
  --display: "Cormorant Garamond", Georgia, serif;
}

.section-inner,
.section-heading {
  text-align: center;
}

.story-section:not(.hero) .section-inner,
.story-section:not(.hero) .section-heading {
  padding-right: 16px;
  padding-left: 16px;
}

h2 {
  max-width: 390px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 8.8vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

h2 em {
  font-family: var(--display);
  font-weight: 400;
}

.section-copy,
.section-heading > p:last-child,
.closing-note {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-copy {
  max-width: 360px;
  font-size: 1.04rem;
  line-height: 1.48;
}

.section-heading > p:last-child {
  font-size: 1rem;
}

.eyebrow {
  text-align: center;
}

.music-control {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
}

.music-icon,
.music-icon svg {
  width: 17px;
  height: 17px;
}

.music-label,
.equalizer,
.music-control.is-playing .equalizer {
  display: none;
}

.music-control.is-playing {
  color: #f4d994;
  border-color: rgba(244, 217, 148, 0.72);
  background: rgba(25, 30, 24, 0.68);
}

.hero-content {
  position: relative;
  align-items: center;
  justify-content: center;
  padding-top: calc(124px + env(safe-area-inset-top));
  padding-bottom: calc(54px + env(safe-area-inset-bottom));
  text-align: center;
}

.hero-content > .eyebrow {
  position: absolute;
  top: calc(32px + env(safe-area-inset-top));
  right: 24px;
  left: 24px;
  color: #fffaf0;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.92), 0 1px 3px rgba(0, 0, 0, 0.88);
}

.hero-spacer {
  display: none;
}

.hero h1 {
  align-items: center;
  font-size: clamp(4rem, 17vw, 5.7rem);
  line-height: 0.68;
  text-align: center;
}

.hero h1 em {
  margin-left: 0;
  color: #ffcf6b;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 22px rgba(255, 207, 107, 0.32);
}

.hero-quote {
  max-width: 335px;
  margin: 25px auto 0;
  text-align: center;
}

.hero-date {
  display: block;
  margin-top: 21px;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-shadow: none;
}

.hero-details {
  margin-top: 13px;
  text-align: center;
}

.scroll-cue {
  left: 50%;
  align-items: center;
  transform: translateX(-50%);
}

.countdown-section h2 {
  max-width: 340px;
  font-size: clamp(2.2rem, 8.8vw, 2.8rem);
  line-height: 1.04;
}

.countdown-section h2 em {
  color: var(--gold);
  font-style: italic;
}

.flow-card {
  min-height: 600px;
  border-radius: 36px !important;
}

.flow-panel {
  width: calc(50% + 24px);
  margin-right: auto;
  margin-left: 16px;
  padding: 56px 12px;
  border-radius: 26px;
}

.flow-panel .timeline li {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  min-height: 88px;
}

.flow-panel .timeline li:not(:last-child)::after {
  left: 37px;
}

.flow-panel .timeline li::before {
  left: 33px;
}

.flow-panel .timeline span {
  min-width: 0;
  padding-left: 2px;
}

.flow-panel .timeline time {
  font-size: 0.68rem;
}

.flow-panel .timeline strong {
  font-size: 1.12rem;
  line-height: 1.08;
}

.flow-panel .timeline small {
  font-size: 0.64rem;
  line-height: 1.35;
}

.venue-card {
  position: relative;
  min-height: 650px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
  background: #263025;
  box-shadow: var(--shadow);
}

.venue-card::before {
  position: absolute;
  z-index: 0;
  inset: -14px;
  background:
    linear-gradient(180deg, rgba(23, 30, 22, 0.16), rgba(23, 30, 22, 0.42)),
    url("/assets/images/venue-sunny.webp") center top / auto 120% no-repeat;
  content: "";
  filter: blur(7px);
  transform: scale(1.05);
}

.venue-location {
  position: absolute;
  top: 24px;
  right: 22px;
  left: 22px;
  margin: 0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  z-index: 1;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
}

.venue-card .map-card {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 16px;
  bottom: auto;
  left: 16px;
  padding: 9px 9px 13px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(249, 247, 241, 0.88);
  box-shadow: 0 18px 46px rgba(15, 20, 15, 0.26);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.venue-card .map-card iframe {
  height: 228px;
}

.weather-card {
  border-radius: 16px;
  text-align: center;
}

.weather-description,
.weather-note {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.weather-meta {
  text-align: center;
}

.weather-meta span + span {
  padding-left: 0;
}

.party-section {
  height: 100svh;
  min-height: 660px;
  display: block;
  color: #fff4dc;
  background: #050505;
}

.party-section::after {
  content: none;
}

.party-gate {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: clamp(148px, 42vw, 190px);
  aspect-ratio: 1;
  display: grid;
  padding: 0;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.party-gate::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(220, 181, 110, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(212, 164, 86, 0.13), inset 0 0 36px rgba(255, 228, 177, 0.04);
  content: "";
  animation: party-gate-pulse 2.8s ease-in-out infinite;
}

.party-gate-icon {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(5.2rem, 22vw, 7rem);
  line-height: 1;
  filter: grayscale(0.08) drop-shadow(0 0 30px rgba(241, 203, 135, 0.42));
  animation: disco 5s ease-in-out infinite;
}

@keyframes party-gate-pulse {
  0%, 100% { opacity: 0.48; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.05); }
}

.party-reveal {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 50% -5%, rgba(255, 184, 80, 0.2), transparent 37%),
    radial-gradient(circle at 15% 75%, rgba(132, 31, 25, 0.42), transparent 34%),
    linear-gradient(160deg, #26130f, #100b09 65%, #20120e);
  clip-path: circle(0 at 50% 38%);
  pointer-events: none;
  transition:
    clip-path 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0s linear 1.05s;
}

.party-reveal[hidden] {
  display: none !important;
}

.party-section.is-open .party-gate {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  pointer-events: none;
}

.party-section.is-open .party-reveal {
  visibility: visible;
  opacity: 1;
  clip-path: circle(150% at 50% 38%);
  pointer-events: auto;
  transition:
    clip-path 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0s;
}

.party-content {
  min-height: 100%;
  padding: 160px 18px 58px;
  text-align: center;
}

.party-content h2 {
  color: #fff3d8;
  font-family: var(--display);
  font-size: clamp(3.7rem, 17vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.78;
  text-align: center;
}

.western-rule {
  max-width: 270px;
  margin-right: auto;
  margin-left: auto;
}

.dress-code {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rsvp-form {
  border-radius: 16px;
}

.rsvp-form > .field-label:first-child {
  margin-top: 5px;
}

.upload-zone {
  align-items: center;
  text-align: center;
}

.upload-icon {
  margin-right: auto;
  margin-left: auto;
}

.gift-mark {
  display: none;
}

.signature {
  text-align: center;
}

/* Reference-inspired typography */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

h2,
h2 em {
  font-weight: 400;
  letter-spacing: -0.015em;
}

.section-copy,
.section-heading > p:last-child,
.closing-note {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1,
.hero h1 span,
.hero h1 em {
  font-family: var(--hero-script);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(4rem, 17vw, 5.6rem);
  line-height: 0.66;
}

.hero h1 em {
  margin: 0.14em 0;
  font-size: 0.58em;
}

.hero-quote {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.52;
}

.hero-date {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.hero-details {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.48;
}

.signature {
  font-family: var(--script);
  font-size: clamp(2.4rem, 10vw, 3.15rem);
  font-weight: 400;
  letter-spacing: 0;
}

@media (max-height: 720px) {
  .hero-spacer {
    min-height: 5vh;
    flex-basis: 5vh;
  }

  .hero-quote {
    margin-top: 18px;
  }

  .party-content {
    padding-top: 132px;
  }
}

/* Centered names with the invitation details below */
.hero-content { justify-content: flex-start; padding-top: max(170px, calc(50svh - 100px)); padding-bottom: 110px; }
.hero h1 { font-size: clamp(3.4rem, 14.5vw, 4.8rem); line-height: .72; flex-shrink: 0; }
.hero-quote { margin-top: 64px; }
@media (max-height: 720px) { .hero-quote { margin-top: 44px; } }

/* Autumn invitation cover — intentionally scoped to the hero only */
.hero {
  min-height: 100svh;
  color: #542513;
  background-color: #dfb177;
  background-image: url("/assets/images/hero-autumn.jpeg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-height: 0;
  padding: 0;
  color: #542513;
}

.hero-content > .eyebrow {
  top: 8.4%;
  right: 12px;
  left: 12px;
  margin: 0;
  color: #4a2518;
  font-family: var(--sans);
  font-size: clamp(0.62rem, 2.7vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-shadow: none;
}

.hero h1 {
  position: absolute;
  top: 31.2%;
  right: 10%;
  left: 10%;
  margin: 0;
  color: #642d1b;
  font-family: var(--hero-script);
  font-size: clamp(4.1rem, 17.2vw, 5.55rem);
  font-weight: 400;
  line-height: 0.72;
  text-shadow: none;
}

.hero h1 em {
  margin: 0.12em 0 0.08em;
  color: #b75b27;
  font-family: var(--hero-script);
  font-size: 0.54em;
  text-shadow: none;
}

.hero-quote {
  position: absolute;
  top: 53.5%;
  right: 10%;
  left: 10%;
  max-width: none;
  margin: 0;
  color: #5a2c1d;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 4.15vw, 1.28rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.42;
  text-align: center;
  text-shadow: none;
}

.hero-date {
  position: absolute;
  top: 62.2%;
  right: 12%;
  left: 12%;
  margin: 0;
  padding: 0;
  color: #4b2418;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: clamp(0.91rem, 4vw, 1.16rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-shadow: none;
}

.hero-date::before {
  display: block;
  margin-bottom: 26px;
  color: #a85c27;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  content: "—  ❧  —";
}

.hero-details {
  position: absolute;
  top: 70.6%;
  right: 8%;
  left: 8%;
  margin: 0;
  color: #4b2418;
  font-family: var(--serif);
  font-size: clamp(0.92rem, 4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.hero-details p + p {
  margin-top: 8px;
}

.hero-details p > span + span::before {
  margin: 0 12px;
  color: #a85c27;
}

.hero-details strong {
  font-weight: 600;
}

.scroll-cue {
  bottom: 7.4%;
  z-index: 2;
  gap: 7px;
  color: #542513;
}

.scroll-cue span {
  min-width: 150px;
  padding: 11px 19px 10px;
  border: 1px solid rgba(84, 37, 19, 0.72);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-align: center;
}

.scroll-cue span::before {
  margin-right: 7px;
  color: #9d592a;
  content: "❧";
}

.scroll-cue svg {
  width: 27px;
  stroke-width: 1.9;
}

@media (max-height: 720px) {
  .hero h1 { top: 29.5%; font-size: clamp(3.65rem, 15.5vw, 4.8rem); }
  .hero-quote { top: 52%; font-size: 0.93rem; }
  .hero-date { top: 61%; }
  .hero-date::before { margin-bottom: 10px; }
  .hero-details { top: 70%; font-size: 0.88rem; }
  .scroll-cue { bottom: 3.5%; }
}

/* Final cover: the supplied artwork is rendered as one fixed image. */
.hero {
  background-color: #d7a76d;
  background-image: url("/assets/images/hero-static.jpeg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero-content {
  opacity: 0 !important;
  pointer-events: none;
}

.hero .scroll-cue {
  right: auto;
  bottom: 4.5%;
  width: 46%;
  max-width: 200px;
  min-width: 145px;
  height: 110px;
  opacity: 0;
}

.page-dots:has(a[href="#baslangic"].active) {
  opacity: 0;
  pointer-events: none;
}

/* Rebuilt live cover, matched to the supplied reference artwork. */
.hero {
  background-color: #d8a775;
  background-image: url("/assets/images/hero-clean.png");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero-content {
  opacity: 1 !important;
  pointer-events: auto;
}

.hero-content > .eyebrow {
  top: 8.8%;
}

.hero h1 {
  top: 28%;
  font-size: clamp(3.35rem, min(14.5vw, 9.5svh), 4.8rem);
}

.hero-quote {
  top: auto;
  bottom: 39.4%;
  font-size: clamp(0.86rem, 3.6vw, 1.05rem);
}

.hero-date {
  top: 66.9%;
}

.hero-date::before {
  display: none;
  content: none;
}

.hero-details {
  top: 70.5%;
  font-size: clamp(0.8rem, 3.35vw, 1rem);
}

.hero .scroll-cue {
  right: auto;
  bottom: 7.4%;
  width: auto;
  max-width: none;
  min-width: 0;
  height: auto;
  opacity: 1;
}

.hero .scroll-cue span::before {
  display: inline-block;
  width: 15px;
  height: 17px;
  margin-right: 7px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 20'%3E%3Cg fill='none' stroke='%239d592a' stroke-width='1.15' stroke-linecap='round'%3E%3Cpath d='M9 19V5'/%3E%3Cpath d='M9 10C5 10 3 7 3 3c4 0 6 3 6 7Z' fill='%239d592a'/%3E%3Cpath d='M9 14c4 0 6-3 6-7-4 0-6 3-6 7Z' fill='%239d592a'/%3E%3Cpath d='M9 7c3-1 4-3 3-6-3 1-4 3-3 6Z' fill='%239d592a'/%3E%3C/g%3E%3C/svg%3E");
  content: "";
  vertical-align: -4px;
}

body:has(.page-dots a[href="#baslangic"].active) .music-control {
  opacity: 0;
  pointer-events: none;
}

@media (max-height: 720px) {
  .hero h1 {
    top: 27%;
    font-size: clamp(3.2rem, min(14vw, 9svh), 4.35rem);
  }
  .hero-quote { top: auto; bottom: 39.4%; }
  .hero-date { top: 66.9%; }
  .hero-details { top: 70.5%; }
  .hero .scroll-cue { bottom: 7.4%; }
}

/* Anı paylaşma: albüm bağlantısı */
.upload-card .album-button {
  margin-top: 12px;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.65rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.album-caption {
  margin: 10px 0 0;
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.85;
}

/* Equal cover gaps around the background ornament (63.6% of its height). */
.hero-quote { top: auto; bottom: calc(36.4% + 24px); }
.hero-date { top: calc(63.6% + 24px); }
.party-section .disco-wrap { top: -18px; }
