@font-face {
  font-family: "Fraunces";
  src: url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url(../fonts/fraunces-latin-opsz-italic.woff2) format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --blue: #0057B7;
  --yellow: #FFD700;
  --cream: #F4EDE1;
  --ink: #15171C;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #0A1A36;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: #07090d;
  color: var(--ink);
  font-family: var(--sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
body.nocursor, body.nocursor * { cursor: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: none; -webkit-user-drag: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------ ambient (landscape backdrop) */
.ambient { position: fixed; inset: 0; background: var(--bg); transition: background-color .8s ease; overflow: hidden; }
.ambient i {
  position: absolute; inset: -15%;
  background: center / cover no-repeat;
  filter: blur(60px) saturate(1.3) brightness(.62);
  opacity: 0;
}
.ambient::after {           /* soft vignette so the frame floats */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}

/* ------------------------------------------------------------ the story frame */
.frame {
  position: fixed; left: 50%; top: 50%;
  height: 100vh; height: 100dvh;
  width: min(100vw, calc(100dvh * 9 / 16));
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: var(--bg);
  transition: background-color .6s ease;
  container-type: size;
  /* one design unit: 1% of a 9:16 frame's width, never overflowing a shorter frame */
  --u: min(1cqw, .5625cqh);
  --pad: calc(var(--u) * 7);
  isolation: isolate;
}
@media (orientation: landscape) and (min-width: 700px) {
  .frame {
    height: calc(100dvh - 40px);
    width: calc((100dvh - 40px) * 9 / 16);
    border-radius: 22px;
    box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  }
}

/* side arrows (landscape only) */
.side {
  position: fixed; top: 50%; z-index: 5;
  width: 56px; height: 56px; margin-top: -28px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .2s, opacity .4s;
}
.side:hover { background: rgba(255,255,255,.2); }
.side svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.side.prev { right: calc(50% + (100dvh - 40px) * 9 / 32 + 28px); }
.side.next { left: calc(50% + (100dvh - 40px) * 9 / 32 + 28px); }
@media (orientation: landscape) and (min-width: 700px) { .side { display: flex; } }
body.nocursor .side { opacity: 0; }

/* ------------------------------------------------------------ chrome: progress bars + brand */
.chrome {
  position: absolute; left: 0; right: 0; top: 0; z-index: 20;
  padding: calc(var(--u) * 3) calc(var(--u) * 3) 0;
  padding-top: max(calc(var(--u) * 3), env(safe-area-inset-top));
  color: #fff;
  pointer-events: none;
  transition: opacity .3s;
}
.chrome::before {   /* scrim for legibility over photos */
  content: ""; position: absolute; inset: 0 0 -60px;
  background: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,0));
  z-index: -1; transition: opacity .5s;
}
body.light-card .chrome { color: var(--ink); }
body.light-card .chrome::before, body.no-scrim .chrome::before { opacity: 0; }
.bars { display: flex; gap: calc(var(--u) * 1); }
.bars span { flex: 1; height: 3px; border-radius: 3px; position: relative; overflow: hidden; }
.bars span::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .28; }
.bars i { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); }
.chrome-row { display: flex; align-items: center; gap: 10px; margin-top: calc(var(--u) * 1.6); min-height: 44px; }
.brand { margin-right: auto; display: flex; align-items: center; gap: calc(var(--u) * 2); font: 600 max(11px, calc(var(--u) * 3.1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.brand svg { width: max(22px, calc(var(--u) * 7)); height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand svg .y { fill: var(--yellow); stroke: none; }
.paused-pill {
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 99px; background: rgba(0,0,0,.35); color: #fff;
  opacity: 0; transition: opacity .25s;
}
body.paused .paused-pill { opacity: 1; }
.fs {
  pointer-events: auto;
  width: 44px; height: 44px; margin-right: -8px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: .72; transition: opacity .2s;
}
.fs:hover { opacity: 1; }
.fs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fs[hidden] { display: none; }

/* ------------------------------------------------------------ cards */
.card {
  position: absolute; inset: 0;
  visibility: hidden; opacity: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--card-bg, transparent);
}
.card.is-active { visibility: visible; }
.card.dark { color: #FBF6EC; }

.content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 0 var(--pad) max(calc(var(--u) * 12), calc(env(safe-area-inset-bottom) + var(--u) * 8));
}
.label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(var(--u) * .8) calc(var(--u) * 2.4);
  font: 650 max(10px, calc(var(--u) * 3))/1.25 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: calc(var(--u) * 4);
}
.label b { font: italic 400 1.55em/1 var(--serif); letter-spacing: 0; color: var(--accent, var(--yellow)); }
.label em { font-style: normal; opacity: .7; font-weight: 550; letter-spacing: .12em; flex-basis: 100%; }
.hook {
  font: 400 calc(var(--u) * 9.4)/1.04 var(--serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.body {
  margin-top: calc(var(--u) * 4.4);
  font: 400 calc(var(--u) * 4.05)/1.5 var(--sans);
  opacity: .88;
  max-width: 34em;
  text-wrap: pretty;
}
.body strong { font-weight: 600; opacity: 1; }
.bignum { font-variant-numeric: tabular-nums lining-nums; }

/* split text masks */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }
.cm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.ci { display: inline-block; will-change: transform; }

/* media with gradient fade into the card colour */
.media { position: absolute; left: 0; right: 0; top: 0; height: 64%; overflow: hidden; z-index: 1; }
.media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; will-change: transform; }
.media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--card-bg-0) 38%, color-mix(in srgb, var(--card-bg) 55%, transparent) 72%, color-mix(in srgb, var(--card-bg) 88%, transparent) 88%, var(--card-bg) 99%);
}

