@font-face {
  font-family: "Averia Serif";
  src: url("assets/fonts/AveriaSerif-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Averia Serif";
  src: url("assets/fonts/AveriaSerif-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Averia Serif";
  src: url("assets/fonts/AveriaSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Averia Serif";
  src: url("assets/fonts/AveriaSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Averia Serif";
  src: url("assets/fonts/AveriaSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Chapter Twelve";
  src: url("assets/fonts/ChapterTwelve.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --wine: #7b0b32;
  --wine-dark: #650527;
  --olive: #767e56;
  --olive-light: #939b72;
  --paper: #f8f4eb;
  --cream: #f3ecdf;
  --ink: #73102f;
  --header-h: 55px;
  --shadow: 0 18px 45px rgba(50, 37, 23, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Averia Serif", Georgia, serif;
  background: var(--paper);
  font-size: 16px;
  overflow-x: hidden;
}
p {
  font-weight: 300;
}
button,
a {
  font: inherit;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.paper-bg {
  background-color: var(--paper);
  background-image: url("assets/images/paper.avif");
  background-size: 720px auto;
}
.pattern-section {
  background-color: #89916d;
  background-image:
    linear-gradient(rgba(111, 120, 82, 0.17), rgba(111, 120, 82, 0.17)),
    url("assets/images/green-pattern.webp");
  background-size: 80%;
}
.burgundy-section {
  background-color: var(--wine);
  background-image: url("assets/images/burgundy.webp");
  background-size: cover;
  background-position: center;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(45, 0, 17, 0.16);
}
.site-nav {
  width: min(1480px, 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 36px;
  gap: 24px;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: clamp(0.6rem, 0.85vw, 1.06rem);
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 0.76;
  transform: translateY(-1px);
}
.mobile-brand,
.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: clamp(110px, 12vw, 170px) 0 0;
}
.hero-corner {
  position: absolute;
  top: 0;
  width: min(33vw, 400px);
  pointer-events: none;
}
.hero-corner--left {
  left: -2px;
}
.hero-corner--right {
  right: -2px;
  transform: scaleX(-1);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1020px, 82vw);
  text-align: center;
}
.hero-date {
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.035em;
  margin: 0 0 20px;
}
.hero-date span {
  padding: 0 0.35em;
}
.hero h1,
.couple-name {
  font-family: "Chapter Twelve", cursive;
  color: var(--olive);
  font-weight: 400;
  margin: 0;
  line-height: 0.92;
}
.hero h1 {
  font-size: clamp(4.8rem, 7vw, 9.7rem);
}
.hero-intro {
  margin: clamp(54px, 7vw, 92px) 0 28px;
  font-size: clamp(1rem, 1.4vw, 1.72rem);
}
.hero-intro p {
  margin: 0;
}
.hero-intro strong {
  display: block;
  color: var(--olive);
  font-size: 1.8em;
  letter-spacing: 0.05em;
  font-weight: 400;
  padding-bottom: 1rem;
}
.hero-message {
  font-size: clamp(1rem, 1vw, 1.35rem);
  line-height: 1.32;
  margin: 0 auto;
  width: min(700px, 100%);
}
.hero-landscape {
  display: block;
  width: 120%;
  max-width: none;
  height: auto;
  margin-top: -15rem;
  object-fit: contain;
  position: relative;
  top: 200px;
  z-index: 0;
  flex: 0 0 auto;
}

.invitation-section {
  padding: clamp(70px, 8vw, 120px) clamp(20px, 8vw, 120px)
    clamp(80px, 8vw, 120px);
}
.invitation-card {
  position: relative;
  width: min(1350px, 100%);
  min-height: 790px;
  margin: 0 auto 135px;
  padding: 74px 8% 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: start;
}
.parents-title {
  font-family: "Chapter Twelve";
  font-size: clamp(2rem, 2.7vw, 5rem);
  font-weight: 400;
  text-align: center;
  margin: 12px 0;
  color: var(--wine);
}
.parents {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--olive);
  font-size: clamp(0.8rem, 1.2vw, 1.3rem);
  line-height: 1.35;
}
.parents b {
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 10px;
  font-size: 0.9em;
}
.invitation-main {
  grid-column: 1/-1;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 100px;
}
.couple-name {
  font-size: clamp(5rem, 6.5vw, 9rem);
}
.wedding-date {
  font-size: clamp(1rem, 2vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 28px 0 28px;
}
.wedding-date span {
  font-size: 0.6em;
  padding: 0 0.22em;
}
.venue {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: var(--olive);
  line-height: 1.25;
  margin-bottom: 16px;
}
.guests-art {
  grid-column: 1/-1;
  width: min(980px, 100%);
  justify-self: center;
  align-self: end;
  margin-top: 30px;
  position: relative;
  top: 60px;
  z-index: 1;
}
.pill-button,
.soft-button,
.stamp-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
  padding: 9px 34px;
  min-width: 160px;
  background: var(--wine);
  color: #fff;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .pill-button:hover,
  .pill-button:focus-visible {
    background-color: var(--olive);
    transform: scale(1.035);
  }
  .soft-button:hover,
  .soft-button:focus-visible,
  .stamp-button:hover,
  .stamp-button:focus-visible {
    background-color: var(--wine);
    transform: scale(1.035);
  }
  .stamp-card--wine .stamp-button:hover,
  .stamp-card--wine .stamp-button:focus-visible,
  .stamp-card__back--wine .stamp-button:hover,
  .stamp-card__back--wine .stamp-button:focus-visible {
    background-color: var(--olive);
  }
}
.swipe-hint {
  display: none;
  color: #fff;
  text-align: center;
  font-style: italic;
  margin: 0 0 18px;
}
.event-cards {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 70px);
}
.flip-card {
  height: auto;
  aspect-ratio: 372.589 / 467.926;
  perspective: 1500px;
  min-width: 0;
}
.flip-card__inner {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}
.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-image: url("assets/images/card-frame.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 76px 46px 52px;
  text-align: center;
}
.flip-card__front h3 {
  font-family: "Chapter Twelve";
  font-weight: 400;
  color: var(--olive);
  font-size: clamp(3.1rem, 4.4vw, 5rem);
  line-height: 0.85;
  margin: 0 0 28px;
}
.flip-card__front img {
  width: auto;
  height: 220px;
  max-width: 60%;
  object-fit: contain;
  margin: auto;
}
.flip-card__front .pill-button {
  margin-top: 25px;
}
.flip-card__back {
  transform: rotateY(180deg);
  justify-content: center;
  padding: 72px 58px;
}
.flip-card__back h3 {
  font-family: "Chapter Twelve";
  font-weight: 400;
  color: var(--olive);
  font-size: 4rem;
  margin: 0 0 18px;
}
.flip-card__back p {
  color: var(--olive);
  font-size: 1.1rem;
  line-height: 1.35;
}
.flip-card__back--dress {
  justify-content: flex-start;
  padding: 13% 15% 9%;
}
.dress-code-copy {
  width: 100%;
  color: var(--wine);
  text-align: left;
}
.dress-code-copy h4 {
  color: var(--olive);
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.dress-code-copy p {
  color: var(--wine);
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.28;
  margin: 0 0 clamp(24px, 3vw, 42px);
}
.dress-code-copy .dress-code-note {
  margin: clamp(28px, 4vw, 50px) 0 0;
  text-align: center;
}
.flip-card__back--dress .pill-button {
  flex: 0 0 auto;
  margin-top: auto;
}
.pending-label {
  font-style: italic;
  font-size: 0.92rem;
  margin: 8px 0 28px;
}

.travel-section {
  min-height: 780px;
  background: #8b9270 url("assets/images/green-texture.webp") center/cover
    no-repeat;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  color: #fff;
  padding: 70px 6vw 55px 0;
  overflow: hidden;
}
.travel-art {
  align-self: end;
  width: 160%;
  margin-left: -70%;
  margin-bottom: 70px;
}
.travel-art img {
  width: 100%;
  max-width: none;
  max-height: 650px;
  object-fit: contain;
  object-position: left bottom;
}
.travel-content {
  width: min(620px, 90%);
  justify-self: center;
}
.travel-content h2,
.lodging-section h2 {
  font-family: "Chapter Twelve";
  font-size: clamp(4.5rem, 5vw, 8rem);
  font-weight: 300;
  margin: 0;
  line-height: 0.86;
}
.travel-content > p {
  font-family: "Averia Serif", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.35;
  margin: 24px 0 55px;
  max-width: 540px;
}
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
}
.accordion-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 17px 10px;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  cursor: pointer;
}
.plus {
  font-size: 2rem;
  font-weight: 300;
  transition: transform 0.25s;
}
.accordion-item button[aria-expanded="true"] .plus {
  transform: rotate(45deg);
}
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.accordion-panel p {
  overflow: hidden;
  margin: 0;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}
.accordion-item.is-open .accordion-panel p {
  padding-bottom: 17px;
}

.lodging-section {
  color: #fff;
  padding: 42px;
}
.section-frame {
  border: 2px solid rgba(255, 255, 255, 0.9);
  min-height: 690px;
  padding: 80px 8%;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.lodging-section h2 {
  font-size: clamp(4.5rem, 6vw, 8.5rem);
}
.section-intro {
  max-width: 760px;
  margin: 58px auto 90px;
  font-size: 1.17rem;
  line-height: 1.35;
}
.lodging-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  align-items: start;
}
.lodging-grid h3 {
  font-style: italic;
  font-size: 1.25rem;
  margin: 0 0 14px;
  min-height: 58px;
}
.lodging-grid h3 b {
  font-weight: 700;
}
.soft-button {
  background: var(--olive-light);
  min-width: 190px;
}

.recommendations {
  padding: 100px 7vw;
}
.recommendations-paper {
  position: relative;
  width: min(1380px, 100%);
  margin: auto;
  padding: 80px 8% 110px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.recommendations-gifts-pattern {
  background-color: #89916d;
  background-image:
    linear-gradient(rgba(111, 120, 82, 0.17), rgba(111, 120, 82, 0.17)),
    url("assets/images/green-pattern.webp");

  background-size: 70%;
  background-repeat: repeat;
}
.food-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  align-items: center;
}
.food-art {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.food-title {
  width: min(510px, 95%);
  margin-bottom: -20px;
}
.beagle {
  width: min(420px, 90%);
  position: relative;
  top: 60px;
}
.food-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px 55px;
  text-align: center;
  color: var(--olive);
}
.food-list > div:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
}
.food-list h3 {
  font-size: 1.4rem;
  font-style: italic;
  margin: 0 0 14px;
}
.food-list h3 small {
  font-size: 0.88em;
  font-weight: 400;
}
.places-heading {
  display: flex;
  justify-content: flex-end;
  margin: 60px 6% 45px;
}
.places-heading img {
  width: min(560px, 50%);
}
.place-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}
.stamp-card {
  height: auto;
  aspect-ratio: 238.518 / 290.217;
  perspective: 1400px;
  min-width: 0;
}
.stamp-card__inner {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stamp-card.is-flipped .stamp-card__inner {
  transform: rotateY(180deg);
}
.stamp-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--olive);
}
.stamp-card__front > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}
.stamp-card__front h3 {
  margin: 46% 20px 8px;
  font-style: italic;
  font-size: clamp(0.72rem, 1.08vw, 1rem);
  line-height: 1.25;
}
.stamp-button {
  height: 25px;
  min-width: 135px;
  padding: 7px 24px;
  background: var(--olive);
  font-size: 0.8rem;
}
.stamp-card--wine .stamp-button {
  background: var(--wine);
}
.stamp-card__back {
  transform: rotateY(180deg);
  overflow: hidden;
  padding: 14% 13% 12%;
}
.stamp-back-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.stamp-back-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stamp-card__back h3 {
  font-size: clamp(0.88rem, 1.15vw, 1.12rem);
  font-style: italic;
  line-height: 1.12;
  margin: 0 0 9px;
}
.stamp-card__back p {
  font-size: clamp(0.68rem, 0.83vw, 0.82rem);
  line-height: 1.22;
  margin: 0 0 12px;
}
.stamp-card__back--wine {
  color: var(--wine);
}
.stamp-card__back--wine .stamp-button {
  background: var(--wine);
}
.stamp-return {
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 0.72rem;
  font-style: italic;
  margin-top: 8px;
  padding: 2px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.passport-stamp {
  position: absolute;
  width: 300px;
  left: 1.5%;
  bottom: 365px;
  opacity: 0.2;
  transform: rotate(11deg);
}
.adventure-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.45rem;
  margin: 90px 0 45px;
}
.adventure-title em {
  font-family: "Chapter Twelve";
  text-transform: none;
  color: var(--olive);
  font-size: 2.4em;
  vertical-align: -0.2em;
  position: relative;
  top: -10px;
}
.hiking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
  gap: 80px;
  text-align: center;
}
.hiking-grid h3 {
  font-size: 1.35rem;
  font-style: italic;
  margin: 0 0 12px;
}
.hiking-grid p {
  color: var(--olive);
  min-height: 52px;
  line-height: 1.25;
}

