@import url("https://fonts.googleapis.com/css2?family=Kapakana:wght@300..400&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

@font-face {
  font-family: "KoPub Batang";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/KoPubBatang-Regular.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "KoPub Batang";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/KoPubBatang-Light.woff")
    format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "KoPub Batang";
  src: url("https://static.wfonts.com/data/2016/07/09/kopub-batang/KoPubBatang-Bold.ttf")
      format("truetype"),
    url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/KoPubBatang-Bold.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Libertinus Math";
  src: url("https://cdn.jsdelivr.net/npm/libertinus-fonts@1.0.0/fonts/LibertinusMath-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --paper: #fffefa;
  --ivory: #fff6d0;
  --ink: #4b4949;
  --soft-ink: rgba(75, 73, 73, 0.72);
  --mist: rgba(255, 254, 250, 0.82);
  --line: rgba(75, 73, 73, 0.18);
  --shadow: 0 24px 70px rgba(34, 29, 23, 0.2);
  --mobile-section-width: 430px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "KoPub Batang", Georgia, serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -10rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.hero {
  color: var(--ivory);
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero__media,
.hero__shade,
.hero__poster,
.hero__iframe,
.hero__iframe iframe {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.hero__poster {
  background: #141311;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.08);
  animation: hero-drift 17s ease-out forwards;
}

.hero__iframe {
  display: none;
  z-index: 2;
}

.hero__iframe iframe {
  border: 0;
}

.hero.is-video-playing .hero__poster {
  display: none;
}

.hero.is-video-playing .hero__iframe {
  display: block;
}

.hero__shade {
  pointer-events: none;
  transition: opacity 360ms ease;
  z-index: 1;
}

.nav {
  display: none;
}

.nav a {
  align-items: center;
  background: rgba(28, 27, 24, 0.18);
  border: 1px solid rgba(255, 246, 208, 0.42);
  backdrop-filter: blur(4px);
  color: var(--ivory);
  display: inline-flex;
  font-size: 0.68rem;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 2.35rem;
  padding: 0.36rem 0.52rem;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.56);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 7.45rem;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-2px);
}

.monogram {
  display: inline-block;
  height: 80px;
  left: 0;
  position: fixed;
  text-decoration: none;
  top: 0;
  width: 80px;
  z-index: 30;
  padding: 20px;
}

.monogram img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hero__content {
  inset: 0;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 1.25rem 5rem;
  position: absolute;
  pointer-events: none;
  text-align: center;
  transition: opacity 360ms ease, transform 360ms ease;
  z-index: 2;
}

.hero__kicker {
  font-size: clamp(0.78rem, 1.3vw, 1rem);
  letter-spacing: 0.22em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Kapakana", cursive;
  font-size: clamp(8rem, 18vw, 16.25rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.46;
  margin: 0 0 2.6rem;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.2);
}

.hero__content p:last-child {
  font-size: clamp(1rem, 1.8vw, 1.56rem);
  letter-spacing: -0.07em;
  margin: 0;
}

.hero__play {
  top: calc(60% + clamp(9rem, 13vw, 12rem));
  z-index: 4;
}

.hero.is-video-playing .hero__content,
.hero.is-video-playing .hero__shade {
  opacity: 0;
  transform: translateY(0.5rem);
}

.section-pad {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.1rem, 6vw, 7rem);
}

.invite {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(18rem, 0.82fr) minmax(28rem, 1fr);
  min-height: 54rem;
  padding-left: clamp(6rem, 10vw, 10rem);
  padding-right: clamp(5rem, 9vw, 9rem);
}

.invite__photo {
  box-shadow: var(--shadow);
  margin: 0;
  max-width: 30rem;
  overflow: hidden;
}

.invite__photo img {
  aspect-ratio: 397 / 594;
  filter: grayscale(1);
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  transform: scale(1.02);
  transition: transform 900ms ease, filter 900ms ease;
  width: 100%;
}

.invite.is-visible .invite__photo img {
  animation: image-breathe 9s ease-in-out infinite;
}

.invite__photo:hover img,
.invite__photo:focus-within img {
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.09);
}

.invite__copy {
  max-width: 42rem;
  text-align: center;
}

.script-heading {
  display: inline-block;
  font-family: "Kapakana", cursive;
  font-size: clamp(5.6rem, 7.8vw, 7.8rem);
  letter-spacing: -0.05em;
  line-height: 0.8;
  margin: 0 0 clamp(2rem, 3.2vw, 3.2rem);
  white-space: nowrap;
}

.invite__copy p:not(.script-heading) {
  font-size: clamp(1rem, 1.18vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 auto clamp(2rem, 3.2vw, 3.6rem);
  max-width: 34rem;
}

.invite__date {
  font-size: clamp(1.8rem, 2.9vw, 2.65rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  margin-top: 0 !important;
}

.text-link {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
}

.button-link {
  border: 1px solid var(--ink);
  display: none;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.12em;
  margin-top: 1.2rem;
  min-height: 3rem;
  padding: 0.82rem 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.countdown-band,
.rsvp {
  min-height: 42rem;
  overflow: hidden;
  position: relative;
}

.countdown-band {
  aspect-ratio: 21 / 9;
  background: var(--paper);
  min-height: 0;
}

.countdown-band img,
.rsvp > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.countdown-band img {
  filter: grayscale(1) contrast(1.02) brightness(0.96);
  height: 100%;
  object-fit: cover;
  top: 0;
}

.countdown-band__overlay,
.rsvp__overlay {
  background: rgba(54, 52, 44, 0.18);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.countdown-band__overlay {
  background: rgba(0, 0, 0, 0.12);
}

.countdown-band__content {
  color: var(--ivory);
  inset: 0;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.countdown-band h2 {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.countdown-display {
  display: grid;
  gap: clamp(0.45rem, 1.4vw, 1.65rem);
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
  max-width: 64rem;
  width: min(100%, 64rem);
}

.countdown-display div {
  background: transparent;
  border: 0;
  min-width: 0;
  padding: 0;
}

.countdown-display strong {
  display: block;
  font-family: "Libertinus Math", "KoPub Batang", Georgia, serif;
  font-size: clamp(3.4rem, 6.4vw, 7rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  line-height: 0.8;
  white-space: nowrap;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.86);
  transition: transform 260ms ease;
}

.countdown-display strong.is-ticking {
  transform: translateY(-5px);
}

.countdown-display span {
  color: rgba(255, 246, 208, 0.82);
  display: block;
  font-size: clamp(1rem, 1.9vw, 1.65rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  margin-top: 1rem;
  text-shadow: none;
  text-transform: uppercase;
}

.section-title {
  margin: 0 auto 2.6rem;
  max-width: 42rem;
  text-align: center;
}

.section-title p {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0;
}

.play-toggle {
  align-items: center;
  background: rgba(255, 246, 208, 0.22);
  border: 1px solid rgba(255, 246, 208, 0.72);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 5.8rem;
  justify-content: center;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease, transform 220ms ease;
  width: 5.8rem;
  z-index: 3;
  animation: play-pulse 2.4s ease-in-out infinite;
}

.play-toggle.hero__play {
  top: calc(60% + clamp(9rem, 13vw, 12rem));
}

.play-toggle span {
  border-bottom: 1rem solid transparent;
  border-left: 1.45rem solid var(--ivory);
  border-top: 1rem solid transparent;
  margin-left: 0.28rem;
}

.play-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
}

.schedule {
  align-items: start;
  display: grid;
  column-gap: clamp(0.5rem, 1.6vw, 1.8rem);
  grid-template-columns: minmax(16rem, 0.9fr) minmax(22rem, 1.1fr);
  min-height: 40rem;
  padding-top: clamp(5rem, 8vw, 8rem);
}

.schedule__mobile-image,
.mobile-rsvp-teaser {
  display: none;
}

.schedule__title {
  color: rgba(75, 73, 73, 0.84);
  text-align: center;
  text-transform: uppercase;
  transform: translateY(-1.5rem);
}

.schedule__title--desktop {
  white-space: nowrap;
}

.schedule__title--mobile {
  display: none;
}

.schedule__title span,
.schedule__title h2 {
  display: block;
  font-family: "KoPub Batang", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

.schedule__list {
  border-left: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(0.9rem, 1.3vw, 1.35rem);
}

.schedule__list li {
  padding: 1rem 0;
}

.schedule__list time {
  display: block;
  font-family: "Lato", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.4;
}

.schedule__list span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rsvp {
  min-height: 52rem;
}

.rsvp > img {
  filter: grayscale(1);
  object-position: center bottom;
}

.rsvp__overlay {
  background: rgba(0, 0, 0, 0.38);
}

.rsvp__content {
  align-items: center;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.8rem) clamp(1rem, 5vw, 5rem);
  position: absolute;
  text-align: center;
  z-index: 2;
}

.rsvp__heading {
  margin-top: 0;
}

.rsvp__heading p {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 0.9;
  margin: 0 0 0.55rem;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.rsvp__heading a {
  color: var(--ivory);
  display: inline-flex;
  flex-direction: column;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.04;
  text-transform: uppercase;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  animation: cta-float 2.8s ease-in-out infinite;
}

.rsvp-form-section {
  background: var(--paper);
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.faq {
  background: var(--paper);
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 6vw, 7rem);
}

.faq__inner {
  margin: 0 auto;
  max-width: 66rem;
}

.faq h2 {
  font-family: "Kapakana", cursive;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.8;
  margin: 0 0 clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.faq__list {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq article {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.faq h3 {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.55rem;
}

.faq p {
  color: var(--soft-ink);
  font-size: clamp(0.94rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  margin: 0;
}

.form-shell {
  background: linear-gradient(
      135deg,
      rgba(255, 254, 250, 0.86),
      rgba(255, 246, 208, 0.44)
    ),
    rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 246, 208, 0.48);
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 43rem;
  padding: clamp(0.85rem, 2vw, 1.4rem);
  text-align: center;
  width: min(100%, 43rem);
}

.form-shell iframe {
  border: 0;
  height: 700px;
  margin: 0 auto;
  width: min(100%, 640px);
}

.form-shell.is-form-unavailable {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 18rem;
}

.form-shell.is-form-unavailable iframe {
  display: none;
}

.form-fallback {
  align-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  display: inline-flex;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 4rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

.form-fallback[hidden] {
  display: none;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 4rem);
}

.footer a {
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from {
    transform: scale(1.1) translateY(-1.2%);
  }

  to {
    transform: scale(1.02) translateY(0);
  }
}

@keyframes play-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 246, 208, 0.34);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(255, 246, 208, 0);
  }
}

@keyframes cta-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (min-width: 900px) {
  .hero {
    aspect-ratio: auto;
    height: 100vh;
    height: 100svh;
    min-height: 550px;
    max-height: none;
  }

  .invite,
  .rsvp {
    height: 100vh;
    height: 100svh;
    min-height: 550px;
  }

  .invite {
    box-sizing: border-box;
    padding-bottom: 8svh;
    padding-top: 8svh;
  }

  .invite__photo {
    aspect-ratio: 397 / 594;
    height: min(90svh, 45rem);
    justify-self: center;
    max-height: 84svh;
    max-width: 100%;
    width: auto;
  }

  .hero__poster {
    animation: none;
    object-position: center bottom;
    transform: none;
  }

  .hero__content {
    transform: translateY(10%);
  }

  .schedule__title {
    transform: translateY(-0.45rem);
  }

  .countdown-band {
    min-height: 42vw;
  }
}

@media (max-width: 899px) {
  .nav {
    display: none;
  }

  .nav a {
    font-size: 0.56rem;
    min-height: 1.9rem;
    padding: 0.28rem 0.34rem;
    width: 4.85rem;
  }

  .monogram {
    height: 60px;
    padding: 15px;
    width: 60px;
  }

  .hero {
    aspect-ratio: auto;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    width: 100%;
    max-width: none;
    background: #000;
    margin: 0 auto;
  }

  .hero__iframe {
    background: #000;
  }

  .hero__iframe iframe {
    height: 104%;
    inset: -2%;
    max-width: none;
    width: 104%;
  }

  .hero__poster {
    object-position: center top;
    transform: none;
    animation: none;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 19vw, 6.4rem);
    line-height: 0.54;
    margin-bottom: 0.65rem;
  }

  .hero__content {
    justify-content: end;
    padding: 5rem 1rem 7rem;
    transform: translateY(-10%);
  }

  .hero__content p:last-child {
    font-size: 0.8rem;
    letter-spacing: 0;
  }

  .hero__scroll {
    bottom: 3.1rem;
    font-size: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  .hero__scroll::before {
    content: "";
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid rgba(255, 246, 208, 0.8);
    border-radius: 50%;
    margin: 0 auto 0.2rem;
  }

  .hero__play,
  .play-toggle.hero__play {
    top: 50%;
    height: 3.2rem;
    width: 3.2rem;
  }

  .play-toggle span {
    border-bottom-width: 0.55rem;
    border-left-width: 0.8rem;
    border-top-width: 0.55rem;
    margin-left: 0.18rem;
  }

  .invite,
  .schedule {
    grid-template-columns: 1fr;
  }

  .invite {
    display: block;
    max-width: var(--mobile-section-width);
    min-height: 0;
    margin: 0 auto;
    padding: 3.4rem 1.75rem 4.2rem;
  }

  .invite__photo {
    display: none;
    padding: 50px;
    margin: 50px;
  }

  .invite__copy {
    max-width: 34rem;
    margin: 0 auto;
  }

  .script-heading {
    font-size: 4.35rem;
    margin-bottom: 1.4rem;
  }

  .invite__copy p:not(.script-heading) {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    max-width: 31rem;
  }

  .invite__date {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important;
  }

  .button-link {
    display: none;
  }

  .countdown-band {
    aspect-ratio: 3 / 2;
    display: block;
    max-width: var(--mobile-section-width);
    min-height: 0;
    margin: 0 auto;
  }

  .countdown-band img {
    content: url("assets/images/mobile_countdown.webp");
    filter: grayscale(1) brightness(0.58) contrast(0.92);
    inset: -1px;
    max-width: none;
    object-position: center;
    width: calc(100% + 2px);
  }

  .countdown-band__overlay {
    background: rgba(35, 34, 31, 0.2);
  }

  .countdown-band__content {
    padding: 1.5rem 10%;
  }

  .countdown-band h2 {
    clip: auto;
    clip-path: none;
    font-family: "Kapakana", cursive;
    font-size: clamp(3rem, 13vw, 4rem);
    font-weight: 400;
    height: auto;
    line-height: 0.8;
    margin: 0 0 1.6rem;
    overflow: visible;
    position: static;
    white-space: normal;
    width: auto;
  }

  .countdown-display {
    gap: 0.15rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .countdown-display strong {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
    letter-spacing: 0.02em;
    line-height: 1;
  }

  .countdown-display span {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    margin-top: 0.45rem;
  }

  .schedule {
    display: block;
    min-height: 0;
    max-width: var(--mobile-section-width);
    min-width: 0;
    margin: 0 auto;
    padding: 4.5rem 0 5rem;
    position: relative;
  }

  .schedule__mobile-image {
    display: none;
  }

  .schedule__title,
  .schedule__list {
    color: var(--ink);
    position: static;
    width: 100%;
  }

  .schedule__title {
    margin-bottom: 2.5rem;
    text-align: center;
    white-space: normal;
  }

  .schedule__title--desktop {
    display: none;
  }

  .schedule__title--mobile {
    display: block;
    transform: translateY(-5%);
  }

  .schedule__title span,
  .schedule__title h2 {
    display: block;
    font-family: "Kapakana", cursive;
    font-size: 4.35rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.68;
    text-transform: none;
  }

  .schedule__title span {
    font-size: 1.7rem;
    margin-right: 0;
  }

  .schedule__list {
    border-left: 0;
    list-style: none;
    margin: 0 1.75rem 0 20%;
    padding: 0 0 0 1.5rem;
    width: auto;
  }

  .schedule__list li {
    padding: 0 0 1.55rem;
    position: relative;
  }

  .schedule__list li:last-child {
    padding-bottom: 0;
  }

  .schedule__list li::before {
    background: var(--ink);
    border: 3px solid var(--paper);
    border-radius: 50%;
    content: "";
    height: 0.65rem;
    left: -1.5rem;
    position: absolute;
    top: 0.175rem;
    transform: translateX(-50%);
    width: 0.65rem;
    z-index: 2;
  }

  .schedule__list li:not(:last-child)::after {
    background: rgba(75, 73, 73, 0.3);
    content: "";
    height: 100%;
    left: -1.5rem;
    position: absolute;
    top: 0.5rem;
    transform: translateX(-50%);
    width: 1px;
    z-index: 1;
  }

  .schedule__list time,
  .schedule__list span {
    letter-spacing: 0;
    text-transform: none;
  }

  .schedule__list time {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    line-height: 1rem;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .schedule__list span {
    font-family: "KoPub Batang", Georgia, serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
  }

  .mobile-rsvp-teaser {
    align-items: center;
    color: var(--ivory);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--mobile-section-width);
    min-height: 27rem;
    margin: 0 auto;
    overflow: hidden;
    padding: 1.75rem 1.5rem 2rem;
    position: relative;
    text-align: center;
  }

  .mobile-rsvp-teaser::before,
  .mobile-rsvp-teaser::after {
    content: "";
    inset: 0;
    position: absolute;
  }

  .mobile-rsvp-teaser::before {
    background: url("assets/images/mobile_RSVP_background.webp") center bottom / cover no-repeat;
    filter: grayscale(1);
    inset: -1px;
    z-index: 0;
  }

  .mobile-rsvp-teaser::after {
    background: rgba(25, 24, 22, 0.48);
    z-index: 1;
  }

  .mobile-rsvp-teaser > * {
    position: relative;
    z-index: 2;
  }

  .mobile-rsvp-teaser p {
    font-family: "Kapakana", cursive;
    font-size: clamp(3rem, 13vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 0.82;
    margin: -1.8rem auto 1.2rem;
  }

  .mobile-rsvp-teaser a {
    text-decoration-thickness: 1px;
  }

  .mobile-rsvp-teaser span {
    color: rgba(255, 246, 208, 0.88);
    display: block;
    font-size: 0.8rem;
  }

  .mobile-rsvp-teaser__scroll {
    align-items: center;
    border: 1px solid rgba(255, 246, 208, 0.7);
    border-radius: 50%;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    margin-top: 1.4rem;
    text-decoration: none;
    width: 2rem;
  }

  .mobile-rsvp-teaser__scroll span {
    border-bottom: 1px solid var(--ivory);
    border-right: 1px solid var(--ivory);
    height: 0.5rem;
    transform: translateY(-0.1rem) rotate(45deg);
    width: 0.5rem;
  }

  .rsvp {
    display: none;
  }

  .rsvp__content {
    padding: 2.5rem 1rem;
  }

  .rsvp__heading {
    margin-top: 0;
  }

  .form-shell {
    width: min(100%, 42rem);
  }

  .rsvp-form-section {
    max-width: var(--mobile-section-width);
    margin: 0 auto;
    padding: 1.7rem 1rem 3.5rem;
  }

  .faq {
    max-width: var(--mobile-section-width);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
  }

  .faq h2 {
    font-size: 4.4rem;
    margin-bottom: 2rem;
  }

  .faq__list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .invite,
  .countdown-band,
  .schedule,
  .mobile-rsvp-teaser,
  .rsvp-form-section,
  .faq {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding: 4rem 1rem;
  }

  .schedule {
    padding: 4.5rem 0 5rem;
  }

  .invite__copy p:not(.script-heading) {
    font-size: 0.8rem;
    max-width: 31rem;
  }

  .countdown-band {
    min-height: 0;
  }

  .rsvp {
    display: none;
  }

  .form-shell {
    padding: 0.7rem;
  }

  .form-shell iframe {
    height: 700px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
