/* ============ fonts (local, work offline) ============ */
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-cyrillic.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; src: url(fonts/cormorant-cyrillic-italic.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; src: url(fonts/cormorant-latin-italic.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============ tokens (light theme) ============ */
:root {
  --c1: #e0703a; --c2: #e3a33b; --c3: #3fae8f; --c4: #d9485f; --c5: #4f7fd6;
  --bg: #fbf7f1;
  --bg-2: #f3eadd;
  --surface: #ffffff;
  --surface-2: #fffaf3;
  --border: rgba(90, 50, 20, .10);
  --border-2: rgba(90, 50, 20, .20);
  --text: #2b1d14;
  --muted: #76614f;
  --accent: #c4511f;
  --shadow-sm: 0 1px 2px rgba(80, 40, 10, .06), 0 8px 24px -12px rgba(80, 40, 10, .18);
  --shadow: 0 2px 4px rgba(80, 40, 10, .05), 0 24px 50px -24px rgba(80, 40, 10, .35);
  --grid-line: rgba(90, 50, 20, .06);
  --radius: 22px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --serif: "Cormorant", "Georgia", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 var(--font); overflow-x: hidden;
  animation: page-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
body.leaving { animation: page-out .28s ease both; }
@keyframes page-in { from { opacity: 0; } }
@keyframes page-out { to { opacity: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ============ header ============ */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c5), var(--c4)); }
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, box-shadow .35s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(251, 247, 241, .94); border-color: var(--border); box-shadow: 0 6px 20px -14px rgba(80, 40, 10, .3); }
.header__inner { display: flex; align-items: center; gap: 10px; height: 68px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700;
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .3s, border-color .3s, color .3s; }
.pill:hover { border-color: var(--border-2); color: var(--accent); }
.pill svg { font-size: 17px; transition: transform .3s; }
.pill:hover svg { transform: translateX(-3px); }
.pill--right { margin-left: auto; }
.pill--right:hover svg { transform: translateY(2px); }
.iconbtn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); font-size: 18px; transition: transform .3s; }
.iconbtn:hover { transform: rotate(90deg); }

/* ============ aurora (cheap: gradients, no blur filter) ============ */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -2; }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; animation: drift 24s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { background: radial-gradient(closest-side, color-mix(in srgb, var(--hue, var(--c1)) 30%, transparent), transparent); left: -25vmax; top: -35vmax; }
.aurora i:nth-child(2) { background: radial-gradient(closest-side, rgba(63, 174, 143, .20), transparent); right: -25vmax; top: -25vmax; animation-duration: 30s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: radial-gradient(closest-side, rgba(227, 163, 59, .22), transparent); left: 20%; top: 15vmax; animation-duration: 34s; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, 4vmax) scale(1.1); }
  100% { transform: translate(-4vmax, 7vmax) scale(.95); }
}
body.playing .aurora i, body.playing .phero__pattern { animation-play-state: paused; }

/* ============ home ============ */
.hero { position: relative; min-height: 100svh; padding: clamp(44px, 8vh, 80px) 0 110px; overflow: hidden; isolation: isolate; }
.hero__grid { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, #000 25%, transparent 75%); }
.hero__inner { text-align: center; position: relative; }
.hero__title { font: 600 clamp(46px, 8vw, 112px)/.95 var(--serif); letter-spacing: -.02em; margin: 0 auto; }
.hero__title .w:nth-child(2) { font-style: italic; font-weight: 500; color: var(--c4); }

/* embroidery band that draws itself */
.band { display: block; width: min(520px, 86%); height: auto; margin: 22px auto 0; overflow: visible; }
.band .d { fill: none; stroke: var(--c4); stroke-width: 2.4; stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: draw 1s cubic-bezier(.4, 0, .2, 1) forwards, glow 4s ease-in-out infinite alternate; animation-delay: calc(.6s + var(--i) * .08s), calc(2s + var(--i) * .25s); }
.band .d2 { stroke: var(--c2); fill: var(--c2); fill-opacity: 0; animation: draw 1s cubic-bezier(.4, 0, .2, 1) forwards, fill-in .6s forwards, glow 4s ease-in-out infinite alternate;
  animation-delay: calc(.9s + var(--i) * .08s), calc(1.6s + var(--i) * .08s), calc(2s + var(--i) * .25s); }
.band .d3 { stroke: var(--c3); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: .9; } }
@keyframes glow { to { opacity: .45; } }

