/* All decorative surfaces are raster artwork. Transforms move the artwork; films provide scene motion. */
:root {
  --paper: #f7efe3;
  --ink: #453325;
  --ruby: #6e2838;
  --gold: #916d36;
  --muted: #786047;
  --night: #211925;
  color-scheme: light;
  font-family: 'Cormorant Garamond',Georgia,serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
body.locked {
  overflow: hidden;
}
button,input,select,textarea {
  font: inherit;
}
button,a,input,select,textarea {
  touch-action: manipulation;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: .55;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid #a86e39;
  outline-offset: 5px;
}
[hidden] {
  display: none!important;
}
h1,h2,h3,p {
  margin: 0;
}
p {
  line-height: 1.65;
}
h1,h2,h3 {
  font-weight: 400;
  line-height: 1.04;
}
h2 {
  font-size: clamp(44px,5.5vw,78px);
}
h3 {
  font-size: 40px;
}
h2 i {
  font-weight: 400;
}
section {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 0;
}
main {
  width: 100%;
  overflow: clip;
}
.label,.eyebrow,.small,.counter,.text-button,.button,.calendar-actions,.controls,.nav-menu {
  font-family: 'Jost',sans-serif;
}
.eyebrow,.label {
  font-size: 10px;
  letter-spacing: .23em;
  text-transform: uppercase;
  line-height: 1.7;
}
.eyebrow {
  color: var(--gold);
}
.small {
  font-size: 11px;
  line-height: 1.7;
}
.script {
  font-family: 'Mrs Saint Delafield',cursive;
  font-size: 46px;
  font-weight: 400;
  color: var(--ruby);
}
.text-button {
  display: inline-block;
  padding: 13px 3px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: .05em;
  text-decoration: none;
  background: transparent;
}
.text-button:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 17px 32px;
  background: var(--ruby);
  color: #fff6e8;
  font-size: 11px;
  letter-spacing: .12em;
  text-decoration: none;
}
.subtle {
  opacity: .65;
  font-size: 9px;
}
.scene {
  min-height: 100svh;
  overflow: hidden;
}
.scene-picture,.scene-art,.scene-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-picture {
  z-index: -3;
}
.scene-art {
  z-index: -2;
}
.scene-picture .scene-art {
  position: static;
}
.scene-film {
  z-index: -1;
  opacity: 0;
}
.is-playing>.scene-film,.has-played>.scene-film {
  opacity: 1;
}
.ambient-film {
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.ambient-film.ready {
  opacity: 1;
}
.chapter {
  background: #f6eddf url('assets/paper-texture.webp') center/600px;
}
.section-heading {
  text-align: center;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
.section-heading>p:not(.eyebrow) {
  font-size: 21px;
  margin: 20px auto 0;
  max-width: 440px;
}
.hero {
  text-align: center;
  min-height: 100svh;
  height: 100svh;
}
.hero-wordmark {
  position: absolute;
  top: 35px;
  left: 0;
  right: 0;
  letter-spacing: .4em;
  color: var(--ruby);
}
.hero-inner {
  position: absolute;
  top: 19%;
  left: 10%;
  right: 10%;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0 25px;
  font-size: clamp(74px,8vw,126px);
  font-style: italic;
  line-height: .9;
  color: var(--ruby);
  letter-spacing: -.04em;
}
.hero h1 em {
  font-family: 'Mrs Saint Delafield',cursive;
  font-size: .48em;
  font-weight: 400;
  line-height: .95;
  color: var(--gold);
  margin: 9px 0;
}
.hero-date {
  font-size: 20px;
  letter-spacing: .04em;
}
.hero-venue {
  font-size: 19px;
  font-style: italic;
  margin-top: 8px;
}
.hero-bottom {
  position: absolute;
  bottom: 5%;
  left: 12%;
  right: 12%;
}
.hero-bottom .script {
  font-size: 43px;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  text-decoration: none;
  color: var(--ruby);
  font-size: 25px;
}
.scroll-cue>span:first-child {
  font: 9px 'Jost',sans-serif;
  letter-spacing: .22em;
}
.hero.entered .hero-inner>* {
  animation: reveal-copy 1.3s ease both;
}
.hero.entered h1 {
  animation-delay: .2s;
}
.hero.entered .hero-date {
  animation-delay: .45s;
}
.hero.entered .hero-venue {
  animation-delay: .6s;
}
@keyframes reveal-copy {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.invitation-section {
  padding: 65px 20px 38px;
  min-height: 110svh;
  background-image: url('assets/silk-wide.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.invitation-section>.section-heading h2 {
  font-size: clamp(37px,4vw,58px);
}
.folio-scene {
  position: relative;
  width: min(390px,68vw);
  margin: 35px auto 0;
  perspective: 1700px;
}
.folio {
  position: relative;
  aspect-ratio: 3/4;
  transform-style: preserve-3d;
}
.invitation-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7% 9%;
  background: url('assets/paper-texture.webp') center/400px;
  color: var(--ink);
  overflow: auto;
  scrollbar-width: thin;
}
.invitation-card>.eyebrow {
  font-size: 8px;
  letter-spacing: .16em;
}
.invitation-card .blessing {
  font-size: 15px;
  margin-top: 12px;
}
.invitation-card h2 {
  color: var(--ruby);
  font-style: italic;
  font-size: 45px;
  line-height: .94;
  margin: 16px 0;
}
.invitation-card h2 span {
  display: block;
}
.invitation-card h2 em {
  display: block;
  font-size: 25px;
  color: var(--gold);
  line-height: 1.2;
}
.families {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-bottom: 14px;
}
.families .label {
  font-size: 7px;
  letter-spacing: .12em;
}
.families p {
  font-size: 13px;
  line-height: 1.3;
  margin-top: 5px;
}
.invite-request {
  font-size: 15px;
  line-height: 1.45;
}
.date-block {
  margin: 16px 0 2px;
  font-size: 17px;
  line-height: 1.3;
}
.date-block p {
  line-height: 1.4;
}
.date-block p+p {
  font-size: 14px;
  margin-top: 4px;
}
.invitation-card .text-button {
  font-size: 8px;
  margin-top: 6px;
}
.folio-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 3;
  transform-style: preserve-3d;
  transition: transform 2.2s cubic-bezier(.2,.65,.18,1);
  pointer-events: none;
}
.folio-left {
  left: 0;
  transform-origin: left center;
}
.folio-right {
  right: 0;
  transform-origin: right center;
}
.folio-face,.folio-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background-image: url('assets/folio-cover.webp');
  background-size: 200% 100%;
  background-repeat: no-repeat;
}
.folio-left .folio-face {
  background-position: left;
}
.folio-right .folio-face {
  background-position: right;
}
.folio-back {
  transform: rotateY(180deg);
  background-image: url('assets/paper.webp');
  background-size: 200% 100%;
}
.folio-left .folio-back {
  background-position: right;
}
.folio-right .folio-back {
  background-position: left;
}
.folio-scene.is-open .folio-left {
  transform: rotateY(-158deg);
}
.folio-scene.is-open .folio-right {
  transform: rotateY(158deg);
}
.folio-monogram {
  position: absolute;
  top: 12%;
  left: 10%;
  right: 10%;
  text-align: center;
  z-index: 4;
  pointer-events: none;
  color: var(--ruby);
  font-size: 39px;
  font-style: italic;
  line-height: 1.05;
  transition: opacity .25s;
}
.folio-monogram span {
  display: block;
}
.folio-monogram em {
  font-size: 23px;
  color: var(--gold);
}
.folio-monogram small {
  display: block;
  font: 7px 'Jost',sans-serif;
  letter-spacing: .15em;
  margin-top: 20px;
}
.seal-touch {
  position: absolute;
  z-index: 5;
  top: 40%;
  left: 30%;
  width: 40%;
  height: 24%;
  background: transparent;
  border-radius: 50%;
}
.folio-scene.is-open .folio-monogram,.folio-scene.is-open .seal-touch {
  opacity: 0;
  visibility: hidden;
}
.letter-actions {
  position: relative;
  text-align: center;
  margin-top: 25px;
  min-height: 90px;
}
.letter-actions .small {
  color: var(--muted);
  font-size: 10px;
}
.letter-actions button {
  display: block;
  margin: auto;
}
.events {
  min-height: 105svh;
}
.events-content {
  width: 47%;
  max-width: 710px;
  min-height: 100svh;
  padding: 65px 4vw 40px;
  position: relative;
}
.events .section-heading h2 {
  font-size: clamp(40px,4.5vw,67px);
}
.event-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px -20px 22px;
}
.event-tabs button {
  background: #f9f2e6de;
  padding: 10px 12px;
  font: 10px 'Jost',sans-serif;
  min-height: 42px;
  letter-spacing: .025em;
  border-bottom: 1px solid transparent;
}
.event-tabs button[aria-selected=true] {
  color: var(--ruby);
  border-color: var(--ruby);
}
.event-note-wrap {
  perspective: 1600px;
}
.event-note {
  background: url('assets/paper.webp') center/100% 100%;
  padding: 48px 45px 40px;
  min-height: 350px;
  max-width: 430px;
  margin: auto;
  text-align: center;
  transform-origin: left center;
  backface-visibility: hidden;
}
.event-note.turning {
  animation: turn-note .75s cubic-bezier(.16,.62,.26,1) both;
}
.event-note h3 {
  color: var(--ruby);
  margin: 15px 0 10px;
  font-style: italic;
  font-size: 44px;
}
.event-note .eyebrow {
  font-size: 8px;
  letter-spacing: .08em;
}
.event-venue {
  font-size: 22px;
  line-height: 1.3;
}
.event-description {
  font-size: 18px;
  line-height: 1.5;
  margin: 15px 0;
}
.event-dress {
  font-size: 13px;
  font-style: italic;
  margin-top: 14px;
}
.event-note .text-button {
  font-size: 9px;
}
.event-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-top: 12px;
}
.event-controls button {
  font-size: 24px;
  padding: 5px 18px;
}
.counter {
  font-size: 10px;
  letter-spacing: .16em;
}
@keyframes turn-note {
  from {
    transform: rotateY(-38deg);
    opacity: .4;
  }
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}
.story {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 10%;
  gap: 8%;
  background-image: url('assets/memories-wide.webp');
  background-size: cover;
  background-position: center;
}
.story-portrait {
  position: relative;
  background: url('assets/paper.webp') center/100% 100%;
  padding: 25px 25px 65px;
  transform: rotate(-4deg);
  max-width: 470px;
  width: 100%;
  justify-self: end;
  transition: transform 1s ease;
}
.story-portrait:hover {
  transform: rotate(0);
}
.story-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.story-portrait>.script {
  position: absolute;
  bottom: 7px;
  left: 10px;
  right: 10px;
  text-align: center;
  font-size: 35px;
}
.story-letter {
  background: url('assets/paper-texture.webp') center/400px;
  padding: 40px 25px;
  max-width: 500px;
}
.story-letter .section-heading {
  text-align: left;
}
.story-letter h2 {
  color: var(--ruby);
  font-size: 64px;
  font-style: italic;
}
.story-copy>p:first-child {
  font-size: 23px;
  line-height: 1.65;
  margin-top: 25px;
}
.memory-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.memory-tags span {
  font: 8px 'Jost',sans-serif;
  letter-spacing: .08em;
  color: var(--gold);
  padding-bottom: 8px;
  border-bottom: 1px solid #cdb595;
}
.story-copy .script {
  font-size: 42px;
  margin-top: 20px;
}
.gallery {
  min-height: 105svh;
  padding: 65px 0 50px;
  background-image: url('assets/memories-wide.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.gallery .section-heading h2 {
  font-size: clamp(46px,5vw,70px);
}
.gallery-grid {
  position: relative;
  height: 540px;
  max-height: 65svh;
  margin: 35px auto 10px;
  perspective: 1200px;
  touch-action: pan-y;
}
.photo-button {
  position: absolute;
  left: 50%;
  top: 10px;
  width: min(31vw,330px);
  padding: 19px 19px 43px;
  background: url('assets/paper.webp') center/100% 100%;
  transform: translateX(calc(-50% + var(--offset,0)*92%)) rotate(calc(var(--offset,0)*7deg)) scale(var(--photo-scale,1));
  opacity: var(--photo-opacity,1);
  z-index: var(--photo-z,1);
  transition: transform .85s cubic-bezier(.2,.7,.2,1),opacity .7s;
  will-change: transform;
  cursor: pointer;
}
.photo-button img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  pointer-events: none;
}
.photo-button>.label {
  font-size: 8px;
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  letter-spacing: .15em;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}
.gallery-controls button {
  font-size: 26px;
  padding: 10px 20px;
}
.gallery-controls p {
  font-size: 10px;
  color: var(--muted);
}
#gallery-count {
  display: inline-block;
  letter-spacing: .18em;
  margin-bottom: 7px;
}
.travel {
  display: grid;
  place-items: center;
  min-height: 115svh;
  padding: 70px 24px;
}
.travel-content {
  width: min(540px,90vw);
  padding: 45px 40px;
  background: url('assets/paper.webp') center/100% 100%;
  text-align: center;
}
.travel h2 {
  font-size: clamp(44px,4vw,59px);
  font-style: italic;
  color: var(--ruby);
}
.travel .section-heading>p:not(.eyebrow) {
  font-size: 19px;
}
.venue-copy {
  margin: 30px 0 20px;
}
.venue-copy h3 {
  font-size: 28px;
}
.venue-copy p {
  font-size: 17px;
  margin-top: 7px;
}
.venue-copy .text-button {
  font-size: 10px;
}
.guest-details {
  text-align: left;
}
.guest-details details {
  border-top: 1px solid #cdbb9d;
  padding: 0 3px;
}
.guest-details details:last-child {
  border-bottom: 1px solid #cdbb9d;
}
.guest-details summary {
  cursor: pointer;
  font-size: 21px;
  min-height: 52px;
  padding: 14px 0;
  list-style: none;
}
.guest-details summary::after {
  content: '+';
  float: right;
  font: 18px 'Jost',sans-serif;
}
.guest-details details[open] summary::after {
  content: '−';
}
.guest-details details p {
  font-size: 17px;
  padding: 0 10px 17px 0;
  line-height: 1.6;
}
.countdown {
  text-align: center;
  padding: 95px 20px 85px;
  min-height: 65svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url('assets/silk-wide.webp');
  background-size: cover;
}
.countdown h2 {
  font-style: italic;
  color: var(--ruby);
  margin: 20px 0 35px;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(22px,5vw,85px);
  margin: 0 0 28px;
}
.countdown-grid strong {
  font-size: clamp(48px,6vw,84px);
  font-weight: 400;
  line-height: 1;
  color: var(--ruby);
}
.countdown-grid span {
  display: block;
  font: 8px 'Jost',sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 10px;
}
.calendar-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 22px;
  font-size: 10px;
}
.calendar-actions a {
  padding: 10px 0;
  text-decoration: none;
}
.countdown>p[data-date] {
  font-size: 20px;
}
.wishes {
  background: #1f1523;
  text-align: center;
  min-height: 100svh;
  height: 100svh;
  color: #f4e7d0;
}
.wishes>.scene-art,.wishes>.scene-film {
  object-fit: contain;
  max-width: none;
}
.wishes-copy {
  position: absolute;
  top: 9%;
  left: 5%;
  right: 5%;
  pointer-events: none;
}
.wishes-copy h2 {
  font-size: clamp(47px,5vw,74px);
  margin: 21px 0;
}
.wishes-copy>p:not(.eyebrow) {
  font-size: 21px;
  line-height: 1.6;
}
.wishes .eyebrow {
  color: #d7b77c;
}
.wish-touch {
  position: absolute;
  top: 50%;
  left: calc(50% - 11svh);
  width: 22svh;
  height: 24%;
  background: transparent;
}
.wish-actions {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 7%;
  text-align: center;
}
.wish-actions .text-button {
  color: #f7ead5;
}
.wish-actions p {
  min-height: 23px;
  font-size: 10px;
  color: #d8c3a3;
  margin-top: 8px;
}
.rsvp {
  padding: 70px 20px;
  display: grid;
  place-items: center;
  min-height: 92svh;
  background-image: url('assets/silk-wide.webp');
  background-size: cover;
  background-position: center;
}
.rsvp-stationery {
  background: url('assets/paper.webp') center/100% 100%;
  text-align: center;
  width: min(570px,95vw);
  padding: 80px 60px;
}
.rsvp h2 {
  color: var(--ruby);
  font-size: clamp(46px,4vw,65px);
  font-style: italic;
}
.rsvp .section-heading>p:not(.eyebrow) {
  font-size: 21px;
  line-height: 1.5;
}
.rsvp .button {
  margin: 30px 0 20px;
}
.rsvp-note {
  max-width: 310px;
  margin: auto;
  font-size: 9px;
  color: var(--muted);
}
.closing {
  text-align: center;
  padding: 65px 24px 95px;
  background: #f6eddf url('assets/paper-texture.webp') center/500px;
}
.closing h2 {
  color: var(--ruby);
  font-style: italic;
  font-size: clamp(52px,6vw,90px);
  margin: 20px 0;
}
.closing h2 em {
  font-family: 'Mrs Saint Delafield',cursive;
  color: var(--gold);
  font-size: .8em;
}
.closing>p:not(.eyebrow) {
  font-size: 23px;
  max-width: 600px;
  margin: auto;
}
.closing .hashtag {
  font: 10px 'Jost',sans-serif!important;
  letter-spacing: .1em;
  margin: 24px auto!important;
}
footer {
  font: 8px 'Jost',sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 35px;
}
.controls {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 25;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #fbf5ebee;
  border: 1px solid #c7af8a;
}
.controls button {
  background: transparent;
  padding: 10px 12px;
  min-height: 36px;
  font-size: 9px;
  letter-spacing: .025em;
  color: var(--ruby);
}
.controls button+button {
  border-left: 1px solid #d7c5a9;
}
.nav-menu {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 30;
  background: #faf3e7 url('assets/paper-texture.webp') center/300px;
  padding: 20px 24px;
  min-width: 220px;
  border: 1px solid #c8b393;
  max-height: 75svh;
  overflow: auto;
}
.nav-menu a {
  display: block;
  padding: 13px 12px;
  text-decoration: none;
  font-size: 12px;
}
.nav-menu a>span {
  font-size: 9px;
  color: var(--gold);
  margin-right: 12px;
}
.nav-menu a:hover {
  color: var(--ruby);
  text-decoration: underline;
}
.noscript,.load-message {
  padding: 24px;
  text-align: center;
  background: var(--paper);
  font: 13px/1.8 'Jost',sans-serif;
}
.load-message {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
}
.load-message h1 {
  font: 38px Georgia,serif;
  margin-bottom: 15px;
}
.card-preview .controls {
  display: none;
}
.card-preview .hero {
  height: 100svh;
  min-height: 100svh;
}
@media(min-width:1500px) {
  .events-content {
    padding-top: 9svh;
  }
  .event-note {
    min-height: 390px;
    padding-block: 55px;
  }
  .story {
    padding-inline: 18%;
  }
}
@media(max-width:759px) {
  .hero-inner {
    top: 20%;
    left: 8%;
    right: 8%;
  }
  .hero h1 {
    font-size: 80px;
    margin-block: 26px;
    line-height: .93;
  }
  .hero-inner>.eyebrow {
    font-size: 8px;
    letter-spacing: .14em;
  }
  .hero-wordmark {
    top: 28px;
    font-size: 8px;
  }
  .hero-date {
    font-size: 18px;
  }
  .hero-venue {
    font-size: 18px;
    max-width: 245px;
    margin: 6px auto 0;
  }
  .hero-bottom {
    bottom: 5%;
  }
  .hero-bottom .script {
    font-size: 35px;
  }
  .scroll-cue>span:first-child {
    font-size: 7px;
  }
  .hero .scene-art {
    object-position: center;
  }
  .invitation-section {
    min-height: 100svh;
    padding: 55px 14px 35px;
  }
  .invitation-section>.section-heading h2 {
    font-size: 40px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 13px;
  }
  .folio-scene {
    width: min(76vw,350px);
    margin-top: 28px;
  }
  .invitation-card {
    padding: 6% 8%;
    justify-content: center;
  }
  .invitation-card .blessing {
    font-size: 12px;
    margin-top: 8px;
  }
  .invitation-card>.eyebrow {
    font-size: 6px;
  }
  .invitation-card h2 {
    font-size: 35px;
    margin: 12px 0;
  }
  .invitation-card h2 em {
    font-size: 19px;
  }
  .families {
    gap: 10px;
    margin-bottom: 10px;
  }
  .families p {
    font-size: 11px;
  }
  .families .label {
    font-size: 6px;
  }
  .invite-request {
    font-size: 12px;
  }
  .date-block {
    font-size: 14px;
    margin-top: 10px;
  }
  .date-block p+p {
    font-size: 12px;
  }
  .invitation-card .text-button {
    font-size: 7px;
    min-height: 34px;
    padding-block: 7px;
  }
  .folio-monogram {
    font-size: 33px;
  }
  .folio-monogram small {
    font-size: 6px;
    margin-top: 18px;
  }
  .folio-scene.is-open .folio-left {
    transform: rotateY(-145deg);
  }
  .folio-scene.is-open .folio-right {
    transform: rotateY(145deg);
  }
  .letter-actions {
    margin-top: 17px;
  }
  .letter-actions .text-button {
    font-size: 9px;
  }
  .letter-actions .subtle {
    font-size: 8px;
  }
  .letter-actions .small {
    font-size: 9px;
  }
  .events {
    min-height: 120svh;
  }
  .events>.scene-picture,.events>.scene-art {
    height: 64svh;
  }
  .events>.scene-picture .scene-art {
    object-position: center 52%;
  }
  .events-content {
    width: 100%;
    max-width: none;
    padding: 34px 22px 32px;
    min-height: 120svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: url('assets/paper-texture.webp') left bottom/100% 48% no-repeat;
  }
  .events-content>.section-heading {
    padding: 14px 0 0;
    position: relative;
    margin-top: 57svh;
  }
  .events .section-heading h2 {
    font-size: 38px;
    line-height: 1.05;
  }
  .event-tabs {
    gap: 3px;
    margin: 18px -8px;
  }
  .event-tabs button {
    padding: 9px 8px;
    font-size: 8px;
    min-height: 35px;
  }
  .event-note {
    max-width: 355px;
    min-height: 300px;
    padding: 36px 38px 28px;
  }
  .event-note h3 {
    font-size: 39px;
    margin: 12px 0 8px;
  }
  .event-note .eyebrow {
    font-size: 7px;
    letter-spacing: .04em;
  }
  .event-venue {
    font-size: 20px;
  }
  .event-description {
    font-size: 17px;
    margin: 12px 0;
  }
  .event-dress {
    font-size: 12px;
  }
  .event-controls {
    margin-top: 6px;
  }
  .event-note .text-button {
    font-size: 9px;
  }
  .event-controls button {
    min-height: 44px;
  }
  .story {
    display: flex;
    flex-direction: column;
    padding: 60px 28px 50px;
    gap: 38px;
    background-image: url('assets/paper-texture.webp');
    background-size: 500px;
  }
  .story-portrait {
    max-width: 315px;
    padding: 20px 20px 50px;
    align-self: center;
  }
  .story-portrait>.script {
    font-size: 30px;
    bottom: 3px;
  }
  .story-letter {
    padding: 15px 8px 0;
    max-width: 410px;
  }
  .story-letter .section-heading {
    text-align: center;
  }
  .story-letter h2 {
    font-size: 53px;
  }
  .story-copy>p:first-child {
    font-size: 21px;
    margin-top: 24px;
    text-align: center;
  }
  .memory-tags {
    justify-content: center;
    gap: 10px;
  }
  .memory-tags span {
    font-size: 7px;
  }
  .story-copy .script {
    text-align: center;
    font-size: 37px;
  }
  .gallery {
    padding: 50px 0 45px;
    min-height: 90svh;
  }
  .gallery .section-heading h2 {
    font-size: 45px;
  }
  .gallery-grid {
    height: 440px;
    max-height: 60svh;
    margin-top: 34px;
  }
  .photo-button {
    width: 70vw;
    max-width: 300px;
    padding: 17px 17px 38px;
    transform: translateX(calc(-50% + var(--offset,0)*79%)) rotate(calc(var(--offset,0)*8deg)) scale(var(--photo-scale,1));
  }
  .photo-button>.label {
    font-size: 7px;
    bottom: 15px;
  }
  .gallery-controls {
    gap: 25px;
  }
  .gallery-controls p {
    font-size: 9px;
  }
  .travel {
    padding: 50px 17px;
    min-height: 105svh;
  }
  .travel-content {
    width: 100%;
    max-width: 410px;
    padding: 40px 33px;
  }
  .travel h2 {
    font-size: 46px;
  }
  .travel .section-heading>p:not(.eyebrow) {
    font-size: 18px;
  }
  .venue-copy h3 {
    font-size: 25px;
  }
  .venue-copy p {
    font-size: 16px;
  }
  .venue-copy .text-button {
    font-size: 9px;
  }
  .guest-details summary {
    font-size: 19px;
  }
  .guest-details details p {
    font-size: 16px;
  }
  .countdown {
    min-height: 63svh;
    padding: 55px 20px;
    background-image: url('assets/paper-texture.webp');
    background-size: 500px;
  }
  .countdown h2 {
    font-size: 46px;
    margin: 20px 0 32px;
  }
  .countdown-grid {
    gap: 26px;
  }
  .countdown-grid strong {
    font-size: 47px;
  }
  .countdown-grid span {
    font-size: 6px;
  }
  .calendar-actions {
    font-size: 9px;
    gap: 20px;
    margin-top: 15px;
  }
  .wishes>.scene-art,.wishes>.scene-film {
    object-fit: cover;
  }
  .wishes-copy {
    top: 9%;
    left: 9%;
    right: 9%;
  }
  .wishes-copy .eyebrow {
    font-size: 8px;
    letter-spacing: .12em;
  }
  .wishes-copy h2 {
    font-size: 48px;
    margin: 20px 0;
  }
  .wishes-copy>p:not(.eyebrow) {
    font-size: 18px;
  }
  .wish-touch {
    left: 30%;
    width: 40%;
    top: 51%;
    height: 24%;
  }
  .wish-actions {
    bottom: 8%;
    left: 8%;
    right: 8%;
  }
  .wish-actions .text-button {
    font-size: 9px;
  }
  .wish-actions p {
    font-size: 9px;
  }
  .rsvp {
    padding: 50px 15px;
    min-height: 80svh;
  }
  .rsvp-stationery {
    padding: 55px 37px;
    width: 100%;
    max-width: 410px;
  }
  .rsvp h2 {
    font-size: 47px;
  }
  .rsvp .section-heading>p:not(.eyebrow) {
    font-size: 19px;
  }
  .rsvp .button {
    font-size: 10px;
    padding: 16px 26px;
  }
  .closing {
    padding: 50px 24px 105px;
  }
  .closing h2 {
    font-size: 53px;
  }
  .closing>p:not(.eyebrow) {
    font-size: 20px;
  }
  .controls {
    right: 10px;
    bottom: 10px;
    padding: 2px;
  }
  .controls button {
    font-size: 8px;
    padding: 9px 10px;
    min-height: 36px;
  }
  .nav-menu {
    right: 10px;
    bottom: 64px;
  }
  .script {
    font-size: 38px;
  }
}
@media(max-width:360px) {
  .hero h1 {
    font-size: 68px;
  }
  .invitation-card h2 {
    font-size: 31px;
  }
  .families p {
    font-size: 10px;
  }
  .invitation-card .blessing {
    font-size: 11px;
  }
  .invite-request {
    font-size: 11px;
  }
  .date-block {
    font-size: 12px;
  }
  .gallery-grid {
    height: 385px;
  }
  .countdown-grid {
    gap: 20px;
  }
  .event-note {
    padding-inline: 30px;
  }
  .events .section-heading h2 {
    font-size: 35px;
  }
}
@media(max-height:700px) and (min-width:760px) {
  .hero-inner {
    top: 15%;
  }
  .hero h1 {
    font-size: 77px;
    margin-block: 14px;
  }
  .hero-date {
    font-size: 17px;
  }
  .hero-bottom .script {
    font-size: 33px;
  }
  .hero-bottom {
    bottom: 4%;
  }
  .hero-wordmark {
    top: 20px;
  }
  .events-content {
    padding-top: 30px;
  }
  .event-note {
    min-height: 310px;
    padding-block: 35px;
  }
  .events .section-heading h2 {
    font-size: 45px;
  }
  .event-tabs {
    margin-block: 17px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }
  .ambient-film {
    display: none;
  }
  .folio-door {
    transition: none!important;
  }
}
.motion-paused .ambient-film {
  opacity: 0;
}
.motion-paused .photo-button,.motion-paused .folio-door {
  transition: none;
}
.motion-paused .event-note,.motion-paused .hero-inner>* {
  animation: none!important;
}
dialog {
  border: 1px solid #c6b18f;
  background: #faf4e9;
  color: var(--ink);
  width: calc(100% - 32px);
  max-width: 520px;
  max-height: 90svh;
  padding: 30px;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(23,16,20,.78);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 40px;
}
.dialog-head button {
  background: transparent;
  padding: 7px;
  color: var(--ruby);
  font-family: 'Jost',sans-serif;
  font-size: 11px;
  min-width: 44px;
  min-height: 44px;
}
form label,form legend {
  display: block;
  font-size: 11px;
  letter-spacing: .04em;
  font-family: 'Jost',sans-serif;
}
form label {
  margin-bottom: 18px;
}
form input:not([type=checkbox]),form select,form textarea {
  display: block;
  width: 100%;
  border: 1px solid #c8b699;
  background: #fffaf2;
  padding: 12px;
  margin-top: 7px;
  border-radius: 0;
  color: var(--ink);
  font-family: 'Jost',sans-serif;
  font-size: 14px;
  min-height: 46px;
}
form textarea {
  resize: vertical;
}
form fieldset {
  border: 1px solid #c8b699;
  margin: 0 0 20px;
  padding: 15px;
}
form fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 12px;
  min-height: 32px;
}
form input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--ruby);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-status {
  font-family: 'Jost',sans-serif;
  font-size: 12px;
  line-height: 1.7;
  min-height: 22px;
  margin: 15px 0;
}
.photo-dialog {
  max-width: 760px;
  padding: 12px;
  background: #211925;
  color: #fff5e8;
}
.photo-dialog img {
  max-height: 72svh;
  object-fit: contain;
  margin: auto;
  width: 100%;
}
.photo-dialog .dialog-head {
  margin: 0 0 6px;
}
.photo-dialog .dialog-head button {
  color: inherit;
}
.photo-dialog .event-controls {
  padding: 5px;
}
.photo-dialog .counter {
  color: inherit;
}
.photo-dialog .small {
  color: #f6e7d2;
}
.folio-scene.instant .folio-door {
  transition: none;
}
#hero-title:focus,#invitation-card:focus {
  outline: none;
}
.hero-inner>.eyebrow {
  color: #6e4930;
}
img {
  height: auto;
}
.scene-art,.scene-film {
  height: 100%;
}
.scene-picture .scene-art {
  height: 100%;
}
.story-photo,.photo-button img {
  height: auto;
}
.arriving {
  transition: opacity 1s ease,transform 1.2s cubic-bezier(.2,.65,.2,1);
}
.arriving:not(.arrived) {
  opacity: 0;
  transform: translateY(35px) rotateX(10deg);
}
.story-portrait.arriving:not(.arrived) {
  transform: translateY(35px) rotate(-10deg);
}
.motion-paused .arriving {
  transition: none;
}
.folio-scene {
  width: min(440px,68vw);
}
.invitation-card .blessing {
  font-size: 17px;
}
.invitation-card h2 {
  font-size: 53px;
}
.families p {
  font-size: 15px;
}
.invite-request {
  font-size: 17px;
}
.date-block {
  font-size: 19px;
}
.date-block p+p {
  font-size: 16px;
}
.invitation-card>.eyebrow {
  font-size: 9px;
}
.invitation-card .text-button {
  font-size: 10px;
}
@media(max-width:759px) {
  .folio-scene {
    width: min(82vw,370px);
  }
  .invitation-card h2 {
    font-size: 38px;
  }
  .invitation-card .blessing {
    font-size: 13px;
  }
  .families p {
    font-size: 12px;
  }
  .invite-request {
    font-size: 14px;
  }
  .date-block {
    font-size: 16px;
  }
  .date-block p+p {
    font-size: 14px;
  }
  .invitation-card>.eyebrow {
    font-size: 7px;
  }
  .invitation-card .text-button {
    font-size: 8px;
  }
  .folio-monogram {
    font-size: 35px;
  }
}
@media(max-height:500px) and (min-width:600px) {
  .hero-inner {
    top: 21%;
  }
  .hero h1 {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    font-size: 70px;
    margin: 12px 0;
  }
  .hero h1 em {
    font-size: 43px;
    margin: 0;
  }
  .hero-inner>.eyebrow {
    font-size: 7px;
  }
  .hero-date,.hero-venue {
    font-size: 15px;
  }
  .hero-venue {
    margin-top: 2px;
  }
  .hero-bottom {
    bottom: 3%;
  }
  .hero-bottom .script {
    display: none;
  }
  .hero-wordmark {
    top: 15px;
  }
  .scroll-cue {
    gap: 3px;
    margin-top: 0;
  }
  .scroll-cue>span:first-child {
    font-size: 7px;
  }
  .wishes-copy {
    top: 8%;
    left: 5%;
    right: 65%;
  }
  .wishes-copy h2 {
    font-size: 35px;
  }
  .wishes-copy>p:not(.eyebrow) {
    font-size: 15px;
  }
  .wish-actions {
    left: 66%;
    right: 4%;
    bottom: 30%;
  }
}
@media(prefers-reduced-motion:reduce) {
  .arriving:not(.arrived) {
    opacity: 1;
    transform: none;
  }
}
.wishes>.scene-film,.wishes .scene-picture .scene-art {
  object-fit: cover;
}
@media(max-width:759px) {
  .events {
    min-height: 100svh;
  }
  .events>.scene-picture,.events>.scene-art {
    height: 100%;
  }
  .events-content {
    min-height: 100svh;
    padding: 24px 20px 20px;
    background: none;
    justify-content: initial;
  }
  .events-content>.section-heading {
    margin: 0;
    padding: 14px 12px;
    background: url('assets/paper-texture.webp') center/400px;
  }
  .events .section-heading h2 {
    font-size: 33px;
  }
  .events .section-heading .eyebrow {
    font-size: 7px;
    margin-bottom: 7px;
  }
  .event-tabs {
    margin: 12px -5px 20px;
    gap: 4px;
  }
  .event-tabs button {
    font-size: 8px;
    padding: 8px 7px;
    min-height: 36px;
  }
  .event-note-wrap {
    margin-top: auto;
    padding-top: 20svh;
  }
  .event-note {
    min-height: 290px;
    padding: 30px 35px 24px;
  }
  .event-note h3 {
    font-size: 35px;
  }
  .event-description {
    font-size: 16px;
    margin: 10px 0;
  }
  .event-venue {
    font-size: 19px;
  }
  .event-dress {
    font-size: 11px;
  }
  .event-controls {
    background: url('assets/paper-texture.webp') center/400px;
    align-self: center;
    gap: 30px;
    padding: 0 12px;
    margin-top: 10px;
  }
  .events>.scene-picture .scene-art {
    object-position: center;
  }
  .events>.scene-art {
    object-position: center;
  }
}
.gallery-controls {
  width: max-content;
  max-width: 90%;
  margin-inline: auto;
  padding: 3px 15px;
  background: url("assets/paper-texture.webp") center/300px;
}
.gallery-controls p {
  color: var(--ink);
}
.invitation-card {
  justify-content: safe center;
}
.hero h1,.sg-names,.invitation-card h2,.closing h2 {
  overflow-wrap: anywhere;
}
.motion-paused .ambient-film.ready {
  opacity: 1;
}
@media(min-width:760px) {
  .wishes-copy {
    top: 6%;
    left: 15%;
    right: 15%;
  }
  .wishes-copy h2 {
    font-size: clamp(46px,4.2vw,62px);
    margin: 16px 0;
  }
  .wishes-copy>p:not(.eyebrow) {
    max-width: 520px;
    margin-inline: auto;
    font-size: 19px;
    line-height: 1.5;
  }
  .wish-touch {
    top: 36%;
    height: 43%;
    left: calc(50% - 15svh);
    width: 30svh;
  }
}
@media(max-height:500px) and (min-width:760px) {
  .wishes-copy {
    top: 7%;
    left: 4%;
    right: 68%;
  }
  .wishes-copy h2 {
    font-size: 32px;
    margin: 12px 0;
  }
  .wishes-copy>p:not(.eyebrow) {
    font-size: 14px;
  }
}
@media(max-width:759px) {
  .events-content {
    padding-bottom: 88px;
  }
}
.wish-actions {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: 86%;
  padding: 5px 20px 10px;
  background: url('assets/paper-texture.webp') center/400px;
}
.wish-actions .text-button {
  color: var(--ruby);
}
.wish-actions p {
  color: var(--ink);
  font-size: 9px;
  margin-top: 0;
  min-height: 17px;
}
@media(min-width:760px) {
  .wishes-copy {
    top: 3%;
    left: 6%;
    right: 6%;
  }
  .wishes-copy h2 {
    font-size: clamp(40px,3.7vw,54px);
    margin: 12px 0;
  }
  .wishes-copy>p:not(.eyebrow) {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.5;
  }
}
@media(max-height:500px) and (min-width:760px) {
  .wishes-copy {
    top: 7%;
    left: 4%;
    right: 68%;
  }
  .wishes-copy h2 {
    font-size: 32px;
    margin: 12px 0;
  }
  .wishes-copy>p:not(.eyebrow) {
    font-size: 14px;
  }
  .wish-actions {
    left: auto;
    right: 3%;
    width: 28%;
    transform: none;
    bottom: 27%;
  }
}
