:root {
  --bg-deep: #0a0606;
  --bg-mid: #140c0c;
  --bg-card: rgba(28, 14, 14, 0.72);
  --text: #faf5f0;
  --text-muted: #c9bdb4;
  --gold: #d4af37;
  --gold-light: #f0dfa0;
  --red: #b41c2b;
  --red-deep: #7a1019;
  --red-glow: rgba(180, 28, 43, 0.35);
  --gold-glow: rgba(212, 175, 55, 0.2);
  --border: rgba(212, 175, 55, 0.15);
  --radius: 4px;
  --radius-lg: 8px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --placeholder: url("/images/P1.png");
  --page-pad: clamp(28px, 5.5vw, 80px);
  --section-gap: clamp(64px, 8vw, 112px);
  --cinema-card-width: min(92vw, 1400px);
  --portrait-card-width: clamp(220px, 28vw, 340px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--red-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(180, 28, 43, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, var(--gold-glow), transparent 45%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--page-pad);
  background: linear-gradient(180deg, rgba(10, 6, 6, 0.92) 0%, rgba(10, 6, 6, 0) 100%);
  transition: background 0.3s var(--ease);
}

.site-nav--solo {
  justify-content: center;
}

.site-nav.scrolled {
  background: rgba(10, 6, 6, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.25;
}

.site-nav__brand-main {
  font-size: clamp(0.62rem, 1.8vw, 0.82rem);
  letter-spacing: 0.14em;
}

.site-nav__brand-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav__back {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.site-nav__back:hover {
  color: var(--gold-light);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1.08); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 6, 6, 0.25) 0%, rgba(10, 6, 6, 0.55) 45%, rgba(10, 6, 6, 0.95) 100%),
    linear-gradient(90deg, rgba(122, 16, 25, 0.15) 0%, transparent 50%, rgba(212, 175, 55, 0.08) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px clamp(20px, 4vw, 48px) 64px;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.85;
  color: var(--text-muted);
}

.hero--cinema {
  min-height: auto;
  display: block;
  padding: 72px 0 0;
  overflow: visible;
}

.hero--cinema .hero__bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(220px, 56.25vw, 920px);
  overflow: hidden;
}

.hero--cinema .hero__bg img,
.hero--cinema .hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__audio-btn {
  position: absolute;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(12px, 2vw, 20px);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  background: rgba(10, 6, 6, 0.55);
  color: var(--gold, #d4af37);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.hero__audio-btn:hover {
  background: rgba(10, 6, 6, 0.75);
  border-color: rgba(212, 175, 55, 0.75);
}

.hero__audio-btn:active {
  transform: scale(0.96);
}

.hero__audio-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero__audio-icon--on {
  display: none;
}

.hero__audio-btn.is-unmuted .hero__audio-icon--muted {
  display: none;
}

.hero__audio-btn.is-unmuted .hero__audio-icon--on {
  display: block;
}

.hero--cinema .hero__shade {
  background:
    linear-gradient(180deg, rgba(10, 6, 6, 0.12) 0%, rgba(10, 6, 6, 0.35) 55%, rgba(10, 6, 6, 0.88) 100%),
    linear-gradient(90deg, rgba(122, 16, 25, 0.12) 0%, transparent 55%, rgba(212, 175, 55, 0.06) 100%);
}

.hero--cinema .hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(36px, 6vw, 72px) var(--page-pad);
  text-align: center;
}

.hero--cinema .hero__title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  letter-spacing: 0.12em;
}

.hero--cinema .hero__subtitle {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: 0.2em;
}

.hero__meta {
  margin: 14px auto 0;
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.72);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll::after {
  content: "↓";
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ── Sections ── */
.page {
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0 clamp(48px, 6vw, 96px);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px);
}

.section--tight {
  padding-top: 48px;
}

.section__head {
  margin-bottom: 40px;
}

.section__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.section__desc {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Scroll sections (single-page hub) ── */
.scroll-section {
  margin-bottom: clamp(80px, 10vw, 140px);
}

.scroll-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  margin: 0 auto clamp(24px, 3vw, 36px);
  padding: 0 var(--page-pad);
}

.scroll-section__intro {
  min-width: 0;
}

