/* «Северный мех» — скорняжная мастерская, Екатеринбург.
   Wintry paper, deep spruce ink, cognac thread. Prata + IBM Plex Sans / Mono. */

:root {
  --paper: #F5F4F1;
  --paper-2: #ECEAE4;
  --paper-3: #E2DFD7;
  --snow: #FBFAF8;
  --ink: #1E2B2A;
  --ink-2: #273635;
  --ink-3: #354544;
  --cognac: #9A5B34;
  --cognac-d: #7E4727;
  --cognac-l: #C08458;
  --frost: #C9D6DA;
  --frost-2: #DCE5E8;
  --frost-3: #EBF0F1;
  --muted: #5E6866;
  --muted-2: #808886;
  --line: rgba(30, 43, 42, .13);
  --line-2: rgba(30, 43, 42, .26);
  --line-inv: rgba(201, 214, 218, .2);

  --ff-display: "Prata", "Didot", "Bodoni MT", "Times New Roman", Georgia, serif;
  --ff-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-label: .7rem;
  --fs-sm: .875rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  --fs-xl: clamp(1.85rem, 1.2rem + 2.3vw, 3.15rem);
  --fs-2xl: clamp(2.05rem, 1.1rem + 3.3vw, 4.1rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --hdr: 60px;
  --r: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -28px rgba(18, 28, 27, .45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.62 var(--ff-body); -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
figure { margin: 0; }
h1, h2, h3, p, li, dd, blockquote, summary, legend { overflow-wrap: break-word; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--frost); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; }
.on-dark :focus-visible, .process :focus-visible, .ftr :focus-visible, .mbar :focus-visible { outline-color: var(--frost); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 44px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.no-js .js-only { display: none !important; }

.label { font: 500 var(--fs-label)/1.35 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; }
.display { font-family: var(--ff-display); font-weight: 400; letter-spacing: -.012em; line-height: 1.08; }
.muted { color: var(--muted); }
.mono { font-family: var(--ff-mono); }
.nowrap, .glue { white-space: nowrap; }

/* stitched rule: the thread runs between sections */
.stitch { height: 2px; background: linear-gradient(90deg, var(--cognac) 0 7px, transparent 7px 12px) 0 0 / 12px 2px repeat-x; opacity: .75; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 48px; padding: .8em 1.3em; border: 1px solid transparent; border-radius: var(--r); font: 500 .95rem/1.15 var(--ff-body); text-decoration: none; text-align: center; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--cognac); color: #fff; }
.btn--accent:hover { background: var(--cognac-d); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(30, 43, 42, .04); }
.btn--frost { background: var(--frost); color: var(--ink); }
.btn--frost:hover { background: #fff; }
.btn--line-inv { border-color: var(--line-inv); color: var(--paper); background: transparent; }
.btn--line-inv:hover { border-color: var(--frost); }
.btn--sm { min-height: 44px; padding: .55em 1em; font-size: .875rem; }
.btn--block { width: 100%; }

.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.ulink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* channel buttons (Telegram, MAX, WhatsApp) */
.chan { display: flex; flex-wrap: wrap; gap: 8px; }
.chan .btn { flex: 1 1 auto; }
.ico-max { font: 600 .72rem/1 var(--ff-mono); letter-spacing: .04em; border: 1.5px solid currentColor; border-radius: 4px; padding: 3px 4px 2px; }

/* live open/closed badge */
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 .78rem/1.3 var(--ff-mono); letter-spacing: .02em; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); flex: none; }
.status.is-open .status__dot { background: #3F8A5F; box-shadow: 0 0 0 4px rgba(63, 138, 95, .16); }
.status.is-closed .status__dot { background: var(--cognac); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 241, .9); -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgba(18, 28, 27, .5); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 400 1.28rem/1.05 var(--ff-display); letter-spacing: -.01em; }
.brand__sub { font: 500 .6rem/1.3 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav { display: none; }
.nav a { font-size: .9rem; text-decoration: none; padding: 10px 0; background: linear-gradient(var(--cognac), var(--cognac)) no-repeat 0 calc(100% - 6px) / 0 1px; transition: background-size .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.hdr__phone { display: none; font: 500 .85rem/1 var(--ff-mono); text-decoration: none; padding: 12px 0; }
.hdr__phone:hover { color: var(--cognac); }
.hdr .status { display: none; }
.hdr__cta { display: none; }
.menu { position: static; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 .8rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__bars { width: 16px; height: 10px; position: relative; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menu[open] > summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow); padding: 8px var(--gutter) 24px; }
.menu__panel a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 1.3rem/1.2 var(--ff-display); }
.menu__panel a span { font: 500 .7rem/1 var(--ff-mono); color: var(--muted); letter-spacing: .08em; }
.menu__panel .status { margin-top: 18px; }
.menu__panel .btn { margin-top: 16px; width: 100%; font: 500 .95rem/1.15 var(--ff-body); border-bottom: 0; justify-content: center; }

@media (min-width: 560px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 720px) { .hdr__phone { display: inline-block; } }
@media (min-width: 1100px) {
  :root { --hdr: 68px; }
  .nav { display: flex; gap: 26px; }
  .menu { display: none; }
  .brand { margin-right: 12px; }
  .nav { margin-right: auto; }
}
@media (min-width: 1360px) { .hdr .status { display: inline-flex; } }

/* ---------- hero: «было / стало» ---------- */
.hero { position: relative; background: var(--ink); }
.ba { --pos: 50%; position: relative; height: clamp(400px, 62svh, 600px); max-height: 980px; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; background: var(--ink-2); }
.ba__case { position: absolute; inset: 0; }
.ba__case[hidden] { display: none; }
.ba__layer { position: absolute; inset: 0; margin: 0; }
.ba__layer picture, .ba__layer img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__layer img { object-fit: cover; object-position: 50% 38%; }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__case--faded .ba__layer--before img { filter: sepia(.6) saturate(1.45) hue-rotate(-16deg) brightness(1.07) contrast(.84); }
.ba__case--yellow .ba__layer--before img { filter: sepia(.62) saturate(2.1) hue-rotate(6deg) brightness(1.03) contrast(.9); }
.ba__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 30, 29, .28) 0, rgba(20, 30, 29, 0) 22%, rgba(20, 30, 29, 0) 55%, rgba(20, 30, 29, .45) 100%); }
.ba__tag { position: absolute; top: 18px; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 8px; background: rgba(245, 244, 241, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font: 500 .66rem/1.35 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; max-width: 46%; }
.ba__tag b { font: 400 1.12rem/1.1 var(--ff-display); letter-spacing: 0; text-transform: none; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; text-align: right; align-items: flex-end; }
.ba__seam { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; pointer-events: none; background: repeating-linear-gradient(180deg, #fff 0 11px, rgba(255, 255, 255, .25) 11px 18px); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.ba__handle { position: absolute; top: 34%; left: var(--pos); z-index: 4; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 244, 241, .92); color: var(--ink); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 30px rgba(10, 18, 18, .35); cursor: grab; touch-action: none; transition: transform .25s var(--ease), box-shadow .25s; }
.ba__handle::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed var(--cognac); opacity: .85; }
.ba__handle svg { width: 30px; height: 30px; position: relative; }
.ba__handle:hover { transform: scale(1.05); }
.ba__handle:focus-visible { outline: 3px solid var(--frost); outline-offset: 4px; }
.ba.is-dragging .ba__handle { cursor: grabbing; transform: scale(.94); }
.ba__hint { position: absolute; top: calc(34% + 44px); left: var(--pos); z-index: 4; transform: translateX(-50%); padding: 5px 10px; background: rgba(20, 30, 29, .66); color: #fff; font: 500 .64rem/1.2 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; pointer-events: none; transition: opacity .5s; }
.ba.is-touched .ba__hint { opacity: 0; }

.hero__panel { position: relative; z-index: 5; margin: -56px 12px 0; padding: 20px 18px 20px; background: rgba(245, 244, 241, .94); -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 30px 60px -24px rgba(10, 18, 18, .5); }
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) { .hero__panel, .ba__tag, .hero__ticket { background: rgba(245, 244, 241, .96); } }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); margin-bottom: 12px; }
.hero__title { font: 400 clamp(1.62rem, 1rem + 2.9vw, 3.5rem)/1.06 var(--ff-display); letter-spacing: -.015em; max-width: 15ch; }
.hero__lead { margin-top: 12px; font-size: .95rem; color: var(--ink-3); max-width: 46ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero__acts .btn { flex: 1 1 150px; }

.hero__ticket { position: relative; z-index: 5; background: var(--ink); color: var(--paper); padding: 18px var(--gutter) 22px; display: grid; gap: 14px; }
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--frost); }
.ticket__title { font: 400 1.25rem/1.2 var(--ff-display); }
.ticket__rows { display: grid; gap: 6px; font: 400 .8rem/1.45 var(--ff-mono); }
.ticket__row { display: flex; gap: 8px; align-items: baseline; }
.ticket__row dt { color: var(--frost); flex: none; }
.ticket__row i { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line-inv); transform: translateY(-4px); }
.ticket__row dd { margin: 0; text-align: right; }
.ticket__switch { display: flex; gap: 6px; }
.ticket__switch button { flex: 1; min-height: 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 6px 10px; border: 1px solid var(--line-inv); background: transparent; color: var(--paper); border-radius: var(--r); text-align: left; transition: background-color .25s, border-color .25s, color .25s; }
.ticket__switch button b { font: 500 .66rem/1 var(--ff-mono); letter-spacing: .1em; color: var(--frost); }
.ticket__switch button span { font-size: .8rem; line-height: 1.2; }
.ticket__switch button:hover { border-color: var(--frost); }
.ticket__switch button[aria-pressed="true"] { background: var(--frost); color: var(--ink); border-color: var(--frost); }
.ticket__switch button[aria-pressed="true"] b { color: var(--cognac-d); }

