:root {
  --ivory: #f6f0e7;
  --ivory-soft: rgba(246, 240, 231, 0.92);
  --charcoal: rgba(19, 20, 22, 0.44);
  --charcoal-soft: rgba(19, 20, 22, 0.14);
  --button-border: rgba(246, 240, 231, 0.82);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ivory);
  background: #111;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.jump-nav-open {
  overflow: hidden;
}

.jump-nav {
  position: fixed;
  left: clamp(0.65rem, 1.6vw, 1.2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(5px);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  padding: 0.7rem 0.45rem;
}

.jump-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.jump-nav__link {
  display: block;
  color: rgba(246, 240, 231, 0.8);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  transition: background-color 160ms ease, color 160ms ease;
}

.jump-nav__link:hover,
.jump-nav__link:focus-visible,
.jump-nav__link.jump-nav__link--active {
  background: rgba(246, 240, 231, 0.16);
  color: #fff;
}

.jump-nav__link:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.65);
  outline-offset: 1px;
}

.jump-nav-toggle,
.jump-nav-mobile {
  display: none;
}

.upload-cta {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.3rem);
  bottom: clamp(0.9rem, 2vw, 1.3rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 231, 0.62);
  background: rgba(17, 17, 17, 0.9);
  color: rgba(246, 240, 231, 0.96);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.upload-cta:hover,
.upload-cta:focus-visible {
  background: rgba(246, 240, 231, 0.94);
  color: #1b1b1c;
  transform: translateY(-2px);
}

.upload-cta:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.68);
  outline-offset: 2px;
}

.upload-cta__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.upload-cta__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.upload-cta__label {
  line-height: 1;
}

@media (max-width: 900px) {
  .jump-nav {
    display: none;
  }

  .upload-cta {
    right: 0.7rem;
    bottom: 0.7rem;
    min-width: 46px;
    min-height: 46px;
    padding: 0.68rem;
    justify-content: center;
    border-radius: 12px;
  }

  .upload-cta__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .jump-nav-toggle {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 55;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(246, 240, 231, 0.38);
    border-radius: 10px;
    background: rgba(17, 17, 17, 0.76);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    display: inline-grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .jump-nav-toggle__bar {
    width: 20px;
    height: 1px;
    background: rgba(246, 240, 231, 0.92);
    display: block;
  }

  .jump-nav-mobile {
    position: fixed;
    inset: 0;
    z-index: 54;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .jump-nav-mobile--open {
    opacity: 1;
    visibility: visible;
  }

  .jump-nav-mobile__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.64);
  }

  .jump-nav-mobile__panel {
    position: relative;
    margin: 0;
    width: min(82vw, 340px);
    min-height: 100%;
    background: rgba(17, 17, 17, 0.97);
    box-shadow: 16px 0 36px rgba(0, 0, 0, 0.38);
    padding: 1rem;
  }

  .jump-nav-mobile__close {
    border: 1px solid rgba(246, 240, 231, 0.4);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: transparent;
    color: rgba(246, 240, 231, 0.9);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .jump-nav-mobile__list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.38rem;
  }

  .jump-nav-mobile__link {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    color: rgba(246, 240, 231, 0.84);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .jump-nav-mobile__link:hover,
  .jump-nav-mobile__link:focus-visible,
  .jump-nav-mobile__link.jump-nav-mobile__link--active {
    background: rgba(246, 240, 231, 0.14);
    color: #fff;
  }

  .jump-nav-mobile__link:focus-visible {
    outline: 2px solid rgba(246, 240, 231, 0.6);
    outline-offset: 1px;
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.hero__media,
.hero__overlay,
.hero__content-wrap {
  position: absolute;
  inset: 0;
}

.hero__media {
  left: 50%;
  background-image: url("/assets/memories/hero-cinematic.jpg?v=20260808-photo");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #111;
  z-index: 0;
}

.hero__overlay {
  display: block;
  z-index: 1;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.92) 34%, rgba(17, 17, 17, 0.42) 54%, rgba(17, 17, 17, 0) 74%);
}

.hero__content-wrap {
  inset: auto;
  left: calc(8% + 80px);
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 84vw);
  max-width: 520px;
  display: block;
  padding: 0;
  z-index: 2;
}