.scroll-section__chapter {
  margin: 0 0 8px;
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-section__title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.scroll-section__subtitle {
  margin: 8px 0 0;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.65);
}

.scroll-section__hint {
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ── Scroll rail edge zones (minimal page-turn) ── */
.scroll-rail-wrap {
  position: relative;
}

.scroll-rail-edge {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-rail-edge {
    display: block;
    position: absolute;
    top: 8px;
    bottom: 12px;
    width: clamp(80px, 11vw, 160px);
    z-index: 6;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.55s var(--ease),
      background 0.5s var(--ease);
  }

  .scroll-rail-wrap:not(.scroll-rail-wrap--fits) .scroll-rail-edge:not(.scroll-rail-edge--disabled) {
    opacity: 0.62;
    pointer-events: auto;
  }

  .scroll-rail-wrap:not(.scroll-rail-wrap--fits):hover .scroll-rail-edge:not(.scroll-rail-edge--disabled) {
    opacity: 0.82;
  }

  .scroll-rail-edge--prev {
    left: 0;
    background: linear-gradient(
      90deg,
      rgba(10, 6, 6, 0.95) 0%,
      rgba(40, 18, 18, 0.55) 38%,
      rgba(122, 16, 25, 0.18) 62%,
      transparent 100%
    );
  }

  .scroll-rail-edge--next {
    right: 0;
    background: linear-gradient(
      270deg,
      rgba(10, 6, 6, 0.95) 0%,
      rgba(40, 18, 18, 0.55) 38%,
      rgba(122, 16, 25, 0.18) 62%,
      transparent 100%
    );
  }

  .scroll-rail-edge--prev:hover {
    opacity: 1;
    background: linear-gradient(
      90deg,
      rgba(10, 6, 6, 0.98) 0%,
      rgba(122, 16, 25, 0.52) 32%,
      rgba(212, 175, 55, 0.22) 58%,
      transparent 100%
    );
  }

  .scroll-rail-edge--next:hover {
    opacity: 1;
    background: linear-gradient(
      270deg,
      rgba(10, 6, 6, 0.98) 0%,
      rgba(122, 16, 25, 0.52) 32%,
      rgba(212, 175, 55, 0.22) 58%,
      transparent 100%
    );
  }

  .scroll-rail-edge::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid rgba(240, 223, 160, 0.32);
    border-right: 2px solid rgba(240, 223, 160, 0.32);
    opacity: 0.38;
    transition:
      opacity 0.45s var(--ease),
      border-color 0.45s var(--ease),
      transform 0.45s var(--ease);
  }

  .scroll-rail-edge--prev::after {
    left: 22%;
    transform: translateY(-50%) rotate(-135deg);
  }

  .scroll-rail-edge--next::after {
    right: 22%;
    transform: translateY(-50%) rotate(45deg);
  }

  .scroll-rail-edge:hover::after {
    opacity: 0.92;
    border-color: rgba(240, 223, 160, 0.92);
    transform: translateY(-50%) rotate(-135deg) scale(1.08);
  }

  .scroll-rail-edge--next:hover::after {
    transform: translateY(-50%) rotate(45deg) scale(1.08);
  }

  .scroll-rail-edge--disabled {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .scroll-rail-wrap--fits .scroll-rail-edge {
    display: none;
  }
}

.scroll-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--page-pad);
  padding-bottom: 6px;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

.scroll-rail::-webkit-scrollbar {
  height: 3px;
}

.scroll-rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.scroll-rail::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.45);
  border-radius: 2px;
}

.scroll-rail__track {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  padding: 8px var(--page-pad) 12px;
  width: max-content;
}

.scroll-rail .visual-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.scroll-rail .visual-card--portrait,
.scroll-rail .visual-card--tall {
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 3 / 4;
  min-height: auto;
}

.scroll-rail .visual-card--landscape,
.scroll-rail .visual-card--wide {
  width: clamp(300px, 30vw, 400px);
  aspect-ratio: 16 / 10;
  min-height: auto;
}

.scroll-rail .visual-card--ratio43 {
  width: clamp(280px, 28vw, 380px);
  aspect-ratio: 4 / 3;
  min-height: auto;
}

.visual-card--ratio43 .visual-card__media img {
  object-position: center center;
}

.visual-card--compact .visual-card__body {
  padding: clamp(18px, 2vw, 24px);
}

