:root {
  color-scheme: light;
  --softpink: #fadadd;
  --blush: #ffe5ec;
  --lavender: #d8b4f8;
  --cream: #fff8f0;
  --plum: #6f527c;
  --wine: #8a5c74;
  --ink: #35283e;
  --jamun: #4f335c;
  --shadow-lg: 0 30px 90px rgba(72, 45, 89, 0.16);
  --shadow-md: 0 20px 50px rgba(72, 45, 89, 0.12);
  --shadow-sm: 0 12px 25px rgba(72, 45, 89, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.45), transparent 22%),
    linear-gradient(140deg, rgba(255, 229, 236, 0.98), rgba(216, 180, 248, 0.86) 48%, rgba(255, 248, 240, 1));
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

#particle-canvas,
.atmosphere,
.cursor-glow {
  position: fixed;
  inset: 0;
}

#particle-canvas,
.atmosphere {
  pointer-events: none;
}

#particle-canvas {
  z-index: 0;
}

.atmosphere {
  z-index: 1;
}

.cursor-glow {
  z-index: 2;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 64%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 0.9px, transparent 0.9px),
    radial-gradient(rgba(79, 51, 92, 0.06) 0.9px, transparent 0.9px);
  background-position: 0 0, 15px 15px;
  background-size: 30px 30px;
  opacity: 0.24;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.52;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-a {
  left: 4%;
  top: 5%;
  width: 22rem;
  height: 22rem;
  background: rgba(255, 255, 255, 0.5);
}

.orb-b {
  right: 4%;
  top: 14%;
  width: 18rem;
  height: 18rem;
  background: rgba(250, 218, 221, 0.8);
  animation-duration: 14s;
}

.orb-c {
  left: 40%;
  bottom: 8%;
  width: 16rem;
  height: 16rem;
  background: rgba(216, 180, 248, 0.46);
  animation-duration: 22s;
}

.progress-line {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
}

.progress-line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wine), var(--plum), #9e6bc1);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(18px);
}

.brand-pill,
.sound-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  padding: 0.82rem 1rem;
  box-shadow: var(--shadow-sm);
}

.brand-code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-copy {
  font-size: 0.88rem;
  color: rgba(53, 40, 62, 0.7);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sound-pill {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sound-pill.is-playing {
  background: rgba(255, 255, 255, 0.82);
}

.sound-eq {
  display: inline-flex;
  align-items: end;
  gap: 0.18rem;
  width: 1.2rem;
  height: 1rem;
}

.sound-eq i {
  display: block;
  width: 0.22rem;
  border-radius: 999px;
  background: var(--plum);
  transform-origin: bottom;
}

.sound-eq i:nth-child(1) {
  height: 0.6rem;
}

.sound-eq i:nth-child(2) {
  height: 1rem;
}

.sound-eq i:nth-child(3) {
  height: 0.75rem;
}

.sound-pill.is-playing .sound-eq i {
  animation: eqBounce 1s ease-in-out infinite;
}

.sound-pill.is-playing .sound-eq i:nth-child(2) {
  animation-delay: 0.15s;
}

.sound-pill.is-playing .sound-eq i:nth-child(3) {
  animation-delay: 0.3s;
}

.sound-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
  font-size: 0.9rem;
}

.sound-text small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.56);
}

.mini-link {
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.65);
}

.site-shell {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.4rem 6rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.5rem;
  min-height: calc(100vh - 5rem);
  align-items: center;
  padding: 2rem 0 4rem;
}

.hero-copy {
  position: relative;
  padding: 2rem 1.9rem 2.1rem;
  border-radius: 2.8rem 4.4rem 3.2rem 2.6rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52) 54%, rgba(255, 255, 255, 0.14) 100%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(72, 45, 89, 0.08);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 34%),
    radial-gradient(circle at right bottom, rgba(216, 180, 248, 0.16), transparent 28%);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy,
.hero-collage,
.manifesto-card,
.mini-board,
.journal-card,
.letter-card,
.jamun-card,
.jamun-note,
.spotify-card,
.promise-card,
.departure-card,
.credits,
.destination-panel,
.era-card {
  box-shadow: var(--shadow-lg);
}

.eyebrow,
.section-kicker,
.ticket-top span,
.polaroid-caption,
.mini-label,
.city-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(53, 40, 62, 0.58);
}

