/* =========================================================
   My Guy & His Bomba — Birthday Site
   Palette + base tokens
   ========================================================= */
:root {
  --photo-fade: 0.14;
  /* Palette */
  --burgundy: #5c1a2b;
  --burgundy-deep: #3d0f1c;
  --cream: #fdf6ec;
  --cream-soft: #f7ead9;
  --blush: #f3c6c6;
  --peach: #f6d3b3;
  --chocolate: #3a241c;
  --gold: #c9a24b;
  --gold-soft: #e3c67e;

  /* Text */
  --ink: #2c1a14;
  --ink-soft: #6b4a3e;
  --ink-on-dark: #fdf6ec;

  /* Surfaces */
  --card-bg: #fffaf3;
  --card-border: rgba(92, 26, 43, 0.12);
  --shadow-sm: 0 4px 14px rgba(61, 15, 28, 0.08);
  --shadow-md: 0 12px 34px rgba(61, 15, 28, 0.14);
  --shadow-lg: 0 24px 60px rgba(61, 15, 28, 0.22);

  /* Layout */
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 720px;
  --gutter: 1.15rem;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   Reset / base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.heart {
  display: inline-block;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
  min-height: 48px;
  touch-action: manipulation;
}

.btn--primary {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep));
  color: var(--ink-on-dark);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-on-dark);
  border: 2px solid rgba(253, 246, 236, 0.55);
}

.btn--ghost:hover {
  background: rgba(253, 246, 236, 0.12);
  transform: translateY(-2px);
}

/* =========================================================
   Opening screen
   ========================================================= */
.opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter)
    calc(var(--gutter) + env(safe-area-inset-bottom));
  background: radial-gradient(
    120% 90% at 50% 0%,
    #7a2438 0%,
    var(--burgundy) 45%,
    var(--burgundy-deep) 100%
  );
  color: var(--ink-on-dark);
  text-align: center;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.opening.is-leaving {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

.opening__grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.opening__inner {
  position: relative;
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}

.opening__kicker {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}

.opening__title {
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.opening__sub {
  margin: 1.1rem auto 1.8rem;
  max-width: 30rem;
  font-size: 1.02rem;
  color: rgba(253, 246, 236, 0.9);
}

.opening__hint {
  margin-top: 1.4rem;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--gold-soft);
  opacity: 0.85;
}

.confetti-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -12vh;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.95;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(115vh) rotate(720deg);
    opacity: 0.9;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Experience / sections
   ========================================================= */
.experience {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
}

.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.2rem var(--gutter);
}

.section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.section__kicker {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--burgundy);
  margin-bottom: 0.35rem;
}

.section__title {
  font-size: clamp(1.5rem, 6.4vw, 2.15rem);
  font-weight: 700;
  color: var(--chocolate);
  text-wrap: balance;
}

.section__outro {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--burgundy);
}

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.card__emoji {
  font-size: 1.7rem;
  display: block;
  margin-bottom: 0.5rem;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.45rem;
}

.card__text {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card--feature {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card--fun {
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.card--fun:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--secret {
  cursor: pointer;
  border: 1px dashed var(--gold);
  background: linear-gradient(160deg, #fffaf3, #fbeedd);
}
.card__cta {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
}

.card--future {
  border-left: 4px solid var(--gold);
}

.card--maid {
  position: relative;
  overflow: hidden;
}

.stamp {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.7rem;
  border: 2px dashed var(--burgundy);
  border-radius: 8px;
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transform: rotate(-4deg);
  animation: stampPulse 2.6s ease-in-out infinite;
}

@keyframes stampPulse {
  0%,
  100% {
    transform: rotate(-4deg) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: rotate(-4deg) scale(1.05);
    opacity: 1;
  }
}

/* =========================================================
   Timeline
   ========================================================= */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.4rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--blush),
    var(--gold),
    var(--burgundy)
  );
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  margin-bottom: 1.3rem;
}

.timeline__dot {
  position: absolute;
  left: -1.4rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline__when {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--burgundy);
  margin-bottom: 0.3rem;
}

.timeline__text {
  color: var(--ink-soft);
}

/* =========================================================
   Slider
   ========================================================= */
.slider {
  position: relative;
}

.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.slider__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.slider__slide {
  flex: 0 0 100%;
  padding: 0 0.25rem;
  box-sizing: border-box;
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.1rem;
}

.slider__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--burgundy);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease);
}