.hero__content {
  width: 100%;
  max-width: none;
  text-align: left;
  margin: 0;
}

.hero__headline {
  margin: 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.2rem, 5.6vw, 4.35rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero__lead {
  margin: clamp(1.6rem, 3vw, 2.15rem) 0 0;
  max-width: 31ch;
  color: var(--ivory-soft);
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.hero__lead--focus {
  font-size: clamp(1.68rem, 3.6vw, 2.34rem);
  color: rgba(246, 240, 231, 0.98);
  font-weight: 600;
  letter-spacing: 0.018em;
}

.hero__date {
  margin: clamp(2.55rem, 4.9vw, 3.5rem) 0 0;
  font-size: clamp(0.92rem, 1.55vw, 1.03rem);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(246, 240, 231, 0.88);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.75rem, 3.8vw, 2.6rem);
  border: 1px solid var(--button-border);
  padding: 0.95rem 2.45rem;
  color: var(--ivory);
  background: transparent;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background-color 180ms ease, color 180ms ease;
}

.hero__button:hover,
.hero__button:focus-visible {
  background: rgba(246, 240, 231, 0.94);
  color: #1b1b1c;
}

.hero__button:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.68);
  outline-offset: 2px;
}

.hero__fade-in {
  opacity: 0;
  animation: heroFadeIn 1s ease-out forwards;
}

@media (max-width: 900px) {
  .hero {
    height: 100vh;
  }

  .hero__media {
    left: 0;
    background-size: cover;
    background-position: center top;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.84) 0%, rgba(17, 17, 17, 0.7) 36%, rgba(17, 17, 17, 0.4) 68%, rgba(17, 17, 17, 0.22) 100%);
  }

  .hero__content-wrap {
    left: 6%;
    width: min(520px, 88vw);
  }

  .hero__content {
    max-width: 520px;
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 3vw, 2.5rem);
  background: #111;
  border-bottom: 1px solid rgba(246, 240, 231, 0.12);
}

.brand {
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-nav a {
  color: rgba(246, 240, 231, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 3vw, 2rem);
}

.section-alt {
  background: #111;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading .eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0.55rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 0.8rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  max-width: 62ch;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(246, 240, 231, 0.45);
  color: var(--ivory);
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 0.45rem;
  margin-bottom: 0.45rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
  align-items: start;
}

.gallery-card {
  margin: 0;
}

.gallery-grid > .gallery-card:only-child {
  width: 100%;
  max-width: min(760px, 92vw);
  justify-self: center;
}

.wedding-gallery-media {
  border-radius: 14px;
  overflow: hidden;
  background: #161616;
}

.gallery-card img,
.gallery-card video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-card figcaption {
  margin-top: 0.55rem;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 120;
  background: rgba(8, 8, 8, 0.9);
  padding: 1rem;
}

.lightbox[aria-hidden="false"] {
  display: grid;
  place-items: center;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-stage {
  width: min(96vw, 1280px);
  max-height: 96vh;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  align-content: center;
  margin: 0 auto;
}

#lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  opacity: 1;
  transition: opacity 240ms ease;
}

#lightbox-image.lightbox-image--fade {
  opacity: 0.16;
}

.lightbox-caption {
  margin: 0;
  color: rgba(246, 240, 231, 0.9);
  text-align: center;
  line-height: 1.5;
}

.lightbox-counter {
  margin: 0;
  color: rgba(246, 240, 231, 0.78);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: 1px solid rgba(246, 240, 231, 0.45);
  background: rgba(17, 17, 17, 0.65);
  color: var(--ivory);
  cursor: pointer;
  border-radius: 999px;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  font-size: 1.45rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
  z-index: 2;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(246, 240, 231, 0.94);
  color: #1b1b1c;
}

.slideshow-wrap {
  min-height: 100vh;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  display: grid;
  place-content: center;
  gap: 0.85rem;
}

.slideshow-frame {
  width: min(95vw, 1280px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background: #0b0b0b;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
}

.slideshow-frame img,
.slideshow-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0b0b;
}

.slideshow-image {
  opacity: 0;
  animation: slideshowImageFadeIn 700ms ease forwards;
}

