@font-face {
  font-family: "Parisienne";
  src: url("site-assets/fonts/Parisienne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pinyon Script";
  src: url("site-assets/fonts/PinyonScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kuenstler Script";
  src: url("site-assets/fonts/kuenstler.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pinyon Script";
  src: url("site-assets/fonts/Parisienne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0104-0105;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("site-assets/fonts/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("site-assets/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("site-assets/fonts/LibreBaskerville-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("site-assets/fonts/LibreBaskerville-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("site-assets/fonts/ProximaNova-Regular.woff2") format("woff2"),
    url("site-assets/fonts/ProximaNova-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("site-assets/fonts/ProximaNova-Bold.woff2") format("woff2"),
    url("site-assets/fonts/ProximaNova-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quattrocento";
  src: url("site-assets/fonts/quattrocento-regular.woff2") format("woff2"),
    url("site-assets/fonts/quattrocento-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quattrocento";
  src: url("site-assets/fonts/quattrocento-bold.woff2") format("woff2"),
    url("site-assets/fonts/quattrocento-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alex Brush";
  src: url("site-assets/fonts/alex-brush-regular.woff2") format("woff2"),
    url("site-assets/fonts/alex-brush-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --muted: #4a4a4a;
  --soft: #f6f5f0;
  --accent: #f0d8bf;
  --background: #ffffff;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg-fluid: clamp(1.125rem, 2.2vw, 1.5rem);
  --hero-height: clamp(360px, 70vh, 720px);
  --hero-slide-width: clamp(320px, 88vw, 1100px);
  --hero-gap: 0px;
  --font-script: "Pinyon Script", "Parisienne", "Libre Baskerville", serif;
  --font-monogram: "Playfair Display", "Libre Baskerville", serif;
  --font-serif: "Libre Baskerville", serif;
  --font-sans: "Proxima Nova", "Libre Baskerville", serif;
  --site-header-height: 0px;
  --emboss-pattern: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='260'%20height='260'%20viewBox='0%200%20260%20260'%3E%3Cg%20fill='none'%20stroke='%23ffffff'%20stroke-opacity='0.32'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='60'%20cy='62'%20r='5'/%3E%3Cellipse%20cx='60'%20cy='48'%20rx='8'%20ry='4'/%3E%3Cellipse%20cx='60'%20cy='76'%20rx='8'%20ry='4'/%3E%3Cellipse%20cx='46'%20cy='62'%20rx='4'%20ry='8'/%3E%3Cellipse%20cx='74'%20cy='62'%20rx='4'%20ry='8'/%3E%3Cpath%20d='M60%2086c0%2010-6%2018-16%2026'/%3E%3Cpath%20d='M60%2086c0%2010%206%2018%2016%2026'/%3E%3Ccircle%20cx='178'%20cy='70'%20r='5'/%3E%3Cellipse%20cx='178'%20cy='56'%20rx='8'%20ry='4'/%3E%3Cellipse%20cx='178'%20cy='84'%20rx='8'%20ry='4'/%3E%3Cellipse%20cx='164'%20cy='70'%20rx='4'%20ry='8'/%3E%3Cellipse%20cx='192'%20cy='70'%20rx='4'%20ry='8'/%3E%3Cpath%20d='M178%2094c0%2010-6%2018-16%2026'/%3E%3Cpath%20d='M178%2094c0%2010%206%2018%2016%2026'/%3E%3Cpath%20d='M120%20170c14-12%2032-12%2046%200'/%3E%3Cpath%20d='M120%20170c8%2014%2026%2024%2046%200'/%3E%3Cpath%20d='M134%20188c-8%2012-18%2020-30%2026'/%3E%3Cpath%20d='M152%20188c8%2012%2018%2020%2030%2026'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.6;
  font-weight: 400;
  width: 100%;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

strong {
  font-weight: 400;
}

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

button {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--background);
  padding: 20px 16px 12px;
  border-bottom: 1px solid #eee;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
}

.language-switcher {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.language-switcher-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  line-height: 1;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.language-switcher-button:hover,
.language-switcher-button:focus-visible {
  border-color: rgba(0, 0, 0, 0.3);
  background: #ffffff;
  transform: translateY(-1px);
}

.language-switcher-button.is-active {
  border-color: rgba(0, 0, 0, 0.42);
  background: #f4f2ec;
}

.language-switcher-button:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 2px;
}

.language-switcher-flag {
  font-size: 0.9rem;
}

.language-switcher-label {
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 32px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  padding: 6px 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
  transform-origin: center left;
  transition: transform 0.3s ease 0.3s;
}

.mobile-menu-btn span:nth-child(2) {
  width: 18px;
  transform-origin: center;
  transition: transform 0.3s ease 0.3s;
}

.mobile-menu-btn span:nth-child(3) {
  transform-origin: center right;
  transition: transform 0.3s ease 0.3s;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateY(-8px);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 14px 10px;
  }

  .header-content {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-areas:
      "menu title spacer"
      "language language language";
    gap: 8px 10px;
    min-height: 0;
  }

  .site-title {
    grid-area: title;
    justify-self: center;
    min-width: 0;
    font-size: clamp(24px, 7.5vw, 31px);
    letter-spacing: 2px;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    display: flex;
    grid-area: menu;
    position: static;
    transform: none;
    align-self: center;
    justify-self: start;
    width: 34px;
    height: 30px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 520;
    margin: 0;
    padding: 0;
    gap: 0;
    background:
      linear-gradient(180deg, #ffffff, #faf9f4),
      var(--emboss-pattern);
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 32px rgba(32, 28, 20, 0.16);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease;
  }

  .site-nav.mobile-nav-visible {
    max-height: calc(100dvh - var(--site-header-height, 0px));
    overflow-y: auto;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
  }

  .nav-link::after {
    left: 50%;
    right: auto;
    width: min(12rem, 72%);
    height: 2px;
    transform: translateX(-50%) scaleX(0);
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after,
  .nav-link.is-active::after {
    transform: translateX(-50%) scaleX(1);
  }

  .language-switcher {
    grid-area: language;
    position: static;
    transform: none;
    justify-content: center;
    width: 100%;
    gap: 0.28rem;
  }

  .language-switcher-button {
    padding: 0.28rem 0.45rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-content {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    column-gap: 8px;
  }

  .site-title {
    font-size: clamp(22px, 7vw, 25px);
    letter-spacing: 1.5px;
  }

  .language-switcher-button {
    gap: 0.24rem;
    padding: 0.24rem 0.36rem;
    font-size: 0.64rem;
  }

  .language-switcher-flag {
    font-size: 0.78rem;
  }
}

.site-title {
  font-family: var(--font-script);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 4px;
  margin: 0;
  font-weight: 400;
}

.ampersand {
  font-family: "Kuenstler Script", var(--font-script);
  font-weight: 400;
  display: inline-block;
  transform: none;
}

.site-title .ampersand {
  transform: translateY(-0.2em);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin: 16px auto 0;
  padding: 0 8px;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .site-header .site-nav {
    top: calc(100% - 1px);
    margin: 0;
    padding: 0;
  }
}

.nav-link {
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-block;
  font-size: var(--text-md);
  position: relative;
  padding: 8px 0;
  letter-spacing: normal;
  font-family: var(--font-serif);
  font-weight: 400;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 3s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .site-nav .nav-link {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
  }

  .site-nav .nav-link::after {
    left: 50%;
    right: auto;
    width: min(12rem, 72%);
    height: 2px;
    transform: translateX(-50%) scaleX(0);
  }

  .site-nav .nav-link:hover::after,
  .site-nav .nav-link:focus-visible::after,
  .site-nav .nav-link.is-active::after {
    transform: translateX(-50%) scaleX(1);
  }
}

main {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.section {
  display: none;
  position: relative;
  padding: 40px 16px 120px;
}

.section.is-active {
  display: grid;
  grid-template-areas: "stack";
  animation: fadeIn 0.25s ease;
}

#section-home.section {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  --home-highlight-zoom: 0;
}

#section-schedule.section {
  padding-bottom: 0;
}

.home-envelope-scene {
  --home-envelope-width: min(92vw, 655px);
  --home-envelope-height: calc(var(--home-envelope-width) * 755 / 655);
  --home-envelope-lift: -1.5rem;
  --home-envelope-tray-shift: 0px;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: clamp(2.8rem, 6vw, 4.8rem) auto 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(16rem, 30vw, 22rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  left: 50%;
  transform: translateX(-50%);
  background: none;
}

.home-envelope-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 11, 0.14), rgba(8, 12, 11, 0.22)),
    url("images/home/rsvp-scene-background-upscaled.jpg") center 42% / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.home-envelope-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(10rem, 24vw, 18rem);
  background: linear-gradient(180deg, rgba(5, 7, 7, 0), rgba(5, 7, 7, 0.22));
  z-index: 1;
  pointer-events: none;
}

.home-envelope-scene-tray {
  position: absolute;
  left: calc(50% + var(--home-envelope-tray-shift));
  top: calc(50% + var(--home-envelope-lift));
  width: min(1760px, 132vw);
  max-width: none;
  transform: translateX(-37.63%);
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.home-envelope {
  width: var(--home-envelope-width);
  margin: 0 auto;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  appearance: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 3;
  transform: translateY(-1.5rem);
}

.home-envelope:hover {
  transform: translateY(calc(-1.5rem - 2px));
}

.home-envelope:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 6px;
}

.home-envelope-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 655 / 755;
  font-size: clamp(5.2px, 1.45vw, 10px);
  user-select: none;
  filter: drop-shadow(0 24px 36px rgba(22, 18, 11, 0.28));
}

.home-envelope-layer {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.home-envelope-layer img {
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.home-envelope-back {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.home-envelope-card {
  top: 7.35%;
  left: 1.26%;
  width: 97.48%;
  height: 60.8%;
  overflow: hidden;
  z-index: 2;
}

.home-envelope-card img {
  width: 100.92%;
  height: auto;
  transform: translateY(-0.86%);
}

.home-envelope-front {
  top: 36.28%;
  left: 0;
  width: 100%;
  height: 63.72%;
  overflow: hidden;
  z-index: 4;
}

.home-envelope-front img {
  width: 106.15%;
  height: auto;
  transform: translateX(-3.24%);
}

.home-envelope-seal {
  top: 56.14%;
  left: 36.19%;
  width: 27.61%;
  height: 24.03%;
  object-fit: contain;
  z-index: 5;
}

.home-envelope-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.home-envelope-heading {
  top: 21.64%;
  width: 46.64%;
  margin: 0;
  font-family: "Kuenstler Script", var(--font-script);
  font-size: 6.2em;
  font-weight: 600;
  line-height: 1;
  color: #000;
  z-index: 3;
}

.home-envelope-copy {
  top: 32.81%;
  width: 51.5%;
  margin: 0;
  font-family: "Quattrocento", var(--font-serif);
  font-size: 2.47em;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.38;
  color: #000;
  z-index: 3;
}

.home-envelope-footer {
  top: 81.6%;
  width: 68%;
  margin: 0;
  font-family: "Pinyon Script", "Parisienne", var(--font-script);
  font-size: 3.5em;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
  color: #faf1e1;
  z-index: 6;
}

@media (max-width: 900px) {
  .home-envelope-scene {
    padding: clamp(1.4rem, 4vw, 2rem) 0 clamp(11rem, 28vw, 14rem);
    background-position: center center;
  }

  .home-envelope-scene-tray {
    left: calc(50% + var(--home-envelope-tray-shift));
    width: min(1480px, 144vw);
    top: calc(50% + var(--home-envelope-lift));
  }
}

@media (max-width: 720px) {
  .home-envelope-scene {
    --home-envelope-width: min(82vw, 655px);
    --home-envelope-height: calc(var(--home-envelope-width) * 755 / 655);
    --home-envelope-lift: -0.8rem;
    --home-envelope-tray-shift: 0px;
    left: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 1.2rem 0 7.5rem;
    transform: none;
  }

  .home-envelope-scene-tray {
    left: calc(50% + var(--home-envelope-tray-shift));
    width: 190%;
    top: calc(50% + var(--home-envelope-lift));
  }

  .home-envelope {
    width: var(--home-envelope-width);
    transform: translateY(-0.8rem);
  }

  .home-envelope:hover {
    transform: translateY(calc(-0.8rem - 2px));
  }
}

/* Highlight series - Scroll-driven carousel */
.highlight-series {
  --highlight-zoom: 0;
  --highlight-drag-offset: 0px;
  --highlight-available-height: calc(100dvh - var(--site-header-height, 0px));
  margin: calc(clamp(2rem, 5vh, 4rem) + 7.2rem) auto 0;
  width: 95vw;
  max-width: 95vw;
  padding: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: calc(var(--highlight-available-height) * 0.5);
  min-height: calc(var(--highlight-available-height) * 0.5);
}

.highlight-series-container {
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) minmax(14rem, 2.2fr) minmax(10rem, 1fr);
  gap: clamp(1.2rem, 2.2vw, 2.6rem);
  align-items: stretch;
  min-height: 100%;
  height: 100%;
  transform: scale(1);
  opacity: 1;
  transform-origin: center center;
}

/* Image column with artistic faded edges */
.highlight-series-image-col {
  position: relative;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.highlight-series-image-col.is-dragging {
  cursor: grabbing;
}

.highlight-series-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: center;
  border-radius: 12px;
  overflow: hidden;
  user-select: none;
  transition: opacity 220ms ease, transform 220ms ease;
  will-change: opacity, transform;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-series-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  filter: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Map frame for Location details */
.highlight-series-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  transition: opacity 220ms ease, transform 220ms ease;
  will-change: opacity, transform;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-series-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: grab;
  touch-action: pan-y;
}

.highlight-series.is-media-dragging .highlight-series-image-frame,
.highlight-series.is-media-dragging .highlight-series-map-frame {
  transform: translateX(var(--highlight-drag-offset));
  transition: none;
}

.highlight-series-image-frame.is-entering-forward,
.highlight-series-map-frame.is-entering-forward {
  animation: highlight-media-enter-forward 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.highlight-series-image-frame.is-entering-backward,
.highlight-series-map-frame.is-entering-backward {
  animation: highlight-media-enter-backward 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.highlight-series-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  touch-action: none;
}

/* Content column */
.highlight-series-content-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 14rem;
  height: 100%;
  padding-top: 8px;
}

.highlight-series-content-col.is-entering-forward,
.highlight-series-content-col.is-entering-backward {
  animation: highlight-content-enter 260ms ease both;
}

@keyframes highlight-media-enter-forward {
  from {
    opacity: 0.58;
    transform: translateX(18%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes highlight-media-enter-backward {
  from {
    opacity: 0.58;
    transform: translateX(-18%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes highlight-content-enter {
  from {
    opacity: 0.45;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-series-content-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.highlight-series-heading {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.02em;
}

.highlight-series-description {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.highlight-series-venue {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.highlight-series-venue-icon {
  font-size: clamp(1.1rem, 1.7vw, 2rem);
  line-height: 1;
}

.highlight-series-venue-name {
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.highlight-series-venue.is-hidden {
  display: none;
}

.highlight-series-dresscode {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.highlight-series-dresscode.is-hidden {
  display: none;
}

.highlight-series-dresscode-icon {
  width: clamp(1rem, 1.7vw, 2rem);
  height: auto;
  flex-shrink: 0;
  opacity: 0.92;
}

.highlight-series-dresscode-name {
  font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.highlight-series-cta {
  width: fit-content;
  border: none;
  background: #85A18D;
  color: var(--ink);
  padding: 0.78rem 1.4rem;
  border-radius: 4px;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.4rem;
  align-self: flex-start;
  font-family: var(--font-serif);
}

.highlight-series-cta:hover {
  background: #758f7d;
}

/* Navigation column */
.highlight-series-nav-col {
  padding-top: 0.5rem;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}

.highlight-series-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.highlight-series-nav-link {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: transform 0.11s linear, opacity 0.11s linear;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  transform-origin: right center;
  --nav-proximity: 0;
  outline: none;
}

.highlight-series-nav-text {
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, calc(0.86rem + var(--nav-proximity) * 0.34rem), 1.24rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.16s ease, font-size 0.11s linear;
}

.highlight-series-nav-dot {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  flex-shrink: 0;
  transition: background-color 0.16s ease;
}

.highlight-series-nav-link:hover .highlight-series-nav-text,
.highlight-series-nav-link:focus-visible .highlight-series-nav-text,
.highlight-series-nav-link.is-active .highlight-series-nav-text {
  color: var(--ink);
}

.highlight-series-nav-link.is-active .highlight-series-nav-dot {
  background: var(--ink);
}

.highlight-series-nav-link:focus-visible {
  outline: 2px dashed rgba(15, 55, 85, 0.7);
  outline-offset: 2px;
}


/* Responsive */
@media (max-width: 900px) and (max-aspect-ratio: 2 / 3) {
  .highlight-series {
    left: auto;
    transform: none;
    width: 95vw;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 0;
  }

  .highlight-series-container {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    top: 0;
    min-height: 0;
    height: auto;
  }

  .highlight-series-image-col {
    width: 100%;
    max-width: min(88vw, 400px);
    margin: 0 auto;
    height: auto;
    justify-self: center;
  }

  .highlight-series-content-col {
    order: 2;
    align-items: center;
    height: auto;
    min-height: 0;
    padding-top: 0;
    text-align: center;
  }

  .highlight-series-content-inner {
    align-items: center;
    width: 100%;
    max-width: min(34rem, 100%);
  }

  .highlight-series-nav-col {
    order: 1;
    height: auto;
    justify-content: center;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
  }

  .highlight-series-nav {
    --highlight-nav-end-space: max(7rem, min(11rem, calc(50vw - 3rem)));
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.42rem;
    height: auto;
    width: 100%;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 50%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0 0.45rem;
  }

  .highlight-series-nav::-webkit-scrollbar {
    display: none;
  }

  .highlight-series-nav::before,
  .highlight-series-nav::after {
    content: "";
    flex: 0 0 var(--highlight-nav-end-space);
    align-self: stretch;
  }

  .highlight-series-nav-col::before,
  .highlight-series-nav-col::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0.25rem;
    width: 2.7rem;
    z-index: 2;
    pointer-events: none;
  }

  .highlight-series-nav-col::before {
    left: 0;
    background: linear-gradient(90deg, var(--background) 18%, rgba(255, 255, 255, 0));
  }

  .highlight-series-nav-col::after {
    right: 0;
    background: linear-gradient(270deg, var(--background) 18%, rgba(255, 255, 255, 0));
  }

  .highlight-series-nav-link {
    transform-origin: center;
    flex: 0 0 auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none !important;
    opacity: 1 !important;
  }

  .highlight-series-image-frame,
  .highlight-series-map-frame {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .highlight-series-venue,
  .highlight-series-dresscode,
  .highlight-series-cta {
    align-self: center;
  }

}

@media (max-width: 600px) and (max-aspect-ratio: 2 / 3) {
  .highlight-series {
    width: min(90vw, 390px);
    max-width: min(90vw, 390px);
    padding: 0;
    margin-top: 56px;
  }

  .highlight-series-heading {
    font-size: clamp(1.08rem, 5vw, 1.28rem);
  }

  .highlight-series-description {
    font-size: clamp(0.98rem, 4.5vw, 1.12rem);
    line-height: 1.5;
    text-wrap: balance;
  }

  .highlight-series-content-col {
    gap: 0.85rem;
  }

  .highlight-series-content-inner {
    max-width: min(88vw, 23rem);
  }

  .highlight-series-nav-link {
    gap: 0.34rem;
  }

  .highlight-series-nav-dot {
    width: 0.78rem;
    height: 0.78rem;
  }

  .highlight-series-nav-text {
    max-width: none;
    overflow: visible;
    white-space: nowrap;
    opacity: 1;
    font-size: clamp(0.86rem, 4.5vw, 1.12rem);
    transition: color 0.16s ease;
  }

  .highlight-series-nav-link.is-active .highlight-series-nav-text {
    max-width: none;
    opacity: 1;
  }

  .highlight-series-cta {
    width: auto;
    min-width: 10rem;
    padding-inline: 1.2rem;
  }
}

.our-story-panel {
  width: min(97vw, 76rem);
  margin: calc(clamp(2rem, 5vh, 4rem) + 6rem) auto 0;
  padding:
    clamp(1.5rem, 3vw, 2.25rem)
    clamp(1.5rem, 3vw, 2.25rem)
    clamp(2.3rem, 4.6vw, 3.6rem);
  background: transparent;
}

.our-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.85fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: start;
}

.our-story-copy {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.15rem);
  position: relative;
  isolation: isolate;
  max-width: min(100%, 43.5rem);
  margin: 0 auto;
  padding: clamp(3.3rem, 4.9vw, 4.2rem) clamp(2.2rem, 3.4vw, 2.9rem) clamp(4.8rem, 7.2vw, 6rem);
}

.our-story-copy::before,
.our-story-copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.our-story-copy::before {
  top: -9.9rem;
  bottom: -8.4rem;
  left: 50%;
  width: calc(100% + clamp(2.1rem, 4.8vw, 4.5rem));
  transform: translateX(-50%);
  background-image: url("images/our-story/our-story-arch.svg");
  z-index: -2;
}

.our-story-copy::after {
  top: -13.8rem;
  bottom: -12.4rem;
  left: 50%;
  width: calc(100% + clamp(5.4rem, 8.8vw, 8.5rem));
  transform: translateX(-50%);
  background-image: url("images/our-story/our-story-ornament.svg");
  z-index: -1;
  opacity: 0.95;
}

.our-story-copy > * {
  position: relative;
  z-index: 1;
}

.our-story-title {
  margin: 0 0 0.35rem;
  line-height: 0.95;
  color: #111;
  text-align: center;
}

.our-story-title-script {
  display: block;
  font-family: "Kuenstler Script", var(--font-script);
  font-size: 5.9rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.our-story-title-main {
  display: block;
  font-family: "Playfair Display", var(--font-serif);
  font-size: 4.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[lang="de"] .our-story-title-main {
  font-size: clamp(3.15rem, 7vw, 3.7rem);
  letter-spacing: 0.025em;
}

.our-story-text {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 0.97rem;
  line-height: 1.42;
  color: #252525;
}

.our-story-gallery {
  position: relative;
  justify-self: end;
  min-height: clamp(34rem, 72vw, 50rem);
  padding-left: clamp(0.7rem, 1.8vw, 1.4rem);
}

.our-story-gallery--mobile-inline {
  display: none;
}

.our-story-main-photo {
  position: relative;
  width: 100%;
  transform: translateY(20%);
}

.our-story-main-photo-frame {
  margin: 0;
  border-radius: clamp(2.2rem, 5vw, 4rem);
  overflow: hidden;
  box-shadow: 0 0.8rem 2rem rgba(34, 34, 34, 0.18);
}

.our-story-main-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.our-story-polaroid {
  position: absolute;
  right: 40%;
  top: 96%;
  width: 75%;
  margin: 0;
  background: #f6f6f6;
  border: 0.1rem solid #d5d5d5;
  box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.22);
  transform: rotate(-8deg);
  transform-origin: top right;
  padding: 0.52rem 0.52rem 0.95rem;
  z-index: 2;
}

.our-story-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.our-story-polaroid-caption {
  margin: 0.45rem 0 0;
  text-align: center;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 1.05rem;
  color: #767676;
}

@media (max-width: 960px) {
  .our-story-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .our-story-copy {
    max-width: min(92vw, 41.5rem);
    margin: 0 auto;
    padding: clamp(2.5rem, 5.2vw, 3.1rem) clamp(1.35rem, 3.9vw, 2rem) clamp(3.8rem, 7.2vw, 4.8rem);
  }

  .our-story-copy::before {
    width: calc(100% + clamp(1.6rem, 5.5vw, 3.3rem));
    top: -7.1rem;
    bottom: -7.1rem;
  }

  .our-story-copy::after {
    width: calc(100% + clamp(4.7rem, 9.5vw, 6.8rem));
    top: -10.8rem;
    bottom: -10.6rem;
    opacity: 0.92;
  }

  .our-story-gallery {
    max-width: min(88vw, 30rem);
    margin: 0 auto;
    min-height: clamp(30rem, 94vw, 44rem);
    padding-left: 0;
  }

  .our-story-main-photo {
    transform: translateY(14%);
  }

  .our-story-polaroid {
    right: 40%;
    top: 97%;
    width: 78%;
  }
}

@media (max-width: 640px) {
  .our-story-panel {
    width: min(100%, 38rem);
    padding: 0.6rem 0.45rem;
  }

  .our-story-copy {
    max-width: min(92vw, 34rem);
    padding: 2.35rem clamp(1rem, 5vw, 1.55rem) 3.4rem;
    background: #b4c8b8;
    border-radius: 50% 50% 0 0 / clamp(4.8rem, 24vw, 7.2rem) clamp(4.8rem, 24vw, 7.2rem) 0 0;
    box-shadow: 0 1.2rem 2.6rem rgba(37, 51, 42, 0.1);
  }

  .our-story-copy::before {
    content: none;
  }

  .our-story-copy::after {
    inset: 0;
    width: 100%;
    height: auto;
    transform: none;
    border-radius: inherit;
    opacity: 0.78;
    z-index: 0;
  }

  .our-story-text {
    font-size: clamp(0.82rem, 2.8vw, 0.95rem);
    line-height: 1.38;
  }

  html[lang="de"] .our-story-title-main {
    font-size: clamp(2.3rem, 10.2vw, 2.8rem);
    letter-spacing: 0.012em;
  }

  .our-story-gallery--desktop {
    display: none;
  }

  .our-story-gallery--mobile-inline {
    display: grid;
    max-width: min(100%, 20rem);
    min-height: auto;
    margin: 0.3rem auto 0.8rem;
    padding: 0;
  }

  .our-story-gallery--mobile-inline .our-story-main-photo {
    transform: none;
  }

  .our-story-gallery--mobile-inline .our-story-main-photo-frame {
    border-radius: clamp(1.5rem, 8vw, 2.3rem);
  }

  .our-story-gallery--mobile-inline .our-story-polaroid {
    position: relative;
    justify-self: start;
    right: auto;
    top: auto;
    width: 70%;
    margin: -1.25rem 0 0 0.15rem;
    transform: rotate(-8deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-content {
  grid-area: stack;
  position: relative;
  z-index: 2;
  max-width: 1020px;
  margin: 0 auto;
}

.hero {
  margin: 0 auto 48px;
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100vw;
  height: var(--hero-height);
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
}

.hero-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(64vw, 480px);
  height: min(48vh, 250px);
  transform: translate(-50%, -50%);
  color: #ffffff;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.monogram-letter {
  position: absolute;
  font-family: var(--font-monogram);
  font-size: clamp(72px, 18vw, 180px);
  letter-spacing: 6px;
  line-height: 1;
  font-weight: 400;
}

.monogram-letter--m {
  top: 0;
  left: 8%;
  transform: translateY(-10%);
}

.monogram-letter--r {
  right: 24%;
  bottom: 0;
  transform: translate(20%, 10%);
}

.monogram-amp {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(90px, 22vw, 220px);
  height: clamp(120px, 26vw, 260px);
  transform: translate(-50%, -54%);
  animation: none;
  overflow: visible;
}

.monogram-amp text {
  font-family: "Kuenstler Script", var(--font-script);
  font-size: 220px;
  font-weight: 400;
}

.amp-base {
  fill: #ffffff;
  opacity: 1;
}

.amp-reveal {
  fill: none;
  stroke: #ffffff;
  stroke-width: 26;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  animation: amp-reveal 7s ease-in-out infinite;
}

@keyframes amp-reveal {
  0% {
    stroke-dashoffset: 3200;
    opacity: 1;
  }

  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 3200;
    opacity: 0;
  }
}

.hero-track {
  display: flex;
  height: 100%;
  gap: var(--hero-gap);
  will-change: transform;
  width: max-content;
  animation: hero-marquee var(--marquee-duration, 48s) linear infinite;
}

.hero-slide {
  flex: 0 0 var(--hero-slide-width);
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes hero-marquee {
  from {
    transform: translateX(var(--hero-offset, 0px));
  }

  to {
    transform: translateX(calc(var(--hero-offset, 0px) - var(--marquee-distance, 0px)));
  }
}

.decor-layer {
  grid-area: stack;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#section-home .decor-layer {
  opacity: 1;
  transform: none;
}

.decor {
  position: absolute;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
}

.decor-top-left {
  top: calc(var(--hero-height));
  left: 0;
  width: min(32.2vw, 364px);
  transform: translateX(-50%);
}

.decor-top-right {
  top: calc(var(--hero-height) + 220px);
  right: 0;
  width: min(26.6vw, 336px);
  transform: translateX(50%);
}

.decor-mid-left {
  top: calc(var(--hero-height) + 620px);
  left: 0;
  width: min(31.5vw, 392px);
  transform: translateX(-50%);
}

.decor-mid-right {
  top: calc(var(--hero-height) + 820px);
  right: 0;
  width: min(23.8vw, 252px);
  transform: translateX(50%);
}

.decor-bottom-right {
  top: calc(var(--hero-height) + 1000px);
  right: 0;
  width: min(23.8vw, 252px);
  transform: translateX(30%);
}

/* Non-home sections have no hero marquee, so anchor florals at the section top. */
.section:not(#section-home) .decor-top-left {
  top: 0;
}

.section:not(#section-home) .decor-top-right {
  top: 170px;
}

.section:not(#section-home) .decor-mid-left {
  top: 620px;
}

.section:not(#section-home) .decor-mid-right {
  top: 820px;
}

.section:not(#section-home) .decor-bottom-right {
  top: 1000px;
}

#section-things-to-do .decor-mid-right,
#section-rsvp .decor-mid-right {
  top: 700px;
  right: 16px;
  bottom: auto;
  width: min(15vw, 170px);
  transform: none;
}

@media (max-width: 768px) {
  :root {
    --hero-height: clamp(300px, 60vh, 520px);
    --hero-slide-width: 100vw;
    --hero-gap: 0px;
  }

  #section-home .decor {
    opacity: 0.58;
  }

  .section:not(#section-home):not(#section-schedule):not(#section-gallery) .decor {
    opacity: 0.3;
    filter: saturate(0.75) contrast(0.9);
  }

  .decor-top-left {
    top: calc(var(--hero-height) + 20px);
    left: 0;
    width: min(32vw, 148px);
    transform: translateX(-60%);
  }

  .decor-top-right {
    top: calc(var(--hero-height) + 140px);
    right: 0;
    width: min(27vw, 128px);
    transform: translateX(60%);
  }

  .decor-mid-left {
    top: calc(var(--hero-height) + 320px);
    left: 0;
    width: min(31vw, 144px);
    transform: translateX(-62%);
  }

  .decor-mid-right {
    top: calc(var(--hero-height) + 480px);
    right: 0;
    width: min(22vw, 108px);
    transform: translateX(62%);
  }

  .section:not(#section-home) .decor-top-left {
    top: 12px;
    width: min(28vw, 120px);
  }

  .section:not(#section-home) .decor-top-right {
    top: 126px;
    width: min(25vw, 110px);
  }

  .section:not(#section-home) .decor-mid-left {
    top: 340px;
    width: min(28vw, 120px);
  }

  .section:not(#section-home) .decor-mid-right {
    top: 470px;
    width: min(23vw, 102px);
  }

  #section-things-to-do .decor-mid-right,
  #section-rsvp .decor-mid-right {
    top: 360px;
    right: 0;
    bottom: auto;
    width: min(20vw, 88px);
    transform: translateX(58%);
  }

  .hero-monogram {
    width: min(78vw, 300px);
    height: min(44vh, 210px);
  }

  .monogram-letter {
    font-size: clamp(56px, 18vw, 120px);
    letter-spacing: 4px;
  }

  .monogram-letter--m {
    left: 6%;
  }

  .monogram-letter--r {
    right: 20%;
  }

  .monogram-amp {
    width: clamp(80px, 26vw, 150px);
    height: clamp(110px, 30vw, 190px);
  }

  .monogram-amp text {
    font-size: 180px;
  }
}

.names {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.names .name {
  font-family: var(--font-script);
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 4px;
  margin: 0;
  font-weight: 400;
}

.names .and {
  font-size: clamp(40px, 8vw, 110px);
  text-transform: lowercase;
  margin: 16px 0;
  font-family: "Kuenstler Script", var(--font-script);
  line-height: 1;
}

.names .and .ampersand {
  font-size: 1.1em;
  transform: translateY(-0.1em);
}

.date {
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 4px;
  margin: 40px 0 12px;
  font-weight: 400;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--text-md);
}

.countdown .label {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .countdown {
    gap: 8px 12px;
    padding: 0 1rem;
    font-size: 0.95rem;
  }

  .countdown .label {
    white-space: nowrap;
  }
}

.invitation-text {
  text-align: center;
  margin: 48px 0 32px;
  padding: 32px 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.invitation-message {
  font-family: var(--font-serif);
  font-size: var(--text-lg-fluid);
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.rsvp-button {
  background: #85A18D;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-weight: 400;
  cursor: pointer;
  text-transform: none;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
}

.section-title {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: 4px;
  text-align: center;
  margin: 0 0 32px;
  font-weight: 400;
}

#section-things-to-do .section-title {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--font-script);
}

#section-things-to-do .section-title.is-writing {
  animation: section-title-write var(--write-duration, 1250ms) ease-out forwards;
}

#section-things-to-do .section-content {
  max-width: 1140px;
}

#section-things-to-do .section.is-active {
  animation: none;
}

.section-title.write-once,
.gifts-note-heading.write-once {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-right: 0.12em;
  padding-bottom: 0.12em;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}

.section-title.is-writing,
.gifts-note-heading.is-writing {
  animation: section-title-write var(--write-duration, 1.25s) ease-out forwards;
}

@keyframes section-title-write {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.55;
  }

  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.section-subtitle {
  text-align: center;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: var(--text-md);
}

@media (max-width: 768px) {
  .section-subtitle,
  .gifts-note-message,
  .schedule-note {
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.98),
      0 0 8px rgba(255, 255, 255, 0.96),
      0 0 18px rgba(255, 255, 255, 0.9);
  }

  #section-travel .section-subtitle,
  #section-rsvp .section-subtitle {
    max-width: min(86vw, 42rem);
    margin-left: auto;
    margin-right: auto;
  }
}

.gifts-note {
  max-width: min(96vw, 980px);
  margin: 0 auto;
  text-align: center;
}

.gifts-note-heading {
  font-family: var(--font-script);
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 4px;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.1;
}

.gifts-note-message {
  max-width: min(92vw, 920px);
  margin: 0 auto 18px;
  font-size: var(--text-md);
}

.gifts-note-gift {
  display: block;
  width: clamp(88px, 16vw, 128px);
  margin: 26px auto 0;
  height: auto;
}

.gifts-note-wreath {
  display: block;
  width: min(92vw, 920px);
  margin: 34px auto 0;
  height: auto;
}

.schedule-content {
  max-width: 1220px;
}

.schedule-panel {
  position: relative;
  width: min(99vw, 1220px);
  margin: 0 auto;
  padding: 44px 28px 56px;
  isolation: isolate;
}

#section-schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("images/schedule/processed/schedule-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  opacity: 0.92;
}

.schedule-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  min-height: 1510px;
}

.schedule-portraits {
  min-height: 100%;
  padding-top: 184px;
}

.schedule-portrait {
  position: relative;
  margin: 0;
}

.schedule-portrait--round {
  width: 360px;
}

.schedule-portrait--rect {
  width: 319px;
  margin-top: 26px;
  margin-left: 86px;
  aspect-ratio: 1 / 1;
}

.schedule-portrait--oval {
  width: 332px;
  margin-top: 40px;
  margin-left: 18px;
}

.schedule-portrait--round,
.schedule-portrait--rect,
.schedule-portrait--oval {
  aspect-ratio: 1 / 1;
}

.schedule-portrait--oval {
  aspect-ratio: 0.69 / 1;
}

.schedule-portrait-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.schedule-portrait-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: 1;
}

.schedule-portrait-window {
  position: absolute;
  overflow: hidden;
  z-index: 1;
}

.schedule-portrait-window--round {
  inset: 12.4% 12.4% 12.8% 12.4%;
  border-radius: 999px;
}

.schedule-portrait-window--rect {
  inset: 15.4% 17.2% 14.6% 16.7%;
}

.schedule-portrait-window--oval {
  inset: 11.5% 12.7% 10.8% 13%;
  border-radius: 50% / 58%;
}

.schedule-portrait-photo--round {
  object-position: center 50%;
}

.schedule-portrait-photo--rect {
  object-position: center 32%;
}

.schedule-portrait-photo--oval {
  object-position: center 52%;
}

.schedule-timeline-wrap {
  width: 100%;
  padding-right: 14px;
}

.schedule-title {
  font-family: "Kuenstler Script", var(--font-script);
  font-size: 7rem;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  max-width: 6ch;
  margin: 0 auto 20px;
}

.schedule-note {
  margin: 0 auto 3rem;
  max-width: 52ch;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  line-height: 1.45;
  color: #4a4a4a;
}

.schedule-timeline {
  --schedule-badge-col: 7.2rem;
  --schedule-marker-col: 4.5rem;
  --schedule-line-offset: -0.8rem;
  --schedule-heart-offset: 0.18rem;
  --schedule-node-y-offset: 0.18rem;
  --schedule-heart-size: 2.55rem;
  --schedule-line-top: 1.46rem;
  --schedule-line-bottom: 1.46rem;
  --schedule-dot-size: 0.34rem;
  --schedule-dot-step: 0.82rem;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--schedule-badge-col) + (var(--schedule-marker-col) * 0.5) + var(--schedule-line-offset) + var(--schedule-heart-offset));
  top: var(--schedule-line-top);
  bottom: var(--schedule-line-bottom);
  width: var(--schedule-dot-size);
  transform: translateX(-50%);
  background-image: radial-gradient(circle, #85a18d 0, #85a18d 38%, transparent 42%);
  background-position: center top;
  background-repeat: repeat-y;
  background-size: var(--schedule-dot-size) var(--schedule-dot-step);
  opacity: 0.95;
  z-index: 0;
}

.schedule-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--schedule-badge-col) var(--schedule-marker-col) minmax(0, 1fr);
  align-items: start;
}

.schedule-item-badge {
  position: relative;
  width: 4.95rem;
  aspect-ratio: 1 / 1;
  justify-self: center;
  align-self: start;
  margin-top: var(--schedule-node-y-offset);
  transform: translateY(-1.55rem);
}

.schedule-item-splash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.schedule-item-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 72%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.schedule-item-marker {
  display: flex;
  align-self: start;
  margin-top: var(--schedule-node-y-offset);
  justify-content: center;
  transform: translateX(calc(var(--schedule-line-offset) + var(--schedule-heart-offset)));
}

.schedule-item-marker img {
  width: var(--schedule-heart-size);
  height: auto;
  display: block;
}

.schedule-item-copy {
  padding-left: 0.45rem;
  color: #171717;
}

.schedule-item-title {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.12;
  color: #171717;
}

.schedule-item-time {
  white-space: nowrap;
  font-weight: 700;
}

.schedule-item-divider {
  opacity: 0.75;
}

.schedule-item-copy p {
  margin: 0.32rem 0 0;
  max-width: 40ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.42;
  color: #232323;
}

.schedule-item-copy p + p {
  margin-top: 0.52rem;
}

@media (max-width: 1200px) {
  .schedule-content {
    max-width: min(98vw, 1120px);
  }

  .schedule-panel {
    width: min(99vw, 1120px);
    padding: clamp(1.6rem, 2.4vw, 2.2rem) clamp(0.9rem, 2vw, 1.5rem) clamp(2.2rem, 3.2vw, 3rem);
  }

  .schedule-layout {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    min-height: clamp(78rem, 128vw, 98rem);
    gap: clamp(1.2rem, 2.4vw, 2.2rem);
  }

  .schedule-portrait--round {
    width: clamp(208px, 28vw, 330px);
  }

  .schedule-portrait--rect {
    width: clamp(188px, 24.8vw, 292px);
    margin-top: clamp(18px, 2vw, 24px);
    margin-left: clamp(76px, 7vw, 110px);
  }

  .schedule-portrait--oval {
    width: clamp(200px, 24vw, 300px);
  }

  .schedule-title {
    font-size: clamp(4.6rem, 7.2vw, 6.4rem);
    margin-bottom: clamp(1rem, 2.1vw, 1.8rem);
  }

  .schedule-note {
    max-width: 48ch;
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
  }

  .schedule-timeline {
    --schedule-badge-col: 6.4rem;
    --schedule-marker-col: 4.1rem;
    --schedule-line-offset: -0.8rem;
    --schedule-heart-offset: 0.11rem;
    --schedule-node-y-offset: 0.15rem;
    --schedule-heart-size: clamp(2rem, 2.9vw, 2.35rem);
    --schedule-line-top: clamp(1.15rem, 1.6vw, 1.33rem);
    --schedule-line-bottom: clamp(1.15rem, 1.6vw, 1.33rem);
    --schedule-dot-size: 0.31rem;
    --schedule-dot-step: 0.78rem;
    gap: clamp(0.7rem, 1.2vw, 1rem);
  }

  .schedule-item-badge {
    width: clamp(4.2rem, 6vw, 4.8rem);
  }

  .schedule-item-title {
    font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  }

  .schedule-item-copy p {
    font-size: clamp(0.92rem, 1.3vw, 1.03rem);
  }
}

@media (max-width: 1020px) {
  .schedule-panel {
    width: min(99vw, 960px);
    padding-left: clamp(0.75rem, 2vw, 1.35rem);
    padding-right: clamp(0.75rem, 2vw, 1.35rem);
  }

  .schedule-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .schedule-portraits {
    display: none;
  }

  .schedule-timeline-wrap {
    max-width: min(96vw, 760px);
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .schedule-panel {
    width: min(100vw, 760px);
    padding:
      clamp(1.2rem, 3.4vw, 1.8rem)
      clamp(0.65rem, 2.4vw, 0.95rem)
      clamp(2rem, 4.6vw, 2.6rem);
  }

  .schedule-title {
    font-size: clamp(2.8rem, 15.5vw, 4.2rem);
    line-height: 0.84;
    margin-bottom: clamp(0.8rem, 2vw, 1.4rem);
  }

  .schedule-timeline {
    --schedule-badge-col: 4.8rem;
    --schedule-marker-col: 3.1rem;
    --schedule-heart-size: clamp(1.4rem, 4.8vw, 1.85rem);
    --schedule-line-top: clamp(0.85rem, 2.55vw, 1.08rem);
    --schedule-line-bottom: clamp(0.85rem, 2.55vw, 1.08rem);
    --schedule-dot-size: 0.25rem;
    --schedule-dot-step: 0.72rem;
    gap: clamp(0.55rem, 1.3vw, 0.95rem);
  }

  .schedule-timeline::before {
    opacity: 0.98;
  }

  .schedule-item-badge {
    width: clamp(3.45rem, 11vw, 4rem);
  }

  .schedule-item-copy {
    padding-left: 0;
  }

  .schedule-item-title {
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: clamp(1.15rem, 5.5vw, 1.55rem);
  }

  .schedule-item-copy p {
    font-size: clamp(0.78rem, 3.1vw, 0.95rem);
    line-height: 1.36;
    max-width: 100%;
  }
}

.card-grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.card {
  background: var(--soft);
  padding: 20px;
  border-radius: 8px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  font-size: var(--text-md);
}

.travel-venue-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

.travel-venue-map {
  min-height: 320px;
}

.travel-venue-copy {
  display: grid;
  gap: 0.95rem;
}

.travel-venue-copy p {
  margin: 0;
}

.travel-details {
  padding: 0;
  overflow: hidden;
}

.travel-details-summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 20px;
  cursor: pointer;
}

.travel-details-summary::-webkit-details-marker {
  display: none;
}

.travel-details-title {
  font-size: 1.17em;
  min-width: 0;
}

.travel-details-toggle {
  display: inline-block;
  justify-self: end;
  max-width: 100%;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.travel-details-content {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(15, 55, 85, 0.12);
}

.travel-details-content p,
.travel-details-content li {
  font-size: var(--text-md);
}

.travel-details-content ul {
  margin: 0.55rem 0 0;
  padding-left: 1.35rem;
}

.travel-tip {
  border-bottom: 1px solid rgba(15, 55, 85, 0.08);
}

.travel-tip:last-child {
  border-bottom: 0;
}

.travel-tip-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 700;
}

.travel-tip-summary::-webkit-details-marker {
  display: none;
}

.travel-tip-summary::after {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 0.35rem solid transparent;
  border-right: 0.35rem solid transparent;
  border-top: 0.5rem solid currentColor;
  transition: transform 0.18s ease;
}

.travel-tip[open] .travel-tip-summary::after {
  transform: rotate(180deg);
}

.travel-tip-body {
  padding: 0 0 1rem;
}

.travel-tip-illustration {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto 1rem;
}

.travel-tip-illustration--car-rental {
  width: min(100%, 187px);
}

.travel-tip-body p:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .travel-venue-layout {
    grid-template-columns: 1fr;
  }

  .travel-venue-map {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .travel-details-summary {
    gap: 0.75rem;
    padding: 18px 20px;
  }

  .travel-details-title {
    font-size: clamp(1.22rem, 7vw, 1.55rem);
    line-height: 1.18;
  }

  .travel-details-toggle {
    font-size: clamp(0.62rem, 3.2vw, 0.72rem);
    letter-spacing: 0.11em;
  }
}

.things-tabs {
  position: relative;
  width: min(100%, 1140px);
  margin: 0 auto;
  font-family: "Quattrocento", var(--font-serif);
}

.things-tab-rule {
  display: block;
  width: min(560px, 82vw);
  height: auto;
  margin: 0 auto 8px;
  pointer-events: none;
}

.things-tab-rule path {
  fill: #85a18d;
}

.things-tablist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 3.4vw, 34px);
  margin: 0 auto 16px;
}

.things-tablist--bottom {
  display: none;
}

.things-tab {
  border: 0;
  background: none;
  margin: 0;
  padding: 0 0 9px;
  font-family: "Quattrocento", var(--font-serif);
  font-size: clamp(0.98rem, 1.95vw, 1.22rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6d5f4f;
  cursor: pointer;
  position: relative;
}

.things-tab+.things-tab::before {
  content: "/";
  position: absolute;
  left: calc(-0.5 * clamp(15px, 3.4vw, 34px));
  top: 0;
  color: rgba(60, 46, 29, 0.44);
}

.things-tab::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.things-tab:hover,
.things-tab:focus-visible {
  color: #2f2417;
}

.things-tab.is-active {
  color: #2f2417;
}

.things-tab.is-active::after {
  transform: scaleX(1);
}

.things-tab:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 4px;
}

.things-panels {
  position: relative;
}

.things-panel {
  position: relative;
  padding-top: 6px;
  animation: things-panel-in 260ms ease-out;
}

.things-panel[hidden] {
  display: none !important;
}

@keyframes things-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.things-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.things-card {
  position: relative;
  background: #f4f4f1;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  padding: 14px;
}

.things-card > * {
  position: relative;
  z-index: 2;
}

.things-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/things-to-do/frames/square-frame.svg") center / 100% 100%
    no-repeat;
  pointer-events: none;
  z-index: 1;
}

.things-card--square-wide::before {
  background: url("images/things-to-do/frames/square-frame-wide.svg") center / 100% 100%
    no-repeat;
}

.things-card::after {
  content: none;
}

.things-card--text-only {
  background: linear-gradient(180deg, #f4f4f1 0%, #f1f2ef 100%);
}

.things-card--ornate {
  padding: 12px;
  background: transparent;
}

.things-card--ornate-hevre::before {
  inset: 0;
  background: url("images/things-to-do/frames/ornate-frame-hevre.svg") center /
    100% 100% no-repeat;
}

.things-card--ornate-miod::before {
  inset: 0;
  background: url("images/things-to-do/frames/ornate-frame-miod.svg") center /
    100% 100% no-repeat;
}

.things-card--ornate-drink::before {
  inset: 0;
  background: url("images/things-to-do/frames/ornate-frame-drink.svg") center /
    100% 100% no-repeat;
}

.things-card--ornate-do::before {
  inset: 0;
  background: url("images/things-to-do/frames/ornate-frame-mercy.svg") center /
    100% 100% no-repeat;
}

.things-card-image {
  display: block;
  max-width: 100%;
  background: transparent;
}

.things-card-image--banner {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
  border: 1px solid rgba(89, 74, 49, 0.2);
  background: #eeeae2;
}

.things-card-image--icon {
  width: clamp(56px, 14vw, 88px);
  height: auto;
  object-fit: contain;
  margin: 6px auto 0;
}

.things-card-image--icon-compact {
  width: clamp(40px, 8vw, 60px);
}

.things-card-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
}

.things-card--ornate .things-card-body {
  padding: 22px 24px 24px;
}

.things-card-title {
  margin: 0;
  font-family: "Alex Brush", var(--font-script);
  font-size: clamp(1.38rem, 2.35vw, 1.78rem);
  line-height: 1.04;
  color: #2f2922;
}

.things-card-address {
  margin: 0;
  color: #534a3f;
  font-size: clamp(0.88rem, 1.26vw, 0.98rem);
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.things-card-description {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.84rem, 1.08vw, 0.94rem);
  line-height: 1.52;
  color: #2a241e;
  max-width: 30ch;
}

.things-grid--drink .things-card-description {
  line-height: 1.45;
}

.things-grid--drink .things-card-body {
  padding: 14px 18px 16px;
  gap: 8px;
}

.things-grid--drink .things-card-image--icon,
.things-grid--drink .things-mini-media {
  margin-top: auto;
  margin-bottom: auto;
}

.things-grid--drink .things-card-map {
  margin-top: 0;
}

.things-grid--drink .things-card--ornate-drink .things-card-body {
  padding-top: 36px;
}

.things-grid--drink .things-card-title,
.things-grid--do .things-card-title {
  font-size: clamp(1.18rem, 1.95vw, 1.52rem);
}

.things-grid--drink .things-card--ornate-drink .things-card-title {
  font-size: clamp(1.02rem, 1.6vw, 1.26rem);
  line-height: 1.06;
}

.things-grid--drink .things-card-address,
.things-grid--do .things-card-address {
  font-size: clamp(0.82rem, 1.06vw, 0.9rem);
  line-height: 1.36;
}

.things-grid--drink .things-card-description,
.things-grid--do .things-card-description {
  font-size: clamp(0.76rem, 0.96vw, 0.84rem);
  line-height: 1.38;
  max-width: 28ch;
}

.things-grid--eat .things-card--ornate-hevre .things-card-description,
.things-grid--eat .things-card--ornate-miod .things-card-description {
  max-width: 45ch;
  width: 95%;
}

.things-grid--eat .things-card--ornate-hevre .things-card-image--banner,
.things-grid--eat .things-card--ornate-miod .things-card-image--banner {
  aspect-ratio: 4 / 1;
  object-position: center;
}

.things-card-description a {
  color: inherit;
  text-underline-offset: 2px;
}

.things-card-tip {
  margin: 0;
  font-size: clamp(0.88rem, 1.18vw, 0.96rem);
  line-height: 1.45;
  color: #53493f;
  font-style: italic;
}

.things-card-map {
  order: 99;
  margin-top: auto;
  padding-top: 12px;
  display: inline-block;
  width: fit-content;
  color: #403226;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: clamp(0.84rem, 1.14vw, 0.93rem);
}

.things-card-map:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 2px;
}

.things-beyond-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 6px;
  text-align: left;
  align-self: stretch;
}

.things-beyond-list li {
  margin: 0;
  font-size: clamp(0.88rem, 1.16vw, 0.95rem);
  line-height: 1.45;
}

.things-beyond-list a {
  color: inherit;
  text-underline-offset: 2px;
}

.things-mini-media {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.things-mini-media img {
  width: auto;
  max-width: 100%;
  max-height: clamp(50px, 8vw, 82px);
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.things-mini-media--wide img:first-child {
  max-height: clamp(50px, 7vw, 76px);
}

.things-mini-media--beyond {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "mount cave"
    "salt mine";
  align-items: end;
  justify-items: center;
  gap: 6px 8px;
  width: min(86%, 280px);
  margin: 8px auto 0;
}

.things-mini-media--beyond img:nth-child(1) {
  grid-area: mount;
  max-height: 82px;
}

.things-mini-media--beyond img:nth-child(2) {
  grid-area: cave;
  max-height: 86px;
}

.things-mini-media--beyond img:nth-child(3) {
  grid-area: mine;
  max-height: 74px;
  margin-left: -80px;
  z-index: 2;
}

.things-mini-media--beyond img:nth-child(4) {
  grid-area: salt;
  max-height: 44px;
  margin-right: -80px;
  margin-bottom: -2px;
  z-index: 3;
}

.things-grid--do .things-card > .things-card-image--banner {
  width: calc(100% - 34px);
  margin: 24px auto 8px;
  aspect-ratio: 2.2 / 1;
  max-height: 122px;
}

.things-grid--do .things-card--wide > .things-card-image--banner {
  width: calc(100% - 34px);
  margin-top: 46px;
  max-height: 132px;
}

.things-grid--do .things-card--ornate-do .things-card-body {
  padding-top: 24px;
}

.things-grid--do .things-card--ornate-do .things-card-image--banner {
  width: calc(100% - 44px);
  margin-top: 6px;
  max-height: 118px;
}

.things-grid--do .things-card--ornate-do .things-mini-media--beyond {
  margin-top: 14px;
}

@media (min-width: 1025px) {
  .things-grid--eat,
  .things-grid--drink,
  .things-grid--do {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .things-grid--eat > .things-card,
  .things-grid--drink > .things-card,
  .things-grid--do > .things-card {
    grid-column: span 2;
  }

  .things-grid--eat .things-card--wide,
  .things-grid--drink .things-card--wide,
  .things-grid--do .things-card--wide {
    grid-column: span 3;
  }

  .things-grid--eat .things-card {
    height: 438px;
    aspect-ratio: auto;
  }

  .things-grid--drink .things-card,
  .things-grid--do .things-card {
    height: auto;
    aspect-ratio: 306 / 452;
  }

  .things-grid--eat .things-card--square-wide {
    width: 104%;
    justify-self: center;
  }

  .things-grid--eat .things-card--wide,
  .things-grid--drink .things-card--wide {
    aspect-ratio: 1 / 1;
  }

  .things-grid--drink .things-card--ornate-drink.things-card--wide {
    aspect-ratio: 500 / 480;
  }

  .things-grid--eat .things-card--ornate-hevre,
  .things-grid--eat .things-card--ornate-miod {
    height: 438px;
    width: 102%;
    justify-self: center;
    aspect-ratio: auto;
  }

  .things-grid--do .things-card--wide {
    aspect-ratio: 507 / 500;
  }

  .things-grid--eat .things-card-image--banner {
    aspect-ratio: 2.75 / 1;
  }
}

@media (max-width: 1024px) {
  .things-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .things-tablist--bottom {
    display: flex;
    margin: 24px auto 0;
    padding: 16px 0 4px;
    border-top: 1px solid rgba(47, 36, 23, 0.16);
  }

  .things-tab {
    letter-spacing: 0.12em;
    font-size: clamp(0.94rem, 4.3vw, 1.08rem);
  }

  .things-do-decor {
    display: none;
  }

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

  .things-card-title {
    font-size: clamp(1.74rem, 9vw, 2.2rem);
  }

  .things-card-image--banner {
    aspect-ratio: 2.05 / 1;
  }

  .things-mini-media img {
    max-height: 78px;
  }
}

.section-dresscode {
  padding: 0 0 90px;
  background: #fff;
}

.dresscode-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.dresscode-hero {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.dresscode-hero-image {
  width: 100%;
  height: clamp(560px, 82vh, 980px);
  object-fit: cover;
  filter: sepia(0.32) grayscale(0.35) contrast(1.05);
}

.dresscode-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.3) 58%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.dresscode-title {
  position: absolute;
  left: 50%;
  bottom: clamp(220px, 40vh, 400px);
  transform: translateX(-50%);
  width: 100%;
  font-family: "Kuenstler Script", var(--font-script);
  font-size: clamp(44px, 10vw, 164px);
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
  margin: 0;
  z-index: 2;
  text-align: center;
  line-height: 0.9;
  white-space: nowrap;
}

.dresscode-arc {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -80px;
  z-index: 3;
  background: #fff;
  border-radius: 0;
  padding: 0 34px 36px;
  box-shadow: none;
  overflow: visible;
}

.dresscode-arc::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 0.5' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q0.5,0.5 1,0 L1,0.5 L0,0.5 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center/cover;
}

.dresscode-arc::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: min(62%, 480px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.75), transparent);
  border-radius: 999px;
}

.dresscode-arc-content {
  text-align: center;
  margin: 0 auto;
  padding-top: 84px;
  position: relative;
  z-index: 1;
}

.dresscode-subtitle {
  font-family: var(--font-script);
  font-size: clamp(25px, 3.5vw, 40px);
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.4;
}

.dresscode-layout {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.dresscode-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5vw;
}

.dresscode-description {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  max-width: 100%;
}

.dresscode-description strong {
  color: var(--ink);
  font-weight: 400;
}

.dresscode-moodboard {
  margin: 0;
  text-align: center;
}

.dresscode-moodboard-inline {
  display: block;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 3vw;
}

.dresscode-moodboard-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  margin: -2% 0;
}

.dresscode-moodboard-tint {
  display: none;
}

.dresscode-moodboard-image {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: brightness(1.14) saturate(1.06) contrast(1.02);
}

.dresscode-moodboard-caption {
  margin: 2em 0 -2em;
  padding: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.8125rem, 1.8vw, 1.0625rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .section-dresscode {
    padding: 0 0 64px;
  }

  .dresscode-hero {
    border-radius: 0;
  }

  .dresscode-hero-image {
    height: clamp(430px, 72vh, 700px);
  }

  .dresscode-title {
    font-size: clamp(34px, 11vw, 58px);
    bottom: clamp(122px, 20vh, 220px);
  }

  .dresscode-arc {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -94px;
    border-radius: 0;
    padding: 0 16px 24px;
  }

  .dresscode-arc::before {
    top: -94px;
    height: 94px;
  }

  .dresscode-arc-content {
    padding-top: 66px;
  }

  .dresscode-subtitle {
    font-size: clamp(24px, 8.4vw, 34px);
  }

  .dresscode-copy {
    gap: 0.625rem;
  }

  .dresscode-description {
    font-size: clamp(0.9375rem, 3.8vw, 1.125rem);
    line-height: 1.65;
  }

  .dresscode-moodboard-inline {
    max-width: 90vw;
    margin: 0 auto 3vw;
    padding: 0.75rem;
  }

  .dresscode-moodboard-caption {
    margin: 1.2em 0 0.45em;
  }
}

@media (max-width: 560px) {
  .dresscode-layout {
    max-width: 90vw;
  }
}

.faq-list {
  width: min(96vw, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  justify-items: stretch;
}

.faq-item {
  display: block;
  padding: 14px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  cursor: pointer;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: block;
  position: relative;
  padding-right: 1.75rem;
  width: 100%;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.35;
  color: var(--ink);
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-inline-link {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.faq-inline-link:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 2px;
}

.gallery-placeholder {
  position: relative;
  width: min(94vw, 980px);
  margin: 8px auto 0;
}

#section-gallery {
  background-image: url("images/home/rsvp-scene-background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section-gallery .section-title {
  color: #fff;
  font-family: "Kuenstler Script", var(--font-script);
  font-size: clamp(44px, 10vw, 164px);
  letter-spacing: 1px;
  line-height: 0.9;
  font-weight: 400;
}

.gallery-placeholder-frame {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-placeholder-content {
  position: absolute;
  top: 52%;
  left: 50%;
  width: min(62%, 540px);
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--ink);
}

.gallery-placeholder-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.1vw, 2rem);
  font-weight: 400;
  line-height: 1.16;
}

.gallery-placeholder-subtitle {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.55vw, 1.4rem);
  font-weight: 400;
  line-height: 1.25;
}

.gallery-placeholder-message {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.22vw, 1.18rem);
  line-height: 1.3;
  font-weight: 400;
}

@media (max-width: 900px) {
  .gallery-placeholder {
    width: min(96vw, 760px);
  }

  .gallery-placeholder-content {
    width: min(68%, 420px);
    top: 52%;
  }
}

@media (max-width: 600px) {
  #section-gallery.section {
    padding-top: 34px;
  }

  #section-gallery .section-title {
    font-size: clamp(34px, 11vw, 58px);
    margin-bottom: 24px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
  }

  .gallery-placeholder {
    width: min(96vw, 420px);
  }

  .gallery-placeholder-content {
    width: min(70%, 292px);
    top: 52%;
  }

  .gallery-placeholder-title {
    margin-bottom: 0.28rem;
    font-size: clamp(0.78rem, 3.85vw, 1rem);
    line-height: 1.08;
  }

  .gallery-placeholder-subtitle {
    margin-bottom: 0.36rem;
    font-size: clamp(0.72rem, 3.4vw, 0.9rem);
    line-height: 1.08;
  }

  .gallery-placeholder-message {
    font-size: clamp(0.58rem, 2.85vw, 0.78rem);
    line-height: 1.08;
  }
}

@media (max-width: 360px) {
  .gallery-placeholder-content {
    width: 68%;
  }

  .gallery-placeholder-message {
    font-size: clamp(0.56rem, 2.75vw, 0.7rem);
  }
}

.rsvp-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.rsvp-form > div {
  display: grid;
  gap: 8px;
}

.rsvp-form > div[hidden] {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.option-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.option-row input[type="radio"] {
  width: auto;
  margin: 0;
}

.form-stack {
  gap: 12px;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.message-toggle {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  margin: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-size: var(--text-md);
}

textarea {
  resize: vertical;
}

.submit-button {
  background: #85A18D;
  color: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 14px 20px;
  font-weight: 400;
  cursor: pointer;
}

.site-footer {
  background: var(--soft);
  text-align: center;
  padding: 40px 16px 60px;
  font-family: var(--font-sans);
  position: relative;
  z-index: 10;
  margin-top: auto;
  flex-shrink: 0;
}

.site-footer .footer-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.site-footer .footer-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .section.is-active {
    animation: none;
  }

  .section-title.write-once,
  .section-title.is-writing,
  .gifts-note-heading.write-once,
  .gifts-note-heading.is-writing {
    animation: none;
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  .hero-track {
    animation: none;
    transform: translateX(var(--hero-offset, 0px));
  }

  .monogram-amp {
    animation: none;
    transform: translate(-50%, -56%);
  }

  .amp-reveal {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .amp-base {
    mask: none;
  }

  .highlight-series-image-frame,
  .highlight-series-map-frame,
  .highlight-series-content-col {
    animation: none;
    transition: none;
  }
}

/* Couple Carousel */
.couple-carousel {
  margin: 80px auto;
  max-width: 100%;
  position: relative;
}

.couple-carousel-container {
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.couple-carousel-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.couple-carousel-track {
  display: flex;
}

.couple-carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  background: var(--soft);
  min-height: 400px;
  scroll-snap-align: start;
}

.couple-carousel-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.couple-carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.couple-carousel-content {
  padding: 32px 40px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.couple-carousel-title {
  font-family: var(--font-script);
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  color: var(--ink);
}

.couple-carousel-text {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Navigation */
.couple-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.couple-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.couple-carousel-dot.is-active {
  background: var(--ink);
  transform: scale(1.2);
}

/* Hover effects */
.couple-carousel-slide:hover .couple-carousel-image img {
  transform: scale(1.05);
}

/* Active slide transition */
.couple-carousel-slide.is-active .couple-carousel-image img {
  opacity: 1;
}

.couple-carousel-slide:not(.is-active) .couple-carousel-image img {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .couple-carousel {
    margin: 48px auto;
  }

  .couple-carousel-content {
    padding: 24px 20px;
  }

  .couple-carousel-title {
    font-size: 24px;
  }

  .couple-carousel-text {
    font-size: 16px;
  }

  .couple-carousel-nav {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .couple-carousel-slide {
    min-height: 320px;
  }

  .couple-carousel-image {
    aspect-ratio: 4 / 3;
  }
}