.hero-title {
  margin: 1rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-title span {
  display: block;
  font-style: italic;
  color: var(--wine);
}

.hero-lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(53, 40, 62, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.primary-button {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.45rem;
  background: linear-gradient(135deg, var(--wine), var(--plum));
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(79, 51, 92, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(79, 51, 92, 0.28);
}

.primary-button:focus-visible,
.era-card:focus-visible,
.destination-panel:focus-visible,
.sound-pill:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid rgba(79, 51, 92, 0.8);
  outline-offset: 3px;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  animation: shimmer 3.4s infinite;
}

.snark-pill,
.hero-tags span,
.sticker-pill,
.ai-swap-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.snark-pill {
  padding: 0.95rem 1.15rem;
  font-size: 0.95rem;
  color: rgba(53, 40, 62, 0.7);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero-tags span {
  padding: 0.72rem 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.62);
}

.hero-collage {
  position: relative;
  min-height: 38rem;
  isolation: isolate;
}

.passport-stack {
  position: absolute;
  left: 52%;
  top: 51%;
  width: min(30.5rem, 100%);
  perspective: 1700px;
  transform: translate(-50%, -50%);
  z-index: 12;
}

.passport-shadow {
  position: absolute;
  inset: auto 9% -3.5rem;
  height: 3rem;
  background: rgba(79, 51, 92, 0.16);
  border-radius: 999px;
  filter: blur(20px);
}

.passport-sheet {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.7);
}

.passport-sheet-back {
  transform: rotate(-7deg) translate(-1rem, 1.4rem);
}

.passport-sheet-middle {
  transform: rotate(5deg) translate(0.7rem, -0.2rem);
}

.passport-sheet-front {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.85);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 30px 80px rgba(79, 51, 92, 0.2);
  z-index: 3;
}

.passport-image {
  display: block;
  width: 100%;
  border-radius: 1.35rem;
}

.passport-ribbon {
  position: absolute;
  right: -0.2rem;
  bottom: 8%;
  z-index: 3;
  padding: 0.9rem 1.15rem;
  border: 4px solid rgba(122, 158, 126, 0.64);
  border-radius: 999px;
  background: rgba(246, 255, 241, 0.8);
  color: rgba(83, 124, 88, 0.96);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-11deg) translateZ(40px);
}

.floating-note,
.ticket-card,
.round-sticker {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  z-index: 5;
}

.floating-note {
  max-width: 15rem;
  border-radius: 1.2rem;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-md);
}

.note-kicker {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.44);
}

.floating-note p {
  line-height: 1.7;
  color: rgba(53, 40, 62, 0.74);
}

.note-one {
  left: 1%;
  top: 1%;
  transform: rotate(-8deg);
}

.note-two {
  right: 1%;
  top: 9%;
  transform: rotate(7deg);
}

.ticket-card {
  left: 2%;
  bottom: 2%;
  width: 17rem;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(-7deg);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1rem 0.7rem;
  background: rgba(250, 218, 221, 0.58);
}

.ticket-main {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.ticket-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.42);
}

.ticket-value {
  margin: 0.2rem 0 0;
  line-height: 1.6;
  color: rgba(53, 40, 62, 0.76);
}

.round-sticker {
  right: 2%;
  bottom: 0.5rem;
  width: 7.9rem;
  height: 7.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(250, 218, 221, 0.95), rgba(216, 180, 248, 0.92));
  color: var(--jamun);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  transform: rotate(13deg);
}

.section-shell {
  padding: 5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.7fr;
  gap: 1.4rem;
  align-items: start;
}

.section-heading {
  max-width: 40rem;
}

.section-kicker {
  margin-bottom: 0.8rem;
  color: rgba(53, 40, 62, 0.48);
}

.section-title {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.06;
}

.section-copy {
  margin: 0;
  line-height: 1.9;
  color: rgba(53, 40, 62, 0.74);
}

.align-left {
  text-align: left;
}

.manifesto-card,
.mini-board,
.journal-card,
.letter-card,
.jamun-card,
.jamun-note,
.spotify-card,
.promise-card,
.departure-card,
.credits,
.destination-panel,
.era-card {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.48));
  backdrop-filter: blur(18px);
}

.manifesto-card {
  position: relative;
  border-radius: 2rem;
  padding: 2rem;
  min-height: 100%;
}

.manifesto-stamp {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border: 3px solid rgba(122, 158, 126, 0.64);
  border-radius: 999px;
  color: rgba(83, 124, 88, 0.98);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.manifesto-list {
  display: grid;
  gap: 1.1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.manifesto-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.8;
  color: rgba(53, 40, 62, 0.78);
}

.manifesto-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--wine);
}

.mini-board {
  display: grid;
  gap: 1rem;
  border-radius: 2rem;
  padding: 1rem;
}

.mini-card {
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.54);
  padding: 1rem;
}

.mini-card p {
  margin: 0.5rem 0 0;
  line-height: 1.7;
  color: rgba(53, 40, 62, 0.72);
}

.memory-layout {
  display: grid;
  grid-template-columns: 0.58fr 1fr 0.42fr;
  gap: 1.4rem;
  align-items: start;
}

