/* Dēmoni un atvērtās durvis — deck styles
   Stage is a fixed 1920×1080 canvas scaled to the window. All sizes are px on that canvas. */

@import url('fonts/fonts.css');

:root {
  --ink: #070b09;          /* deepest shadow */
  --wall: #121a16;         /* plaster in shadow */
  --bone: #ece7da;         /* main text */
  --dim: #a3aea5;          /* secondary text */
  --glass: #8fbfae;        /* cold light in the glass */
  --brass: #c9ad6a;        /* door handle brass — the only accent */
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Sofia Sans', 'Helvetica Neue', Arial, sans-serif;
  --cond: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --tempo: .7;             /* pace of slide changes and reveals: 1 = slow and stately, smaller = quicker */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
body { font-family: var(--sans); color: var(--bone); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.idle { cursor: none; }
svg.fx-defs { position: absolute; width: 0; height: 0; }

#stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--k, 1)); background: var(--ink);
}
/* film grain over everything so type and photographs sit in the same picture */
#stage::after {
  content: ""; position: absolute; inset: 0; z-index: 50; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── slides: a cross-fade ─────────
   (No blur on the whole slide here: blurring two full-screen layers on every frame is the costliest
   thing a change can do on a 4K or 5K screen. The text still comes into focus on its own, below.) */
.slide {
  position: absolute; inset: 0; overflow: hidden; visibility: hidden; opacity: 0;
  transition: opacity calc(.75s * var(--tempo)) var(--ease), visibility 0s calc(.75s * var(--tempo));
}
.slide.active { visibility: visible; opacity: 1; z-index: 2; transition-delay: 0s; }

.bg { position: absolute; inset: 0; background: var(--img) center / 1920px 1080px no-repeat; }
.bg.flip { transform: scaleX(-1); }
.slide.active .bg.drift { animation: drift 46s linear forwards; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05) translate(-.5%, -.3%); } }
.scrim { position: absolute; inset: 0; pointer-events: none; }
.content { position: absolute; inset: 0; }

/* ───────── type ───────── */
.title { font-family: var(--serif); font-weight: 480; font-size: 104px; line-height: 1.03; letter-spacing: -.018em; text-wrap: balance; }
.lede { font-family: var(--serif); font-weight: 380; font-size: 54px; line-height: 1.2; letter-spacing: -.005em; }
.lede b, .em { font-weight: 560; color: #fff; }
.kicker { font-family: var(--cond); font-weight: 600; font-size: 34px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.ref { font-family: var(--cond); font-weight: 600; font-size: 36px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.num { font-family: var(--cond); font-weight: 700; color: var(--brass); line-height: .8; font-feature-settings: "tnum"; }
.sub { font-family: var(--sans); font-weight: 400; color: var(--dim); }
.verse { font-family: var(--serif); font-style: italic; font-weight: 380; }
.verse b { font-style: normal; font-weight: 560; color: #fff; }

/* ───────── reveals ─────────
   .fx   — comes into focus (CSS)
   .reed — seen through reeded glass, then the glass clears (JS drives an SVG displacement filter) */
.fx { opacity: 0; filter: blur(12px); transform: translateY(10px);
  transition: opacity calc(.9s * var(--tempo)) var(--ease), filter calc(.9s * var(--tempo)) var(--ease), transform calc(.9s * var(--tempo)) var(--ease); transition-delay: 0s; }
.fx.on { opacity: 1; filter: blur(0); transform: none; transition-delay: calc(var(--i, 0) * 130ms * var(--tempo)); }
.reed { opacity: 0; will-change: filter, opacity; }
.line { transform: scaleX(0); transform-origin: left center; transition: transform calc(1s * var(--tempo)) var(--ease); }
.line.on { transform: scaleX(1); transition-delay: calc(var(--i, 0) * 130ms * var(--tempo)); }

html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }

/* ───────── reeded glass pane ─────────
   JS adds <i class="glass-bg"> — a copy of the slide photograph, refracted flute by flute — so the pane
   really bends what is behind it. Square corners and a hairline edge: glazing, not a UI card. */
.glass { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .8); }
.glass-bg {
  position: absolute; top: 0; bottom: 0; left: -80px; right: -80px; z-index: -2;
  background: var(--img) no-repeat; background-size: 1920px 1080px;
  background-position: calc(var(--gx) * -1px + 80px) calc(var(--gy) * -1px);
  filter: url(#reed-static);
}
.glass.flip-bg .glass-bg { transform: scaleX(-1); background-position: calc((1920px - var(--gx) * 1px - var(--gw) * 1px) * -1 + 80px) calc(var(--gy) * -1px); }
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(225, 245, 236, .05) 0 1px, rgba(225, 245, 236, 0) 1px 10px, rgba(0, 0, 0, .13) 21px 26px),
    linear-gradient(180deg, rgba(12, 26, 20, var(--tint-a, .52)), rgba(5, 12, 9, var(--tint-b, .74)));
}
.glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(205, 238, 224, .15), inset 0 1px 0 rgba(225, 248, 238, .38), inset 16px 0 22px -16px rgba(205, 238, 224, .14);
}
.glass.lit { --tint-a: .38; --tint-b: .62; }

