/* ==========================================================================
   VINOKMA — Symbiosis: Living 3D Wine Labels + 5-Act Scroll Cinema
   ========================================================================== */

:root {
  --bg: #F5F0E8;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-solid: #FAF6EE;
  --ink: #141312;
  --muted: rgba(20, 19, 18, 0.64);
  --soft: rgba(20, 19, 18, 0.48);
  --accent: #5B0E1D;
  --accent-ink: #F5F0E8;
  --line: rgba(20, 19, 18, 0.13);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scene lighting transitions across the 5 Acts (smooth, non-jarring) */
body[data-scene="act1"] { --bg: #F5F0E8; --surface: rgba(255,252,247,.84); --surface-solid: #FAF6EE; --ink: #141312; --muted: rgba(20,19,18,.64); --soft: rgba(20,19,18,.48); --accent: #5B0E1D; --accent-ink: #F5F0E8; --line: rgba(20,19,18,.13); }
body[data-scene="act3"] { --bg: #171413; --surface: rgba(31,27,26,.88); --surface-solid: #211D1C; --ink: #F5EFE6; --muted: rgba(245,239,230,.74); --soft: rgba(245,239,230,.52); --accent: #D4B17F; --accent-ink: #141211; --line: rgba(245,239,230,.16); }
body[data-scene="act4"] { --bg: #EAE1D3; --surface: rgba(250,245,236,.84); --surface-solid: #F3ECE0; --ink: #161413; --muted: rgba(22,20,19,.66); --soft: rgba(22,20,19,.48); --accent: #5B0E1D; --accent-ink: #F5F0E8; --line: rgba(22,20,19,.14); }
body[data-scene="act5"] { --bg: #F5F0E8; --surface: rgba(255,252,247,.86); --surface-solid: #EFE7DA; --ink: #141312; --muted: rgba(20,19,18,.64); --soft: rgba(20,19,18,.48); --accent: #5B0E1D; --accent-ink: #F5F0E8; --line: rgba(20,19,18,.13); }

/* Living Wine Moods inside Act II (refined, gentle transitions) */
body[data-scene="act2"][data-wine="champagne"] { --bg: #F3EBD9; --surface: rgba(255,251,244,.88); --surface-solid: #FCF7EC; --ink: #18140F; --muted: rgba(24,20,15,.65); --soft: rgba(24,20,15,.48); --accent: #875F24; --accent-ink: #FFFDF8; --line: rgba(24,20,15,.14); }
body[data-scene="act2"][data-wine="riesling"]  { --bg: #EFEAD9; --surface: rgba(255,253,247,.88); --surface-solid: #FAF7EB; --ink: #171611; --muted: rgba(23,22,17,.65); --soft: rgba(23,22,17,.48); --accent: #6E581A; --accent-ink: #FFFDF8; --line: rgba(23,22,17,.14); }
body[data-scene="act2"][data-wine="burgundy"]  { --bg: #36141D; --surface: rgba(62,23,34,.90); --surface-solid: #421924; --ink: #F7F0E6; --muted: rgba(247,240,230,.76); --soft: rgba(247,240,230,.54); --accent: #DFBE90; --accent-ink: #240D13; --line: rgba(247,240,230,.18); }
body[data-scene="act2"][data-wine="sparkling"] { --bg: #ECEAE4; --surface: rgba(255,255,255,.88); --surface-solid: #F8F7F4; --ink: #151514; --muted: rgba(21,21,20,.64); --soft: rgba(21,21,20,.48); --accent: #5B0E1D; --accent-ink: #F5F0E8; --line: rgba(21,21,20,.14); }
body[data-scene="act2"][data-wine="oysters"]   { --bg: #242E32; --surface: rgba(42,53,58,.90); --surface-solid: #2E3A3F; --ink: #F2F5F5; --muted: rgba(242,245,245,.74); --soft: rgba(242,245,245,.52); --accent: #D1BEA0; --accent-ink: #182023; --line: rgba(242,245,245,.16); }
body[data-scene="act2"][data-wine="corporate"] { --bg: #221F1E; --surface: rgba(40,36,34,.90); --surface-solid: #2D2927; --ink: #F5EFE6; --muted: rgba(245,239,230,.74); --soft: rgba(245,239,230,.52); --accent: #D6B484; --accent-ink: #171514; --line: rgba(245,239,230,.16); }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 1.05s var(--ease), color 0.75s var(--ease);
  overflow-x: clip;
  max-width: 100%;
  padding-bottom: 86px;
}

main, .act {
  overflow-x: clip;
  max-width: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
section[id] { scroll-margin-top: 72px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Custom Desktop Wine-Ring Cursor ---------- */
.wine-cursor {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.28s var(--ease), height 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.wine-cursor.is-active {
  width: 84px; height: 84px;
  background: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .wine-cursor { display: flex; }
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.6s var(--ease), border-color 0.5s var(--ease);
}
.masthead__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.masthead__brand { display: flex; align-items: baseline; gap: 10px; }
.masthead__logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.masthead__meta {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  white-space: nowrap;
}
.masthead__nav { display: none; gap: 26px; font-size: 13px; color: var(--muted); }
.masthead__nav a:hover { color: var(--ink); }
.masthead__cta {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.masthead__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Desktop Roman Numeral Rail ---------- */
.act-rail {
  display: none;
  position: fixed;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.act-rail a {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  opacity: 0.34;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.act-rail a.is-now {
  opacity: 1;
  color: var(--accent);
  font-style: italic;
  transform: scale(1.35);
}

/* ---------- Shared Typography & Buttons ---------- */
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker .dot { opacity: 0.5; }

.sec-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 10vw, 66px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.sec-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.sec-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 440px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--outline { border: 1px solid var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { color: var(--muted); border: 1px solid transparent; }
.btn--ghost:hover { color: var(--ink); border-color: var(--line); }
.btn--full { width: 100%; }

/* ---------- ACT I: STICKY PORTAL SCENE ---------- */
.act--cover {
  position: relative;
  height: 145svh;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.portal-sticky {
  position: sticky;
  top: 56px;
  height: calc(100svh - 56px);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.portal-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--bg);
  pointer-events: none;
  transform: scale(0.86) translate3d(0, 4%, 0);
  transform-origin: center center;
  transition: transform 1.1s var(--ease);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.act--cover.is-expanded .portal-media {
  transform: scale(1) translate3d(0, 0, 0);
}
.portal-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  mix-blend-mode: multiply;
  filter: contrast(1.04);
  transform: translateZ(0);
}
.portal-media__fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 88% 82% at 50% 50%, transparent 62%, var(--bg) 100%);
  pointer-events: none;
  transition: opacity 0.95s ease;
  will-change: opacity;
  transform: translateZ(0);
}
.act--cover.is-expanded .portal-media__fade { opacity: 0; }
.portal-media__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 13, 0.16) 0%, rgba(16, 12, 13, 0.42) 48%, rgba(16, 12, 13, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.95s ease;
  will-change: opacity;
  transform: translateZ(0);
}
.act--cover.is-expanded .portal-media__scrim { opacity: 1; }

.portal-cover {
  position: relative;
  z-index: 3;
  height: 100%;
  padding-top: 14px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
}
.portal-cover a, .portal-cover button { pointer-events: auto; }
.portal-cover__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: opacity 0.4s ease;
}
.portal-cover__top .kicker { margin-bottom: 0; }
.portal-cover__center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: clamp(14px, 2.8vh, 26px);
}
.portal-word {
  font-family: var(--serif);
  font-size: clamp(48px, 15.2vw, 128px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: #5B0E1D;
  text-align: center;
  user-select: none;
  transition: opacity 0.65s ease, transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.act--cover.is-expanded .portal-word {
  opacity: 0;
  transform: scale(1.06);
}
.portal-cover__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  transition: opacity 0.4s ease;
}
.act--cover.is-expanded .portal-cover__top,
.act--cover.is-expanded .portal-cover__bottom { opacity: 0; pointer-events: none; }
.portal-scroll-cue {
  font-weight: 600;
  color: var(--accent);
}

.portal-reveal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding-bottom: 96px;
  color: #F5F0E8;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity 0.75s ease 0.25s, transform 0.85s var(--ease) 0.25s;
  will-change: opacity, transform;
}
.act--cover.is-expanded .portal-reveal {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.portal-reveal__kicker { color: #E2B86B; margin-bottom: 10px; }
.hero__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 8.8vw, 66px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #F5F0E8;
}
.hero__title em { font-style: italic; font-weight: 400; color: #E2B86B; }
.hero__lead { margin: 0 0 20px; color: rgba(245, 240, 232, 0.82); max-width: 480px; font-size: 15px; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; }
.portal-reveal__outline { border-color: rgba(245, 240, 232, 0.36); color: #F5F0E8; }
.portal-reveal__outline:hover { border-color: #F5F0E8; }
.meta-label {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--soft); margin-bottom: 4px;
}
.meta-val { font-size: 13px; }
.meta-link {
  padding: 0; font-size: 13px; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ---------- ACT II: LIVING 3D FLIP WINE LABELS ---------- */
.act--labels { padding: 64px 0 76px; }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.sec-head__side { display: flex; flex-direction: column; gap: 12px; }

.mood-pill {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.mood-pill__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); transition: background 0.4s ease;
}

.mood-bar {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px;
  scrollbar-width: none;
}
.mood-bar::-webkit-scrollbar { display: none; }
.mood-btn {
  flex: 0 0 auto;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  transition: all 0.25s var(--ease);
}
.mood-btn.is-active, .mood-btn:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ---------- December Calendar Strip ---------- */
.cal { margin-bottom: 18px; }
.cal__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--soft);
}
.cal__legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.cal__legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.cal__strip {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 2px 0 6px;
}
.cal__strip::-webkit-scrollbar { display: none; }
.cal__day {
  flex: 0 0 40px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 0 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px; line-height: 1.1;
  color: var(--soft);
  cursor: default;
}
.cal__day small { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.cal__day.is-weekend { color: var(--muted); }
.cal__day.is-today { border-color: var(--line); color: var(--ink); }
.cal__day.has-event {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  background: var(--surface);
  border-color: var(--line);
  position: relative;
}
.cal__day.has-event::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-top: 2px;
}
.cal__day.has-event:hover { border-color: var(--accent); }
.cal__day.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cal__day.is-active::after { background: var(--accent-ink); }

.flip-card.is-spotlight .flip-face { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* Mobile Deck Controls */
.deck-controls {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.deck-counter { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--soft); }
.deck-arrows { display: flex; gap: 8px; }
.arrow-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* 3D Flip Card Deck */
.label-deck {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 0 24px;
  scrollbar-width: none;
}
.label-deck::-webkit-scrollbar { display: none; }

.flip-card {
  flex: 0 0 88%;
  scroll-snap-align: center;
  perspective: 1200px;
  min-height: 452px;
}

.flip-card__inner {
  position: relative;
  width: 100%; height: 100%;
  min-height: 452px;
  transform-style: preserve-3d;
  transition: transform 0.72s var(--ease);
}
.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.flip-face--back {
  transform: rotateY(180deg);
  background: var(--surface-solid);
}

.label-border {
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.label-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--soft); padding-bottom: 10px; border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.label-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 14px;
}
.label-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.flip-card:hover .label-img img { transform: scale(1.05); }

.label-title-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-bottom: 6px;
}
.label-title {
  margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1;
}
.label-price { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.label-quote {
  margin: 0 0 12px; font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--muted); line-height: 1.25; flex: 1;
}

.label-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.flip-trigger {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.flip-trigger:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.book-trigger {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* Back Face (Counter-label of the bottle!) */
.back-notes {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.back-specs {
  list-style: none; margin: 0 0 16px; padding: 0;
  border-top: 1px solid var(--line); font-size: 12.5px;
}
.back-specs li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.back-specs span { color: var(--soft); }

/* ---------- ACT III: CINEMATIC DARK SPREAD ---------- */
.act--cinema { padding: 76px 0; }
.cinema-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.cinema-frame { aspect-ratio: 4 / 4.8; overflow: hidden; border: 1px solid var(--line); }
.cinema-frame img { width: 100%; height: 100%; object-fit: cover; }
.cinema-cap {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft);
}
.cinema-lead { margin: 18px 0 26px; color: var(--muted); max-width: 520px; }
.metrics { margin: 0 0 26px; border-top: 1px solid var(--line); }
.metrics__row {
  display: grid; grid-template-columns: 116px 1fr; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.metrics__row dt { font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent); }
.metrics__row dd { margin: 0; font-size: 14px; }
.cinema-sub { margin: 0 0 20px; font-size: 13.5px; color: var(--muted); max-width: 460px; }

/* ---------- ACT IV: B2B FORMATS + STICKY BRIEF ---------- */
.act--formats { padding: 76px 0; }
.formats-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.format-list { border-top: 1px solid var(--line); }
.format-item {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  padding: 20px 12px; border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.format-item.is-active {
  background: var(--surface);
  border-bottom-color: var(--accent);
}
.format-item__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.format-item__body strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.1; margin-bottom: 6px; }
.format-item__body small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }

.brief-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.brief-photo { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.brief-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.brief-photo__tag {
  position: absolute; bottom: 10px; left: 12px;
  background: rgba(15,13,13,0.82); color: #F5F0E8;
  padding: 4px 10px; font-size: 11px; letter-spacing: 0.06em;
}
.brief-body { padding: 20px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.pill {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.pill.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.brief-draft {
  padding: 13px 14px; margin-bottom: 16px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  font-size: 13px; line-height: 1.5;
}
.brief-btns { display: flex; flex-direction: column; gap: 8px; }

/* ---------- ACT V: FINALE & COMMUNITY ---------- */
.act--finale { padding: 76px 0 64px; }
.finale-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; align-items: center; }
.finale-quote {
  margin: 0 0 20px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 8.5vw, 50px); line-height: 1.1;
}
.finale-text { margin: 0 0 24px; color: var(--muted); max-width: 520px; }
.creds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.creds li {
  display: grid; grid-template-columns: 116px 1fr; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.creds span { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); padding-top: 3px; }
.creds strong { font-weight: 500; }

.finale-photos { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; align-items: end; }
.finale-card { margin: 0; }
.finale-card img { width: 100%; border: 1px solid var(--line); }
.finale-card--tall img { mix-blend-mode: multiply; }
.finale-card figcaption { margin-top: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }

.community-band {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  padding: 32px 22px;
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
.community-btns { display: flex; flex-direction: column; gap: 10px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px; font-size: 12px; color: var(--soft);
}
.footer--monument {
  background: #5B0E1D;
  color: rgba(245, 240, 232, 0.78);
  border-top: none;
  padding: 36px 0 0;
  overflow: hidden;
}
.footer--monument strong { color: #F5F0E8; }
.footer__inner { display: flex; flex-direction: column; gap: 8px; }
.footer__word {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(64px, 21.5vw, 290px);
  font-weight: 500;
  line-height: 0.76;
  letter-spacing: -0.04em;
  text-align: center;
  color: #F5F0E8;
  opacity: 0.94;
  transform: translateY(10%);
  user-select: none;
}

/* ---------- Mobile Floating Dock ---------- */
.mobile-dock {
  position: fixed;
  bottom: 12px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  display: flex; gap: 2px; padding: 5px;
  background: rgba(17, 16, 16, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F5F0E8;
  font-size: 11.5px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-dock.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mobile-dock a { padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.mobile-dock a.is-accent { background: #5B0E1D; font-weight: 600; }

/* ---------- Booking Sheet / Drawer ---------- */
.sheet-bg {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 11, 11, 0.62);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.sheet-bg[hidden] { display: none; }
.sheet-bg.is-open { opacity: 1; }
.sheet {
  position: relative; width: 100%; max-height: 92vh;
  background: #F5F0E8; color: #141312;
  border-radius: 20px 20px 0 0; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform 0.35s var(--ease);
}
.sheet-bg.is-open .sheet { transform: translateY(0); }
.sheet__handle { width: 40px; height: 4px; border-radius: 4px; background: rgba(20,19,18,.2); margin: 10px auto 4px; }
.sheet__close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(245,240,232,.92); border: 1px solid rgba(20,19,18,.15);
  display: flex; align-items: center; justify-content: center;
}
.sheet__scroll { overflow-y: auto; }
.sheet__media { position: relative; aspect-ratio: 16 / 8.8; background: #111; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__badge {
  position: absolute; bottom: 10px; left: 14px;
  background: rgba(17,16,16,.84); color: #F5F0E8;
  padding: 4px 10px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.sheet__body { padding: 18px 20px 26px; }
.sheet__meta { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #5B0E1D; margin-bottom: 6px; }
.sheet__title { margin: 0 0 6px; font-family: var(--serif); font-size: 36px; line-height: 1; }
.sheet__quote { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 19px; color: #5C564E; }
.sheet__desc { margin: 0 0 16px; font-size: 14px; color: #5C564E; }
.sheet__info {
  display: grid; grid-template-columns: 1fr auto; gap: 14px;
  padding: 12px 0; border-top: 1px solid rgba(20,19,18,.13); border-bottom: 1px solid rgba(20,19,18,.13);
  margin-bottom: 16px; font-size: 13.5px;
}
.sheet .btn--primary { background: #5B0E1D; color: #F5F0E8; border-color: #5B0E1D; }
.sheet .btn--outline { border-color: rgba(20,19,18,.28); color: #141312; }
.sheet .pill { border-color: rgba(20,19,18,.2); color: #5C564E; }
.sheet .pill.is-active { background: #141312; color: #F5F0E8; border-color: #141312; }

.toast {
  position: fixed; bottom: 72px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #141312; color: #F5F0E8;
  padding: 10px 18px; border-radius: 999px; font-size: 13px;
  opacity: 0; pointer-events: none; z-index: 300;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   DESKTOP SYMBIOSIS (>= 900px)
   ========================================================================== */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-dock { display: none; }
  .act-rail { display: flex; }
  .container { padding: 0 56px 0 36px; }
  .masthead__inner { padding: 15px 36px; }
  .masthead__nav { display: flex; }

  .act--cover { height: 155vh; padding: 0; }
  .portal-sticky { top: 64px; height: calc(100vh - 64px); }
  .portal-media {
    transform: scale(0.68) translateY(8%) translateZ(0);
  }
  .act--cover.is-expanded .portal-media {
    transform: scale(1) translateY(0) translateZ(0);
  }
  .portal-media__fade {
    background: radial-gradient(ellipse 64% 84% at 50% 50%, transparent 46%, var(--bg) 96%);
  }
  .portal-media__img { object-position: center 14%; }
  .portal-cover { padding-top: 22px; padding-bottom: 28px; z-index: auto; }
  .portal-cover__top { flex-direction: row; justify-content: space-between; align-items: center; position: relative; z-index: 3; }
  .portal-cover__center { align-items: flex-start; margin: 12px 0 0; position: relative; z-index: 3; }
  .portal-cover__bottom { position: relative; z-index: 3; }
  .portal-reveal { padding-bottom: 48px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }

  .act--labels { padding: 92px 0 104px; }
  .sec-head { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
  .deck-controls { display: none; }
  .cal__strip { display: grid; grid-template-columns: repeat(31, 1fr); overflow: visible; }
  .cal__day { flex: none; }

  .label-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    margin: 0; padding: 14px 0;
  }
  .flip-card { flex: none; min-height: 468px; }
  .flip-card__inner { min-height: 468px; }
  .flip-card:nth-child(odd) { transform: rotate(-0.7deg); transition: transform 0.4s var(--ease); }
  .flip-card:nth-child(even) { transform: rotate(0.7deg); transition: transform 0.4s var(--ease); }
  .flip-card:hover { transform: translateY(-10px) rotate(0deg); z-index: 10; }

  .act--cinema { padding: 112px 0; }
  .cinema-grid { grid-template-columns: 0.92fr 1.08fr; gap: 72px; }
  .cinema-stage { position: sticky; top: 96px; }

  .act--formats { padding: 104px 0; }
  .formats-grid { grid-template-columns: 1.12fr 0.88fr; gap: 56px; }
  .brief-stage { position: sticky; top: 92px; }

  .act--finale { padding: 104px 0 88px; }
  .finale-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
  .community-band { grid-template-columns: 1.2fr 0.8fr; padding: 48px 52px; gap: 48px; }
  .footer__inner { flex-direction: row; justify-content: space-between; }

  .sheet-bg { align-items: stretch; justify-content: flex-end; }
  .sheet {
    width: 470px; max-height: 100vh; border-radius: 0;
    transform: translateX(100%);
  }
  .sheet-bg.is-open .sheet { transform: translateX(0); }
  .sheet__handle { display: none; }
  .toast { bottom: 24px; }
}
