/* Svatba360 · web (desktop and tablet) · designed for wide screens, independent from the phone site.
   Palette: the three chosen colours (plum, lilac, peach) plus their tints and shades only. */
:root {
  --plum: #4A275E;
  --lilac: #E3D9EF;
  --peach: #FFAA76;
  --night: #1F0E2A;            /* deep shade of plum */
  --ink: #2A1238;              /* text, plum shade */
  --paper: #FAF7FC;            /* lilac tint */
  --peach-tint: #FFEBDD;       /* peach tint */
  --plum-hover: #5B3373;
  --muted: #6B5578;
  --line: rgba(74, 39, 94, .14);
  --line-light: rgba(227, 217, 239, .18);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --display-weight: 500;
  --f-body: "Onest", system-ui, -apple-system, sans-serif;

  --gut: clamp(24px, 5vw, 72px);
  --max: 1360px;
  --sec: clamp(96px, 10vw, 168px);
  --gap: clamp(20px, 2vw, 32px);
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 8px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 200; top: 12px; left: 12px; background: var(--peach); padding: 10px 16px; border-radius: 10px; }

/* ---------- type ---------- */
.display, .h2, .h3, .statement-text, .mission, .logo { font-family: var(--f-display); font-weight: 500; }
.display { font-size: clamp(52px, 7.4vw, 132px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.h2 { font-size: clamp(32px, 3.3vw, 54px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 32px; max-width: 17ch; text-wrap: balance; }
.h2.wide { max-width: 22ch; }
.h2 em { font-style: normal; color: var(--plum); background: linear-gradient(transparent 62%, rgba(255,170,118,.55) 62%); }
.h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; margin: 0 0 14px; }
.h3.big { font-size: clamp(22px, 1.9vw, 30px); }
.lead { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.55; }
.muted, .caption { color: var(--muted); }
.caption { font-size: 15px; margin: 18px 0 0; }
.label { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 28px; color: var(--plum); }
.label .n { font-family: var(--f-display); font-weight: 400; letter-spacing: 0; font-size: 13px; display: inline-grid; place-items: center; min-width: 40px; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid currentColor; }
.label.small { font-size: 12px; margin: 28px 0 10px; }
.peach-t { color: var(--peach); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; position: relative; }
.dark { background: var(--night); color: var(--lilac); }
.plum { background: var(--plum); color: var(--lilac); }
.lilac { background: var(--lilac); }
.paper { background: var(--paper); }
.peach { background: var(--peach-tint); }
.peach-strong { background: var(--peach); }
.dark .h2, .dark .h3, .plum .h2, .plum .h3 { color: var(--paper); }
.dark .label, .plum .label { color: var(--peach); }
.dark .caption, .plum .caption, .dark .muted, .plum .muted { color: rgba(227,217,239,.7); }

.head-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: end; margin-bottom: clamp(48px, 5vw, 88px); }
.head-row .h2 { margin-bottom: 0; }
.head-aside { margin: 0 0 6px; font-size: clamp(18px, 1.35vw, 20px); }

.split-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.split-row.reverse .split-text { order: 2; }
.split-text > p:not(.label):not(.lead) { color: inherit; opacity: .88; }
.split-media video, .split-media img { width: 100%; border-radius: var(--r-lg); background: var(--night); }
.split-media video { aspect-ratio: 16 / 9; object-fit: cover; }
figure { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translate(3px, -3px); }
.btn-peach { background: var(--peach); color: var(--ink); }
.btn-peach:hover { background: #ffbb91; }
.btn-plum { background: var(--plum); color: var(--paper); }
.btn-plum:hover { background: var(--plum-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--peach); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--plum); border-bottom: 2px solid var(--peach); padding-bottom: 2px; align-self: flex-start; }
.link-arrow .arr { display: inline-block; transition: transform .3s var(--ease); }

/* ---------- navigation ---------- */
.nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; color: var(--paper); transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .35s; }
.nav-in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); height: 84px; display: flex; align-items: center; gap: 28px; }
.nav.solid { background: rgba(250,247,252,.88); color: var(--ink); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.logo b { font-weight: 500; color: var(--peach); }
.nav.solid .logo b { color: var(--plum); }
.logo-ring { width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-top-color: var(--peach); transform: rotate(var(--spin, 0deg)); }
.nav-deg { font-family: var(--f-display); font-size: 12px; min-width: 4ch; opacity: .7; font-variant-numeric: tabular-nums; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 99px; transition: background .25s; }
.nav-links a:hover { background: rgba(255,255,255,.14); }
.nav.solid .nav-links a:hover { background: var(--lilac); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1200px; color: var(--paper); background: var(--night) url("/assets/hero-desktop.jpg") center / cover no-repeat; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 - var(--p, 0) * .06)); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,14,42,.62) 0%, rgba(31,14,42,.2) 46%, rgba(31,14,42,0) 70%), linear-gradient(180deg, rgba(31,14,42,.5) 0%, rgba(31,14,42,0) 24%, rgba(31,14,42,0) 50%, rgba(31,14,42,.9) 100%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; padding-bottom: clamp(48px, 6vw, 96px); opacity: calc(1 - var(--p, 0) * 1.4); transform: translateY(calc(var(--p, 0) * -40px)); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: clamp(28px, 3vw, 48px); padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid rgba(250,247,252,.28); }
.hero-lead { margin: 0; max-width: 40ch; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: rgba(250,247,252,.92); }
.split .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.split .ln > span { display: inline-block; }
.js .split .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .split .ln:nth-child(2) > span { transition-delay: .12s; }
.js .split.in .ln > span { transform: none; }
.js .hero-foot { opacity: 0; transform: translateY(16px); transition: opacity .9s ease .5s, transform .9s var(--ease) .5s; }
.js .hero.in .hero-foot { opacity: 1; transform: none; }

