@font-face {
  font-family: Antic;
  src: url("assets/antic-didone.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Reenie;
  src: url("assets/reenie-beanie.ttf") format("truetype");
  font-display: swap;
}
:root {
  --paper: #fbf7ef;
  --ink: #585b2f;
  --muted-ink: #676747;
  --line: #a4a082;
  --serif: Antic, "Bodoni MT", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
body.sealed {
  overflow: hidden;
}
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
  font-weight: 400;
}
h2 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 14px;
}
h3 {
  font-size: 35px;
  line-height: 1.25;
  margin-bottom: 12px;
}
p {
  margin-bottom: 24px;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
}
main {
  overflow: hidden;
}
.section {
  position: relative;
  text-align: center;
}
.caps {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  line-height: 1.6;
}
.subtitle {
  font-size: 19px;
}
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 12px 30px;
  border: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition:
    background 0.25s,
    color 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .outline:hover {
    background: var(--ink);
    color: var(--paper);
  }
}
.envelope {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  transition:
    opacity 1.15s var(--ease),
    visibility 1.15s;
}
.envelope video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.envelope.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.open-invitation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}
.open-hint {
  position: absolute;
  bottom: max(34px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: #4b472c;
  background: #fbf7efe6;
  padding: 9px 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid #aea58c70;
  animation: breathe 2.8s ease-in-out infinite;
}
.skip {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #fbf7efde;
  padding: 10px 17px;
  font-size: 12px;
}
.hero {
  height: 100svh;
  min-height: 700px;
  position: relative;
  text-align: center;
}
.hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  width: 320px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.08;
  margin: 0 0 21px;
}
.hero h1 span {
  display: block;
  font-size: 22px;
  line-height: 1.5;
}
.hero .caps {
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.date > div {
  width: 90px;
}
.date strong {
  display: block;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}
.date .caps {
  display: block;
  font-size: 11px;
  line-height: 21px;
  margin: 0;
}
.date-flower {
  width: 70px;
  height: 65px;
  object-fit: contain;
  transform: rotate(-55deg);
}
.date-flower.mirror {
  transform: scaleX(-1) rotate(-55deg);
}
.hero .held {
  margin: 19px 0 8px;
}
.venue {
  font-size: 24px;
  margin: 0;
}
.down {
  text-decoration: none;
  font-size: 27px;
  display: inline-block;
  line-height: 1.1;
  opacity: 0.65;
  animation: breathe 2s ease-in-out infinite;
}
.countdown {
  padding: 120px 24px 40px;
}
.countdown-frame {
  position: relative;
  width: min(478px, 100%);
  margin: 42px auto 0;
}
.countdown-frame > img {
  width: 100%;
}
.clock {
  position: absolute;
  inset: 24% 22% 15%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.clock div {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.clock strong {
  font:
    italic 37px Georgia,
    serif;
  font-weight: 400;
}
.clock div:first-child strong {
  font-size: 65px;
}
.clock span {
  font-size: 18px;
  margin-top: 3px;
}
.story {
  padding: 0 24px 100px;
}
.clouds {
  position: relative;
  height: 390px;
  display: grid;
  place-items: center;
  margin: 0 -24px;
}
.clouds img {
  position: absolute;
  width: min(1200px, 110%);
  max-width: none;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  height: 370px;
  object-fit: contain;
}
.clouds h2 {
  position: relative;
}
.story-copy {
  max-width: 430px;
  margin: 0 auto;
  font-size: 25px;
  line-height: 1.45;
}
.story-copy p {
  margin-bottom: 50px;
}
.signature {
  font-family: Reenie, cursive;
  font-size: 70px;
  line-height: 0.9;
  padding: 25px 0;
  margin-bottom: 0 !important;
}
.signature small {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  padding: 13px;
}
.celebration {
  padding: 170px 24px 30px;
  isolation: isolate;
}
.fountain {
  width: min(1230px, 110%);
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.celebration-copy {
  max-width: 440px;
  margin: 0 auto;
}
.celebration h2 {
  margin: 30px 0 36px;
}
.celebration-copy > p:not(.caps) {
  max-width: 350px;
  margin: 26px auto;
  font-size: 18px;
}
.time {
  display: inline-block;
  margin-top: 10px;
  font-size: 23px;
}
.villa {
  width: 530px;
  margin: 60px auto 0;
}
.day {
  padding: 75px 24px 45px;
}
.day > p:not(.caps) {
  font-size: 19px;
  max-width: 380px;
  margin: 24px auto;
}
.calendar {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  padding: 28px 0 50px;
}
.calendar span {
  color: var(--muted-ink);
}
.calendar strong {
  font-size: 40px;
  font-weight: 400;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
}
.timeline {
  list-style: none;
  padding: 0;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  border-left: 1px solid #a4a08270;
}
.timeline li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  min-height: 110px;
  position: relative;
}
.timeline li:after {
  content: "";
  position: absolute;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--ink);
}
.timeline li div {
  text-align: right;
  font-size: 15px;
  line-height: 1.4;
}
.timeline li strong {
  display: block;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 5px;
}
.timeline li img {
  height: 75px;
  width: 105px;
  object-fit: contain;
  margin: auto;
}
.timeline li:nth-child(even) div {
  grid-column: 2;
  text-align: left;
  grid-row: 1;
}
.timeline li:nth-child(even) img {
  grid-column: 1;
  grid-row: 1;
}
.floral-divider {
  height: 150px;
  width: min(100%, 1000px);
  position: relative;
  margin: 25px auto 20px;
}
.floral-divider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.floral-divider img:nth-child(2) {
  animation: sway 7s ease-in-out infinite;
}
.floral-divider img:nth-child(3) {
  animation: sway 8s ease-in-out infinite reverse;
}
.dress {
  padding: 20px 24px 0;
  max-width: 630px;
  margin: 0 auto;
}
.dress > p:not(.caps) {
  max-width: 360px;
  margin: 20px auto;
  font-size: 19px;
  line-height: 1.7;
}
.couple-art {
  width: 580px;
  margin: 40px auto -50px;
  position: relative;
  z-index: 2;
}
.welcome {
  padding: 0 20px 0;
}
.welcome-card {
  position: relative;
  max-width: 520px;
  height: 750px;
  margin: 0 auto;
  background: url("assets/textura-oliva-ext.webp") center/100% 100%;
  isolation: isolate;
}
.arch-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: fill;
  z-index: -1;
}
.pink-garland {
  position: absolute;
  top: -30px;
  left: -4%;
  width: 108%;
  max-width: none;
}
.welcome-copy {
  padding: 155px 75px 0;
  color: #faf1d9;
}
.welcome-copy h2 {
  font-size: 68px;
  line-height: 1.05;
  margin: 22px 0 25px;
}
.welcome-copy h3 {
  font-size: 31px;
}
.welcome-copy > p:last-child {
  font-size: 18px;
  line-height: 1.65;
  margin-top: 30px;
}
.garland-bottom {
  width: 560px;
  margin: -5px auto 0;
}
.petals img {
  position: absolute;
  top: 12%;
  width: 22px;
  left: 20%;
  animation: petal 9s linear infinite;
}
.petals img:nth-child(2) {
  left: 70%;
  animation-delay: -3s;
}
.petals img:nth-child(3) {
  left: 45%;
  animation-delay: -6s;
}
.stay {
  max-width: 760px;
  margin: auto;
  padding: 90px 30px 70px;
}
.stay > .caps {
  margin: 25px auto 65px;
}
.hotel {
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.hotel h3 {
  font-size: 29px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hotel p:not(.price):not(.caps) {
  font-size: 17px;
}
.hotel .rate-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 27px;
}
.price {
  font-size: 43px;
  line-height: 1.1;
  margin: 25px 0 13px;
}
.hotel .small {
  font-size: 13px !important;
}
.hotel dl {
  margin: 30px auto;
  font-size: 16px;
  max-width: 340px;
}
.hotel dt {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 25px;
  margin-bottom: 5px;
}
.hotel dd {
  margin: 0;
}
.hotel-flower {
  width: 160px;
  position: absolute;
  right: -160px;
  top: 0;
}
.almond {
  width: 162px;
  margin: 60px auto;
}
.gifts {
  padding: 70px 20px 80px;
}
.gift-wreath {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1;
  margin: 45px auto 20px;
}
.gift-wreath > img {
  position: absolute;
  inset: 0;
  width: 100%;
}
.gift-wreath > div {
  position: absolute;
  inset: 26% 24% 23%;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.5;
}
.gift-wreath p {
  margin: 0 0 12px;
}
.rsvp {
  padding: 40px 24px 100px;
}
.window-art {
  width: 255px;
  margin: 0 auto 35px;
}
.rsvp h2 {
  margin-top: 25px;
}
.rsvp-intro {
  max-width: 400px;
  margin: 26px auto 65px;
  line-height: 1.9;
}
form {
  max-width: 530px;
  margin: 0 auto;
  text-align: left;
}
fieldset {
  border: 0;
  border-bottom: 1px solid #a4a08255;
  margin: 0;
  padding: 0 0 35px;
  margin-bottom: 36px;
  min-width: 0;
}
legend {
  font-size: 24px;
  line-height: 1.4;
  float: left;
  width: 100%;
  margin-bottom: 26px;
}
legend + * {
  clear: both;
}
legend span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  color: var(--muted-ink);
}
legend b {
  font-weight: 400;
  font-size: 15px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  margin: 17px 0;
  cursor: pointer;
}
.choice input {
  accent-color: var(--ink);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.inline-choices {
  display: flex;
  gap: 32px;
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  margin-bottom: 30px;
  border: 1px solid #a4a08280;
}
.stepper button {
  width: 48px;
  height: 46px;
  font-size: 23px;
}
.stepper output {
  width: 50px;
  text-align: center;
  font-size: 22px;
}
.guest label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin: 22px 0 12px;
}
.guest input,
textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 3px;
  border-radius: 0;
  font-size: 17px;
  outline-offset: 2px;
}
.guest input::placeholder,
textarea::placeholder {
  color: var(--muted-ink);
  opacity: 1;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.demo-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted-ink);
  max-width: 420px;
}
.submit {
  width: 100%;
}
#formStatus {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
}
footer {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 100px;
}
footer > img {
  width: 100%;
}
footer > div {
  position: absolute;
  top: 31%;
  left: 20%;
  right: 20%;
}
footer > div p:first-child {
  font-size: 48px;
  line-height: 1.05;
}
footer small {
  font-size: 20px;
}
footer > div p:last-child {
  font-size: 18px;
}
footer > span {
  display: block;
  font-size: 10px;
  margin: 35px 20px 0;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
#replay {
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: 15px;
  font-size: 12px;
}
.sound {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 20;
  background: #f4efdfdd;
  width: 48px;
  height: 48px;
  box-shadow: 0 3px 14px #504c3220;
  border-radius: 50%;
  font-size: 24px;
}
.sound[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
dialog {
  width: min(90vw, 450px);
  padding: 50px 35px 35px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 20px 90px #24271b30;
}
dialog::backdrop {
  background: #25281b66;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 35px;
}
dialog p {
  font-size: 17px;
}
.close {
  position: absolute;
  right: 15px;
  top: 8px;
  font-size: 28px;
}
.close-bottom {
  margin-top: 10px;
}
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
[hidden] {
  display: none !important;
}
@keyframes breathe {
  50% {
    opacity: 0.5;
  }
}
@keyframes sway {
  50% {
    transform: rotate(0.7deg) translateY(3px);
  }
}
@keyframes petal {
  0% {
    transform: translate3d(0, 0, 0) rotate(0);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.6;
  }
  100% {
    transform: translate3d(40px, 550px, 0) rotate(150deg);
    opacity: 0;
  }
}
@media (min-width: 900px) {
  .hero-copy {
    top: auto;
    bottom: 5.5%;
  }
  .fountain {
    opacity: 0.8;
  }
  .celebration {
    padding-top: 230px;
  }
  .villa {
    max-width: 520px;
  }
  .hotel-flower {
    right: -120px;
  }
}
@media (max-width: 600px) {
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 29px;
  }
  .hero {
    min-height: 650px;
    height: 100svh;
    max-height: 950px;
  }
  .hero-copy {
    top: 15%;
    width: 280px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero .venue {
    font-size: 21px;
  }
  .hero > video {
    object-position: center;
  }
  .date {
    gap: 10px;
  }
  .date-flower {
    width: 58px;
  }
  .hero .held {
    margin-top: 20px;
  }
  .countdown {
    padding: 75px 28px 20px;
  }
  .countdown-frame {
    margin-top: 28px;
    width: 330px;
  }
  .clock {
    inset: 24% 20% 15%;
  }
  .clock strong {
    font-size: 27px;
  }
  .clock div:first-child strong {
    font-size: 51px;
  }
  .clock span {
    font-size: 14px;
  }
  .subtitle {
    font-size: 16px;
  }
  .clouds {
    height: 240px;
  }
  .clouds img {
    height: 230px;
    width: 135%;
  }
  .story {
    padding-bottom: 60px;
  }
  .story-copy {
    max-width: 290px;
    font-size: 21px;
  }
  .story-copy p {
    margin-bottom: 35px;
  }
  .signature {
    font-size: 60px;
  }
  .celebration {
    padding-top: 135px;
  }
  .fountain {
    top: -40px;
    width: 180%;
    max-width: none;
  }
  .celebration h2 {
    margin-top: 20px;
  }
  .celebration-copy > p:not(.caps) {
    font-size: 17px;
    max-width: 290px;
  }
  .villa {
    width: 115%;
    max-width: none;
    margin: 45px -7.5% 0;
  }
  .day {
    padding-top: 45px;
  }
  .day > p:not(.caps) {
    font-size: 17px;
    max-width: 280px;
  }
  .calendar {
    gap: 20px;
    padding-bottom: 35px;
  }
  .timeline {
    max-width: 320px;
  }
  .timeline li {
    gap: 36px;
    min-height: 107px;
  }
  .timeline li div {
    font-size: 14px;
  }
  .timeline li img {
    width: 90px;
    height: 68px;
  }
  .floral-divider {
    height: 100px;
    width: 125%;
    max-width: none;
    margin-left: -12.5%;
  }
  .dress > p:not(.caps) {
    font-size: 17px;
    max-width: 290px;
  }
  .couple-art {
    margin: 30px auto -20px;
  }
  .welcome {
    padding: 0 20px;
  }
  .welcome-card {
    height: 610px;
  }
  .welcome-copy {
    padding: 125px 45px 0;
  }
  .welcome-copy h2 {
    font-size: 54px;
  }
  .welcome-copy h3 {
    font-size: 27px;
  }
  .welcome-copy > p:last-child {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 22px;
  }
  .pink-garland {
    top: -8px;
  }
  .stay {
    padding: 60px 30px;
  }
  .stay > .caps {
    margin-bottom: 50px;
  }
  .hotel h3 {
    font-size: 25px;
  }
  .hotel-flower {
    right: -70px;
    top: -20px;
    width: 100px;
    opacity: 0.7;
  }
  .hotel p:not(.price):not(.caps) {
    font-size: 16px;
  }
  .hotel .small {
    font-size: 11px !important;
  }
  .hotel dl {
    font-size: 15px;
  }
  .almond {
    width: 125px;
    margin: 45px auto;
  }
  .gifts {
    padding-top: 50px;
  }
  .gift-wreath {
    width: 340px;
    margin-top: 25px;
  }
  .gift-wreath > div {
    font-size: 14px;
    inset: 25% 23% 23%;
  }
  .rsvp {
    padding-top: 30px;
  }
  .window-art {
    width: 205px;
  }
  .rsvp-intro {
    font-size: 10px;
    max-width: 280px;
    margin-bottom: 45px;
  }
  .rsvp form {
    max-width: 330px;
  }
  legend {
    font-size: 21px;
  }
  .choice {
    font-size: 15px;
  }
  .sound {
    width: 43px;
    height: 43px;
    right: 16px;
    bottom: 17px;
  }
  footer {
    max-width: 400px;
  }
  footer > div p:first-child {
    font-size: 37px;
  }
  footer > div p:last-child {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Details matched to the revealed source sections. */
.timeline li:after {
  content: "♡";
  font:
    15px Georgia,
    serif;
  background: var(--paper);
  width: 18px;
  height: 22px;
  left: calc(50% - 9px);
  border-radius: 0;
  line-height: 22px;
}
.couple-art {
  margin: 30px auto 35px;
}
.dress {
  padding-bottom: 85px;
}
.dress > p:not(.caps) {
  font-size: 17px;
  line-height: 1.55;
  max-width: 380px;
}
.welcome-copy {
  padding: 140px 110px 0;
}
.welcome-copy h2 {
  font-size: 48px;
  margin: 15px 0 20px;
}
.welcome-copy h3 {
  font-size: 45px;
}
.welcome-copy .caps {
  font-size: 16px;
}
.welcome-copy > p:last-child {
  font-size: 25px;
  line-height: 1.25;
  margin-top: 22px;
}
.hotel {
  max-width: 665px;
  border: 1px solid var(--line);
  padding: 45px 38px 40px;
  background: #f4efdf88;
}
.hotel .rate-label {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--paper);
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 10px;
}
.hotel h3 {
  font-size: 25px;
}
.hotel .price {
  font:
    italic 44px Georgia,
    serif;
  margin: 38px 0 30px;
}
.hotel .small {
  margin-bottom: 35px;
}
.hotel dl {
  max-width: none;
  border-top: 1px solid #a4a08280;
  padding-top: 22px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px 25px;
  font-size: 14px;
}
.hotel dt {
  margin: 0;
  align-self: center;
  font-size: 10px;
}
.hotel-flower {
  width: 230px;
  right: -95px;
  top: 45px;
}
.hotel-first:after {
  content: "";
  position: absolute;
  top: 95px;
  left: -30px;
  width: 130px;
  height: 100px;
  background: url("assets/flor-son-bunyola.webp") center/contain no-repeat;
  pointer-events: none;
}
.almond {
  margin: 42px auto;
}
.stay {
  max-width: 800px;
}
.gift-wreath > div {
  font-size: 15px;
}
@media (max-width: 600px) {
  .dress {
    padding-bottom: 55px;
  }
  .dress > p:not(.caps) {
    font-size: 15px;
    max-width: 290px;
  }
  .welcome-copy {
    padding: 125px 55px 0;
  }
  .welcome-copy h2 {
    font-size: 37px;
  }
  .welcome-copy h3 {
    font-size: 34px;
  }
  .welcome-copy .caps {
    font-size: 12px;
  }
  .welcome-copy > p:last-child {
    font-size: 18px;
    line-height: 1.3;
  }
  .hotel {
    padding: 45px 20px 25px;
  }
  .hotel h3 {
    font-size: 22px;
  }
  .hotel .rate-label {
    font-size: 8px;
    padding: 12px;
    top: -20px;
  }
  .hotel dl {
    font-size: 12px;
    gap: 15px 12px;
    grid-template-columns: 1fr 2fr;
  }
  .hotel dt {
    font-size: 8px;
  }
  .hotel .price {
    font-size: 37px;
  }
  .hotel-flower {
    width: 90px;
    right: -26px;
    top: 85px;
  }
  .hotel-first:after {
    width: 70px;
    left: -25px;
    top: 105px;
  }
  .gift-wreath > div {
    font-size: 13px;
  }
  .couple-art {
    margin-bottom: 25px;
  }
}

/* Source olive-paper celebration panel and full-width RSVP fields. */
.celebration {
  padding: 0;
  isolation: isolate;
}
.fountain {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 106%;
  max-width: none;
  margin: 0 -3% -120px;
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}
.celebration-copy {
  position: relative;
  max-width: none;
  padding: 193px 24px 70px;
  color: #fbf7ef;
  background: url("assets/olive-base.webp") center bottom/cover no-repeat;
}
.celebration h2 {
  margin: 0;
}
.celebration h3 {
  font-size: 48px;
  margin-top: 22px;
}
.celebration-copy > p:not(.caps) {
  font-size: 25px;
  line-height: 1.35;
  max-width: 440px;
  margin: 30px auto;
  color: #fbf7efb3;
}
.celebration-copy > p:nth-last-child(2) {
  font-size: 17px;
  font-style: italic;
  margin: 48px auto 35px;
}
.celebration .outline {
  border-color: #fbf7efb3;
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .celebration .outline:hover {
    background: #fbf7ef;
    color: var(--ink);
  }
}
.celebration .time {
  display: block;
  font-style: normal;
  font-size: 25px;
  color: var(--paper);
}
.villa {
  margin: 40px auto 0;
  width: 530px;
}
.choice {
  border: 1px solid #585b2f70;
  padding: 13px 15px;
  margin: 10px 0;
}
.choice:has(input:checked) {
  background: #585b2f0c;
  border-color: var(--ink);
}
.inline-choices .choice {
  min-width: 90px;
}
.guest input,
textarea {
  border: 1px solid #585b2fb3;
  padding: 10px 16px;
  margin-bottom: 12px;
}
.guest input {
  font-size: 16px;
}
.guest input + input {
  margin-top: 2px;
}
textarea {
  padding: 12px 16px;
}
.sound {
  display: none;
}
@media (max-width: 600px) {
  .hero-copy {
    top: 27%;
  }
  .hero {
    min-height: 660px;
  }
  .celebration-copy {
    background-image: url("assets/olive-tall.webp");
    padding: 126px 28px 70px;
  }
  .fountain {
    width: 140%;
    margin: 0 -20% -75px;
  }
  .celebration h2 {
    font-size: 36px;
    margin-top: 0;
  }
  .celebration h3 {
    font-size: 36px;
    margin-top: 16px;
  }
  .celebration-copy > p:not(.caps) {
    font-size: 20px;
    max-width: 270px;
  }
  .celebration-copy > p:nth-last-child(2) {
    font-size: 15px;
    margin: 32px auto;
  }
  .villa {
    width: 110%;
    margin: 40px -5% 0;
  }
  .choice {
    font-size: 14px;
    padding: 12px;
  }
  .guest input {
    font-size: 15px;
  }
}
@font-face {
  font-family: ThaiSerif;
  src: url("assets/noto-serif-thai.ttf") format("truetype");
  font-display: swap;
}
[lang="th"] {
  font-family: ThaiSerif, serif;
  line-height: 1.8;
}
.hero .venue {
  font-size: 19px;
  line-height: 1.4;
}
.couple-names {
  font-size: 35px;
}
.couple-names small {
  font-size: 22px;
}
.story-copy .person {
  font-size: 22px;
  line-height: 1.6;
}
.story-copy .and {
  font-style: italic;
  font-size: 28px;
}
.story-copy .hashtag {
  font-size: 16px;
}
.celebration-copy .venue-full {
  font-size: 26px !important;
  line-height: 1.4 !important;
  max-width: 550px !important;
}
.celebration-copy p[lang="th"] {
  font-size: 19px !important;
  line-height: 1.8 !important;
}
.swatches {
  display: flex;
  justify-content: center;
  gap: 18px 22px;
  flex-wrap: wrap;
  max-width: 470px;
  margin: 40px auto 0;
}
.swatches span {
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.swatches i {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #585b2f20;
}
.swatches small {
  font-size: 11px;
}
.welcome-copy > p:not(.caps) {
  font-size: 22px;
  line-height: 1.4;
}
.welcome-copy .welcome-hashtag {
  font-size: 14px !important;
}
.location {
  padding: 90px 24px 30px;
}
.location > p {
  font-size: 23px;
  margin: 30px auto;
}
.location .location-address {
  font-size: 17px;
  max-width: 500px;
}
.timeline small {
  font-size: 9px;
  letter-spacing: 0.12em;
}
.rsvp-intro {
  font-size: 12px;
}
.gift-wreath > div {
  font-size: 16px;
}
@media (max-width: 600px) {
  .hero .venue {
    font-size: 15px;
  }
  .hero-copy {
    width: 290px;
  }
  .celebration-copy .venue-full {
    font-size: 21px !important;
  }
  .celebration-copy p[lang="th"] {
    font-size: 15px !important;
  }
  .welcome-copy > p:not(.caps) {
    font-size: 18px;
  }
  .welcome-copy .welcome-hashtag {
    font-size: 12px !important;
  }
  .location > p {
    font-size: 20px;
  }
  .location .location-address {
    font-size: 14px;
  }
  .swatches {
    gap: 18px 10px;
  }
  .swatches span {
    width: 66px;
  }
  .swatches small {
    font-size: 11px;
  }
  .gift-wreath > div {
    font-size: 14px;
  }
  .story-copy .person {
    font-size: 19px;
  }
}
/* Rendered QA corrections: horizontal rose branches and artwork-safe text areas. */
.date-flower {
  transform: rotate(-120deg);
}
.date-flower.mirror {
  transform: scaleX(-1) rotate(-120deg);
}
.clock {
  bottom: 21%;
}
.arch-frame {
  height: 160%;
  clip-path: inset(0 0 37.5% 0);
}
@media (max-width: 600px) {
  .clock {
    bottom: 21%;
  }
  .celebration-copy .venue-full {
    max-width: 235px !important;
    font-size: 19px !important;
    line-height: 1.45 !important;
  }
  .celebration-copy p[lang="th"] {
    max-width: 245px !important;
    font-size: 14px !important;
  }
  .celebration .time {
    display: block;
    max-width: 230px;
    margin: 12px auto 0;
    font-size: 21px;
    line-height: 1.45;
  }
  .welcome-copy {
    padding-top: 125px;
  }
  .welcome-copy .welcome-hashtag {
    margin-top: 20px;
  }
}
@media (max-width: 600px) {
  .welcome-copy > p:not(.caps) {
    max-width: 190px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
  }
}
@media (max-width: 360px) {
  .hero-copy {
    top: 24%;
  }
  .hero h1 {
    font-size: 32px;
    margin-bottom: 17px;
  }
  .hero .caps {
    margin-bottom: 16px;
  }
  .hero .date .caps {
    margin-bottom: 0;
  }
}
@media (min-width: 601px) {
  .welcome-copy > p:not(.caps) {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 360px) {
  .hero-copy {
    top: 20%;
  }
}
/* Continuous opening handoff: one source-matched cover fade; the background video never crossfades. */
html {
  scrollbar-gutter: stable;
}
.envelope {
  transition:
    opacity 1.5s ease-in-out,
    visibility 1.5s ease-in-out;
}
.envelope.resetting {
  transition: none;
}
.envelope-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.envelope.playing .envelope-poster {
  visibility: hidden;
}
.open-invitation,
.skip {
  z-index: 2;
}
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero > video {
  opacity: 0;
  transition: none;
}
.hero > video.motion-ready {
  opacity: 1;
}
.js .hero-copy > * {
  opacity: 0;
  transform: none;
  transition: opacity 1.8s ease-out;
}
.js .hero-copy {
  pointer-events: none;
}
.js .invitation-visible .hero-copy {
  pointer-events: auto;
}
.js .invitation-visible .hero-copy > * {
  opacity: 1;
  transform: none;
}
.js .invitation-visible .hero-copy > h1 {
  transition-delay: 0.08s;
}
.js .invitation-visible .hero-copy > p:first-of-type {
  transition-delay: 0.3s;
}
.js .invitation-visible .hero-copy > .date {
  transition-delay: 0.5s;
}
.js .invitation-visible .hero-copy > .held {
  transition-delay: 0.7s;
}
.js .invitation-visible .hero-copy > .venue {
  transition-delay: 0.9s;
}
.js .invitation-visible .hero-copy > .down {
  transition-delay: 1.1s;
}
@media (prefers-reduced-motion: reduce) {
  .hero > video {
    display: none;
  }
  .js .invitation-visible .hero-copy > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.js .hero-copy > .down {
  animation: none;
}
.js .invitation-resetting .hero-copy > *,
.invitation-resetting .hero > video {
  transition: none !important;
}
@media (max-width: 600px) {
  html {
    scrollbar-gutter: auto;
    scrollbar-width: none;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
  }
}

/* Authentic Clara & Julian wedding mark; original vector paths and ink retained. */
.hero h1.couple-logo-heading {
  line-height: 0;
  font-size: 0;
}
.hero .couple-logo {
  display: block;
  width: auto;
  height: 114px;
  max-width: 100%;
  object-fit: contain;
  margin-inline: auto;
}
@media (max-width: 360px) {
  .hero .couple-logo {
    height: 102px;
  }
}
/* Keep the mark inside the clear paper on narrow / short portrait canvases. */
@media (max-width: 360px) {
  .hero h1.couple-logo-heading {
    margin-bottom: 35px;
  }
  .hero .couple-logo {
    height: 88px;
    transform: translateY(22px);
  }
}
@media (min-width: 900px) and (max-height: 760px) {
  .hero h1.couple-logo-heading {
    margin-bottom: 43px;
  }
  .hero .couple-logo {
    height: 96px;
    transform: translateY(22px);
  }
}

/* Mobile/a11y finishing: artwork stays still; feedback is restricted to controls. */
.gift-wreath > picture {
  display: block;
}
.gift-wreath > picture > img {
  width: 100%;
}
.skip,
#replay,
.down {
  min-width: 44px;
  min-height: 44px;
}
#replay {
  padding: 10px 12px;
}
.down {
  display: inline-grid;
  place-items: center;
}
button:not(.open-invitation),
.outline,
.down,
.choice {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.skip,
#replay,
.outline,
.down,
.language-switch button,
.stepper button {
  transition:
    background-color 120ms ease-out,
    color 120ms ease-out;
}
.skip:active,
#replay:active,
.down:active,
.language-switch button:active,
.stepper button:active {
  background-color: #585b2f20;
}
.outline:active {
  background: var(--ink);
  color: var(--paper);
}
.celebration .outline:active {
  background: #fbf7ef;
  color: var(--ink);
}
.open-invitation:active .open-hint {
  background: #eee7d5;
}
@media (max-width: 600px), (pointer: coarse) {
  .guest input,
  textarea {
    font-size: 16px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skip,
  #replay,
  .outline,
  .down,
  .language-switch button,
  .stepper button {
    transition: none;
  }
}
.gift-wreath {
  max-width: 100%;
}

.hero .couple-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #4c230f;
  font:
    400 56px/0.82 "Demo Script",
    cursive;
}
.hero .couple-logo i {
  font-size: 0.56em;
  font-style: normal;
  margin-right: 0.08em;
}

.hero .couple-logo > span {
  font: inherit;
  white-space: nowrap;
}
.hero .couple-logo span:first-child {
  transform: translateX(-0.16em);
}
.hero .couple-logo span:last-child {
  transform: translateX(0.08em);
}
.hero .couple-logo {
  -webkit-text-stroke: 0.35px currentColor;
}
@media (max-width: 360px) {
  .hero .couple-logo {
    font-size: 45px;
  }
}
