:root {
  --wine: #3a0a1b;      /* velvet curtain, the base */
  --wine-2: #4b1026;    /* raised wine surfaces */
  --rose: #ff4f7b;      /* stage light, primary action only */
  --gold: #e8bb5f;      /* prices, money */
  --paper: #fbf2e4;     /* the dedication slip, nowhere else */
  --ink: #2a0712;       /* text on paper */
  --light: #fff4ee;     /* text on wine */
  --muted: #d9b9c1;

  --display: "Unbounded", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--wine);
  color: var(--light);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4.2vw, 48px); max-width: 18ch; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.demo {
  background: var(--gold); color: var(--ink);
  font-size: 13px; font-weight: 600; text-align: center; padding: 7px 16px;
}

/* header */
.top {
  position: absolute; z-index: 5; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
}
.mark { font: 900 26px/1 var(--display); text-decoration: none; letter-spacing: -0.02em; }
.top nav { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 15px; }
.top nav a { text-decoration: none; opacity: .9; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top-cta { background: var(--light); color: var(--ink); padding: 9px 16px; border-radius: 999px; opacity: 1 !important; font-weight: 600; }
.top-cta:hover { text-decoration: none !important; background: #fff; }
@media (max-width: 640px) { .top nav a:not(.top-cta) { display: none; } }

/* hero: photo is the stage, the slip is the interaction */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  grid-template-rows: 1fr auto;
  min-height: min(100svh, 980px);
  padding: 0 var(--pad) 56px;
  column-gap: 48px;
  isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(58,10,27,.55) 0%, rgba(58,10,27,0) 22%),
    linear-gradient(0deg, rgba(58,10,27,1) 0%, rgba(58,10,27,.7) 30%, rgba(58,10,27,0) 62%);
}
.hero-copy { grid-column: 1; grid-row: 2; align-self: end; max-width: 640px; padding-top: 120px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 900; letter-spacing: -0.03em; line-height: .98; }
.hero-copy p { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); max-width: 44ch; color: var(--light); }

/* the slip */
.slip {
  grid-column: 2; grid-row: 1 / span 2; align-self: end;
  position: relative;
  background: var(--paper); color: var(--ink);
  padding: 30px 28px 24px;
  border-radius: 3px;
  transform: rotate(-1.6deg);
  box-shadow: 0 30px 60px -20px rgba(20,0,8,.6), 0 2px 0 rgba(0,0,0,.05);
  margin-top: 140px;
}
.slip-tear {
  position: absolute; left: 0; right: 0; top: -9px; height: 10px;
  background:
    linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
    linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}