.slider__btn:hover {
  background: var(--blush);
  transform: scale(1.06);
}
.slider__btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.slider__dots {
  display: flex;
  gap: 0.5rem;
}

.slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(92, 26, 43, 0.25);
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease);
}

.slider__dot.is-active {
  background: var(--burgundy);
  transform: scale(1.35);
}

/* =========================================================
   Grids
   ========================================================= */
.grid {
  display: grid;
  gap: 1rem;
}
.grid--2 {
  grid-template-columns: 1fr;
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  columns: 2;
  column-gap: 0.7rem;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 0.7rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--cream-soft);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.6rem;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(61, 15, 28, 0.82));
}

/* Placeholder for missing images */
.gallery__placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: repeating-linear-gradient(
    45deg,
    #f7ead9,
    #f7ead9 10px,
    #f3e0c9 10px,
    #f3e0c9 20px
  );
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.gallery__placeholder span {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* =========================================================
   Music
   ========================================================= */
.music-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.music-card__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.music-card__note {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--peach));
}

.music-card__song {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--chocolate);
}
.music-card__artist {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.music-card__embed {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.music-card__embed iframe {
  width: 100%;
  border: 0;
  display: block;
  aspect-ratio: 16 / 9;
}

.music-fallback {
  padding: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cream-soft), var(--peach));
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* =========================================================
   Letter
   ========================================================= */
.section--letter {
  padding-bottom: 2rem;
}

.letter {
  background: linear-gradient(180deg, #fffdf8, #fdf3e4);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.letter::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 75, 0.25);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.letter p {
  font-family: var(--font-hand);
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--chocolate);
  margin-bottom: 1rem;
}

.letter p:last-child {
  margin-bottom: 0;
}

.letter .letter__signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--burgundy);
  margin-top: 1.4rem;
}

/* =========================================================
   Finale
   ========================================================= */
.section--finale {
  max-width: none;
  background: radial-gradient(
    120% 100% at 50% 0%,
    #7a2438 0%,
    var(--burgundy) 50%,
    var(--burgundy-deep) 100%
  );
  color: var(--ink-on-dark);
  text-align: center;
  padding: 4rem var(--gutter) 3.5rem;
  margin-top: 1rem;
}

.finale__inner {
  max-width: 34rem;
  margin: 0 auto;
}

.finale__title {
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 700;
  text-wrap: balance;
}

.finale__sub {
  margin-top: 0.9rem;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--gold-soft);
}

.finale__body {
  margin: 1.2rem auto 1.6rem;
  max-width: 30rem;
  color: rgba(253, 246, 236, 0.9);
}

.finale__sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}

.finale__heart {
  font-size: 2.4rem;
  color: var(--blush);
  animation: beat 1.4s ease-in-out infinite;
  margin-bottom: 1.6rem;
}

@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.18);
  }
  40% {
    transform: scale(0.98);
  }
  60% {
    transform: scale(1.12);
  }
}

.footer {
  text-align: center;
  padding: 1.6rem var(--gutter) calc(1.6rem + env(safe-area-inset-bottom));
  background: var(--burgundy-deep);
  color: rgba(253, 246, 236, 0.7);
  font-size: 0.82rem;
}

/* =========================================================
   Floating hearts
   ========================================================= */
.floaters {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floater {
  position: absolute;
  bottom: -3rem;
  left: var(--x);
  font-size: var(--s);
  color: rgba(92, 26, 43, 0.16);
  animation: floatUp 14s linear infinite;
  animation-delay: var(--d);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-108vh) rotate(40deg);
    opacity: 0;
  }
}

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 8, 15, 0.94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
  padding: calc(1rem + env(safe-area-inset-top)) 0.6rem
    calc(1rem + env(safe-area-inset-bottom));
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-height: 100%;
}

.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__caption {
  color: var(--cream);
  font-family: var(--font-hand);
  font-size: 1.25rem;
  text-align: center;
  max-width: 30rem;
}

.lightbox__close {
  position: absolute;
  top: calc(0.8rem + env(safe-area-inset-top));
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(253, 246, 236, 0.15);
  color: var(--cream);
  font-size: 1.2rem;
}

.lightbox__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(253, 246, 236, 0.15);
  color: var(--cream);
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(253, 246, 236, 0.3);
}

