:root {
  --cream: #fff9f0;
  --cream-deep: #f8eddc;
  --honey: #f2b544;
  --apple: #d95845;
  --mint: #a9d5cf;
  --caramel: #9b6845;
  --ink: #583c2d;
  --paper: #fffdf8;
  --line: rgba(155, 104, 69, 0.16);
  --shadow: 0 14px 38px rgba(104, 69, 43, 0.09);
  --radius: 18px;
  --radius-small: 9px;
  --section-space: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream-deep);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-deep);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

.music-control {
  position: fixed;
  z-index: 100;
  top: 14px;
  top: max(14px, calc(env(safe-area-inset-top) + 8px));
  right: 14px;
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 249, 240, 0.72);
  box-shadow: 0 5px 18px rgba(79, 51, 34, 0.1);
  font: inherit;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
}

.music-control:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

.music-control__icon {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
  transform-origin: 50% 55%;
}

.music-control.is-playing .music-control__icon {
  animation: musicSway 2.8s ease-in-out infinite;
}

.music-control:not(.is-playing)::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
  transform: rotate(-42deg);
  opacity: 0.58;
}

.music-control.is-unavailable {
  display: none;
}

@keyframes musicSway {
  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

.invitation {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 50px rgba(73, 55, 42, 0.12);
}

.section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}

.section--paper {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(155, 104, 69, 0.08) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}

.section__inner {
  width: 100%;
  padding: var(--section-space) 24px;
}

.section-kicker {
  color: var(--caramel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
}

.section-kicker::before {
  content: "✦";
  color: var(--honey);
  font-size: 8px;
  letter-spacing: 0;
}

.welcome .section-kicker,
.invitation-info__heading .section-kicker {
  justify-content: center;
}

.section h2 {
  margin-top: 10px;
  color: var(--ink);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(34px, 10vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  color: var(--ink);
  background: var(--mint);
}

.hero__image,
.hero__shade,
.hero__glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 50% 48%;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0.7) 0%, rgba(255, 249, 240, 0.08) 27%, transparent 46%),
    linear-gradient(0deg, rgba(255, 249, 240, 0.82) 0%, rgba(255, 249, 240, 0.12) 28%, transparent 44%);
}

.hero__glow {
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 250, 218, 0.7) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 17%, rgba(255, 250, 218, 0.62) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 29%, rgba(255, 255, 255, 0.62) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 15%, rgba(255, 244, 196, 0.2), transparent 30%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  top: 42px;
  right: 24px;
  left: 24px;
  inset: 42px 24px auto;
  inset: max(42px, calc(env(safe-area-inset-top) + 22px)) 24px auto;
  text-align: center;
  text-shadow: 0 1px 12px rgba(255, 253, 247, 0.6);
}