.slip-kind { font: 700 14px/1 var(--display); color: #8a2a46; margin-bottom: 16px; }
.line { display: grid; grid-template-columns: 76px 1fr; align-items: end; gap: 8px; margin-bottom: 10px; }
.line > span { font-size: 14px; color: #6b3646; padding-bottom: 8px; }
.line input, .line textarea {
  width: 100%; border: 0; background: transparent; color: var(--ink);
  font: 700 30px/1.15 var(--hand);
  border-bottom: 1.5px dashed rgba(42,7,18,.35);
  padding: 2px 2px 4px; resize: none;
}
.line textarea { font-size: 25px; line-height: 1.2; }
.line input::placeholder, .line textarea::placeholder { color: rgba(42,7,18,.28); }
.line input:focus, .line textarea:focus { outline: none; border-bottom-color: var(--rose); border-bottom-style: solid; }
.line.msg { grid-template-columns: 1fr; gap: 2px; margin-top: 4px; }
.line.msg > span { padding-bottom: 0; }

.occ { border: 0; padding: 0; margin: 14px 0 8px; }
.occ legend { font-size: 14px; color: #6b3646; padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: 500 14px/1 var(--body); color: var(--ink);
  background: transparent; border: 1.5px solid rgba(42,7,18,.22);
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: rgba(42,7,18,.5); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pay {
  display: block; width: 100%; margin-top: 18px;
  font: 700 17px/1 var(--body);
  background: var(--rose); color: #fff; border: 0;
  padding: 18px 20px; border-radius: 12px; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(255,79,123,.8);
  transition: transform .12s ease, background .12s ease;
}
.pay:hover { background: #ff3a6c; }
.pay:active { transform: translateY(1px); }
.slip-note { font-size: 13px; color: #6b3646; margin-top: 12px; line-height: 1.45; }

/* menu: a wedding-menu list, not cards */
section { padding: clamp(72px, 10vw, 128px) var(--pad); }
.menu { max-width: 980px; margin: 0 auto; }
.menu-list { list-style: none; margin: 40px 0 0; padding: 0; }
.menu-row {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; row-gap: 6px; align-items: baseline;
  background: none; border: 0; color: inherit; font: inherit;
  padding: 22px 16px; margin: 0 -16px; border-radius: 14px;
}
.menu-row:hover { background: var(--wine-2); }
.menu-row.on { background: var(--wine-2); box-shadow: inset 4px 0 0 var(--rose); }
.mr-name { font: 700 clamp(20px, 2.6vw, 28px)/1.15 var(--display); }
.mr-dots { border-bottom: 2px dotted rgba(255,244,238,.3); transform: translateY(-6px); }
.mr-price { font: 700 clamp(20px, 2.6vw, 28px)/1 var(--display); color: var(--gold); white-space: nowrap; }
.mr-desc { grid-column: 1 / -1; color: var(--muted); max-width: 60ch; font-size: 16px; }

/* how */
.how {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; background: var(--paper); color: var(--ink);
}
.how-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; gap: 26px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; font-size: 18px; max-width: 46ch; }
.steps li::before {
  content: counter(s); font: 700 44px/0.9 var(--hand); color: #b02a52;
}
.steps strong { display: block; font-weight: 700; }

/* reel of placeholder clips */
.reel h2 { margin-bottom: 36px; }
.reel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 300px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
.clip { margin: 0; position: relative; scroll-snap-align: start; border-radius: 18px; overflow: hidden; aspect-ratio: 9/16; background: var(--wine-2); }
.clip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.8); }
.clip .play {
  position: absolute; left: 50%; top: 46%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: rgba(255,244,238,.92);
}
.clip .play::after {
  content: ""; position: absolute; left: 26px; top: 20px;
  border-left: 18px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.clip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px;
  background: linear-gradient(0deg, rgba(42,7,18,.9), rgba(42,7,18,0));
  font-size: 13px; color: var(--muted);
}
.clip figcaption b { display: block; font: 700 26px/1.05 var(--hand); color: var(--light); margin-bottom: 4px; }

/* event */
.event {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.event-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.event-copy p { margin-top: 20px; max-width: 44ch; }
.event-copy .aside { font: 700 26px/1.2 var(--hand); color: var(--gold); }

.phone {
  width: 100%; max-width: 300px; justify-self: center;
  background: #120308; border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.08);
  transform: rotate(2deg);
}
.phone-screen {
  background: var(--light); color: var(--ink); border-radius: 34px;
  padding: 44px 18px 22px; font-size: 14px; position: relative;
}
.phone-screen::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 90px; height: 24px; margin-left: -45px;
  background: #120308; border-radius: 999px;
}
.ph-venue { font: 700 17px/1.2 var(--display); }
.ph-sub { color: #b02a52; font-weight: 600; font-size: 13px; margin-top: 4px; }
.ph-sub::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); margin-right: 6px; vertical-align: 1px; }
.ph-label { color: #6b3646; font-size: 12px; margin: 16px 0 6px; }
.ph-songs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ph-songs li { padding: 10px 12px; border-radius: 10px; background: #f2e3dc; font-weight: 500; }
.ph-songs li.on { background: var(--ink); color: var(--paper); }
.ph-note { font: 700 21px/1.15 var(--hand); background: var(--paper); padding: 10px 12px; border-radius: 6px; border: 1px dashed rgba(42,7,18,.25); }
.ph-amounts { display: flex; gap: 6px; margin-top: 12px; }
.ph-amounts span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; border: 1.5px solid rgba(42,7,18,.18); font-weight: 600; }
.ph-amounts .on { border-color: var(--ink); background: var(--ink); color: var(--gold); }
.ph-btn { display: block; text-align: center; margin-top: 14px; background: var(--rose); color: #fff; font-weight: 700; padding: 14px; border-radius: 12px; }

/* diaspora */
.away {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  background: var(--wine-2);
}
.away-copy p { margin-top: 20px; max-width: 46ch; }
.away-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.ghost {
  display: inline-block; margin-top: 28px; padding: 15px 22px; border-radius: 12px;
  border: 1.5px solid var(--light); color: var(--light); text-decoration: none; font-weight: 600;
  background: transparent; font: 600 16px/1 var(--body); cursor: pointer;
}
.ghost:hover { background: var(--light); color: var(--ink); }

/* dates */
.dates { max-width: 980px; margin: 0 auto; }
.date-list { list-style: none; padding: 0; margin: 36px 0 0; }
.date-list li {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid rgba(255,244,238,.14);
}
.date-list li:last-child { border-bottom: 1px solid rgba(255,244,238,.14); }
.d-date { font: 700 30px/1 var(--hand); color: var(--gold); }
.d-name { font: 600 19px/1.3 var(--body); }
.d-left { color: var(--muted); font-size: 15px; white-space: nowrap; }
.d-left.soon { color: var(--rose); font-weight: 600; }
.dates-note { margin-top: 20px; color: var(--muted); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; padding-top: 24px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid rgba(255,244,238,.14); }
.faq details:last-child { border-bottom: 1px solid rgba(255,244,238,.14); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/0.8 var(--body); color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* footer */
.foot { padding: 72px var(--pad) 56px; text-align: center; background: #2c0714; }
.foot-mark { font: 900 clamp(48px, 10vw, 120px)/1 var(--display); letter-spacing: -0.03em; margin-bottom: 18px; }
.small { font-size: 14px; color: var(--muted); }

/* order sheet */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(20,2,8,.6); display: grid; place-items: end center; }
.sheet[hidden] { display: none; }
.sheet-card {
  width: min(520px, 100%); background: var(--light); color: var(--ink);
  border-radius: 24px 24px 0 0; padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  position: relative; animation: up .28s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 700px) { .sheet { place-items: center; } .sheet-card { border-radius: 24px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet-card { animation: none; } }
.sheet h3 { font-size: 22px; margin-bottom: 18px; padding-right: 40px; }
.x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f0e0da; font-size: 24px; cursor: pointer; color: var(--ink); }
.mini-slip { background: var(--paper); border: 1px dashed rgba(42,7,18,.25); border-radius: 6px; padding: 14px 16px; font: 700 24px/1.2 var(--hand); }
.mini-slip small { display: block; font: 500 13px/1.4 var(--body); color: #6b3646; margin-top: 6px; }
.field { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; color: #6b3646; }
.field input { font: 500 18px/1 var(--body); padding: 14px; border-radius: 12px; border: 1.5px solid rgba(42,7,18,.2); background: #fff; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--rose); }
#sheetDone p { margin: 8px 0 4px; }
#sheetDone .ghost { border-color: var(--ink); color: var(--ink); }

/* responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; padding-bottom: 40px; }
  .hero-photo { position: relative; inset: auto; grid-row: 1; grid-column: 1; height: 62svh; min-height: 420px; margin: 0 calc(var(--pad) * -1); z-index: 0; }
  .hero-photo img { object-position: 46% 50%; }
  .hero-copy { grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 1; padding: 0 0 26px; }
  .slip { grid-row: 2; grid-column: 1; margin-top: 8px; transform: rotate(-1deg); }
  .event { grid-template-columns: 1fr 1fr; }
  .phone { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .how, .away, .event { grid-template-columns: 1fr; }
  .away-photo { order: -1; }
  .slip { padding: 26px 18px 20px; }
  .line { grid-template-columns: 62px 1fr; }
  .date-list li { grid-template-columns: 92px 1fr; }
  .d-left { grid-column: 2; }
  .menu-row { padding: 18px 12px; margin: 0 -12px; }
}
.event h2 { font-size: clamp(26px, 3vw, 40px); }
.steps li { display: block; position: relative; padding-left: 54px; }
.steps li::before { position: absolute; left: 0; top: -2px; }

/* production v1 (2026-11-23): real photos, intro video, checkout */
.hero-photo img { object-position: 38% 0%; }
@media (max-width: 980px) { .hero-photo img { object-position: 38% 30%; } }

.hello {
  display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; max-width: 1080px; margin: 0 auto;
}
.hello-video { margin: 0; border-radius: 22px; overflow: hidden; background: var(--wine-2); aspect-ratio: 9/16; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hello-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.hello-copy blockquote { margin: 26px 0 0; padding: 0; }
.hello-copy blockquote p { font: 700 clamp(26px, 2.6vw, 34px)/1.2 var(--hand); color: var(--light); max-width: 30ch; }
.hello-how { margin-top: 18px; color: var(--gold); font-weight: 600; }
@media (max-width: 720px) { .hello { grid-template-columns: 1fr; } .hello-video { max-width: 320px; width: 100%; justify-self: center; } }

.gallery { padding-left: 0; padding-right: 0; padding-top: 0; }
.gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 24vw, 300px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; scrollbar-width: thin;
}
.gallery-track img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; scroll-snap-align: start; }
.gallery-track img:nth-child(even) { margin-top: 36px; }

.d-name small { display: block; color: var(--muted); font-weight: 400; font-size: 15px; }

.foot .seller { font-size: 14px; color: var(--muted); max-width: 60ch; margin: 0 auto 18px; line-height: 1.6; }
.foot .seller:empty { display: none; }
.foot .seller a { color: var(--light); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 8px 0 22px; font-size: 15px; }
.legal a { color: var(--light); text-underline-offset: 4px; }
.sal { display: inline-block; margin-bottom: 22px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.sal img { width: 201px; height: auto; }
.foot .made { margin-top: 10px; opacity: .8; }

.field textarea { font: 500 17px/1.4 var(--body); padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(42,7,18,.2); background: #fff; color: var(--ink); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--rose); }
.field .opt { color: #9a7681; font-size: 13px; }
.field[hidden] { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 18px; font-size: 13.5px; line-height: 1.45; color: #4b2330; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rose); }
.consent a { color: #a1204a; }
.form-err { color: #c0153f; font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 0; }
.form-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pay:disabled { opacity: .7; cursor: progress; }
.line input.need { border-bottom-color: var(--rose); border-bottom-style: solid; }
.ev-empty { padding: 14px 0; color: #6b3646; font-size: 15px; border-top: 1px solid rgba(42,7,18,.12); }
.ghost.dark { border-color: var(--ink); color: var(--ink); }
.ghost.dark:hover { background: var(--ink); color: var(--paper); }
#bizDone p { margin: 8px 0 4px; }
.sheet-card { max-height: 92svh; overflow-y: auto; }

/* floating "Narcisa has a message" bubble + full-screen player (2026-11-23) */
.bubble { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; animation: bubble-in .55s cubic-bezier(.2,1.4,.4,1) both; }
.bubble[hidden] { display: none; }
.bubble.away { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .2s, transform .2s; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(24px) scale(.6); } }
.bubble-open { display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; background: var(--light); color: var(--ink); font: 600 15px/1.2 var(--body); text-align: left; box-shadow: 0 18px 40px -12px rgba(20,0,8,.75), 0 0 0 1px rgba(42,7,18,.08); }
.bubble-open:hover .bubble-face { transform: scale(1.05); }
.bubble-face { position: relative; flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--wine-2) url(media/narcisa-bubble.webp) center / cover; box-shadow: 0 0 0 3px var(--rose); transition: transform .2s; }
.bubble-face::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rose); animation: bubble-ring 2.2s ease-out infinite; }
@keyframes bubble-ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.bubble-face video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bubble-play { position: absolute; right: 2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--rose); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.bubble-play::after { content: ""; position: absolute; left: 9px; top: 7px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.bubble-label span { display: block; font: 700 22px/1 var(--hand); color: #a1204a; }
.bubble-x { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: var(--light); font: 600 16px/1 var(--body); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
@media (max-width: 560px) {
  .bubble-open { padding: 5px 14px 5px 5px; gap: 10px; font-size: 14px; }
  .bubble-face { width: 62px; height: 62px; }
  .bubble-label span { font-size: 20px; }
}

.player { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; align-content: center; gap: 18px; padding: 20px; background: rgba(20,2,8,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: player-in .25s ease both; }
.player[hidden] { display: none; }
@keyframes player-in { from { opacity: 0; } }
.player-box { position: relative; height: min(78svh, 720px); aspect-ratio: 9/16; max-width: calc(100vw - 40px); border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); animation: up .3s cubic-bezier(.2,.8,.2,1) both; }
.player-box video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.player-x { z-index: 2; background: rgba(255,244,238,.92); }
.player-cta { width: min(360px, calc(100vw - 40px)); text-align: center; text-decoration: none; margin: 0; }
.bubble-label { max-width: 220px; overflow: hidden; white-space: nowrap; transition: max-width .35s ease, opacity .25s ease; }
.bubble.compact .bubble-label { max-width: 0; opacity: 0; }
.bubble.compact .bubble-open { padding: 5px; gap: 0; }
@media (prefers-reduced-motion: reduce) { .bubble, .player, .player-box { animation: none; } .bubble-face::after { animation: none; display: none; } }

/* our own video controls (vplayer.js) */
.vp { position: relative; overflow: hidden; outline: none; }
.vp video { cursor: pointer; }
.vp.idle, .vp.idle video { cursor: none; }
.vp-big { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: rgba(255,244,238,.95); box-shadow: 0 14px 44px rgba(20,0,8,.55); transition: transform .18s ease, opacity .2s ease; z-index: 2; }
.vp-big svg { width: 42px; height: 42px; margin-left: 5px; }
.vp-big:hover { transform: translate(-50%, -50%) scale(1.07); }
.vp-big::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,244,238,.7); animation: vp-ring 2.2s ease-out infinite; }
.vp:not(.fresh) .vp-big::after { display: none; }
@keyframes vp-ring { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
.vp:not(.paused) .vp-big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 14px 10px; color: #fff; background: linear-gradient(0deg, rgba(20,2,8,.82) 0%, rgba(20,2,8,.45) 55%, rgba(20,2,8,0) 100%); transition: opacity .3s ease; }
.vp.fresh .vp-bar, .vp.idle .vp-bar { opacity: 0; pointer-events: none; }
.vp-track { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px; outline: none; }
.vp-track::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,244,238,.3); }
.vp-fill { position: absolute; left: 0; width: 0; height: 4px; border-radius: 4px; background: var(--rose); }
.vp-knob { position: absolute; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transform: translateX(-50%) scale(0); transition: transform .15s ease; }
.vp-track:hover .vp-knob, .vp-track:focus-visible .vp-knob, .vp.dragging .vp-knob { transform: translateX(-50%) scale(1); }
.vp-track:focus-visible::before { box-shadow: 0 0 0 3px var(--gold); }
.vp-row { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.vp-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; color: #fff; cursor: pointer; transition: background .15s; }
.vp-btn:hover { background: rgba(255,244,238,.16); }
.vp-btn svg { width: 24px; height: 24px; }
.vp-time { font: 600 13px/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: .01em; opacity: .92; margin-left: 2px; }
.vp-gap { flex: 1; }
.vp:fullscreen { border-radius: 0; background: #000; display: grid; place-items: center; }
.vp:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
.hello-video.vp { cursor: default; }
@media (prefers-reduced-motion: reduce) { .vp-big::after { animation: none; } }
