@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #5c2832;
  --ink-soft: #7c4652;
  --gold: #b8893e;
  --gold-soft: rgba(184, 137, 62, 0.5);
  --ivory: #f7f1e7;
  --script: "Great Vibes", "Segoe Script", cursive;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --pager: 26px;
  --sash: 48%;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #e10d72;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

body {
  background:
    radial-gradient(90% 55% at 50% -10%, rgba(255, 255, 255, 0.28), transparent 52%),
    radial-gradient(80% 45% at 50% 110%, rgba(110, 0, 48, 0.28), transparent 55%),
    linear-gradient(168deg, #ff4ea6 0%, #ff1f86 46%, #e10b72 100%);
}

button { font: inherit; color: inherit; }

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  z-index: 1;
}

.deck {
  height: 100%;
  transition: transform 0.72s var(--ease);
  will-change: transform;
}

.page {
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding:
    max(12px, env(safe-area-inset-top))
    14px
    calc(var(--pager) + env(safe-area-inset-bottom));
  position: relative;
}

.page:focus { outline: none; }

.card {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: min(440px, 100%);
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 36% at 50% 100%, rgba(184, 137, 62, 0.09), transparent 52%),
    #eee1d0;
  border: 1px solid rgba(212, 175, 110, 0.9);
  border-radius: 168px 168px 22px 22px;
  box-shadow:
    0 26px 50px rgba(110, 0, 45, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-soft);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.card-cover {
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(180deg, #ff53ac 0%, #ff228a 52%, #f0137c 100%);
  border-radius: 18px;
  border-color: rgba(255, 232, 190, 0.4);
  box-shadow:
    0 30px 60px rgba(110, 0, 45, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.card-cover::before {
  inset: 11px;
  border-radius: 12px;
  border-color: rgba(255, 236, 204, 0.82);
}

.card-inner {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(4px, 1dvh, 12px);
  padding: clamp(78px, 12dvh, 108px) clamp(18px, 5vw, 32px) clamp(34px, 5.5dvh, 56px);
  text-align: center;
}

.card-cover .card-inner {
  justify-content: space-between;
  gap: 0;
  padding: clamp(28px, 6dvh, 58px) 26px clamp(22px, 4dvh, 40px);
  color: #fffaf4;
}

.flora {
  position: absolute;
  z-index: 2;
  top: -4px;
  left: -3%;
  width: 106%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.flora-foot {
  top: auto;
  bottom: -34px;
  left: 6%;
  width: 88%;
  transform: scaleY(-1);
}

.card-dense .flora { top: -34px; }
.card-dense .card-inner {
  padding-top: clamp(54px, 8dvh, 72px);
  padding-bottom: clamp(22px, 3.6dvh, 36px);
  gap: clamp(3px, 0.7dvh, 8px);
}

.kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a3140;
  padding-left: 0.22em;
}

.card-cover .kicker {
  color: rgba(255, 248, 239, 0.86);
  margin-top: 8px;
}

.kicker.with-rules {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.kicker.with-rules::before,
.kicker.with-rules::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.page-title {
  margin: 0;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.save {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(68px, 18vw, 96px);
  line-height: 0.78;
  font-weight: 400;
  color: #fffaf4;
}

.save span { display: block; }
.save span + span { margin-top: -0.08em; }
.save i {
  font-style: normal;
  font-size: 0.62em;
  margin-right: 0.06em;
}

.cover-names {
  margin: 0;
  font-size: clamp(24px, 6.4vw, 32px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-left: 0.22em;
}

.date-line {
  margin: 0;
  font-size: clamp(13px, 3.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-left: 0.26em;
}

.cover-bottom { padding-bottom: 4px; }

.countdown {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 12px auto 0;
  padding: 0;
  max-width: 312px;
}

.countdown li {
  margin: 0;
  padding: 7px 2px 6px;
  border: 1px solid rgba(255, 236, 204, 0.62);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.countdown b {
  display: block;
  font-size: clamp(20px, 5.5vw, 26px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.84;
}

.rings {
  width: 74px;
  height: auto;
  display: block;
  margin: 10px auto 0;
  color: #ffe7a3;
}

.rings circle,
.rings path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.rings .fill { fill: currentColor; stroke: none; }

.rings .spark {
  transform-origin: center;
  transform-box: fill-box;
  animation: twinkle 2.8s ease-in-out infinite;
}

.arch {
  margin: 0;
  position: relative;
}

.arch svg {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.arch text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.08em;
  fill: #6b2433;
}

.arch.compact text { font-size: 18px; }

.script-display {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(46px, 12vw, 64px);
  line-height: 1;
  color: #6b2433;
}

.family {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(30px, 7.4vw, 44px);
  line-height: 1.05;
  color: #6b2433;
}

.intro, .prose, .closing {
  margin: 0;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.32;
  text-wrap: balance;
}

.intro { padding: 0 6px; }

.quiet, .closing {
  font-style: italic;
  color: var(--ink-soft);
}

.blessed {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86em;
}

.couple-script {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(58px, 15vw, 84px);
  line-height: 0.82;
  color: #6b2433;
}

.couple-script span { display: block; }

.held {
  margin: 0;
  font-style: italic;
  font-size: clamp(15px, 3.8vw, 18px);
  color: var(--ink-soft);
}

.when { margin: 2px 0; }

.when-month,
.when-year {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-left: 0.28em;
}

.when-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 3px 0;
  padding: 4px 0;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}

.when-row span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.when-row b {
  font-size: clamp(40px, 10vw, 56px);
  font-weight: 500;
  line-height: 0.85;
  padding: 0 10px;
  border-left: 1px solid var(--gold-soft);
  border-right: 1px solid var(--gold-soft);
}

.venues {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  align-items: start;
}

.venue h3,
.col h3,
.figure-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a3140;
}

.venue h3::after,
.col h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 5px auto 0;
  background: var(--gold);
}

.venue p, .sub {
  margin: 0;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.28;
}

.sub { font-style: italic; color: var(--ink-soft); }

.venue a:link,
.venue a:visited,
.venue a:hover,
.venue a:active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.line-icon {
  width: 28px;
  height: 28px;
  color: #7a3140;
  display: block;
  margin: 0 auto 2px;
}

.line-icon path,
.line-icon circle,
.line-icon rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-icon .fill { fill: currentColor; stroke: none; }

.split, .thirds, .pair {
  display: grid;
  gap: 8px 10px;
  align-items: start;
}

.split, .pair { grid-template-columns: 1fr 1fr; }
.thirds { grid-template-columns: repeat(3, 1fr); }

.split > * + *,
.pair > * + *,
.thirds > * + * {
  border-left: 1px solid var(--gold-soft);
  padding-left: 8px;
}

.names {
  list-style: none;
  margin: 0;
  padding: 0;
}

.names li {
  font-size: clamp(14.5px, 3.6vw, 17px);
  line-height: 1.34;
}

.names li.long {
  font-size: 14.5px;
  line-height: 1.28;
}

.script-name {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(28px, 6.5vw, 38px);
  line-height: 1.12;
  color: #6b2433;
}

.featured {
  margin: 0;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 600;
  line-height: 1.15;
}

.section-label {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a3140;
}

.party-gap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gold-soft);
}

.card-dense .family { font-size: clamp(26px, 6.4vw, 36px); }
.card-dense .script-name { font-size: clamp(22px, 5.4vw, 30px); }

.choice {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-style: italic;
  font-size: clamp(15px, 3.8vw, 18px);
}

.choice i {
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  flex: 0 0 auto;
  transform: translateY(1px);
}

.swatches {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 2px 0;
  padding: 0;
}

.swatches li {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(92, 40, 50, 0.12);
}

.swatch-1 { background: #f8e4ea; }
.swatch-2 { background: #f3b7c6; }
.swatch-3 { background: #d4146a; }
.swatch-4 { background: #e4c2cf; }
.swatch-5 { background: #efd4e4; }
.swatch-6 { background: #f7c9d8; }

.dress-row {
  display: block;
  width: auto;
  max-width: 100%;
  height: 108px;
  margin: 0 auto;
  object-fit: contain;
}

.dresscode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: end;
}

.dresscode figure { margin: 0; }
.dresscode img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 92px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
}
.figure-label { letter-spacing: 0.06em; font-size: 13px; line-height: 1.15; }

.reminders {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--gold-soft);
}

.reminders img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 74px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
}

.reminders span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 40px;
  height: 1px;
  background: var(--gold);
}

.timeline li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px #f6efe4;
}

.tlabel {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
  max-width: 72px;
}

.signoff {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(42px, 11vw, 60px);
  line-height: 0.9;
  color: #6b2433;
}

.page.is-current:not(.page-cover) .card-inner > * {
  animation: rise 0.62s var(--ease) both;
}

.page.is-current:not(.page-cover) .card-inner > *:nth-child(2) { animation-delay: 0.05s; }
.page.is-current:not(.page-cover) .card-inner > *:nth-child(3) { animation-delay: 0.1s; }
.page.is-current:not(.page-cover) .card-inner > *:nth-child(4) { animation-delay: 0.15s; }
.page.is-current:not(.page-cover) .card-inner > *:nth-child(5) { animation-delay: 0.2s; }
.page.is-current:not(.page-cover) .card-inner > *:nth-child(6) { animation-delay: 0.25s; }
.page.is-current:not(.page-cover) .card-inner > *:nth-child(7) { animation-delay: 0.3s; }
.page.is-current:not(.page-cover) .card-inner > *:nth-child(8) { animation-delay: 0.34s; }

@keyframes rise {
  from { opacity: 0.35; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

.doorway {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: min(440px, 100%);
  max-width: 440px;
  margin: 0 auto;
  display: flex;
}

.doorway > .card {
  width: 100%;
  max-width: none;
}

.door-inside {
  transform: scale(0.96);
  filter: brightness(0.9);
  transition: transform 1.15s var(--ease) 0.12s, filter 1.15s ease 0.12s;
}

.doorway:has(.seal.is-open) .door-inside {
  transform: none;
  filter: none;
}

.seal {
  position: absolute;
  inset: 0;
  z-index: 8;
  perspective: 1800px;
  pointer-events: none;
}

.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  transform-style: preserve-3d;
  transition: transform 1.25s cubic-bezier(0.7, 0, 0.18, 1);
}

.door-left { left: 0; transform-origin: left center; }
.door-right { right: 0; transform-origin: right center; transition-delay: 0.05s; }

.door-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  background: linear-gradient(180deg, #ff53ac 0%, #f0137c 100%);
}

.door-left .door-clip { border-radius: 18px 0 0 18px; }
.door-right .door-clip { border-radius: 0 18px 18px 0; }

.door-slab {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
}

.door-left .door-slab { left: 0; }
.door-right .door-slab { left: -100%; }

.door-slab .card-cover {
  position: absolute;
  inset: 0;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  flex: none;
  box-shadow: none;
}

.door-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ff8ec4 0%, #c40068 100%);
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.door-left .door-back { border-radius: 18px 0 0 18px; }
.door-right .door-back { border-radius: 0 18px 18px 0; }

.knob {
  position: absolute;
  top: 62%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8e4, #e4c27a 42%, #9a7434);
  box-shadow: 0 1px 2px rgba(80, 0, 30, 0.28), inset 0 0 0 1px rgba(255, 248, 230, 0.4);
  z-index: 2;
}

.door-left .knob { right: 8px; }
.door-right .knob { left: 8px; }

.seam {
  position: absolute;
  z-index: 3;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(180deg, transparent, rgba(255, 246, 230, 0.95) 10%, rgba(255, 246, 230, 0.95) 90%, transparent);
  transition: opacity 0.35s ease 0.05s;
}

.seal.is-open .door-left { transform: rotateY(-108deg); }
.seal.is-open .door-right { transform: rotateY(108deg); }
.seal.is-open .seam { opacity: 0; }

.seal-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.seal.is-open { pointer-events: none; }
.seal.is-open .seal-hit { display: none; }

.pager {
  position: fixed;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 12px max(8px, env(safe-area-inset-bottom));
  pointer-events: none;
}

.hint {
  margin: 0;
  min-height: 18px;
  color: rgba(255, 248, 240, 0.94);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-left: 0.18em;
}

.hint[hidden] { display: none; }

.pager-row {
  display: none;
}

.arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 232, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf3;
  cursor: pointer;
}

.arrow svg { width: 18px; height: 18px; display: block; }
.arrow:disabled { opacity: 0.28; cursor: default; }

body.is-sealed .arrow-next { animation: floaty 1.8s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.dots {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s;
}

body.is-open .dots { opacity: 1; }

.dot {
  position: relative;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot::before {
  content: "";
  position: absolute;
  inset: -8px;
}

.dot[aria-current="true"] {
  width: 16px;
  background: #fff8ee;
}

:focus-visible {
  outline: 2px solid #fff6e4;
  outline-offset: 3px;
}

::selection {
  background: #f4c1d6;
  color: #4a1824;
}

@media (max-height: 740px) {
  .card { border-radius: 124px 124px 18px 18px; }
  .save { font-size: clamp(58px, 16vw, 76px); }
  .script-display { font-size: 42px; }
  .couple-script { font-size: clamp(50px, 13vw, 68px); }
  .family { font-size: clamp(26px, 6.5vw, 36px); }
  .when-row b { font-size: 40px; }
  .card-inner { padding-top: 70px; padding-bottom: 28px; }
  .card-dense .card-inner { padding-top: 48px; }
  .flora { top: -18px; }
  .flora-foot { top: auto; bottom: -40px; }
  .dress-row { height: 92px; }
  .dresscode img { height: 78px; }
  .reminders img { height: 64px; }
  .countdown { margin-top: 8px; gap: 4px; }
  .countdown li { padding: 5px 2px 4px; }
}

@media (max-height: 640px) {
  .script-display { font-size: 36px; }
  .intro, .prose, .closing, .choice { font-size: 14.5px; line-height: 1.26; }
  .names li { font-size: 14.5px; }
  .card-inner { padding-top: 58px; padding-bottom: 20px; gap: 3px; }
  .card-dense .card-inner { padding-top: 42px; }
  .flora-foot { display: none; }
  .dress-row { height: 78px; }
  .dresscode img { height: 66px; }
  .reminders img { height: 56px; }
}

@media (min-width: 800px) {
  .card, .doorway { max-width: 460px; }
  .prose, .intro, .closing { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .deck,
  .door,
  .door-inside,
  .seam,
  .dots,
  .arrow {
    transition: none !important;
    animation: none !important;
  }

  .seal.is-open .door { transform: none !important; visibility: hidden; }
  .rings .spark,
  .page.is-current .card-inner > * {
    animation: none !important;
  }
}