/* =========================================================
   Modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 8, 15, 0.6);
  backdrop-filter: blur(3px);
}

.modal__box {
  position: relative;
  max-width: 26rem;
  text-align: center;
  animation: rise 0.4s var(--ease) both;
}

.modal__text {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--chocolate);
  margin-bottom: 1.2rem;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

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

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 560px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    columns: 3;
  }
  .letter {
    padding: 2.4rem 2.2rem;
  }
}

@media (min-width: 820px) {
  :root {
    --maxw: 780px;
  }
  .section {
    padding: 4.5rem var(--gutter);
  }
  .gallery {
    columns: 3;
  }
}

/* =========================================================
   Friends' messages
   ========================================================= */
.section__lead {
  margin: 0.8rem auto 0;
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.messages {
  display: grid;
  gap: 1rem;
}

.messages__loading {
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  padding: 1.5rem 0;
}

.message {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.message:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.message::before {
  content: "\201C";
  position: absolute;
  top: -0.35rem;
  left: 0.9rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--blush);
  opacity: 0.75;
}

.message__text {
  font-family: var(--font-hand);
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--chocolate);
  margin-bottom: 0.9rem;
}

.message__from {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--burgundy);
}

.message__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blush), var(--peach));
  color: var(--burgundy-deep);
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.message__relation {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

@media (min-width: 560px) {
  .messages {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Photo backgrounds (faded, behind sections)
   ========================================================= */
.section--photo-bg {
  position: relative;
}

.section--photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg-img, none);
  background-size: cover;
  background-position: center;
  opacity: var(--photo-fade);
  filter: saturate(0.9) blur(1px);
  border-radius: 24px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}

.section--photo-bg > * {
  position: relative;
  z-index: 1;
}

/* Opening + finale faded photo backdrops */
.opening__photo,
.finale__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.opening__photo {
  opacity: 0.22;
  filter: saturate(0.85);
  -webkit-mask-image: radial-gradient(
    80% 70% at 50% 40%,
    #000 0%,
    transparent 75%
  );
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 75%);
}

.finale__photo {
  opacity: 0.16;
  filter: saturate(0.8);
  -webkit-mask-image: radial-gradient(
    90% 80% at 50% 30%,
    #000 0%,
    transparent 78%
  );
  mask-image: radial-gradient(90% 80% at 50% 30%, #000 0%, transparent 78%);
}

/* =========================================================
   Photo strips (horizontal scroll galleries)
   ========================================================= */
.strip-section {
  padding: 0.6rem 0 1.4rem;
  overflow: hidden;
}

.strip {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.4rem var(--gutter);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip--reverse {
  flex-direction: row-reverse;
}

.strip__item {
  flex: 0 0 auto;
  width: 62vw;
  max-width: 260px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--cream-soft);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

.strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip__item:nth-child(even) {
  transform: rotate(-1.4deg);
}

.strip__item:nth-child(odd) {
  transform: rotate(1.2deg);
}

.strip__item:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
}

.strip__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.6rem;
  font-size: 0.76rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(61, 15, 28, 0.85));
}

/* =========================================================
   Spotify-style player
   ========================================================= */
.player {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(150deg, #2a1219, #3d0f1c 60%, #241016);
  border: 1px solid rgba(201, 162, 75, 0.28);
  color: var(--ink-on-dark);
}

.player__art {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--burgundy-deep);
}

.player__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player__body {
  flex: 1 1 auto;
  min-width: 0;
}

.player__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.15rem;
}

.player__song {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-on-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__artist {
  font-size: 0.88rem;
  color: rgba(253, 246, 236, 0.7);
}

.player__bar {
  margin: 0.7rem 0 0.6rem;
  height: 4px;
  border-radius: 4px;
  background: rgba(253, 246, 236, 0.18);
  overflow: hidden;
}

.player__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blush));
  transition: width 0.25s linear;
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.player__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--burgundy-deep);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}

.player__btn:hover {
  transform: scale(1.07);
}

.player__btn:active {
  transform: scale(0.96);
}

.player__time {
  font-size: 0.82rem;
  color: rgba(253, 246, 236, 0.75);
  font-variant-numeric: tabular-nums;
}

.player__hint {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: rgba(253, 246, 236, 0.55);
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .floater {
    display: none;
  }
}
