:root {
  --ink: #28231f;
  --muted: #756d66;
  --line: #e8ded4;
  --paper: #fbfaf7;
  --soft: #f0ebe5;
  --mist: #edf2ee;
  --leaf: #465f50;
  --clay: #b67865;
  --rose: #d8aaa0;
  --blue: #52697d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(37, 32, 28, 0.14);
  --font-serif-en: "Cinzel", Georgia, "Times New Roman", serif;
  --font-serif-ko: "Noto Serif KR", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  --font-sans-ko: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-sans-en: "Montserrat", Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-quick: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #20211f;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(70, 95, 80, 0.12), transparent 30%, transparent 70%, rgba(82, 105, 125, 0.12)),
    #e9e3da;
  font-family: var(--font-sans-ko);
  line-height: 1.6;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.invite {
  width: min(100%, 480px);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cover {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.cover-slider,
.cover-slide,
.cover__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-slider {
  z-index: -2;
}

.cover-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1400ms ease, transform 7000ms linear;
}

.cover-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.cover__shade {
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(20, 22, 20, 0.2), rgba(20, 22, 20, 0.04) 36%, rgba(20, 22, 20, 0.66)),
    radial-gradient(circle at 50% 74%, rgba(0, 0, 0, 0.18), transparent 40%);
}

.cover__content {
  width: 100%;
  padding: 0 28px 78px;
  text-align: center;
  animation: cover-rise 1000ms ease both;
}

.eyebrow,
.section__kicker {
  margin: 0 0 8px;
  color: var(--clay);
  font-family: var(--font-serif-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.cover .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: var(--font-serif-ko);
  font-size: clamp(2.45rem, 11vw, 3.8rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.34);
}

h1 span {
  display: block;
  margin: 4px 0;
  font-size: 0.42em;
  font-family: var(--font-serif-en);
  color: rgba(232, 211, 201, 0.96);
}

.cover__date,
.cover__place {
  margin-bottom: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.cover__date {
  font-family: var(--font-sans-ko);
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}

.cover__place {
  margin-top: 6px;
  font-size: 0.95rem;
  font-family: var(--font-serif-ko);
  letter-spacing: 0.05em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: translateX(-50%) rotate(45deg);
  animation: cue 1600ms infinite;
}

.audio-control-wrapper {
  position: fixed;
  top: 20px;
  right: calc(50% - 220px);
  z-index: 1200;
}

.bgm-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(232, 222, 212, 0.9);
  border-radius: 50%;
  background: rgba(251, 250, 247, 0.88);
  color: var(--clay);
  box-shadow: 0 6px 18px rgba(37, 32, 28, 0.14);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.bgm-button:active {
  transform: scale(0.94);
}

.bgm-button__icon {
  width: 19px;
  height: 19px;
  transition: opacity 180ms ease;
}

.music-wave {
  position: absolute;
  bottom: 8px;
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 8px;
}

.music-wave span {
  width: 2px;
  min-height: 2px;
  border-radius: 999px;
  background: currentColor;
  animation: music-wave-bar 900ms ease-in-out infinite alternate;
}

.music-wave span:nth-child(2) {
  animation-delay: 160ms;
}

.music-wave span:nth-child(3) {
  animation-delay: 320ms;
}

.bgm-button.is-playing .bgm-button__icon {
  opacity: 0.18;
}

.bgm-button.is-playing .music-wave {
  display: flex;
}

.section {
  padding: 5.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.section-header {
  margin-bottom: 2.5rem;
  padding-top: 1rem;
  text-align: center;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 120px;
  margin: 0 auto;
}

.ornament .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.ornament .dot {
  width: 4px;
  height: 4px;
  background: var(--clay);
  transform: rotate(45deg);
}

.section h2,
.story-copy h2 {
  margin-bottom: 0.8rem;
  font-family: var(--font-serif-ko);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.45;
}

.section > h2,
.story-copy h2 {
  margin-bottom: 24px;
}

.section-header h2 {
  margin-bottom: 0.8rem;
}

.section p {
  color: var(--muted);
  font-size: 0.95rem;
  word-break: keep-all;
}

.intro > p:not(.section__kicker) {
  max-width: 31ch;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--font-serif-ko);
  font-size: 1.02rem;
  line-height: 2.1;
}

.about-cards {
  display: grid;
  gap: 0.8rem;
  margin: 2.8rem auto 0;
  max-width: 340px;
}

.about-cards article {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-align: left;
}

.about-cards span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--clay);
  font-family: var(--font-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.about-cards strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif-ko);
  font-size: 1.08rem;
  font-weight: 500;
}

.about-cards p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-family: var(--font-sans-ko);
  font-size: 0.88rem;
  line-height: 1.7;
}