.hero h1 {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(25px, 7.5vw, 34px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.hero__days {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 7vw, 32px);
  line-height: 0.9;
  letter-spacing: 0.18em;
}

.hero__days span {
  font-size: clamp(64px, 20vw, 90px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero__star {
  display: block;
  margin: 12px 0 9px;
  color: var(--honey);
  font-size: 13px;
}

.hero__occasion {
  position: absolute;
  right: 24px;
  bottom: 88px;
  bottom: max(88px, calc(env(safe-area-inset-bottom) + 70px));
  left: 24px;
  text-align: center;
}

.hero__occasion p {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 19px;
  letter-spacing: 0.16em;
}

.hero__occasion p span {
  padding: 0 3px;
  color: var(--honey);
}

.hero__occasion time {
  display: block;
  margin-top: 9px;
  color: var(--caramel);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 8px));
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(88, 60, 45, 0.74);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.welcome {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.welcome::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 68px;
  height: 68px;
  background: linear-gradient(225deg, var(--cream-deep) 0 48%, rgba(232, 217, 196, 0.5) 49%, var(--paper) 52%);
  box-shadow: -7px 8px 18px rgba(118, 82, 52, 0.04);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.welcome::after {
  content: "";
  position: absolute;
  top: 17%;
  right: -58px;
  width: 130px;
  height: 180px;
  border: 1px solid rgba(242, 181, 68, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.welcome__inner {
  position: relative;
  z-index: 1;
  padding-top: 86px;
  padding-bottom: 86px;
}

.welcome .section-kicker {
  color: var(--honey);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.27em;
}

.welcome h2 {
  margin-top: 14px;
  font-size: clamp(31px, 9vw, 42px);
  font-weight: 500;
  letter-spacing: 0.07em;
}

.welcome h2 em {
  color: var(--apple);
  font-style: normal;
  letter-spacing: 0.12em;
}

.welcome__ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--honey);
}

.welcome__ornament span {
  width: 30px;
  height: 10px;
  border-top: 1px solid rgba(155, 104, 69, 0.35);
  border-radius: 50%;
}

.welcome__ornament span:first-child {
  transform: rotate(7deg);
}

.welcome__ornament span:last-child {
  transform: rotate(-7deg);
}

.welcome__ornament i {
  font-size: 12px;
  font-style: normal;
}

.welcome__ornament--top {
  margin-bottom: 27px;
}

.welcome__ornament--bottom {
  margin-top: 25px;
}

.welcome__ornament--bottom i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--honey);
}

.welcome__copy {
  margin-top: 36px;
  color: #654b3b;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.045em;
}

.welcome__copy span {
  display: block;
}

.welcome__copy span + span {
  margin-top: 20px;
}

.welcome__signature {
  margin-top: 36px;
  color: var(--caramel);
}

.welcome__signature p {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

.welcome__signature span {
  display: block;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.25em;
}

.story {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 10%, rgba(217, 88, 69, 0.08) 0 56px, transparent 57px),
    var(--cream);
}

.story .section__inner {
  padding-top: 78px;
  padding-bottom: 92px;
}

.story__heading {
  position: relative;
  z-index: 2;
  width: 100%;
}

.story .section-kicker {
  color: var(--apple);
}

.story h2 {
  margin-top: 12px;
  font-size: clamp(32px, 9.5vw, 44px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.story h2 span {
  display: inline-block;
  font-size: 0.72em;
  transform: rotate(7deg) translateY(-2px);
}

.apple-layout {
  position: relative;
  margin-top: 34px;
  padding-bottom: 174px;
}

.apple-photo {
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.apple-photo img {
  height: 100%;
  object-fit: cover;
}

.apple-photo--main {
  position: relative;
  z-index: 1;
  width: 83%;
  padding: 8px;
  border-radius: 32px;
  transform: rotate(-1.5deg);
}

.apple-photo--main img {
  aspect-ratio: 3 / 4;
  border-radius: 25px;
}

.apple-photo__label {
  position: absolute;
  right: -2px;
  bottom: 30px;
  padding: 7px 12px;
  border-radius: 999px 0 0 999px;
  color: white;
  background: var(--apple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.apple-photo--aside {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: 68px;
  width: 58%;
  padding: 7px;
  border-radius: 22px;
  transform: rotate(4deg);
}

.apple-photo--aside img {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.story__copy {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 2px;
  width: 52%;
  padding: 22px 18px 19px;
  border-left: 2px solid var(--apple);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 253, 248, 0.94);
}

.story__copy p {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.story__copy p + p {
  margin-top: 13px;
  color: var(--apple);
}

.story__copy > span {
  position: absolute;
  top: 13px;
  right: 12px;
  color: var(--honey);
  font-size: 11px;
}

.apple-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--apple);
}

.apple-dot--one {
  top: 7%;
  right: 4%;
  width: 9px;
  height: 9px;
}

.apple-dot--two {
  top: 12%;
  right: 0;
  width: 4px;
  height: 4px;
  opacity: 0.5;
}

.milestone {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

.adventure-editorial {
  position: relative;
  padding: 86px 24px 102px;
}

.adventure-editorial::before {
  content: "";
  position: absolute;
  top: 54px;
  right: -36px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(242, 181, 68, 0.35);
  border-radius: 50%;
}

.adventure-editorial__heading {
  position: relative;
  z-index: 2;
  width: 78%;
  margin-bottom: 34px;
}

.adventure-editorial__heading .section-kicker {
  color: var(--honey);
}

.adventure-editorial__heading h2 {
  margin-top: 8px;
  color: var(--caramel);
  font-size: clamp(34px, 10vw, 46px);
  font-weight: 500;
}

.adventure-editorial__heading > p:last-child {
  margin-top: 12px;
  color: #725441;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.editorial-photo {
  position: relative;
}

.editorial-photo img {
  height: 100%;
  object-fit: cover;
}

.editorial-photo figcaption {
  color: var(--caramel);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.editorial-photo--star {
  z-index: 1;
  width: 92%;
  transform: rotate(-1deg);
}

.editorial-photo--star img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.editorial-photo--star figcaption {
  margin-top: 8px;
  text-align: right;
}

.adventure-editorial__middle {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 72%;
  margin: 42px 0 30px auto;
  padding-right: 4px;
}

.adventure-editorial__middle p,
.adventure-editorial__wish {
  color: #674a38;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.adventure-editorial__middle span {
  padding-bottom: 7px;
  color: var(--honey);
  font-size: 14px;
}

.editorial-photo--wide {
  z-index: 1;
  width: 76%;
  margin-left: auto;
  transform: rotate(1.2deg);
}

.editorial-photo--wide img {
  aspect-ratio: 4 / 3;
  border-radius: 7px;
}

.editorial-photo--portrait {
  z-index: 2;
  width: 47%;
  margin-top: -45px;
  margin-left: 2px;
  padding: 6px 6px 17px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.editorial-photo--portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 28%;
  border-radius: 3px;
}

.editorial-photo--portrait figcaption {
  margin-top: 9px;
  text-align: center;
}

.adventure-editorial__wish {
  width: 50%;
  margin: -52px 0 0 auto;
  padding-left: 17px;
  border-left: 1px solid var(--honey);
}

.adventure-editorial__number {
  position: absolute;
  right: 21px;
  bottom: 24px;
  color: rgba(155, 104, 69, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  line-height: 1;
}

.gallery {
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(155, 104, 69, 0.07) 0.65px, transparent 0.65px);
  background-size: 7px 7px;
}

.invitation-info {
  padding-top: 82px;
  padding-bottom: 86px;
}

.invitation-info__heading {
  text-align: center;
}

.invitation-info__heading .section-kicker {
  color: var(--honey);
}

.invitation-info__heading h2 {
  color: var(--caramel);
  font-weight: 500;
}

.invitation-info__intro {
  margin-top: 22px;
  color: #644939;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.invitation-info__intro span {
  display: block;
  margin-top: 13px;
}

.event-date {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.event-date__calendar,
.event-date__time {
  min-height: 150px;
  padding: 21px 14px;
  text-align: center;
}

.event-date__calendar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  background: var(--caramel);
}

.event-date__calendar span {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.event-date__calendar strong {
  margin: 3px 0;
  color: #ffe3a1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 67px;
  font-weight: 400;
  line-height: 0.95;
}

.event-date__time {
  display: grid;
  place-content: center;
  color: var(--caramel);
}

.event-date__time span {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.event-date__time time {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.event-date__time small {
  margin-top: 7px;
  color: #846552;
  font-size: 11px;
}

.hotel-card {
  position: relative;
  margin-top: 20px;
  padding: 31px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(242, 181, 68, 0.32);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.hotel-card__star {
  position: absolute;
  top: 18px;
  right: 19px;
  color: var(--honey);
  font-size: 13px;
}

.hotel-card__label {
  color: var(--honey);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hotel-card h3 {
  margin-top: 10px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hotel-card__hall {
  margin-top: 5px;
  color: var(--caramel);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hotel-card__divider {
  width: 32px;
  height: 1px;
  margin: 18px auto 15px;
  background: var(--honey);
}

.hotel-card address {
  color: #705341;
  font-size: 12px;
  font-style: normal;
  line-height: 1.8;
}

.map-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-small);
  color: white;
  background: var(--caramel);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.map-button:active {
  background: #855738;
}

.map-button:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

.map-button i {
  color: #ffe3a1;
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
}

.invitation-info__hosts {
  margin-top: 26px;
  text-align: center;
}

.invitation-info__hosts > span {
  color: var(--honey);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.invitation-info__hosts p {
  margin-top: 7px;
  color: var(--caramel);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.invitation-info__hosts i {
  padding: 0 8px;
  color: var(--honey);
  font-style: normal;
}

.closing {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--cream);
}

.closing__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 10px 0;
  background: var(--cream);
}

.closing__photo::after {
  content: "";
  display: block;
  height: 10px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.18), rgba(255, 249, 240, 0.72));
}

.closing__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.closing::before {
  content: "";
  position: absolute;
  right: -55px;
  bottom: 17%;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(242, 181, 68, 0.3);
  border-radius: 50%;
}

.closing__content {
  position: relative;
  z-index: 2;
  margin-top: -2px;
  padding: 42px 28px 58px;
  padding: 42px 28px max(58px, calc(env(safe-area-inset-bottom) + 40px));
  color: var(--ink);
  text-align: center;
}

.closing h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(30px, 8.6vw, 40px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.closing__kicker {
  color: var(--honey);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.closing__story {
  margin-top: 24px;
  color: #735543;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.closing__meeting {
  margin-top: 22px;
}

.closing__meeting time {
  display: block;
  color: var(--apple);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 21px;
  letter-spacing: 0.12em;
}

.closing__meeting p {
  margin-top: 4px;
  color: var(--caramel);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.closing__name {
  margin-top: 24px;
}

.closing__name strong {
  display: block;
  color: var(--caramel);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-indent: 0.25em;
}

.closing__name span {
  display: block;
  margin-top: 4px;
  color: var(--honey);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.closing__invitation {
  width: 190px;
  margin: 25px auto 0;
  padding-top: 15px;
  border-top: 1px solid rgba(155, 104, 69, 0.24);
  color: var(--caramel);
}

.closing__invitation > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.closing__invitation i {
  padding: 0 7px;
  color: var(--honey);
  font-style: normal;
}

.closing__invitation p {
  margin-top: 5px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}

.closing__end-star {
  display: block;
  margin-top: 20px;
  color: var(--honey);
  font-size: 12px;
}

@media (min-width: 481px) {
  body {
    padding: 24px 0;
  }

  .invitation {
    border-radius: 24px;
  }
}

@media (max-width: 359px) {
  .section__inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 25px;
  }

}

@media (max-height: 740px) {
  .welcome__inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .welcome__ornament--top {
    margin-bottom: 18px;
  }

  .welcome__copy {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.75;
  }

  .welcome__copy span + span {
    margin-top: 13px;
  }

  .welcome__signature {
    margin-top: 24px;
  }
}

/* Restrained scroll reveals: opacity and compositor-friendly transforms only. */
.js-enabled .reveal {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal--title {
  transform: translate3d(0, 16px, 0);
  transition-duration: 760ms;
}

.js-enabled .reveal--text {
  transition-duration: 720ms;
}

.js-enabled .reveal--media {
  transform: scale(0.985);
  transition-duration: 1000ms;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-enabled .hero__days,
.js-enabled .hero h1,
.js-enabled .hero__occasion,
.js-enabled .scroll-cue {
  opacity: 0;
}

.js-enabled .hero__days {
  animation: heroFadeUp 900ms 160ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.js-enabled .hero h1 {
  animation: heroFadeUp 850ms 430ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.js-enabled .hero__occasion {
  animation: heroFadeUp 900ms 720ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.js-enabled .scroll-cue {
  animation: heroFade 800ms 1040ms ease-out forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  .js-enabled .reveal,
  .js-enabled .hero__days,
  .js-enabled .hero h1,
  .js-enabled .hero__occasion,
  .js-enabled .scroll-cue {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .music-control.is-playing .music-control__icon {
    animation: none;
  }
}