@media (min-width: 720px) {
  .ba__tag { top: 24px; }
  .ba__tag--before { left: var(--gutter); }
  .ba__tag--after { right: var(--gutter); }
  .ba__handle { top: 42%; }
  .ba__hint { top: calc(42% + 44px); }
  .ba { height: clamp(520px, 72svh, 860px); }
  .hero__panel { margin: -150px 0 0 var(--gutter); width: min(600px, 80vw); padding: 30px 32px 30px; }
  .hero__lead { font-size: 1rem; }
  .hero__acts .btn { flex: 0 0 auto; }
  .hero__ticket { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "top top" "title rows" "switch switch"; align-items: start; column-gap: 40px; margin-top: 28px; }
  .ticket__top { grid-area: top; }
  .ticket__title { grid-area: title; }
  .ticket__rows { grid-area: rows; }
  .ticket__switch { grid-area: switch; }
}
@media (min-width: 1100px) {
  .ba__handle { top: 46%; }
  .ba__hint { top: calc(46% + 44px); }
  .ba { height: max(460px, calc(100svh - var(--hdr) - 40px)); }
  .hero__panel { position: absolute; left: var(--gutter); bottom: var(--gutter); margin: 0; width: min(620px, 46vw); background: rgba(245, 244, 241, .8); }
  .hero__ticket { position: absolute; right: var(--gutter); bottom: var(--gutter); width: 360px; display: block; margin: 0; padding: 26px 22px 20px; background: rgba(245, 244, 241, .84); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); color: var(--ink); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 30px 60px -24px rgba(10, 18, 18, .5); }
  .hero__ticket::before { content: ""; position: absolute; top: 11px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink-2); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
  .hero__ticket::after { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(30, 43, 42, .22); pointer-events: none; }
  .ticket__top { color: var(--muted); margin-bottom: 8px; }
  .ticket__title { margin-bottom: 12px; }
  .ticket__row dt { color: var(--muted); }
  .ticket__row i { border-bottom-color: var(--line-2); }
  .ticket__rows { margin-bottom: 16px; }
  .ticket__switch button { border-color: var(--line-2); color: var(--ink); }
  .ticket__switch button b { color: var(--muted); }
  .ticket__switch button:hover { border-color: var(--ink); }
  .ticket__switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .ticket__switch button[aria-pressed="true"] b { color: var(--frost); }
}

