/* Elisaveta (Lisa): one stage, six chapters. Without JavaScript the chapters stack as a still editorial page; with it the
   stage holds one chapter at a time over the 3D scene (or over her photograph when WebGL is not available). */
:root {
  --bg: #060505; --ink: #efe7dc; --dim: rgba(239, 231, 220, .7); --faint: rgba(239, 231, 220, .45); --line: rgba(239, 231, 220, .26);
  --gold: #c9a36b; --gold-soft: rgba(201, 163, 107, .55);
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif; --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(22px, 3.4vw, 48px); --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, ul, ol, blockquote { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--ink); color: var(--bg); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---- type ---- */
.count { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.count span { color: var(--gold); margin-right: .9em; font-variant-numeric: tabular-nums; }
.credit { font-family: var(--serif); font-weight: 500; font-size: 14px; letter-spacing: .5em; text-transform: uppercase; margin-top: 18px; }
.display { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(25px, 2.15vw, 32px); line-height: 1.14; margin: 14px 0 12px; text-wrap: balance; }
.lead { color: var(--dim); max-width: 38ch; text-wrap: pretty; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--ink); }
.photo-credit { margin-top: 14px; font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.copy h1 + .display { margin-top: 12px; }

/* ---- chrome ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 26px var(--pad) 0; pointer-events: none; }
.nav > * { pointer-events: auto; }
.brand { display: block; padding: 10px 0; }
.logo { height: 13px; width: auto; color: var(--ink); }
.nav-cta { background: none; border: 0; padding: 12px 0; cursor: pointer; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; border-bottom: 1px solid var(--line); line-height: 1; transition: border-color .2s var(--ease); }
.nav-cta:hover { border-color: var(--gold); }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 22px; border: 1px solid var(--gold-soft); background: transparent; cursor: pointer;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.btn:hover { border-color: var(--gold); background: rgba(201, 163, 107, .08); }
.link { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 6px; padding: 12px 0; }
.link:hover { text-decoration-color: var(--gold); }
.actions { display: flex; align-items: center; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.specs { margin-top: 20px; font-size: 11px; letter-spacing: .12em; color: var(--faint); max-width: 44ch; }
.specs span { white-space: nowrap; margin-right: .8em; }
.specs small { display: block; font-size: 10.5px; letter-spacing: .1em; margin-top: 4px; }

/* ---- the still page (no script): chapters stack ---- */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; display: none; z-index: 0; }
.shade { display: none; }
.chapter { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.chapter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,5,5,.94) 0%, rgba(6,5,5,.72) 32%, rgba(6,5,5,0) 62%); pointer-events: none; }
.copy { position: relative; z-index: 2; padding: 0 var(--pad) 72px; max-width: 520px; }
.reels { list-style: none; padding: 0; margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.reel { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #0d0b0b; }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .5s var(--ease); }
.reel.is-playing video { opacity: 1; }
.js .chapter:not(.is-active) .reels { visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
.reel span { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: 10px; letter-spacing: .08em; line-height: 1.3; color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.footer { position: relative; z-index: 2; }
.footer-id { font-size: 11px; letter-spacing: .08em; color: var(--faint); }
.footer-row { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; font-size: 11px; letter-spacing: .08em; color: var(--faint); }
.footer-row a { color: var(--dim); text-decoration: none; padding: 6px 0; }
.footer-row a:hover { color: var(--ink); }
.order { display: none; }

/* ---- the stage (script on) ---- */
.js body { overflow: hidden; height: 100svh; }
.js .chapters { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.js .chapter { position: absolute; inset: 0; min-height: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.js .chapter.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease) .35s, visibility 0s; }
.js .chapter::after { display: none; }
.js .chapter .copy, .js .chapter .footer { pointer-events: auto; }
.js .copy { position: absolute; left: var(--pad); bottom: 64px; width: min(400px, calc(100vw - 2 * var(--pad))); padding: 0; transform: translateY(10px); transition: transform 1.1s var(--ease) .35s; }
.js .chapter.is-active .copy { transform: none; }
.js .copy.is-setting { visibility: hidden; }
.js .shade { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 46vh; z-index: 5; pointer-events: none;
  background: linear-gradient(to top, rgba(6,5,5,.96) 0%, rgba(6,5,5,.82) 30%, rgba(6,5,5,.4) 62%, rgba(6,5,5,0) 100%); }
.js .shade::before { content: ''; position: absolute; left: 0; right: 0; top: calc(-54vh); height: 22vh; background: linear-gradient(to bottom, rgba(6,5,5,.7), rgba(6,5,5,0)); }
.js.webgl .stage { display: block; }
.js.webgl .plate { display: none; }
/* without WebGL: her photograph as the chapter's picture */
.js.no-webgl .plate { left: auto; right: 0; width: 52%; object-fit: cover; object-position: 50% 10%; }
.js .reels { position: fixed; right: var(--pad); top: 50%; transform: translateY(-56%); width: min(600px, 44vw); max-width: none; margin: 0; gap: 14px; }
.js .footer { position: absolute; left: var(--pad); right: 260px; bottom: 18px; }
.js #ch-enquiries .copy { bottom: 92px; }
.js .order { display: flex; position: fixed; right: var(--pad); bottom: 52px; z-index: 20; align-items: flex-end; }
.order ol { list-style: none; padding: 0; text-align: right; }
.order a { display: block; padding: 3px 0; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); text-decoration: none; transition: color .2s var(--ease); }
.order a span { color: var(--gold); opacity: .75; margin-right: 12px; font-variant-numeric: tabular-nums; }
.order a:hover { color: var(--ink); }
.order a[aria-current="true"] { color: var(--ink); }
.order a[aria-current="true"]::after { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: 12px; }
.order-step { display: none; }

/* ---- enquiry sheet (body level) ---- */
.sheet { width: min(620px, 100vw); max-width: 100vw; max-height: 100svh; margin: auto; padding: 0; border: 1px solid var(--line); background: #0b0a0a; color: var(--ink); overflow: auto; }
.sheet::backdrop { background: rgba(4, 4, 4, .78); }
.sheet-inner { position: relative; padding: 40px 40px 34px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--dim); }
.sheet-close:hover { color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.field-head { display: flex; justify-content: space-between; align-items: baseline; }
.field-count { font-size: 10.5px; color: var(--faint); }
.field-count.is-near { color: var(--gold); }
.field input, .field select, .field textarea, .dd-btn { width: 100%; min-height: 46px; padding: 11px 12px; background: #120f0f; border: 1px solid rgba(239,231,220,.18); color: var(--ink); font: inherit; font-size: 16px; border-radius: 0; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d98a7e; }
.field-error { font-size: 12px; color: #e8a597; }
.contact-row { display: flex; gap: 8px; }
.contact-row.is-email .dd { display: none; }
.dd { position: relative; flex: none; }
.dd-btn { width: auto; display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; }
.dd-iso { color: var(--dim); font-size: 12px; }
.dd-chev { width: 7px; height: 7px; border-right: 1px solid var(--dim); border-bottom: 1px solid var(--dim); transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.dd-pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; width: min(300px, 80vw); background: #120f0f; border: 1px solid var(--line); padding: 8px; }
.dd-search { width: 100%; min-height: 40px; padding: 8px 10px; background: #0b0a0a; border: 1px solid rgba(239,231,220,.18); color: var(--ink); font: inherit; font-size: 16px; }
.dd-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 220px; overflow: auto; }
.dd-opt { display: flex; gap: 10px; padding: 9px 8px; cursor: pointer; font-size: 14px; }
.dd-opt.is-active, .dd-opt:hover { background: rgba(201,163,107,.12); }
.dd-name { flex: 1; }
.dd-dial { color: var(--dim); }
.dd-empty { padding: 9px 8px; color: var(--faint); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--dim); }
.notice { font-size: 12px; color: var(--faint); }
.notice a { color: var(--dim); }
.form-success { grid-column: 1 / -1; }
.form.is-sent > :not(.form-success) { display: none; }
.prepaint { position: fixed !important; left: 0; top: 0; opacity: .001; pointer-events: none; }

/* ---- loader ---- */
.loader { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; align-content: center; gap: 26px; background: var(--bg); transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-stage { display: grid; justify-items: center; gap: 22px; }
.loader-lisa { width: min(300px, 62vw); height: auto; color: transparent; stroke: var(--gold); stroke-width: 7; stroke-dasharray: 5200; stroke-dashoffset: 5200; animation: draw 2.6s var(--ease) forwards, fillin .9s var(--ease) 2.2s forwards; }
.loader.is-quick .loader-lisa { animation-duration: 1s, .5s; animation-delay: 0s, .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { color: var(--ink); stroke-width: 0; } }
.loader-line { width: 120px; height: 1px; background: rgba(239,231,220,.15); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(.04); transition: transform .4s var(--ease); }
.loader-hint { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.loader-skip { position: absolute; right: var(--pad); bottom: 28px; background: none; border: 0; padding: 12px 0; cursor: pointer; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.loader { animation: loaderSafe 0s linear 6s forwards; }
@keyframes loaderSafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---- tablet portrait and phones ---- */
@media (max-width: 860px) {
  .js .reels { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: calc(64px + 210px); transform: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 2px; }
  .js .reel { flex: 0 0 31%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .nav { padding-top: 16px; }
  .logo { height: 11px; }
  .display { font-size: 24px; }
  .credit { font-size: 12.5px; letter-spacing: .3em; }
  .lead { max-width: 34ch; }
  .js .copy { left: 22px; right: 22px; width: auto; bottom: 76px; }
  .js #ch-enquiries .copy { bottom: 150px; }
  .js #ch-enquiries .photo-credit { display: none; }
  .footer-row { gap: 4px 16px; font-size: 10.5px; }
  .js .footer { left: 22px; right: 22px; bottom: 66px; }
  .js #ch-enquiries .footer-id { display: none; }
  .js .shade { height: 58vh; }
  .js .reels { bottom: calc(76px + 196px); }
  .js .reel { flex-basis: 38%; }
  .js .order { left: 0; right: 0; bottom: 0; justify-content: space-between; align-items: center; padding: 0 8px 10px; }
  .order ol li { display: none; }
  .order ol li:has(a[aria-current="true"]) { display: block; }
  .order a[aria-current="true"]::after { display: none; }
  .order a { padding: 12px 0; }
  .order-step { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--dim); }
  .order-step[aria-disabled="true"] { opacity: .3; }
  .js.no-webgl .plate { width: 100%; height: 68%; object-position: 50% 8%; }
  .sheet { width: 100vw; height: 100svh; max-height: 100svh; border: 0; }
  .sheet-inner { padding: 64px 22px 28px; }
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .chapter, .js .chapter.is-active, .js .copy { transition-duration: .35s; transition-delay: 0s; }
  .loader-lisa { animation: fillin .4s linear forwards; stroke-dashoffset: 0; }
}

/* ---- plain pages: privacy, terms, 404 ---- */
.plain { overflow: auto; height: auto; }
.plain-nav { display: flex; justify-content: space-between; align-items: center; padding: 26px var(--pad); border-bottom: 1px solid rgba(239,231,220,.08); }
.plain-main { padding: clamp(40px, 7vw, 96px) var(--pad); }
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; margin: 10px 0 18px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--dim); }
.legal ul { padding-left: 20px; display: grid; gap: 10px; margin-top: 12px; }
.legal .legal-updated { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.legal .legal-intro { font-size: 17px; color: var(--ink); }
.notfound { min-height: 56svh; display: grid; align-content: center; justify-items: start; gap: 18px; max-width: 720px; margin: 0 auto; }
.notfound .display { font-size: clamp(30px, 4vw, 46px); }
.plain-footer { padding: 36px var(--pad) 30px; border-top: 1px solid rgba(239,231,220,.08); display: grid; gap: 10px; }
