/* «Мираж» · a ghostly celebration made of dust. Shared by /offers/v2/b2b/mirage/ and /offers/v2/b2c/mirage/. */

@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/offers/v2/assets/fonts/piazzolla/piazzolla-var-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/offers/v2/assets/fonts/piazzolla/piazzolla-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Piazzolla'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/offers/v2/assets/fonts/piazzolla/piazzolla-var-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Piazzolla'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/offers/v2/assets/fonts/piazzolla/piazzolla-var-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(/offers/v2/assets/fonts/martian-mono/martian-mono-var-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(/offers/v2/assets/fonts/martian-mono/martian-mono-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/offers/v2/assets/fonts/unbounded/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F; }

:root {
  --night: #07060a;
  --pearl: #f1e8da;
  --pearl-2: rgba(241, 232, 218, 0.76);
  --pearl-3: rgba(241, 232, 218, 0.5);
  --hair: rgba(241, 232, 218, 0.16);
  --gold: #f0c58c;
  --gold-2: #ffdcaa;
  --serif: 'Piazzolla', 'Iowan Old Style', 'Georgia', serif;
  --mono: 'Martian Mono', 'SF Mono', ui-monospace, monospace;
  --gut: clamp(20px, 6.8vw, 108px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--pearl); background: var(--night); font-family: var(--serif); font-size: 17px; line-height: 1.5; font-weight: 330; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(240, 197, 140, 0.32); color: #fff; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 5px; border-radius: 999px; }
p { margin: 0; }

/* the canvas lies over the words and adds its light to them: dust drifts in front of the letters */
#mirage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.no-gl #mirage { mix-blend-mode: normal; z-index: 0; }

/* the first second: a thin line of light on the horizon, before the dust lifts off it */
.boot body::before { content: ''; position: fixed; z-index: 3; left: 8%; right: 8%; top: 61%; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 214, 160, 0.55) 30%, rgba(255, 236, 205, 0.85) 50%, rgba(255, 214, 160, 0.55) 70%, transparent); box-shadow: 0 0 24px 2px rgba(255, 190, 120, 0.35); animation: hor 2.4s ease-in-out infinite; }
@keyframes hor { 50% { opacity: 0.55; transform: scaleX(0.94); } }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 22px; padding: 22px var(--gut); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.7s; }
.top.hide { transform: translateY(-120%); opacity: 0; }
.mark { font: 600 21px/1 'Unbounded', var(--serif); letter-spacing: -0.03em; color: var(--pearl); text-decoration: none; padding: 10px 0; border-radius: 6px; }
.mark i { font-style: normal; color: var(--gold); display: inline-block; animation: glint 8s ease-in-out infinite; }
@keyframes glint { 0%, 86%, 100% { text-shadow: 0 0 6px rgba(240, 197, 140, 0.5); } 90% { text-shadow: 0 0 6px #fff, 0 0 18px rgba(255, 220, 160, 0.95), 0 0 34px rgba(240, 197, 140, 0.7); color: #fff8ea; } }
.top .kind { font: 400 10.5px/1 var(--mono); font-stretch: 87.5%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pearl-3); white-space: nowrap; }
.top .go { margin-left: auto; font-size: 15px; font-weight: 400; font-style: italic; letter-spacing: 0.01em; color: var(--pearl); text-decoration: none; padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(240, 197, 140, 0.4); background: rgba(7, 6, 10, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background 0.35s, color 0.35s, box-shadow 0.35s; white-space: nowrap; }
.top .go:hover { background: var(--gold); color: #1b1309; box-shadow: 0 0 30px rgba(240, 197, 140, 0.45); }

/* the frame counter in the corner: which picture of the night, how many motes, what the cursor is */
.meta { position: fixed; z-index: 30; right: 22px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: flex; gap: 22px; margin: 0; font: 300 10px/1 var(--mono); font-stretch: 87.5%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pearl-3); pointer-events: none; transition: opacity 0.8s; }
.meta b { font-weight: 400; color: var(--gold); }
.no-gl .meta { display: none; }

/* scenes: one picture per screen; the words keep to a calm side, the dust takes the rest */
main { position: relative; z-index: 1; }
.scene { position: relative; min-height: 104vh; min-height: 104svh; display: flex; align-items: center; padding: 120px var(--gut); }
.scene[data-side='r'] { justify-content: flex-end; }
.scene[data-side='c'] { justify-content: center; text-align: center; }
.scene[data-v='top'] { align-items: flex-start; padding-top: 16vh; }
.scene[data-v='bottom'] { align-items: flex-end; padding-bottom: 12vh; }
.txt { position: relative; max-width: 480px; }
.scene[data-side='c'] .txt { max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.scene[data-side='r'] .txt { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }

h1, h2 { margin: 0; font-weight: 200; text-wrap: balance; }
em { font-style: italic; }

/* a scene's caption, like a frame of film: number, time, what the dust is doing */
.state { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font: 300 10.5px/1.4 var(--mono); font-stretch: 87.5%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pearl-3); }
.state b { font-weight: 400; color: var(--gold); }
.state::before { content: ''; flex: none; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.scene[data-side='c'] .state { justify-content: center; }
.big { font-size: clamp(76px, 9.4vw, 152px); line-height: 0.92; letter-spacing: -0.035em; margin: 0 0 22px -0.05em; color: var(--pearl); font-variation-settings: 'opsz' 30; }
.big em, .mid em, .say em, .hero h1 em { font-weight: 200; color: var(--gold-2); }
.mid { font-size: clamp(46px, 5vw, 80px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 18px -0.03em; font-variation-settings: 'opsz' 30; }
.lead { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.42; font-weight: 320; color: var(--pearl); text-wrap: pretty; font-variation-settings: 'opsz' 18; }
.note { font-size: 16.5px; line-height: 1.6; font-weight: 320; color: var(--pearl-2); text-wrap: pretty; }

/* a time of the day */
.when { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.5; font-weight: 320; color: var(--pearl-2); text-wrap: pretty; }
.when b { grid-row: span 2; font: 400 12px/1.9 var(--mono); font-stretch: 87.5%; letter-spacing: 0.06em; color: var(--gold); font-variant-numeric: tabular-nums; }
.when span { display: block; font-size: 19px; font-weight: 380; color: var(--pearl); }
.scene[data-side='c'] .when { text-align: left; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; padding-top: 110px; padding-bottom: 110px; }
.hero .txt { max-width: 640px; }
.kicker { margin: 0 0 30px; font: 300 10.5px/1.4 var(--mono); font-stretch: 87.5%; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pearl-3); }
.kicker b { font-weight: 400; color: var(--gold); }
.hero h1 { font-size: clamp(54px, 6.6vw, 112px); line-height: 0.96; letter-spacing: -0.03em; font-weight: 200; color: var(--pearl); margin: 0 0 0 -0.04em; font-variation-settings: 'opsz' 30; }
.hero h1 span { display: block; }
.hero .sub { margin-top: 34px; max-width: 430px; font-size: 18px; line-height: 1.55; font-weight: 320; color: var(--pearl-2); text-wrap: pretty; }
.triad { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; margin-top: 26px; font-size: 21px; font-style: italic; font-weight: 300; color: var(--pearl); }
.triad span + span::before { content: '·'; margin: 0 14px; font-style: normal; color: var(--gold); }
/* the words gather as the dust does */
.hero .kicker, .hero h1 span, .hero .sub, .hero .triad, .hint { opacity: 0; filter: blur(14px); transform: translateY(10px); transition: opacity 1.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gathered .hero .kicker, .gathered .hero h1 span, .gathered .hero .sub, .gathered .hero .triad, .gathered .hint { opacity: 1; filter: none; transform: none; }
.gathered .hero h1 span:nth-child(1) { transition-delay: 0.35s; }
.gathered .hero h1 span:nth-child(2) { transition-delay: 0.6s; }
.gathered .hero h1 span:nth-child(3) { transition-delay: 0.85s; }
.gathered .hero .sub { transition-delay: 1.25s; }
.gathered .hero .triad { transition-delay: 1.5s; }
.gathered .hint { transition-delay: 2.4s; }
.hint { position: absolute; right: var(--gut); bottom: 30px; margin: 0; font: 300 10px/1 var(--mono); font-stretch: 87.5%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pearl-2); }
.hint i { font-style: normal; }
.windy .hint { opacity: 0.35; }
.h-touch { display: none; }
@media (pointer: coarse) { .h-fine { display: none; } .h-touch { display: inline; } }
.no-gl .hint, .still .hint { display: none; }

/* labels that float beside the dust (placed by script), and the projects named in the scene */
.tag { position: fixed; left: 0; top: 0; z-index: 3; margin: 0; pointer-events: none; opacity: 0; font: 300 10px/1.3 var(--mono); font-stretch: 87.5%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pearl-2); white-space: nowrap; will-change: transform, opacity; }
.tag span { position: absolute; left: 14px; top: -6px; }
.tag::before { content: ''; position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff3dc; box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(240, 197, 140, 0.6); }
.tag.up span { left: 0; top: auto; bottom: 10px; transform: translateX(-50%); }
.tag.lf span { left: auto; right: 14px; text-align: right; }
.tag b { font-weight: 400; color: var(--gold); }
.made { list-style: none; margin: 0; padding: 0; }
.made .tag { font: italic 300 19px/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--pearl); }
.made .tag span { left: 0; top: auto; bottom: 14px; transform: translateX(-50%); text-align: center; }
.made .tag::before { display: none; }
.no-gl .tag, .no-gl .made .tag { position: static; opacity: 1; transform: none !important; }
.no-gl .tag::before, .no-gl .tag span { position: static; transform: none; }
.no-gl .made { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* «Знакомство»: one wide word */
.huge { width: max-content; max-width: none; font-size: clamp(84px, 11vw, 184px); line-height: 0.9; letter-spacing: -0.04em; margin: 0 0 26px -0.05em; font-variation-settings: 'opsz' 30; }
.word .txt { max-width: 560px; }
/* «Обед и прогулка»: small, where the trail begins */
.walk .mid { font-size: clamp(38px, 3.6vw, 58px); margin: 0; }
/* «Ужин»: one centred column under the table */
.dinner .txt { max-width: 470px; }

/* the price, large */
.cost { width: max-content; max-width: none; font-size: clamp(150px, 16vw, 260px); line-height: 0.86; letter-spacing: -0.04em; font-weight: 200; margin: 0 0 24px -0.06em; color: var(--pearl); font-variant-numeric: lining-nums; font-variation-settings: 'opsz' 30; }

/* finale */
.finale .txt { max-width: 560px; }
.say { font-size: clamp(48px, 5.4vw, 88px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 22px; font-variation-settings: 'opsz' 30; }
.finale .note { max-width: 470px; }
/* the call to action: a halo of light, empty in the middle, like the ring round a star */
.cta { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 186px; height: 186px; margin: 40px 0 22px; border-radius: 50%; text-decoration: none; color: var(--pearl); font-size: 21px; line-height: 1.12; font-weight: 300; font-style: italic; text-align: center;
  background: radial-gradient(circle, rgba(7, 6, 10, 0.2) 52%, rgba(240, 197, 140, 0.12) 66%, rgba(255, 220, 170, 0.36) 70.5%, rgba(240, 197, 140, 0.1) 74%, rgba(7, 6, 10, 0) 82%);
  box-shadow: 0 0 0 1px rgba(255, 226, 180, 0.65) inset, 0 0 40px rgba(240, 197, 140, 0.32), 0 0 120px rgba(240, 170, 100, 0.18);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.7s, background 0.7s, color 0.5s; }
.cta span { font-style: normal; font-size: 17px; margin-top: 4px; color: var(--gold); transition: color 0.5s; }
.cta:hover, .cta:focus-visible { transform: scale(1.05); color: #1b1309; background: radial-gradient(circle at 42% 36%, #fffaf0 0%, #ffe6c0 40%, #f0c58c 78%, #dca460 100%); box-shadow: 0 0 0 1px rgba(255, 240, 214, 0.9) inset, 0 0 60px rgba(240, 197, 140, 0.8), 0 0 180px rgba(240, 170, 100, 0.45); }
.cta:hover span, .cta:focus-visible span { color: #1b1309; }
.cta:focus-visible { outline-offset: 8px; border-radius: 50%; }
.helper { font-size: 15px; color: var(--pearl-2); }
.fine { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--pearl-2); max-width: 500px; text-wrap: pretty; }
.cred { margin-top: 14px; font-size: 14px; color: var(--pearl-3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.cred a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(240, 197, 140, 0.35); padding: 12px 0 2px; font-style: italic; }
.cred a:hover { border-color: var(--gold); }
.scene[data-side='c'] .cred { justify-content: center; }

/* review switcher: B2B | B2C · ‹ direction › · Все */
.sw { position: fixed; z-index: 45; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; font: 400 12.5px/1 var(--serif); letter-spacing: 0.01em; background: rgba(10, 9, 13, 0.7); border: 1px solid rgba(241, 232, 218, 0.1); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); transition: opacity 0.45s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sw.away { opacity: 0; pointer-events: none; transform: translate(-50%, 14px); }
.sw a, .sw button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 13px; border-radius: 999px; color: var(--pearl-3); text-decoration: none; white-space: nowrap; font: inherit; background: none; border: 0; cursor: pointer; transition: color 0.25s, background 0.25s; }
.sw a:hover, .sw button:hover { color: var(--pearl); }
.sw-track { display: flex; gap: 2px; }
.sw-track a[aria-current='page'] { color: #1b1309; background: var(--pearl); }
.sw .sw-step { min-width: 36px; padding: 0; font-size: 17px; }
.sw .sw-cur { color: var(--gold); background: rgba(240, 197, 140, 0.12); font-style: italic; gap: 8px; }
.sw-cur i { width: 6px; height: 6px; border-right: 1.2px solid; border-top: 1.2px solid; transform: rotate(-45deg) translate(-1px, 1px); }
.sw-sep { width: 1px; height: 16px; background: rgba(241, 232, 218, 0.14); margin: 0 4px; }
.sw-list { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); display: none; grid-template-columns: repeat(3, auto); gap: 2px; width: max-content; max-width: calc(100vw - 32px); max-height: 60vh; overflow: auto; margin: 0; padding: 6px; list-style: none; border-radius: 20px; background: rgba(10, 9, 13, 0.96); border: 1px solid rgba(241, 232, 218, 0.1); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5); }
.sw.open .sw-list { display: grid; }
.sw-list a { width: 100%; justify-content: flex-start; min-height: 40px; }
.sw-list a[aria-current='page'] { color: var(--gold); background: rgba(240, 197, 140, 0.12); }

.sw-list .sw-all-m { display: none; }

@media (max-width: 760px) {
  .top { padding: 12px 16px; gap: 12px; }
  .top .kind { display: none; }
  .top .go { padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
  .scene, .scene[data-side], .scene[data-v] { align-items: flex-end; justify-content: flex-start; text-align: left; padding: 54svh 20px 96px; min-height: 100svh; }
  .scene[data-m='low'] { padding-top: 60svh; }
  .scene[data-side] .txt { max-width: 100%; text-align: left; align-items: flex-start; }
  .scene[data-side='c'] .state { justify-content: flex-start; }
  .big { font-size: 66px; margin-bottom: 14px; }
  .mid { font-size: 42px; }
  .huge { font-size: 64px; margin-bottom: 14px; }
  .lead { font-size: 18.5px; }
  .note { font-size: 15.5px; }
  .when { margin-top: 22px; grid-template-columns: 56px 1fr; font-size: 15px; }
  .when span { font-size: 17.5px; }
  .hero { padding: 0 20px 104px; align-items: flex-end; }
  .hero h1 { font-size: 50px; line-height: 0.98; }
  .kicker { margin-bottom: 18px; }
  .hero .sub { margin-top: 22px; font-size: 16px; }
  .triad { font-size: 19px; margin-top: 16px; }
  .triad span + span::before { margin: 0 10px; }
  .hint { right: auto; left: 20px; bottom: 74px; }
  .scene.finale { padding-top: 46svh; padding-bottom: 120px; }
  .say { font-size: 44px; }
  .cost { font-size: 132px; margin-bottom: 14px; }
  .cta { width: 164px; height: 164px; font-size: 19px; }
  .cred { gap: 0 14px; }
  .meta { display: none; }
  .made { margin-top: 16px; }
  .made .tag { position: relative; display: block; padding-left: 18px; margin-top: 6px; opacity: 1 !important; transform: none !important; font-size: 17px; line-height: 1.35; white-space: normal; }
  .made .tag span { position: static; transform: none; }
  .made .tag br { display: none; }
  .made .tag::before { display: block; left: 0; top: 0.6em; }
  .sw { bottom: 10px; padding: 3px; }
  .sw a, .sw button { min-height: 44px; padding: 0 11px; }
  .sw .sw-step { min-width: 40px; }
  .sw-all { display: none !important; }
  .sw-list { grid-template-columns: repeat(2, auto); }
  .sw-list a { min-height: 44px; }
  .sw-list .sw-all-m { display: list-item; }
}

@media (prefers-reduced-motion: reduce) {
  .mark i, .boot body::before { animation: none; }
  .top, .sw, .cta, .hint, .hero .kicker, .hero h1 span, .hero .sub, .hero .triad { transition: none; }
  .hero .kicker, .hero h1 span, .hero .sub, .hero .triad { opacity: 1; filter: none; transform: none; }
}

/* B2C: the label that travels with your idea; the price shows only where the idea is priced */
.idea-tag { z-index: 3; transition: opacity 0.6s; }
.idea-tag span { left: 30px; top: -22px; }
.idea-tag::before { left: 14px; top: -14px; width: 3px; height: 3px; }
.idea-tag b { display: none; }
.idea-tag.priced b { display: inline; }
.idea-tag.lf span { left: auto; right: 30px; }
.no-gl .idea-tag { display: none; }
.no-gl .hero .kicker, .no-gl .hero h1 span, .no-gl .hero .sub, .no-gl .hero .triad { transition: none; opacity: 1; filter: none; transform: none; }
