:root {
  --ink: #1a2e2b;
  --ink-soft: #3d5550;
  --foam: #f3f7f5;
  --mist: #e4efe9;
  --leaf: #2f6b5d;
  --emerald: #1c4f45;
  --mint: #9fc9b8;
  --gold: #c4a574;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 79, 69, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(159, 201, 184, 0.35), transparent 60%),
    radial-gradient(900px 600px at 100% 20%, rgba(196, 165, 116, 0.18), transparent 55%),
    linear-gradient(180deg, var(--foam) 0%, var(--mist) 48%, #dce8e2 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.orb--one {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  top: 18%;
  right: -8%;
  background: rgba(159, 201, 184, 0.55);
}

.orb--two {
  width: 36vw;
  height: 36vw;
  max-width: 420px;
  max-height: 420px;
  bottom: 8%;
  left: -10%;
  background: rgba(196, 165, 116, 0.28);
  animation-duration: 18s;
  animation-delay: -4s;
}

@keyframes orbFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, -6%, 0) scale(1.08);
  }
}

/* ——— Enter gate (fallback autoplay) ——— */
.enter {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(12, 32, 28, 0.72), rgba(28, 79, 69, 0.78)),
    url("../assets/images/photo-641.jpg") center 28% / cover;
  color: var(--white);
  animation: enterFadeIn 0.35s var(--ease) both;
}

.enter[hidden] {
  display: none;
}

.enter.is-leaving {
  animation: enterFadeOut 0.55s var(--ease) both;
  pointer-events: none;
}

@keyframes enterFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes enterFadeOut {
  to {
    opacity: 0;
  }
}

.enter__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.5rem 2rem;
  color: inherit;
  text-align: center;
}

.enter__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.enter__date {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}

.enter__cta {
  margin-top: 1rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s;
}

.enter__btn:hover .enter__cta {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ——— Scroll reveals ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal.is-in:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal.is-in:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal.is-in:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal.is-in:nth-child(5) {
  transition-delay: 0.32s;
}

/* ——— Top bar ——— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.2rem, 4vw, 2.5rem);
  color: var(--white);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}

.topbar.is-scrolled {
  background: rgba(243, 247, 245, 0.9);
  color: var(--ink);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(28, 79, 69, 0.08);
}

.topbar__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.35s var(--ease);
}

.topbar__brand:hover {
  letter-spacing: 0.06em;
}

.topbar__nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.topbar__nav a {
  position: relative;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.topbar__nav a:hover {
  opacity: 1;
}

.topbar__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (min-width: 720px) {
  .topbar__nav {
    display: flex;
  }
}

.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: inherit;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.topbar.is-scrolled .music-btn {
  border-color: rgba(28, 79, 69, 0.25);
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.topbar.is-scrolled .music-btn:hover {
  background: rgba(28, 79, 69, 0.06);
}

.music-btn.is-playing {
  border-color: var(--mint);
}

.music-btn .icon-pause {
  display: none;
}

.music-btn.is-playing .icon-play {
  display: none;
}

.music-btn.is-playing .icon-pause {
  display: block;
}

.music-btn__waves {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.music-btn.is-playing .music-btn__waves {
  display: inline-flex;
}

.music-btn.is-playing .music-btn__icon {
  display: none;
}

.music-btn__waves i {
  display: block;
  width: 2px;
  height: 6px;
  background: currentColor;
  border-radius: 1px;
  animation: wave 0.9s ease-in-out infinite;
}

.music-btn__waves i:nth-child(2) {
  animation-delay: 0.15s;
  height: 12px;
}

.music-btn__waves i:nth-child(3) {
  animation-delay: 0.3s;
  height: 8px;
}

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

.music-btn__label {
  display: none;
}

@media (min-width: 520px) {
  .music-btn__label {
    display: inline;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 32, 28, 0.28) 0%, rgba(12, 32, 28, 0.15) 35%, rgba(12, 32, 28, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 32, 28, 0.45) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.4rem, 5vw, 4rem) clamp(3.5rem, 9vh, 5.5rem);
  max-width: 44rem;
}

.hero__content .reveal {
  transition-delay: 0s;
}

.hero__content .reveal:nth-child(1).is-in {
  transition-delay: 0.15s;
}

.hero__content .reveal:nth-child(2).is-in {
  transition-delay: 0.35s;
}

.hero__content .reveal:nth-child(3).is-in {
  transition-delay: 0.55s;
}

.hero__content .reveal:nth-child(4).is-in {
  transition-delay: 0.75s;
}

.hero__content .reveal:nth-child(5).is-in {
  transition-delay: 0.95s;
}

.hero__date {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.hero__date-line {
  display: block;
  width: 2.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 30rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  animation: scrollCue 2.2s ease-in-out infinite;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn--primary {
  background: var(--white);
  color: var(--emerald);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--mist);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ——— Day ——— */
.day {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 11vh, 7.5rem) clamp(1.4rem, 5vw, 4rem);
  text-align: center;
}

.day__inner {
  max-width: 44rem;
  margin: 0 auto;
}

.day__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--emerald);
}

.day__text {
  margin: 0 auto 2.4rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.day__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.day__stat {
  padding: 0.4rem 0.2rem;
}

.day__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.day__stat-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 500;
}

/* ——— Carousel ——— */
.carousel-section {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(3rem, 8vh, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-section__header {
  text-align: center;
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
  padding: 0 1rem;
}

.carousel-section__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  color: var(--emerald);
}

.carousel-section__lead {
  margin: 0;
  color: var(--ink-soft);
}

.carousel {
  position: relative;
  isolation: isolate;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--emerald);
}

.carousel__track {
  display: flex;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(28, 79, 69, 0.12);
  background: rgba(243, 247, 245, 0.92);
  color: var(--emerald);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(12, 32, 28, 0.12);
  transform: translateY(-50%);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, color 0.25s;
}