.visual-card--compact .visual-card__title {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  letter-spacing: 0.04em;
}

.visual-card--compact .visual-card__play {
  width: 44px;
  height: 44px;
}

.visual-card--compact .visual-card__play::after {
  border-width: 7px 0 7px 12px;
}

/* ── Cinema scroll rails (16:9 full-width cards) ── */
.scroll-rail--cinema {
  mask-image: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.scroll-rail--cinema .scroll-rail__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
  padding: 12px var(--page-pad) 20px;
  width: max-content;
}

.scroll-rail--cinema .visual-card.visual-card--cinema {
  position: relative;
  display: block;
  flex: 0 0 var(--cinema-card-width);
  width: var(--cinema-card-width);
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  border-radius: 6px;
  overflow: hidden;
}

.scroll-rail--cinema .visual-card.visual-card--cinema:hover {
  transform: translateY(-4px);
}

.visual-card--cinema {
  aspect-ratio: 16 / 9;
}

.visual-card--cinema .visual-card__media,
.visual-card--cinema .visual-card__shade,
.visual-card--compact.visual-card--cinema .visual-card__body {
  position: absolute;
  inset: 0;
}

.visual-card--cinema .visual-card__media {
  z-index: 0;
}

.visual-card--cinema .visual-card__shade {
  z-index: 1;
}

.visual-card--compact.visual-card--cinema .visual-card__body {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  height: auto;
  padding: clamp(24px, 4vw, 44px);
  pointer-events: none;
}

.visual-card--cinema .visual-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.visual-card--compact.visual-card--cinema .visual-card__title {
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
  pointer-events: none;
}

.visual-card--compact.visual-card--cinema .visual-card__shade {
  background: linear-gradient(
    180deg,
    rgba(10, 6, 6, 0.05) 0%,
    rgba(10, 6, 6, 0.3) 50%,
    rgba(10, 6, 6, 0.92) 100%
  );
}

/* Cinema play — hover veil (no persistent button) */
.visual-card__play-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    125deg,
    rgba(10, 6, 6, 0.08) 0%,
    rgba(10, 6, 6, 0.22) 50%,
    rgba(122, 16, 25, 0.12) 100%
  );
  pointer-events: none;
  transition: background 0.55s var(--ease);
}

.visual-card--cinema.visual-card--play:hover .visual-card__play-veil {
  background: linear-gradient(
    125deg,
    rgba(10, 6, 6, 0.18) 0%,
    rgba(10, 6, 6, 0.58) 42%,
    rgba(122, 16, 25, 0.42) 100%
  );
}

.visual-card__play-glyph {
  position: relative;
  width: clamp(48px, 5.5vw, 64px);
  height: clamp(48px, 5.5vw, 64px);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: rgba(10, 6, 6, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.55;
  transform: scale(0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    background 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.visual-card__play-glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: clamp(7px, 0.9vw, 9px) 0 clamp(7px, 0.9vw, 9px) clamp(12px, 1.4vw, 15px);
  border-color: transparent transparent transparent rgba(240, 223, 160, 0.72);
  transition: border-color 0.5s var(--ease);
}

.visual-card--cinema.visual-card--play:hover .visual-card__play-glyph {
  opacity: 1;
  transform: scale(1.06);
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(10, 6, 6, 0.62);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.15);
}

.visual-card--cinema.visual-card--play:hover .visual-card__play-glyph::after {
  border-color: transparent transparent transparent rgba(240, 223, 160, 0.98);
}

@media (hover: hover) and (pointer: fine) {
  .visual-card--cinema.visual-card--play:not(:hover) .visual-card__play-glyph {
    opacity: 0.5;
  }
}

@media (hover: none) {
  .visual-card--cinema.visual-card--play .visual-card__play-veil {
    background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 6, 0.55) 100%);
  }

  .visual-card__play-glyph {
    opacity: 0.62;
    border-color: rgba(212, 175, 55, 0.38);
    background: rgba(10, 6, 6, 0.48);
  }

  .visual-card__play-glyph::after {
    border-color: transparent transparent transparent rgba(240, 223, 160, 0.75);
  }
}



/* ── Portrait 3:4 scroll rail ── */
.scroll-rail--portrait {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--page-pad);
  padding-bottom: 12px;
  mask-image: none;
}