.journal-card {
  position: relative;
  border-radius: 1.8rem;
  padding: 2rem 1.4rem 1.4rem;
}

.journal-ring {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 1rem;
  height: 0.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 82, 124, 0.14), rgba(111, 82, 124, 0.42), rgba(111, 82, 124, 0.14));
}

.journal-date {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.46);
}

.journal-card h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
}

.journal-card p {
  margin: 1rem 0 0;
  line-height: 1.85;
  color: rgba(53, 40, 62, 0.75);
}

.scrapbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.polaroid {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #fffdfb;
  padding: 0.95rem 0.95rem 1.1rem;
  box-shadow: var(--shadow-md);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.polaroid:hover {
  transform: translateY(-9px) rotate(0deg) !important;
  box-shadow: 0 26px 64px rgba(72, 45, 89, 0.2);
}

.tape {
  position: absolute;
  top: 0.8rem;
  z-index: 2;
  width: 5.8rem;
  height: 2.2rem;
  background: rgba(255, 244, 204, 0.62);
  box-shadow: 0 6px 14px rgba(72, 45, 89, 0.08);
}

.tape-left {
  left: 0.85rem;
  transform: rotate(-15deg);
}

.tape-right {
  right: 0.85rem;
  transform: rotate(14deg);
}

.tape-center {
  left: calc(50% - 2.9rem);
  transform: rotate(5deg);
}

.polaroid-media {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.polaroid-image {
  display: block;
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.85rem;
  transition: transform 260ms ease;
  filter: saturate(0.94) contrast(0.96) brightness(1.02);
}

.polaroid-media:focus-visible {
  outline: 2px solid rgba(79, 51, 92, 0.8);
  outline-offset: 4px;
}

.polaroid:hover .polaroid-image {
  transform: scale(1.05);
}

.crop-left {
  object-position: 23% center;
}

.crop-right {
  object-position: 77% center;
}

.crop-top {
  object-position: center 18%;
}

.polaroid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.45rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent 28%, rgba(37, 23, 45, 0.75));
  color: white;
  opacity: 0;
  transition: opacity 220ms ease;
}

.polaroid:hover .polaroid-overlay {
  opacity: 1;
}

.overlay-script {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
}

.polaroid-overlay p:last-child {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.polaroid-caption {
  padding-top: 0.95rem;
  color: rgba(53, 40, 62, 0.46);
}

.sticker-cluster {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sticker-pill {
  padding: 0.95rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.66);
}

.letter-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 2rem;
  padding: 2rem;
}

.letter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wax-seal {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--wine), var(--jamun));
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.typewriter-wrap {
  position: relative;
  min-height: 15rem;
  margin-top: 1rem;
}

.typewriter-text {
  white-space: pre-line;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 2;
  color: rgba(53, 40, 62, 0.78);
}

.typewriter-cursor {
  display: inline-block;
  color: var(--wine);
  font-size: 1.5rem;
  animation: blink 0.9s steps(2, start) infinite;
}

.split-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.4rem;
  align-items: start;
}

.jamun-board {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1.4rem;
}

.jamun-card,
.jamun-note {
  border-radius: 2rem;
  padding: 1.5rem;
}

.jamun-card {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.jamun-product-shot {
  position: relative;
  width: min(15rem, 100%);
  aspect-ratio: 0.88;
  margin: 0 auto;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.42));
  border: 3px solid rgba(255, 255, 255, 0.72);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.jamun-bottle-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% center;
}

.jamun-subnote {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(53, 40, 62, 0.62);
}

.jamun-script {
  margin: 0 0 0.7rem;
  font-family: "Dancing Script", cursive;
  font-size: 2.4rem;
  color: var(--wine);
}

.jamun-copy p:not(.jamun-script),
.jamun-note p {
  margin: 0;
  line-height: 1.85;
  color: rgba(53, 40, 62, 0.76);
}

.jamun-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: rgba(53, 40, 62, 0.76);
  line-height: 1.7;
}

.vinyl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.era-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  padding: 1.4rem;
  text-align: left;
  border: 0;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.era-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 58px rgba(72, 45, 89, 0.18);
}

.era-card.is-open {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 218, 221, 0.6));
}

.era-disc {
  display: block;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0.4rem, transparent 0.41rem),
    radial-gradient(circle at center, rgba(79, 51, 92, 0.92) 0 2.2rem, rgba(111, 82, 124, 0.96) 2.2rem 100%);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.04);
}

.era-name {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 180, 248, 0.25);
  color: var(--plum);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.era-card h3 {
  margin: 1rem 0 0.7rem;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  line-height: 1.24;
}

.era-card p {
  margin: 0;
  line-height: 1.7;
  color: rgba(53, 40, 62, 0.64);
}