/* ---------- facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: 1fr 1fr; }
.fact { padding: 22px 12px 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.fact:nth-child(-n+2) { border-top: 0; }
.fact__num { font: 400 clamp(1.7rem, 1.2rem + 1.5vw, 2.6rem)/1 var(--ff-display); letter-spacing: -.01em; }
.fact__num small { font-size: .5em; letter-spacing: 0; }
.fact__txt { font-size: .86rem; color: var(--muted); line-height: 1.45; max-width: 26ch; }
@media (min-width: 900px) {
  .facts__grid { grid-template-columns: repeat(4, 1fr); }
  .fact { border-top: 0; padding: 30px 24px 30px; border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 132px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.shead { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); margin-bottom: clamp(32px, 4.5vw, 64px); }
.shead__num { color: var(--cognac); }
.shead__title { font: 400 var(--fs-xl)/1.08 var(--ff-display); letter-spacing: -.014em; max-width: 19ch; }
.shead__lead { color: var(--muted); max-width: 54ch; font-size: var(--fs-md); margin-top: 6px; }
.shead__meta { color: var(--muted); }
@media (min-width: 900px) {
  .shead { grid-template-columns: 140px minmax(0, 1fr) minmax(180px, 280px); column-gap: 32px; align-items: start; }
  .shead__meta { text-align: right; padding-top: 6px; }
  .shead__body { grid-column: 2; }
}
.on-dark .shead { border-top-color: var(--line-inv); }
.on-dark .shead__num { color: var(--cognac-l); }
.on-dark .shead__lead, .on-dark .shead__meta { color: var(--frost); }

/* ---------- season ---------- */
.season { position: relative; overflow: hidden; background: #E9ECEC; }
.season__media { position: absolute; inset: -12% 0; }
.season__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.season__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(240, 242, 242, .95) 0, rgba(240, 242, 242, .9) 62%, rgba(240, 242, 242, 0) 88%); }
@media (min-width: 900px) { .season__veil { background: linear-gradient(90deg, rgba(240, 242, 242, .96) 0, rgba(240, 242, 242, .88) 36%, rgba(240, 242, 242, 0) 62%), linear-gradient(180deg, rgba(240, 242, 242, .6) 0, rgba(240, 242, 242, 0) 30%); } }
.season__in { position: relative; min-height: clamp(460px, 52vw, 640px); padding-block: clamp(36px, 5vw, 64px) 160px; display: grid; align-content: start; gap: 18px; }
@media (min-width: 900px) { .season__in { padding-bottom: clamp(36px, 5vw, 64px); } }
@media (max-width: 899px) {
  .season__media { inset: auto 0 -60px 0; height: 380px; }
  .season__media img { object-position: 50% 45%; }
  .season__veil { background: linear-gradient(180deg, rgba(240, 242, 242, .97) 0, rgba(240, 242, 242, .94) calc(100% - 300px), rgba(240, 242, 242, 0) calc(100% - 150px)); }
}
.season__title { font: 400 clamp(1.75rem, 1.1rem + 2.6vw, 3.3rem)/1.08 var(--ff-display); letter-spacing: -.014em; max-width: 17ch; }
.season__text { max-width: 44ch; color: var(--ink-3); }
.season__row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 6px; }
.countdown { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.countdown b { font: 400 1.7rem/1 var(--ff-display); color: #fff; }
.countdown span { font: 500 .72rem/1.3 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--frost); }

/* calendar: when to bring the coat */
.cal { --lbl: 0px; --now: 0; position: relative; margin-top: clamp(40px, 5vw, 64px); }
.cal__months { display: none; }
.cal__list { list-style: none; position: relative; }
.cal__row { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.cal__row:last-child { border-bottom: 1px solid var(--line); }
.cal__name { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.cal__name b { font-weight: 500; font-size: .95rem; }
.cal__name span { font: 400 .78rem/1.3 var(--ff-mono); color: var(--muted); }
.cal__row.is-active .cal__name b { color: var(--cognac-d); }
.cal__row.is-active .cal__name b::after { content: " · сейчас"; font: 500 .66rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; }
.cal { margin-bottom: 26px; }
.cal__track { position: relative; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px) calc(100% / 12)); }
.cal__track i { position: absolute; top: 3px; bottom: 3px; left: calc((var(--from) - 1) / 12 * 100%); width: calc((var(--to) - var(--from) + 1) / 12 * 100%); border-radius: 2px; }
.cal__bar--calm { background: var(--frost); }
.cal__bar--season { background: var(--cognac); }
.cal__bar--all { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, transparent 2px 6px); opacity: .55; }
.cal__bar--clean { background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.cal__bar--cold { background: var(--ink); }
.cal__now { display: none; }
.cal.has-now .cal__now { display: block; position: absolute; top: 0; bottom: -6px; width: 0; left: calc(var(--lbl) + (100% - var(--lbl)) * (var(--now) - .5) / 12); border-left: 1.5px solid var(--cognac); pointer-events: none; }
.cal__now span { position: absolute; bottom: -18px; left: 0; transform: translateX(-50%); background: var(--paper); padding: 2px 6px; font: 500 .64rem/1 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cognac); white-space: nowrap; }
.cal__mobmonths { display: grid; grid-template-columns: repeat(12, 1fr); font: 500 .58rem/1 var(--ff-mono); color: var(--muted); text-align: center; letter-spacing: .02em; text-transform: uppercase; padding-bottom: 6px; }
@media (max-width: 899px) {
  .cal.has-now .cal__now { display: none; }
  .cal.has-now .cal__track::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: calc((var(--now) - .5) / 12 * 100%); border-left: 1.5px solid var(--cognac); }
  .cal__mobmonths span.is-now { color: var(--cognac); font-weight: 600; }
}
@media (min-width: 900px) {
  .cal { --lbl: 330px; }
  .cal__mobmonths { display: none; }
  .cal__months { display: grid; grid-template-columns: var(--lbl) repeat(12, 1fr); font: 500 .66rem/1 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
  .cal__months span { text-align: center; }
  .cal__months span.is-now { color: var(--cognac); }
  .cal__row { grid-template-columns: var(--lbl) 1fr; align-items: center; gap: 0; padding: 16px 0; }
  .cal__name { padding-right: 28px; }
  .cal__track { height: 26px; }
}

/* ---------- materials ---------- */
.mats { display: grid; gap: 16px; list-style: none; }
.mat { position: relative; display: flex; flex-direction: column; background: var(--snow); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.mat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mat__swatch { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.mat__swatch svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.mat:hover .mat__swatch svg { transform: scale(1.06); }
.mat__swatch .label { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 7px; background: rgba(251, 250, 248, .88); color: var(--ink); }
.mat__swatch::after { content: ""; position: absolute; right: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, var(--snow) 0 3px, #A9B3B4 3.5px 5.5px, #6C7778 6px 7px, transparent 7.5px); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.mat__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 22px; flex: 1; }
.mat__name { font: 400 1.65rem/1.1 var(--ff-display); }
.mat__kinds { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.mat__list { list-style: none; display: grid; gap: 6px; font-size: .92rem; line-height: 1.4; }
.mat__list li { position: relative; padding-left: 18px; }
.mat__list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; height: 1.5px; background: linear-gradient(90deg, var(--cognac) 0 4px, transparent 4px 6px, var(--cognac) 6px) ; }
.mat__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 500 .8rem/1.3 var(--ff-mono); }
.mat__foot b { font-weight: 500; color: var(--cognac-d); }
@media (min-width: 640px) { .mats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.mats-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 18px 0 0; border-top: 1px solid var(--line); }
.mats-note p { max-width: 62ch; color: var(--muted); font-size: .95rem; }

/* ---------- marquee band ---------- */
.band { background: var(--ink); color: var(--frost); padding: 20px 0; overflow: hidden; --ml-gap: 2.2rem; --ml-speed: 46s; }
.band__row { display: flex; gap: 2.2rem; align-items: center; }
.band__row span { font: 400 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1 var(--ff-display); white-space: nowrap; color: var(--paper); }
.band__row svg { width: 16px; height: 16px; color: var(--cognac-l); flex: none; }

/* ---------- process (dark) ---------- */
.process { background: var(--ink); color: var(--paper); }
.process__grid { display: grid; gap: 48px; }
.steps { list-style: none; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 38px; top: 74px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--cognac-l) 0 7px, transparent 7px 12px) 0 0 / 2px 12px repeat-y; opacity: .7; }
.step:last-child::before { display: none; }
.step__date { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 4px 9px; border: 1px solid var(--line-inv); background: var(--ink-2); text-align: center; min-height: 66px; }
.step__date b { font: 400 1.65rem/1 var(--ff-display); color: #fff; }
.step__date span { font: 500 .6rem/1.2 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--frost); }
.step__date em { font-style: normal; font: 500 .58rem/1.2 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cognac-l); }
.step__no { color: var(--frost); }
.step__title { font: 400 1.45rem/1.15 var(--ff-display); margin: 4px 0 8px; }
.step__text { color: #C3CDCF; font-size: .96rem; max-width: 50ch; }
.process__side { position: relative; }
.process__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 520px; }
.process__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.process__photo figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--frost); }
.process__note { margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; color: var(--frost); font-size: .92rem; max-width: 48ch; }
.process__note b { color: #fff; font-weight: 500; }
@media (min-width: 1000px) {
  .process__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: start; }
  .process__side { position: sticky; top: calc(var(--hdr) + 32px); }
  .step { grid-template-columns: 96px 1fr; gap: 28px; padding-bottom: 44px; }
  .step::before { left: 47px; top: 80px; }
}