/* ---------- statement + 360° photo ---------- */
.statement { padding-bottom: clamp(64px, 6vw, 96px); }
.statement-text { font-size: clamp(30px, 3.9vw, 64px); line-height: 1.1; letter-spacing: -.03em; color: var(--paper); max-width: 19ch; margin: 0 0 clamp(56px, 6vw, 96px); }
.pano { position: relative; margin: 0 var(--gut); }
.pano-view, .pano-cover { width: 100%; height: min(76vh, 820px); min-height: 420px; border-radius: var(--r-lg); overflow: hidden; }
.pano-view { background: var(--night) url('/assets/desk/pano-kiss-poster.jpg') center / cover no-repeat; }
.pano-cover { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 32px; border: 0; cursor: pointer; background: linear-gradient(to top, rgba(31,14,42,.5), transparent 38%); transition: background .3s; }
.pano-cover:hover { background: linear-gradient(to top, rgba(31,14,42,.65), transparent 50%); }
.pill { display: inline-flex; gap: 10px; align-items: center; padding: 14px 22px; border-radius: 99px; background: rgba(31,14,42,.78); color: var(--peach); font-weight: 600; font-size: 16px; backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.pano-cover:hover .pill { background: var(--peach); color: var(--ink); }
.pano.live .pano-cover { display: none; }
.pano .pnlm-load-box, .pano .pnlm-about-msg { display: none !important; }
.statement .caption { margin-top: 20px; }


/* ---------- 02 figure ---------- */
.flip { position: relative; aspect-ratio: 1400 / 788; perspective: 1600px; }
.flip .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); backface-visibility: hidden; transition: transform .9s cubic-bezier(.16,1.08,.38,.98); }
.flip .groom { transform: rotateY(180deg); }
.flip.turned .bride { transform: rotateY(-180deg); }
.flip.turned .groom { transform: none; }
.figure-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.figure-bar .caption { margin: 0; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(31,14,42,.4); }
.seg button { border: 0; background: transparent; color: var(--lilac); padding: 10px 18px; border-radius: 99px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s; }
.seg button:hover { background: rgba(227,217,239,.12); }
.seg button[aria-selected="true"] { background: var(--peach); color: var(--ink); }
.pov-row { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: clamp(20px, 3vw, 48px); margin-top: clamp(72px, 7vw, 120px); }
.pov-row video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-md); background: var(--night); }
.pov-row video:nth-child(2) { transform: translateY(48px); }
.js .pov-row video:nth-child(2).rv:not(.in) { transform: translateY(76px); }

