:root {
  --peach: #ffd1a9;
  --cream: #fff4e0;
  --blush: #ffb7b2;
  --lavender: #e8d4f0;
  --sky: #b8d9f0;
  --coral: #ff8b7b;
  --gold: #e8c468;
  --honey: #ffe8c4;
  --amber: #f5b84a;
  --ink: #4a3728;
  --ink-soft: #6b5344;
  --white: #fffefb;
  --card: rgba(255, 254, 251, 0.92);
  --shadow: 0 12px 40px rgba(74, 55, 40, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-ui: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, var(--blush) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 40%, var(--lavender) 0%, transparent 45%),
    radial-gradient(ellipse 80% 50% at 0% 80%, var(--sky) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.page-main {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* Floating hearts */
.floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-hearts .heart {
  position: absolute;
  bottom: -10%;
  font-size: clamp(0.75rem, 2vw, 1.25rem);
  color: var(--blush);
  opacity: 0.45;
  animation: float-up linear forwards;
  text-shadow: 0 0 8px rgba(255, 183, 178, 0.6);
}

@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-110vh) translateX(var(--drift)) rotate(360deg);
    opacity: 0;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.95) 0%, rgba(255, 244, 224, 0.85) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 183, 178, 0.35);
  animation: nav-slide-down 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nav-slide-down {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: max(0.85rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px))
    0.85rem max(1.25rem, env(safe-area-inset-left, 0px));
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--coral);
}

.nav a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.nav__cta {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(245, 184, 74, 0.35);
  box-shadow: 0 10px 22px rgba(74, 55, 40, 0.08);
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 1.5rem 2.25rem;
  }
}

.hero__glow {
  position: absolute;
  width: min(90vw, 420px);
  height: min(90vw, 420px);
  left: 50%;
  top: 20%;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(255, 209, 169, 0.7) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: glow-breathe 5s ease-in-out infinite alternate;
}

@keyframes glow-breathe {
  from {
    opacity: 0.75;
    transform: translate(-50%, -30%) scale(1);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -32%) scale(1.06);
  }
}

.hero__content {
  text-align: center;
}

@media (min-width: 860px) {
  .hero__content {
    text-align: left;
  }
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
  animation: fade-rise 0.9s ease-out both;
}

.hero__names {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 8vw, 4.25rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.15;
  animation: fade-rise 0.9s ease-out 0.12s both;
}

.heart-inline {
  color: var(--coral);
  font-family: var(--font-ui);
  font-size: 0.55em;
  vertical-align: middle;
  display: inline-block;
  animation: pulse-heart 2s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.hero__dates {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  animation: fade-rise 0.9s ease-out 0.24s both;
}

.hero__sub {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
  animation: fade-rise 0.9s ease-out 0.36s both;
}

.hero__invite {
  margin: 1rem 0 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.88rem, 2.8vw, 1rem);
  line-height: 1.5;
  color: var(--ink-soft);
  animation: fade-rise 0.9s ease-out 0.48s both;
}

.hero__actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  animation: fade-rise 0.9s ease-out 0.6s both;
}