.slideshow-badge {
  position: absolute;
  top: clamp(0.8rem, 2vw, 1.4rem);
  right: clamp(0.8rem, 2vw, 1.4rem);
  margin: 0;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 177, 102, 0.45);
  background: rgba(14, 14, 14, 0.54);
  color: rgba(228, 199, 134, 0.95);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.slideshow-badge--visible {
  opacity: 1;
  transform: translateY(0);
}

.slideshow-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 5vh, 4rem);
  transform: translateX(-50%);
  width: min(90%, 900px);
  text-align: center;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.2rem, 3vw, 2rem);
  border-radius: 14px;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.08),
    rgba(10, 10, 10, 0.78)
  );
  color: rgba(246, 240, 231, 0.96);
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.slideshow-caption--visible {
  opacity: 1;
}

.slideshow-caption p {
  margin: 0;
}

.slideshow-caption__title {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.slideshow-caption__byline {
  margin-top: 0.45rem;
  font-size: clamp(0.82rem, 1.5vw, 1.05rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 240, 231, 0.9);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.slideshow-caption__message {
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 1.55vw, 1.1rem);
  color: rgba(246, 240, 231, 0.94);
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

@keyframes slideshowImageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slideshow-status {
  margin: 0;
  text-align: center;
  color: rgba(246, 240, 231, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

@media (max-width: 1120px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.our-story {
  background: #111;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.5rem, 4vw, 3rem) clamp(5rem, 10vw, 8rem);
}

.our-story__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.our-story__image-wrap {
  width: 100%;
}

.our-story__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.36);
}

.our-story__content {
  max-width: 42rem;
}

.our-story__heading {
  margin: 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.our-story__subheading {
  margin: 1.25rem 0 0;
  color: rgba(246, 240, 231, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.our-story__body {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.our-story__body p {
  margin: 0;
  color: rgba(246, 240, 231, 0.86);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.85;
}

.our-story__body p + p {
  margin-top: 1.15rem;
}

.our-story__button {
  margin-top: clamp(2rem, 3.2vw, 2.8rem);
}

@media (max-width: 900px) {
  .our-story__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }

  .our-story__image-wrap {
    order: 1;
  }

  .our-story__content {
    order: 2;
    max-width: none;
  }
}

.timeline {
  background: #111;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 8rem);
}

.timeline__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.timeline__header {
  text-align: center;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 44rem;
}

.timeline__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.15rem, 4.3vw, 3.5rem);
  line-height: 1.08;
}

.timeline__subheading {
  margin: 1rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.timeline__list {
  position: relative;
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.2rem);
}

.timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(246, 240, 231, 0.24);
}

.timeline__item {
  width: calc(50% - clamp(1.2rem, 2.6vw, 2rem));
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(246, 240, 231, 0.88);
  box-shadow: 0 0 0 4px rgba(246, 240, 231, 0.16);
}

.timeline__item--left {
  justify-self: start;
}

.timeline__item--left::before {
  right: calc(-1 * clamp(1.2rem, 2.6vw, 2rem) - 5px);
}

.timeline__item--right {
  justify-self: end;
}

.timeline__item--right::before {
  left: calc(-1 * clamp(1.2rem, 2.6vw, 2rem) - 5px);
}

.timeline__entry {
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(246, 240, 231, 0.08);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.timeline__entry--text-only {
  grid-template-columns: 1fr;
}

.timeline__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(246, 240, 231, 0.12), rgba(246, 240, 231, 0.03));
  color: rgba(246, 240, 231, 0.7);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline__copy {
  min-width: 0;
}

.timeline__date {
  margin: 0;
  color: rgba(246, 240, 231, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline__title {
  margin: 0.45rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.timeline__copy p {
  margin: 0.85rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  line-height: 1.7;
  font-size: 0.98rem;
}

.timeline__song {
  margin-top: 1rem;
}

.timeline__song-link {
  display: inline-block;
  margin-top: 0.48rem;
  max-width: 100%;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(212, 177, 102, 0.45);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.52);
  color: rgba(228, 199, 134, 0.95);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1.45;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.timeline__song-link:hover,
.timeline__song-link:focus-visible {
  background: rgba(212, 177, 102, 0.18);
  border-color: rgba(228, 199, 134, 0.75);
  color: rgba(246, 240, 231, 0.98);
}

.timeline__song-link:focus-visible {
  outline: 2px solid rgba(228, 199, 134, 0.55);
  outline-offset: 2px;
}

.timeline__actions {
  margin-top: clamp(2.2rem, 4.5vw, 3rem);
  display: flex;
  justify-content: center;
}

@supports (animation-timeline: view()) {
  .timeline__item {
    animation: timelineReveal 650ms ease-out forwards;
    animation-timeline: view();
    animation-range: entry 15% cover 35%;
  }
}

@supports not (animation-timeline: view()) {
  .timeline__item {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline__item.timeline__item--visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 420ms ease-out, transform 420ms ease-out;
  }
}

@media (max-width: 900px) {
  .timeline__list::before {
    left: 0.6rem;
    transform: none;
  }

  .timeline__item {
    width: 100%;
    justify-self: stretch;
    padding-left: 2rem;
  }

  .timeline__item::before,
  .timeline__item--left::before,
  .timeline__item--right::before {
    left: 0.35rem;
    right: auto;
  }

  .timeline__entry {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .timeline__entry,
  .timeline__entry--text-only {
    grid-template-columns: 1fr;
  }

  /*
   * MOBILE TIMELINE PHOTOS
   * Let the image determine its own height so the entire
   * source image is displayed. Do not force a portrait box.
   */
  .timeline__media {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    display: block;
  }

  .timeline__media img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: initial !important;
    object-position: initial !important;
  }
}

@keyframes timelineReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.adventures {
  background: #111;
  padding: clamp(4.2rem, 8vw, 7rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 8rem);
}

.adventures__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.adventures__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.adventures__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.adventures__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}

.adventures__intro {
  margin: 1rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.adventures__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
}

.adventures__card {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.adventures__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.adventures__media {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(246, 240, 231, 0.12), rgba(246, 240, 231, 0.03));
  color: rgba(246, 240, 231, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adventures__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adventures__media-image--new-adventures {
  object-position: center 18%;
}

.adventures__copy {
  padding: 1rem 1rem 1.2rem;
}

.adventures__title {
  margin: 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.22;
}

.adventures__copy p {
  margin: 0.65rem 0 0;
  color: rgba(246, 240, 231, 0.82);
  line-height: 1.7;
  font-size: 0.95rem;
}

.adventures__actions {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

.adventures--reveal .adventures__header,
.adventures--reveal .adventures__grid,
.adventures--reveal .adventures__actions {
  opacity: 0;
  transform: translateY(20px);
}

.adventures--reveal.adventures--visible .adventures__header,
.adventures--reveal.adventures--visible .adventures__grid,
.adventures--reveal.adventures--visible .adventures__actions {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease-out, transform 460ms ease-out;
}

@media (max-width: 1000px) {
  .adventures__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .adventures__grid {
    grid-template-columns: 1fr;
  }
}

.wedding {
  background: #0f0f0f;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 8rem);
}

.wedding__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.wedding__header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.wedding__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wedding__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.1;
}

.wedding__intro {
  margin: 1rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1.01rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.wedding__content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
  align-items: stretch;
}

.wedding__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.wedding__card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(246, 240, 231, 0.1);
  border-radius: 14px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.wedding__card-title {
  margin: 0;
  color: var(--ivory);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wedding__card p {
  margin: 0.42rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  line-height: 1.6;
  font-size: 0.94rem;
}

.wedding__feature {
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.wedding__image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.wedding__image--invitation {
  object-fit: contain;
  object-position: center;
}

.wedding__image-fallback {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 420px;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  color: rgba(246, 240, 231, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 240, 231, 0.2), transparent 48%),
    radial-gradient(circle at 84% 82%, rgba(246, 240, 231, 0.16), transparent 52%),
    linear-gradient(140deg, rgba(246, 240, 231, 0.07), rgba(246, 240, 231, 0.02));
}

.wedding__actions {
  margin-top: clamp(2.1rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

@media (max-width: 980px) {
  .wedding__content {
    grid-template-columns: 1fr;
  }

  .wedding__feature {
    order: 2;
  }

  .wedding__details {
    order: 1;
  }
}

@media (max-width: 700px) {
  .wedding__details {
    grid-template-columns: 1fr;
  }

  .wedding__image,
  .wedding__image-fallback {
    min-height: 300px;
  }
}

.rsvp-home {
  background: #111;
  padding: clamp(4.4rem, 8vw, 6.8rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 8rem);
}

.rsvp-home__inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.rsvp-home__header {
  text-align: center;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
}

.rsvp-home__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rsvp-home__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.rsvp-home__intro {
  margin: 1rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.7;
}

.rsvp-home__status {
  border-radius: 14px;
  border: 1px solid rgba(246, 240, 231, 0.16);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.rsvp-home__status ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(246, 240, 231, 0.88);
}

.rsvp-home__status p {
  margin: 0;
  color: rgba(246, 240, 231, 0.9);
  line-height: 1.68;
}

.rsvp-home__status p + p {
  margin-top: 0.35rem;
}

.rsvp-home__status--success {
  border-color: rgba(188, 220, 198, 0.35);
}

.rsvp-home__status--error {
  border-color: rgba(220, 183, 183, 0.34);
}

.rsvp-home__form {
  border-radius: 16px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.rsvp-home__grid {
  display: grid;
  gap: 0.85rem;
}

.rsvp-home__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsvp-home__field {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.rsvp-home__field span,
.rsvp-home__group legend {
  color: rgba(246, 240, 231, 0.9);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rsvp-home__field input,
.rsvp-home__field select,
.rsvp-home__field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(246, 240, 231, 0.2);
  background: rgba(17, 17, 17, 0.85);
  color: var(--ivory);
  padding: 0.72rem 0.82rem;
  font: inherit;
  line-height: 1.45;
}

.rsvp-home__field textarea {
  resize: vertical;
  min-height: 120px;
}

.rsvp-home__field input:focus-visible,
.rsvp-home__field select:focus-visible,
.rsvp-home__field textarea:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.6);
  outline-offset: 1px;
}

.rsvp-home__group {
  margin: 1rem 0 0;
  border: 1px solid rgba(246, 240, 231, 0.15);
  border-radius: 12px;
  padding: 0.7rem 0.8rem 0.85rem;
}

.rsvp-home__group legend {
  padding: 0 0.3rem;
}

.rsvp-home__choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  color: rgba(246, 240, 231, 0.88);
}

.rsvp-home__choice input {
  accent-color: rgba(246, 240, 231, 0.9);
}

.rsvp-home__actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.rsvp-home__actions .hero__button {
  cursor: pointer;
  background: transparent;
}

@media (max-width: 700px) {
  .rsvp-home__grid--two {
    grid-template-columns: 1fr;
  }
}

.guest-memories {
  background: #111;
  padding: clamp(4.4rem, 8vw, 6.8rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 8rem);
}

.guest-memories__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.guest-memories__header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
}

.guest-memories__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guest-memories__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.guest-memories__intro {
  margin: 1rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.7;
}

.guest-memories__status {
  border-radius: 14px;
  border: 1px solid rgba(246, 240, 231, 0.16);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.guest-memories__status ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(246, 240, 231, 0.88);
}

.guest-memories__status p {
  margin: 0;
  color: rgba(246, 240, 231, 0.9);
  line-height: 1.68;
}

.guest-memories__status--success {
  border-color: rgba(188, 220, 198, 0.35);
}

.guest-memories__status--error {
  border-color: rgba(220, 183, 183, 0.34);
}

.guest-memories__form {
  border-radius: 16px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.guest-memories__grid {
  display: grid;
  gap: 0.85rem;
}

.guest-memories__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guest-memories__field {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.guest-memories__field span {
  color: rgba(246, 240, 231, 0.9);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guest-memories__field input,
.guest-memories__field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(246, 240, 231, 0.2);
  background: rgba(17, 17, 17, 0.85);
  color: var(--ivory);
  padding: 0.72rem 0.82rem;
  font: inherit;
  line-height: 1.45;
}

.guest-memories__field textarea {
  resize: vertical;
  min-height: 120px;
}

.guest-memories__field input:focus-visible,
.guest-memories__field textarea:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.6);
  outline-offset: 1px;
}

.guest-memories__actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.guest-memories__actions .hero__button {
  cursor: pointer;
  background: transparent;
}

.guest-memories__recent {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.guest-memories__recent-heading {
  margin: 0 0 1rem;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.guest-memories__empty {
  margin: 0;
  color: rgba(246, 240, 231, 0.8);
}

.guest-memories__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.95rem, 2vw, 1.3rem);
}

.guest-memories__card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 231, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.guest-memories__thumb {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.guest-memories__thumb--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(246, 240, 231, 0.12), rgba(246, 240, 231, 0.03));
  color: rgba(246, 240, 231, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guest-memories__card-body {
  padding: 0.9rem 0.95rem 1rem;
}

.guest-memories__meta {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: rgba(246, 240, 231, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-memories__title {
  margin: 0.7rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.guest-memories__excerpt {
  margin: 0.65rem 0 0;
  color: rgba(246, 240, 231, 0.86);
  line-height: 1.65;
  font-size: 0.94rem;
}

.guest-memories__details {
  margin-top: 0.75rem;
}

.guest-memories__details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 240, 231, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.guest-memories__details summary::-webkit-details-marker {
  display: none;
}

.guest-memories__details p {
  margin: 0.7rem 0 0;
  color: rgba(246, 240, 231, 0.86);
  line-height: 1.7;
  font-size: 0.93rem;
}

@media (max-width: 960px) {
  .guest-memories__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .guest-memories__grid--two,
  .guest-memories__cards {
    grid-template-columns: 1fr;
  }
}

.our-future {
  background: #111;
  padding: clamp(4.6rem, 8vw, 7rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 7.8rem);
}

.our-future__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  text-align: center;
  animation: ourFutureFadeIn 520ms ease-out both;
}

.our-future__header {
  margin: 0 auto;
}

.our-future__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.our-future__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.our-future__body {
  width: min(100%, 700px);
  margin: clamp(1.5rem, 3.5vw, 2.3rem) auto 0;
}

.our-future__body p {
  margin: 0;
  color: rgba(246, 240, 231, 0.86);
  line-height: 1.82;
  font-size: clamp(1.01rem, 1.7vw, 1.16rem);
}

.our-future__body p + p {
  margin-top: 0.15rem;
}

.our-future__media {
  margin: clamp(2rem, 4.5vw, 3.1rem) auto 0;
  width: min(100%, 860px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  background: rgba(255, 255, 255, 0.03);
}

.our-future__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.our-future__fallback {
  display: none;
  width: 100%;
  min-height: 420px;
  place-items: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(246, 240, 231, 0.18), transparent 48%),
    radial-gradient(circle at 85% 80%, rgba(246, 240, 231, 0.13), transparent 54%),
    linear-gradient(150deg, rgba(246, 240, 231, 0.08), rgba(246, 240, 231, 0.02));
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.our-future__actions {
  margin-top: clamp(1.7rem, 3.6vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.our-future__actions .hero__button {
  margin-top: 0;
}

@media (max-width: 720px) {
  .our-future__fallback {
    min-height: 280px;
  }

  .our-future__actions {
    flex-direction: column;
    align-items: center;
  }
}

@keyframes ourFutureFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-footer {
  background: #111;
  padding: clamp(3.2rem, 6vw, 4.8rem) clamp(1.2rem, 3vw, 2rem) 1.6rem;
}

.home-footer__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.home-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.3rem, 2.8vw, 2.4rem);
}

.home-footer__title {
  margin: 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.2;
}

.home-footer__date {
  margin: 0.55rem 0 0;
  color: rgba(246, 240, 231, 0.86);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-footer__quote {
  margin: 0.9rem 0 0;
  color: rgba(246, 240, 231, 0.8);
  line-height: 1.75;
}

.home-footer__column p {
  margin: 0.9rem 0 0;
  color: rgba(246, 240, 231, 0.8);
  line-height: 1.75;
}

.home-footer__links {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.home-footer__links a {
  color: rgba(246, 240, 231, 0.86);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.home-footer__links a:hover,
.home-footer__links a:focus-visible {
  color: #ffffff;
}

.home-footer__links a:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.58);
  outline-offset: 2px;
}

.home-footer__bottom {
  margin-top: clamp(1.8rem, 3.6vw, 2.6rem);
  text-align: center;
}

.home-footer__bottom p {
  margin: 0;
  color: rgba(246, 240, 231, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
}

.home-footer__bottom p + p {
  margin-top: 0.15rem;
}

@media (max-width: 820px) {
  .home-footer__grid {
    grid-template-columns: 1fr;
  }
}

.gallery-hero {
  background: #111;
  padding: clamp(4.4rem, 8vw, 7rem) clamp(1.2rem, 3vw, 2rem) clamp(2.6rem, 5vw, 4rem);
}

.gallery-hero__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  text-align: center;
}

.gallery-hero__eyebrow {
  margin: 0;
  color: rgba(246, 240, 231, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-hero__heading {
  margin: 0.65rem 0 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.gallery-hero__copy {
  margin: 1rem auto 0;
  max-width: 52ch;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.72;
}

.gallery-page {
  padding-top: 0;
}

.gallery-page__heading,
.gallery-page__filters {
  text-align: center;
}

.upload-chapter {
  background: #111;
  padding: clamp(4.4rem, 8vw, 6.8rem) clamp(1.2rem, 3vw, 2rem) clamp(5rem, 9vw, 8rem);
}

.upload-chapter__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.upload-chapter__header {
  text-align: center;
  max-width: 54rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.upload-chapter__heading {
  margin: 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.2rem, 4.3vw, 3.4rem);
  line-height: 1.08;
}

.upload-chapter__intro {
  margin: 1rem auto 0;
  max-width: 60ch;
  color: rgba(246, 240, 231, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.72;
}

.upload-chapter__status {
  border-radius: 14px;
  border: 1px solid rgba(246, 240, 231, 0.16);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  padding: 1rem 1.1rem;
  margin: 0 auto 1rem;
  width: min(100%, 980px);
}

.upload-chapter__status p {
  margin: 0;
  color: rgba(246, 240, 231, 0.9);
  line-height: 1.68;
}

.upload-chapter__status p + p {
  margin-top: 0.35rem;
}

.upload-chapter__status-title {
  margin: 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.upload-chapter__status ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: rgba(246, 240, 231, 0.88);
}

.upload-chapter__status--success {
  border-color: rgba(188, 220, 198, 0.35);
}

.upload-chapter__status--error {
  border-color: rgba(220, 183, 183, 0.34);
}

.upload-chapter__retry {
  margin-top: 0.9rem;
  display: inline-flex;
  color: var(--ivory);
}

.upload-chapter__success-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.upload-chapter__success-actions .hero__button {
  margin-top: 0;
}

.upload-chapter__panel {
  width: min(100%, 760px);
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background:
    radial-gradient(circle at 15% 10%, rgba(246, 240, 231, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  padding: clamp(1.1rem, 2.8vw, 1.6rem);
}

.upload-dropzone {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed rgba(246, 240, 231, 0.35);
  background: rgba(17, 17, 17, 0.65);
  padding: clamp(2.2rem, 5vw, 3.3rem) 1rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within,
.upload-dropzone--dragover {
  border-color: rgba(246, 240, 231, 0.7);
  background: rgba(246, 240, 231, 0.06);
  transform: translateY(-2px);
}

.upload-dropzone__icon {
  width: 3rem;
  height: 3rem;
  color: rgba(246, 240, 231, 0.9);
}

.upload-dropzone__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.upload-dropzone__headline {
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.upload-dropzone__or {
  color: rgba(246, 240, 231, 0.72);
}

.upload-dropzone__browse {
  color: rgba(246, 240, 231, 0.92);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.upload-dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.upload-dropzone__selected {
  margin: 0.85rem 0 0;
  color: rgba(246, 240, 231, 0.8);
  text-align: center;
}

.upload-chapter__supported {
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background: rgba(17, 17, 17, 0.7);
  padding: 0.85rem 0.95rem;
}

.upload-chapter__supported-title {
  margin: 0;
  color: rgba(246, 240, 231, 0.92);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upload-chapter__supported-tags {
  margin: 0.6rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.upload-chapter__supported-tags span {
  border: 1px solid rgba(246, 240, 231, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.upload-chapter__supported p {
  margin: 0;
  color: rgba(246, 240, 231, 0.86);
  line-height: 1.7;
}

.upload-chapter__optional {
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background: rgba(17, 17, 17, 0.62);
  padding: 0.8rem 0.9rem;
}

.upload-chapter__field {
  display: grid;
  gap: 0.42rem;
}

.upload-chapter__field + .upload-chapter__field {
  margin-top: 0.75rem;
}

.upload-chapter__field span {
  color: rgba(246, 240, 231, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-chapter__field input,
.upload-chapter__field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(246, 240, 231, 0.2);
  background: rgba(17, 17, 17, 0.85);
  color: var(--ivory);
  padding: 0.68rem 0.8rem;
  font: inherit;
  line-height: 1.45;
}

.upload-chapter__field textarea {
  resize: vertical;
  min-height: 92px;
}

.upload-chapter__field input:focus-visible,
.upload-chapter__field textarea:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.6);
  outline-offset: 1px;
}

.upload-progress {
  margin-top: 1rem;
}

.upload-progress[aria-hidden="true"] {
  display: none;
}

.upload-progress__label {
  margin: 0 0 0.45rem;
  color: rgba(246, 240, 231, 0.88);
}

.upload-progress__meta {
  margin: 0.55rem 0 0;
  color: rgba(246, 240, 231, 0.7);
  font-size: 0.82rem;
}

.upload-progress__track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(246, 240, 231, 0.12);
  overflow: hidden;
}

.upload-progress__fill {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(246, 240, 231, 0.9);
  transition: width 120ms linear;
}

.upload-progress__error {
  margin: 0.85rem 0 0;
  color: #f2c9c9;
}

.upload-progress__error[aria-hidden="true"] {
  display: none;
}

.upload-chapter__actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.upload-chapter__actions .hero__button,
.upload-chapter__submit {
  cursor: pointer;
  background: linear-gradient(135deg, #e4c374, #c89c43);
  border-color: #d8b15c;
  color: #1d1610;
  min-width: min(100%, 360px);
  font-weight: 700;
}

.upload-chapter__actions .hero__button:hover,
.upload-chapter__actions .hero__button:focus-visible,
.upload-chapter__submit:hover,
.upload-chapter__submit:focus-visible {
  background: linear-gradient(135deg, #f0d08a, #d4ac57);
  color: #1d1610;
}

.upload-chapter__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .upload-chapter__success-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================================================
   RSVP PAGE
   ========================================================= */

.rsvp-layout {
  width: min(100%, 1000px);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.rsvp-copy {
  padding-top: 0.5rem;
}

.rsvp-copy h3 {
  margin: 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.rsvp-copy p {
  margin: 1rem 0 0;
  color: rgba(246, 240, 231, 0.84);
  line-height: 1.7;
}

.rsvp-copy .details-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: rgba(246, 240, 231, 0.82);
  line-height: 1.8;
}

.rsvp-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  border: 1px solid rgba(246, 240, 231, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.rsvp-form label {
  display: grid;
  gap: 0.4rem;
  color: rgba(246, 240, 231, 0.9);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 240, 231, 0.2);
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.85);
  color: var(--ivory);
  padding: 0.72rem 0.82rem;
  font: inherit;
  line-height: 1.45;
}

.rsvp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.rsvp-form input:focus-visible,
.rsvp-form select:focus-visible,
.rsvp-form textarea:focus-visible {
  outline: 2px solid rgba(246, 240, 231, 0.6);
  outline-offset: 1px;
}

.rsvp-form select option {
  background: #111;
  color: var(--ivory);
}

.rsvp-form .btn {
  margin-top: 0.35rem;
  margin-right: 0;
  margin-bottom: 0;
  width: 100%;
  cursor: pointer;
  background: transparent;
}

.rsvp-form .btn:hover,
.rsvp-form .btn:focus-visible {
  background: rgba(246, 240, 231, 0.94);
  color: #1b1b1c;
}

/* RSVP success/error messages */

.rsvp-layout + .panel,
.panel {
  color: var(--ivory);
}

.form-status {
  margin: 0;
  color: rgba(246, 240, 231, 0.9);
  line-height: 1.65;
}

/* Mobile RSVP layout */

@media (max-width: 760px) {
  .rsvp-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rsvp-copy {
    padding-top: 0;
  }

  .rsvp-form {
    padding: 1rem;
  }
}
/* =========================================================
   MOBILE TIMELINE PHOTOS — SHOW FULL IMAGE
   ========================================================= */
@media (max-width: 767px) {

    .timeline__media {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
    }

    .timeline__media img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}