/* receipt (квитанция) — a paper object */
.receipt { position: relative; width: min(100%, 380px); background: var(--snow); color: var(--ink); padding: 22px 20px 26px; font: 400 .78rem/1.55 var(--ff-mono); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .6); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: linear-gradient(-45deg, transparent 6px, var(--snow) 6.5px) 0 0 / 12px 10px repeat-x, linear-gradient(45deg, transparent 6px, var(--snow) 6.5px) 0 0 / 12px 10px repeat-x; }
.receipt__head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.receipt__head b { font: 400 1.05rem/1.1 var(--ff-display); letter-spacing: 0; }
.receipt__head span { text-align: right; color: var(--muted); }
.rrow { display: flex; gap: 8px; align-items: baseline; }
.rrow > span:first-child { flex: none; color: var(--muted); }
.rrow i { flex: 1; min-width: 10px; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.rrow > span:last-child { text-align: right; }
.rblock { margin: 6px 0; }
.rblock > span:first-child { display: block; color: var(--muted); }
.receipt__total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-weight: 500; }
.receipt__sign { margin-top: 16px; display: flex; justify-content: space-between; align-items: flex-end; color: var(--muted); }
.receipt__sign i { flex: 1; margin: 0 10px 4px; border-bottom: 1px solid var(--line-2); }
.stamp { position: absolute; right: 22%; bottom: 2px; width: 80px; height: 80px; color: var(--cognac); opacity: .78; transform: rotate(-14deg); mix-blend-mode: multiply; pointer-events: none; }
.process .receipt { margin: -120px 0 0 auto; transform: rotate(1.6deg); }
@media (max-width: 999px) { .process .receipt { margin: -90px 12px 0 auto; } }