.carousel__btn svg {
  display: block;
}

.carousel__btn:hover {
  background: var(--white);
  border-color: rgba(28, 79, 69, 0.22);
  color: var(--leaf);
  box-shadow: 0 10px 28px rgba(12, 32, 28, 0.16);
  transform: translateY(-50%) translateX(0) scale(1.04);
}

.carousel__btn:active {
  transform: translateY(-50%) scale(0.97);
}

.carousel__btn--prev {
  left: 0.85rem;
}

.carousel__btn--next {
  right: 0.85rem;
}

.carousel__btn--prev:hover {
  transform: translateY(-50%) translateX(-2px) scale(1.04);
}

.carousel__btn--next:hover {
  transform: translateY(-50%) translateX(2px) scale(1.04);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(28, 79, 69, 0.22);
  transition: transform 0.25s, background 0.25s, width 0.25s;
}

.carousel__dot.is-active {
  background: var(--emerald);
  width: 22px;
  border-radius: 999px;
}

.carousel__caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  min-height: 1.6em;
}

@media (max-width: 640px) {
  .carousel__btn {
    width: 2.35rem;
    height: 2.35rem;
  }

  .carousel__btn svg {
    width: 17px;
    height: 17px;
  }

  .carousel__viewport {
    aspect-ratio: 4 / 5;
  }
}

/* ——— Moment ——— */
.moment {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 8vh, 6rem) clamp(1.4rem, 5vw, 4rem);
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 880px) {
  .moment {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }
}

.moment__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--emerald);
}

.moment__text {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.moment__quote {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--mint);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--emerald);
  line-height: 1.45;
}

.moment__figure {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.moment__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.2s var(--ease);
}

.moment__figure:hover img {
  transform: scale(1.03);
}

/* ——— Vow strip ——— */
.vow {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 9vh, 5.5rem) clamp(1.4rem, 5vw, 4rem);
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(28, 79, 69, 0.06), transparent);
}

.vow__text {
  margin: 0 auto;
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--emerald);
}

/* ——— Gallery ——— */
.gallery {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(4rem, 10vh, 7rem);
  max-width: 1280px;
  margin: 0 auto;
}

.gallery__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.gallery__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  color: var(--emerald);
}

.gallery__lead {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.btn--studio {
  background: var(--emerald);
  color: var(--white);
  border: 1px solid transparent;
}

.btn--studio:hover {
  transform: translateY(-2px);
  background: var(--leaf);
  box-shadow: 0 10px 28px rgba(28, 79, 69, 0.22);
}

.gallery__grid {
  columns: 1;
  column-gap: 0.85rem;
}

@media (min-width: 560px) {
  .gallery__grid {
    columns: 2;
  }
}

@media (min-width: 920px) {
  .gallery__grid {
    columns: 3;
  }
}

.gallery__item {
  break-inside: avoid;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

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

/* ——— Studio mode ——— */
.studio {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: #0b1614;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.studio.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.studio__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 1.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.studio__counter {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

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

.studio__tool {
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  color: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.studio__tool:hover {
  background: rgba(255, 255, 255, 0.08);
}

.studio__tool[aria-pressed="true"] {
  border-color: var(--mint);
  color: var(--mint);
}

.studio__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0.75rem 3.2rem;
}

.studio__frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.studio__loader {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.studio__loader:not([hidden]) {
  opacity: 1;
}

.studio__spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(159, 201, 184, 0.2);
  border-top-color: var(--mint);
  border-right-color: rgba(196, 165, 116, 0.65);
  animation: studioSpin 0.85s linear infinite;
}

.studio__loader-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes studioSpin {
  to {
    transform: rotate(360deg);
  }
}

.studio.is-loading .studio__image {
  opacity: 0.35;
}

.studio__image {
  max-width: 100%;
  max-height: calc(100svh - 11.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 1;
  transition: opacity 0.35s ease;
}

.studio__image.is-fading {
  opacity: 0;
}

.studio__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, color 0.25s;
}

.studio__nav svg {
  display: block;
}

.studio__nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(159, 201, 184, 0.55);
  color: var(--mint);
}

.studio__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.studio__nav--prev {
  left: 0.9rem;
}

.studio__nav--next {
  right: 0.9rem;
}

.studio__nav--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.studio__nav--next:hover {
  transform: translateY(-50%) translateX(2px);
}

.studio__progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.studio__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transition: width 0.1s linear;
}

.studio.is-playing .studio__progress-bar {
  transition: none;
}

.studio__film {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem clamp(0.8rem, 2vw, 1.4rem) 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.studio__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  background: rgba(255, 255, 255, 0.06);
}

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

.studio__thumb:hover {
  opacity: 0.85;
}

.studio__thumb.is-active {
  opacity: 1;
  border-color: var(--mint);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .studio__brand {
    display: none;
  }

  .studio__stage {
    padding: 0.5rem 0.4rem 0.5rem;
  }

  .studio__nav {
    display: none;
  }

  .studio__image {
    max-height: calc(100svh - 10.5rem);
  }

  .studio__thumb {
    width: 56px;
    height: 42px;
  }
}

/* ——— Footer ——— */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(28, 79, 69, 0.12);
  background: rgba(255, 255, 255, 0.35);
}

.footer__brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--emerald);
}

.footer__date {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
}

.footer__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

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

  .reveal,
  .gallery__item,
  .orb,
  .hero__scroll,
  .hero__scroll span,
  .music-btn__waves i,
  .carousel__track,
  .enter,
  .enter.is-leaving,
  .studio,
  .studio__image,
  .studio__spinner {
    animation: none !important;
    transition: none !important;
  }

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