/* national ornaments drifting along both sides */
.orn-col { position: absolute; top: 0; bottom: 0; z-index: -1; width: clamp(110px, 13vw, 180px); overflow: hidden; pointer-events: none;
  opacity: 0; animation: col-in 1.8s .8s ease forwards;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.orn-col--l { left: clamp(16px, 5vw, 90px); }
.orn-col--r { right: clamp(16px, 5vw, 90px); }
.orn-col__track { display: flex; flex-direction: column; gap: 18px; animation: col-up 70s linear infinite; }
.orn-col--r .orn-col__track { animation-direction: reverse; animation-duration: 80s; }
.orn-col img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-sm); }
.orn-col img:nth-child(odd) { rotate: -4deg; }
.orn-col img:nth-child(even) { rotate: 4deg; }
@keyframes col-up { to { transform: translateY(calc(-50% - 9px)); } }
@keyframes col-in { to { opacity: .26; } }

/* ============ word reveal ============ */
[data-split] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.35em); animation: word-in .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.1s + var(--wi) * .14s); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* ============ spotlight & tilt ============ */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 50%); }
.spot:hover::before { opacity: 1; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .4s; }

/* ============ mosaic ============ */
.mosaic { display: grid; grid-template-columns: repeat(2, clamp(140px, 42vw, 260px)); justify-content: center; gap: 12px; margin: clamp(30px, 5vh, 50px) auto 0; }
.tile { --hue: var(--c2); display: block; position: relative; border-radius: 18px; text-decoration: none; background: var(--surface); box-shadow: 0 0 0 1px var(--border), var(--shadow); overflow: hidden; isolation: isolate; }
.tile:hover { box-shadow: 0 0 0 1px var(--border-2), 0 30px 60px -25px color-mix(in srgb, var(--hue) 70%, transparent); }
.tile.reveal:not(.in) { transform: perspective(900px) rotateX(40deg) translateY(50px) scale(.86); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--hue) 80%, #fff 85%, var(--hue) 90%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 3s linear infinite; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --ang: 360deg; } }
.tile__img { display: block; aspect-ratio: 1; overflow: hidden; position: relative; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.tile:hover .tile__img img { transform: scale(1.1); }
/* periodic glint running across the tiles one after another */
.tile__img::after { content: ""; position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(-120%);
  animation: glint 9s ease-in-out infinite; animation-delay: calc(2.5s + var(--i) * .35s); }
@keyframes glint { 0% { transform: translateX(-120%); } 14%, 100% { transform: translateX(120%); } }
.tile__go { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  background: rgba(255, 255, 255, .95); color: #1b120c; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); transform: scale(.5) rotate(-45deg); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.tile:hover .tile__go, .tile:focus-visible .tile__go { transform: none; opacity: 1; }

/* ============ inner page hero ============ */
.phero { position: relative; overflow: hidden; isolation: isolate; padding: 124px 0 60px; text-align: center;
  background: linear-gradient(var(--bg-2), var(--bg)); border-bottom: 1px solid var(--border); }
.phero__title { font: 600 clamp(44px, 7.5vw, 100px)/.98 var(--serif); letter-spacing: -.02em; margin: 0; }
.phero__title .w:last-child { font-style: italic; color: var(--hue); }
/* ornament pages: the people's pattern fills the header, softer only right behind the title */
.phero__pattern { position: absolute; inset: 0; z-index: -1; background-size: 150px; opacity: .45; animation: pan 50s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 42% 46% at 50% 55%, rgba(0, 0, 0, .25), #000 85%); mask-image: radial-gradient(ellipse 42% 46% at 50% 55%, rgba(0, 0, 0, .25), #000 85%); }
@keyframes pan { to { background-position: 150px 150px; } }
.doc-page .phero { border-bottom: 0; box-shadow: inset 0 -1px 0 var(--border); }
.doc-page .phero__title { text-shadow: 0 0 24px var(--bg), 0 0 8px var(--bg); }

/* ============ content ============ */
.content { padding: 48px 0 110px; }
.sec { scroll-margin-top: 90px; }
.sec + .sec { margin-top: 70px; }
.sec-head { display: flex; align-items: center; gap: 24px; margin: 0 0 28px; padding-left: 8px; }
.sec-head h2 { margin: 0; font: 600 clamp(32px, 4vw, 48px)/1.05 var(--serif); }
.sec-head__orn { width: 26px; height: 26px; flex: none; border-radius: 7px; rotate: 45deg; background: var(--hue, var(--accent));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--hue) 18%, transparent), 0 0 0 12px color-mix(in srgb, var(--hue) 8%, transparent); }
.cards { display: grid; gap: 22px; }
/* the picture column is exactly as wide as its picture, so the margin around it is the same on every side */
.card { display: grid; grid-template-columns: auto minmax(0, 1fr); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: clip; }
.card--text { grid-template-columns: 1fr; }
.card--text .card__body { max-width: 920px; margin-inline: auto; width: 100%; }
.card--flip { grid-template-columns: minmax(0, 1fr) auto; }
.card--flip .card__media { order: 2; }
/* the picture column always stays in view while its text is read — the same in every card */
.card__media { position: sticky; top: 84px; align-self: start; padding: 16px; display: grid; gap: 12px; align-content: start; }
.ph-stack { grid-template-columns: auto auto; align-items: start; }
/* photos are always shown whole, never cropped */
.ph { position: relative; display: block; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.ph img { width: auto; height: auto; max-width: min(520px, 42vw); max-height: calc(100vh - 140px); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ph-stack .ph img { max-width: min(260px, 21vw); }
.card__media > .vtile { width: min(500px, 40vw); }
.card__body .vt-row { margin-top: 24px; }
.vt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vt-row .vtile__cap { font-size: 18px; padding: 10px 14px 12px; }
.ph:hover img { transform: scale(1.05); }
.card__body { padding: clamp(22px, 3vw, 40px); min-width: 0; }
.card__title { margin: 0 0 14px; font: 600 clamp(26px, 2.6vw, 34px)/1.12 var(--serif); }
.prose { color: #3d2c20; hyphens: auto; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 700; color: var(--text); }
.ilink { color: var(--hue); text-decoration: underline; text-underline-offset: 3px; }

/* ============ video blocks ============ */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.vtile { display: flex; flex-direction: column; width: 100%; border-radius: 22px; overflow: hidden; text-decoration: none; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .3s; }
.vtile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--hue) 45%, transparent); }
/* video covers fill the block (no black bars); kept near the top so faces stay in frame */
.vtile__screen { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #2b1d14; }
.vtile__screen img, .vtile__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.vtile:hover .vtile__screen img, .vtile:hover .vtile__screen video { transform: scale(1.05); }
.vtile__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(20, 10, 5, .35)); }
.vtile .play { position: absolute; left: 50%; top: 50%; margin: -39px 0 0 -39px; z-index: 1; }
.vtile:hover .play { transform: scale(1.12); }
.vtile__cap { display: block; padding: 16px 20px 18px; font: 600 23px/1.2 var(--serif); }
/* video that only plays on Yandex's own page: same block, plus a note where it opens */
.vtile__ext { display: block; margin-top: 6px; font: 600 13px/1.3 "Manrope", system-ui, sans-serif; color: var(--muted); }
.card__media .vtile { box-shadow: none; }
.play { position: relative; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff;
  background: var(--hue, var(--accent)); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.play::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #fff; opacity: .8; animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.play svg { margin-left: 4px; }
.vbtn__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hue); color: #fff; font-size: 14px; flex: none; }
.vbtn__icon svg { margin-left: 2px; }