/* duo rule — the blue/yellow pairing */
.duo { display: flex; width: calc(var(--u) * 22); height: 3px; margin: calc(var(--u) * 6) auto; }
.duo i { flex: 1; transform-origin: 0 50%; }
.duo i:first-child { background: var(--blue); }
.duo i:last-child { background: var(--yellow); transform-origin: 100% 50%; }

/* ------------------------------------------------------------ 0 · intro */
.c-intro { --card-bg: #0A1A36; color: #FBF6EC; background: radial-gradient(ellipse at 50% 42%, #133063 0%, #0A1A36 60%, #060f22 100%); }
.c-intro .rings, .c-outro .rings { position: absolute; left: 50%; top: 44%; width: 150cqh; height: 150cqh; margin: -75cqh 0 0 -75cqh; }
.rings circle { fill: none; stroke: rgba(251,246,236,.16); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.rings circle.gold { stroke: rgba(255,215,0,.55); }
.rings .house { fill: rgba(251,246,236,.22); }
.intro-wrap, .outro-wrap, .quiz-wrap {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--pad);
}
.intro-wrap { padding-bottom: 12cqh; }
.mega {
  font: 300 calc(var(--u) * 18.5)/.9 var(--serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: .02em;
  margin-right: -.02em;
}
.sub {
  font: italic 300 calc(var(--u) * 6.6)/1.2 var(--serif);
  max-width: 11em; text-wrap: balance; color: rgba(251,246,236,.9);
}
.howto {
  position: absolute; left: 0; right: 0; bottom: max(calc(var(--u) * 10), calc(env(safe-area-inset-bottom) + var(--u) * 6));
  display: flex; justify-content: center; gap: 10px;
  font: 600 max(10px, calc(var(--u) * 2.8))/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(251,246,236,.6);
}
.howto .dot { color: var(--yellow); }

/* ------------------------------------------------------------ 1 · trypillia (photo) */
.c-tryp1 { --card-bg: #1B130C; --card-bg-0: rgba(27,19,12,0); --accent: #FFD700; }
.c-tryp1 .media { height: 62%; }
.c-tryp1 .media img { object-position: 52% 50%; }
.rings-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.rings-overlay ellipse { fill: none; stroke: rgba(255,215,0,.7); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.rings-overlay ellipse.major { stroke: var(--yellow); stroke-width: 2.4; }
.c-tryp1 .hook .bignum {
  display: block;
  font: 300 calc(var(--u) * 30)/.86 var(--serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.045em;
  color: var(--yellow);
  margin-bottom: calc(var(--u) * 2);
}
.c-tryp1 .hook { font-size: calc(var(--u) * 8.4); }

/* ------------------------------------------------------------ 2 · trypillia (scale) */
.c-tryp2 { --card-bg: #F1E8D8; --accent: var(--blue); }
.c-tryp2 { display: flex; flex-direction: column; }
.c-tryp2 .content { position: relative; }
.plan-wrap {
  position: relative; flex: 1; min-height: 0; margin-bottom: calc(var(--u) * 4);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.plan { width: 120cqw; height: 120cqw; flex: none; margin-top: 8cqh; }
.plan circle { fill: none; stroke: rgba(0,87,183,.32); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.plan circle.major { stroke: var(--blue); stroke-width: 2; }
.plan circle.gold { stroke: #E0B400; stroke-width: 2.4; }
.plan .house { fill: var(--blue); opacity: .8; }
.plan .plaza { fill: rgba(255,215,0,.35); stroke: none; }
.c-tryp2 .stat { display: flex; align-items: baseline; gap: calc(var(--u) * 2.4); color: var(--blue); margin-bottom: calc(var(--u) * 3); }
.c-tryp2 .stat .bignum { font: 300 calc(var(--u) * 30)/.86 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.045em; }
.c-tryp2 .stat .pre, .c-tryp2 .stat .unit { font: italic 400 calc(var(--u) * 6)/1 var(--serif); }
.c-tryp2 .stat .pre { order: 0; }
.c-tryp2 .hook { font-size: calc(var(--u) * 8.6); }
.c-tryp2 .body { color: #2D2A26; }

/* ------------------------------------------------------------ 3 · vyshyvanka */
.c-vysh { --card-bg: #F6F1E7; --card-bg-0: rgba(246,241,231,0); --accent: #B3261E; }
.c-vysh .media { height: 58%; }
.c-vysh .media img { object-position: 50% 30%; }
.curtain { position: absolute; inset: 0; background: #B3261E; transform-origin: 50% 0; z-index: 2; }
.stitch {
  position: absolute; z-index: 3; right: var(--pad); bottom: calc(100% + var(--u) * 1);
  width: calc(var(--u) * 26); height: calc(var(--u) * 26);
  background: #F6F1E7; border-radius: 50%; padding: calc(var(--u) * 2.4);
  box-shadow: 0 10px 30px rgba(60,30,10,.18);
}
.stitch path { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.stitch path.r { stroke: #B3261E; }
.stitch path.k { stroke: #1A1414; }
.c-vysh .hook { color: #1A1414; }
.c-vysh .body { color: #2D2A26; }
.band { display: block; width: calc(var(--u) * 60); height: auto; margin-top: calc(var(--u) * 5); }
.band path { stroke: #B3261E; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ------------------------------------------------------------ 4 · pysanka */
.c-pys { --card-bg: #1A0F10; --card-bg-0: rgba(26,15,16,0); --accent: #F2B705; }
.c-pys .media { height: 56%; }
.egg-stage { position: absolute; z-index: 3; right: var(--pad); bottom: calc(100% + var(--u) * 2); }
.egg-stage::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 190%; height: 160%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(242,183,5,.32), rgba(242,183,5,0)); z-index: -1;
}
.egg { display: block; width: calc(var(--u) * 26); height: auto; overflow: visible; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
.egg .shell { stroke: none; }
.egg path.w { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.egg .wA { stroke-width: 2.2; }
.egg .wB { stroke-width: 2.6; }
.c-pys .hook { font-size: calc(var(--u) * 8.6); }
.c-pys .body .step { transition: color .3s; }
.c-pys .body .step.on { color: #F2B705; }

/* ------------------------------------------------------------ 5 · mriya */
.c-mriya { --card-bg: #0B1626; --card-bg-0: rgba(11,22,38,0); --accent: var(--yellow); }
.c-mriya .media { height: 100%; }
.c-mriya .media img { object-position: 55% 30%; }
.c-mriya .media::after { background: linear-gradient(to bottom, rgba(11,22,38,0) 30%, rgba(11,22,38,.72) 56%, #0B1626 82%); }
.flight { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.flight-path { fill: none; stroke: rgba(255,246,222,.45); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flight-trail { fill: none; stroke: var(--yellow); stroke-width: 2.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(255,215,0,.7)); }
.c-mriya .hook { font-size: calc(var(--u) * 11.2); line-height: .98; }
.date { margin-top: calc(var(--u) * 5); padding-left: calc(var(--u) * 3.6); border-left: 3px solid var(--yellow); }
.date-pre { font: 600 max(10px, calc(var(--u) * 3))/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.date-big { margin-top: calc(var(--u) * 1.4); font: italic 400 calc(var(--u) * 7.6)/1.05 var(--serif); color: var(--yellow); }
.date-big .dm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.date-big .dm > span { display: inline-block; }
.c-mriya .body { margin-top: calc(var(--u) * 4); }

/* ------------------------------------------------------------ 6 · dos & don'ts */
.c-dos { --card-bg: #0057B7; --accent: var(--yellow); background: linear-gradient(170deg, #0a64cc 0%, #0057B7 45%, #00418c 100%); }
.c-dos .content { top: 0; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--u) * 20); }
.c-dos .hook { font-size: calc(var(--u) * 11); }
.customs { list-style: none; margin-top: calc(var(--u) * 7); display: flex; flex-direction: column; gap: calc(var(--u) * 4.4); }
.customs li { display: flex; align-items: center; gap: calc(var(--u) * 4.4); }
.pict { position: relative; flex: none; width: calc(var(--u) * 22); height: calc(var(--u) * 22); border-radius: 50%; background: rgba(255,255,255,.1); }
.pict > svg { width: 100%; height: 100%; fill: none; stroke: #FBF6EC; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; right: calc(var(--u) * -1); bottom: calc(var(--u) * -1);
  width: calc(var(--u) * 8.6); height: calc(var(--u) * 8.6); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.badge svg { width: 62%; height: 62%; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.do .badge { background: var(--yellow); }
.do .badge svg { stroke: #0B2A55; }
.dont .badge { background: #FBF6EC; }
.dont .badge svg { stroke: #C0322B; }
.customs h3 { font: 400 calc(var(--u) * 6.2)/1.08 var(--serif); letter-spacing: -.01em; }
.customs p { margin-top: calc(var(--u) * 1.4); font: 400 calc(var(--u) * 3.7)/1.42 var(--sans); opacity: .85; }

/* ------------------------------------------------------------ 7 · outro */
.c-outro { --card-bg: #FFD700; background: radial-gradient(ellipse at 50% 40%, #FFE24D 0%, #FFD700 55%, #F2C200 100%); }
.c-outro .rings circle { stroke: rgba(10,26,54,.14); }
.c-outro .rings circle.gold { stroke: rgba(0,87,183,.5); }
.c-outro .rings .house { fill: rgba(10,26,54,.18); }
.glimpse { font: 600 max(11px, calc(var(--u) * 3.6))/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; max-width: 18em; color: #0A1A36; }
.question {
  font: 400 calc(var(--u) * 16)/.95 var(--serif); font-variation-settings: "opsz" 144;
  letter-spacing: -.03em; color: #0A1A36; max-width: 6.2em; text-wrap: balance;
}
.question .wm { padding-right: .2em; margin-right: -.2em; }
.q-mark { color: var(--blue); display: inline-block; font-style: italic; }
.c-outro .duo i:last-child { background: #0A1A36; }

/* ------------------------------------------------------------ 8 · quiz */
.c-quiz { --card-bg: #0A2A66; background: #0A2A66; overflow: hidden; color: #FBF6EC; }
.c-quiz .qz-sky { position: absolute; inset: -20%; background:
  radial-gradient(60% 45% at 50% 62%, rgba(255,215,0,.55), transparent 70%),
  linear-gradient(180deg, #06204F 0%, #0057B7 45%, #3F7FD0 60%, #E9C24A 78%, #FFD700 100%); }
.c-quiz .qz-sun { position: absolute; left: 50%; top: 60%; width: calc(var(--u) * 90); aspect-ratio: 1; margin: calc(var(--u) * -45) 0 0 calc(var(--u) * -45);
  border-radius: 50%; background: radial-gradient(circle, rgba(255,240,170,.95) 0%, rgba(255,215,0,.5) 35%, rgba(255,215,0,0) 70%); filter: blur(4px); }
.c-quiz .qz-field { position: absolute; left: -5%; right: -5%; bottom: 0; width: 110%; height: 42%; }
.qz-wave.w1 { fill: #E4B526; } .qz-wave.w2 { fill: #D9A41C; } .qz-wave.w3 { fill: #C48F12; }
.qz-particles { position: absolute; inset: 0; pointer-events: none; }
.qz-particles i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: #FFF3B0; box-shadow: 0 0 10px 2px rgba(255,225,90,.8); opacity: 0; }
.qz-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); padding-bottom: 18%; z-index: 3; }
.qz-kicker { font: 650 max(11px, calc(var(--u) * 3))/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #FFE36A; }
.qz-title { margin-top: calc(var(--u) * 4); font: 400 calc(var(--u) * 34)/.85 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.03em; color: #fff; text-shadow: 0 10px 50px rgba(0,30,90,.55); }
.qz-teaser { margin-top: calc(var(--u) * 4); font: italic 400 calc(var(--u) * 7)/1.15 var(--serif); color: #FBF6EC; max-width: 14em; }
.c-quiz a.qz-btn, .c-quiz a.qz-btn:visited, .c-quiz a.qz-btn:link { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  margin-top: calc(var(--u) * 9); min-height: 56px; padding: calc(var(--u) * 4.5) calc(var(--u) * 10); border-radius: 999px;
  background: #FFD700; color: #0A2A66 !important; text-decoration: none !important; border: 0;
  font: 700 max(17px, calc(var(--u) * 5.4))/1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 0 0 0 rgba(255,215,0,.7), 0 14px 40px rgba(255,200,0,.45); animation: qzPulse 2s ease-out infinite; z-index: 4; }
.c-quiz a.qz-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: qzShine 2.8s ease-in-out infinite; }
.c-quiz a.qz-btn span { position: relative; z-index: 1; }
.qz-hint { margin-top: calc(var(--u) * 4); font: 500 max(11px, calc(var(--u) * 3))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
@keyframes qzPulse { 0% { box-shadow: 0 0 0 0 rgba(255,215,0,.7), 0 14px 40px rgba(255,200,0,.45); } 70% { box-shadow: 0 0 0 22px rgba(255,215,0,0), 0 14px 40px rgba(255,200,0,.45); } 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0), 0 14px 40px rgba(255,200,0,.45); } }
@keyframes qzShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .c-quiz a.qz-btn, .c-quiz a.qz-btn::after { animation: none; } }
@media (orientation: portrait) { .c-mriya .flight { height: 52%; } }

/* ------------------------------------------------------------ grain */
.grain {
  position: absolute; inset: -50%; z-index: 30; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
body.paused .grain { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}
.quiz-btn{display:inline-block;font:600 calc(var(--u)*5)/1 Inter,system-ui,sans-serif;font-style:normal;padding:calc(var(--u)*4) calc(var(--u)*7);border-radius:999px;background:#FFD700;color:#0b1a33;text-decoration:none;min-height:48px;box-shadow:0 8px 30px rgba(255,215,0,.25);position:relative;z-index:5}