/* ───────── chrome ───────── */
#hud { position: absolute; right: 44px; bottom: 30px; z-index: 60; font-family: var(--cond); font-weight: 500; font-size: 24px; letter-spacing: .16em; color: rgba(236, 231, 218, .42); }
#bar { position: absolute; left: 0; bottom: 0; height: 3px; z-index: 60; background: var(--brass); opacity: .55; width: 100%; transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform .7s var(--ease); }
#hint { position: absolute; left: 44px; bottom: 30px; z-index: 60; font-family: var(--cond); font-size: 24px; letter-spacing: .14em; color: rgba(236, 231, 218, .5); transition: opacity 1s; }
#hint.gone { opacity: 0; }
html.static #hint { display: none; }

/* ═════════ 01 cover ═════════ */
.s-cover .scrim { background: linear-gradient(90deg, rgba(4, 8, 6, .5), rgba(4, 8, 6, 0) 55%); }
.s-cover .title { position: absolute; left: 124px; top: 236px; font-size: 176px; line-height: .98; font-weight: 440; letter-spacing: -.025em; }
.s-cover .seam { position: absolute; left: 132px; top: 838px; width: 520px; height: 2px; background: var(--brass); opacity: .8; }

/* ═════════ 02 kas ir dēmoni ═════════ */
.s-what .scrim { background: linear-gradient(90deg, rgba(4, 8, 6, .62), rgba(4, 8, 6, .15) 62%, rgba(4, 8, 6, 0)); }
.s-what .title { position: absolute; left: 124px; top: 96px; font-size: 124px; }
.s-what .lede { position: absolute; left: 128px; top: 286px; width: 1010px; font-size: 58px; }
.s-what .has { position: absolute; left: 128px; top: 714px; }
.traits { position: absolute; left: 124px; right: 124px; top: 786px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.traits .glass { height: 176px; display: flex; align-items: flex-end; padding: 0 30px 24px; font-family: var(--serif); font-weight: 460; font-size: 50px; letter-spacing: -.01em; }

/* ═════════ 03 hierarhija ═════════ */
.s-hier .scrim { background: linear-gradient(270deg, rgba(4, 8, 6, .45), rgba(4, 8, 6, 0) 50%); }
.s-hier .title { position: absolute; left: 1090px; top: 70px; font-size: 88px; }
.s-hier .lede { position: absolute; left: 1094px; top: 182px; font-size: 42px; color: var(--dim); }
.s-hier .kicker { position: absolute; left: 1094px; top: 252px; font-size: 30px; }
.tier-lit { position: absolute; background: radial-gradient(ellipse at 50% 40%, rgba(214, 240, 226, .30), rgba(214, 240, 226, .10) 70%); mix-blend-mode: screen; opacity: 0; transition: opacity 1s var(--ease); }
.tier-lit.on { opacity: 1; }
.tier-name { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--serif); font-weight: 520; font-size: 46px; line-height: 1.05; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .6); }
.tier-name .num { font-size: 44px; margin-right: 18px; color: var(--brass); line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.tier-lead { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(201, 173, 106, .9), rgba(201, 173, 106, .45)); }
.tier-desc { position: absolute; left: 1094px; width: 720px; font-size: 40px; line-height: 1.16; font-weight: 400; color: var(--bone); transform: translateY(-50%); }
.tier-desc.fx { transform: translateY(calc(-50% + 10px)); }
.tier-desc.fx.on { transform: translateY(-50%); }