/* ============ ornament document ============ */
.doc { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; }
.doc::before { content: ""; position: absolute; inset: 10px; border-radius: 20px; border: 1px dashed color-mix(in srgb, var(--hue) 35%, transparent); pointer-events: none; }
.doc .prose { font-size: 18px; }
.doc h3 { margin: 1.6em 0 .4em; font: 600 28px/1.15 var(--serif); color: var(--hue); }
.doc .center { text-align: center; }

/* ============ scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.tile.reveal.in { transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), box-shadow .4s; }
.tile.reveal.in.settled { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.tile.reveal.in.settled.is-tilting { transition: transform .08s linear, box-shadow .4s; }

/* ============ modal (photos) ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28, 18, 12, .88); animation: fade .3s ease both; }
.modal__dialog { position: relative; max-width: 100%; display: flex; flex-direction: column; animation: pop .45s cubic-bezier(.2, .9, .3, 1.05) both; }
.modal.closing .modal__backdrop { animation: fade .25s ease reverse both; }
.modal.closing .modal__dialog { animation: pop .25s ease reverse both; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.modal__bar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 10px 30px 20px; color: #fff; background: linear-gradient(rgba(0, 0, 0, .55), transparent); border-radius: 16px 16px 0 0; }
.modal__title { flex: 1; min-width: 0; font: 600 21px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal__tools { display: flex; gap: 8px; }
.modal__bar .iconbtn { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .25); color: #fff; }
.modal__stage { display: grid; place-items: center; }
.modal__stage img { height: min(84svh, 980px); width: auto; max-width: min(1400px, calc(100vw - 140px)); max-height: calc(100svh - 40px); border-radius: 16px; object-fit: contain; animation: zoom-in .45s cubic-bezier(.2, .9, .3, 1.05) both; }
/* video window: fixed 16:9 box sized before the video loads, so nothing jumps */
.modal--video .modal__dialog { width: min(1120px, calc(100vw - 40px), calc((100svh - 110px) * 16 / 9)); }
.modal--video .modal__bar { position: static; padding: 0 0 12px 4px; background: none; }
.modal--video .modal__stage { display: block; }
.vbox { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7); }
.vbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vbox.loading video { opacity: 0; }
.spinner { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .18); border-top-color: #fff; animation: spin .9s linear infinite; }
.vbox:not(.loading) .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.vbox__note { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; gap: 10px; text-align: center; color: #f1e4d6; font-size: 17px; }
.vbox__note a { color: #f3b27a; }
.modal__stage .note { padding: 70px 30px 40px; text-align: center; color: #f1e4d6; max-width: 520px; background: #2b1d14; border-radius: 16px; }
@keyframes zoom-in { from { opacity: 0; transform: scale(.9); } }
.lb-nav { display: none; position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; place-items: center; font-size: 22px; color: #fff;
  background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, transform .3s; }
.lb-nav:hover { background: rgba(0, 0, 0, .7); transform: scale(1.08); }
.lb-nav--prev { left: 20px; }
.lb-nav--next { right: 20px; }
.modal.has-nav .lb-nav { display: grid; }
body.locked { overflow: hidden; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .orn-col--l { left: -40px; }
  .orn-col--r { right: -40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header__inner { height: 60px; }
  .pill--right span { display: none; }
  .pill--right { padding: 0 12px; }
  .mosaic { gap: 8px; }
  .orn-col { width: 70px; }
  .orn-col--l { left: -36px; }
  .orn-col--r { right: -36px; }
  .phero { padding: 96px 0 40px; }
  .card, .card--flip { grid-template-columns: 1fr; }
  .card--flip .card__media { order: 0; }
  .card__media { position: static; justify-items: center; }
  .ph img, .ph-stack .ph img { max-width: 100%; max-height: 70vh; }
  .card__media > .vtile { width: 100%; }
  .vt-row { grid-template-columns: 1fr; }
  .play { width: 62px; height: 62px; font-size: 24px; }
  .doc .prose { font-size: 16px; }
  .modal { padding: 0; }
  .modal__stage img { max-width: 100vw; border-radius: 0; }
  .lb-nav--prev { left: 8px; }
  .lb-nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .w { opacity: 1; transform: none; filter: none; }
  .band .d { stroke-dashoffset: 0; }
}
