/* ==========================================================================
   Lit gallery block — "THE EMBRACE" + "FRESH"
   Hover over a painting = the gallery light turns on.

   Stacked layers, all the SAME size (the Figma band frame, 1440×922,
   exported at 1.5x = 2160×1383), so they register pixel-for-pixel:

     1. .lit-bg     the lit wall (light cones + plaster texture)   default: hidden
     2. .lit-dark   both paintings, unlit (cut out of the band)    default: visible
     3. .lit-light  both paintings, lit   (cut out of the band)    default: hidden

   Default state  : wall light OFF (page black shows through), paintings dim.
   Hover on a painting: wall fades in + lit paintings fade in on top.
   Pointer leaves : everything fades back to the default state.

   Figma frame numbers this block is built on (1440 design width):
     screen            W1440, padding top 80 / bottom 240, fill #000, clip content
     image frame       W1440 × H922, top 80 (=> bottom 847), left/right 0
       left painting   x 124, y 140, 475 × 634
       right painting  x 850, y 140, 427 × 634
     text frame left   W420 × H607, top 1002 (= 80 + 922), left 124 / right 896
     text frame right  W420 × H607, top 1002,              left 860 / right 160
   ========================================================================== */

:root{
  /* 1 design pixel. Scales linearly with the viewport below 1440 and stops
     growing above it, exactly like the 1440 Figma screen. */
  --px: calc(min(100vw, 1440px) / 1440);
  --lit-in: 0.7s;          /* light turning ON  */
  --lit-out: 0.6s;         /* light turning OFF */
  --lit-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*{ box-sizing: border-box; }
html{ background: #000; }
body{
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- screen frame ---------- */
.lit-block{
  /* per-block geometry (defaults = The Embrace / Fresh); every block overrides
     these inline from its own exported images */
  --hit-top: 15.1844%; --hit-h: 68.7636%;
  --hl-x: 8.6111%;  --hl-w: 32.9630%;
  --hr-x: 59.0278%; --hr-w: 29.6296%;
  --split-a: 46.3%; --split-b: 54.2%;
  --stage-l: -10.25%; --stage-r: -127.25%;
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-top: calc(var(--px) * 80);
  padding-bottom: calc(var(--px) * 240);
  background: #000;
  overflow: clip;                 /* Figma: "Clip content" is on */
}

/* ---------- the band: 3 registered layers ---------- */
.lit-scene{
  position: relative;
  width: 100%;
  aspect-ratio: 2160 / 1383;      /* = 1440 × 922 */
  isolation: isolate;
}
.lit-layer{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lit-bg,
.lit-light{
  opacity: 0;
  will-change: opacity;
  transition: opacity var(--lit-out) var(--lit-ease);
}
.lit-wall{ z-index: 0; }
.lit-bg{ z-index: 1; }
.lit-dark{ z-index: 2; }
.lit-light{ z-index: 3; }

/* The lit wall is one picture used twice: the left copy fades out towards the
   middle, the right copy fades in from it. The two alphas add up to exactly 1
   (the right copy is added with plus-lighter), so with both on you get the
   original wall, and with one on you get just that painting's light. */
.lit-bg--l{
  -webkit-mask-image: linear-gradient(90deg, #000 var(--split-a), transparent var(--split-b));
          mask-image: linear-gradient(90deg, #000 var(--split-a), transparent var(--split-b));
}
.lit-bg--r{
  -webkit-mask-image: linear-gradient(90deg, transparent var(--split-a), #000 var(--split-b));
          mask-image: linear-gradient(90deg, transparent var(--split-a), #000 var(--split-b));
  mix-blend-mode: plus-lighter;
}

/* light ON — left / right painting (classes are set by js/lit-gallery.js and last 30 s) */
.lit-scene.is-lit-l .lit-bg--l,
.lit-scene.is-lit-l .lit-light--l,
.lit-scene.is-lit-r .lit-bg--r,
.lit-scene.is-lit-r .lit-light--r{
  opacity: 1;
  transition-duration: var(--lit-in);
}

/* ---------- hover targets: exactly the two paintings ----------
   x / y / size are the painting rectangles measured on the 2160×1383 export
   (frame outer edge to frame outer edge). */
.lit-hit{
  position: absolute;
  z-index: 4;
  top:    var(--hit-top);         /* block 4: 210 / 1383 */
  height: var(--hit-h);           /* block 4: 951 / 1383 */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lit-hit--left { left: var(--hl-x); width: var(--hl-w); top: var(--hl-top, var(--hit-top)); height: var(--hl-h, var(--hit-h)); }
.lit-hit--right{ left: var(--hr-x); width: var(--hr-w); top: var(--hr-top, var(--hit-top)); height: var(--hr-h, var(--hit-h)); }

/* Wider than the 1440 design the band stays 1440 and centred; soften its
   side edges so the wall doesn't end in a hard vertical line. */
@media (min-width: 1441px){
  .lit-scene{
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
}

/* ---------- text frames (Figma: W420 × H607, top 1002) ---------- */
.lit-texts{
  display: flex;
  align-items: stretch;
  padding-left:  calc(var(--px) * 124);
  padding-right: calc(var(--px) * 160);
  gap: calc(var(--px) * 316);     /* 860 − (124 + 420) */
}
.lit-card{
  width: calc(var(--px) * 420);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* both cards of a pair stretch to the taller one, buttons line up */
  gap: calc(var(--px) * 96);      /* min. text → button gap: the button reads as secondary */
}
.lit-card-head{ display: block; }

.lit-title{
  margin: 0;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700;               /* SemiBold */
  width: calc(var(--px) * 356);
  font-size: calc(var(--px) * 48);
  line-height: 0.95;              /* 95% */
  letter-spacing: -0.0046em;      /* Figma -1% (+0.0054em: local Big Shoulders is a hair narrower) */
  text-transform: uppercase;
  color: #fff;                    /* opacity 100% */
}
.lit-sub{
  width: calc(var(--px) * 356);
  margin: calc(var(--px) * 8) 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;               /* Light */
  font-style: italic;
  font-size: calc(var(--px) * 16);
  line-height: 1.32;              /* 132% */
  letter-spacing: 0.01em;         /* 1% */
  opacity: 0.7;                   /* captions 70% */
}
.lit-text{
  margin: calc(var(--px) * 32) 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;               /* Light */
  font-size: calc(var(--px) * 16);
  line-height: 1.28;              /* 128% (desktop: 20px pitch, see end of file) */
  letter-spacing: 0.02em;         /* 2% */
  opacity: 0.7;                   /* card descriptions 70% */
}
.lit-text p{ margin: 0 0 calc(var(--px) * 20); }
.lit-text p:last-child{ margin-bottom: 0; }

.lit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: calc(var(--px) * 378);
  height: calc(var(--px) * 48);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700;
  font-size: calc(var(--px) * 24);
  line-height: 0.95;
  letter-spacing: 0.0354em;       /* Figma 3% (+0.0054em) */
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.lit-btn:hover{ background: #fff; color: #000; }

/* mobile-only stages are hidden on desktop */
.lit-stage{ display: none; }

/* ==========================================================================
   Stacked / mobile (≤ 980px): each painting gets its own stage — a window
   cut out of the same three layers around that painting — and the text sits
   under it. Tap a painting to switch its light on, tap again to switch off.
   ========================================================================== */
@media (max-width: 980px){
  .lit-block{ padding-top: 40px; padding-bottom: 80px; }
  .lit-scene{ display: none; }

  .lit-texts{
    flex-direction: column;
    padding: 0 var(--pad, 16px);
    gap: 56px;
  }
  .lit-card{ width: 100%; min-height: 0; justify-content: flex-start; gap: 0; }
  .lit-btn{ width: 100%; max-width: 378px; height: 48px; font-size: 22px; margin-top: 32px; }
  .lit-title{ font-size: 41.6px; width: auto !important; max-width: 100%; white-space: normal !important; overflow-wrap: break-word; }   /* 32px + 30% */   /* card titles sit one clear step below block headings */
  .lit-sub{ font-size: 16px; margin-top: 8px; width: auto; }
  .lit-text{ font-size: 15px; margin-top: 24px; }

  /* window: 600 × 790 design px around the painting, painting centred */
  .lit-stage{
    display: block;
    position: relative;
    width: calc(100% + 2 * var(--pad, 16px));
    margin: 0 calc(-1 * var(--pad, 16px)) 51px;
    aspect-ratio: var(--stage-ar, 600 / 790);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .lit-stage .lit-layer{
    inset: auto;
    top: var(--stage-t, 0%);
    width: 240%;                  /* 1440 / 600 */
    height: auto;
    aspect-ratio: 2160 / 1383;
  }
  .lit-stage--left  .lit-layer{ left: var(--stage-l); }
  .lit-stage--right .lit-layer{ left: var(--stage-r); }

  .lit-stage.is-lit .lit-bg,
  .lit-stage.is-lit .lit-light{ opacity: 1; transition-duration: var(--lit-in); }
}



/* Point of No Return: the paintings were re-hung in Figma after the images were exported.
   Registered cutouts are shifted per painting (+16/+20 and +7/+20 design px, scale 1). */
@media (min-width: 981px){
  .lit-block--series .lit-scene .lit-dark--l{ clip-path: inset(0 49.7% 0 0); transform: translate(1.1111%, 2.1692%); }
  .lit-block--series .lit-scene .lit-dark--r{ clip-path: inset(0 0 0 50.3%); transform: translate(0.4861%, 2.1692%); }
  .lit-block--series .lit-scene .lit-light--l{ transform: translate(1.1111%, 2.1692%); }
  .lit-block--series .lit-scene .lit-light--r{ transform: translate(0.4861%, 2.1692%); }
}
@media (max-width: 980px){
  .lit-block--series .lit-scene .lit-dark--r{ display: none; }
}

/* ==========================================================================
   Series block ("Point of No Return"): this Figma frame carries its own series
   heading (padding 240 / 240), a 1440 × 978 band (as in Figma) and two W378 text frames at
   x = 160 and x = 902. The registered 1440 × 922 layers sit at the top of the
   band; the last 56px of the band is plain black.
   ========================================================================== */
.lit-block--series{ padding-top: calc(var(--px) * 240); }
.lit-series-head{
  padding: 0 calc(var(--px) * 80);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: calc(var(--px) * 8);
}
.lit-eyebrow{
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: calc(var(--px) * 40);
  line-height: 1.022;
  color: #7671a8;                 /* was #4d4977, +17.5% lightness (contrast on black 2.5 -> 4.7) */
  text-transform: capitalize;
  white-space: nowrap;
}
.lit-series-title{
  margin: 0;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700;
  font-size: calc(var(--px) * 124);
  line-height: 0.95;
  letter-spacing: -0.0246em;        /* Figma -3% (+0.0054em) */
  text-transform: uppercase;
  color: #fff;
  width: calc(var(--px) * 1131);
}
@media (min-width: 981px){
  .lit-block--series .lit-scene{ aspect-ratio: 1440 / 978; overflow: hidden; }
  .lit-block--series .lit-layer{ height: 94.2740%; }   /* 922 / 978 */
  .lit-block--series .lit-texts{
    padding-left:  calc(var(--px) * 160);
    padding-right: calc(var(--px) * 160);
    gap: calc(var(--px) * 364);     /* 902 − (160 + 378) */
    margin-top: 0;
  }
  .lit-block--series .lit-card{ width: calc(var(--px) * 378); }
  .lit-block--series .lit-sub{ margin-top: 0; }
}
@media (max-width: 980px){
  .lit-block--series{ padding-top: 80px; }
  .lit-series-head{ padding: 0 var(--pad, 16px); margin-bottom: 40px; }
  .lit-eyebrow{ font-size: 28.8px; white-space: normal; }   /* 24px + 20%; wraps on narrow phones */
  .lit-series-title{ font-size: clamp(72px, 22.5vw, 144px); width: auto; letter-spacing: -0.03em; }
  .lit-block--series .lit-sub{ margin-top: 0; }
}


/* ==========================================================================
   Hero (first screen): one painting on the right, its own light.
   Figma frame 1440 × 1303, padding 56 / 80 / 180, content justified between:
   [ logo 90 | text column 570 ]  ...  [ nav column 415 ].
   The registered lit-wall / dark / lit layers are the whole frame (2160 × 1955
   @1.5x) and sit behind the text.
   ========================================================================== */
.hero{
  --hit-top: 0; --hl-x: 65.6481%; --hl-w: 28.8426%;
  --split-a: 100%; --split-b: 100.1%;           /* one painting: the whole wall lights */
  --stage-l: -142.15%; --stage-t: -56.4368%; --stage-ar: 600 / 870;   /* taller window (+70 above and below the painting): the lit wall can fade out softly */
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: calc(var(--px) * 1301);
  margin-inline: auto;
  padding: calc(var(--px) * 56) calc(var(--px) * 80) calc(var(--px) * 180);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #000;
  overflow: clip;
}
.hero .lit-scene{
  position: absolute; inset: 0; width: 100%; height: auto; aspect-ratio: auto;
  z-index: 0;
}
.hero .lit-scene .lit-layer{ inset: 0 auto auto 0; height: auto; }
/* the 3 hero exports are 1.5× crops of the 1440 frame:  dark 2160 × 1994 (= 1440 × 1329), lit 2552 × 1994 (= 1701 × 1329) */
.hero .lit-scene .lit-dark{ width: 100%; aspect-ratio: 2160 / 1994; }
.hero .lit-scene .lit-light{ width: 118.1481%; aspect-ratio: 2552 / 1994; }
.hero .lit-hit{
  top: calc(var(--px) * 629.6);
  height: calc(var(--px) * 591.4);
}
.hero-main, .hero-nav{ position: relative; z-index: 5; }
.hero-main{ display: flex; gap: calc(var(--px) * 64); align-items: flex-start; }
.hero-logo{
  display: block; flex: none;
  width: calc(var(--px) * 90); height: calc(var(--px) * 58.5);
}
.hero-logo .eyes-base{ height: calc(var(--px) * 52.5); }
.hero-col{
  width: calc(var(--px) * 570);
  display: flex; flex-direction: column; gap: calc(var(--px) * 88);
}
.hero-head{ display: flex; flex-direction: column; gap: calc(var(--px) * 8); }
.hero .lit-eyebrow{ white-space: normal; }
.hero-title{
  margin: 0;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700;
  font-size: calc(var(--px) * 160);
  line-height: 0.95;
  letter-spacing: -0.03em;              /* -4.8px */
  text-transform: uppercase;
  color: #fff;
}
.hero-text{
  width: calc(var(--px) * 514);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: calc(var(--px) * 18);
  line-height: 1.28;
  letter-spacing: 0.01em;               /* 0.18px */
  color: #fff;
  opacity: 0.7;
}
.hero-text p{ margin: 0 0 calc(var(--px) * 23); }   /* the empty line between paragraphs */
.hero-text p:last-child{ margin-bottom: 0; }

.hero-nav{
  width: calc(var(--px) * 415);
  padding-top: calc(var(--px) * 60);
  display: flex; flex-direction: column; gap: calc(var(--px) * 32);
}
.hero-links{ display: flex; flex-direction: column; gap: calc(var(--px) * 8); }
.hero-pill{
  display: flex; align-items: center; justify-content: center;
  height: calc(var(--px) * 62);
  padding: 0 calc(var(--px) * 24);
  border: 1px solid #fff; border-radius: 48px;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700; font-size: calc(var(--px) * 32); line-height: 0.95;
  text-transform: uppercase; text-decoration: none; color: #fff;
  transition: background .2s ease, color .2s ease;
}
.hero-pill:hover{ background: #fff; color: #000; }
.hero-lang{
  display: flex; align-items: center; justify-content: center; gap: calc(var(--px) * 4);
  height: calc(var(--px) * 48);
  padding-right: calc(var(--px) * 8);
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 48px;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700; font-size: calc(var(--px) * 24); line-height: 0.95;
  letter-spacing: 0.01em; text-transform: uppercase; color: #fff;
}
.hero-lang a{ color: inherit; text-decoration: none; display: flex; align-items: center; justify-content: center; height: 100%; }
.hero-lang .is-on{ width: calc(var(--px) * 238); border: 1px solid #fff; border-radius: 48px; padding: calc(var(--px) * 8) calc(var(--px) * 24); }
.hero-lang .is-off{ flex: 1 0 0; opacity: 0.2; padding: calc(var(--px) * 8); }
.hero-stage-wrap{ display: none; }
@media (max-width: 980px){
  .hero{
    flex-direction: column; gap: 32px; min-height: 0;
    padding: 32px var(--pad, 16px) 80px;
  }
  .hero-main, .hero-col{ display: contents; }   /* logo, headline, painting, text and menu become one column, ordered below */
  .hero-logo{ order: 1; } .hero-head{ order: 2; } .hero-stage-wrap{ order: 3; } .hero-text{ order: 4; } .hero-nav{ order: 5; }
  .hero-logo{ width: 90px; height: 58.5px; }
  .hero-logo .eyes-base{ height: auto; }   /* desktop height is in design px: on a phone let the 960:559 ratio decide */
  .hero-col{ width: 100%; gap: 32px; }
  .hero-title{ font-size: clamp(84px, 25.5vw, 180px); }
  .hero .lit-eyebrow{ font-size: 28.8px; }
  .hero-text{ width: 100%; font-size: 16px; }
  .hero-text p{ margin-bottom: 20px; }
  .hero-stage-wrap{ display: block; width: 100%; }
  .hero-stage-wrap .lit-stage{ margin-bottom: 0; }
  .hero .lit-stage .lit-dark{ width: 240%; aspect-ratio: 2160 / 1994; }
  .hero .lit-stage .lit-light{ width: 283.5556%; aspect-ratio: 2552 / 1994; }
  .hero .lit-scene{ display: none; }
  .hero-nav{ width: 100%; padding-top: 0; }
  .hero-pill{ font-size: 28px; height: 56px; padding: 0 24px; }
  .hero-lang{ height: 48px; font-size: 22px; }
  .hero-lang .is-on{ width: 58%; }
}

/* ───────── Artist's Statement (Figma 150:437, 1440 × 2827) ───────── */
.statement{
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  height: calc(var(--px) * 2827);
  background: #000; color: #fff; overflow: clip;
}
.st-col{
  position: absolute; left: calc(var(--px) * 734); top: calc(var(--px) * 240);
  width: calc(var(--px) * 570);
  display: flex; flex-direction: column; gap: calc(var(--px) * 80);
}
.st-title, .st-quote{
  margin: 0;
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700; font-size: calc(var(--px) * 124);
  line-height: 0.95; letter-spacing: -0.025em;
  text-transform: uppercase; color: #fff;
}
.st-text{
  width: calc(var(--px) * 514);
  font-family: "Inter", sans-serif; font-weight: 400;
  font-size: calc(var(--px) * 18); line-height: 1.28; letter-spacing: 0.01em;
  opacity: 0.7;
}
.st-text p{ margin: 0 0 calc(var(--px) * 23); }
.st-text p:last-child{ margin-bottom: 0; }
.st-photo{ position: absolute; margin: 0; overflow: hidden; background: #111; }
.st-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.st-photo--a{ left: calc(var(--px) * 80);  top: calc(var(--px) * 240);  width: calc(var(--px) * 596); height: calc(var(--px) * 980); }
.st-photo--b{ left: calc(var(--px) * 797); top: calc(var(--px) * 1187); width: calc(var(--px) * 563); height: calc(var(--px) * 986); }
.st-quote{ position: absolute; left: calc(var(--px) * 80); top: calc(var(--px) * 1406); width: calc(var(--px) * 687); }
.st-quote em{ font-style: normal; color: #4d4977; }
@media (min-width: 981px){ .st-quote{ white-space: nowrap; } }
@media (max-width: 980px){ .st-br{ display: none; } }
@media (max-width: 980px){
  .statement{
    height: auto; display: flex; flex-direction: column; gap: 32px;
    padding: 80px var(--pad, 16px);
  }
  .st-col{ display: contents; }
  .st-title{ font-size: clamp(84px, 25.5vw, 180px); order: 1; }
  .st-text{ width: 100%; font-size: 16px; order: 2; }
  .st-text p{ margin-bottom: 20px; }
  .st-photo{ position: static; width: 100%; height: auto; }
  .st-photo--a{ order: 3; aspect-ratio: 596 / 980; }
  .st-quote{ position: static; width: 100%; order: 4; margin-top: 24px; font-size: clamp(48px, 14vw, 100px); }
  .st-photo--b{ order: 5; aspect-ratio: 563 / 986; }
}

/* ───────── Single-painting series screen: "The Human Condition" / Unbecoming (Figma 150:447, 1440 × 1918) ─────────
   The registered 1592 × 1392 scene (exported at 1.5×) sits at x −383 / y 533; the left 382px are hidden by the
   screen edge, so the exports are cropped to the visible 1210 px. Painting frame: x 127 / y 718, 618.67 × 877.33. */
.ser{
  --hit-top: 13.2663%; --hit-h: 63.0268%;
  --hl-x: 10.5785%; --hl-w: 51.1295%;
  --split-a: 100%; --split-b: 100.1%;
  --stage-l: -4.66%; --stage-t: -12.47%; --stage-ar: 800 / 1000;
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  --shift: 120;   /* painting + text block pulled up 120 design px: less dead space under the title */
  height: calc(var(--px) * (1918 - var(--shift)));
  background: #000; color: #fff; overflow: clip;
}
.ser-head{
  position: absolute; z-index: 5;
  left: calc(var(--px) * 80); top: calc(var(--px) * 240); width: calc(var(--px) * 1280);
  display: flex; flex-direction: column; gap: calc(var(--px) * 8);
}
.ser .lit-series-title{ width: calc(var(--px) * 1068); }
.ser .lit-scene{
  position: absolute; z-index: 0;
  left: calc(var(--px) * -1); top: calc(var(--px) * (533 - var(--shift)));
  width: calc(var(--px) * 1210); aspect-ratio: 1815 / 2088;
}
.ser-card{
  position: absolute; z-index: 5;
  left: calc(var(--px) * 912.54); top: calc(var(--px) * (981 - var(--shift)));
  width: calc(var(--px) * 347);
  display: flex; flex-direction: column; gap: calc(var(--px) * 180);   /* Figma: text → button 180 */
}
.ser-card .lit-title{ width: calc(var(--px) * 356); }
.ser-card .lit-text{ width: 100%; }
.ser .lit-series-title{ letter-spacing: -0.0246em; }
.ser-card .lit-btn{ width: 100%; height: calc(var(--px) * 47); }
@media (max-width: 980px){
  .ser{
    height: auto; display: flex; flex-direction: column;
    padding: 80px var(--pad, 16px) 80px;
  }
  .ser-head{ position: static; width: auto; margin-bottom: 40px; }
  .ser .lit-series-title{ width: auto; font-size: clamp(72px, 22.5vw, 144px); }
  .ser .lit-scene{ display: none; }
  .ser .lit-stage{ -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); }
  .ser .lit-stage .lit-layer{ width: 151.25%; aspect-ratio: 1815 / 2088; }
  .ser-card{ position: static; width: 100%; gap: 32px; }
  .ser-card .lit-text{ width: auto; }
  .ser-card .lit-btn{ max-width: 378px; height: 48px; }
}


/* ───────── Section dividers (Figma "Vector 204": a 1px line between every pair of sections, 1440 wide) ───────── */
:root{ --rule: rgba(255,255,255,0.16); }
#en > section::before, #en > footer::before{
  content: ""; position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 1px;
  background: var(--rule); pointer-events: none;
}

/* ───────── Collect the Artwork (Figma 150:645: py 240, px 80, icons left / text column right) ───────── */
.collect{
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: calc(var(--px) * 240) calc(var(--px) * 80);
  display: flex; justify-content: space-between; align-items: flex-start;
  background: #000; color: #fff;
}
.collect-icons{ display: flex; gap: calc(var(--px) * 8); align-items: center; }
.collect-icon{
  display: block; flex: none; width: calc(var(--px) * 124); height: calc(var(--px) * 124);
  border-radius: 50%; color: inherit;
}
.collect-icon img{ display: block; width: 100%; height: 100%; }
.collect-col{ width: calc(var(--px) * 676); display: flex; flex-direction: column; gap: calc(var(--px) * 80); }
.collect-title{
  margin: 0; font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700; font-size: calc(var(--px) * 160); line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; color: #fff;
}
.collect-text{
  width: calc(var(--px) * 419);
  font-family: "Inter", sans-serif; font-weight: 400;
  font-size: calc(var(--px) * 18); line-height: 1.28; letter-spacing: 0.01em; opacity: 0.7;
}
.collect-text p{ margin: 0 0 calc(var(--px) * 23); }
.collect-text p:last-child{ margin-bottom: 0; }
@media (max-width: 980px){
  .collect{ flex-direction: column-reverse; gap: 48px; padding: 80px var(--pad, 16px); }
  .collect-col{ width: 100%; gap: 32px; }
  .collect-title{ font-size: clamp(84px, 25.5vw, 180px); }
  .collect-text{ width: 100%; font-size: 16px; }
  .collect-text p{ margin-bottom: 20px; }
  .collect-icons{ gap: 8px; }
  .collect-icon{ width: calc((100vw - 2 * var(--pad, 16px) - 24px) / 4); height: calc((100vw - 2 * var(--pad, 16px) - 24px) / 4); }
}

/* ───────── Footer (Figma 150:660: pt 112 / pb 64 / px 80, logo 120 × 69.84, nav 648 wide) ───────── */
.foot{
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: calc(var(--px) * 112) calc(var(--px) * 80) calc(var(--px) * 64);
  display: flex; justify-content: space-between; align-items: center;
  background: #000; color: #fff;
}
.foot-logo{ display: block; flex: none; width: calc(var(--px) * 120); height: calc(var(--px) * 69.84); }
.foot-logo .eyes{ height: 100%; }
.foot-nav{ width: calc(var(--px) * 1064); display: flex; align-items: stretch; gap: calc(var(--px) * 11); }
.foot-pill, .foot-lang a{
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif;
  font-weight: 700; font-size: calc(var(--px) * 32); line-height: 0.95;
  text-transform: uppercase; text-decoration: none; color: #fff; white-space: nowrap;
}
.foot-pill{
  flex: none; width: calc(var(--px) * 331); height: calc(var(--px) * 62);
  display: flex; align-items: center; justify-content: center;
  padding: 0 calc(var(--px) * 24);
  border: 1px solid #fff; border-radius: 48px;
  transition: background .2s ease, color .2s ease;
}
.foot-pill:hover{ background: #fff; color: #000; }
.foot-lang{
  flex: none; width: calc(var(--px) * 380); height: calc(var(--px) * 62);
  display: flex; align-items: stretch; gap: calc(var(--px) * 4);
  padding-right: calc(var(--px) * 8);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 48px;
}
.foot-lang a{ display: flex; align-items: center; justify-content: center; }
.foot-lang .is-on{ flex: none; width: calc(var(--px) * 229); padding: calc(var(--px) * 8) calc(var(--px) * 24); border: 1px solid #fff; border-radius: 48px; }
.foot-lang .is-off{ flex: none; width: calc(var(--px) * 139); padding: calc(var(--px) * 8); opacity: 0.2; }
@media (max-width: 980px){
  .foot{ flex-direction: column; align-items: flex-start; gap: 40px; padding: 64px var(--pad, 16px) 40px; }
  .foot-logo{ width: 120px; height: 69.84px; }
  .foot-nav{ width: 100%; flex-wrap: wrap; gap: 8px; }
  .foot-pill{ flex: 1 1 100%; height: 56px; font-size: 28px; }
  .foot-lang{ flex: 1 1 100%; width: auto; height: 56px; }
  .foot-lang a{ font-size: 28px; }
  .foot-lang .is-off{ width: 64px; }
}

@media (prefers-reduced-motion: reduce){
  .lit-bg, .lit-light{ transition-duration: 0.01s !important; }
}

/* exact Figma heights on desktop (avoid sub-pixel drift that would shift everything below by a pixel) */
@media (min-width: 981px){
  .hero{ height: calc(var(--px) * 1301); min-height: 0; }   /* 1221 (painting frame bottom) + 80 */
  .collect{ height: calc(var(--px) * 979); }
  .lit-block--series .lit-series-head{ height: calc(var(--px) * 167); }
}

/* hard line breaks that reproduce the Figma text wrapping on desktop only */
@media (max-width: 980px){ br.d{ display: none; } }


/* Figma text frames are laid out on a 23px line pitch (18px type, 128% → 23.04, frame heights are n × 23) */
@media (min-width: 981px){
  .hero-text, .st-text, .collect-text{ line-height: calc(var(--px) * 23); }
}

@media (min-width: 981px){
  .hero-text p, .st-text p, .collect-text p{ white-space: nowrap; }
  .hero-text{ width: calc(var(--px) * 560); } .st-text{ width: calc(var(--px) * 560); } .collect-text{ width: calc(var(--px) * 500); }
  .hero-title{ letter-spacing: -0.0246em; }
  .collect-title{ letter-spacing: -0.0246em; }
}

/* Figma text metrics: display type sits 1px lower and is a hair wider than the local font renders it */
@media (min-width: 981px){
  .lit-eyebrow, .lit-title, .lit-series-title, .hero-title, .collect-title{ position: relative; top: calc(var(--px) * 1); }
  .st-title, .st-quote{ transform: translateY(calc(var(--px) * 1)); }
  .lit-btn{ padding-top: calc(var(--px) * 2); }
  .lit-title{ letter-spacing: -0.0038em; }
  .lit-btn{ letter-spacing: 0.0362em; }
  .lit-series-title, .ser .lit-series-title, .hero-title, .collect-title{ letter-spacing: -0.0238em; }
  .st-title, .st-quote{ letter-spacing: -0.0238em; }
}

@media (min-width: 981px){
  .lit-text{ line-height: calc(var(--px) * 20); }   /* Figma 128% of 16 = 20.48, laid out as 20 (text frames are n × 20 tall) */
}

@media (max-width: 980px){
  .lit-text p{ margin-bottom: 16px; }
  .lit-text p:last-child{ margin-bottom: 0; }
}

/* Inter, cyrillic subset (RU) — local dev only; the published page loads it from Google Fonts */
/* ───────── Interactive logo: the pupils follow the cursor (js/eyes.js sets --ex / --ey in px) ─────────
   Sprite geometry comes from the 960 × 559 logo export: pupil boxes 115 × 105 at (125, 228) and 127 × 104 at (381, 227). */
.eyes{ position: relative; display: block; width: 100%; aspect-ratio: 960 / 559; }
.eyes-base{ display: block; width: 100%; height: auto; }
.eyes-p{
  position: absolute; display: block; height: auto; max-width: none; pointer-events: none;
  transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0);
  will-change: transform;
}
.eyes-fx{ display: none; }
.eyes-p--l{ left: 13.0208%; top: 40.7871%; width: 11.9792%; }
.eyes-p--r{ left: 39.6875%; top: 40.6082%; width: 13.2292%; }


/* phone hint: a pill centred on every painting */
.tap-hint{ display: none; }
@media (max-width: 980px){
  .tap-hint{
    display: inline-flex; align-items: center; gap: 8px;
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    padding: 11px 18px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(0,0,0,.55);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: #fff; font: 300 16px/1 "Inter", system-ui, sans-serif; letter-spacing: .02em;
    white-space: nowrap; pointer-events: none; z-index: 5;
    transition: opacity .4s ease;
  }
  /* Russian stages: centre on the painting inside the oversized image */
  .rpm > .tap-hint{ left: calc(var(--dl) + var(--dw) / 2); top: calc(var(--dt) + var(--dh) / 2); }
  .tap-hint::before{
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
    animation: tap-pulse 1.8s ease-in-out infinite;
  }
  .hint-done > .tap-hint, .hint-done .tap-hint{ opacity: 0; }
}
@keyframes tap-pulse{ 0%,100%{ opacity: .35; transform: scale(.8); } 50%{ opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce){ .tap-hint::before{ animation: none; } }

/* the logo's moods (js/emotions.js) */
.eyes{ transform-origin: 20% 50%; }
.eyes-fx{ display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }

/* safety net: if a webfont is slow or blocked, wide fallback text must not make the phone page scroll sideways */
html, body{ overflow-x: clip; }

/* ───────── Phone: language switch as a real segmented control (hero + footer, same in EN and RU) ─────────
   two equal 50% segments, 56px high (the same as the pills above it), the current language is a solid
   white segment with dark text and aria-current; the other one stays readable (75% white, not 20%). */
@media (max-width: 980px){
  .hero-lang, .foot-lang{
    display: flex; align-items: stretch; justify-content: stretch; gap: 4px;
    width: 100%; height: 56px; padding: 4px; box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.4); border-radius: 48px;
    font-size: 24px; letter-spacing: 0.01em;
  }
  .hero-lang a, .foot-lang a{
    flex: 1 1 0; width: auto; height: auto; min-width: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 48px; font-size: 24px;
    color: rgba(255,255,255,0.75); opacity: 1;
    transition: background .2s ease, color .2s ease;
  }
  .hero-lang .is-on, .foot-lang .is-on, .hero-lang .is-off, .foot-lang .is-off{ flex: 1 1 0; width: auto; padding: 0; opacity: 1; }
  .hero-lang .is-on, .foot-lang .is-on{ border: 0; background: #fff; color: #000; }
  .hero-lang .is-off:active, .foot-lang .is-off:active{ background: rgba(255,255,255,0.18); color: #fff; }
  .hero-lang a:focus-visible, .foot-lang a:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
  .foot-lang{ flex: 1 1 100%; }
}

/* ───────── Mini-navigation (js/minimap.js) ───────── */
.mm{ position: fixed; z-index: 50; margin: 0; opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.mm[hidden]{ display: none; }
.mm.is-on{ opacity: 1; pointer-events: auto; }
.mm ul{ list-style: none; margin: 0; padding: 0; }
.mm a{ color: #fff; text-decoration: none; font-family: "Inter", system-ui, sans-serif; }
.mm a:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* desktop: ticks on the right edge, the current name always visible, the others on hover */
@media (min-width: 981px){
  .mm{ right: 28px; top: 50%; transform: translate(12px, -50%); }
  .mm.is-on{ transform: translate(0, -50%); }
  .mm ul{ display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .mm a{ display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 28px; padding: 0 2px; }
  .mm-t{
    font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
    padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.6);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease;
  }
  .mm-k{ display: block; width: 14px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.4); transition: width .25s ease, background .25s ease; }
  .mm a:hover .mm-t, .mm a:focus-visible .mm-t, .mm a[aria-current] .mm-t{ opacity: 1; transform: none; }
  .mm.is-idle:not(:hover) a[aria-current]:not(:focus-visible) .mm-t{ opacity: 0; transform: translateX(6px); transition-duration: .6s; }   /* out of the way of the text while nobody scrolls */
  .mm a:hover .mm-k, .mm a:focus-visible .mm-k{ background: #fff; width: 22px; }
  .mm a[aria-current] .mm-k{ background: #fff; width: 30px; }
}
@media (max-width: 980px){ .mm{ display: none !important; } }   /* phones get the bottom pill (.mp) instead of the rail */

/* ───────── Cursor label near the first-screen painting (js/cursor-hint.js) ───────── */
.cursor-tip{
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; font: 300 14px/1 "Inter", system-ui, sans-serif; letter-spacing: .02em;
  opacity: 0; transition: opacity .2s ease;
}
.cursor-tip.is-on{ opacity: 1; }
@media (max-width: 980px){ .cursor-tip{ display: none; } }

/* ==========================================================================
   Status + price line (variant A): chip · price, under the caption, above the text.
   Data is placeholder until real prices are supplied (ru/price.py).
   ========================================================================== */
.price-line{
  display: flex; align-items: center; flex-wrap: wrap; gap: calc(var(--px) * 12);
  margin-top: calc(var(--px) * 14);
  font-family: "Inter", sans-serif; font-size: calc(var(--px) * 16); line-height: 1; color: #fff;
}
.price-line b{ font-weight: 600; letter-spacing: .01em; }
.price-line .pl-dot{ opacity: .45; }
.pl-st{
  display: inline-flex; align-items: center; gap: calc(var(--px) * 8);
  padding: calc(var(--px) * 7) calc(var(--px) * 12);
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  font-weight: 500; font-size: calc(var(--px) * 13); letter-spacing: .02em; line-height: 1;
}
.pl-st i{ display: block; width: calc(var(--px) * 8); height: calc(var(--px) * 8); border-radius: 50%; background: #4cd08a; }
.pl-res i{ background: #f0b24a; }
.pl-sold i{ background: #8a8a95; }
.pl-sold{ color: rgba(255,255,255,.7); }
.lit-card-head .price-line + .lit-text{ margin-top: calc(var(--px) * 24); }
@media (max-width: 980px){
  .price-line{ gap: 12px; margin-top: 14px; font-size: 15px; }
  .pl-st{ gap: 8px; padding: 7px 12px; font-size: 13px; }
  .pl-st i{ width: 8px; height: 8px; }
  .lit-card-head .price-line + .lit-text{ margin-top: 20px; }
}

/* ==========================================================================
   Helpers that follow the page (js/minimap.js): section label pill + sheet (phones), contact tab, back-to-top.
   Phones: label bottom-left, back-to-top bottom-right (only when scrolling up), contacts as a tab on the right edge.
   ========================================================================== */
.mp[hidden], .mc[hidden], .mu[hidden]{ display: none !important; }
.mp, .mc, .mu{ font-family: "Inter", system-ui, sans-serif; color: #fff; -webkit-tap-highlight-color: transparent; }
.mp button, .mc button, .mu{ font: inherit; color: inherit; cursor: pointer; }
.mp :focus-visible, .mc :focus-visible, .mu:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }
.mu{
  position: fixed; z-index: 55; width: 48px; height: 48px; border-radius: 50%; padding: 0;
  display: grid; place-items: center;
  background: rgba(14,14,18,.78); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(10px) scale(.92); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s ease, color .2s ease;
}
.mu:hover{ background: #fff; color: #000; }
.mc-img{ display: block; width: 34px; height: 34px; border-radius: 50%; }

@media (min-width: 981px){
  .mp{ display: none; }
  .mu{ right: 28px; bottom: 28px; }
  .mu.is-on{ opacity: 1; transform: none; pointer-events: auto; }
  .mc{
    position: fixed; z-index: 55; right: 28px; bottom: 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px;
    background: rgba(14,14,18,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 28px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.45);
    opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
  }
  .mc.is-on{ opacity: 1; transform: none; pointer-events: auto; }
  .mc-tog{ display: none; }
  .mc-col{ display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .mc-i{ display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: transform .2s ease; }
  .mc-i:hover{ transform: scale(1.1); }
  .mc-more{ display: grid; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .25s ease; }
  .mc.is-more .mc-more{ max-height: 120px; opacity: 1; }
}

@media (max-width: 980px){
  body{ padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mu{ right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .mu.is-on.is-up{ opacity: 1; transform: none; pointer-events: auto; }

  /* label pill: progress ring with the section number + name; the name folds away while nobody scrolls */
  .mp{ position: fixed; z-index: 55; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
  .mp.is-on{ opacity: 1; pointer-events: auto; }
  .mp-pill{
    display: flex; align-items: center; height: 48px; padding: 0 14px 0 8px; max-width: calc(100vw - 16px * 2 - 48px - 12px);
    background: rgba(14,14,18,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.45);
    font-size: 14px; font-weight: 500; line-height: 1; transition: padding .4s ease;
  }
  .mp-ring{ flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: conic-gradient(#fff calc(var(--p, 0) * 1%), rgba(255,255,255,.22) 0); }
  .mp-num{ display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #101014;
    font: 500 13px/1 "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 0, "WONK" 0; }
  .mp-name{ margin-left: 10px; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: max-width .4s ease, margin .4s ease, opacity .3s ease; }
  .mp-chev{ display: flex; margin-left: 8px; opacity: .7; max-width: 16px; overflow: hidden; transition: max-width .4s ease, margin .4s ease, opacity .3s ease; }
  .mp.is-idle:not(.is-open) .mp-pill{ padding-right: 8px; }
  .mp.is-idle:not(.is-open) .mp-name{ max-width: 0; margin-left: 0; opacity: 0; }
  .mp.is-idle:not(.is-open) .mp-chev{ max-width: 0; margin-left: 0; opacity: 0; }

  .mp-scrim{ position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  .mp.is-open .mp-scrim{ opacity: 1; pointer-events: auto; }
  .mp-sheet{
    position: fixed; z-index: 71; left: calc(8px + env(safe-area-inset-left, 0px)); right: calc(8px + env(safe-area-inset-right, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    max-height: min(78vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 10px;
    background: rgba(16,16,20,.94); border: 1px solid rgba(255,255,255,.14); border-radius: 28px;
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 -10px 50px rgba(0,0,0,.6);
    transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .42s cubic-bezier(.2,.85,.2,1), visibility 0s .42s;
  }
  .mp.is-open .mp-sheet{ transform: none; visibility: visible; transition-delay: 0s; }
  html.mp-lock{ overflow: hidden; }
  html.mp-lock .mu, html.mp-lock .mc{ opacity: 0 !important; pointer-events: none !important; }
  .mp-head{ position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 4px 4px 16px; touch-action: none; }
  .mp-grab{ position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: rgba(255,255,255,.28); }
  .mp-title{ font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
  .mp-x{ display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; border-radius: 50%; }
  .mp-list{ list-style: none; margin: 0; padding: 0; }
  .mp-item{
    display: grid; grid-template-columns: 34px 1fr 10px; align-items: center; gap: 6px; min-height: 56px; padding: 0 18px; border-radius: 18px;
    color: #fff; text-decoration: none; font-size: 18px; line-height: 1.2; font-weight: 400; transition: background .15s ease;
  }
  .mp-item:active{ background: rgba(255,255,255,.16); }
  .mp-n{ font: 300 15px/1 "Fraunces", Georgia, serif; color: #9591cf; letter-spacing: .02em; }
  .mp-dot{ width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0; }
  .mp-item[aria-current]{ background: rgba(255,255,255,.1); font-weight: 500; }
  .mp-item[aria-current] .mp-dot{ opacity: 1; }

  /* contacts: a tab on the right edge = [vertical label strip | icons].
     scrolling: only the label strip peeks out; the scroll stops: the whole tab slides in for a few seconds; then it rests as the strip again.
     A tap on the strip opens everything (4 contacts) until the next scroll / tap elsewhere. */
  .mc{
    position: fixed; z-index: 55; right: 0; bottom: calc(16px + 48px + 14px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: stretch; width: 74px;
    background: rgba(14,14,18,.78); border: 1px solid rgba(255,255,255,.16); border-right: 0; border-radius: 22px 0 0 22px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.45);
    opacity: 0; transform: translateX(100%); pointer-events: none; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  }
  .mc.is-on{ opacity: .85; transform: translateX(calc(100% - 28px)); pointer-events: auto; }      /* the strip only */
  .mc.is-on.is-idle:not(.is-rest), .mc.is-on.is-more{ opacity: 1; transform: none; }              /* settled / opened */
  .mc-tog{ flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 28px; padding: 10px 0; border: 0; background: none; }
  .mc-lab{ writing-mode: vertical-rl; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: .9; }
  .mc-tog::after{ content: "+"; font-size: 15px; line-height: 1; opacity: .7; }
  .mc.is-more .mc-tog::after{ content: "\2013"; }
  .mc-col{ flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; padding: 4px 0 6px; }
  .mc-i{ display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
  .mc-i:active .mc-img{ transform: scale(.92); }
  .mc-more{ display: grid; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .25s ease; }
  .mc.is-more .mc-more{ max-height: 120px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .mp, .mp *, .mc, .mu, .mp-sheet, .mp-scrim{ transition: none !important; }
}

/* ==========================================================================
   v34 tweaks (desktop EN + shared)
   ========================================================================== */
@media (min-width: 981px){
  /* hero: painting lifted ~170 design px, closer to the buttons — the eyes land above the fold */
  .hero{ height: calc(var(--px) * 1200); }   /* text column is taller now that it is narrower */
  .hero-text{ margin-top: calc(var(--px) * -40); }
  .hero .lit-scene{ inset: calc(var(--px) * -165) 0 auto 0; }
  /* hero + statement copy: a column a couple of words narrower, wraps naturally */
  .hero-text, .st-text{ width: calc(var(--px) * 452); }
  .hero-text p, .st-text p{ white-space: normal; text-wrap: pretty; }
  .hero-text, .st-text, .collect-text{ opacity: .75; }
  /* single-painting screens: button closer to the description */
  .ser-card{ gap: calc(var(--px) * 112); }
  /* painting cards: +1px copy, caption fainter, button further away */
  .lit-text{ font-size: calc(var(--px) * 17); line-height: calc(var(--px) * 21); }
  .lit-sub{ opacity: .63; }
  .lit-card{ gap: calc(var(--px) * 124); }
  /* last two-painting screen: copy right under the paintings */
  .lit-block--series[aria-label^="Point of No Return"] .lit-texts{ margin-top: calc(var(--px) * -200); }
  /* side rail: contacts and the arrow share one width */
  .mu{ width: 56px; height: 56px; right: 28px; }
  .mc{ padding: 5px; bottom: 100px; }
}

/* unlit light layers are fully hidden (no invisible composited layers left over: guards against stray hairline seams on some GPUs) */
.lit-bg, .lit-light, .rp-l, .rh-l{ visibility: hidden; transition-property: opacity, visibility; }
.lit-scene.is-lit-l .lit-bg--l,
.lit-scene.is-lit-l .lit-light--l,
.lit-scene.is-lit-r .lit-bg--r,
.lit-scene.is-lit-r .lit-light--r,
.lit-stage.is-lit .lit-bg,
.lit-stage.is-lit .lit-light,
.rband.is-lit-l .rp--l .rp-l,
.rband.is-lit-r .rp--r .rp-l,
.rband.is-lit-l .rh-l,
.rstage.is-lit .rp-l,
.rstage--hero.is-lit .rh-l{ visibility: visible; }

/* ==========================================================================
   v34 tweaks (phone, EN + shared)
   ========================================================================== */
@media (max-width: 980px){
  :root{ --rule: rgba(255,255,255,.2); }
  .hero-text, .st-text, .collect-text{ font-size: 17px; }
  .st-quote{ font-size: calc(clamp(48px, 14vw, 100px) + 3px); }
  .lit-text{ font-size: 16px; }
  .lit-sub{ opacity: .63; }
  .lit-btn{ margin-top: 48px; }
  .ser-card .lit-btn{ margin-top: 16px; }
  /* thin 20% rule between the paintings of one block (blocks themselves are separated by the section rule) */
  .lit-card + .lit-card{ position: relative; }
  .lit-card + .lit-card::before{ content: ""; position: absolute; left: calc(-1 * var(--pad, 16px)); right: calc(-1 * var(--pad, 16px)); top: -28px; height: 1px; background: rgba(255,255,255,.2); pointer-events: none; }
  /* nav: digits in Big Shoulders Display SC */
  .mp-num, .mp-n{ font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif; font-weight: 700; font-variation-settings: normal; }
  .mp-num{ font-size: 16px; letter-spacing: .01em; }
  .mp-n{ font-size: 19px; color: #9591cf; letter-spacing: .03em; }
  /* scrub: the row under the finger */
  .mp-item{ -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  .mp-item.is-hl{ background: rgba(255,255,255,.2); transform: scale(1.015); }
  .mp-sheet.is-scrub{ overscroll-behavior: none; }
}
@media (max-width: 980px){
  /* last two-painting screen: the copy sits right under its painting */
  .lit-block--series[aria-label^="Point of No Return"] .lit-stage{ margin-bottom: -4px; }
  #ru section[aria-label="Точка невозврата"] .rstage{ margin-bottom: 4px; }
}

/* ==========================================================================
   v35 (phone, EN)
   ========================================================================== */
@media (max-width: 980px){
  .hero-text, .st-text, .collect-text{ opacity: .63; }
  .lit-text{ font-size: 17px; opacity: .63; }
  .lit-sub{ opacity: .6; }
  .lit-btn{ height: 56px; font-size: 26px; }
  .ser-card .lit-btn{ height: 56px; }
  .st-quote{ font-size: calc(clamp(48px, 14vw, 100px) + 7px); }
  /* hero: soft top/bottom fade of the window (the lit wall used to end on a hard line), painting nearer to the headline, air above the menu */
  .hero .lit-stage{ -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
  .hero-stage-wrap{ margin-top: -108px; margin-bottom: -44px; }
  .hero-head{ position: relative; z-index: 3; }
  .hero-nav{ margin-top: 36px; }
  /* Point of No Return: heading closer to its first painting */
  .lit-block--series[aria-label^="Point of No Return"] .lit-series-head{ margin-bottom: 0; }
  .lit-block--series[aria-label^="Point of No Return"] .lit-card:first-child .lit-stage{ margin-top: -84px; }
}
@media (max-width: 980px){
  .lit-block .lit-stage .lit-light, .ser .lit-stage .lit-light{ filter: drop-shadow(0 3px 12px rgba(0,0,0,.6)); }
}

/* ==========================================================================
   v36 (EN + shared)
   ========================================================================== */
@media (min-width: 981px){
  /* first screen: description column +2 words */
  .hero-text{ width: calc(var(--px) * 575); }
  /* single-painting screens: copy nearer the painting, wider column */
  .ser-card{ left: calc(var(--px) * 872); width: calc(var(--px) * 430); }
  /* painting descriptions: 10% fainter, a hair heavier, airier */
  .lit-text{ opacity: .63; letter-spacing: .035em; -webkit-text-stroke: .1px currentColor; }
}
@media (max-width: 980px){
  /* last two-painting screen: heading and card heads stay above the stage windows */
  .lit-series-head, .lit-card-head{ position: relative; z-index: 3; }
  .lit-block--series .lit-stage{ -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
  .lit-block--series[aria-label^="Point of No Return"] .lit-card:first-child .lit-stage{ margin-top: -56px; }
  .lit-block--series[aria-label^="Point of No Return"] .lit-stage{ margin-bottom: 0; }
  /* first screen: painting nearer to the description */
  .hero-stage-wrap{ margin-bottom: -76px; }
}
/* Point of No Return (desktop): paintings sit higher on the wall, so the cast shadow reads naturally */
@media (min-width: 981px){
  .lit-block--series .lit-scene .lit-dark--l{ transform: translate(1.1111%, 0.4%); }
  .lit-block--series .lit-scene .lit-dark--r{ transform: translate(0.4861%, 0.4%); }
  .lit-block--series .lit-scene .lit-light--l{ transform: translate(1.1111%, 0.4%); }
  .lit-block--series .lit-scene .lit-light--r{ transform: translate(0.4861%, 0.4%); }
}

/* ==========================================================================
   "Acquire" dialog (js/acquire.js): the painting, lit and static, on its wall; its caption underneath; the ask and the contact buttons beside it
   ========================================================================== */
html.aq-lock{ overflow: hidden; }
.aq{ position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s; }
.aq.is-open{ opacity: 1; visibility: visible; }
.aq-scrim{ position: absolute; inset: 0; background: rgba(0,0,0,.84); }
.aq-box{
  position: relative; display: flex; align-items: stretch; width: min(1000px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; overflow: hidden;
  font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  transform: translateY(12px) scale(.985); transition: transform .26s cubic-bezier(.2,.7,.2,1);
}
.aq.is-open .aq-box{ transform: none; }
.aq-x{ position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 0; }
.aq-x svg{ display: block; }
.aq-x:hover, .aq-x:focus-visible{ background: #fff; color: #000; outline: none; }
/* left: the painting on its wall, caption underneath */
.aq-art{ flex: 0 0 46%; display: flex; flex-direction: column; background: #000; min-width: 0; overflow-y: auto; }
.aq-stage{ position: relative; flex: none; width: 100%; aspect-ratio: var(--stage-ar, 600 / 790); overflow: hidden; isolation: isolate; background: #000; pointer-events: none; user-select: none; }
.aq-stage .lit-layer{ position: absolute; inset: auto; top: var(--stage-t, 0%); width: 240%; height: auto; aspect-ratio: 2160 / 1383; max-width: none; display: block; opacity: 1; visibility: visible; will-change: auto; transition: none; }
.aq-stage .lit-bg, .aq-stage .lit-light{ opacity: 1; visibility: visible; }
.aq-stage .lit-light{ filter: drop-shadow(0 3px 12px rgba(0,0,0,.6)); }
.aq-stage--left .lit-layer{ left: var(--stage-l); }
.aq-stage--right .lit-layer{ left: var(--stage-r); }
.aq-stage--ser .lit-layer{ width: 151.25%; aspect-ratio: 1815 / 2088; }
.aq-stage::after{ content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #000 0, transparent 8%, transparent 86%, #000 100%); }
.aq-cap{ position: relative; z-index: 2; padding: 6px 32px 32px; }
.aq-name{ margin: 0; font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 32px; line-height: .98; letter-spacing: -0.005em; }
.aq-sub{ margin: 8px 0 0; font-style: italic; font-weight: 300; font-size: 14.5px; line-height: 1.3; opacity: .6; }
.aq-price{ margin-top: 12px; }
/* right: the ask, the buttons, the reassurance */
.aq-body{ flex: 1 1 0; min-width: 0; padding: 56px 44px 40px 36px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.aq-title{ margin: 0; font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 52px; line-height: .98; letter-spacing: -0.015em; color: #fff; }
.aq-text{ margin: 22px 0 0; font-weight: 300; font-size: 16px; line-height: 1.45; letter-spacing: .02em; opacity: .75; max-width: 420px; }
.aq-links{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.aq-ico{ display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 14px 0 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; min-width: 0; }
.aq-ico img{ flex: none; display: block; width: 40px; height: 40px; }
.aq-ico-t{ font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 2px; }
.aq-ico:hover, .aq-ico:focus-visible{ background: #fff; color: #000; border-color: #fff; outline: none; }
.aq-ship{ list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 300; font-size: 14px; line-height: 1.3; letter-spacing: .02em; opacity: .6; }
.aq-ship li{ display: flex; align-items: center; gap: 10px; }
.aq-ship li::before{ content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #7671a8; }
.aq[lang="ru"] .aq-name, .aq[lang="ru"] .aq-title, .aq[lang="ru"] .aq-ico-t{ font-family: "Oswald", Impact, sans-serif; }
.aq[lang="ru"] .aq-name{ font-weight: 500; letter-spacing: -0.02em; }
.aq[lang="ru"] .aq-title{ font-weight: 500; letter-spacing: -0.02em; font-size: 46px; }
.aq[lang="ru"] .aq-ico-t{ font-weight: 500; font-size: 19px; letter-spacing: .01em; }
@media (max-width: 760px){
  .aq{ padding: 12px; align-items: flex-end; }
  .aq-box{ flex-direction: column; overflow-y: auto; width: 100%; max-height: calc(100dvh - 24px); border-radius: 24px; }
  .aq-art{ flex: none; overflow: visible; }
  .aq-cap{ padding: 0 20px 8px; }
  .aq-body{ flex: none; overflow: visible; padding: 20px 20px 28px; justify-content: flex-start; }
  .aq-title{ font-size: 42px; }
  .aq[lang="ru"] .aq-title{ font-size: 36px; }
  .aq-name{ font-size: 28px; }
  .aq-ico{ gap: 8px; padding: 0 8px 0 6px; }
  .aq-ico img{ width: 36px; height: 36px; }
  .aq-ico-t{ font-size: 17px; letter-spacing: .01em; }
  .aq[lang="ru"] .aq-ico-t{ font-size: 16px; }
}
@media (prefers-reduced-motion: reduce){ .aq, .aq-box{ transition: none; } }

/* Always-present fixed overlays no longer use backdrop-filter: it re-samples the page behind them on every scroll,
   which on some GPUs / zoom levels leaves 1px hairlines in the black areas. Solid, slightly denser fills instead. */
.mm-t, .mu, .mc, .mp-pill, .mp-scrim, .mp-sheet, .cursor-tip, .tap-hint{ -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mm-t{ background: rgba(0,0,0,.82); }
.mu, .mc, .mp-pill{ background: rgba(14,14,18,.92); }
.lit-bg, .lit-light, .rp-l, .rh-l{ will-change: auto; }

/* ==========================================================================
   v37 (EN + shared)
   ========================================================================== */
.rs--hero .hm{ display: none; }
@media (min-width: 981px){
  /* first / second screen and footer copy: 10% fainter; footer copy 2 words wider */
  .hero-text, .st-text, .collect-text{ opacity: .675; }
  .collect-text{ width: calc(var(--px) * 640); }
  .collect-text p{ white-space: normal; text-wrap: pretty; }
  /* painting copy: 2px smaller, tighter tracking; caption 1px smaller and 5% fainter, a little more air under the title */
  .lit-text{ font-size: calc(var(--px) * 15); line-height: calc(var(--px) * 19); letter-spacing: .025em; }
  .lit-sub{ font-size: calc(var(--px) * 15); opacity: .6; margin-top: calc(var(--px) * 12); }
  .lit-block--series .lit-sub{ margin-top: calc(var(--px) * 4); }
}
@media (max-width: 980px){
  .st-quote{ font-size: calc(clamp(48px, 14vw, 100px) + 11px); }
}
@media (max-width: 345px){
  .aq-ico{ gap: 6px; padding: 0 6px 0 4px; }
  .aq-ico img{ width: 32px; height: 32px; }
  .aq-ico-t, .aq[lang="ru"] .aq-ico-t{ font-size: 14px; letter-spacing: 0; }
}

/* ==========================================================================
   v38 (EN + shared): dialog edges and phone hierarchy
   ========================================================================== */
/* the wall photo fades into the black on all four sides - no visible seam where the image ends */
.aq-stage::after{ z-index: 6;
  background:
    linear-gradient(180deg, #000 0, rgba(0,0,0,0) 9%, rgba(0,0,0,0) 84%, #000 100%),
    linear-gradient(90deg, #000 0, rgba(0,0,0,.6) 4%, rgba(0,0,0,0) 17%, rgba(0,0,0,0) 80%, rgba(0,0,0,.6) 92%, #000 100%);
}
@media (max-width: 760px){
  .aq-box{ border-radius: 26px; }
  /* 1 painting · 2 what it is and what it costs · 3 the ask · 4 contacts · 5 reassurance - each in its own band of air */
  .aq-cap{ padding: 0 24px 28px; }
  .aq-name{ font-size: 30px; }
  .aq-sub{ margin-top: 8px; font-size: 14px; }
  .aq-price{ margin-top: 16px; }
  .aq-body{ padding: 28px 24px 36px; border-top: 1px solid rgba(255,255,255,.1); margin: 0; }
  .aq-title{ font-size: 36px; }
  .aq[lang="ru"] .aq-title{ font-size: 31px; }
  .aq-text{ margin-top: 14px; font-size: 15px; line-height: 1.5; opacity: .7; max-width: none; }
  /* contacts: four round buttons with a quiet label, not four heavy pills */
  .aq-links{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
  .aq-ico{ flex-direction: column; justify-content: flex-start; gap: 10px; height: auto; padding: 0; border: 0; border-radius: 16px; background: none; text-align: center; }
  .aq-ico img{ width: 58px; height: 58px; }
  .aq-ico-t, .aq[lang="ru"] .aq-ico-t{ max-width: 100%; font-size: 14px; letter-spacing: .06em; padding-top: 0; opacity: .85; }
  .aq-ico:hover, .aq-ico:focus-visible{ background: none; color: #fff; }
  .aq-ico:active img{ opacity: .7; }
  .aq-ship{ margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); gap: 10px; font-size: 13.5px; opacity: .65; }
}
@media (max-width: 345px){
  .aq-links{ gap: 2px; }
  .aq-ico img{ width: 50px; height: 50px; }
  .aq-ico-t, .aq[lang="ru"] .aq-ico-t{ font-size: 12px; letter-spacing: .03em; }
  .aq-body{ padding: 24px 18px 32px; } .aq-cap{ padding: 0 18px 24px; }
}
@media (max-width: 760px){ .aq[lang="ru"] .aq-ico-t{ font-size: 13px; letter-spacing: .02em; } }
@media (max-width: 345px){ .aq[lang="ru"] .aq-ico-t{ font-size: 11.5px; letter-spacing: 0; } }
@media (max-width: 980px){
  /* "the Artwork" is glued (no hanging article): the title is sized so the longer line fits the column */
  .collect-title{ font-size: min(clamp(84px, 25.5vw, 180px), calc((100vw - 2 * var(--pad, 16px)) / 4.2)); }
}

/* ==========================================================================
   Russian version (Figma frame 150:97, 1440 × 23087.84)
   Same lit-gallery mechanic as the English page; every block has its own
   geometry, so the desktop layout is absolute, in design pixels (--px).
   ========================================================================== */
html[data-lang="ru"] #en{ display: none; }
html:not([data-lang="ru"]) #ru{ display: none; }

#ru{ background: #000; color: #fff; font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#ru *{ box-sizing: border-box; }
#ru img{ display: block; max-width: none; }
#ru a{ color: inherit; text-decoration: none; }

.rs{
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  height: calc(var(--px) * var(--H)); background: #000; overflow: hidden;
}
.rs::before{
  content: ""; position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 1px;
  background: var(--rule, rgba(255,255,255,0.16)); pointer-events: none;
}
.rs--first::before{ display: none; }
.ra{
  position: absolute; margin: 0;
  left: calc(var(--px) * var(--x, 0)); top: calc(var(--px) * var(--y, 0));
  width: calc(var(--px) * var(--w)); height: calc(var(--px) * var(--h));
}

/* ---------- type ---------- */
.eyebrow{
  font-family: "Literata", Georgia, serif; font-weight: 300; color: #7671a8; white-space: nowrap;
  font-size: calc(var(--px) * 38); line-height: calc(var(--px) * 39); letter-spacing: 0;
}
.h-xl, .h-l, .h-m{
  margin: 0; font-family: "Oswald", Impact, sans-serif; font-weight: 400; color: #fff; text-transform: uppercase;
}
.h-xl{ font-size: calc(var(--px) * 112); line-height: calc(var(--px) * 116.48); letter-spacing: -0.05em; }
.h-l { font-size: calc(var(--px) * 96);  line-height: calc(var(--px) * 99.84); letter-spacing: -0.02em; }
.h-m { font-weight: 500; font-size: calc(var(--px) * 32);  line-height: calc(var(--px) * 33);  letter-spacing: -0.05em; }
.pu{ color: #4d4977; }
.t18{ font-weight: 400; font-size: calc(var(--px) * 18); line-height: calc(var(--px) * 23); letter-spacing: 0.01em; opacity: 0.7; }
.t18 p{ margin: 0 0 calc(var(--px) * 23); }
.t16{ font-weight: 300; font-size: calc(var(--px) * 16); line-height: calc(var(--px) * 20); letter-spacing: 0.02em; opacity: 0.7; }
.t16 p{ margin: 0 0 calc(var(--px) * 20); }
.t16i{ margin: 0; font-weight: 300; font-style: italic; font-size: calc(var(--px) * 16); line-height: calc(var(--px) * 21); letter-spacing: 0.01em; opacity: 0.7; font-feature-settings: "calt" 0; }
.t18 p:last-child, .t16 p:last-child{ margin-bottom: 0; }

/* ---------- pills / buttons ---------- */
.rpill, .rbtn, .rfpill{
  display: flex; align-items: center; justify-content: center; color: #fff;
  border-radius: 48px; box-shadow: inset 0 0 0 1px #fff;
  font-family: "Oswald", Impact, sans-serif; text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
#ru .rpill:hover, #ru .rbtn:hover, #ru .rfpill:hover, #ru .rpill:focus-visible, #ru .rbtn:focus-visible, #ru .rfpill:focus-visible{ background: #fff; color: #000; }
.rpill{ height: calc(var(--px) * 62); font-weight: 400; font-size: calc(var(--px) * 30); line-height: calc(var(--px) * 30); letter-spacing: 0.01em; }
.rbtn{ font-weight: 500; font-size: calc(var(--px) * 24); line-height: calc(var(--px) * 25); letter-spacing: -0.03em; width: 100%; height: calc(var(--px) * 48); padding-top: calc(var(--px) * 1); }
.rfpill{ font-weight: 400; font-size: calc(var(--px) * 30); line-height: calc(var(--px) * 30); letter-spacing: 0.01em; }

/* ---------- language toggle ---------- */
.rtog{
  display: flex; align-items: stretch; width: 100%; height: 100%;
  border-radius: 48px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
  font-family: "Big Shoulders Display SC", "Big Shoulders Display", "Oswald", Impact, sans-serif; font-weight: 700;
  text-transform: uppercase; color: #fff;
  padding-left: calc(var(--px) * 6); gap: calc(var(--px) * 4);
}
.rtog a{ display: flex; align-items: center; justify-content: center; padding-top: calc(var(--px) * 1); }
.rtog .off{ flex: none; opacity: 0.2; cursor: pointer; }
.rtog .on{ flex: 1 0 0; border-radius: 48px; box-shadow: inset 0 0 0 1px #fff; }
.rtog--hero{ height: calc(var(--px) * 48); font-size: calc(var(--px) * 24); line-height: 0.95; letter-spacing: 0.01em; }
.rtog--hero .off{ width: calc(var(--px) * 165); }
.rtog--foot{ font-size: calc(var(--px) * 32); line-height: 0.95; letter-spacing: 0; padding-left: 0; }
.rtog--foot .off{ width: calc(var(--px) * 159); }
.rnav{ display: flex; flex-direction: column; gap: calc(var(--px) * 8); }
.rnav .rtog{ margin-top: calc(var(--px) * 24); }
.rfoot-tog{ }

/* ---------- lit paintings ---------- */
.rband{ position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--px) * 1000); isolation: isolate; }
.rs--ser .rband{ height: 100%; }
.rs--pair{ height: auto; }
.rs--pair .rband{ height: calc(var(--px) * var(--bh, 978)); }
.rp{
  position: absolute; left: calc(var(--px) * var(--x)); top: calc(var(--px) * var(--y));
  width: calc(var(--px) * var(--w)); height: calc(var(--px) * var(--h)); pointer-events: none;
}
.rp img{ position: absolute; user-select: none; -webkit-user-drag: none; }
.rp-d{ left: var(--dl); top: var(--dt); width: var(--dw); height: var(--dh); }
.rp-l{ left: 0; top: 0; width: 100%; height: 100%; opacity: 0; will-change: opacity; transition: opacity var(--lit-out, .6s) var(--lit-ease, cubic-bezier(.4,0,.2,1)); }
.rband.is-lit-l .rp--l .rp-l,
.rband.is-lit-r .rp--r .rp-l,
.rband.is-lit-l .rh-l{ opacity: 1; transition-duration: var(--lit-in, .7s); }
/* hero: the whole 1440 × 1329 frame — dark wall, and the lit wall crossfading over it */
.rband--hero{ height: 100%; }
.rh-d, .rh-l{ position: absolute; left: 0; top: 0; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.rh-d{ width: 100%; aspect-ratio: 2160 / 1994; }
.rh-l{ width: 118.1481%; aspect-ratio: 2552 / 1994; opacity: 0; will-change: opacity; transition: opacity var(--lit-out, .6s) var(--lit-ease, cubic-bezier(.4,0,.2,1)); }
.rfade{
  position: absolute; background: #000; pointer-events: none;
  left: calc(var(--px) * var(--x)); top: calc(var(--px) * var(--y));
  width: calc(var(--px) * var(--w)); height: calc(var(--px) * var(--h));
  filter: blur(calc(var(--px) * var(--b)));
}
.rhit{
  position: absolute; z-index: 4; cursor: pointer; -webkit-tap-highlight-color: transparent;
  left: calc(var(--px) * var(--x)); top: calc(var(--px) * var(--y));
  width: calc(var(--px) * var(--w)); height: calc(var(--px) * var(--h));
}
.rstage{ display: none; }
.rph{ overflow: hidden; background: #111; }
.rph img{ width: 100%; height: 100%; object-fit: cover; }
.rcard{ display: flex; flex-direction: column; align-items: stretch; }
.rcard-main{ display: block; }
.rcard-head{ display: flex; flex-direction: column; gap: calc(var(--px) * 8); width: calc(var(--px) * 356); }
.rcard .t16{ margin-top: calc(var(--px) * 32); }
/* 1px under the Figma frame: the page's Inter is a hair narrower than Figma's, so a line that just overflowed there must also wrap here */
.rcard--ser .t16{ width: calc(var(--px) * 377); }
.rcard--pair .t16{ width: calc(var(--px) * 419); }
.rcard .rbtn{ flex: none; }
/* single-painting series: card sits beside the painting, text → button 180 */
.rcard--ser{ position: absolute; left: calc(var(--px) * var(--x)); top: calc(var(--px) * var(--y)); width: calc(var(--px) * var(--w)); gap: calc(var(--px) * 180); z-index: 5; }
/* two paintings: both cards stretch to the taller one so the buttons line up; ≥ 96 between text and button */
.rrow{ position: relative; z-index: 5; display: flex; align-items: stretch; padding: 0 calc(var(--px) * 160) calc(var(--px) * 240); gap: calc(var(--px) * 280); }
.rcard--pair{ width: calc(var(--px) * 420); justify-content: space-between; gap: calc(var(--px) * 96); }
.ricons{ display: contents; }
.ricon{ display: block; border-radius: 50%; }
.ricon img{ width: 100%; height: 100%; }
.rlogo .eyes{ width: 100%; }
.rhero-only{ }

/* ---------- phones / narrow ---------- */
@media (max-width: 980px){
  .rs{ height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 56px var(--pad, 16px); }
  .rs--first{ padding-top: 32px; }
  .rs--foot{ gap: 32px; padding: 56px var(--pad, 16px) 40px; }
  .ra{ position: static; width: auto; height: auto; left: auto; top: auto; }
  .rband{ display: none; }
  .eyebrow{ font-size: 28.8px; line-height: 1.1; white-space: normal; overflow-wrap: break-word; }   /* 24px + 20%; the name wraps on narrow phones */
  .h-xl{ font-size: clamp(66px, 20.1vw, 144px); line-height: 1.04; }
  .rs--hero > .h-xl{ font-size: min(16.1vw, 115px, calc((100vw - 2 * var(--pad, 16px)) / 6.95)); font-weight: 500; line-height: 1.05; }   /* hero: −20% (the longest word «Символическая» has no hyphen, so it caps the size to the line), a touch bolder */
  .h-l, .rs--collect .h-xl:not(.rquote){ font-size: clamp(33px, 10vw, 72px); line-height: 1.08; }   /* block headings: −50% */
  .h-m{ font-size: 30px; line-height: 1.1; }   /* card titles: one clear step below block headings */
  .t18{ font-size: 15px; line-height: 1.45; }
  .t18 p{ margin-bottom: 20px; white-space: normal; }
  .t16{ font-size: 14px; line-height: 1.5; }
  .t16 p{ margin-bottom: 16px; }
  .t16i{ font-size: 13.5px; line-height: 1.35; }
  br.d{ display: none; }
  .rpill{ height: 52px; font-size: 21px; }
  .rbtn, .rfpill{ width: 100%; height: 52px; font-size: 21px; }
  .rnav{ gap: 8px; }
  .rnav .rtog{ margin-top: 16px; }
  /* language switch: the same segmented control as in the English version */
  .rtog, .rtog--hero, .rtog--foot{
    height: 56px; padding: 4px; gap: 4px; box-sizing: border-box; font-size: 24px; line-height: 0.95; letter-spacing: 0.01em;
    box-shadow: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 48px;
  }
  .rtog a, .rtog--hero .off, .rtog--foot .off, .rtog .off, .rtog .on{
    flex: 1 1 0; width: auto; min-width: 0; padding: 0; border-radius: 48px; box-shadow: none; opacity: 1;
    color: rgba(255,255,255,0.75); transition: background .2s ease, color .2s ease;
  }
  #ru .rtog .off{ color: rgba(255,255,255,0.75); }
  #ru .rtog .on{ background: #fff; color: #000; }
  #ru .rtog .off:active{ background: rgba(255,255,255,0.18); color: #fff; }
  .rtog a:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
  .rfoot-tog{ width: 100%; }
  .rlogo{ width: 120px; height: 69.84px; }
  .rs--hero .rlogo{ width: 90px; height: 58.5px; }
  .rs--hero > .rlogo{ order: 1; } .rs--hero > .eyebrow{ order: 2; } .rs--hero > .h-xl{ order: 3; } .rs--hero > .rstage--hero{ order: 4; } .rs--hero > .t18{ order: 5; } .rs--hero > .rnav{ order: 6; }
  .rcard, .rcard--ser, .rcard--pair{ display: flex; flex-direction: column; gap: 0; position: static; width: auto; }
  .rrow{ display: flex; flex-direction: column; margin-top: 0 !important; padding: 0; gap: 56px; }
  .rs--pair{ gap: 56px; }
  .rcard-head{ width: auto; gap: 8px; margin-top: 8px; }
  .rcard .t16, .rcard--ser .t16, .rcard--pair .t16{ margin-top: 20px; width: auto; }
  .rcard-head{ width: auto; }
  .rcard .rbtn{ margin-top: 32px; max-width: 378px; height: 46px; font-size: 18px; }
  .rph{ position: static; width: 100%; height: auto; }
  .rph img{ height: auto; }
  .rquote{ font-size: clamp(32px, 10.5vw, 72px); line-height: 1.04; }
  .ricons{ display: flex; gap: 8px; }
  .ricon{ width: calc((100vw - 2 * var(--pad, 16px) - 24px) / 4); height: calc((100vw - 2 * var(--pad, 16px) - 24px) / 4); flex: none; }
  .rs--collect .t18{ margin-bottom: 8px; }
  .rs--st{ gap: 28px; }

  /* tap-to-light stage: a window around the painting */
  .rstage{
    display: block; position: relative; width: calc(100% + 2 * var(--pad, 16px)); margin: 0 calc(-1 * var(--pad, 16px)) 67px;
    aspect-ratio: var(--ar); overflow: hidden; isolation: isolate; cursor: pointer; -webkit-tap-highlight-color: transparent;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .rpm{
    position: absolute; left: var(--pl); top: var(--pt); width: var(--pw); aspect-ratio: var(--pa);
  }
  .rpm img{ position: absolute; }
  .rstage.is-lit .rp-l{ opacity: 1; transition-duration: var(--lit-in, .7s); }
  .rs--hero .rstage{ margin-top: 12px; }
  .rstage--hero{ aspect-ratio: 600 / 870; margin-top: 12px; margin-bottom: 20px; }   /* taller window: the lit wall fades out softly instead of ending on a line */
  .rstage--hero .rh-d, .rstage--hero .rh-l{ left: -142.15%; top: -56.4368%; }
  .rstage--hero .rh-d{ width: 240%; }
  .rstage--hero .rh-l{ width: 283.5556%; }
  .rstage--hero.is-lit .rh-l{ opacity: 1; transition-duration: var(--lit-in, .7s); }
}

@media (min-width: 981px){ .h-xl, .h-l, .h-m{ white-space: nowrap; } .h-xl.rquote{ white-space: normal; } }


/* ==========================================================================
   v34 tweaks (desktop RU)
   ========================================================================== */
.eyebrow--ser{ font-size: calc(var(--px) * 37); line-height: calc(var(--px) * 38); }
@media (min-width: 981px){
  .rband--hero{ top: calc(var(--px) * -170); }                      /* painting lifted: eyes above the fold */
  .t18{ opacity: .75; }
  .t16{ font-size: calc(var(--px) * 17); line-height: calc(var(--px) * 21); }
  .t16i{ opacity: .63; }
  .rcard--ser{ gap: calc(var(--px) * 112); }                          /* single painting: button closer to the copy */
  .rcard--pair{ gap: calc(var(--px) * 124); }
  /* first / second / last screen headings: heavier, +2% tracking, more air between lines */
  .rs--hero > .h-xl, .rquote, #ru-collect-t{ font-weight: 600; letter-spacing: -0.015em; line-height: calc(var(--px) * 123); }
  #ru-artist-t{ font-weight: 600; letter-spacing: 0.005em; line-height: calc(var(--px) * 106); }
}

/* ==========================================================================
   v34 tweaks (phone, RU)
   ========================================================================== */
@media (max-width: 980px){
  /* one display size for the first screen, "о художнике", its quote and the last block:
     the longest line («КОЙ ПРИРОДЕ», «О ХУДОЖНИКЕ») fills the column */
  #ru{ --rh: min(calc((100vw - 2 * var(--pad, 16px)) / 5.4), 130px); }
  #ru .rs--hero > .h-xl{ font-size: var(--rh); font-weight: 500; line-height: 1.04; white-space: nowrap; }
  #ru .rs--hero > .h-xl br.d{ display: inline; }          /* the Figma line breaks come back: five big lines, about half a screen */
  #ru h2.h-l{ letter-spacing: -0.05em; }
  #ru #ru-artist-t{ font-size: var(--rh); font-weight: 500; line-height: 1.04; }
  #ru .rquote{ font-size: var(--rh); font-weight: 500; line-height: 1.04; }
  #ru #ru-collect-t{ font-size: var(--rh); font-weight: 500; line-height: 1.04; }
  /* section headings grow to the same size, capped by the longest word «ЧЕЛОВЕЧЕСКАЯ» */
  #ru h2.h-l:not(#ru-artist-t){ font-size: min(var(--rh), calc((100vw - 2 * var(--pad, 16px)) / 5.85)); line-height: 1.04; }
  .eyebrow--ser{ font-size: 27.8px; line-height: 1.1; }
  /* buttons: +1px and heavier */
  .rpill{ font-size: 22px; font-weight: 500; }
  .rbtn, .rfpill{ font-size: 22px; font-weight: 500; }
  .rbtn{ font-weight: 600; }
  .rcard .rbtn{ font-size: 19px; font-weight: 600; margin-top: 48px; }
  /* thin 20% rule between the paintings of one block */
  #ru .rcard--pair{ position: relative; }
  #ru .rcard--pair + .rcard--pair::before{ content: ""; position: absolute; left: calc(-1 * var(--pad, 16px)); right: calc(-1 * var(--pad, 16px)); top: -28px; height: 1px; background: rgba(255,255,255,.2); pointer-events: none; }
  /* footer: the same rhythm as the English page (logo → 40, buttons 8 apart, 56 high) */
  .rs--foot{ gap: 8px; padding: 64px var(--pad, 16px) 40px; }
  .rs--foot .rlogo{ margin-bottom: 32px; }
  .rs--foot .rfpill{ height: 56px; }
}
.nw{ white-space: nowrap; }

/* ==========================================================================
   v35 (phone, RU)
   ========================================================================== */
@media (max-width: 980px){
  #ru .rs--hero > .h-xl{ font-size: calc(var(--rh) + 3px); letter-spacing: -0.06em; }
  #ru .rs--hero > .eyebrow{ margin-bottom: -12px; }                   /* the name sits right on the headline, as in English */
  #ru .rs--hero .rstage--hero{ margin-top: -94px; margin-bottom: -24px; }
  #ru .rs--hero > .eyebrow, #ru .rs--hero > .h-xl{ position: relative; z-index: 3; }
  #ru .rs--hero > .rnav{ margin-top: 28px; }
  .t18{ font-size: 17px; opacity: .63; }
  .t16{ font-size: 16px; opacity: .63; }
  .t16i{ font-size: 15.5px; opacity: .6; }
  .rcard .rbtn{ height: 54px; font-size: 22px; }
  /* painting → copy: the dead space under the window is gone */
  .rstage{ margin-bottom: 0; }
  #ru section[aria-label="Точка невозврата"] .rstage{ margin-bottom: 0; }
  /* "Цикл работ" sits right on the heading, heading closer to its painting */
  .eyebrow--ser{ margin-bottom: -14px; }
  .rs--ser .rstage{ margin-top: -44px; }
  #ru section[aria-label="Точка невозврата"] .rrow .rcard:first-child .rstage{ margin-top: -44px; }
}
@media (max-width: 980px){
  /* soft edge + shadow around the canvas (visible when the wall is lit; a hairline when it is dark) */
  .rpm .rsh{ position: absolute; left: var(--dl); top: var(--dt); width: var(--dw); height: var(--dh); pointer-events: none;
    box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 4px 26px 4px rgba(0,0,0,.55); }
}
@media (min-width: 981px){ .rsh{ display: none; } }
@media (max-width: 980px){
  .rs--collect{ padding-bottom: 80px; }   /* same as the English block: the contact icons stay put when the language is switched in the footer */
}

/* ==========================================================================
   v36 (RU): the same image layers and geometry as the English page
   ========================================================================== */
.rs--pair, .rs--ser{
  --hit-top: 15.1844%; --hit-h: 68.7636%;
  --hl-x: 8.6111%;  --hl-w: 32.9630%;
  --hr-x: 59.0278%; --hr-w: 29.6296%;
  --split-a: 46.3%; --split-b: 54.2%;
  --stage-l: -10.25%; --stage-r: -127.25%;
}
.rs--ser{
  --hit-top: 13.2663%; --hit-h: 63.0268%;
  --hl-x: 10.5785%; --hl-w: 51.1295%;
  --split-a: 100%; --split-b: 100.1%;
  --stage-l: -4.66%; --stage-t: -12.47%; --stage-ar: 800 / 1000;
  --shift: 120;
}
.rs--pair .rspace{ display: none; }
@media (min-width: 981px){
  .rs--pair{ padding-top: calc(var(--px) * 80); }
  .rs--pair.rs--series{ padding-top: calc(var(--px) * 240); }
  .rs--pair .rband, .rs--ser .rband{ position: static; height: auto; }
  .rs--pair .rband--en .lit-scene{ position: relative; }
  .rs--ser .lit-scene{
    position: absolute; z-index: 0; left: calc(var(--px) * -1); top: calc(var(--px) * (533 - var(--shift)));
    width: calc(var(--px) * 1210); aspect-ratio: 1815 / 2088;
  }
  .rs--series .lit-scene{ aspect-ratio: 1440 / 978; overflow: hidden; }
  .rs--series .lit-layer{ height: 94.2740%; }
  .rs--series .lit-scene .lit-dark--l{ clip-path: inset(0 49.7% 0 0); transform: translate(1.1111%, 0.4%); }
  .rs--series .lit-scene .lit-dark--r{ clip-path: inset(0 0 0 50.3%); transform: translate(0.4861%, 0.4%); }
  .rs--series .lit-scene .lit-light--l{ transform: translate(1.1111%, 0.4%); }
  .rs--series .lit-scene .lit-light--r{ transform: translate(0.4861%, 0.4%); }
  .rs--series .rspace{ display: block; height: calc(var(--px) * 207); }
  .rrow{ padding: 0 calc(var(--px) * 160) calc(var(--px) * 240) calc(var(--px) * 124); gap: calc(var(--px) * 316); }
  .rs--series .rrow{ padding-left: calc(var(--px) * 160); gap: calc(var(--px) * 364); margin-top: calc(var(--px) * -200); }
  .rs--series .rcard--pair{ width: calc(var(--px) * 378); }
  .rs--series .rcard--pair .t16{ width: calc(var(--px) * 377); }
}
/* the lit stage windows (phones) come from the English markup too */
@media (max-width: 980px){
  .rs--ser .lit-stage{ -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); }
  .rs--ser .lit-stage .lit-layer{ width: 151.25%; aspect-ratio: 1815 / 2088; }
  .rs--pair .lit-stage .lit-light, .rs--ser .lit-stage .lit-light{ filter: drop-shadow(0 3px 12px rgba(0,0,0,.6)); }
}

/* ==========================================================================
   v36 tweaks (RU)
   ========================================================================== */
@media (min-width: 981px){
  .rcard--ser .t16{ width: calc(var(--px) * 437); }
  .t16{ opacity: .63; letter-spacing: .035em; -webkit-text-stroke: .1px currentColor; }
  /* quote: −2px and lighter; section headings take the quote's size and style */
  .rquote{ font-size: calc(var(--px) * 110); font-weight: 500; letter-spacing: -0.015em; line-height: calc(var(--px) * 123); }
  #ru h2.h-l{ font-size: calc(var(--px) * 110); font-weight: 500; letter-spacing: -0.015em; line-height: calc(var(--px) * 123); }
}
@media (max-width: 980px){
  .h-m{ font-size: 32px; }
  .rcard .rbtn{ font-weight: 500; }
  .eyebrow--ser{ margin-bottom: -22px; }
  .rs--ser .lit-stage{ margin-top: -44px; }
  .rs--hero .rstage--hero{ margin-bottom: -56px; }
  .rs--pair .lit-stage, .rs--ser .lit-stage{ margin-bottom: 0; }
  #ru .rs--series .lit-stage{ -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
  #ru .rs--series .rrow .rcard:first-child .lit-stage{ margin-top: -56px; }
  .rcard-head{ position: relative; z-index: 3; }
  /* section headings: slightly larger, heavier, looser */
  #ru h2.h-l{ font-weight: 500; letter-spacing: -0.045em; }
}

/* ==========================================================================
   v37 (RU)
   ========================================================================== */
.rs--hero .hm{ display: none; }
@media (min-width: 981px){
  /* first screen headline = same size and style as the quote */
  .rs--hero > .h-xl{ font-size: calc(var(--px) * 110); font-weight: 500; letter-spacing: -0.015em; line-height: calc(var(--px) * 123); }
  .t18{ opacity: .675; }
  .t16{ font-size: calc(var(--px) * 15); line-height: calc(var(--px) * 19); letter-spacing: .025em; }
  .t16i{ font-size: calc(var(--px) * 15); opacity: .6; }
  .rcard-head{ gap: calc(var(--px) * 12); }
}
@media (max-width: 980px){
  .rs--hero .hd{ display: none; } .rs--hero .hm{ display: inline; }
  #ru .rs--hero > .eyebrow{ margin-bottom: -24px; }
}
/* buttons: the same outlines as the English page (real 1px borders; card buttons carry the softer 30% line) */
.rpill, .rbtn, .rfpill{ box-shadow: none; border: 1px solid #fff; }
.rbtn{ border-color: rgba(255,255,255,.3); }
.rtog{ box-shadow: none; border: 1px solid rgba(255,255,255,.3); }
.rtog .on{ box-shadow: none; border: 1px solid #fff; }
.rbtn:hover, .rbtn:focus-visible{ border-color: #fff; }
@media (min-width: 981px){
  .rbtn{ height: calc(var(--px) * 47); }
  .rtog .off, .rtog .on{ padding-top: 0; }
}
@media (max-width: 980px){
  .rpill, .rbtn, .rfpill, .rcard .rbtn{ height: 56px; }
  #ru .rtog{ border: 1px solid rgba(255,255,255,.4); }
  #ru .rtog .on, #ru .rtog .off{ border: 0; }
}

/* ==========================================================================
   v38 (RU)
   ========================================================================== */
.eyebrow--ser{ font-size: calc(var(--px) * 35); line-height: calc(var(--px) * 36); }
@media (min-width: 981px){
  .rband--hero{ top: calc(var(--px) * -165); }
  /* first screen: +3px, −4% tracking, −4% leading, −1% weight */
  #ru .rs--hero > .h-xl{ font-size: calc(var(--px) * 113); font-weight: 495; letter-spacing: -0.055em; line-height: calc(var(--px) * 122); }
  /* every other headline and the quote: −2px, the same tracking / leading / weight */
  #ru h2.h-l, #ru .rquote, #ru #ru-collect-t{ font-size: calc(var(--px) * 108); font-weight: 495; letter-spacing: -0.055em; line-height: calc(var(--px) * 117); }
}
@media (max-width: 980px){
  .eyebrow--ser{ font-size: 25.8px; margin-bottom: -19px; }
  /* single-painting screens: the heading stays on top of the picture and keeps clear air above it */
  .rs--ser .eyebrow--ser, .rs--ser h2.h-l, .rs--series .eyebrow--ser, .rs--series h2.h-l{ position: relative; z-index: 6; }
  #ru .rs--series .rrow .rcard:first-child .lit-stage{ margin-top: -104px; }
  .rs--ser .lit-stage{ margin-top: 8px; }
  /* two-painting blocks: more air between each painting and its title */
  .rs--pair .rcard-head{ margin-top: 30px; }
  #ru .rs--hero > .h-xl{ font-size: calc(var(--rh) + 6px); }
}