.gifts-wrapper {
  padding: 95px 7vw;
}
.gifts-section {
  width: min(1380px, 100%);
  min-height: 650px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: #fff;
  padding: 70px 11%;
  box-shadow: var(--shadow);
}
.gift-copy {
  text-align: center;
}
.gift-copy > img {
  width: min(450px, 75%);
  margin: 0 auto 50px;
}
.gift-copy > p {
  font-size: 1.15rem;
  line-height: 1.35;
}
.gift-copy dl {
  margin: 65px auto 0;
  width: 220px;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}
.gift-copy dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 17px 0;
}
.gift-copy dd {
  margin: 0;
}
.terrier {
  width: min(500px, 100%);
  justify-self: center;
}

.rsvp-section {
  padding: 170px 20px 120px;
}
.rsvp-card {
  position: relative;
  width: min(850px, 92vw);
  min-height: 880px;
  margin: auto;
  padding: 105px 50px 65px;
  text-align: center;
  box-shadow: var(--shadow);
}
.clip {
  position: absolute;
  width: 290px;
  left: 50%;
  top: -147px;
  transform: translateX(-50%);
  z-index: 2;
}
.rsvp-card h2 {
  color: var(--wine);
  font-weight: 400;
  margin: 0 0 50px;
  line-height: 0.75;
}
.rsvp-card h2 span {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-family: "Averia Serif";
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rsvp-card h2 strong {
  display: block;
  font-family: "Chapter Twelve";
  font-size: clamp(4.6rem, 7vw, 7rem);
  font-weight: 400;
  text-transform: none;
}
.guest-name {
  text-transform: uppercase;
  font-size: 1.8rem;
  margin: 0;
}
.guest-passes {
  font-size: 2rem;
  color: var(--olive);
  margin: 6px 0 60px;
}
.rsvp-question h3 {
  font-size: 1.85rem;
  margin: 0;
}
.rsvp-question p {
  margin: 4px 0 32px;
}
.rsvp-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rsvp-options button {
  min-height: 205px;
  border: 1.5px solid var(--wine);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 25px 25px 20px;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.rsvp-options button:hover {
  transform: translateY(-3px);
}
.rsvp-options button.is-selected {
  background: rgba(123, 11, 50, 0.08);
  box-shadow: 0 0 0 3px rgba(123, 11, 50, 0.16);
}
.rsvp-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 25px;
}
.rsvp-options b {
  color: var(--olive);
  font-size: 1.2rem;
  line-height: 1.05;
}
.rsvp-options em {
  font-size: 0.9rem;
  margin-top: 10px;
}
.rsvp-feedback {
  min-height: 24px;
  font-weight: 700;
  margin: 22px 0 0;
}
.rsvp-deadline {
  margin: 22px 0 28px;
}
.adults-only {
  font-size: 1.08rem;
}

.closing {
  text-align: center;
  padding: 80px 0 0;
  overflow: hidden;
}
.countdown p {
  font-family: "Chapter Twelve";
  font-size: 3rem;
  margin: 70px 0 5px;
}
.countdown-numbers {
  color: var(--olive);
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
}
.countdown-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(560px, 80vw);
  margin: 7px auto 125px;
  color: var(--olive);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.closing-message {
  width: min(900px, 82vw);
  margin: 0 auto 25px;
  color: var(--olive);
  font-size: 1.35rem;
  line-height: 1.35;
}
.signature {
  font-size: 1.8rem;
  margin: 35px 0 95px;
}
.closing-mark {
  display: grid;
  grid-template-columns: max-content minmax(180px, 260px) max-content;
  column-gap: clamp(30px, 2.5vw, 180px);
  align-items: center;
  justify-content: center;
  width: min(1200px, 92vw);
  margin: 0 auto 50px;
  font-size: 1.45rem;
  font-weight: 700;
}

.closing-mark > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  white-space: nowrap;
}

