@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); 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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199, U+2212; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); 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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400-normal.woff2) format("woff2"); 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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fonts/manrope-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fonts/manrope-latin-500-normal.woff2) format("woff2"); 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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-600-normal.woff2) format("woff2"); 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+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #303438;
  --ink: #f1f2ee;
  --muted: rgba(241, 242, 238, .62);
  --faint: rgba(241, 242, 238, .38);
  --line: rgba(214, 228, 255, .16);
  --line-strong: rgba(214, 228, 255, .32);
  --glass: rgba(24, 27, 32, .5);
  --glow: rgba(206, 224, 255, .9);
  --mint: #bbd7c7;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --edge: max(28px, env(safe-area-inset-left));
  --ease: cubic-bezier(.22, .8, .2, 1);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { height: 100svh; overflow: hidden; }
button { font: inherit; color: inherit; }
kbd { font: 500 10px/1 var(--sans); letter-spacing: .08em; padding: 3px 5px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 1.5px solid var(--glow); outline-offset: 3px; }

/* Studio canvas */
.studio { position: fixed; inset: 0; overflow: hidden; isolation: isolate; }
.studio__poster, .studio__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.studio__poster { object-fit: cover; transition: opacity 900ms ease; }
.studio__canvas { opacity: 0; transition: opacity 900ms ease; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent; }
.studio[data-ready="true"] .studio__canvas { opacity: 1; }
.studio[data-ready="true"] .studio__poster { opacity: 0; }
body.is-dragging, body.is-dragging .studio__canvas { cursor: grabbing; }
body.is-hovering .studio__canvas { cursor: pointer; }
.stage-ui { position: fixed; inset: 0; pointer-events: none; z-index: 2; }

/* HUD */
.hud { position: fixed; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; gap: 24px; padding-inline: var(--edge) max(28px, env(safe-area-inset-right)); pointer-events: none; transition: opacity 500ms ease, transform 500ms var(--ease); }
.hud > * { pointer-events: auto; }
.hud--top { top: 0; align-items: flex-start; padding-top: max(26px, env(safe-area-inset-top)); }
.hud--bottom { bottom: 0; align-items: flex-end; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
body:not(.is-ready) .hud { opacity: 0; }
body.is-room .hud, body.is-about .hud { opacity: 0; pointer-events: none; }
body.is-room .hud > *, body.is-about .hud > * { pointer-events: none; }

.brand { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: #fbf6ee; text-decoration: none; padding: 0 2px 8px; }
.brand__arc { width: 38px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 238, 214, .6)); }
.brand__name { font: 500 22px/1 var(--sans); letter-spacing: -.03em; text-shadow: 0 0 16px rgba(255, 238, 214, .45); }
.brand__rule { position: absolute; left: 4px; right: 4px; bottom: 0; height: 1.5px; border-radius: 2px; background: currentColor; box-shadow: 0 0 8px rgba(255, 238, 214, .6); }
.hud__tagline { margin: 6px 0 0; margin-right: auto; font: 500 10.5px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 16px; }

.hud__actions { display: flex; gap: 10px; }
.lang { display: flex; align-items: center; margin-right: -8px; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; }
.lang button { position: relative; min-height: 42px; padding: 0 9px; border: 0; background: none; color: var(--faint); letter-spacing: inherit; cursor: pointer; transition: color 250ms ease, text-shadow 250ms ease; }
.lang button + button::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 11px; margin-top: -6px; background: var(--line-strong); }
.lang button:hover { color: var(--muted); }
.lang button[aria-pressed="true"] { color: var(--ink); text-shadow: 0 0 12px rgba(206, 224, 255, .45); cursor: default; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: border-color 250ms ease, background 250ms ease, box-shadow 250ms ease; }
.pill:hover { border-color: rgba(214, 228, 255, .6); background: rgba(34, 38, 45, .62); box-shadow: 0 0 24px rgba(190, 212, 255, .16); }
.pill__count { font: 500 15px/1 var(--serif); letter-spacing: 0; color: var(--muted); }