.song-reveal {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  line-height: 1.8;
  color: rgba(53, 40, 62, 0.78);
  transition: max-height 280ms ease, padding-top 280ms ease;
}

.era-card.is-open .song-reveal {
  max-height: 8rem;
  padding-top: 1rem;
}

.spotify-card {
  margin-top: 1.4rem;
  border-radius: 2rem;
  padding: 1.5rem;
}

.spotify-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spotify-header h3 {
  margin: 0.2rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.spotify-header p {
  margin: 0;
  max-width: 28rem;
  line-height: 1.8;
  color: rgba(53, 40, 62, 0.72);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.destination-panel {
  border: 0;
  border-radius: 2rem;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.destination-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 64px rgba(72, 45, 89, 0.18);
}

.destination-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  aspect-ratio: 1.3;
}

.destination-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.destination-panel:hover .destination-photo-wrap img {
  transform: scale(1.06);
}

.ai-swap-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.74);
}

.destination-meta {
  padding: 1rem 0.4rem 0.2rem;
}

.destination-meta h3 {
  margin: 0.9rem 0 0.55rem;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: 1.2;
}

.destination-meta p {
  margin: 0;
  line-height: 1.75;
  color: rgba(53, 40, 62, 0.7);
}

.promise-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 2rem;
  padding: 2.2rem;
  text-align: center;
}

.promise-copy {
  margin: 1rem 0 0;
  font-family: "Dancing Script", cursive;
  font-size: 2.1rem;
  color: var(--wine);
}

.final-shell {
  padding-bottom: 2rem;
}

.departure-card {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 2rem;
  padding: 2rem;
  text-align: center;
}

.departure-board {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(53, 40, 62, 0.92);
  color: #f7ecdb;
}

.board-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 248, 240, 0.12);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.board-row:last-child {
  border-bottom: 0;
}

.final-script {
  margin: 1.4rem auto 0;
  max-width: 36rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.35;
}

.final-snark {
  margin: 0.7rem 0 1.8rem;
  font-family: "Dancing Script", cursive;
  font-size: 2.2rem;
  color: var(--wine);
}

.credits {
  max-width: 920px;
  margin: 1rem auto 0;
  border-radius: 1.6rem;
  padding: 1rem 1.2rem;
  text-align: center;
}

.credits p {
  margin: 0;
  line-height: 1.8;
  color: rgba(53, 40, 62, 0.7);
}

.credit-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin-top: 1rem;
}

.credit-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(53, 40, 62, 0.64);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-shell.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 20, 37, 0.56);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(92vw, 620px);
  border-radius: 2rem;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.96), rgba(255, 229, 236, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.image-modal-panel {
  width: min(94vw, 980px);
  padding: 1.1rem 1.1rem 1.4rem;
}

.memory-modal-image {
  display: block;
  width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.5);
}

.memory-modal-caption {
  margin: 1rem 0 0;
  padding: 0 0.4rem;
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: var(--wine);
  text-align: center;
}

.modal-shell.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 0;
  background: rgba(79, 51, 92, 0.12);
  color: var(--plum);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-title {
  margin: 0.2rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
}

.modal-copy {
  margin: 1rem 0 0;
  line-height: 1.85;
  color: rgba(53, 40, 62, 0.78);
}

.modal-script {
  margin: 1rem 0 0;
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: var(--wine);
}

.magnetic {
  transition: transform 160ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -24px, 0) scale(1.08);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-130%);
  }
  55%,
  100% {
    transform: translateX(140%);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes eqBounce {
  0%,
  100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 1080px) {
  .hero-shell,
  .section-grid,
  .memory-layout,
  .split-shell,
  .jamun-board {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 34rem;
  }

  .scrapbook-grid,
  .vinyl-grid,
  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    justify-content: space-between;
  }

  .brand-pill,
  .sound-pill {
    width: 100%;
    justify-content: center;
  }

  .hero-shell {
    padding-top: 1rem;
  }

  .hero-copy {
    padding: 1.7rem 1.2rem 1.9rem;
    border-radius: 2.2rem;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .passport-stack {
    width: 100%;
  }

  .note-one,
  .note-two,
  .ticket-card,
  .round-sticker {
    position: static;
    transform: none;
    margin-top: 1rem;
  }

  .hero-collage {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .passport-stack {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .passport-sheet-back,
  .passport-sheet-middle {
    display: none;
  }

  .passport-shadow {
    display: none;
  }

  .scrapbook-grid,
  .vinyl-grid,
  .destination-grid,
  .jamun-card {
    grid-template-columns: 1fr;
  }

  .spotify-header {
    flex-direction: column;
  }

  .section-shell {
    padding: 4.25rem 0;
  }

  .polaroid-overlay {
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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