@media (min-width: 860px) {
  .hero__actions {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(74, 55, 40, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(74, 55, 40, 0.16);
}

.btn:active {
  transform: translateY(0);
}

.btn--live {
  color: var(--ink);
  background: linear-gradient(90deg, rgba(245, 184, 74, 0.95), rgba(255, 183, 178, 0.75));
  border-color: rgba(245, 184, 74, 0.5);
}

.btn--live::before {
  content: "●";
  font-size: 0.85em;
  color: rgba(180, 10, 10, 0.92);
  text-shadow: 0 0 0 rgba(180, 10, 10, 0.2);
  animation: live-dot 1.1s ease-in-out infinite;
}

@keyframes live-dot {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (min-width: 860px) {
  .hero__invite {
    margin-left: 0;
    margin-right: 0;
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__art {
  margin: 0;
  justify-self: center;
  max-width: min(280px, 72vw);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 4px rgba(255, 255, 255, 0.8);
  animation: fade-rise 1s ease-out 0.2s both;
}

@media (min-width: 860px) {
  .hero__art {
    max-width: min(340px, 38vw);
  }
}

@keyframes hero-art-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero__art img {
  width: 100%;
  animation: hero-art-float 6s ease-in-out infinite;
}

/* Sections */
.section-head {
  text-align: center;
  padding: 0 1rem 2rem;
  position: relative;
  z-index: 1;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.section-head__lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head--compact {
  padding: 0 0.75rem 0.85rem;
}

.section-head--compact h2 {
  font-size: clamp(1.45rem, 4.2vw, 2.35rem);
}

.section-head--compact .section-head__lede {
  font-size: clamp(0.82rem, 2.4vw, 0.98rem);
}

.section-head {
  animation: fade-rise 0.75s ease-out 0.15s both;
}

.section-head__lede-mobile {
  display: inline;
}

.section-head__lede-wide {
  display: none;
}

@media (min-width: 768px) {
  .section-head__lede-mobile {
    display: none;
  }

  .section-head__lede-wide {
    display: inline;
  }
}

.section-head__hint {
  display: inline-block;
  margin-left: 0.25rem;
  animation: hint-nudge 1.4s ease-in-out infinite;
  color: var(--coral);
}

@keyframes hint-nudge {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

/* Events */
.events {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0 1.75rem;
  margin: 0 0.25rem;
  border-radius: var(--radius);
  background: linear-gradient(
      165deg,
      rgba(255, 232, 196, 0.55) 0%,
      rgba(255, 244, 224, 0.35) 38%,
      transparent 72%
    ),
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(245, 184, 74, 0.12), transparent 60%);
  border: 1px solid rgba(245, 184, 74, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.couple {
  position: relative;
  z-index: 1;
  padding: 0 0 2.25rem;
}

.couple__carousel {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.25rem 0.75rem 0;
  border-radius: var(--radius);
  position: relative;
}

.couple__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.75rem;
  border-radius: var(--radius);
  outline: none;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.couple__viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 139, 123, 0.45);
}

.couple__track {
  --slide-w: clamp(210px, 62vw, 320px);
  --slide-h: clamp(280px, 70vw, 420px);
  --gap: clamp(0.75rem, 1.8vw, 1.1rem);
  display: flex;
  gap: var(--gap);
  align-items: stretch;
  width: max-content;
  padding: 0.25rem 0.25rem 0.85rem;
}

.couple__slide {
  flex: 0 0 auto;
  width: var(--slide-w);
  height: var(--slide-h);
  border-radius: calc(var(--radius-sm) + 6px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 46px rgba(74, 55, 40, 0.12);
  border: 1px solid rgba(245, 184, 74, 0.25);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: start;
}

.couple__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.couple__carousel .couple__slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(74, 55, 40, 0.16);
}

.couple__nav {
  position: absolute;
  top: calc(50% + 0.25rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(74, 55, 40, 0.14);
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 3;
}

.couple__nav:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.04);
}

.couple__nav:active {
  transform: translateY(-50%) scale(0.98);
}

.couple__nav--prev {
  left: 0.35rem;
}

.couple__nav--next {
  right: 0.35rem;
}

@media (max-width: 520px) {
  .couple__nav {
    display: none;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 6, 0.55);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  padding: 1rem;
}

.modal__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  max-height: min(82vh, 920px);
}

.modal__img {
  width: 100%;
  height: 100%;
  max-height: min(82vh, 920px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
}

.modal__nav,
.modal__close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal__nav:hover,
.modal__close:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: scale(1.04);
}

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 1.05rem;
  font-weight: 900;
  z-index: 3;
}

@media (max-width: 640px) {
  .modal__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    padding: 0.8rem;
  }

  .modal__nav {
    display: none;
  }

  .modal__figure {
    max-height: 86vh;
  }
}

.events__layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.events__rail {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: visible;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  scroll-snap-type: none;
  scroll-padding-inline: 0.75rem;
  padding: 0.35rem 0.75rem 1rem;
  outline: none;
  mask-image: none;
}

@media (min-width: 768px) {
  .events__rail {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pinch-zoom;
    scroll-snap-type: x mandatory;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }
}

.events__rail:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 139, 123, 0.45);
  border-radius: var(--radius-sm);
}

@media (min-width: 1280px) {
  .events__rail {
    overflow-x: visible;
    mask-image: none;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-type: none;
  }
}

.events__rail::-webkit-scrollbar {
  height: 6px;
}