.hint { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: opacity 700ms ease; }
.hint__icon { width: 34px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.8s var(--ease) infinite; }
body.is-hint-done .hint { opacity: .45; }
.hint__short { display: none; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.socials { display: flex; gap: 26px; margin: 0 6px 0 auto; align-self: center; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.socials a { position: relative; padding: 10px 0; color: var(--muted); text-decoration: none; transition: color 250ms ease; }
.socials a::after { content: ""; position: absolute; left: 0; right: .16em; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.socials a + a::before { content: ""; position: absolute; left: -15px; top: 50%; width: 3px; height: 3px; margin-top: -2px; border-radius: 50%; background: var(--faint); }
.socials a:hover { color: var(--ink); }
.socials a:hover::after { transform: none; }
.spin { display: flex; gap: 10px; }
.spin__button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; transition: border-color 250ms ease, box-shadow 250ms ease; }
.spin__button:hover { border-color: rgba(214, 228, 255, .6); box-shadow: 0 0 24px rgba(190, 212, 255, .18); }
.spin__button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hover-label { position: fixed; left: 0; top: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; padding: 11px 15px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(20, 23, 28, .66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.96); transition: opacity 200ms ease, scale 200ms ease; will-change: transform; }
.hover-label.is-visible { opacity: 1; }
.hover-label__title { font: 500 21px/1 var(--serif); }
.hover-label__cta { font: 600 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hover-label__cta::after { content: " →"; }

.loader { position: fixed; left: 50%; bottom: 44px; width: 120px; height: 1px; margin-left: -60px; overflow: hidden; background: var(--line); z-index: 4; transition: opacity 600ms ease; }
.loader span { position: absolute; inset: 0; width: 40%; background: var(--glow); animation: load 1.4s ease-in-out infinite; }
body.is-ready .loader { opacity: 0; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Project index drawer */
.index { position: fixed; inset: 0; z-index: 10; }
.index__veil { position: absolute; inset: 0; background: rgba(12, 14, 17, .35); opacity: 0; transition: opacity 400ms ease; }
.index__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; padding: max(24px, env(safe-area-inset-top)) 28px 28px; background: rgba(22, 25, 30, .78); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 500ms var(--ease); overflow-y: auto; }
.index.is-open .index__veil { opacity: 1; }
.index.is-open .index__panel { transform: none; }
.index__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.index__eyebrow, .about__eyebrow, .about__label { margin: 0; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.index__list { list-style: none; margin: 0; padding: 0; counter-reset: project; }
.index__item button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; align-items: baseline; padding: 16px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.index__item button:hover .index__title { color: #fff; transform: translateX(4px); }
.index__num, .about__num { font: 600 11px/1 var(--sans); letter-spacing: .12em; color: var(--faint); }
.index__title { font: 500 29px/1.05 var(--serif); color: rgba(241, 242, 238, .92); transition: transform 300ms var(--ease), color 300ms ease; }
.index__kind { grid-column: 2; font: 600 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* About: the panel comes in from the left while Darina turns to face the visitor. */
.about { position: fixed; inset: 0; z-index: 10; }
.about__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 17, .45), rgba(12, 14, 17, .1) 55%, transparent); opacity: 0; transition: opacity 500ms ease; }
.about__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(500px, 100%); padding: max(24px, env(safe-area-inset-top)) 40px 40px var(--edge); background: rgba(22, 25, 30, .74); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform 600ms var(--ease); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(214, 228, 255, .2) transparent; }
.about.is-open .about__veil { opacity: 1; }
.about.is-open .about__panel { transform: none; }
.about__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(28px, 6vh, 52px); }
.about__title { margin: 0; font: 500 clamp(42px, 4vw, 58px)/.98 var(--serif); letter-spacing: -.01em; }
.about__title em { display: block; margin-top: 8px; font-style: italic; font-weight: 400; color: #fbf6ee; text-shadow: 0 0 22px rgba(255, 238, 214, .3); }
.about__lead { margin: 24px 0 0; font: 400 16px/1.65 var(--sans); color: rgba(241, 242, 238, .82); text-wrap: pretty; }
.about__section { margin-top: clamp(30px, 5vh, 46px); }
.about__label { margin-bottom: 12px; }
.about__services { list-style: none; margin: 0; padding: 0; }
.about__services li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.about__service { font: 500 23px/1.1 var(--serif); color: rgba(241, 242, 238, .92); }
.about__service small { display: block; margin-top: 6px; font: 600 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.about__text { margin: 0 0 18px; font: italic 400 20px/1.4 var(--serif); color: var(--muted); }
.about__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.about__links a { display: grid; grid-template-columns: 1fr auto; gap: 10px 8px; align-items: end; padding: 16px 0 4px; border-top: 1px solid var(--line-strong); color: inherit; text-decoration: none; }
.about__links small { grid-column: 1 / -1; font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.about__links span { font: 500 24px/1 var(--serif); transition: color 250ms ease, text-shadow 250ms ease; }
.about__links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: transform 300ms var(--ease), color 250ms ease; }
.about__links a:hover span { color: #fff; text-shadow: 0 0 18px rgba(206, 224, 255, .45); }
.about__links a:hover svg { color: var(--ink); transform: translate(2px, -2px); }
.about__sign { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: clamp(36px, 6vh, 56px) 0 0; font: italic 400 22px/1.3 var(--serif); color: #fbf6ee; text-shadow: 0 0 18px rgba(255, 238, 214, .28); }
.about__sign svg { width: 30px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 238, 214, .6)); }
.about__panel > * { opacity: 0; transform: translateY(18px); transition: opacity 450ms ease, transform 700ms var(--ease); }
.about.is-open .about__panel > * { opacity: 1; transform: none; }
.about.is-open .about__panel > :nth-child(1) { transition-delay: 160ms; }
.about.is-open .about__panel > :nth-child(2) { transition-delay: 220ms; }
.about.is-open .about__panel > :nth-child(3) { transition-delay: 280ms; }
.about.is-open .about__panel > :nth-child(4) { transition-delay: 340ms; }
.about.is-open .about__panel > :nth-child(n+5) { transition-delay: 400ms; }

/* Screening room */
.room { position: fixed; inset: 0; z-index: 20; }
.room[data-state="prepare"] { visibility: hidden; }
.room__veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 40%, rgba(24, 27, 32, .68), rgba(10, 11, 14, .88)); backdrop-filter: blur(22px) saturate(.85); -webkit-backdrop-filter: blur(22px) saturate(.85); opacity: 0; transition: opacity 500ms ease; }
.room__scroller { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(214, 228, 255, .2) transparent; }
.room__grid { --top: max(92px, env(safe-area-inset-top)); display: grid; grid-template-columns: auto minmax(320px, 540px); justify-content: center; align-items: start; gap: clamp(36px, 5vw, 88px); padding: var(--top) var(--edge) 72px; min-height: 100%; }
.room__stage-wrap { position: sticky; top: var(--top); }
.room__stage { margin: 0; }
.room__frame { --ratio: .5625; position: relative; width: min(50vw, (100svh - var(--top) - 72px) * var(--ratio)); aspect-ratio: var(--ratio); border-radius: 18px; overflow: hidden; background: #0c0e11; box-shadow: 0 0 0 1px rgba(214, 228, 255, .26), 0 34px 90px rgba(0, 0, 0, .5), 0 0 70px rgba(190, 212, 255, .1); }
.room__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #0c0e11; }
.room__caption { margin-top: 14px; font: 600 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.room__body { padding-top: 4px; padding-bottom: 20px; }
.room__eyebrow { margin: 0 0 20px; font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.room__title { margin: 0; font: 500 clamp(46px, 5.2vw, 82px)/.95 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.room__kind { margin: 16px 0 0; font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint); }
.room__lead { margin: 30px 0 0; font: 400 17px/1.65 var(--sans); color: rgba(241, 242, 238, .84); max-width: 34em; text-wrap: pretty; }
.room__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 36px 0 0; }
.fact { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.fact__value { font: 500 clamp(34px, 3vw, 46px)/1 var(--serif); overflow-wrap: anywhere; }
.fact__label { margin: 8px 0 0; font: 600 10px/1.45 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.room__note { margin: 6px 0 0; font: italic 400 19px/1.45 var(--serif); color: var(--muted); }
.room__flow { margin: 44px 0 -8px; font: italic 400 23px/1.3 var(--serif); color: rgba(241, 242, 238, .82); }
.room__sections { margin-top: 12px; }
.strip { margin-top: 36px; }
.strip--compact { margin-top: 22px; }
.strip__title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.strip__count { font: 500 14px/1 var(--serif); letter-spacing: 0; color: var(--faint); }
.strip__items { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(214, 228, 255, .2) transparent; }
.thumb { --h: 150px; position: relative; flex: none; height: var(--h); width: clamp(84px, calc(var(--h) * var(--ratio)), 270px); padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #111418; cursor: pointer; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line); transition: transform 300ms var(--ease), box-shadow 300ms ease; }
.strip--compact .thumb { --h: 116px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease), opacity 300ms ease; }
.thumb:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-strong), 0 12px 30px rgba(0, 0, 0, .35); }
.thumb:hover img { transform: scale(1.04); }
.thumb[aria-current="true"] { box-shadow: 0 0 0 1.5px var(--glow), 0 0 24px rgba(190, 212, 255, .28); }
.thumb__tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 7px; border-radius: 999px; background: rgba(12, 14, 17, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 10px/1 var(--sans); letter-spacing: .06em; }
.thumb__tag::before { content: ""; width: 0; height: 0; border-left: 6px solid currentColor; border-block: 4px solid transparent; }
.chapter { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.chapter__num { margin: 0; font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.chapter__title { margin: 12px 0 0; font: 500 36px/1 var(--serif); }
.chapter__text { margin: 12px 0 0; font: 400 15px/1.6 var(--sans); color: var(--muted); max-width: 34em; }
.room__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.room__pager button { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line-strong); background: none; text-align: left; cursor: pointer; }
.room__pager button + button { text-align: right; align-items: flex-end; }
.room__pager small { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.room__pager span { font: 500 25px/1.05 var(--serif); transition: color 250ms ease; }
.room__pager button:hover span { color: #fff; }
.room__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.room__contact small { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); transition: color 250ms ease; }
.room__contact span { font: 500 clamp(30px, 3vw, 40px)/1 var(--serif); transition: color 250ms ease, text-shadow 250ms ease; }
.room__contact:hover span { color: #fff; text-shadow: 0 0 20px rgba(206, 224, 255, .4); }
.room__contact:hover small:last-child { color: var(--muted); }
.room__close { position: fixed; top: max(24px, env(safe-area-inset-top)); right: max(28px, env(safe-area-inset-right)); z-index: 2; }

/* Room choreography: the card lands on the stage, then the story rises in. */
.room__stage, .room__body > *, .room__sections, .room__close { opacity: 0; transition: opacity 450ms ease, transform 700ms var(--ease); }
.room__body > *, .room__sections { transform: translateY(22px); }
.room[data-state="open"] .room__veil { opacity: 1; }
.room[data-state="open"] .room__stage { opacity: 1; transition-delay: 260ms; }
.room[data-state="open"] .room__close { opacity: 1; transition-delay: 350ms; }
.room[data-state="open"] .room__body > *, .room[data-state="open"] .room__sections { opacity: 1; transform: none; }
.room[data-state="open"] .room__body > :nth-child(1) { transition-delay: 180ms; }
.room[data-state="open"] .room__body > :nth-child(2) { transition-delay: 230ms; }
.room[data-state="open"] .room__body > :nth-child(3) { transition-delay: 280ms; }
.room[data-state="open"] .room__body > :nth-child(4) { transition-delay: 330ms; }
.room[data-state="open"] .room__body > :nth-child(n+5) { transition-delay: 380ms; }
.room[data-state="closing"] .room__veil, .room[data-state="closing"] .room__stage, .room[data-state="closing"] .room__body > *, .room[data-state="closing"] .room__close { opacity: 0; transition-delay: 0ms; transition-duration: 300ms; }
.room[data-swapping="true"] .room__stage, .room[data-swapping="true"] .room__body > * { opacity: 0; transition-delay: 0ms; transition-duration: 200ms; }

@media (max-width: 900px) {
  :root { --edge: max(20px, env(safe-area-inset-left)); }
  .hud__tagline { display: none; }
  .brand__name { font-size: 19px; }
  .pill { min-height: 38px; padding: 0 14px; }
  .hint { font-size: 9.5px; letter-spacing: .12em; }
  .hint__long { display: none; }
  .hint__short { display: inline; }
  .hint__icon { flex: none; }
  .hud__actions { gap: 8px; }
  .lang { position: absolute; left: var(--edge); top: calc(max(26px, env(safe-area-inset-top)) + 46px); margin: 0; font-size: 10px; }
  .lang button { min-height: 34px; }
  .lang button:first-child { padding-left: 2px; }
  .socials { display: none; }
  .about__panel { padding-right: var(--edge); padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .about__title { font-size: clamp(36px, 10vw, 48px); }
  .room__grid { --top: max(76px, env(safe-area-inset-top)); grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 48px; }
  .room__stage-wrap { position: static; }
  .room__frame { width: min(100%, 64svh * var(--ratio)); margin-inline: auto; }
  .room__caption { text-align: center; }
  .room__title { font-size: clamp(40px, 11vw, 58px); }
  .room__lead { font-size: 16px; }
  .room__close kbd { display: none; }
  .thumb { --h: 124px; }
  .strip--compact .thumb { --h: 100px; }
  .room__pager span { font-size: 21px; }
}
@media (max-width: 480px) {
  .hud { gap: 12px; }
  .pill { padding: 0 12px; letter-spacing: .12em; }
  .about__links { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}
