@import url("assets/fonts/fonts.css");
:root {
  --ink: #0b201b;
  --green: #173c30;
  --cream: #f6edd9;
  --gold: #e0be80;
  --muted: #c6c9b9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --gutter: clamp(24px, 7vw, 130px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 16px/1.7 var(--sans);
}
body:has(dialog[open]) {
  overflow: hidden;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(62px, 6.5vw, 112px);
}
h2 {
  font-size: clamp(58px, 6.2vw, 104px);
}
em {
  font-weight: 400;
  color: var(--gold);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 15px;
  left: 20px;
  transform: translateY(-180%);
  z-index: 100;
  padding: 12px 20px;
  background: var(--cream);
  color: var(--ink);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.7;
  max-width: 460px;
}
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px var(--gutter);
  background: linear-gradient(#06160b60, transparent);
}
.wordmark {
  width: 91px;
  flex-shrink: 0;
}
.wordmark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 10px #0008);
}
.header-date {
  font-size: 12px;
  letter-spacing: 0.17em;
}
.header-date span {
  color: var(--gold);
  padding: 0 15px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.soundtrack-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 10px;
  background: #0b281fdd;
  border: 1px solid #dfbd7866;
  border-radius: 50%;
  color: var(--gold);
}
.soundtrack-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.soundtrack-slash { display: none; }
.soundtrack-toggle[aria-pressed="false"] .soundtrack-waves { display: none; }
.soundtrack-toggle[aria-pressed="false"] .soundtrack-slash { display: block; }
@media (max-width: 650px) {
  .masthead .header-actions { flex-direction: row; align-items: center; gap: 8px; }
}
.header-link,
#motion-toggle {
  font-size: 13px;
  background: transparent;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid #e0be8060;
}
.header-link span {
  padding-left: 16px;
}
#motion-toggle {
  color: #dfdfce;
  border-color: transparent;
}
/* The complete document is readable first. Only a healthy motion controller pins it. */
.journey {
  position: relative;
}
.journey-stage {
  position: relative;
  background: var(--ink);
}
.scene {
  position: relative;
  isolation: isolate;
  min-height: 850px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px var(--gutter) 120px;
  background: var(--ink);
}
.scene-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.scene-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.scene-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #071b16f5 0%,
      #071b16de 25%,
      #071b165c 55%,
      #071b160d 78%
    ),
    linear-gradient(
      0deg,
      #0b201b 0%,
      transparent 25%,
      transparent 78%,
      #071b1645
    );
}
.scene-copy {
  position: relative;
  z-index: 2;
  width: 52%;
  max-width: 760px;
}
.scene-copy .eyebrow {
  color: #d7c69e;
  margin-bottom: 27px;
}
.scene-copy h1,
.scene-copy h2 {
  margin-left: -0.035em;
}
.scene-description {
  font-size: 16px;
  line-height: 1.85;
  margin-top: 28px;
  color: #e4e4d6;
  max-width: 480px;
}
.story-conversation {
  margin-top: 30px;
  padding-left: 19px;
  border-left: 1px solid #d9ba795c;
  color: #ebe9da;
  font-size: 16px;
  line-height: 1.9;
}
.story-conversation p + p {
  color: #d2bc90;
}
.journey-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  margin-top: 34px;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #d4b67490;
}
.journey-link span {
  font-size: 24px;
  transition: transform 0.25s;
}
.journey-link:hover span {
  transform: translateY(4px);
}
.quiet-prompt {
  color: #cccebc;
  font-size: 13px;
  margin-top: 28px;
  max-width: 420px;
}
.spoken-line {
  font: italic 26px/1.3 var(--serif);
  color: var(--gold);
  margin-top: 30px;
  max-width: 420px;
}
.art-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  font-size: 12px;
  color: #d6d5bc;
}
.paper-field {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 74% 49%, #46715c40, transparent 52%),
    linear-gradient(100deg, #0b241d, #173e30);
}
.paper-field:after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(assets/green-texture.webp) center/cover;
  opacity: 0.15;
}
.hamper-area {
  position: absolute;
  width: 45%;
  left: 51%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.hamper {
  position: relative;
  isolation: isolate;
  width: min(32vw, 440px, 55svh);
  aspect-ratio: 1058/1300;
  perspective: 1400px;
  filter: drop-shadow(0 35px 40px #0008);
}
.door {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: url(assets/hamper-doors.webp) no-repeat;
  background-size: 200% 100%;
  z-index: 3;
  backface-visibility: hidden;
}
.door-left {
  left: 0;
  background-position: left;
  transform-origin: left center;
  transform: rotateY(calc(var(--open, 0) * -112deg));
}
.door-right {
  right: 0;
  background-position: right;
  transform-origin: right center;
  transform: rotateY(calc(var(--open, 0) * 112deg));
}
.hamper-seal {
  position: absolute;
  width: 26%;
  left: 37%;
  top: 36%;
  height: 21%;
  z-index: 4;
  display: grid;
  place-items: center;
  opacity: var(--seal, 1);
  transform: translateY(calc(var(--open, 0) * -35px));
  pointer-events: none;
}
.hamper-seal img {
  width: 84%;
}
.hamper-interior {
  position: absolute;
  inset: 1.5% 2%;
  background: #123c32 url(assets/green-texture.webp) center/cover;
  color: #f0dcab;
  text-align: center;
  padding: 12% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 6px double #b99862;
  overflow: hidden;
  box-shadow: inset 0 0 35px #19070970;
}
.inner-logo {
  width: 32%;
  margin-bottom: 8%;
}
.hamper-interior p {
  font: italic clamp(13px, 1.3vw, 19px)/1.35 var(--serif);
}
.hamper-interior strong {
  font: 400 clamp(26px, 3.4vw, 47px)/1 var(--serif);
  margin: 6% 0;
}
.hamper-interior span {
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 2.1;
}
.hamper-interior small {
  font-size: 10px;
}
.inner-lotus {
  position: absolute;
  bottom: -7%;
  width: 32%;
  opacity: 0.45;
}
.scene-invitation {
  background: #102f28;
}
.invitation-texture {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 50% 60%, #4c795445, transparent 65%),
    linear-gradient(135deg, #09241ee6, #245240c9),
    url(assets/green-texture.webp) center/cover;
}
.scene-invitation .scene-copy {
  width: 51%;
}
.scene-invitation h2 {
  font-size: clamp(64px, 6.3vw, 108px);
}
.artist-line {
  margin-top: 24px;
  font-size: 14px;
  color: #e1cab6;
}
.artist-line strong {
  display: block;
  font: 40px/1.25 var(--serif);
  color: var(--gold);
}
.gujarati {
  font-size: 19px;
  line-height: 1.9;
  margin: 24px 0;
  color: #e5c79b;
}
.invitation-date {
  font-size: 12px;
  letter-spacing: 0.075em;
  margin-top: 22px;
}
.scene-invitation .scene-description {
  margin-top: 12px;
}
.original-invitation {
  position: absolute;
  width: min(30vw, 370px, 47svh);
  left: 61%;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
}
.original-invitation img {
  box-shadow: 0 25px 80px #10020ab3;
  border: 5px solid #be945a80;
}
.original-invitation figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 18px;
  color: #e9cda3;
}
.scene-journey .scene-art img {
  object-position: 65% center;
}
.scene-journey .scene-shade {
  background:
    linear-gradient(90deg, #071b16f2, #071b16b3 32%, #071b1600 76%),
    linear-gradient(0deg, #0b201b, transparent 38%);
}
.scene-arrival .scene-art img {
  object-position: 68% center;
}
.scene-memory .scene-art img {
  object-position: 72% center;
}
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  border: 1px solid #e2c5848c;
  padding: 12px 22px;
  background: #102b2240;
  margin-top: 28px;
  font-size: 14px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.outline-button:hover {
  background: #cda86623;
  border-color: var(--gold);
}
.outline-button:active {
  transform: translateY(1px);
}
.scene-devotion {
  background: #151f19;
}
.devotion-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 75% 50%, #a765213f, transparent 63%);
}
.devotion-art {
  position: absolute;
  right: 9%;
  top: 12%;
  height: 76%;
  width: 34%;
  z-index: -1;
  mask-image: linear-gradient(black 85%, transparent);
  -webkit-mask-image: linear-gradient(black 85%, transparent);
}
.devotion-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 46% 46% 0 0;
}
.scene-devotion .gujarati {
  margin-bottom: 0;
}
.scene-stage .scene-art img {
  object-position: 75% center;
}
.scene-stage .scene-shade {
  background:
    linear-gradient(90deg, #081913f5, #0b201bcc 29%, #0b201b15 80%),
    linear-gradient(0deg, #0b201b, transparent 40%);
}
.artist-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px 16px 16px;
  background: #112b23bb;
  border: 1px solid #e0be8033;
  backdrop-filter: blur(12px);
}
.artist-credit img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  object-position: top;
}
.artist-credit div {
  display: grid;
}
.artist-credit span {
  font-size: 12px;
  letter-spacing: 0.05em;
}
.artist-credit strong {
  font: 34px/1.3 var(--serif);
  color: var(--gold);
}
.scene-circle .scene-art img {
  object-position: 30% center;
}
.scene-circle .scene-shade {
  background:
    linear-gradient(90deg, #081c17d9, #081c17ad 43%, #081c1720),
    linear-gradient(0deg, #0b201b, transparent 45%);
}
.scene-circle h2 {
  font-size: clamp(64px, 6.6vw, 116px);
}
/* One sticky stage, continuous progress, reversible dissolves. No scroll snapping or wheel interception. */
.cinematic .journey {
  height: var(--journey-height, 1280svh);
}
.cinematic .journey-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}
.cinematic .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding-top: 105px;
  padding-bottom: 100px;
}
.cinematic .scene.is-visible {
  visibility: visible;
  opacity: var(--scene-opacity, 1);
}
.cinematic .scene.is-active {
  pointer-events: auto;
}
.cinematic .scene-copy {
  opacity: var(--copy-opacity, 1);
  transform: translate3d(0, var(--copy-y, 0px), 0);
}
.cinematic .scene-art img {
  transform: scale(var(--zoom, 1.035)) translate3d(var(--pan, 0px), 0, 0);
}
.cinematic .scene.is-visible .scene-art img {
  will-change: transform;
}
.cinematic .scene-hamper .hamper {
  transform: scale(var(--hamper-scale, 1));
}
.journey-caption {
  display: none;
}
.cinematic .journey-caption {
  position: absolute;
  inset: auto var(--gutter) 32px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0be8033;
  padding-top: 17px;
  pointer-events: none;
  color: #dfd8c4;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.scroll-cue > span {
  font-size: 20px;
}
.ambient-dust {
  display: none;
}
.cinematic .ambient-dust {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: block;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 15% 34%, #f0d8a0aa 40%, transparent),
    radial-gradient(1.5px 1.5px at 73% 22%, #f0d8a085 40%, transparent),
    radial-gradient(1px 1px at 84% 68%, #f0d8a065 40%, transparent),
    radial-gradient(1px 1px at 57% 84%, #f0d8a045 40%, transparent);
  transform: translate3d(0, var(--dust-y, 0px), 0);
  opacity: 0.6;
}
.progress-line {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  z-index: 50;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.finale {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 150px var(--gutter) 120px;
  background:
    radial-gradient(ellipse at 20% 40%, #305e422b, transparent 65%), var(--ink);
}
.finale-heading {
  align-self: center;
}
.finale-heading .eyebrow {
  color: var(--gold);
  margin-bottom: 26px;
}
.finale-heading h2 {
  font-size: clamp(72px, 7vw, 114px);
}
.finale-heading .gujarati {
  margin: 32px 0;
}
.finale-logo {
  width: 130px;
  margin-top: 36px;
}
.event-card {
  padding: 38px;
  border: 1px solid #d2b17b88;
  box-shadow:
    inset 0 0 0 7px var(--ink),
    inset 0 0 0 8px #d2b17b25;
  align-self: center;
  background: #16372b80;
}
.event-card > .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
}
.date-display {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid #c9aa6b40;
}
.date-display > strong {
  font: 120px/1 var(--serif);
  color: var(--gold);
}
.date-display > div {
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.date-display span {
  font-size: 12px;
  letter-spacing: 0.08em;
}
.event-facts {
  margin: 26px 0;
}
.event-facts > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  margin: 20px 0;
}
.event-facts dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 4px;
}
.event-facts dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.event-facts dd small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.book-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--gold);
  color: #183225;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
  min-height: 54px;
  transition: background 0.2s;
}
.book-button:hover {
  background: #efd49d;
}
.booking-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 9px 0 18px;
}
.event-links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #c9aa6b40;
  padding-bottom: 18px;
}
.event-links a,
.event-links button {
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
  background: none;
  padding: 5px 0;
}
.entry-note {
  display: flex;
  gap: 13px;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 22px;
  color: #c6c9b9;
}
.entry-note > span {
  color: var(--gold);
  font-size: 20px;
}
.entry-note small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
}
footer {
  padding: 35px var(--gutter) 105px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-top: 1px solid #e0be8022;
  background: var(--ink);
  color: #c4c7b4;
  font-size: 12px;
}
footer > a:first-child {
  font: 26px var(--serif);
  color: var(--gold);
}
footer > p {
  text-align: right;
}
footer > a:nth-of-type(2) {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.music-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  max-height: 78svh;
  overflow: auto;
  background: #112c23;
  color: var(--cream);
  border: 1px solid #c7a66b99;
  padding: 15px;
  z-index: 45;
  box-shadow: 0 18px 70px #0008;
}
.music-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.music-heading h2 {
  font-size: 27px;
  line-height: 1.1;
}
.music-heading button,
.close-button {
  background: none;
  font-size: 28px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.player-host {
  aspect-ratio: 16/9;
  background: #06140f;
}
.player-host iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.track-credit {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
.music-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.music-tabs button {
  background: transparent;
  border: 1px solid #c7a66b66;
  min-height: 44px;
  padding: 7px 10px;
  font-size: 12px;
}
.music-tabs button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ink);
}
#youtube-source {
  font-size: 12px;
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 12px 0;
}
.sound-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translate(-50%, 10px);
  max-width: calc(100% - 40px);
  width: max-content;
  padding: 13px 20px;
  background: var(--cream);
  color: var(--ink);
  z-index: 70;
  box-shadow: 0 4px 30px #0005;
  opacity: 0;
  pointer-events: none;
  font-size: 14px;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid #baa16e;
  padding: 30px;
  width: calc(100% - 32px);
  max-width: 640px;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: 0 30px 100px #0007;
}
dialog::backdrop {
  background: #061812d9;
  backdrop-filter: blur(8px);
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.dialog-head h2 {
  font-size: 40px;
  letter-spacing: -0.03em;
  margin-top: 9px;
}
.dialog-head .eyebrow {
  font-size: 12px;
}
.memory-dialog > p {
  font-size: 14px;
}
.photo-input {
  display: block;
  cursor: pointer;
  border: 1px dashed #d8bc7770;
  padding: 15px;
  margin: 20px 0;
  font-size: 14px;
}
.photo-input input {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  font-size: 13px;
  min-height: 44px;
}
.memory-dialog canvas {
  display: none;
  max-height: 45svh;
  width: auto;
  max-width: 100%;
  margin: 20px auto;
}
.memory-dialog canvas.has-photo {
  display: block;
}
.memory-dialog .book-button {
  justify-content: center;
}
.noscript-note {
  padding: 25px var(--gutter);
  font-size: 14px;
}
.read-mode .quiet-prompt,
.read-mode .journey-link[href="#invitation"] {
  display: none;
}
.read-mode .scene-hamper {
  --open: 1;
  --seal: 0;
}
@media (min-width: 1700px) {
  .scene-copy {
    max-width: 760px;
  }
  .scene {
    padding-left: max(var(--gutter), calc((100vw - 1550px) / 2));
  }
  .original-invitation {
    left: 62%;
  }
  .hamper-area {
    left: 49%;
  }
}
@media (max-width: 1000px) {
  :root {
    --gutter: 38px;
  }
  .header-date {
    display: none;
  }
  .scene-copy {
    width: 56%;
  }
  h1,
  h2 {
    font-size: 70px;
  }
  .scene-invitation h2 {
    font-size: 76px;
  }
  .scene-copy .eyebrow {
    font-size: 11px;
    letter-spacing: 0.13em;
  }
  .scene-description {
    font-size: 15px;
  }
  .original-invitation {
    left: 65%;
    width: 29%;
  }
  .hamper-area {
    left: 54%;
    width: 43%;
  }
  .scene-devotion .scene-copy {
    width: 56%;
  }
  .devotion-art {
    right: 5%;
    width: 36%;
    height: 66%;
    top: 19%;
  }
  .finale {
    gap: 6%;
  }
  .event-card {
    padding: 30px 24px;
  }
  .artist-credit {
    right: 30px;
    bottom: 100px;
  }
  .artist-credit img {
    width: 45px;
    height: 56px;
  }
  .artist-credit strong {
    font-size: 28px;
  }
  .artist-credit span {
    font-size: 11px;
  }
  .story-conversation {
    font-size: 14px;
  }
}
@media (max-width: 650px) {
  :root {
    --gutter: 24px;
  }
  .masthead {
    padding: 16px 24px;
    gap: 15px;
    align-items: flex-start;
  }
  .wordmark {
    width: 69px;
  }
  .header-actions {
    gap: 10px;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
  .header-link {
    font-size: 12px;
    padding: 3px 0;
    min-height: 35px;
  }
  .header-link span {
    padding-left: 10px;
  }
  #motion-toggle {
    font-size: 11px;
    min-height: 32px;
    padding: 0;
    line-height: 1.5;
  }
  .scene {
    min-height: 890px;
    min-height: 110svh;
    align-items: flex-start;
    padding: 130px 24px 110px;
  }
  .scene-copy {
    width: 100%;
    max-width: 440px;
  }
  .scene-copy .eyebrow {
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.14em;
    max-width: 280px;
    margin-bottom: 22px;
  }
  h1,
  h2 {
    font-size: clamp(47px, 12vw, 72px);
    line-height: 1.04;
  }
  h1 {
    font-size: clamp(51px, 12.4vw, 74px);
  }
  .scene-description {
    font-size: 14px;
    line-height: 1.85;
    max-width: 330px;
    margin-top: 22px;
  }
  .story-conversation {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 22px;
    max-width: 310px;
    padding-left: 14px;
  }
  .scene-prologue .scene-description {
    margin-top: 20px;
    font-size: 14px;
  }
  .journey-link {
    font-size: 12px;
    min-height: 44px;
    margin-top: 23px;
    gap: 25px;
  }
  .scene-art img {
    object-position: 72% center;
  }
  .scene-shade {
    background:
      linear-gradient(
        180deg,
        #071b16f2,
        #071b16d9 23%,
        #071b1666 53%,
        #071b1610 73%,
        #0b201b
      ),
      linear-gradient(90deg, #071b1630, transparent);
  }
  .scene-prologue .scene-art img {
    object-position: 74% center;
  }
  .cinematic .scene {
    padding: 124px 24px 110px;
  }
  .cinematic .journey-caption {
    inset: auto 24px 87px;
    padding-top: 13px;
    font-size: 11px;
    letter-spacing: 0;
    gap: 15px;
  }
  .scroll-cue {
    font-size: 9px;
    letter-spacing: 0.08em;
    gap: 10px;
    flex-shrink: 0;
  }
  .scroll-cue > span {
    font-size: 16px;
  }
  .art-caption {
    display: none;
  }
  .scene-hamper {
    min-height: 950px;
  }
  .scene-hamper .scene-copy {
    width: 100%;
    text-align: center;
  }
  .scene-hamper .eyebrow {
    margin: 0 auto 16px;
    max-width: 320px;
  }
  .scene-hamper h2 {
    font-size: clamp(44px, 11vw, 62px);
  }
  .scene-hamper .scene-description {
    margin: 16px auto 0;
    font-size: 13px;
  }
  .scene-hamper .quiet-prompt {
    display: none;
  }
  .hamper-area {
    width: 100%;
    left: 0;
    top: auto;
    bottom: 145px;
    transform: none;
  }
  .hamper {
    width: min(53vw, 255px, 31svh);
  }
  .hamper-interior strong {
    font-size: 28px;
  }
  .hamper-interior span {
    font-size: 9px;
  }
  .hamper-interior small {
    font-size: 8px;
  }
  .inner-logo {
    width: 29%;
  }
  .scene-invitation {
    min-height: 1130px;
  }
  .scene-invitation .scene-copy {
    width: 100%;
    text-align: center;
  }
  .scene-invitation .eyebrow {
    margin: 0 auto 14px;
    max-width: 320px;
    font-size: 10px;
  }
  .scene-invitation h2 {
    font-size: clamp(46px, 11.5vw, 64px);
  }
  .artist-line {
    font-size: 12px;
    margin-top: 15px;
  }
  .artist-line strong {
    font-size: 30px;
    display: inline;
    margin-left: 5px;
  }
  .scene-invitation .gujarati {
    font-size: 15px;
    line-height: 1.8;
    margin: 13px 0;
  }
  .invitation-date {
    font-size: 10px;
    letter-spacing: 0.03em;
    margin-top: 15px;
  }
  .scene-invitation .scene-description {
    font-size: 12px;
    line-height: 1.6;
    margin: 9px auto 0;
  }
  .original-invitation {
    width: min(39vw, 23svh);
    left: 50%;
    top: auto;
    bottom: 140px;
    transform: translateX(-50%) rotate(3deg);
  }
  .original-invitation figcaption {
    font-size: 10px;
    margin-top: 10px;
    white-space: nowrap;
    gap: 10px;
  }
  .scene-journey .scene-shade {
    background: linear-gradient(
      180deg,
      #071b16f5,
      #071b16d9 30%,
      #071b1622 73%,
      #0b201b
    );
  }
  .scene-journey .scene-art img {
    object-position: 61% center;
  }
  .scene-journey .quiet-prompt {
    max-width: 280px;
    margin-top: 22px;
    font-size: 12px;
  }
  .scene-arrival .scene-art img {
    object-position: 66% center;
  }
  .scene-memory .scene-art img {
    object-position: 73% center;
  }
  .spoken-line {
    font-size: 23px;
    margin-top: 22px;
    max-width: 290px;
  }
  .outline-button {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 16px;
    margin-top: 22px;
    max-width: 100%;
  }
  .scene-devotion {
    min-height: 1080px;
  }
  .scene-devotion h2 {
    font-size: 51px;
  }
  .scene-devotion .scene-copy {
    width: 100%;
  }
  .scene-devotion .scene-description {
    font-size: 13px;
    max-width: 310px;
  }
  .scene-devotion .gujarati {
    font-size: 18px;
    margin-top: 12px;
  }
  .scene-devotion .outline-button {
    margin-top: 12px;
  }
  .devotion-art {
    right: 5%;
    top: auto;
    bottom: 95px;
    width: 48%;
    height: 41%;
    opacity: 0.9;
    z-index: -1;
  }
  .devotion-glow {
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      #151f19 10%,
      #151f19e6 40%,
      transparent 68%
    );
  }
  .scene-stage .scene-shade {
    background: linear-gradient(
      180deg,
      #071b16f5,
      #071b16c9 30%,
      #071b1622 72%,
      #0b201b
    );
  }
  .scene-stage .scene-art img {
    object-position: 76% center;
  }
  .artist-credit {
    right: 24px;
    left: auto;
    bottom: 140px;
    padding: 10px 14px 10px 10px;
    gap: 12px;
  }
  .artist-credit img {
    height: 55px;
    width: 44px;
  }
  .artist-credit strong {
    font-size: 27px;
  }
  .artist-credit span {
    font-size: 10px;
  }
  .scene-circle .scene-art img {
    object-position: 42% center;
  }
  .scene-circle .scene-shade {
    background: linear-gradient(
      180deg,
      #071b16f2,
      #071b16cc 28%,
      #071b1644 65%,
      #0b201b
    );
  }
  .scene-circle h2 {
    font-size: clamp(48px, 12vw, 72px);
  }
  .finale {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 95px 24px 65px;
  }
  .finale-heading {
    text-align: center;
  }
  .finale-heading .eyebrow {
    margin: 0 auto 22px;
    font-size: 11px;
  }
  .finale-heading h2 {
    font-size: 80px;
  }
  .finale-heading .gujarati {
    font-size: 18px;
    margin: 24px 0;
  }
  .finale-logo {
    width: 100px;
    margin: 25px auto 0;
  }
  .event-card {
    padding: 29px 22px;
  }
  .event-card > .eyebrow {
    font-size: 10px;
  }
  .date-display > strong {
    font-size: 102px;
  }
  .date-display > div {
    font-size: 20px;
  }
  .event-facts > div {
    grid-template-columns: 65px 1fr;
    gap: 12px;
  }
  .event-facts dd {
    font-size: 15px;
  }
  .event-facts dt {
    font-size: 10px;
  }
  .event-facts dd small {
    font-size: 12px;
  }
  .event-links a,
  .event-links button {
    font-size: 12px;
  }
  .entry-note {
    font-size: 12px;
  }
  .entry-note small {
    font-size: 11px;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px 110px;
    gap: 14px;
  }
  footer > p {
    text-align: center;
  }
  .music-panel {
    right: 16px;
    bottom: 82px;
    width: 310px;
    max-width: calc(100vw - 32px);
    padding: 12px;
  }
  .music-heading h2 {
    font-size: 25px;
  }
  .music-tabs button {
    font-size: 11px;
  }
  .toast {
    bottom: 86px;
    font-size: 13px;
  }
  dialog {
    padding: 22px;
  }
  .dialog-head h2 {
    font-size: 34px;
  }
  .dialog-head .eyebrow {
    font-size: 10px;
  }
  .memory-dialog > p {
    font-size: 13px;
  }
  .read-mode .scene-invitation .original-invitation {
    width: 220px;
    bottom: 100px;
  }
  .read-mode .scene-hamper .hamper {
    width: 245px;
  }
  .read-mode .scene-hamper .hamper-area {
    bottom: 140px;
  }
  .read-mode .devotion-art {
    height: 46%;
    width: 68%;
    right: 7%;
    bottom: 40px;
  }
}
@media (max-height: 760px) and (min-width: 651px) {
  .cinematic .scene {
    padding-top: 95px;
    padding-bottom: 85px;
  }
  h1,
  h2,
  .scene-invitation h2,
  .scene-circle h2 {
    font-size: clamp(52px, 5.5vw, 82px);
  }
  .scene-copy .eyebrow {
    margin-bottom: 18px;
  }
  .scene-description,
  .story-conversation,
  .spoken-line {
    margin-top: 20px;
  }
  .scene-description {
    font-size: 14px;
  }
  .scene-invitation .gujarati {
    margin: 15px 0;
  }
  .artist-line {
    margin-top: 17px;
  }
  .artist-line strong {
    font-size: 32px;
  }
  .outline-button,
  .journey-link {
    margin-top: 20px;
  }
}
@media (max-height: 760px) and (max-width: 650px) {
  .cinematic .scene {
    padding-top: 110px;
  }
  .cinematic .scene-prologue .scene-description {
    display: none;
  }
  .cinematic .scene-copy .eyebrow {
    margin-bottom: 15px;
  }
  .cinematic h1,
  .cinematic h2 {
    font-size: clamp(41px, 10.7vw, 56px);
  }
  .cinematic .scene-description {
    font-size: 13px;
    margin-top: 17px;
  }
  .cinematic .story-conversation {
    font-size: 12px;
    margin-top: 18px;
  }
  .cinematic .scene-hamper .scene-description {
    display: none;
  }
  .cinematic .hamper-area {
    bottom: 130px;
  }
  .cinematic .hamper {
    width: min(46vw, 29svh);
  }
  .cinematic .scene-invitation .gujarati {
    font-size: 13px;
    margin: 10px 0;
  }
  .cinematic .scene-invitation .artist-line {
    font-size: 11px;
    margin-top: 10px;
  }
  .cinematic .scene-invitation .artist-line strong {
    font-size: 24px;
  }
  .cinematic .original-invitation {
    width: 19svh;
    bottom: 132px;
  }
  .cinematic .scene-invitation .scene-description {
    font-size: 11px;
    margin-top: 7px;
  }
  .cinematic .scene-devotion .scene-description {
    font-size: 12px;
  }
  .cinematic .scene-devotion .gujarati {
    margin-top: 10px;
  }
  .cinematic .scene-devotion .outline-button {
    margin-top: 8px;
  }
  .cinematic .scene-journey .quiet-prompt {
    display: none;
  }
  .cinematic .spoken-line {
    font-size: 21px;
    margin-top: 18px;
  }
  .cinematic .outline-button {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .door {
    transform: none !important;
  }
  .hamper-seal {
    opacity: 1 !important;
  }
  .scene-art img {
    transform: none !important;
  }
}

/* View the printed invitation without leaving the story or losing scroll position. */
.original-invitation-dialog {
  width: min(720px, calc(100% - 24px));
  max-width: 720px;
  max-height: calc(100svh - 24px);
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
}
.invitation-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 6px 8px 6px 18px;
  background: #123d32;
  color: #fff3d5;
  font-size: 14px;
}
.invitation-viewer-bar button {
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid #d8b86c;
  border-radius: 50%;
  background: #fff3d5;
  color: #123d32;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
}
.original-invitation-dialog > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 84px);
  object-fit: contain;
  background: #09271f;
}