.events__rail::-webkit-scrollbar-thumb {
  background: rgba(255, 139, 123, 0.45);
  border-radius: 999px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

@media (min-width: 768px) {
  .timeline {
    flex-direction: row;
    gap: clamp(0.65rem, 1.5vw, 1rem);
    width: max-content;
    min-height: 100%;
    align-items: stretch;
  }
}

@media (min-width: 1280px) {
  .timeline {
    width: 100%;
  }
}

.timeline--horizontal .event-card {
  scroll-snap-align: unset;
}

@media (min-width: 768px) {
  .timeline--horizontal .event-card {
    scroll-snap-align: start;
  }
}

@media (min-width: 1280px) {
  .timeline--horizontal .event-card {
    scroll-snap-align: unset;
  }
}

.event-card {
  position: relative;
  background: var(--card);
  border-radius: calc(var(--radius-sm) + 4px);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(232, 212, 240, 0.55);
  flex: none;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(12px);
  animation: card-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.event-card:nth-child(1) {
  animation-delay: 0.05s;
}
.event-card:nth-child(2) {
  animation-delay: 0.12s;
}
.event-card:nth-child(3) {
  animation-delay: 0.19s;
}
.event-card:nth-child(4) {
  animation-delay: 0.26s;
}
.event-card:nth-child(5) {
  animation-delay: 0.33s;
}
.event-card:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .event-card {
    flex: 0 0 min(86vw, 272px);
    max-width: min(86vw, 272px);
    width: auto;
    transform: translateX(14px) translateY(8px);
    animation: card-enter-row 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
}

@keyframes card-enter-row {
  from {
    opacity: 0;
    transform: translateX(14px) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@media (min-width: 1280px) {
  .event-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    animation: card-enter-row 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
}

.event-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 52px rgba(74, 55, 40, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.event-card:hover .event-card__figure img {
  transform: scale(1.05);
}

.event-card__visual {
  position: relative;
  flex-shrink: 0;
  height: clamp(148px, 36vw, 198px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--honey) 0%, rgba(255, 244, 224, 0.9) 100%);
}

@media (max-width: 767px) {
  .event-card__visual {
    height: clamp(176px, 46vw, 240px);
  }
}

.event-card__figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

.event-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card__visual .event-card__ribbon {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  margin-bottom: 0;
  max-width: calc(100% - 1.75rem);
  box-shadow: 0 2px 14px rgba(74, 55, 40, 0.18);
  backdrop-filter: blur(6px);
}

.event-card__inner {
  padding: clamp(0.65rem, 1.6vw, 0.95rem);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.event-card--accent {
  background: linear-gradient(135deg, rgba(255, 244, 224, 0.98) 0%, rgba(255, 209, 169, 0.35) 100%);
  border-color: rgba(255, 209, 169, 0.8);
}

.event-card--night {
  background: linear-gradient(135deg, rgba(232, 212, 240, 0.35) 0%, rgba(255, 244, 224, 0.95) 100%);
  border-color: rgba(184, 217, 240, 0.6);
}

.event-card--big {
  background: linear-gradient(135deg, rgba(255, 183, 178, 0.25) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(255, 139, 123, 0.45);
}

.event-card--big h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.event-card__ribbon {
  display: inline-block;
  font-size: clamp(0.58rem, 1.35vw, 0.68rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blush), var(--peach));
  color: var(--ink);
  margin-bottom: 0.45rem;
  animation: ribbon-shimmer 4s ease-in-out infinite;
}

@keyframes ribbon-shimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.event-card--big .event-card__ribbon {
  background: linear-gradient(90deg, var(--coral), var(--gold));
  color: var(--white);
  text-shadow: 0 1px 2px rgba(74, 55, 40, 0.25);
}

.event-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 0.3rem;
  line-height: 1.25;
  color: var(--ink);
}

.event-card time {
  display: block;
  font-weight: 700;
  color: var(--coral);
  font-size: clamp(0.72rem, 1.65vw, 0.82rem);
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.event-card p {
  margin: 0;
  font-size: clamp(0.75rem, 1.7vw, 0.88rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.event-card p strong {
  color: var(--ink);
}

.event-card__location {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.event-card__location:hover {
  text-decoration-thickness: 2px;
}

/* Venues */
.venues {
  position: relative;
  z-index: 1;
  padding: 0 0 2rem;
}

.venue-list {
  list-style: none;
  margin: 0 auto;
  padding: 0 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.venue-list--horizontal {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.65rem;
  max-width: 1400px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 0.75rem;
  mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

.venue-list--horizontal li {
  flex: 0 0 min(78vw, 240px);
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .venue-list--horizontal {
    flex-wrap: wrap;
    overflow-x: visible;
    mask-image: none;
    justify-content: center;
  }

  .venue-list--horizontal li {
    flex: 1 1 calc(50% - 0.65rem);
    max-width: 320px;
  }
}

@media (min-width: 1200px) {
  .venue-list--horizontal li {
    flex: 1 1 calc(25% - 0.65rem);
    max-width: none;
  }
}

.venue-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 183, 178, 0.35);
  box-shadow: 0 6px 20px rgba(74, 55, 40, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fade-rise 0.6s ease-out both;
}

.venue-list li:nth-child(1) {
  animation-delay: 0.05s;
}
.venue-list li:nth-child(2) {
  animation-delay: 0.1s;
}
.venue-list li:nth-child(3) {
  animation-delay: 0.15s;
}
.venue-list li:nth-child(4) {
  animation-delay: 0.2s;
}

.venue-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(74, 55, 40, 0.1);
}

.venue-list__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}

.venue-list__name:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.venue-list__note {
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  color: var(--ink-soft);
  line-height: 1.35;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.25rem 1rem 1.75rem;
  background: linear-gradient(180deg, transparent, rgba(255, 183, 178, 0.25));
  border-top: 1px solid rgba(255, 183, 178, 0.35);
  animation: fade-rise 0.8s ease-out 0.5s both;
}

.footer__script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 0.2rem;
  color: var(--ink);
}

.footer__small {
  margin: 0;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--ink-soft);
}

/* Sparkle on photo (decorative) */
.event-card__visual::after {
  content: "✦";
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  font-size: 0.78rem;
  color: var(--gold);
  opacity: 0.65;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  animation: sparkle-twinkle 2.5s ease-in-out infinite;
}

@keyframes sparkle-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.15) rotate(18deg);
  }
}

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

  .site-header,
  .section-head,
  .site-footer,
  .venue-list li,
  .event-card,
  .event-card__ribbon,
  .hero__glow,
  .hero__art img,
  .section-head__hint,
  .event-card__visual::after,
  .btn--live::before {
    animation: none !important;
  }

  .event-card:hover .event-card__figure img {
    transform: none;
  }

  .event-card {
    opacity: 1;
    transform: none;
  }

  .hero__glow {
    opacity: 0.85;
  }
}