.scroll-rail--portrait.scroll-rail--fits {
  overflow-x: visible;
}

.scroll-rail--portrait .scroll-rail__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(24px, 3.5vw, 40px);
  padding: 12px var(--page-pad) 20px;
  width: max-content;
  margin: 0 auto;
}

.scroll-rail--portrait.scroll-rail--fits .scroll-rail__track {
  width: 100%;
  justify-content: center;
}

.scroll-rail--portrait .visual-card--portrait34 {
  position: relative;
  display: block;
  flex: 0 0 var(--portrait-card-width);
  width: var(--portrait-card-width);
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-align: left;
  background: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.scroll-rail--portrait .visual-card--portrait34:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.scroll-rail--portrait .visual-card--portrait34 .visual-card__media,
.scroll-rail--portrait .visual-card--portrait34 .visual-card__shade,
.scroll-rail--portrait .visual-card--portrait34 .visual-card__body {
  position: absolute;
  inset: 0;
}

.scroll-rail--portrait .visual-card--portrait34 .visual-card__media { z-index: 0; }

.scroll-rail--portrait .visual-card--portrait34 .visual-card__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 6, 6, 0.02) 0%, rgba(10, 6, 6, 0.35) 55%, rgba(10, 6, 6, 0.92) 100%);
}

.scroll-rail--portrait .visual-card--portrait34 .visual-card__body {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2.5vw, 26px);
}

.scroll-rail--portrait .visual-card--portrait34 .visual-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.scroll-rail--portrait .visual-card--portrait34 .visual-card__title {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}


/* ── Portrait 3:4 grid sections ── */
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  padding: 0 var(--page-pad);
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .portrait-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}

.portrait-grid .visual-card--portrait34 {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-align: left;
  background: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.portrait-grid .visual-card--portrait34:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.portrait-grid .visual-card--portrait34 .visual-card__media,
.portrait-grid .visual-card--portrait34 .visual-card__shade,
.portrait-grid .visual-card--portrait34 .visual-card__body {
  position: absolute;
  inset: 0;
}

.portrait-grid .visual-card--portrait34 .visual-card__media {
  z-index: 0;
}

.portrait-grid .visual-card--portrait34 .visual-card__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 6, 6, 0.02) 0%, rgba(10, 6, 6, 0.35) 55%, rgba(10, 6, 6, 0.92) 100%);
}

.portrait-grid .visual-card--portrait34 .visual-card__body {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2.5vw, 22px);
}

.portrait-grid .visual-card--portrait34 .visual-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.portrait-grid .visual-card--portrait34 .visual-card__title {
  margin: 0;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.visual-card--download {
  cursor: default;
}

.visual-card__download-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 6, 6, 0.42);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
  pointer-events: none;
}

.visual-card--download:hover .visual-card__download-overlay,
.visual-card--download:focus-within .visual-card__download-overlay {
  opacity: 1;
  pointer-events: auto;
}

.visual-card__download-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(180, 28, 43, 0.92);
  color: var(--gold-light);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s;
}

.visual-card__download-btn:hover {
  background: rgba(200, 32, 48, 0.96);
  transform: scale(1.04);
}

@media (hover: none) {
  .visual-card__download-overlay {
    opacity: 1;
    pointer-events: auto;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 6, 0.72) 100%);
    align-items: flex-end;
    padding-bottom: 18px;
  }
}

.scroll-rail--cinema .visual-card--play {
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  color: inherit;
}

/* ── Video modal ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 3, 3, 0.94);
}

.video-modal.open {
  display: flex;
}

.video-modal__panel {
  width: min(96vw, 1100px);
}

.video-modal__panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
}

.video-modal__title {
  margin: 14px 0 0;
  text-align: center;
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.video-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(28, 14, 14, 0.85);
  color: var(--gold-light);
  font-size: 1.4rem;
  cursor: pointer;
}

.wedding-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(28, 14, 14, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 500;
}

.wedding-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ── Visual cards (hub) ── */
.hub-grid {
  display: grid;
  gap: 20px;
}

.hub-grid--2 {
  grid-template-columns: 1fr;
}

.hub-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .hub-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hub-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hub-grid--featured {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
  }

  .hub-grid--featured .visual-card:first-child {
    grid-row: span 2;
  }
}