.signature {
  display: grid;
  grid-template-columns: 1fr auto 16px 1fr auto;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 38px auto 0;
  max-width: 330px;
  color: var(--muted);
  font-size: 0.82rem;
}

.signature strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.signature i {
  width: 4px;
  height: 4px;
  background: var(--clay);
  transform: rotate(45deg);
}

.photo-story,
.timeline-section {
  padding: 64px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.story-copy {
  padding: 0 28px;
  text-align: center;
}

.story-copy p:not(.section__kicker) {
  max-width: 30ch;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  word-break: keep-all;
}

.timeline-list {
  display: grid;
  gap: 1rem;
  padding: 0 2rem 2.5rem;
}

.timeline-item {
  position: relative;
  padding: 1.15rem 1.2rem 1.15rem 1.5rem;
  border: 1px solid rgba(182, 120, 101, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  text-align: left;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 0;
  width: 5px;
  height: 32px;
  border-radius: 999px;
  background: var(--clay);
  transform: translateX(-1px);
}

.timeline-item span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--clay);
  font-family: var(--font-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.13rem;
  text-transform: uppercase;
}

.timeline-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif-ko);
  font-size: 1rem;
  font-weight: 500;
}

.timeline-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  word-break: keep-all;
}

.photo-rail {
  width: 100%;
  overflow: hidden;
}

.photo-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: photo-drift 64s linear infinite;
}

.photo-track img {
  width: 150px;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(37, 32, 28, 0.16);
}

.details,
.contact {
  background: var(--soft);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  text-align: left;
}

.detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(39, 35, 31, 0.12);
}

.detail-list span,
.contact__list span,
.accordion__body span {
  color: var(--muted);
  font-size: 0.86rem;
}

.detail-list strong {
  text-align: right;
  font-size: 1rem;
  font-weight: 500;
}

.calendar {
  background: var(--paper);
}

.wedding-day__summary {
  margin: 1rem auto 0;
  color: var(--clay);
  font-family: var(--font-serif-ko);
  font-size: 0.95rem;
  font-weight: 500;
}

.calendar__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
}

.calendar__head span {
  color: var(--leaf);
  font-size: 1.35rem;
}

.calendar__head strong {
  color: var(--muted);
  font-size: 0.95rem;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  align-items: center;
}

.calendar__grid span,
.calendar__grid b,
.calendar__grid i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font-style: normal;
}

.calendar__grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.calendar__grid b {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
}

.calendar__grid .is-day {
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(70, 95, 80, 0.3);
  animation: day-pulse 2200ms infinite;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 34px;
}

.countdown div {
  min-height: 76px;
  padding: 12px 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.countdown span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.countdown-message {
  margin: 18px auto 0;
  font-size: 0.92rem;
}

.gallery {
  background: var(--paper);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 24px;
}

.tab {
  min-width: 64px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
}

.tab.is-active {
  color: var(--white);
  border-color: var(--leaf);
  background: var(--leaf);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 7px;
  margin-top: 26px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  cursor: pointer;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item.is-tall {
  grid-row: span 2;
  aspect-ratio: 1 / 2;
}

.gallery-item.is-wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease, filter 350ms ease;
}

.gallery-item:active img {
  transform: scale(0.96);
  filter: saturate(1.05);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 28px;
  padding: 10px 22px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--clay);
  background: transparent;
  cursor: pointer;
}

.location {
  background: var(--soft);
}

.button,
.share__button,
.contact__list button,
.accordion__head,
.accordion__body button {
  border: 1px solid rgba(39, 35, 31, 0.16);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.button,
.share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.94rem;
}

.button__icon,
.share__button span {
  color: var(--leaf);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.location-info {
  margin-bottom: 2rem;
  text-align: center;
}

.location-info .hall-name {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-family: var(--font-serif-ko);
  font-size: 1.3rem;
  font-weight: 500;
}

.location-info .hall-address {
  margin: 0 auto 0.4rem;
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.location-info .hall-tel {
  color: var(--clay);
  font-size: 0.85rem;
  font-weight: 500;
}

.map-card-wrapper {
  margin-bottom: 3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(37, 32, 28, 0.04);
}

.map-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 200px;
  overflow: hidden;
  background: #ebf0ec;
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.map-placeholder::before {
  top: 60px;
  left: 40px;
  width: 150px;
  height: 16px;
  transform: rotate(-15deg);
}

.map-placeholder::after {
  right: -20px;
  bottom: 50px;
  width: 220px;
  height: 12px;
  transform: rotate(30deg);
}

.map-grid-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
}

.map-pin {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  background: var(--clay);
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.25);
  transform: rotate(-45deg);
  animation: pin-bounce 1800ms infinite;
}