/* ---------- cases ---------- */
.cases__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cases__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 .7rem/1.3 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cases__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cases__legend i { width: 26px; height: 0; border-top: 2px dashed var(--muted); }
.cases__legend i.new { border-top: 2.5px solid var(--cognac); }
.cases__ctrl { display: flex; align-items: center; gap: 8px; flex: none; }
.cases__count { font: 500 .78rem/1 var(--ff-mono); color: var(--muted); min-width: 64px; text-align: center; }
.sqbtn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); background: transparent; border-radius: var(--r); transition: background-color .25s, border-color .25s, color .25s; }
.sqbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sqbtn:disabled { opacity: .35; pointer-events: none; }
.sqbtn svg { width: 20px; height: 20px; }
.cases__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 22px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior-x: contain; }
.cases__track:focus-visible { outline-offset: -2px; }
.case { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--snow); border: 1px solid var(--line); }
.case__draw { position: relative; aspect-ratio: 1 / 1; background-color: var(--frost-3); background-image: linear-gradient(rgba(30, 43, 42, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 43, 42, .09) 1px, transparent 1px), linear-gradient(rgba(30, 43, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 43, 42, .045) 1px, transparent 1px); background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; background-position: -1px -1px; border-bottom: 1px solid var(--line); }
.case__draw svg { position: absolute; inset: 8% 6% 6%; width: 88%; height: 86%; overflow: visible; }
.case__no { position: absolute; left: 14px; top: 12px; color: var(--muted); }
.case__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 22px; flex: 1; }
.case__title { font: 400 1.32rem/1.2 var(--ff-display); }
.case__text { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.case__meta { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case__meta div { background: var(--snow); padding: 8px 10px; }
.case__meta dt { font: 500 .62rem/1.2 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case__meta dd { margin: 2px 0 0; font: 500 .86rem/1.3 var(--ff-mono); }
.case__meta dd.sum { color: var(--cognac-d); }

/* garment drawings */
.dr-old { fill: none; stroke: #6F7978; stroke-width: 1.4; stroke-dasharray: 5 4; stroke-linejoin: round; }
.dr-new { fill: rgba(154, 91, 52, .1); stroke: var(--cognac); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dr-line { fill: none; stroke: var(--cognac); stroke-width: 1.2; stroke-linecap: round; }
.dr-thin { fill: none; stroke: #6F7978; stroke-width: .9; }
.dr-dim { fill: none; stroke: var(--ink); stroke-width: .8; }
.dr-txt { font: 500 8.5px var(--ff-mono); fill: var(--ink); letter-spacing: .04em; }
.dr-txt--c { fill: var(--cognac-d); }
.dr-hatch { fill: url(#hatch); stroke: var(--cognac); stroke-width: 1; }
.js .case .dr-draw { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 1.6s var(--ease) .15s, fill-opacity .8s ease 1.2s; }
.js .case.is-drawn .dr-draw { stroke-dashoffset: 0; fill-opacity: 1; }
@media (min-width: 1100px) {
  .cases__track { grid-auto-columns: 392px; gap: 20px; padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2); scroll-padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2); }
}

/* reviews */
.reviews { display: grid; gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.reviews__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-height: 620px; }
.reviews__photo img { width: 100%; height: 100%; object-fit: cover; }
.reviews__photo figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(245, 244, 241, .9); color: var(--ink); }
.reviews__list { list-style: none; display: grid; gap: 0; align-content: start; }
.review { padding: 24px 0; border-top: 1px solid var(--line); }
.review:last-child { border-bottom: 1px solid var(--line); }
.review blockquote { margin: 0; font: 400 clamp(1.1rem, 1rem + .45vw, 1.35rem)/1.45 var(--ff-display); }
.review blockquote::before { content: "«"; color: var(--cognac); margin-right: 2px; }
.review blockquote::after { content: "»"; color: var(--cognac); margin-left: 2px; }
.review figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 .74rem/1.3 var(--ff-mono); color: var(--muted); letter-spacing: .04em; }
.review figcaption b { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) { .reviews { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }

/* ---------- prices teaser ---------- */
.ptease { background: var(--paper-2); }
.ptease__grid { display: grid; gap: 40px; }
.ptease__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: none; }
.ptease__photo img { width: 100%; height: 100%; object-fit: cover; }
.plist { list-style: none; border-top: 1.5px solid var(--ink); }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 15px 0 14px; border-bottom: 1px solid var(--line); align-items: baseline; }
.prow__name { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.prow__name span { font-size: 1rem; }
.prow__name i { flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.prow__price { font: 500 .95rem/1.2 var(--ff-mono); white-space: nowrap; }
.prow__time { grid-column: 1 / -1; font: 400 .76rem/1.3 var(--ff-mono); color: var(--muted); }
.ptease__foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.express { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--snow); border-left: 3px solid var(--cognac); font-size: .9rem; max-width: 520px; }
.express b { font-weight: 600; }
@media (min-width: 900px) {
  .ptease__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .ptease__photo { display: block; }
  .prow { grid-template-columns: 1fr 130px 120px; }
  .prow__time { grid-column: auto; grid-row: 1; grid-column-start: 2; text-align: right; font-size: .8rem; }
  .prow__price { text-align: right; }
}

/* ---------- photo estimate (signature) ---------- */
.est { background: var(--frost-3); position: relative; }
.est__form { display: grid; gap: 28px; }
.est__fields { display: grid; gap: 28px; }
.fset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fset legend { padding: 0; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; font: 400 1.3rem/1.2 var(--ff-display); }
.fset legend .label { color: var(--cognac); }
.fset__hint { font-size: .86rem; color: var(--muted); margin: -4px 0 12px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { position: relative; aspect-ratio: 1 / 1.1; display: grid; place-items: center; text-align: center; cursor: pointer; background: var(--snow); border: 1.5px dashed var(--line-2); border-radius: var(--r); overflow: hidden; transition: border-color .25s, background-color .25s; }
.slot:hover { border-color: var(--cognac); }
.slot:focus-within { outline: 2px solid var(--cognac); outline-offset: 3px; }
.slot input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.slot__ph { display: grid; gap: 6px; justify-items: center; padding: 8px; pointer-events: none; }
.slot__ph svg { width: 26px; height: 26px; color: var(--cognac); }
.slot__ph b { font: 500 .64rem/1.2 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slot__ph span { font-size: .8rem; line-height: 1.25; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slot.has-file { border-style: solid; border-color: var(--ink); }
.slot.has-file .slot__ph { opacity: 0; }
.slot__ok { position: absolute; left: 6px; bottom: 6px; z-index: 1; padding: 3px 6px; background: var(--ink); color: var(--paper); font: 500 .6rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; display: none; }
.slot.has-file .slot__ok { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--snow); font-size: .92rem; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s; }
.chip span::before { content: ""; width: 12px; height: 12px; flex: none; border: 1.5px solid var(--muted); border-radius: 2px; transition: background-color .2s, border-color .2s; }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--cognac-l); border-color: var(--cognac-l); }
.chip input:focus-visible + span { outline: 2px solid var(--cognac); outline-offset: 2px; }
.chip small { font: 400 .72rem/1 var(--ff-mono); opacity: .7; }
.chip.is-na span { opacity: .55; border-style: dashed; cursor: not-allowed; }
.chip.is-na input { cursor: not-allowed; }
.chip.is-na:hover span { border-color: var(--line-2); }
.fgrid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 .7rem/1.3 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--snow); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(154, 91, 52, .22); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--ink-3); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--cognac); }
.consent a { color: var(--ink); }
.est__acts { display: grid; gap: 12px; }
.est__acts p { font-size: .85rem; color: var(--muted); }
.form-err { color: #9B2C1E; font-size: .88rem; font-weight: 500; min-height: 1.2em; }
.est__side { display: grid; gap: 16px; align-content: start; }
@media (max-width: 999px) { .est__side { order: 2; } .est__acts { order: 3; } }
.est .receipt { width: 100%; max-width: none; transform: none; }
.est .receipt__lines { display: grid; gap: 4px; margin: 6px 0; min-height: 48px; }
.est .receipt__empty { color: var(--muted); font-style: italic; }
.est__trust { display: grid; gap: 10px; font-size: .88rem; color: var(--ink-3); list-style: none; }
.est__trust li { display: flex; gap: 10px; }
.est__trust svg { width: 18px; height: 18px; flex: none; color: var(--cognac); margin-top: 2px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .field--wide { grid-column: 1 / -1; } .slots { gap: 12px; } .slot { aspect-ratio: 4 / 3.3; } }
@media (min-width: 1000px) {
  .est__form { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-areas: "fields side" "acts side"; column-gap: 64px; row-gap: 28px; align-items: start; }
  .est__fields { grid-area: fields; }
  .est__acts { grid-area: acts; }
  .est__side { grid-area: side; position: sticky; top: calc(var(--hdr) + 28px); }
}

/* ---------- storage ---------- */
.store { background: var(--ink-2); color: var(--paper); position: relative; overflow: hidden; }
.store__grid { display: grid; gap: 44px; }
.store__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; max-height: 640px; }
.store__photo img { width: 100%; height: 100%; object-fit: cover; }
.store__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(20, 30, 29, 0), rgba(20, 30, 29, .82)); pointer-events: none; }
.store__temp { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 1; display: grid; gap: 2px; }
.store__temp b { font: 400 clamp(3.2rem, 2rem + 5vw, 5.6rem)/.95 var(--ff-display); color: #fff; letter-spacing: -.02em; }
.store__temp span { color: var(--frost); }
.therm { display: grid; gap: 4px; margin-bottom: 36px; }
.therm__scale { display: grid; grid-template-columns: repeat(14, 1fr); font: 500 .6rem/1 var(--ff-mono); color: var(--frost); opacity: .8; margin-left: 0; }
.therm__scale span { transform: translateX(-50%); }
.therm__scale span:first-child, .therm__scale span:last-child { transform: none; }
.therm__row { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line-inv); }
.therm__row:last-child { border-bottom: 1px solid var(--line-inv); }
.therm__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.therm__head b { font-weight: 500; }
.therm__head span { font: 500 .8rem/1 var(--ff-mono); color: var(--frost); white-space: nowrap; }
.therm__track { position: relative; height: 10px; background: repeating-linear-gradient(90deg, rgba(201, 214, 218, .14) 0 1px, transparent 1px calc(100% / 13)); border-radius: 5px; }
.therm__track::before { content: ""; position: absolute; top: -3px; bottom: -3px; left: calc(30 / 65 * 100%); border-left: 1px solid rgba(201, 214, 218, .45); }
.therm__track i { position: absolute; top: 0; bottom: 0; left: calc((var(--a) + 30) / 65 * 100%); width: calc((var(--b) - var(--a)) / 65 * 100%); min-width: 8px; border-radius: 5px; background: var(--cognac-l); }
.therm__row--ok .therm__track i { background: var(--frost); box-shadow: 0 0 0 3px rgba(201, 214, 218, .2); }
.therm__row p { font-size: .86rem; color: #B9C4C6; }
.addons { list-style: none; display: grid; }
.addon { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line-inv); align-items: baseline; }
.addon:last-child { border-bottom: 1px solid var(--line-inv); }
.addon b { font-weight: 500; }
.addon span { font: 500 .9rem/1.2 var(--ff-mono); white-space: nowrap; color: #fff; }
.addon small { grid-column: 1 / -1; color: #B9C4C6; font-size: .84rem; }
.store__acts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1000px) { .store__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: 32px; }
.faq__aside p { color: var(--muted); max-width: 36ch; margin-bottom: 18px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; min-height: 44px; cursor: pointer; font: 400 clamp(1.08rem, 1rem + .35vw, 1.3rem)/1.3 var(--ff-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--cognac-d); }
.qa__a { padding: 0 0 22px; color: var(--ink-3); max-width: 64ch; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } .faq__aside { position: sticky; top: calc(var(--hdr) + 28px); align-self: start; } }