/* ---------- 03 watching ---------- */
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.device { background: var(--paper); border-radius: var(--r-lg); padding: 28px 28px 20px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.device:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(31,14,42,.45); }
.device > p { font-size: 17px; }
.stage { height: 300px; display: grid; place-items: center; margin-bottom: 26px; border-radius: var(--r-md); background: linear-gradient(160deg, #EFE7F7, #E3D9EF); }
.phone { position: relative; height: 262px; aspect-ratio: 540 / 1158; padding: 6px; background: #111; border-radius: 30px; box-shadow: 0 0 0 2px #2c2c2c inset, 0 18px 36px -12px rgba(31,14,42,.45); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #000; z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: var(--night); }
.laptop { width: 86%; }
.laptop .lid { position: relative; padding: 7px 7px 9px; background: #16121a; border-radius: 12px 12px 4px 4px; box-shadow: 0 0 0 1.5px #3a3340 inset, 0 18px 30px -14px rgba(31,14,42,.5); }
.laptop .lid::before { content: ""; position: absolute; top: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2c2a30; }
.laptop video { width: 100%; aspect-ratio: 960 / 602; object-fit: cover; border-radius: 3px; background: var(--night); }
.laptop .base { height: 9px; margin: 0 -7%; background: linear-gradient(#cfc8d6, #9d95a6); border-radius: 0 0 10px 10px / 0 0 8px 8px; position: relative; }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 18%; height: 4px; margin-left: -9%; background: #8a8293; border-radius: 0 0 6px 6px; }
.tvset { position: relative; width: 80%; padding-right: 20px; }
.tv { padding: 5px; background: #111; border-radius: 6px; box-shadow: 0 0 0 1px #2b2b2b inset, 0 18px 30px -14px rgba(31,14,42,.55); }
.tv video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: var(--night); }
.tv-foot { width: 34%; height: 10px; margin: 0 auto; background: linear-gradient(#2a2a2a, #111); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.remote { position: absolute; right: -14px; bottom: -34px; width: 46px; height: 136px; padding: 9px 0 0; border-radius: 22px 22px 18px 18px; background: linear-gradient(160deg, #3b3640, #18151c 70%); box-shadow: 0 0 0 1px #4a4450 inset, 0 12px 22px -8px rgba(31,14,42,.6); transform: rotate(-9deg); transform-origin: 50% 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .12s ease; }
.remote.press { transform: rotate(-9deg) translateY(1.5px) scale(.985); }
.remote .pwr { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; }
.remote .pad { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #0f0d12; box-shadow: 0 0 0 1px #4a4450 inset; }
.remote .ok { position: absolute; inset: 11px; border-radius: 50%; background: #2c2830; }
.remote .k { position: absolute; width: 0; height: 0; border: 4px solid transparent; transition: filter .15s; }
.remote .k.u { top: 3px; left: 14px; border-bottom: 5px solid #9b94a3; border-top-width: 0; }
.remote .k.d { bottom: 3px; left: 14px; border-top: 5px solid #9b94a3; border-bottom-width: 0; }
.remote .k.l { left: 3px; top: 14px; border-right: 5px solid #9b94a3; border-left-width: 0; }
.remote .k.r { right: 3px; top: 14px; border-left: 5px solid #9b94a3; border-right-width: 0; }
.remote .k.on.l { border-right-color: var(--peach); filter: drop-shadow(0 0 4px var(--peach)); }
.remote .k.on.r { border-left-color: var(--peach); filter: drop-shadow(0 0 4px var(--peach)); }
.remote .pad::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--peach); opacity: 0; transform: scale(.8); }
.remote.press .pad::after { animation: ping .45s ease-out; }
@keyframes ping { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.remote .dots3 { display: grid; grid-template-columns: repeat(3, 6px); gap: 4px; }
.remote .dots3 i { width: 6px; height: 6px; border-radius: 50%; background: #2c2830; }
.remote .yt { width: 22px; height: 12px; border-radius: 3px; background: #e0261b; position: relative; }
.remote .yt::after { content: ""; position: absolute; left: 9px; top: 3px; border: 3px solid transparent; border-left: 5px solid #fff; border-right-width: 0; }
.remote .ir { position: absolute; top: -3px; left: 50%; width: 10px; height: 4px; margin-left: -5px; border-radius: 3px; background: #2a1f2f; }
.remote.press .ir { background: var(--peach); box-shadow: 0 -4px 10px 2px rgba(255,170,118,.7); }

.vr-band { margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--plum); color: var(--lilac); border-radius: var(--r-lg); overflow: hidden; }
.vr-media { background: var(--night); display: grid; place-items: center; padding: clamp(28px, 3vw, 48px); }
.vr-media video { height: min(560px, 62vh); width: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-md); }
.vr-text { padding: clamp(36px, 4.5vw, 72px); align-self: center; }
.vr-text .h3 { color: var(--paper); }
.vr-text .lead { color: var(--paper); }
.vr-text .label { color: var(--peach); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 36px; }
.links a { color: var(--peach); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,170,118,.4); }
.links a:hover { border-color: var(--peach); }

/* ---------- 04 reactions ---------- */
.react-grid { display: grid; grid-template-columns: 3.16fr 1fr 1fr 1fr; gap: var(--gap); align-items: start; }
.react-grid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-md); background: #000; }
.react-grid .feature video { aspect-ratio: 16 / 9; }
.react-grid figcaption { margin-top: 14px; font-family: var(--f-display); font-size: 16px; color: var(--paper); }

/* ---------- 05 fit ---------- */
.zig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: center; margin-top: clamp(56px, 6vw, 104px); }
.zig.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.zig.reverse .zig-text { order: 2; }
.zig + .zig { margin-top: clamp(80px, 8vw, 140px); }
.zig-n::before { content: attr(data-n); display: block; font-family: var(--f-display); font-size: 15px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--peach); margin-bottom: 26px; }
.zig-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--night); }
.zig-media figcaption { font-size: 15px; color: var(--muted); margin-top: 14px; }
.turn { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--night); cursor: grab; touch-action: pan-y; user-select: none; }
.turn:active { cursor: grabbing; }
.turn video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.turn-deg { position: absolute; left: 18px; bottom: 18px; padding: 7px 14px; border-radius: 99px; background: rgba(31,14,42,.65); color: var(--peach); font-family: var(--f-display); font-size: 13px; font-variant-numeric: tabular-nums; }
.turn-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 22px; border-radius: 99px; background: rgba(31,14,42,.8); color: var(--peach); font-size: 16px; font-weight: 600; transition: opacity .4s; pointer-events: none; }
.turn-pill b { display: inline-block; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
.turn.touched .turn-pill { opacity: 0; }
.turn-range { display: block; margin: 16px 0 0; }
.turn-range input { width: 100%; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; cursor: pointer; }
.turn-range input::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--plum) 0 var(--fill, 0%), rgba(74,39,94,.18) var(--fill, 0%) 100%); }
.turn-range input::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(74,39,94,.18); }
.turn-range input::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--plum); }
.turn-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: -15px; border-radius: 50%; border: 3px solid #fff; background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1238' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 4px 12px -2px rgba(31,14,42,.45); }
.turn-range input::-moz-range-thumb { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; background: var(--peach); }
.turn-ends { display: flex; justify-content: space-between; margin: 0 2px; font-family: var(--f-display); font-size: 12px; color: var(--muted); }

/* ---------- 06 deliverables ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.prod { display: flex; flex-direction: column; padding: 36px 32px 40px 0; margin-right: 32px; border-right: 1px solid var(--line); position: relative; }
.prod:last-child { border-right: 0; margin-right: 0; }
.prod::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--peach); transition: width .5s var(--ease); }
.prod:hover::before { width: calc(100% - 32px); }
.prod p:not(.meta) { font-size: 16.5px; line-height: 1.6; color: var(--ink); opacity: .85; }
.prod .link-arrow { margin-top: auto; }
.meta { display: inline-block; align-self: flex-start; font-family: var(--f-display); font-size: 12px; letter-spacing: .02em; color: var(--plum); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; margin: 0 0 22px; }
.meta.light { color: var(--peach); border-color: rgba(255,170,118,.5); }
.vr-box { margin-top: clamp(56px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--plum); color: var(--lilac); border-radius: var(--r-lg); overflow: hidden; }
.vr-box img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.vr-box-text { padding: clamp(32px, 4vw, 64px); align-self: center; }
.vr-box-text .h3 { color: var(--paper); }
.price { margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; background: var(--peach); border-radius: var(--r-lg); padding: clamp(32px, 4vw, 64px); }
.price p:last-child { margin-bottom: 0; max-width: 62ch; }

/* ---------- 07 shorts ---------- */
.shorts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 5vw, 80px); }
.shorts video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-md); background: var(--plum); }
.shorts figcaption { margin-top: 14px; font-family: var(--f-display); font-size: 15px; line-height: 1.3; color: var(--paper); }
.shorts figure:nth-child(even) { margin-top: 56px; }