.map-pin::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
}

.map-label {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.95);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 32, 28, 0.06);
}

.nav-links {
  display: flex;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.nav-btn {
  flex: 1;
  padding: 0.9rem 0.25rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-quick);
}

.nav-btn:last-child {
  border-right: 0;
}

.nav-btn:active {
  background: var(--soft);
}

.nav-btn.naver {
  color: #2db400;
}

.nav-btn.kakao {
  color: #c07900;
}

.nav-btn.tmap {
  color: #ff5e00;
}

.transit-info-container {
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

.transit-info-item {
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed var(--line);
}

.transit-info-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.transit-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-family: var(--font-sans-ko);
  font-size: 0.95rem;
  font-weight: 600;
}

.badge {
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
}

.badge-subway {
  background: #3c7fbf;
}

.badge-bus {
  background: #3cbf5a;
}

.badge-car {
  background: #8c7c70;
}

.transit-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.transit-desc strong {
  color: var(--ink);
}

.contact__list {
  display: grid;
  gap: 10px;
  text-align: left;
}

.contact__list button,
.accordion__body button {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 76px;
  padding: 16px;
  border-radius: 8px;
  text-align: left;
}

.contact__list strong {
  font-size: 1rem;
  font-weight: 500;
}

.contact__list em,
.accordion__body em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.account {
  background: var(--paper);
}

.accordion {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  text-align: left;
}

.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--soft);
}

.accordion__head strong {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 500;
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion.is-open .accordion__body {
  max-height: 140px;
}

.accordion__body > button {
  min-height: 72px;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.share {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: var(--soft);
}

.share__button {
  width: 100%;
  background: var(--leaf);
  color: var(--white);
  border-color: var(--leaf);
}

.share__button span {
  color: currentColor;
}

.share__button--subtle {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(39, 35, 31, 0.16);
}

.footer {
  padding: 52px 28px;
  text-align: center;
  background: var(--paper);
}

.footer p {
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 1.15rem;
}

.footer span {
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 3000;
  width: min(calc(100% - 40px), 420px);
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(39, 35, 31, 0.92);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lightbox,
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.lightbox.is-open,
.modal.is-open {
  display: flex;
}

.lightbox {
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.94);
}

.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.lightbox__close {
  top: 16px;
  right: 18px;
  font-size: 2.4rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  font-size: 3rem;
  line-height: 1;
}

.lightbox__nav--prev {
  left: 8px;
}

.lightbox__nav--next {
  right: 8px;
}

.modal {
  align-items: end;
  justify-content: center;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.modal__sheet {
  position: relative;
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 8px 8px 0 0;
  background: var(--paper);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.22);
}

.modal__sheet h3 {
  margin-bottom: 8px;
  font-weight: 500;
}

.modal__sheet p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(4px);
  transition:
    opacity 900ms cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 900ms cubic-bezier(0.25, 0.8, 0.25, 1),
    filter 900ms cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: opacity, transform, filter;
}

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

.reveal > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 700ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.reveal.is-visible > *:nth-child(2),
.reveal.active > *:nth-child(2) {
  transition-delay: 90ms;
}

.reveal.is-visible > *:nth-child(3),
.reveal.active > *:nth-child(3) {
  transition-delay: 180ms;
}

.reveal.is-visible > *:nth-child(4),
.reveal.active > *:nth-child(4) {
  transition-delay: 270ms;
}

.reveal.is-visible > *:nth-child(5),
.reveal.active > *:nth-child(5) {
  transition-delay: 360ms;
}

@keyframes cover-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0) rotate(45deg);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 5px) rotate(45deg);
  }
}

@keyframes music-wave-bar {
  from {
    height: 2px;
  }
  to {
    height: 8px;
  }
}

@keyframes photo-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 5px));
  }
}

@keyframes day-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(70, 95, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(70, 95, 80, 0);
  }
}

@keyframes pin-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .audio-control-wrapper {
    top: calc(16px + env(safe-area-inset-top));
    right: 18px;
  }
}

@media (min-width: 700px) {
  body {
    padding: 34px 0;
  }

  .invite {
    border-radius: 8px;
  }

  .cover {
    min-height: 820px;
  }
}

@media (max-width: 380px) {
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .photo-track img {
    width: 136px;
    height: 190px;
  }
}