.visual-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 220px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px var(--red-glow);
}

.visual-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.visual-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.visual-card--landscape .visual-card__media img {
  object-position: center 30%;
}

.visual-card--portrait .visual-card__media img {
  object-position: center top;
}

.visual-card:hover .visual-card__media img {
  transform: scale(1.06);
}

.visual-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 6, 6, 0.05) 0%,
    rgba(10, 6, 6, 0.45) 50%,
    rgba(10, 6, 6, 0.92) 100%
  );
  transition: background 0.4s;
}

.visual-card:hover .visual-card__shade {
  background: linear-gradient(
    180deg,
    rgba(122, 16, 25, 0.1) 0%,
    rgba(10, 6, 6, 0.5) 45%,
    rgba(10, 6, 6, 0.95) 100%
  );
}

.visual-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 24px;
  height: 100%;
}

.visual-card--landscape {
  aspect-ratio: 16 / 9;
}

.visual-card--portrait {
  aspect-ratio: 3 / 4;
}

.visual-card--tall {
  aspect-ratio: 4 / 5;
}

.visual-card--wide {
  aspect-ratio: 21 / 9;
  min-height: 280px;
}

.visual-card--ratio43 {
  aspect-ratio: 4 / 3;
}

.visual-card--hero-block {
  aspect-ratio: auto;
  min-height: 360px;
}

@media (min-width: 900px) {
  .visual-card--hero-block {
    min-height: 480px;
  }
}

.visual-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(180, 28, 43, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.visual-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.visual-card__desc {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36ch;
}

.visual-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  transition: gap 0.25s var(--ease);
}

.visual-card:hover .visual-card__cta {
  gap: 12px;
}

.visual-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 6, 6, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: transform 0.35s var(--ease), background 0.35s;
}

.visual-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--gold-light);
}

.visual-card:hover .visual-card__play {
  transform: translate(-50%, -55%) scale(1.08);
  background: rgba(180, 28, 43, 0.65);
}

/* ── Page header (sub pages) ── */
.page-hero {
  position: relative;
  padding: 100px clamp(20px, 4vw, 48px) 48px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 6, 0.7) 0%, var(--bg-deep) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.page-hero__desc {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
  min-height: 140px;
  background: var(--bg-mid);
  aspect-ratio: 3 / 4;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.gallery-item--landscape {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}


.gallery-grid--masonry {
  grid-auto-flow: dense;
}

.gallery-item--portrait {
  aspect-ratio: 3 / 4;
}

.gallery-item--landscape {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.gallery-item--loading {
  background: linear-gradient(110deg, #1a1010 8%, #261616 18%, #1a1010 33%);
  background-size: 200% 100%;
  animation: gallery-shimmer 1.2s ease infinite;
}

@keyframes gallery-shimmer {
  to { background-position-x: -200%; }
}

.gallery-item--loading img {
  opacity: 0;
}

.gallery-item img {
  transition: opacity 0.25s ease;
}

.lightbox__loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lightbox__loader.show {
  display: flex;
}

.lightbox__loader-spin {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

#lightboxImg {
  transition: opacity 0.2s ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Video list ── */
.video-showcase {
  display: grid;
  gap: 28px;
}

.video-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 140px;
  background: var(--bg-card);
}

.video-feature__poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-mid);
}

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

.video-feature video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-feature__info {
  padding: 18px 22px 22px;
}

.video-feature__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Materials ── */
.doc-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.doc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 140px;
  background: var(--bg-card);
  transition: transform 0.35s var(--ease);
}

.doc-card:hover {
  transform: translateY(-3px);
}

.doc-card__preview {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.doc-card__body {
  padding: 18px 20px;
}

.doc-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.doc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.doc-card__link:hover {
  color: var(--gold-light);
}

/* ── Empty / placeholder preview ── */
.preview-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 700px) {
  .preview-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 160px);
  }

  .preview-mosaic__item:first-child {
    grid-row: span 2;
  }
}

.preview-mosaic__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 140px;
}

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

.empty-state {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  background: rgba(28, 14, 14, 0.4);
}

.empty-state p {
  margin: 0 0 8px;
  line-height: 1.75;
}