/* ---------- 08 about ---------- */
.about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.about-head { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 36px; }
.about-head img { width: 132px; height: 176px; object-fit: cover; border-radius: var(--r-md); }
.about-head .h2 { margin: 0; }
.story video { aspect-ratio: 3 / 4; max-height: 82vh; width: 100%; object-fit: cover; }
.mission { font-size: clamp(26px, 2.9vw, 46px); line-height: 1.15; letter-spacing: -.025em; color: var(--plum); max-width: 26ch; margin: clamp(72px, 7vw, 120px) 0 0; padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--line); }

/* ---------- 09 faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 40px; gap: 24px; align-items: center; padding: 26px 0; font-weight: 600; font-size: 19px; line-height: 1.35; cursor: pointer; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 22px; font-weight: 400; transition: transform .35s var(--ease), background .25s; }
.faq summary:hover { color: var(--plum); }
.faq summary:hover::after { background: var(--lilac); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--peach); border-color: var(--peach); }
.faq .a { padding: 0 64px 26px 0; }
.faq .a p { font-size: 17px; }
.inline-link { color: var(--plum); font-weight: 600; }

/* ---------- 10 contact ---------- */
.contact .label { color: var(--plum); }
.contact-title { font-size: clamp(48px, 6.6vw, 116px); max-width: 13ch; margin: 0 0 clamp(48px, 5vw, 88px); color: var(--ink); }
.contact-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: end; }
.contact .lead { max-width: 46ch; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.contact-lines { display: grid; gap: 14px; justify-items: start; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.02em; }
.contact-lines a { text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.contact-lines a:hover { color: var(--plum); border-color: var(--plum); }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--lilac); padding: clamp(72px, 7vw, 120px) 0 40px; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.logo.big { font-size: clamp(40px, 5vw, 80px); color: var(--paper); gap: 18px; }
.logo.big .logo-ring { width: .62em; height: .62em; border-width: .1em; border-color: var(--lilac); border-top-color: var(--peach); }
.foot-tag { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 24px); color: var(--peach); margin: 16px 0 0; }
.foot-links { display: flex; gap: 28px; font-weight: 500; }
.foot-links a, .foot-bottom a { text-decoration: none; transition: color .25s; }
.foot-links a:hover, .foot-bottom a:hover { color: var(--peach); }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 15px; opacity: .85; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1s ease, transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .h2.rv { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); }
.js .h2.rv.in { clip-path: inset(-10% -5% -20% -5%); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .react-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .react-grid .feature { grid-column: 1 / -1; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod:nth-child(2) { border-right: 0; margin-right: 0; }
  .prod:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav-links a { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-deg { margin-left: auto; }
  .stage { height: 250px; }
  .phone { height: 218px; }
}
@media (max-width: 900px) {
  .head-row, .split-row, .zig, .vr-band, .vr-box, .price, .faq-grid, .contact-row, .about { grid-template-columns: 1fr; }
  .split-row.reverse .split-text, .zig.reverse .zig-text { order: 0; }
  .split-row, .zig { gap: 48px; }
  .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shorts { grid-template-columns: repeat(5, 46%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shorts figure { scroll-snap-align: start; margin-top: 0 !important; }
  .faq-head { position: static; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .story video { max-height: 70vh; width: auto; margin: 0 auto; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .devices, .products, .react-grid { grid-template-columns: 1fr; }
  .prod { border-right: 0; margin-right: 0; }
  .pov-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pov-row video:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .js .rv, .js .split .ln > span, .js .hero-foot { opacity: 1; transform: none; }
  .js .h2.rv { clip-path: none; }
  .hero-video, .hero-in { transform: none; opacity: 1; }
}

/* long button labels wrap instead of overflowing their card */
.vr-text .btn { white-space: normal; height: auto; min-height: 60px; padding: 14px 28px; text-align: left; line-height: 1.3; }

/* the 360° viewer adds .pnlm-container (height:100%, grey grid); keep our window size and preview image */
#panoView, #panoView.pnlm-container { height: min(76vh, 820px); min-height: 420px; width: 100%; border-radius: var(--r-lg); background: var(--night) url('/assets/desk/pano-kiss-poster.jpg') center / cover no-repeat; }
.pano-cover { z-index: 3; }

/* 01: the vertical camera video (with the „Камера 1/2“ call-outs) beside the text */
#how-filmed .split-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-media.tall { justify-self: end; width: min(100%, 420px); }
.split-media.tall video { aspect-ratio: 9 / 16; max-height: 84vh; width: auto; height: auto; margin-left: auto; }
@media (max-width: 900px) { .split-media.tall { justify-self: center; } }

/* 02: text on the left, the figure as a tall portrait on the right */
.figure-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.figure-media { justify-self: end; width: min(100%, 420px); }
.figure-media .flip { aspect-ratio: 800 / 1421; max-height: 84vh; }
.figure-media .flip .face { object-position: 50% 0; }
.figure-media .figure-bar { flex-direction: column; align-items: stretch; }
.figure-media .seg { display: flex; }
.figure-media .seg button { flex: 1; padding: 10px 12px; }
.figure-media .figure-bar .caption { text-align: center; }
@media (max-width: 900px) { .figure-media { justify-self: center; } }
.figure-media .seg button { padding: 10px 6px; font-size: 14px; white-space: nowrap; }
/* 02: figure as a 3:4 portrait (cropped from the landscape visualisation, whole figure in frame) */
.figure-media .flip { aspect-ratio: 3 / 4; max-height: 80vh; }
.figure-media .flip .face { object-position: 50% 50%; }

/* section heads: label, heading, then the intro sentence underneath on the left (one reading line) */
.head-row { display: block; }
.head-row .h2 { margin-bottom: 28px; }
.head-aside { max-width: 55ch; font-size: clamp(19px, 1.45vw, 21px); line-height: 1.55; margin: 0; }
.dark .head-aside { color: var(--lilac); }
.vr-media { background: var(--plum); }

/* 06: products as a true table, continuous lines between cells; the VR kit is the last, full-width row */
.products { gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prod { background: var(--paper); margin: 0 !important; border: 0 !important; padding: 36px 32px 40px; }
.prod:nth-child(4n+1) { padding-left: 0; }
.prod::before { left: 0; }
.prod:hover::before { width: 100%; }
.prod-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-left: 0; }
.prod-wide-text { max-width: 46ch; }
.prod-wide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.price { margin-top: clamp(40px, 4vw, 64px); }
@media (max-width: 1180px) {
  .prod:nth-child(4n+1) { padding-left: 32px; }
  .prod:nth-child(2n+1) { padding-left: 0; }
  .prod:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 620px) {
  .prod, .prod:nth-child(2n+1) { padding-left: 0; padding-right: 0; }
  .prod-wide { grid-template-columns: 1fr; }
}

/* price: compact band, the details sit behind „Прочетете още“ */
.price { padding: clamp(24px, 2.6vw, 36px) clamp(28px, 3.4vw, 48px); gap: 32px; }
.price .h3 { margin-bottom: 8px; }
.price .lead { margin: 0; max-width: 52ch; font-size: clamp(18px, 1.35vw, 20px); }
.more summary { list-style: none; display: inline-flex; margin-top: 10px; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--plum); border-bottom: 2px solid var(--plum); padding-bottom: 1px; }
.more summary::-webkit-details-marker { display: none; }
.more summary .c, .more[open] summary .o { display: none; }
.more[open] summary .c { display: inline; }
.more[open] { display: flex; flex-direction: column; }
.more[open] summary { order: 2; align-self: flex-start; }
.more p { margin: 12px 0 0; max-width: 62ch; font-size: 17px; }
.price .more p:last-child { margin-bottom: 0; }
.contact-title { max-width: none; font-size: clamp(44px, 6.2vw, 96px); }

/* contact (trial, 19.11.2026): text as wide as the heading, phone and e-mail move under the buttons */
.contact-row { grid-template-columns: 1fr; gap: 40px; }
.contact .lead { max-width: none; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 14px 48px; }
/* contact: wide text on top, buttons on the left and phone/e-mail on the right of the same row (as before) */
.contact-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0 48px; align-items: end; }
.contact-row > div:first-child { display: contents; }
.contact-row .lead { grid-column: 1 / -1; }
.contact-row .btns { grid-column: 1; margin-top: 24px; }
.contact-lines { grid-column: 2; display: grid; gap: 14px; justify-items: start; }
@media (max-width: 900px) { .contact-row { grid-template-columns: 1fr; } .contact-lines { grid-column: 1; margin-top: 32px; } }
.contact-row { column-gap: 32px; } .contact-lines { font-size: clamp(20px, 1.9vw, 30px); }

/* nav that never breaks a link onto two lines: it tightens first (no 0°, smaller gaps), then folds into „Меню“ */
.nav-in > * { flex-shrink: 0; }
.nav-links { display: flex; }
.nav-links a { white-space: nowrap; padding: 10px 14px; font-size: 15px; }
.nav.tight .nav-deg { display: none; }
.nav.tight .nav-links { gap: 0; }
.nav.tight .nav-links a { padding: 10px 9px; }
.menu-btn { display: none; align-items: center; gap: 10px; margin-left: auto; height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .25s, color .25s; }
.menu-btn:hover { background: rgba(255,255,255,.14); }
.nav.solid .menu-btn:hover { background: var(--lilac); }
.menu-ico { position: relative; width: 16px; height: 10px; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-ico::before { top: 0; } .menu-ico::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::after { transform: translateY(-4px) rotate(-45deg); }
.nav.collapsed .nav-links { display: none; }
.nav.collapsed .menu-btn { display: inline-flex; }
.nav.collapsed .nav-deg { display: inline; margin-left: 0; }
.menu-panel { position: absolute; top: 76px; right: max(var(--gut), calc((100vw - var(--max)) / 2)); min-width: 260px; display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-md); background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(31,14,42,.45), 0 0 0 1px var(--line); }
.menu-panel[hidden] { display: none; }
.menu-panel a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 16px; border-radius: 12px; }
.menu-panel a:hover { background: var(--lilac); }
@media (max-width: 1180px) { .nav-links a { padding: 10px 14px; font-size: 15px; } }
@media (max-width: 1040px) { .nav-links { display: flex; } .nav-deg { margin-left: 0; } }

/* production footer: mobile link and cookie settings side by side */
.foot-meta { display: inline-flex; gap: 24px; align-items: center; }
.foot-bottom .cookie-settings-link { color: inherit; font-size: 15px; }
.foot-bottom .cookie-settings-link:hover { color: var(--peach); }