/* ---------- contacts ---------- */
.contacts { background: var(--paper-2); }
.contacts__grid { display: grid; gap: 32px; }
.cinfo { display: grid; gap: 22px; align-content: start; }
.cinfo__addr { font: 400 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.2 var(--ff-display); }
.cinfo__addr small { display: block; margin-top: 8px; font: 400 .92rem/1.5 var(--ff-body); color: var(--muted); }
.hours { display: grid; font: 400 .86rem/1.4 var(--ff-mono); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--line-2); }
.hours div.is-today { color: var(--cognac-d); font-weight: 500; }
.hours div.is-today dt::after { content: " · сегодня"; }
.hours dd { margin: 0; white-space: nowrap; }
.cinfo__phone { font: 500 1.15rem/1.2 var(--ff-mono); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.cinfo__phone:hover { color: var(--cognac); }
.map { position: relative; background: #E7EAE8; border: 1px solid var(--line); overflow: hidden; }
.map > svg { width: 100%; height: auto; }
.map__road { fill: none; stroke: #fff; stroke-linecap: round; }
.map__blk { fill: #DADFDC; }
.map__park { fill: url(#park); }
.map__river { fill: none; stroke: #B9CCD2; stroke-linecap: round; }
.map__lbl { font: 500 9.5px var(--ff-mono); fill: #6B7472; letter-spacing: .1em; text-transform: uppercase; }
.map__river-lbl { font: 400 15px var(--ff-display); fill: #5F7E87; }
.map__pin { fill: var(--cognac); }
.map__pulse { fill: var(--cognac); opacity: .25; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }
.map__card { fill: var(--ink); }
.map__card-t { font: 400 13px var(--ff-display); fill: #fff; }
.map__card-s { font: 500 8.5px var(--ff-mono); fill: var(--frost); letter-spacing: .06em; }
.map__foot { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: flex-end; pointer-events: none; }
.map__foot > * { pointer-events: auto; }
@media (max-width: 639px) { .map__foot { position: static; padding: 12px; background: var(--paper-2); border-top: 1px solid var(--line); } .map__foot .btn { width: 100%; } }
.landmark { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.landmark img { width: 96px; height: 72px; object-fit: cover; }
.landmark p { font-size: .88rem; color: var(--muted); }
@media (min-width: 1000px) { .contacts__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #C3CDCF; padding: 56px 0 28px; font-size: .9rem; }
.ftr__grid { display: grid; gap: 32px; }
.ftr .brand { color: var(--paper); }
.ftr .brand__mark { color: var(--frost); }
.ftr .brand__sub { color: var(--frost); }
.ftr h3 { font: 500 .68rem/1.3 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--frost); margin-bottom: 12px; }
.ftr ul { list-style: none; display: grid; gap: 0; }
.ftr a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -14px; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-inv); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font: 400 .74rem/1.5 var(--ff-mono); color: #94A1A3; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- sticky mobile bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(30, 43, 42, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .4s var(--ease); }
.mbar .btn { min-height: 48px; }
.mbar__main { flex: 1; }
.mbar__ico { width: 48px; padding: 0; flex: none; border-color: var(--line-inv); color: var(--paper); background: transparent; }
.mbar__ico:hover { border-color: var(--frost); }
.mbar.is-hidden, body.has-dock .mbar { transform: translateY(110%); }
body { padding-bottom: 72px; }
body:not(:has(.mbar)) { padding-bottom: 0; }
@media (min-width: 1100px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* ---------- prices page ---------- */
.phead { padding-block: clamp(36px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.crumbs { display: flex; gap: 8px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cognac); }
.phead__grid { display: grid; gap: 28px; }
.phead__title { font: 400 var(--fs-2xl)/1.04 var(--ff-display); letter-spacing: -.018em; max-width: 14ch; }
.phead__lead { margin-top: 16px; color: var(--ink-3); font-size: var(--fs-md); max-width: 52ch; }
.phead__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--muted); }
.phead__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.phead__photo img { width: 100%; height: 100%; object-fit: cover; }
.phead__photo .express { position: absolute; left: 12px; right: 12px; bottom: 12px; }
@media (min-width: 900px) { .phead__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; } .phead__photo { aspect-ratio: 4 / 4.4; } }

.ptools { position: sticky; top: var(--hdr); z-index: 30; background: rgba(245, 244, 241, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.ptools__in { display: grid; gap: 10px; padding-block: 12px; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 48px; padding: 10px 44px 10px 42px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--snow); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(154, 91, 52, .22); }
.search__clear { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; background: transparent; display: none; place-items: center; color: var(--muted); }
.search.has-q .search__clear { display: grid; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--snow); font-size: .88rem; white-space: nowrap; }
.filters button span { font: 500 .7rem/1 var(--ff-mono); color: var(--muted); margin-left: 4px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--frost); }
.xtoggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: .9rem; }
.xtoggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.xtoggle__sw { position: relative; width: 42px; height: 24px; border-radius: 12px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s; flex: none; }
.xtoggle__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.xtoggle input:checked + .xtoggle__sw { background: var(--cognac); }
.xtoggle input:checked + .xtoggle__sw::after { transform: translateX(18px); }
.xtoggle input:focus-visible + .xtoggle__sw { outline: 2px solid var(--cognac); outline-offset: 2px; }
@media (max-width: 899px) {
  .ptools__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; padding-block: 10px; }
  .search { grid-column: 1 / -1; }
  .filters { margin-inline: calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter) 18px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); }
}
@media (max-width: 599px) { .xtoggle__more { display: none; } }
@media (max-width: 400px) { .xtoggle .muted { display: none; } }
@media (min-width: 900px) { .ptools__in { grid-template-columns: minmax(260px, 380px) 1fr auto; align-items: center; gap: 16px; } .filters { margin: 0; padding: 0; } }

.pgroups { padding-block: 24px clamp(64px, 8vw, 112px); }
.pgroup { padding-top: clamp(36px, 4vw, 56px); }
.pgroup[hidden] { display: none; }
.pgroup__head { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.pgroup__sw { width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--line); }
.pgroup__sw svg { width: 100%; height: 100%; }
.pgroup__title { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--ff-display); }
.pgroup__note { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.pgroup__count { color: var(--muted); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable caption { text-align: left; }
.ptable th { text-align: left; font: 500 .66rem/1.2 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 0 8px; font-weight: 500; }
.ptable th.r, .ptable td.r { text-align: right; }
.ptable th:nth-child(2), .ptable th:nth-child(3) { padding-left: 12px; }
.ptable td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ptable tr[hidden] { display: none; }
.ptable .w { width: auto; }
.ptable .w span { display: inline; }
.ptable .w small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.ptable .t { font: 400 .8rem/1.3 var(--ff-mono); color: var(--muted); white-space: nowrap; padding-left: 12px; }
.ptable .p { font: 500 .95rem/1.2 var(--ff-mono); white-space: nowrap; padding-left: 12px; }
.ptable .p .x { display: none; color: var(--cognac-d); }
.is-express .ptable tr[data-express="1"] .p .x { display: block; font-size: .72rem; font-weight: 500; }
.ptable .a { width: 56px; text-align: right; padding-left: 8px; }
.addbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.addbtn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.addbtn:hover { border-color: var(--ink); }
.addbtn[aria-pressed="true"] { background: var(--cognac); border-color: var(--cognac); color: #fff; }
.addbtn[aria-pressed="true"] svg { transform: rotate(45deg); }
.ptable mark { background: var(--frost); color: inherit; padding: 0 1px; }
.ptable tr.is-picked td { background: rgba(154, 91, 52, .06); }
@media (min-width: 640px) {
  .ptable { table-layout: fixed; }
  .ptable th:nth-child(2) { width: 150px; }
  .ptable th:nth-child(3) { width: 180px; }
  .ptable th:nth-child(4) { width: 60px; }
}
@media (max-width: 639px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto 52px; column-gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 0; align-items: center; }
  .ptable td { border: 0; padding: 0; }
  .ptable .w { grid-column: 1 / 2; grid-row: 1; }
  .ptable .t { grid-column: 1 / 2; grid-row: 2; padding-left: 0; margin-top: 4px; }
  .ptable .p { grid-column: 2; grid-row: 1 / 3; text-align: right; }
  .ptable .a { grid-column: 3; grid-row: 1 / 3; width: auto; }
}
.pempty { padding: 40px 0; display: none; gap: 14px; justify-items: start; }
.pempty.is-on { display: grid; }
.pempty p { font: 400 1.4rem/1.25 var(--ff-display); max-width: 30ch; }

.pinfo { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.pinfo > div { background: var(--paper); padding: 24px 0; }
.pinfo h3 { font: 400 1.3rem/1.2 var(--ff-display); margin-bottom: 8px; }
.pinfo p { color: var(--muted); font-size: .94rem; max-width: 40ch; }
@media (min-width: 900px) { .pinfo { grid-template-columns: repeat(3, 1fr); background: transparent; border: 0; gap: 0; } .pinfo > div { padding: 28px 28px 28px 0; border-top: 1px solid var(--line-2); } .pinfo > div + div { padding-left: 28px; border-left: 1px solid var(--line); } }

/* estimate dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; transform: translateY(110%); transition: transform .45s var(--ease); pointer-events: none; }
.dock.is-on { transform: none; pointer-events: auto; }
.dock__box { width: min(100% - 16px, 760px); margin: 0 auto 8px; background: var(--ink); color: var(--paper); box-shadow: 0 -10px 40px -10px rgba(10, 18, 18, .5); border-radius: 4px; }
.dock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; }
.dock__sum { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dock__sum b { font: 500 1.05rem/1.2 var(--ff-mono); color: #fff; }
.dock__sum span { font: 400 .74rem/1.3 var(--ff-mono); color: var(--frost); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__toggle svg { transition: transform .3s var(--ease); }
.dock.is-open .dock__toggle svg { transform: rotate(180deg); }
.dock__panel { display: none; padding: 0 16px 16px; border-top: 1px solid var(--line-inv); max-height: min(56vh, 460px); overflow: auto; }
.dock.is-open .dock__panel { display: block; }
.dock__lines { list-style: none; display: grid; margin: 8px 0 14px; font: 400 .82rem/1.4 var(--ff-mono); }
.dock__lines li { display: grid; grid-template-columns: 1fr auto 40px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dotted var(--line-inv); }
.dock__lines button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--frost); display: grid; place-items: center; }
.dock__lines button:hover { color: #fff; }
.dock__lines button svg { width: 14px; height: 14px; }
.dock__note { font-size: .8rem; color: #B9C4C6; margin-bottom: 12px; }
.dock .chan .btn { min-height: 46px; }
.has-dock body, body.has-dock { padding-bottom: 150px; }

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(40px, 6vw, 88px); }
.legal__in { max-width: 760px; }
.legal h1 { font: 400 var(--fs-xl)/1.1 var(--ff-display); margin: 12px 0 18px; }
.legal h2 { font: 400 1.35rem/1.25 var(--ff-display); margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-3); margin-bottom: 10px; }
.legal ul { padding-left: 1.2em; }
.legal .demo-note { padding: 14px 16px; background: var(--frost-3); border-left: 3px solid var(--cognac); font-size: .92rem; margin: 18px 0 8px; }

/* ---------- narrow screens: long Russian words ---------- */
@media (max-width: 520px) {
  .hero__title, .shead__title, .season__title, .phead__title, .legal h1, .mat__name, .step__title, .pgroup__title { -webkit-hyphens: auto; hyphens: auto; }
  .ba__tag { max-width: 44%; }
  .ticket__row dd { overflow-wrap: anywhere; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .map__pulse { display: none; }
  html { scroll-behavior: auto; }
  .mat:hover, .mat:hover .mat__swatch svg { transform: none; }
}

/* prices page extras */
.dock__clear { margin-top: 10px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--frost); font: 500 .74rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.dock__clear:hover { color: #fff; }
.no-js .ptable .a { display: none; }
.is-express .ptable tr[data-express="0"] .p::after { content: "без срочности"; display: block; font: 400 .68rem/1.3 var(--ff-mono); color: var(--muted); }
.ptable a.addbtn { color: inherit; }