.empty-state code {
  font-size: 0.82rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.section-note {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-light);
  text-align: center;
}

.section-note p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.video-feature__poster--error {
  display: grid;
  place-items: center;
  gap: 10px;
}

.video-feature__error {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 3, 3, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(28, 14, 14, 0.8);
  color: var(--gold-light);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: var(--red);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(28, 14, 14, 0.8);
  color: var(--gold-light);
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ── Footer ── */
/* ── Thanks easter egg page ── */
.thanks-page .section--tight {
  max-width: 1200px;
  margin: 0 auto;
}

.thanks-article {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.thanks-lead {
  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem);
}

.thanks-lead p,
.thanks-section p,
.thanks-closing p {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text);
  font-size: clamp(1.0625rem, 3.6vw, 1.1875rem);
  line-height: 2;
  letter-spacing: 0.02em;
  text-align: left;
}

.thanks-section {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.thanks-section + .thanks-section {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border);
}

.thanks-section p:last-child,
.thanks-closing p:last-child {
  margin-bottom: 0;
}

.thanks-closing {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .thanks-page .site-nav {
    left: 50%;
    right: auto;
    width: min(1200px, 100%);
    transform: translateX(-50%);
    padding-left: clamp(32px, 5vw, 64px);
    padding-right: clamp(32px, 5vw, 64px);
  }

  .thanks-page .page-hero {
    padding-left: clamp(32px, 5vw, 64px);
    padding-right: clamp(32px, 5vw, 64px);
  }

  .thanks-page .page-hero__inner,
  .thanks-page .thanks-article {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }

  .thanks-page .section--tight {
    padding-left: clamp(32px, 5vw, 64px);
    padding-right: clamp(32px, 5vw, 64px);
  }

  .thanks-lead p,
  .thanks-section p,
  .thanks-closing p {
    font-size: 1.0625rem;
    line-height: 1.95;
  }
}

@media (min-width: 1200px) {
  .thanks-page .page-hero__inner,
  .thanks-page .thanks-article {
    max-width: 56rem;
  }
}

.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(56px, 7vw, 96px) var(--page-pad) clamp(64px, 8vw, 104px);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border);
}

.site-footer span {
  color: var(--gold);
}

.site-footer__share {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 22px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(28, 14, 14, 0.88), rgba(10, 6, 6, 0.95));
  color: var(--gold-light);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.25s var(--ease),
    background 0.35s var(--ease);
}

.site-footer__share:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: linear-gradient(155deg, rgba(50, 24, 24, 0.92), rgba(12, 7, 7, 0.98));
  box-shadow: 0 8px 28px rgba(180, 28, 43, 0.18);
  transform: translateY(-1px);
}

.site-footer__share-icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.site-footer__aside {
  margin: 20px 0 0;
}

.site-footer__archive {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(201, 189, 180, 0.42);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-footer__archive:hover {
  color: rgba(212, 175, 55, 0.55);
  border-bottom-color: rgba(212, 175, 55, 0.25);
}

/* ── Share sheet (Moments poster) ── */
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 3, 3, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.share-sheet.open {
  display: flex;
}

.share-sheet__panel {
  position: relative;
  width: min(92vw, 400px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px 18px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(32, 16, 16, 0.98), rgba(10, 6, 6, 0.99));
  text-align: center;
}

.share-sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(28, 14, 14, 0.85);
  color: var(--gold-light);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.share-sheet__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.share-sheet__hint {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

.share-sheet__poster-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  -webkit-touch-callout: default;
}

.share-sheet__poster {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  user-select: none;
  -webkit-user-select: none;
}

.share-sheet__note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.share-sheet__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.share-sheet__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(28, 14, 14, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.share-sheet__btn:hover {
  border-color: rgba(212, 175, 55, 0.55);
}

.share-sheet__btn--primary {
  background: rgba(180, 28, 43, 0.92);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--gold-light);
}

.share-sheet__btn--primary:hover {
  background: rgba(200, 32, 48, 0.96);
}

.share-sheet--wechat .share-sheet__actions {
  grid-template-columns: 1fr;
}

.share-sheet--wechat #shareSaveLink {
  display: none;
}

@media (max-width: 380px) {
  .share-sheet__actions {
    grid-template-columns: 1fr;
  }
}

/* ── Animations on scroll ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