/* ═════════ 04 mērķis ═════════ */
.s-goal .scrim { background: linear-gradient(180deg, rgba(4, 8, 6, .55), rgba(4, 8, 6, .1) 45%, rgba(4, 8, 6, .35)); }
.s-goal .title { position: absolute; left: 124px; top: 92px; font-size: 112px; }
.goals { position: absolute; left: 124px; right: 124px; top: 322px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.goals .glass { height: 610px; padding: 46px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.goals .num { font-size: 170px; }
.goals p { font-family: var(--serif); font-weight: 440; font-size: 50px; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }

/* ═════════ 05 Jāņa 10:10 ═════════ */
/* the verse runs across the empty wall, from the broken door to the open one */
.s-john .scrim { background: radial-gradient(ellipse 46% 70% at 50% 46%, rgba(4, 8, 6, .5), rgba(4, 8, 6, 0)); }
.s-john .verse { position: absolute; left: 582px; width: 760px; font-size: 62px; line-height: 1.14; }
.s-john .v1 { top: 150px; color: var(--dim); }
.s-john .v1 b { color: var(--bone); }
.s-john .v2 { top: 472px; text-align: right; }
.s-john .v2 b { color: #f4dfa6; }
.s-john .ref { position: absolute; left: 582px; width: 760px; top: 770px; text-align: right; }

/* ═════════ 06 video / 07 Ef 4:27 ═════════ */
.s-video .scrim { background: linear-gradient(270deg, rgba(4, 8, 6, .5), rgba(4, 8, 6, 0) 55%); }
.s-video .kicker { position: absolute; left: 820px; top: 330px; display: flex; align-items: center; gap: 22px; transition: opacity .7s var(--ease); }
.s-video .kicker::before { content: ""; width: 0; height: 0; border: 13px solid transparent; border-left: 22px solid var(--brass); border-right: 0; }
.s-video .title { position: absolute; left: 814px; top: 392px; width: 1000px; font-size: 132px; transition: opacity .7s var(--ease); }
/* the reel is vertical (9:16): it stands over the doorway as a tall frame, then moves to the middle to play */
.s-video .dim { position: absolute; inset: 0; background: #020403; opacity: 0; transition: opacity 1.1s var(--ease); }
.s-video .clip { position: absolute; left: 150px; top: 30px; width: 574px; height: 1020px; background: #000; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(205, 238, 224, .22), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.s-video .clip.fx.on { transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1.2s cubic-bezier(.3, .05, .2, 1); }
.s-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.s-video .play { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; pointer-events: none;
  background: rgba(4, 8, 6, .55); box-shadow: inset 0 0 0 2px rgba(236, 231, 218, .85); transition: opacity .5s var(--ease); }
.s-video .play::after { content: ""; position: absolute; left: 45px; top: 36px; border: 20px solid transparent; border-left: 32px solid var(--bone); border-right: 0; }
.s-video[data-at="1"] .clip.fx.on { transform: translateX(523px); }
.s-video[data-at="1"] .dim { opacity: .88; }
.s-video[data-at="1"] .play, .s-video[data-at="1"] .title, .s-video[data-at="1"] .kicker { opacity: 0 !important; }
.s-place .title { position: absolute; left: 124px; top: 300px; width: 1180px; font-size: 168px; line-height: .98; letter-spacing: -.025em; }
.s-place .ref { position: absolute; left: 132px; top: 690px; }

/* ═════════ 08 tiesiskā kārtība ═════════ */
.s-law .scrim { background: rgba(4, 8, 6, .35); }
.s-law .title { position: absolute; left: 124px; top: 84px; font-size: 92px; }
.s-law .lede { position: absolute; left: 128px; top: 212px; font-size: 44px; font-style: italic; color: var(--dim); }
.laws { position: absolute; left: 124px; right: 124px; top: 372px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
.laws .glass { height: 520px; padding: 44px 44px 40px; }
.laws h3 { font-family: var(--cond); font-weight: 600; font-size: 46px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.laws .rule { height: 2px; width: 84px; background: var(--brass); opacity: .7; margin: 22px 0 30px; }
.laws p { font-size: 41px; line-height: 1.24; font-weight: 400; }
.laws .arrow { position: absolute; left: calc(var(--x) - 22px); top: calc(50% - 15px); width: 30px; height: 30px; border-top: 3px solid var(--brass); border-right: 3px solid var(--brass); transform: rotate(45deg); }
.laws .arrow.fx { transform: translateX(-14px) rotate(45deg); }
.laws .arrow.fx.on { transform: rotate(45deg); }
.s-win .title { position: absolute; left: 124px; top: 250px; width: 1260px; font-size: 118px; line-height: 1.04; }
.s-win .title span { display: block; color: var(--dim); font-weight: 380; font-size: 84px; margin-bottom: 26px; }

/* ═════════ 10 sešas durvis ═════════ */
.s-doors .bg { background-position: center -103px; background-color: #030504; }
.s-doors .scrim { background: linear-gradient(180deg, rgba(4, 8, 6, .5), rgba(4, 8, 6, 0) 28%, rgba(4, 8, 6, 0) 76%, rgba(3, 5, 4, .9) 84%, #030504 91%); }
.s-doors .title { position: absolute; left: 124px; top: 70px; font-size: 84px; }
.doors { position: absolute; left: 96px; right: 96px; top: 269px; display: grid; grid-template-columns: repeat(6, 1fr); }
.doorway { position: relative; display: flex; flex-direction: column; align-items: center; }
/* door art: frame crop of art 11-door (x196 y46 w632 h1458), drawn at .40 → 253×583 */
.door { --s: .40; position: relative; width: calc(632px * var(--s)); height: calc(1458px * var(--s)); background: url('img/11-door.jpg') calc(-196px * var(--s)) calc(-46px * var(--s)) / calc(1024px * var(--s)) calc(1536px * var(--s)); box-shadow: 0 0 34px 12px rgba(4, 8, 6, .55); }
.door .void { position: absolute; left: calc(64px * var(--s)); top: calc(71px * var(--s)); width: calc(503px * var(--s)); height: calc(1369px * var(--s)); overflow: hidden; perspective: 900px; perspective-origin: 50% 45%;
  background: radial-gradient(ellipse at 60% 40%, #0c1511, #010201 75%); }
.door .void .num { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-size: 170px; opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease) .45s, transform 1.4s var(--ease) .45s; }
.door .leaf { position: absolute; inset: 0; transform-origin: left center; transition: transform 1.5s cubic-bezier(.3, .05, .2, 1);
  background: url('img/11-door.jpg') calc(-260px * var(--s)) calc(-117px * var(--s)) / calc(1024px * var(--s)) calc(1536px * var(--s)); backface-visibility: hidden; }
.door .leaf::after { content: ""; position: absolute; inset: 0; background: #010302; opacity: 0; transition: opacity 1.5s var(--ease); }
.doorway.on .leaf { transform: rotateY(74deg); }
.doorway.on .leaf::after { opacity: .55; }
.doorway.on .void .num { opacity: 1; transform: none; }
.doorway .plate { position: absolute; top: -36px; font-family: var(--cond); font-weight: 600; font-size: 30px; letter-spacing: .12em; color: var(--brass); transition: opacity .6s; }
.doorway.on .plate { opacity: 0; }
.doorway .label { margin-top: 30px; width: 276px; text-align: center; font-family: var(--sans); font-weight: 500; font-size: 35px; line-height: 1.14; text-wrap: balance; opacity: 0; filter: blur(10px); transition: opacity .9s var(--ease) .5s, filter .9s var(--ease) .5s; }
.doorway.on .label { opacity: 1; filter: blur(0); }

/* ═════════ 11 disclaimer ═════════ */
.s-note .scrim { background: linear-gradient(90deg, rgba(4, 8, 6, .55), rgba(4, 8, 6, .2)); }
.s-note .kicker { position: absolute; left: 128px; top: 104px; }
.s-note .title { position: absolute; left: 124px; top: 164px; width: 1500px; font-size: 108px; }
.s-note .lede { position: absolute; left: 128px; top: 336px; width: 1380px; font-family: var(--sans); font-size: 46px; line-height: 1.28; color: var(--dim); font-weight: 400; }
.s-note .glass { position: absolute; left: 124px; top: 556px; width: 1672px; padding: 50px 56px 54px; }
.s-note .glass p { font-family: var(--serif); font-weight: 440; font-size: 58px; line-height: 1.16; letter-spacing: -.008em; text-wrap: balance; }

/* ═════════ 12 Jēkaba 1:14–15 ═════════ */
.s-james .scrim { background: rgba(4, 8, 6, .45); }
.s-james .verse { position: absolute; left: 124px; top: 110px; width: 1640px; font-size: 70px; line-height: 1.2; }
.s-james .ref { position: absolute; left: 130px; top: 452px; }
.chain { position: absolute; left: 124px; right: 124px; top: 730px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 44px; }
.chain .w { font-family: var(--serif); font-weight: 480; font-size: 124px; letter-spacing: -.02em; line-height: 1; }
.chain .ar { height: 2px; background: var(--brass); position: relative; opacity: .85; }
.chain .ar::after { content: ""; position: absolute; right: 0; top: -11px; width: 22px; height: 22px; border-top: 2px solid var(--brass); border-right: 2px solid var(--brass); transform: rotate(45deg); }
.chain .ar.line { opacity: .85; }

/* ═════════ 13–14 triptihi ═════════ */
.s-tri { background: var(--ink); }
.tri { position: absolute; left: 154px; right: 154px; top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tri figure { position: relative; }
.tri .frame { position: relative; height: 880px; overflow: hidden; background: #050806; box-shadow: inset 0 0 0 1px rgba(205, 238, 224, .12); }
.tri .shot { position: absolute; inset: 0; background: var(--img) no-repeat; background-size: 300% auto; }
.tri figure:nth-child(1) .shot { background-position: 0% var(--py, 50%); }
.tri figure:nth-child(2) .shot { background-position: 50% var(--py, 50%); }
.tri figure:nth-child(3) .shot { background-position: 100% var(--py, 50%); }
.tri .frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 1; transition: opacity 1.6s var(--ease);
  background: repeating-linear-gradient(90deg, rgba(225, 245, 236, .06) 0 1px, rgba(225, 245, 236, 0) 1px 10px, rgba(0, 0, 0, .16) 21px 26px), linear-gradient(180deg, rgba(10, 24, 18, .22), rgba(5, 12, 9, .4)); }
.tri figure.on .frame::after { opacity: 0; }
.tri figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; padding: 22px 2px 0; }
.tri figcaption .num { font-size: 76px; }
.tri figcaption b { font-family: var(--serif); font-weight: 480; font-size: 64px; letter-spacing: -.015em; line-height: 1; }
.tri figcaption span:last-child { grid-column: 1 / -1; margin-top: 10px; font-size: 32px; line-height: 1.12; color: var(--dim); white-space: nowrap; }

/* ═════════ 15 miesa / dēmons ═════════
   The words are lettered on the two real glass panels of the photographed door:
   clear glass (the man) = miesa, reeded glass (the shadow) = dēmons. Photo drawn at 1651×929 from (134,151). */
.s-vs { background: var(--ink); }
.s-vs .bg { background-size: 1651px 929px; background-position: 134px 151px;
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 17%, #000 83%, transparent 94%), linear-gradient(180deg, transparent 13%, #000 24%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.s-vs .title { position: absolute; left: 0; right: 0; top: 44px; text-align: center; font-size: 92px; }
.vs-col { position: absolute; top: 195px; width: 444px; height: 771px; padding: 30px 34px 34px; display: flex; flex-direction: column; }
.vs-col.l { left: 434px; } .vs-col.r { left: 1036px; }
.vs-col::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 8, 6, .78), rgba(4, 8, 6, 0) 36%, rgba(4, 8, 6, 0) 56%, rgba(4, 8, 6, .9) 84%); }
.vs-col h3 { font-family: var(--cond); font-weight: 600; font-size: 56px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); line-height: 1; }
.vs-col .rule { height: 2px; width: 84px; background: var(--brass); opacity: .75; margin: 20px 0 18px; }
.vs-col p { font-size: 34px; line-height: 1.18; color: var(--bone); text-wrap: balance; }
.vs-col .verdict { margin-top: auto; font-family: var(--serif); font-weight: 520; font-size: 66px; line-height: 1; letter-spacing: -.02em; color: #fff; }
.vs-col .verdict small { display: block; margin-top: 16px; font-family: var(--sans); font-weight: 400; font-size: 34px; line-height: 1.15; letter-spacing: 0; color: var(--bone); opacity: .82; }

/* ═════════ 16–17 pazīmes ═════════ */
.s-signs .scrim { background: linear-gradient(180deg, rgba(4, 8, 6, .6), rgba(4, 8, 6, .25)); }
.s-signs .title { position: absolute; left: 124px; top: 80px; width: 1400px; font-size: 76px; line-height: 1.06; }
.s-signs .count { position: absolute; right: 124px; top: 96px; font-family: var(--cond); font-weight: 600; font-size: 40px; letter-spacing: .16em; color: var(--brass); }
.signs { position: absolute; left: 124px; right: 124px; top: 290px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.signs .glass { height: 352px; padding: 30px 38px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.signs .num { font-size: 78px; }
.signs p { font-family: var(--serif); font-weight: 460; font-size: 50px; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.signs small { display: block; margin-top: 12px; font-family: var(--sans); font-weight: 400; font-size: 32px; line-height: 1.16; letter-spacing: 0; color: var(--dim); text-wrap: pretty; }

/* ═════════ 18–19 soļi ═════════ */
.s-steps .scrim { background: linear-gradient(90deg, rgba(4, 8, 6, .86), rgba(4, 8, 6, .7) 52%, rgba(4, 8, 6, .05) 78%); }
.s-steps .title { position: absolute; left: 124px; top: 76px; font-size: 96px; }
.s-steps .count { position: absolute; left: 130px; top: 200px; font-family: var(--cond); font-weight: 600; font-size: 34px; letter-spacing: .2em; color: var(--brass); }
.steps { position: absolute; left: 124px; top: 286px; width: 1180px; }
.steps li { list-style: none; display: grid; grid-template-columns: 112px 1fr; align-items: start; padding: 26px 0 24px; border-top: 1px solid rgba(201, 173, 106, .34); min-height: 178px; }
.steps .num { font-size: 124px; }
.steps p { font-family: var(--serif); font-weight: 460; font-size: 56px; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.steps small { display: block; margin-top: 12px; font-family: var(--sans); font-style: italic; font-weight: 400; font-size: 32px; letter-spacing: 0; color: var(--dim); }

/* ═════════ 20 noslēgums ═════════ */
.s-end .scrim { background: linear-gradient(90deg, rgba(4, 8, 6, .78), rgba(4, 8, 6, .4) 50%, rgba(4, 8, 6, 0) 75%); }
.s-end .title { position: absolute; left: 124px; top: 232px; width: 1180px; font-size: 112px; line-height: 1.04; }
.s-end .seam { position: absolute; left: 132px; top: 180px; width: 200px; height: 2px; background: var(--brass); opacity: .8; }
