@font-face {
  font-family: 'JAWAPALSU';
  src: url('../assets/fonts/jawapalsu.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Java Calligraphy';
  src: url('../assets/fonts/javacaligraphy.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Photograph Signature';
  src: url('../assets/fonts/photograph-signature.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Alice';
  src: url('../assets/fonts/alice.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat.woff2') format('woff2');
  font-display: swap;
}

:root {
  --maroon: #6b334d;
  --maroon-deep: #4d2337;
  --maroon-soft: #9e6c7f;
  --gold: #d9b466;
  --gold-pale: #ead69e;
  --gold-text: #76531f;
  --ivory: #f4ede2;
  --paper: #eee7dc;
  --paper-deep: #ded5c8;
  --ink: #2e2528;
  --sage: #697566;
  --white: #fffaf3;
  --shadow: 0 18px 50px rgba(57, 29, 41, 0.22);
  --heritage: 'JAWAPALSU', Trattatello, 'Apple Chancery', cursive;
  --display: 'Alice', Baskerville, Georgia, serif;
  --body: 'Alice', Georgia, serif;
  --script: 'Photograph Signature', 'Java Calligraphy', 'Apple Chancery', cursive;
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  background: #d8d6d4;
}

html,
body {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: #d8d6d4;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.is-locked,
body.lightbox-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 180, 102, 0.85);
  outline-offset: 3px;
}

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

.desktop-scene {
  position: fixed;
  inset: 0 500px 0 0;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: #5e4550;
}

.desktop-scene__photo,
.desktop-scene__wash {
  position: absolute;
  inset: 0;
}

.desktop-scene__photo {
  background: url('../assets/images/reference/7j50t.webp') center / cover no-repeat;
  filter: saturate(0.72) contrast(0.9);
  transform: scale(1.025);
}

.desktop-scene__wash {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 245, 226, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(86, 48, 65, 0.05) 0%, rgba(75, 39, 56, 0.18) 52%, rgba(72, 35, 52, 0.82) 100%);
}

.desktop-title {
  position: absolute;
  z-index: 20;
  right: 0;
  left: 0;
  bottom: 10vh;
  width: min(416px, 72%);
  margin: 0 auto;
  color: var(--white);
  text-align: center;
  text-shadow: 0 3px 24px rgba(51, 18, 34, 0.6);
}

.desktop-title h1 {
  margin: 0;
  font-family: var(--heritage);
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.desktop-title h1 span,
.couple-name span,
.ampersand {
  color: var(--gold);
  font-family: var(--script);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.desktop-title .eyebrow {
  color: var(--gold-pale);
}

.desktop-janur,
.desktop-botanical,
.desktop-gunungan,
.desktop-palm,
.desktop-wayang,
.desktop-flower,
.desktop-orchid,
.desktop-grass,
.desktop-ground {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

.desktop-janur {
  top: 9.6vh;
  width: 25%;
  filter: drop-shadow(0 10px 18px rgba(75, 38, 54, 0.16));
}

.desktop-janur--left {
  left: -1%;
}

.desktop-janur--right {
  right: -1%;
}

.desktop-botanical {
  top: 58.1vh;
  width: 25%;
  z-index: 2;
}

.desktop-botanical--left {
  left: -12%;
}

.desktop-botanical--right {
  right: -12%;
  transform: scaleX(-1);
}

.desktop-gunungan {
  top: 70%;
  width: 20%;
  z-index: 3;
}

.desktop-gunungan--left {
  left: -3.6%;
}

.desktop-gunungan--right {
  right: -3.6%;
  transform: scaleX(-1);
}

.desktop-palm {
  top: 70.4%;
  width: 20.2%;
  z-index: 4;
}

.desktop-palm--left {
  left: 0;
}

.desktop-palm--right {
  right: 0;
}

.desktop-wayang {
  top: 79.5%;
  width: 26.6%;
  z-index: 5;
}

.desktop-wayang--left {
  left: -7.5%;
}

.desktop-wayang--right {
  right: -7.5%;
}

.desktop-flower {
  top: 88%;
  width: 20%;
  z-index: 6;
}

.desktop-flower--left {
  left: 0;
}

.desktop-flower--right {
  right: 0;
  transform: scaleX(-1);
}

.desktop-orchid {
  top: 83.4%;
  width: 17%;
  z-index: 7;
}

.desktop-orchid--left {
  left: -4%;
}

.desktop-orchid--right {
  right: -4%;
}

.desktop-grass {
  bottom: 0;
  width: 25%;
  z-index: 8;
}

.desktop-grass--left {
  left: 0;
}

.desktop-grass--right {
  right: 0;
  transform: scaleX(-1);
}

.desktop-ground {
  bottom: -3%;
  width: 20%;
  z-index: 9;
}

.desktop-ground--left {
  left: -2.5%;
}

.desktop-ground--right {
  right: -2.5%;
  transform: scaleX(-1);
}

.sparkles,
.sparkles::before,
.sparkles::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: '';
  background-image:
    radial-gradient(circle, rgba(255, 244, 208, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
  background-position: 10% 20%, 70% 10%;
  background-size: 320px 310px, 285px 360px;
  animation: sparkle-drift 18s linear infinite;
}

.sparkles::before {
  transform: rotate(12deg) scale(1.08);
  background-size: 390px 430px, 420px 380px;
  animation-duration: 22s;
}

.sparkles::after {
  transform: rotate(-7deg) scale(0.95);
  background-size: 460px 410px, 380px 470px;
  animation-duration: 27s;
}

.invitation-shell {
  position: relative;
  z-index: 10;
  width: 500px;
  min-height: 100svh;
  margin-left: auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: -16px 0 50px rgba(31, 19, 25, 0.18);
}

.cover {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  width: 500px;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #eee9e3;
  transition: transform 0.9s ease-in-out;
}

.cover.is-opening {
  transform: translateY(-100%);
}

.cover.is-gone {
  display: none;
}

.paper-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  background:
    repeating-linear-gradient(18deg, rgba(101, 78, 65, 0.06) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.9), transparent 28%);
  mix-blend-mode: multiply;
}

.cover-mountain,
.cover-gate,
.section-gate {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.cover-mountain {
  z-index: 1;
  bottom: 0;
  left: -55%;
  width: 210%;
  max-width: none;
}

.cover-gate {
  z-index: 2;
  top: -9%;
  left: -5%;
  width: 110%;
  max-width: none;
  height: 94%;
  object-fit: fill;
  opacity: 0.62;
}

.section-gate {
  z-index: -1;
  inset: -1% 1% auto;
  width: 98%;
  height: 102%;
  object-fit: fill;
  opacity: 0.34;
}

.cover-content {
  position: absolute;
  z-index: 12;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  text-align: center;
}

.cover-name {
  position: absolute;
  top: 33.7%;
  right: 0;
  left: 0;
  display: flex;
  width: 250px;
  margin: 0 auto;
  color: var(--maroon-deep);
  font-family: var(--heritage);
  font-size: clamp(2.75rem, 6.2vh, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  flex-direction: column;
}

.cover-name span:nth-child(2) {
  color: var(--maroon-deep);
  font-family: var(--heritage);
}

.cover-guest {
  position: absolute;
  z-index: 16;
  top: 55%;
  right: 0;
  left: 0;
  width: 310px;
  margin: 0 auto;
  pointer-events: auto;
}

.cover-guest .guest-label,
.cover-guest .guest-name {
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--display);
  font-size: 0.82rem;
  line-height: 1.12;
}

.cover-guest .guest-name {
  margin-bottom: 2.15rem;
  font-weight: 400;
}

.janur,
.cover-botanical,
.cover-palm,
.cover-wayang,
.cover-flower,
.cover-orchid,
.cover-grass,
.cover-ground,
.cover-gunungan,
.lower-decoration img,
.section-gate,
.event-arch,
.side-botanical,
.paper-canopy,
.wishes-flower {
  pointer-events: none;
  user-select: none;
}

.janur {
  position: absolute;
  z-index: 6;
  top: 9.5%;
  width: 50%;
  filter: drop-shadow(0 8px 12px rgba(75, 35, 50, 0.14));
}

.janur--left {
  left: -2%;
}

.janur--right {
  right: -2%;
}

.cover-botanical,
.cover-gunungan,
.cover-palm,
.cover-wayang,
.cover-flower,
.cover-orchid,
.cover-grass,
.cover-ground {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.cover-botanical {
  z-index: 3;
  top: 35%;
  width: 50%;
}

.cover-botanical--left {
  left: -24%;
}

.cover-botanical--right {
  right: -24%;
  transform: scaleX(-1);
}

.cover-gunungan {
  z-index: 4;
  top: 59%;
  width: 40%;
}

.cover-gunungan--left {
  left: -7%;
}

.cover-gunungan--right {
  right: -7%;
  transform: scaleX(-1);
}

.cover-palm {
  z-index: 5;
  top: 57%;
  width: 40%;
}

.cover-palm--left {
  left: 0;
}

.cover-palm--right {
  right: 0;
}

.cover-wayang {
  z-index: 7;
  top: 68%;
  width: 53%;
}

.cover-wayang--left {
  left: -15%;
}

.cover-wayang--right {
  right: -15%;
}

.cover-flower {
  z-index: 8;
  top: 81%;
  width: 40%;
}

.cover-flower--left {
  left: 0;
}

.cover-flower--right {
  right: 0;
  transform: scaleX(-1);
}

.cover-orchid {
  z-index: 9;
  top: 74%;
  width: 34%;
}

.cover-orchid--left {
  left: -8%;
}

.cover-orchid--right {
  right: -8%;
}

.cover-grass {
  z-index: 10;
  bottom: 0;
  width: 50%;
}

.cover-grass--left {
  left: 0;
}

.cover-grass--right {
  right: 0;
  transform: scaleX(-1);
}

.cover-ground {
  z-index: 11;
  bottom: -3%;
  width: 40%;
}

.cover-ground--left {
  left: -5%;
}

.cover-ground--right {
  right: -5%;
  transform: scaleX(-1);
}

.portrait-frame {
  position: relative;
  z-index: 3;
  width: 262px;
  aspect-ratio: 0.72;
  padding: 8px;
  border: 2px solid var(--gold);
  border-radius: 50% 50% 46% 46% / 34% 34% 16% 16%;
  background: rgba(250, 244, 234, 0.78);
  box-shadow: var(--shadow), inset 0 0 0 4px rgba(244, 237, 226, 0.75);
}

.portrait-frame::before {
  position: absolute;
  inset: 4px;
  z-index: 2;
  border: 1px solid rgba(217, 180, 102, 0.82);
  border-radius: inherit;
  content: '';
  pointer-events: none;
}

.heritage-portrait {
  width: 236px;
  aspect-ratio: 0.66;
  padding: 17px 15px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.heritage-portrait::before {
  display: none;
}

.heritage-portrait .portrait-photo {
  border: 2px solid var(--gold);
  border-radius: 46% 46% 37% 37% / 22% 22% 13% 13%;
  clip-path: polygon(15% 2%, 85% 2%, 98% 10%, 98% 85%, 84% 94%, 50% 99%, 16% 94%, 2% 85%, 2% 10%);
  object-position: 51% center;
}

.heritage-frame-overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: sepia(0.65) saturate(2.1) hue-rotate(302deg) brightness(0.8);
  pointer-events: none;
}

.heritage-portrait .portrait-flower {
  z-index: 5;
  bottom: 10%;
  width: 78px;
}

.heritage-portrait .portrait-flower.left {
  left: -34px;
}

.heritage-portrait .portrait-flower.right {
  right: -34px;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.cover-portrait {
  width: clamp(198px, 27vh, 238px);
  max-height: 40vh;
  margin-bottom: 12px;
}

.portrait-flower {
  position: absolute;
  z-index: 4;
  bottom: 12%;
  width: 92px;
  filter: drop-shadow(0 7px 8px rgba(72, 39, 43, 0.16));
}

.portrait-flower.left {
  left: -54px;
}

.portrait-flower.right {
  right: -54px;
  transform: scaleX(-1);
}

.couple-name {
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--heritage);
  font-size: clamp(2.35rem, 7.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.guest-label {
  margin: 1.3rem 0 0;
  font-size: 0.75rem;
}

.guest-name {
  max-width: 300px;
  margin: 0.1rem 0 1.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
}

.primary-button,
.secondary-button,
.form-submit,
.copy-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  padding: 0.7rem 1.45rem;
  background: linear-gradient(135deg, var(--gold), #c79b49);
  box-shadow: 0 8px 18px rgba(105, 61, 70, 0.23);
  color: var(--maroon-deep);
  font-weight: 700;
}

.cover-guest .primary-button {
  display: inline-flex;
  min-height: 34px;
  padding: 0.36rem 1.05rem;
  border-radius: 999px;
  align-items: center;
  background: var(--maroon);
  box-shadow: none;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  gap: 0.38rem;
}

.cover-guest .primary-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.primary-button:hover,
.secondary-button:hover,
.form-submit:hover,
.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(78, 39, 56, 0.22);
}

.page-content {
  position: relative;
  min-height: 100svh;
  background: var(--paper);
}

.theme-section,
.verse-section,
.ceremonies,
.paper-section,
.story-section,
.gift-section {
  position: relative;
  overflow: clip;
  isolation: isolate;
  scroll-margin-top: 14px;
}

.theme-section {
  min-height: 100svh;
  background: #e9e1d6;
}

.mountain-layer {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(239, 230, 219, 0.58), rgba(229, 216, 207, 0.76)),
    url('../assets/images/reference/go3nh.webp') center / cover no-repeat;
}

.mountain-layer.muted {
  background:
    linear-gradient(180deg, rgba(115, 79, 92, 0.16), rgba(238, 228, 218, 0.88)),
    url('../assets/images/reference/go3nh.webp') center / cover no-repeat;
}

.mountain-layer.pale {
  filter: grayscale(0.45);
  opacity: 0.45;
}

.section-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 88px 34px 118px;
  text-align: center;
}

.home-section {
  min-height: max(100svh, 860px);
  background: #f0ebe4;
}

.home-paper,
.home-mountain,
.home-janur,
.home-portrait,
.home-lower,
.home-lower img {
  position: absolute;
}

.home-paper {
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(rgba(246, 241, 235, 0.82), rgba(239, 232, 224, 0.68)),
    url('../assets/images/reference/go3nh.webp') center top / cover no-repeat;
  filter: grayscale(0.65);
}

.home-mountain {
  z-index: 1;
  bottom: 0;
  left: -45%;
  width: 190%;
  max-width: none;
  opacity: 0.5;
}

.home-monogram {
  position: absolute;
  z-index: 8;
  top: 11.5%;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--maroon-deep);
  font-family: var(--display);
  line-height: 1;
}

.home-monogram strong {
  font-family: var(--heritage);
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.15em;
}

.home-monogram span {
  font-size: 0.9rem;
}

.home-janur {
  z-index: 4;
  top: 25%;
  width: 35%;
  height: auto;
  object-fit: fill;
}

.home-janur--left {
  left: -5%;
}

.home-janur--right {
  right: -5%;
  animation-name: flb-mirror;
}

.home-portrait {
  z-index: 7;
  top: 25%;
  right: 0;
  left: 0;
  width: 228.25px;
  height: auto;
  aspect-ratio: 2 / 3;
  margin: 0 auto;
}

.home-portrait-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: fill;
  object-position: 50% 50%;
  mask: url('../assets/images/reference/6f740a415e.webp') center / contain no-repeat;
  -webkit-mask: url('../assets/images/reference/6f740a415e.webp') center / contain no-repeat;
}

.home-frame-overlay {
  position: absolute;
  z-index: 3;
  top: 12.47px;
  left: 0;
  width: 100%;
  height: auto;
}

.home-portrait-flower {
  position: absolute;
  z-index: 5;
  top: 92.1px;
  width: 49.8px;
  height: 142.7px;
  object-fit: fill;
}

.home-portrait-flower--left { left: -2.1px; }

.home-portrait-flower--right {
  right: -2.6px;
  animation-name: fla-mirror;
}

.home-couple-name {
  position: absolute;
  z-index: 8;
  top: 61%;
  right: 0;
  left: 0;
  display: flex;
  width: 100%;
  margin: 0 auto;
  color: var(--maroon-deep);
  font-family: 'Java Calligraphy', var(--heritage);
  font-size: 40px;
  font-weight: 400;
  line-height: 56px;
  flex-direction: column;
  text-align: center;
}

.home-couple-name span:nth-child(2) {
  color: var(--maroon-deep);
}

.home-lower {
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-lower img {
  max-width: none;
}

.home-botanical {
  z-index: 1;
  top: 35%;
  width: 50%;
}

.home-botanical--left { left: -28%; }
.home-botanical--right { right: -28%; transform: scaleX(-1); }

.home-palm {
  z-index: 2;
  top: 60.3%;
  width: 35.8%;
}

.home-palm--left { left: -5.5%; }
.home-palm--right { right: -5.5%; animation-name: flb-mirror; }

.home-foliage {
  z-index: 4;
  top: 79.8%;
  width: 30%;
}

.home-foliage--left { left: 15%; }
.home-foliage--right { right: 15%; transform: scaleX(-1); }

.home-bloom {
  z-index: 5;
  top: 88.6%;
  width: 30%;
}

.home-bloom--left { left: 15%; }
.home-bloom--right { right: 15%; transform: scaleX(-1); }

.home-floral {
  z-index: 3;
  top: 76.3%;
  width: 35%;
}

.home-floral--left { left: -5%; }
.home-floral--right { right: -5%; transform: scaleX(-1); }

.home-orchid {
  z-index: 6;
  top: 78.2%;
  width: 21.4%;
  height: 184px;
}

.home-orchid--left { left: 5%; }
.home-orchid--right { right: 5%; animation-name: flc-mirror; }

.home-ground {
  z-index: 7;
  bottom: 0;
  width: 30%;
}

.home-ground--left { left: -5%; }
.home-ground--right { right: -5%; transform: scaleX(-1); }

.wedding-date {
  margin: 0.9rem 0 0;
  color: var(--maroon-deep);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.lower-decoration {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 235px;
  overflow: hidden;
}

.lower-decoration.compact {
  height: 190px;
}

.lower-decoration img {
  position: absolute;
  bottom: -80px;
}

.lower-grass {
  z-index: 1;
  right: -4%;
  bottom: -8px !important;
  left: -4%;
  width: 108%;
  max-width: none;
  opacity: 0.62;
}

.lower-gunungan {
  z-index: 2;
  bottom: -30px !important;
  width: 128px;
  opacity: 0.9;
}

.lower-gunungan.left {
  left: -22px;
}

.lower-gunungan.right {
  right: -22px;
  transform: scaleX(-1);
}

.lower-wayang {
  z-index: 3;
  width: 230px;
  opacity: 0.75;
}

.lower-wayang.left {
  left: -85px;
}

.lower-wayang.right {
  right: -85px;
  transform: scaleX(-1);
}

.lower-bloom {
  z-index: 4;
  width: 170px;
}

.lower-bloom.left {
  left: -32px;
}

.lower-bloom.right {
  right: -32px;
  transform: scaleX(-1);
}

.verse-section {
  min-height: 600px;
  color: var(--white);
}

.verse-photo,
.verse-overlay {
  position: absolute;
  inset: 0;
}

.verse-photo {
  background: url('../assets/images/reference/7j50t.webp') center / cover no-repeat;
}

.verse-overlay {
  background: linear-gradient(180deg, rgba(73, 42, 57, 0.42), rgba(73, 42, 57, 0.78));
}

.verse-section::after {
  position: absolute;
  z-index: 2;
  right: -7%;
  bottom: -120px;
  left: -7%;
  height: 235px;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(rgba(238, 231, 220, 0.85), rgba(238, 231, 220, 0.96)),
    url('../assets/images/reference/go3nh.webp') center / cover;
  content: '';
}

.verse-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 580px;
  padding: 90px 46px 150px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.script-heading {
  margin: 0 0 1rem;
  color: var(--maroon);
  font-family: var(--script);
  font-size: clamp(2.35rem, 9vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.verse-content .script-heading {
  color: var(--gold-pale);
}

.verse-content blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.75;
}

.couple-section {
  min-height: 1370px;
}

.couple-gate,
.closing-gate {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  mix-blend-mode: multiply;
}

.couple-content {
  padding-top: 62px;
  padding-bottom: 96px;
}

.intro-copy,
.section-kicker {
  max-width: 380px;
  margin: 0 auto 1.7rem;
  color: #665b5d;
}

.person-card {
  position: relative;
  margin: 24px auto 56px;
}

.person-card h2 {
  margin: 0.2rem 0 0.45rem;
  color: var(--maroon-deep);
  font-family: var(--display);
  font-size: 1.72rem;
  font-weight: 400;
}

.person-card p {
  margin: 0.15rem 0;
}

.person-card .parents {
  font-weight: 700;
}

.person-portrait {
  width: 220px;
  margin: 0 auto 22px;
}

.social-link {
  display: inline-block;
  margin-top: 0.9rem;
  border-bottom: 1px solid var(--gold);
  color: var(--maroon);
  text-decoration: none;
}

.ampersand {
  margin: -24px 0 -4px;
  font-size: 3.2rem;
}

.side-botanical {
  position: absolute;
  z-index: 1;
  width: 155px;
  opacity: 0.38;
}

.side-botanical--left {
  bottom: 33%;
  left: -92px;
}

.side-botanical--right {
  right: -92px;
  bottom: 13%;
  transform: scaleX(-1);
}

.event-intro {
  min-height: 850px;
}

.event-arch {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: 50%;
  width: 94%;
  height: 720px;
  transform: translateX(-50%);
  object-fit: fill;
  opacity: 0.62;
}

.event-intro-content {
  display: flex;
  min-height: 810px;
  padding: 120px 52px 200px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.event-lead {
  max-width: 310px;
  margin: 0 auto 1.6rem;
}

.countdown {
  display: grid;
  width: 100%;
  max-width: 330px;
  margin: 0 auto 1.4rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown div {
  padding: 12px 4px 9px;
  border: 1px solid rgba(107, 51, 77, 0.3);
  background: rgba(248, 241, 232, 0.72);
}

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

.countdown strong {
  color: var(--maroon);
  font-family: var(--display);
  font-size: 1.5rem;
}

.countdown span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ceremonies {
  padding: 90px 34px 115px;
  background: var(--paper);
}

.ceremony-card {
  position: relative;
  min-height: 610px;
  margin: 0 auto 50px;
  overflow: hidden;
  background:
    linear-gradient(rgba(244, 237, 226, 0.74), rgba(244, 237, 226, 0.9)),
    url('../assets/images/reference/go3nh.webp') center / cover;
  box-shadow: var(--shadow);
}

.ceremony-frame {
  position: absolute;
  z-index: 2;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: fill;
  opacity: 0.82;
}

.ceremony-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 610px;
  padding: 90px 48px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.ceremony-card h3 {
  margin: 0.1rem 0 0.4rem;
  color: var(--maroon-deep);
  font-family: var(--display);
  font-size: 1.65rem;
}

.ceremony-card p {
  margin: 0.25rem 0;
}

.ornament-line {
  display: block;
  margin: 1rem 0;
  color: var(--gold);
}

.secondary-button,
.copy-button {
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--maroon);
  background: rgba(244, 237, 226, 0.86);
  color: var(--maroon-deep);
}

.paper-section {
  background:
    repeating-linear-gradient(8deg, rgba(103, 77, 68, 0.025) 0 1px, transparent 1px 7px),
    var(--ivory);
}

.paper-section__content {
  position: relative;
  z-index: 3;
  padding: 150px 28px 120px;
}

.paper-canopy {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: -5%;
  width: 110%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  opacity: 0.46;
}

.gallery-section .script-heading,
.gallery-section .section-kicker,
.wishes-section .script-heading,
.wishes-section .section-kicker {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 145px;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.gallery-item {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  background: var(--paper-deep);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

.story-section {
  padding: 80px 0 110px;
  background: #e5ddd3;
}

.story-timeline {
  position: relative;
  margin-top: 48px;
}

.story-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--gold), var(--maroon-soft), transparent);
  content: '';
}

.story-card {
  position: relative;
  display: grid;
  margin: 0 0 44px;
  padding: 14px;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  background: rgba(247, 239, 229, 0.88);
  box-shadow: 0 12px 30px rgba(76, 49, 58, 0.12);
  text-align: left;
}

.story-card:nth-child(even) {
  grid-template-columns: 1fr 112px;
  text-align: right;
}

.story-card:nth-child(even) img {
  grid-column: 2;
  grid-row: 1;
}

.story-card img {
  width: 112px;
  height: 135px;
  object-fit: cover;
}

.story-card h3,
.gift-card h3,
.wish-card h3 {
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--display);
  font-weight: 400;
}

.story-card p {
  margin: 0.2rem 0;
  font-size: 0.8rem;
}

.wishes-section {
  min-height: 1000px;
}

.wishes-flower {
  position: absolute;
  z-index: 2;
  top: -15px;
  right: -45px;
  width: 180px;
  transform: rotate(18deg);
  opacity: 0.72;
}

.rsvp-form {
  display: grid;
  padding: 26px;
  border: 1px solid rgba(107, 51, 77, 0.2);
  background: rgba(255, 252, 247, 0.72);
  gap: 20px;
  box-shadow: 0 16px 34px rgba(78, 46, 58, 0.08);
}

.rsvp-form label {
  display: grid;
  color: var(--maroon);
  font-size: 0.72rem;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid rgba(73, 55, 58, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0;
  resize: vertical;
  text-transform: none;
}

.rsvp-form input:focus-visible,
.rsvp-form select:focus-visible,
.rsvp-form textarea:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
}

.rsvp-form textarea {
  min-height: 110px;
}

.form-submit {
  padding: 0.7rem 1rem;
  background: var(--maroon-deep);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-message {
  min-height: 1.2em;
  color: var(--sage);
  font-size: 0.74rem;
}

.form-message.is-error {
  color: #a13d42;
}

.wish-list {
  display: grid;
  margin-top: 24px;
  gap: 12px;
}

.wish-card {
  display: grid;
  padding: 17px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 252, 247, 0.72);
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.wish-card > span {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  place-items: center;
  font-family: var(--display);
}

.wish-card h3 {
  font-size: 0.95rem;
}

.wish-card small {
  color: var(--gold-text);
  font-family: var(--body);
  font-size: 0.68rem;
}

.wish-card p {
  margin: 0.35rem 0 0;
  color: #72666a;
  font-size: 0.72rem;
}

.wish-card.is-new {
  animation: new-wish 0.55s ease both;
}

.gift-section {
  padding: 85px 0 130px;
  background: #e4d8da;
}

.gift-grid {
  display: grid;
  gap: 18px;
}

.gift-card {
  position: relative;
  padding: 32px 24px;
  overflow: hidden;
  border: 1px solid rgba(107, 51, 77, 0.22);
  background: rgba(247, 239, 229, 0.9);
  box-shadow: 0 14px 34px rgba(79, 43, 59, 0.12);
}

.gift-card::after {
  position: absolute;
  right: -55px;
  bottom: -80px;
  width: 160px;
  height: 180px;
  background: url('../assets/images/reference/tg1rk.webp') center / contain no-repeat;
  content: '';
  opacity: 0.25;
}

.gift-card > * {
  position: relative;
  z-index: 2;
}

.closing-section {
  min-height: 970px;
}

.closing-content {
  padding-top: 52px;
  padding-bottom: 210px;
}

.closing-portrait {
  width: 214px;
  margin: 0 auto 28px;
}

.closing-copy {
  max-width: 360px;
  margin: 0 auto 1.25rem;
  font-family: var(--display);
  font-size: 1rem;
}

.closing-section .script-heading {
  margin-bottom: 0.7rem;
  font-size: 2.15rem;
}

/* AR016 reference sections: quote, members, event, gallery, gift, and closing. */
.ar-quote-section,
.member-section,
.ar-event-section,
.ar-gallery-section,
.ar-gift-section,
.ar-closing-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #efe5dc;
}

.ar-paper-texture,
.gallery-paper,
.closing-paper {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    repeating-linear-gradient(8deg, rgba(103, 77, 68, 0.025) 0 1px, transparent 1px 7px),
    #f1e6dd;
}

.ar-quote-section { min-height: 769px; }

.quote-flower,
.quote-orchid,
.quote-card { position: absolute; }

.quote-flower { z-index: 2; top: 15px; width: 138px; }
.quote-flower--left { left: 20px; }
.quote-flower--right { right: 20px; }
.quote-orchid { z-index: 2; top: 114px; width: 195px; height: 254px; object-fit: fill; }
.quote-orchid--left { left: -13px; }
.quote-orchid--right { right: -13px; animation-name: flc-mirror; }

.quote-card {
  z-index: 4;
  top: 60px;
  right: 0;
  left: 0;
  width: min(377px, calc(100% - 44px));
  margin: 0 auto;
  color: var(--maroon-deep);
  text-align: center;
}

.quote-card > img {
  width: 100%;
  height: 300px;
  border-radius: 0 0 16px 16px;
  object-fit: cover;
}

.quote-card figcaption { padding: 8px 20px 0; font-family: var(--display); }
.quote-card blockquote { margin: 0; font-size: 1rem; line-height: 1.48; }
.quote-card strong { display: block; margin-top: 4px; font-weight: 400; }

.member-section { min-height: 1698px; overflow: visible; color: #2f2929; }

.member-arch {
  position: absolute;
  z-index: 1;
  top: -220px;
  right: 0;
  left: 0;
  width: 100%;
  height: 527px;
}

.member-arch-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 527px;
  filter: brightness(2) contrast(0.97) saturate(0.22) hue-rotate(60deg);
  object-fit: fill;
}

.member-arch-half--left { left: 0; transform: scaleX(-1); }
.member-arch-half--right { right: 0; }

.member-bottom {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  height: 329px;
  overflow: hidden;
  pointer-events: none;
}

.member-bottom img { position: absolute; }
.member-scene-gunungan { z-index: 1; top: 0; width: 178px; height: 222px; }
.member-scene-gunungan--left { left: -77px; }
.member-scene-gunungan--right { right: -77px; transform: scaleX(-1); }
.member-scene-palm { z-index: 2; top: 35px; width: 149px; height: 182px; }
.member-scene-palm--left { left: -46px; }
.member-scene-palm--right { right: -46px; transform: scaleX(-1); }
.member-scene-flower { z-index: 5; top: 127px; width: 150px; height: 202px; }
.member-scene-flower--left { left: -50px; }
.member-scene-flower--right { right: -50px; transform: scaleX(-1); }
.member-scene-wayang { z-index: 4; top: 113px; width: 161px; height: 196px; }
.member-scene-wayang--left { left: -9px; }
.member-scene-wayang--right { right: -8px; animation-name: flb-mirror; }
.member-scene-joglo { z-index: 3; top: 130px; right: 0; left: 0; width: 350px; height: 173px; margin: 0 auto; }

.member-intro {
  position: absolute;
  z-index: 8;
  top: -16px;
  right: 35px;
  left: 35px;
  text-align: center;
}

.member-intro .script-heading { margin-bottom: 8px; font-size: 24px; line-height: 1.3; }
.member-intro p:last-child { max-width: 355px; margin: 0 auto; font-family: var(--display); line-height: 1.35; }

.member-person {
  position: absolute;
  z-index: 4;
  right: 0;
  left: 0;
  height: 650px;
}

.member-person--bride { top: 134px; }
.member-person--groom { top: 836px; }

.member-palm,
.member-stem,
.member-bloom,
.member-orchid,
.member-portrait,
.member-frame-flower { position: absolute; }

.member-palm { z-index: 2; top: 210px; width: 236px; height: 276px; object-fit: fill; }
.member-palm--left { left: -114px; }
.member-palm--right { right: -114px; animation-name: fla-mirror; }
.member-stem { z-index: 3; top: 239px; width: 126px; height: 255px; object-fit: fill; }
.member-stem--left { left: -55px; }
.member-stem--right { right: -55px; transform: scaleX(-1); }
.member-bloom { z-index: 4; top: 400px; width: 116px; height: 119px; object-fit: fill; }
.member-bloom--left { left: -58px; }
.member-bloom--right { right: -58px; transform: scaleX(-1); }
.member-orchid { z-index: 4; top: 112px; width: 145px; height: 188px; object-fit: fill; }
.member-orchid--left { left: -72px; }
.member-orchid--right { right: -72px; animation-name: fla-mirror; }

.member-portrait {
  z-index: 6;
  top: 0;
  right: 0;
  left: 0;
  width: 328px;
  height: 506px;
  margin: 0 auto;
}

.member-photo {
  position: absolute;
  z-index: 1;
  inset: 7px 0 8px;
  width: 100%;
  height: calc(100% - 15px);
  border-radius: 0;
  mask: url('../assets/images/reference/ks0pt.webp') center / contain no-repeat;
  object-fit: cover;
  object-position: center;
}

.member-frame { position: absolute; z-index: 3; top: 0; left: 4px; width: calc(100% - 8px); height: 100%; }
.member-frame-flower { z-index: 5; top: 338px; width: 154px; height: 174px; object-fit: fill; }
.member-frame-flower--left { left: -39px; }
.member-frame-flower--right { right: -39px; animation-name: fla-mirror; }

.member-copy {
  position: absolute;
  z-index: 8;
  top: 492px;
  right: 30px;
  left: 30px;
  text-align: center;
}

.member-copy h2 { margin: 2px 0 7px; color: var(--maroon-deep); font-family: var(--heritage); font-size: 25px; font-weight: 400; line-height: 1.3; }
.member-copy p { margin: 2px 0; }
.member-copy .parents { font-weight: 700; }

.member-person--groom .member-orchid { top: 73px; }
.member-person--groom .member-palm { top: 217px; width: 236px; }
.member-person--groom .member-palm--left { left: -113px; }
.member-person--groom .member-palm--right { right: -113px; }

.member-ampersand {
  position: absolute;
  z-index: 9;
  top: 747px;
  right: 0;
  left: 0;
  color: var(--gold);
  font-family: var(--script);
  font-size: 3.2rem;
  text-align: center;
}

.ar-event-section { min-height: 1382px; color: #2e2528; }

.event-stage-gate { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 873px; object-fit: fill; }
.event-side-bloom,
.event-side-leaf,
.event-side-sprig,
.event-side-small-bloom { position: absolute; z-index: 4; }
.event-side-bloom--left { top: 123px; left: -75px; width: 202px; height: 251px; }
.event-side-bloom--right { top: 29px; right: -49px; width: 173px; height: 308px; animation-name: fla-mirror; }
.event-side-leaf--left { top: 346px; left: -37px; width: 125px; height: 250px; }
.event-side-leaf--right { top: 297px; right: -25px; width: 100px; height: 200px; transform: scaleX(-1); }
.event-side-sprig { top: 428px; right: -25px; width: 100px; height: 168px; }
.event-side-small-bloom { top: 550px; right: -38px; width: 125px; height: 145px; }

.event-summary { position: absolute; z-index: 7; top: 326px; right: 44px; left: 44px; text-align: center; }
.event-summary > p { margin: 0 0 20px; font-family: var(--display); font-size: 1.05rem; line-height: 1.3; }
.ar-event-section .countdown { max-width: 220px; margin-bottom: 16px; gap: 2px; }
.ar-event-section .countdown div { padding: 0; border: 0; background: transparent; }
.ar-event-section .countdown strong { font-size: 1.4rem; line-height: 1; }
.ar-event-section .countdown span { font-size: 0.7rem; letter-spacing: 0; text-transform: none; }

.event-summary .primary-button { background: var(--maroon); color: var(--white); }
.event-schedules { position: absolute; z-index: 9; top: 575px; right: 0; left: 0; height: 640px; }
.event-detail { position: absolute; right: 0; left: 0; min-height: 0; padding: 0 55px; text-align: center; }
.event-detail--akad { top: 0; }
.event-detail--reception { top: 299px; }
.event-detail .script-heading { margin: 0 0 2px; font-family: var(--heritage); font-size: 30px; line-height: 1.1; }
.event-detail h3 { margin: 6px 0 5px; color: var(--maroon-deep); font-family: var(--display); font-size: 1.65rem; line-height: 1.1; }
.event-detail p { margin: 3px 0; line-height: 1.25; }
.event-detail .eyebrow { font-size: 0.72rem; line-height: 1.2; }
.event-detail > span { display: block; margin: 7px 0; color: var(--gold); line-height: 1.1; }
.event-detail strong { line-height: 1.25; }
.event-detail .secondary-button { margin-top: 10px; }
.event-detail--reception .eyebrow { margin-top: 78px; }
.event-calendar { position: absolute; z-index: 6; top: 235px; right: 0; left: 0; width: 105px; height: 76px; margin: 0 auto; opacity: 1; }

.event-bottom,
.gallery-bottom,
.closing-bottom { position: absolute; z-index: 8; right: 0; left: 0; height: 303px; overflow: hidden; pointer-events: none; }
.gallery-bottom,
.closing-bottom { bottom: 0; }
.event-bottom--first { display: none; }
.event-bottom--second { top: 1175px; }
.event-bottom--second .event-flower { top: 31px; }
.event-bottom--second .event-joglo { top: 34px; }
.event-bottom--second .event-wayang { top: 23px; }
.event-bottom--second .event-gunungan,
.event-bottom--second .event-palm { display: none; }
.event-bottom img,
.gallery-bottom img,
.closing-bottom img { position: absolute; }
.event-gunungan { z-index: 1; top: 0; width: 178px; height: 222px; }
.event-gunungan--left { left: -77px; }
.event-gunungan--right { right: -77px; transform: scaleX(-1); }
.event-palm { z-index: 2; top: 31px; width: 149px; height: 182px; }
.event-palm--left { left: -46px; }
.event-palm--right { right: -46px; animation-name: flb-mirror; }
.event-joglo { z-index: 3; top: 130px; right: 0; left: 0; width: 350px; height: 173px; margin: 0 auto; }
.event-wayang { z-index: 4; top: 119px; width: 164px; height: 197px; }
.event-wayang--left { left: -16px; }
.event-wayang--right { right: 0; animation-name: flb-mirror; }
.event-flower { z-index: 5; top: 127px; width: 150px; height: 202px; }
.event-flower--left { left: -50px; }
.event-flower--right { right: -50px; transform: scaleX(-1); }

.ar-gallery-section { min-height: 1595px; }
.gallery-paper { background: url('../assets/images/reference/iuvzt.webp') center top / cover no-repeat; }
.gallery-side-flower { position: absolute; z-index: 3; top: -15px; width: 200px; }
.gallery-side-flower--left { left: -97px; }
.gallery-side-flower--right { right: -79px; transform: scaleX(-1); }
.ar-gallery-content { position: relative; z-index: 5; padding: 50px 20px 280px; }
.gallery-title { margin: 0 0 70px; color: var(--maroon-deep); font-family: var(--heritage); font-size: 22px; font-weight: 400; line-height: 1.1; text-align: center; }

.gallery-video { position: relative; width: 100%; height: 259px; margin-bottom: 15px; overflow: hidden; border-radius: 4px; background: #d9c9c4; }
.gallery-video img { width: 100%; height: 100%; filter: saturate(0.78) contrast(0.92); object-fit: cover; }
.gallery-play { position: absolute; top: 50%; left: 50%; display: grid; width: 52px; height: 52px; border: 1px solid rgba(255, 250, 243, 0.85); border-radius: 50%; background: rgba(76, 34, 55, 0.72); color: var(--white); place-items: center; transform: translate(-50%, -50%); }

.ar-gallery-grid { position: relative; aspect-ratio: 460 / 506; }
.gallery-tile { position: absolute; min-width: 0; height: auto; }
.gallery-tile:nth-child(1) { top: 0; left: 0; width: 26.3%; height: 30.04%; }
.gallery-tile:nth-child(2) { top: 0; left: 27.39%; width: 21.96%; height: 30.04%; }
.gallery-tile:nth-child(3) { top: 0; left: 50.43%; width: 49.57%; height: 30.04%; }
.gallery-tile:nth-child(4) { top: 30.83%; left: 0; width: 34.57%; height: 39.33%; }
.gallery-tile:nth-child(5) { top: 30.83%; left: 35.65%; width: 34.57%; height: 39.33%; }
.gallery-tile:nth-child(6) { top: 30.83%; left: 71.3%; width: 28.7%; height: 39.33%; }
.gallery-tile:nth-child(7) { top: 71.15%; left: 0; width: 47.39%; height: 28.85%; }
.gallery-tile:nth-child(8) { top: 71.15%; left: 48.48%; width: 25.22%; height: 28.85%; }
.gallery-tile:nth-child(9) { top: 71.15%; left: 74.78%; width: 25.22%; height: 28.85%; }
.gallery-tile:nth-child(n + 10) { display: none; }
.gallery-bottom { height: 303px; }

.story-section {
  position: relative;
  min-height: 1116px;
  padding: 0;
  overflow: hidden;
  background: #f4ebe3;
}

.story-paper {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('../assets/images/reference/iuvzt.webp') center top / cover no-repeat;
}

.story-side-flower,
.story-hero,
.story-bottom { position: absolute; }
.story-side-flower { z-index: 2; }
.story-side-flower--left { top: -15px; left: -97px; width: 219px; height: 279px; }
.story-side-flower--right { top: -19px; right: -79px; width: 184px; height: 205px; }

.story-title {
  position: absolute;
  z-index: 5;
  top: 50px;
  right: 0;
  left: 0;
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--heritage);
  font-size: 22px;
  font-weight: 400;
  line-height: 24.2px;
  text-align: center;
}

.story-hero {
  z-index: 4;
  top: 124px;
  left: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.story-list {
  position: absolute;
  z-index: 5;
  top: 454px;
  right: 20px;
  left: 50px;
  font-family: 'Montserrat', sans-serif;
}

.story-entry {
  position: relative;
  min-height: 86px;
  padding-left: 0;
}

.story-entry::before {
  position: absolute;
  top: 5px;
  left: -26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #756269;
  content: '';
}

.story-entry:first-child::before {
  top: 1px;
  width: 18px;
  height: 18px;
  background: var(--maroon-deep);
  box-shadow: inset 0 0 0 5px #f4ebe3;
}

.story-entry:first-child::after {
  position: absolute;
  top: 17px;
  left: -18px;
  width: 2px;
  height: 27px;
  background: var(--maroon-deep);
  content: '';
}

.story-entry h3 {
  margin: 0;
  color: #44393d;
  font: 700 14px/19px 'Montserrat', sans-serif;
}

.story-entry p {
  margin: 0;
  color: #51474b;
  font: 400 13px/13px 'Montserrat', sans-serif;
}

.story-bottom {
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 176px;
  pointer-events: none;
}

.story-bottom img { position: absolute; }
.story-bottom .event-joglo { top: 3px; }
.story-bottom .event-wayang { top: -7px; }
.story-bottom .event-flower { top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wishes-section {
  position: relative;
  min-height: 1133px;
  overflow: hidden;
  background: url('../assets/images/reference/iuvzt.webp') center top / cover no-repeat;
}

.wishes-header,
.wishes-branch,
.wishes-palm,
.wishes-stem,
.wishes-orchid,
.wishes-bloom,
.wishes-ground { position: absolute; pointer-events: none; }
.wishes-header { z-index: 2; top: 20px; left: 0; width: 500px; height: 224px; object-fit: fill; }
.wishes-branch { z-index: 2; top: 472px; width: 192px; height: 222px; object-fit: fill; }
.wishes-branch--left { left: -82px; }
.wishes-branch--right { right: -83px; }
.wishes-palm { z-index: 2; top: 568px; width: 176px; height: 226px; object-fit: fill; }
.wishes-palm--left { left: -88px; }
.wishes-palm--right { right: -88px; }
.wishes-stem { z-index: 3; top: 640px; width: 144px; height: 299px; object-fit: fill; }
.wishes-stem--left { left: -72px; }
.wishes-stem--right { right: -72px; }
.wishes-orchid { z-index: 4; top: 760px; width: 186px; height: 238px; object-fit: fill; }
.wishes-orchid--left { left: -91px; }
.wishes-orchid--right { right: -91px; }
.wishes-bloom { z-index: 5; top: 882px; width: 150px; height: 115px; object-fit: fill; }
.wishes-bloom--left { left: -50px; }
.wishes-bloom--right { right: -50px; }
.wishes-ground { z-index: 6; top: 950px; width: 175px; height: 132px; object-fit: fill; }
.wishes-ground--left { left: -25px; }
.wishes-ground--right { right: -25px; }

.wishes-section .paper-section__content {
  position: relative;
  z-index: 8;
  padding: 160px 57px 90px;
}

.wishes-section .script-heading {
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--heritage);
  font-size: 22px;
  line-height: 24.2px;
}

.wishes-section .section-kicker {
  margin: 0 0 28px;
  color: #332a2e;
  font: 400 15px/19.5px 'Alice', serif;
  text-align: center;
}

.wishes-section .rsvp-form {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wishes-section .rsvp-form > label { display: block; margin: 0 0 10px; }
.wishes-section .rsvp-form input[type='text'],
.wishes-section .rsvp-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #5b3b47;
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.54);
  color: #41363a;
  font: 400 14px/20px 'Alice', serif;
}
.wishes-section .rsvp-form textarea { height: 103px; min-height: 103px; resize: none; }
.attendance-options { display: grid; margin: 4px 0 0; padding: 0; border: 0; grid-template-columns: 1fr 1fr; gap: 4px; }
.attendance-options legend { width: 100%; margin: 0 0 3px; color: #2f2929; font: 400 14px/19px 'Alice', serif; }
.attendance-options label { display: flex; height: 34px; margin: 0; border: 1px solid #5b3b47; border-radius: 8px; color: #4e3b43; font: 400 14px/32px 'Alice', serif; align-items: center; justify-content: center; }
.attendance-options input { position: absolute; opacity: 0; }
.wishes-section .form-message { min-height: 0; }
.wishes-section .form-message:not(:empty) { min-height: 19px; margin-top: 4px; }
.wishes-section .form-submit { width: 100%; height: 40px; margin-top: 10px; padding: 0; border: 0; border-radius: 8px; background: #6b4050; font: 700 15px/40px 'Alice', serif; letter-spacing: 0; text-transform: none; }
.wishes-section .wish-list { margin-top: 16px; gap: 0; }
.wishes-section .wish-card { min-height: 79px; padding: 8px 0; border: 0; background: transparent; grid-template-columns: 34px 1fr; gap: 8px; }
.wishes-section .wish-card > span { width: 31px; height: 31px; border: 0; background: #6b4050; color: white; font: 400 13px/31px 'Alice', serif; }
.wishes-section .wish-card h3 { font: 700 14px/18px 'Alice', serif; }
.wishes-section .wish-card p { margin-top: 2px; color: #2f2929; font: 400 13px/17px 'Alice', serif; }
.wishes-section .wish-card small { color: #22a86a; font: 700 10px/1 'Montserrat', sans-serif; }

.ar-gift-section { min-height: 719px; }

.gift-frame,
.gift-palm,
.gift-side-flower,
.gift-wayang,
.gift-orchid,
.gift-cloud,
.gift-ground,
.gift-bloom { position: absolute; }

.gift-frame { z-index: 2; top: 0; left: 13px; width: 475px; height: 719px; }
.gift-palm { z-index: 2; top: 133px; width: 253px; height: 351px; object-fit: fill; }
.gift-palm--left { left: -125px; }
.gift-palm--right { right: -125px; }
.gift-side-flower { z-index: 3; top: 214px; width: 185px; height: 300px; object-fit: fill; }
.gift-side-flower--left { left: -80px; }
.gift-side-flower--right { right: -80px; }
.gift-wayang { z-index: 4; top: 430px; width: 175px; height: 217px; object-fit: fill; }
.gift-wayang--left { left: -50px; }
.gift-wayang--right { right: -50px; }
.gift-orchid { z-index: 5; top: 493px; width: 186px; height: 202px; object-fit: fill; }
.gift-orchid--left { left: -14px; }
.gift-orchid--right { right: -14px; }
.gift-cloud { z-index: 6; top: 567px; width: 114px; height: 112px; object-fit: fill; }
.gift-cloud--left { left: 61px; }
.gift-cloud--right { right: 61px; }
.gift-ground { z-index: 6; top: 610px; width: 200px; }
.gift-ground--left { left: 0; }
.gift-ground--right { right: 0; }
.gift-bloom { z-index: 7; top: 655px; width: 110px; }
.gift-bloom--left { left: 110px; }
.gift-bloom--right { right: 110px; }

.gift-intro { position: relative; z-index: 10; max-width: 300px; margin: 0 auto; padding-top: 273px; text-align: center; }
.gift-title { margin: 0 0 15px; color: var(--maroon-deep); font-family: var(--heritage); font-size: 23px; font-weight: 400; line-height: 1.1; }
.gift-copy { margin: 0 auto 16px; font-family: var(--display); line-height: 1.1; }
.gift-disclosure summary { display: inline-flex; padding: 8px 15px; border-radius: 30px; background: #5b3b47; color: var(--white); cursor: pointer; font-size: 15px; line-height: 19.5px; list-style: none; }
.gift-disclosure summary::-webkit-details-marker { display: none; }
.gift-disclosure[open] { position: relative; z-index: 20; padding: 16px; background: rgba(244, 237, 226, 0.96); box-shadow: var(--shadow); }
.gift-disclosure[open] summary { margin-bottom: 14px; }
.gift-disclosure .gift-card { padding: 18px 12px; }

.ar-closing-section { min-height: 1073px; }
.closing-paper { background: linear-gradient(rgba(241, 231, 222, 0.73), rgba(241, 231, 222, 0.76)), url('../assets/images/reference/go3nh.webp') center / cover no-repeat; }

.closing-mountain,
.closing-stage-gate,
.closing-janur,
.closing-botanical,
.closing-portrait-frame,
.closing-frame-flower { position: absolute; }

.closing-mountain { z-index: 1; bottom: 22px; left: -55%; width: 210%; max-width: none; opacity: 0.28; }
.closing-stage-gate { z-index: 2; top: -22px; left: 0; width: 100%; height: 873px; object-fit: fill; }
.closing-janur { z-index: 5; top: 99px; width: 49%; }
.closing-janur--left { left: -1%; }
.closing-janur--right { right: -1%; animation-name: flb-mirror; }
.closing-botanical { z-index: 3; top: 535px; width: 40%; }
.closing-botanical--left { left: -24%; }
.closing-botanical--right { right: -23%; transform: scaleX(-1); }

.closing-portrait-frame { z-index: 8; top: 234px; right: 0; left: 0; width: 228px; height: 343px; margin: 0 auto; }
.closing-photo { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: fill; object-position: center; mask: url('../assets/images/reference/6f740a415e.webp') center / contain no-repeat; -webkit-mask: url('../assets/images/reference/6f740a415e.webp') center / contain no-repeat; }
.closing-frame-line { position: absolute; z-index: 3; top: 12px; left: 0; width: 100%; height: 318px; filter: none; }
.closing-frame-flower { z-index: 5; top: 86px; width: 53px; height: 149px; object-fit: fill; }
.closing-frame-flower--left { left: -5px; }
.closing-frame-flower--right { right: -4px; animation-name: fla-mirror; }

.closing-message { position: relative; z-index: 10; max-width: 310px; margin: 0 auto; padding-top: 574px; text-align: center; }
.closing-copy { margin: 0 auto 9px; font: 400 14px/18.2px 'Montserrat', sans-serif; }
.closing-salam { width: 200px; margin: 0 auto 11px; color: var(--maroon); font-family: var(--script); font-size: 24px; line-height: 31.2px; }
.closing-kicker { margin: 0 0 7px; color: #5c5356; font: 400 14px/18px 'Montserrat', sans-serif; }
.closing-couple { display: block; width: 160px; margin: 0 auto; color: var(--maroon-deep); font-family: var(--heritage); font-size: 35px; font-weight: 400; line-height: 38.5px; text-align: center; }
.closing-couple span:first-child { display: block; }
.closing-couple span:nth-child(2) { color: var(--gold); font-family: var(--heritage); }

.closing-bottom { bottom: 22px; height: 380px; }
.closing-gunungan { z-index: 1; bottom: 106px; width: 150px; }
.closing-gunungan--left { left: -35px; }
.closing-gunungan--right { right: -35px; transform: scaleX(-1); }
.closing-palm { z-index: 2; bottom: 53px; width: 125px; }
.closing-palm--left { left: 5px; }
.closing-palm--right { right: 5px; animation-name: flb-mirror; }
.closing-wayang { z-index: 3; bottom: -5px; width: 213px; }
.closing-wayang--left { left: -75px; }
.closing-wayang--right { right: -75px; animation-name: fla-mirror; }
.closing-flower { z-index: 4; bottom: 0; width: 150px; }
.closing-flower--left { left: 0; }
.closing-flower--right { right: 0; transform: scaleX(-1); }
.closing-grass { z-index: 5; bottom: 0; width: 50%; }
.closing-grass--left { left: 0; }
.closing-grass--right { right: 0; transform: scaleX(-1); }
.closing-orchid { z-index: 6; bottom: 0; width: 105px; }
.closing-orchid--left { left: -27px; }
.closing-orchid--right { right: -27px; animation-name: flc-mirror; }
.closing-ground { z-index: 7; bottom: -21px; width: 150px; }
.closing-ground--left { left: -25px; }
.closing-ground--right { right: -25px; transform: scaleX(-1); }

.site-footer {
  min-height: 200px;
  padding: 64px 24px 120px;
  background: var(--maroon-deep);
  color: rgba(255, 250, 243, 0.62);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.35rem 0;
}

.floating-controls {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: 94px;
  display: grid;
  gap: 10px;
}

.floating-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(107, 51, 77, 0.92);
  box-shadow: 0 8px 18px rgba(48, 26, 36, 0.18);
  color: var(--white);
  place-items: center;
}

.floating-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.floating-controls button.is-playing {
  animation: sound-pulse 2.2s ease-in-out infinite;
}

.bottom-nav {
  position: fixed;
  z-index: 90;
  right: 250px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  width: 304px;
  max-width: calc(100vw - 28px);
  height: 58px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(230, 213, 194, 0.82);
  border-radius: 9px;
  background: rgba(91, 49, 69, 0.94);
  box-shadow: 0 12px 28px rgba(43, 26, 34, 0.3), inset 0 0 0 3px rgba(255, 250, 243, 0.1);
  gap: 3px;
  transform: translateX(50%);
  scrollbar-width: none;
  backdrop-filter: blur(12px);
}

.bottom-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  display: grid;
  min-width: 38px;
  flex: 1 0 38px;
  border: 1px solid rgba(248, 238, 227, 0.28);
  border-radius: 7px;
  color: rgba(255, 250, 243, 0.82);
  place-items: center;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  vector-effect: non-scaling-stroke;
}

.nav-link small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-link.is-active {
  background: rgba(234, 214, 158, 0.16);
  box-shadow: inset 0 -3px 0 var(--gold);
  color: var(--gold-pale);
  transform: translateY(-1px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: 60px 24px;
  background: rgba(35, 20, 28, 0.94);
  grid-template-columns: 50px minmax(0, 900px) 50px;
  place-content: center;
  place-items: center;
}

.lightbox figure {
  max-height: calc(100vh - 100px);
  margin: 0;
  text-align: center;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  margin: auto;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
}

.lightbox figcaption {
  margin-top: 10px;
  color: var(--white);
  font-size: 0.8rem;
}

.lightbox button {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: 3rem;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
}

.toast {
  position: fixed;
  z-index: 3000;
  right: 26px;
  bottom: 175px;
  max-width: 300px;
  padding: 11px 15px;
  border: 1px solid var(--gold);
  background: var(--maroon-deep);
  box-shadow: var(--shadow);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.zoom-in {
  transform: scale(0.9);
}

.reveal.from-left {
  transform: translateX(-34px);
}

.reveal.from-right {
  transform: translateX(34px);
}

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

.cover-fade-up,
.desktop-title {
  animation: fadeInUp 2s ease both;
}

.cover-zoom {
  animation: zoomIn 2s ease both;
}

.motion-flb {
  transform-origin: 50% 50%;
  animation: flb 3s ease-in-out infinite alternate;
}

.motion-flb-fast {
  animation: flb 2.5s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}

.motion-fla-slow {
  transform-origin: 50% 50%;
  animation: fla 4.5s ease-in-out infinite alternate;
}

.motion-fla-short {
  animation: fla 1.5s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}

.motion-flc {
  transform-origin: 50% 50%;
  animation: flc 3.5s ease-in-out infinite alternate;
}

.desktop-janur--right.motion-flb,
.janur--right.motion-flb {
  animation-name: flb-mirror;
}

.home-janur--right.motion-flb {
  animation-name: flb-mirror;
}

.desktop-palm--right.motion-flb-fast,
.cover-palm--right.motion-flb-fast {
  animation-name: flb-mirror;
}

/* The wayang art faces left, so only the left one of each pair is flipped to face inward. */
[class*='-wayang--left'] {
  scale: -1 1;
}

.home-portrait-flower--right.motion-fla-short {
  animation-name: fla-mirror;
}

.member-palm--right.motion-fla-slow,
.member-orchid--right.motion-fla-short,
.member-frame-flower--right.motion-fla-short {
  animation-name: fla-mirror;
}

.closing-janur--right.motion-flb {
  animation-name: flb-mirror;
}

.desktop-orchid--right.motion-flc,
.cover-orchid--right.motion-flc {
  animation-name: flc-mirror;
}

.asset-float {
  animation: asset-float 5.8s ease-in-out infinite;
}

.asset-sway {
  transform-origin: 50% 4%;
  animation: flb 3s ease-in-out infinite alternate;
}

.asset-sway.janur--right {
  animation-name: flb-mirror;
}

.delay-2 {
  animation-delay: -2.1s;
}

@keyframes asset-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translate3d(0, 100%, 0); }
  100% { opacity: 1; transform: none; }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  50%, 100% { opacity: 1; }
}

@keyframes fla {
  0% { transform: rotate(-3deg) scale(1); }
  100% { transform: rotate(0deg) scale(1.05); }
}

@keyframes flb {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(-3deg) scale(1.05); }
}

@keyframes flc {
  0% { transform: rotate(5deg) scale(1); }
  100% { transform: rotate(0deg) scale(1.05); }
}

@keyframes fla-mirror {
  0% { transform: scaleX(-1) rotate(-3deg) scale(1); }
  100% { transform: scaleX(-1) rotate(0deg) scale(1.05); }
}

@keyframes flb-mirror {
  0% { transform: scaleX(-1) rotate(0deg) scale(1); }
  100% { transform: scaleX(-1) rotate(-3deg) scale(1.05); }
}

@keyframes flc-mirror {
  0% { transform: scaleX(-1) rotate(5deg) scale(1); }
  100% { transform: scaleX(-1) rotate(0deg) scale(1.05); }
}

@keyframes asset-sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

@keyframes asset-sway-right {
  0%, 100% { transform: scaleX(-1) rotate(-1.5deg); }
  50% { transform: scaleX(-1) rotate(1.5deg); }
}

@keyframes sparkle-drift {
  to { background-position: 10% 120%, 70% 110%; }
}

@keyframes sound-pulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(48, 26, 36, 0.18), 0 0 0 0 rgba(217, 180, 102, 0.28); }
  50% { box-shadow: 0 8px 18px rgba(48, 26, 36, 0.18), 0 0 0 8px rgba(217, 180, 102, 0); }
}

@keyframes new-wish {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  .invitation-shell,
  .cover {
    width: 100%;
  }

  .invitation-shell {
    max-width: 600px;
    margin: 0 auto;
  }

  .bottom-nav {
    right: 50%;
    left: auto;
    width: min(304px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .floating-controls {
    right: max(12px, calc((100vw - min(100vw, 600px)) / 2 + 12px));
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  body {
    font-size: 14px;
  }

  .cover-content {
    padding-right: 25px;
    padding-left: 25px;
  }

  .cover-portrait {
    width: min(220px, 52vw);
  }

  .janur {
    width: 125px;
  }

  .portrait-flower {
    width: 76px;
  }

  .portrait-flower.left {
    left: -42px;
  }

  .portrait-flower.right {
    right: -42px;
  }

  .section-content {
    padding-right: 24px;
    padding-left: 24px;
  }

  .home-content {
    padding-top: 68px;
  }

  .hero-portrait {
    width: min(260px, 68vw);
  }

  .person-portrait,
  .closing-portrait {
    width: min(238px, 66vw);
  }

  .verse-content {
    padding-right: 30px;
    padding-left: 30px;
  }

  .event-intro-content {
    padding-right: 30px;
    padding-left: 30px;
  }

  .ceremonies {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ceremony-card__content {
    padding-right: 38px;
    padding-left: 38px;
  }

  .paper-section__content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gallery-grid {
    grid-auto-rows: 125px;
  }

  .story-card,
  .story-card:nth-child(even) {
    grid-template-columns: 94px 1fr;
    text-align: left;
  }

  .story-card:nth-child(even) img {
    grid-column: 1;
  }

  .story-card img {
    width: 94px;
    height: 125px;
  }

  .rsvp-form {
    padding: 20px;
  }

  .bottom-nav {
    padding: 7px;
    gap: 4px;
  }

  .nav-link {
    min-width: 44px;
    flex-basis: 44px;
  }

  .nav-icon {
    width: 23px;
    height: 23px;
  }

  .floating-controls button {
    width: 44px;
    height: 44px;
  }

  .lightbox {
    padding: 70px 10px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }
}

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

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

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