.closing-mark img {
  width: 100%;
  margin: 0;
}
.closing-landscape {
  display: block;
  width: 120%;
  max-width: none;
  height: 33.06vw;
  object-fit: cover;
  object-position: center top;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -100px;
  margin-bottom: 0;
}
.closing + footer {
  margin-top: 0;
}
footer {
  background: var(--olive);
  color: #fff;
  text-align: center;
  padding: 25px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.toast {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  background: #fff;
  color: var(--wine);
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  max-width: min(90vw, 560px);
  text-align: center;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  :root {
    --header-h: 62px;
  }
  .site-header {
    justify-content: space-between;
    padding: 0 20px;
  }
  .mobile-brand {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: "Chapter Twelve";
    font-size: 2.4rem;
    line-height: 1;
  }
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
  }
  .menu-toggle span {
    height: 2px;
    background: #fff;
    width: 100%;
    transition: 0.25s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: var(--wine);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px;
    gap: 0;
    transition:
      max-height 0.4s ease,
      padding 0.4s ease;
  }
  .site-nav.is-open {
    max-height: calc(100svh - var(--header-h));
    padding: 12px 24px 24px;
    overflow-y: auto;
  }
  .site-nav a {
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
  }
  .hero {
    min-height: 0;
    padding-top: clamp(85px, 12vw, 120px);
  }
  .hero-landscape {
    width: 120%;
    margin-top: -225px;
    position: relative;
    top: 200px;
  }
  .invitation-card {
    min-height: 720px;
  }
  .event-cards {
    gap: 25px;
  }
  .flip-card {
    height: auto;
  }
  .flip-card__face {
    padding: 15% 10% 10%;
  }
  .flip-card__front h3 {
    font-size: clamp(2.35rem, 4.4vw, 3.5rem);
    margin-bottom: 12px;
  }
  .flip-card__front img {
    height: 38%;
    max-height: 180px;
  }
  .flip-card__front .pill-button {
    margin-top: 12px;
  }
  .flip-card__back:not(.flip-card__back--dress) h3 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
  }
  .flip-card__back:not(.flip-card__back--dress) p {
    font-size: clamp(0.82rem, 1.35vw, 1rem);
  }
  .travel-section {
    min-height: 650px;
  }
  .travel-art {
    width: 135%;
    margin-left: -40%;
  }
  .lodging-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 50px;
  }
  .recommendations-paper {
    padding-left: 5%;
    padding-right: 5%;
  }
  .place-cards {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
  }
  .stamp-card {
    height: auto;
  }
  .stamp-card__front h3 {
    margin-top: 46%;
  }
  .rsvp-card {
    width: min(850px, 95vw);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: 84px 0 0;
  }

  .hero-corner {
    width: 52vw;
    top: 0;
  }
  .hero-copy {
    width: 90vw;
  }
  .hero h1 {
    font-size: clamp(4.2rem, 15vw, 6.3rem);
  }
  .hero-date {
    margin-top: 100px;
    font-size: clamp(1rem, 2vw, 1.6rem);
  }
  .hero-date span {
    display: none;
  }
  .hero-intro {
    margin-top: 48px;
  }
  .hero-intro strong {
    font-size: 1.22em;
  }
  .hero-message {
    font-size: 1rem;
    width: 70%;
  }
  .hero-landscape {
    width: 190%;
    margin-top: -115px;
    position: relative;
    top: 100px;
  }
  .invitation-section {
    padding: 55px 18px 70px;
  }
  .invitation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 45px 22px 0;
    margin-bottom: 62px;
  }
  .parents-title {
    order: -2;
    font-size: 3.5rem;
    margin-bottom: 30px;
  }
  .parents {
    width: 100%;
    margin-bottom: 24px;
  }
  .parents--bride {
    order: -1;
  }
  .parents--groom {
    order: 0;
  }
  .invitation-main {
    order: 1;
    margin-top: 20px;
  }
  .couple-name {
    font-size: 4.4rem;
  }
  .wedding-date {
    font-size: 1.65rem;
  }
  .guests-art {
    order: 2;
    width: 125%;
    max-width: none;
    margin-top: 35px;
  }
  .pill-button,
  .soft-button {
    min-width: 145px;
  }
  .swipe-hint {
    display: block;
  }
  .carousel-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding: 5px 11vw 18px;
    margin-left: -18px;
    margin-right: -18px;
    scrollbar-width: none;
  }
  .carousel-row::-webkit-scrollbar {
    display: none;
  }
  .flip-card {
    flex: 0 0 78vw;
    height: auto;
    aspect-ratio: 372.589 / 467.926;
    scroll-snap-align: center;
  }
  .flip-card__front h3 {
    font-size: 3.5rem;
    margin-bottom: 12px;
  }
  .flip-card__front img {
    height: 38%;
    max-height: 145px;
  }
  .flip-card__front .pill-button {
    margin-top: 12px;
  }
  .flip-card__face {
    padding: 16% 11% 11%;
  }
  .travel-section {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 55px 0 70px;
  }
  .travel-art {
    order: 2;
    width: 115%;
    margin: 35px 0 -70px -15%;
  }
  .travel-content {
    order: 1;
    width: 86%;
  }
  .travel-content h2 {
    font-size: 4rem;
    text-align: center;
  }
  .travel-content > p {
    text-align: center;
    margin: 18px 0 38px;
    font-size: 0.95rem;
    padding: 0 3rem;
  }
  .travel-art img {
    padding-bottom: 40px;
  }
  .accordion-item button {
    font-size: 1.05rem;
  }
  .lodging-section {
    padding: 20px;
  }
  .section-frame {
    padding: 58px 24px;
    min-height: 0;
  }
  .lodging-section h2 {
    font-size: 5.4rem;
  }
  .eyebrow {
    font-size: 1.1rem;
  }
  .section-intro {
    margin: 35px auto 52px;
    font-size: 1rem;
    padding: 0 2rem;
  }
  .lodging-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .lodging-grid h3 {
    min-height: 0;
    margin-bottom: 12px;
  }
  .recommendations {
    padding: 65px 18px;
  }
  .recommendations-paper {
    padding: 55px 22px 75px;
  }
  .food-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .food-title {
    width: 65%;
  }
  .beagle {
    width: 68%;
  }
  .food-list {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .food-list > div:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }
  .places-heading {
    justify-content: center;
    margin: 70px 0 30px;
  }
  .places-heading img {
    width: 70%;
    max-width: 430px;
  }
  .place-cards {
    margin-left: -22px;
    margin-right: -22px;
    padding-left: 12vw;
    padding-right: 12vw;
  }
  .stamp-card {
    flex: 0 0 68vw;
    height: auto;
    aspect-ratio: 238.518 / 290.217;
    scroll-snap-align: center;
  }
  .stamp-card__front h3 {
    margin-top: 46%;
    font-size: clamp(0.84rem, 3.5vw, 1.06rem);
  }
  .stamp-card__back {
    padding: 14% 13% 11%;
  }
  .stamp-card__back h3 {
    font-size: clamp(0.9rem, 3.8vw, 1.08rem);
  }
  .stamp-card__back p {
    font-size: clamp(0.7rem, 2.9vw, 0.82rem);
  }
  .passport-stamp {
    width: 280px;
    bottom: 240px;
    left: -25px;
    bottom: 450px;
  }
  .adventure-title {
    font-size: 1.05rem;
    line-height: 2.1;
    margin: 65px 0 30px;
  }
  .adventure-title em {
    display: block;
    font-size: 3rem;
    line-height: 0.8;
  }
  .hiking-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hiking-grid p {
    min-height: 0;
  }
  .gifts-wrapper {
    padding: 60px 18px;
  }
  .gifts-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 60px 28px 55px;
  }
  .gift-copy > img {
    width: 55%;
    margin-bottom: 34px;
  }
  .gift-copy > p {
    font-size: 1rem;
  }
  .gift-copy dl {
    margin-top: 40px;
  }
  .terrier {
    margin-top: 30px;
    width: 88%;
  }
  .rsvp-section {
    padding: 145px 14px 80px;
  }
  .rsvp-card {
    padding: 92px 20px 50px;
    width: 90%;
  }
  .clip {
    width: 190px;
    top: -95px;
  }
  .rsvp-card h2 {
    font-size: 2rem;
    margin-bottom: 38px;
  }
  .guest-name {
    font-size: 1.4rem;
  }
  .guest-passes {
    font-size: 1.65rem;
    margin-bottom: 45px;
  }
  .rsvp-question h3 {
    font-size: 1.5rem;
  }
  .rsvp-options {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rsvp-options button {
    min-height: 140px;
    display: grid;
    grid-template-columns: 55px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-content: center;
  }
  .rsvp-icon {
    grid-row: 1/-1;
    margin: 0;
    align-self: center;
    width: 44px;
    height: 44px;
  }
  .rsvp-options b,
  .rsvp-options em {
    grid-column: 2;
  }
  .rsvp-deadline {
    margin-top: 30px;
  }
  .adults-only {
    line-height: 1.35;
  }
  .closing {
    padding-top: 60px;
  }
  .countdown p {
    font-size: 2.6rem;
  }
  .countdown-numbers {
    font-size: 2.55rem;
  }
  .countdown-labels {
    width: 86vw;
    font-size: 0.62rem;
    margin-bottom: 50px;
  }
  .closing-message {
    font-size: 1.08rem;
    width: 86vw;
    padding: 0 2rem;
  }
  .signature {
    font-size: 1.5rem;
  }
  .closing-mark {
    grid-template-columns: minmax(0, 1fr) 135px minmax(0, 1fr);
    gap: 8px;
    width: 94vw;
    font-size: clamp(0.74rem, 3.2vw, 0.95rem);
  }
  .closing-mark > span {
    white-space: normal;
    text-align: center;
  }
  .closing-landscape {
    width: 175%;
    max-width: none;
    height: 48.21vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 10px 0 0;
  }
  footer {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hero-copy {
    width: 94vw;
  }
  .hero h1 {
    font-size: clamp(3rem, 12vw, 5.3rem);
  }
  .hero-landscape {
    width: 190%;
    margin-top: -115px;
    position: relative;
    top: 100px;
  }
  .invitation-card {
    padding-left: 17px;
    padding-right: 17px;
  }
  .parents-title {
    font-size: 3rem;
  }
  .couple-name {
    font-size: 3.2rem;
  }
  .flip-card {
    flex-basis: 82vw;
  }
  .flip-card__back--dress {
    padding: 12% 13% 8%;
  }
  .dress-code-copy h4 {
    font-size: 1.18rem;
    margin-bottom: 7px;
  }
  .dress-code-copy p {
    font-size: 0.74rem;
    margin-bottom: 18px;
  }
  .dress-code-copy .dress-code-note {
    margin-top: 18px;
  }
  .flip-card__back--dress .pill-button {
    min-width: 125px;
    padding: 8px 25px;
  }
  .travel-content h2 {
    font-size: clamp(3rem, 12vw, 3.8rem);
  }
  .accordion-item button {
    gap: 14px;
  }
  .accordion-item button .plus {
    flex: 0 0 auto;
  }
  .lodging-section h2 {
    font-size: clamp(4.2rem, 20vw, 5.4rem);
  }
  .recommendations-paper {
    padding-left: 17px;
    padding-right: 17px;
  }
  .place-cards {
    margin-left: -17px;
    margin-right: -17px;
  }
  .stamp-card {
    flex-basis: 76vw;
  }
  .gifts-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
  }
  .rsvp-card h2 strong {
    font-size: clamp(4rem, 19vw, 5.4rem);
  }
  .rsvp-options button {
    padding: 20px 18px;
  }
  .countdown-numbers {
    font-size: clamp(2.05rem, 11.5vw, 2.55rem);
  }
  .closing-mark {
    grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  }
  .closing-landscape {
    width: 190%;
    height: 52.35vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
