/* =========================================================
   Лён · colour swatch book
   Linen, warm grey and one rich colour that follows the shade
   the visitor is exploring. Fonts are self-hosted (OFL).
   ========================================================= */

@font-face { font-family: "Yeseva One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/yeseva-one-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Yeseva One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/yeseva-one-400-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: "Commissioner"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/commissioner-300-800-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/commissioner-300-800-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; }

/* colours that animate when the shade changes */
@property --shade      { syntax: "<color>"; inherits: true; initial-value: #b4602e; }
@property --shade-deep { syntax: "<color>"; inherits: true; initial-value: #9a4a1e; }
@property --cur        { syntax: "<color>"; inherits: true; initial-value: #4a3226; }
@property --s0 { syntax: "<color>"; inherits: true; initial-value: #4a3226; }
@property --s1 { syntax: "<color>"; inherits: true; initial-value: #6a4a35; }
@property --s2 { syntax: "<color>"; inherits: true; initial-value: #8a5a3a; }
@property --s3 { syntax: "<color>"; inherits: true; initial-value: #a85f33; }
@property --s4 { syntax: "<color>"; inherits: true; initial-value: #b4602e; }
@property --s5 { syntax: "<color>"; inherits: true; initial-value: #c07a48; }

:root {
  --linen: #f3eee5;
  --linen-2: #e9e1d3;
  --paper: #fbf8f3;
  --line: #d8cfc0;
  --grey: #b9afa0;
  --muted: #655d53;
  --ink: #2b2723;

  --shade: #b4602e;
  --shade-deep: #9a4a1e;
  --shade-ink: #fff;
  --cur: #4a3226;

  --display: "Yeseva One", "Times New Roman", serif;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 6px;
  --gutter: 16px;
  --strands:
    repeating-linear-gradient(91deg, rgb(255 255 255 / .13) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(87deg, rgb(0 0 0 / .08) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(94deg, rgb(255 255 255 / .07) 0 2px, transparent 2px 11px);
  --weave:
    repeating-linear-gradient(0deg, rgb(110 90 60 / .03) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(110 90 60 / .03) 0 1px, transparent 1px 4px);
  transition: --shade .7s ease, --shade-deep .7s ease, --cur .7s ease;
}

/* named shades: --c fills, --d is the readable "deep" version */
.k-black   { --c: #1f1917; --d: #1f1917; }
.k-dbrown  { --c: #4a3226; --d: #4a3226; }
.k-brown   { --c: #85633f; --d: #6a4c2d; }
.k-lbrown  { --c: #b8996b; --d: #7a5f35; }
.k-blondcur{ --c: #dcc59a; --d: #7a6334; }
.k-choc    { --c: #5c3a2a; --d: #5c3a2a; }
.k-copper  { --c: #b4602e; --d: #9a4a1e; }
.k-gold    { --c: #c98a45; --d: #8a5418; }
.k-ash     { --c: #b5a895; --d: #6a5e4e; }
.k-plat    { --c: #e8dfcd; --d: #6f5f39; }
.k-rose    { --c: #db8a98; --d: #a83a55; }
.k-lav     { --c: #a99bcb; --d: #66559a; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh;
  font: 400 17px/1.6 var(--sans);
  color: var(--ink);
  background: var(--weave), var(--linen);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: 24px; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
button, summary, label { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--shade-deep); outline-offset: 3px; border-radius: 3px; }
::selection { background: color-mix(in srgb, var(--shade) 35%, transparent); }
.i { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: var(--r); }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 900px) { :root { --gutter: 40px; } }

/* ---------- demo ribbon (content untouched) ---------- */
.demo-ribbon { display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); min-height: 44px;
  background: #e2d9ca; color: var(--ink); font-size: 13px; line-height: 1.3; border-bottom: 1px solid var(--line); }
.demo-ribbon a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.demo-ribbon a .i { width: 16px; height: 16px; }
.demo-ribbon p { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ribbon__pkg { color: var(--ink) !important; }
.demo-ribbon__note { margin-left: auto; }
@media (max-width: 700px) { .demo-ribbon__note { display: none; } .demo-ribbon { gap: 12px; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--linen) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }
.top__in { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 16px; min-height: 68px; }
.top__strand { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--cur), var(--shade)); }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; line-height: 1; margin-right: auto; min-height: 44px; justify-content: center; }
.brand__name { font: 400 30px/1 var(--display); }
.brand__kind { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.top__cta { display: flex; align-items: center; gap: 12px; }
.top__phone { display: none; padding-block: 9px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; cursor: pointer; }
.nav { display: none; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 6px var(--gutter) 18px;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(43 39 35 / .5); }
.nav a { display: flex; align-items: center; gap: 14px; min-height: 56px; font: 400 24px/1 var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav a::before { content: ""; width: 12px; height: 28px; border-radius: 2px; background: var(--strands), var(--shade); }
.nav a:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .nav, .nav.is-open { display: flex; flex-direction: row; position: static; padding: 0; background: none; border: 0; box-shadow: none; gap: 6px; margin-right: 8px; }
  .nav a { font: 500 15px/1 var(--sans); min-height: 44px; padding: 0 14px; border: 0; position: relative; }
  .nav a::before { display: none; }
  .nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--shade); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-toggle { display: none; }
  .brand { margin-right: 0; }
  .top__in { gap: 24px; }
  .top__cta { margin-left: auto; }
}
@media (min-width: 1120px) { .top__phone { display: inline-block; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 4px; font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--solid { background: var(--shade-deep); color: var(--shade-ink); }
.btn--solid:hover { background: color-mix(in srgb, var(--shade-deep) 82%, #000); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--linen); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn .i { transition: transform .25s; }
.btn:hover .i { transform: translateX(3px); }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; font: 600 15px/1 var(--sans); color: var(--shade-deep); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, var(--shade-deep) 40%, transparent); }
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn .i { width: 18px; height: 18px; transition: transform .25s; }
.link-btn:hover .i { transform: translateX(4px); }

/* single-column grids never grow past the viewport */
.hero__in, .shade__grid, .about__in, .contacts__in, .faq-wrap, .team, .fx-grid, .offer__in, .band__in, .spread, .mdet, .mdet-list, .perks, .reviews-head, .foot__in, .plan__body, .sec-head, .pagehead .wrap { grid-template-columns: minmax(0, 1fr); }

/* ---------- shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 38px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--cur), var(--shade)); flex: none; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.sec { padding-block: 72px; position: relative; }
.sec--tint { background: var(--linen-2); }
.sec.sec--flush { padding-top: 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; }
.sec-head--row { gap: 20px; }
@media (min-width: 760px) { .sec-head--row { grid-template-columns: 1fr auto; align-items: end; } }
@media (min-width: 900px) { .sec { padding-block: 112px; } .sec-head { margin-bottom: 56px; } }
.sw { position: relative; background: var(--paper); border-radius: var(--r);
  box-shadow: 0 1px 0 rgb(43 39 35 / .06), 0 22px 34px -26px rgb(43 39 35 / .55); }
.sw::before { content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--linen); box-shadow: inset 0 1px 3px rgb(0 0 0 / .3); z-index: 3; }
.field-c { background: var(--strands), linear-gradient(180deg, color-mix(in srgb, var(--c) 78%, #000) 0, var(--c) 32%, color-mix(in srgb, var(--c) 90%, #fff) 100%); }
.ruler { display: block; height: 10px; border-radius: 2px;
  background: linear-gradient(90deg, #1f1917 0 12.5%, #5c3a2a 0 25%, #b4602e 0 37.5%, #c98a45 0 50%, #b5a895 0 62.5%, #e8dfcd 0 75%, #db8a98 0 87.5%, #a99bcb 0); }

/* reveal on scroll (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
.hero { padding: 36px 0 0; position: relative; overflow: hidden; }
.hero__in { display: grid; gap: 28px; }
.hero__title { font-size: clamp(46px, 11vw, 92px); line-height: .98; margin: 20px 0 22px; }
.hero__title em { font-style: normal; color: var(--shade-deep); position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 3px; background: linear-gradient(90deg, var(--cur), var(--shade)); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.rating { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-size: 15px; }
.stars { display: inline-flex; gap: 2px; color: var(--grey); }
.stars .on { color: var(--shade-deep); }
.stars .i { width: 16px; height: 16px; }
.hero__stage { position: relative; padding-bottom: 8px; margin-top: -30px; }
.hero__stage::before { content: ""; position: absolute; inset: -4% -8% 0; background: radial-gradient(60% 62% at 52% 52%, color-mix(in srgb, var(--shade) 24%, transparent), transparent 72%); pointer-events: none; }
.fan { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1.06; margin-inline: auto; }
.fan__item { position: absolute; left: 34%; bottom: 2%; width: 29%; height: 88%; transform-origin: 50% 94%;
  transform: rotate(var(--a, 0deg)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); z-index: var(--z, 1); }
.fan__item:nth-child(1) { --a: -25deg; --z: 1; }
.fan__item:nth-child(2) { --a: -12.5deg; --z: 2; }
.fan__item:nth-child(3) { --a: 0deg; --z: 3; }
.fan__item:nth-child(4) { --a: 12.5deg; --z: 4; }
.fan__item:nth-child(5) { --a: 25deg; --z: 5; }
.fan__item:hover, .fan__item:focus-within { transform: rotate(var(--a)) translateY(-14px); z-index: 8; }
@keyframes fan-open { from { transform: rotate(0deg); } }
@media (prefers-reduced-motion: no-preference) {
  .fan__item { animation: fan-open 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  .fan__item:nth-child(2), .fan__item:nth-child(4) { animation-delay: .08s; }
  .fan__item:nth-child(1), .fan__item:nth-child(5) { animation-delay: .16s; }
}
.fan::after { content: ""; position: absolute; left: 50%; bottom: calc(7.3% - 10px); width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; z-index: 10;
  background: radial-gradient(circle at 35% 30%, #fff, #bdb3a3 55%, #7d7468); box-shadow: 0 2px 4px rgb(0 0 0 / .35); }
.fan__sw { display: block; height: 100%; padding: 6px; border-radius: 8px 8px 4px 4px; background: var(--paper); text-decoration: none;
  box-shadow: 0 1px 0 rgb(43 39 35 / .06), 0 26px 36px -22px rgb(43 39 35 / .6); position: relative; }
.fan__sw::before { content: ""; position: absolute; top: 9px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--linen); box-shadow: inset 0 1px 2px rgb(0 0 0 / .3); z-index: 2; }
.fan__tab { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; height: 56px; padding: 0 0 6px 6px; line-height: 1.15; text-align: left; }
.fan__tab b { font: 400 17px/1 var(--display); }
.fan__tab span { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.fan__sw img { width: 100%; height: calc(100% - 56px); object-fit: cover; border-radius: 3px; }
.fan__item:nth-child(1) img { object-position: 40% 50%; }
.fan__item:nth-child(2) img { object-position: 70% 40%; }
.fan__item:nth-child(3) img { object-position: 50% 50%; }
.fan__item:nth-child(4) img { object-position: 50% 38%; }
.fan__item:nth-child(5) img { object-position: 50% 62%; }
.hero__note { position: relative; margin: 12px auto 0; width: fit-content; max-width: 100%; text-align: center; padding: 10px 18px; border-radius: 40px; background: var(--paper); font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -16px rgb(43 39 35 / .5); }
@media (min-width: 960px) {
  .hero__stage { margin-top: 0; }
  .hero { padding-top: 56px; }
  .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; }
  .hero__lead { font-size: 20px; }
}

.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.fact { display: grid; gap: 4px; padding: 24px 16px 24px 0; }
.fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
.fact b { font: 400 clamp(30px, 4vw, 46px)/1 var(--display); color: var(--shade-deep); }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.35; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(even), .fact:nth-child(n+3) { padding: 28px 20px; border-top: 0; border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- swatch index (navigation) ---------- */
.idx { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.idx__item:last-child { grid-column: 1 / -1; }
.idx__item:last-child .nav-sw__field { min-height: 96px; }
.nav-sw { display: flex; flex-direction: column; height: 100%; padding: 8px 8px 0; text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.nav-sw__field { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; flex: 1; min-height: 150px; padding: 12px; border-radius: 3px; margin-top: 18px; }
.nav-sw__field .i { color: #fff; width: 26px; height: 26px; transition: transform .3s; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .45)); }
.nav-sw__label { display: grid; gap: 4px; padding: 14px 6px 16px; }
.nav-sw__label small { font-size: 12px; line-height: 1.3; color: var(--muted); }
.nav-sw__label b { font: 400 22px/1.1 var(--display); }
.nav-sw:hover { transform: translateY(-8px) rotate(-.8deg); }
.nav-sw:hover .i { transform: translateX(4px); }
@media (min-width: 900px) {
  .idx { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .idx__item:last-child { grid-column: auto; }
  .idx__item:last-child .nav-sw__field { min-height: 230px; }
  .idx__item:nth-child(even) { margin-top: 28px; }
  .nav-sw__field { min-height: 230px; }
  .nav-sw__label b { font-size: 24px; }
}
.idx-sec { padding-block: 56px 24px; }
@media (min-width: 900px) { .idx-sec { padding-block: 88px 24px; } }

/* ---------- shade explorer ---------- */
.shade { background: var(--linen-2); position: relative; }
.shade__head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.shade__grid { display: grid; gap: 24px; align-items: start; }
.pick { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 14px; font: 400 24px/1.1 var(--display); }
.pick legend small { display: block; margin-top: 4px; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.chip__body { display: flex; flex-direction: column; gap: 5px; height: 100%; padding: 6px 6px 9px; border-radius: var(--r); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.chip__tuft { height: 70px; border-radius: 3px; }
.chips--5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.chips--5 .chip__body { padding: 5px 4px 8px; }
.chips--5 .chip__tuft { height: 60px; }
.chips--5 .chip__name { font-size: 12px; overflow-wrap: anywhere; }
.chip__code { font: 600 11px/1 var(--sans); letter-spacing: .1em; color: var(--muted); margin-top: 3px; }
.chip__name { font: 500 13px/1.2 var(--sans); overflow-wrap: anywhere; }
@media (max-width: 559px) { .chips:not(.chips--5) .chip__name { font-size: 12px; } .chips:not(.chips--5) .chip__body { padding-inline: 5px; } }
@media (max-width: 379px) { .chips:not(.chips--5) { grid-template-columns: repeat(3, 1fr); } }
.chip:hover .chip__body { transform: translateY(-3px); }
.chip input:checked + .chip__body { box-shadow: inset 0 0 0 2px var(--ink), 0 16px 22px -16px rgb(43 39 35 / .6); transform: translateY(-4px); }
.chip input:checked + .chip__body .chip__code { color: var(--ink); }
.chip input:focus-visible + .chip__body { outline: 3px solid var(--shade-deep); outline-offset: 3px; }
@media (min-width: 560px) { .chips, .chips--5 { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; } .chip__tuft, .chips--5 .chip__tuft { height: 84px; } .chips--5 .chip__body { padding: 6px 6px 9px; } .chips--5 .chip__name { font-size: 13px; } }

.plan { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 18px; border-radius: var(--r); background: var(--paper);
  box-shadow: 0 1px 0 rgb(43 39 35 / .06), 0 36px 50px -34px rgb(43 39 35 / .6);
  --s0: var(--cur); }
.plan__strand { position: relative; align-self: start; }
.strand { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 12px rgb(43 39 35 / .22)); }
.strand .g0 { stop-color: var(--s0); } .strand .g1 { stop-color: var(--s1); } .strand .g2 { stop-color: var(--s2); }
.strand .g3 { stop-color: var(--s3); } .strand .g4 { stop-color: var(--s4); } .strand .g5 { stop-color: var(--s5); }
.strand__lock { fill: none; stroke: url(#strand-grad); stroke-linecap: round; }
.strand__hi { fill: none; stroke: #fff; stroke-opacity: .2; stroke-width: 1.6; stroke-linecap: round; }
.strand__lo { fill: none; stroke: #000; stroke-opacity: .12; stroke-width: 1.4; stroke-linecap: round; }
.strand__tab { fill: #dcd3c5; stroke: #b3a999; stroke-width: 1; }
.strand__band { fill: #cfc5b5; stroke: #a79d8d; stroke-width: 1; }
.strand__hole { fill: var(--paper); stroke: #a79d8d; stroke-width: 1; }
.plan { transition: --s0 .7s ease, --s1 .7s ease, --s2 .7s ease, --s3 .7s ease, --s4 .7s ease, --s5 .7s ease; }
.plan__body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.plan__route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; font-weight: 600; }
.plan__route span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.plan__route span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.plan__route .i { order: -1; width: 18px; height: 18px; color: var(--muted); }
.plan__tech { font-size: clamp(28px, 3.2vw, 38px); color: var(--shade-deep); }
.plan__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 12px 0; border-block: 1px solid var(--line); }
.plan__facts div { display: grid; gap: 2px; }
.plan__facts dt { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan__facts dd { font: 400 24px/1.1 var(--display); }
.plan__note { font-size: 15px; color: var(--muted); }
.plan__note + .plan__note { margin-top: -4px; }
.plan .btn { justify-self: start; margin-top: 4px; }
.plan__fine { font-size: 13px; color: var(--muted); }
.ladder { margin-top: 36px; border-top: 1px solid var(--line); }
.ladder__title { padding: 20px 0 10px; font: 600 12px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--muted); }
.ladder__row { display: grid; grid-template-columns: 6px 1fr auto; column-gap: 16px; row-gap: 2px; align-items: center; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .3s; }
.ladder__row::before { content: ""; align-self: stretch; grid-row: 1 / 3; border-radius: 3px; background: var(--grey); transition: background .3s; }
.ladder__row b { grid-column: 2; grid-row: 1; font-weight: 600; }
.ladder__row > span:not(.ladder__price) { grid-column: 2; grid-row: 2; font-size: 14px; color: var(--muted); }
.ladder__row .ladder__price { grid-column: 3; grid-row: 1 / 3; font: 400 22px/1 var(--display); color: var(--ink); white-space: nowrap; }
.ladder__row.is-on { background: color-mix(in srgb, var(--shade) 12%, transparent); padding-left: 14px; }
.ladder__row.is-on::before { background: var(--shade-deep); }
@media (min-width: 960px) {
  .shade__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; }
  .shade__pick { padding-top: 6px; }
  .plan { grid-template-columns: 176px 1fr; gap: 28px; padding: 32px; position: sticky; top: 100px; }
  .ladder__row { grid-template-columns: 6px 1fr auto auto; column-gap: 32px; }
  .ladder__row::before { grid-row: 1; }
  .ladder__row b { font-size: 18px; }
  .ladder__row > span:not(.ladder__price) { grid-column: 3; grid-row: 1; }
  .ladder__row .ladder__price { grid-column: 4; grid-row: 1; min-width: 150px; text-align: right; }
}

/* ---------- popular services ---------- */
.fx-grid { display: grid; gap: 18px; }
.fx { display: grid; grid-template-rows: auto 1fr; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.fx:hover { transform: translateY(-6px); }
.fx::before { display: none; }
.fx__tab { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase;
  background: var(--strands), linear-gradient(90deg, var(--d), color-mix(in srgb, var(--d) 80%, #000)); }
.fx__tab i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgb(255 255 255 / .85); }
.fx__body { display: grid; gap: 14px; align-content: space-between; padding: 22px 20px 20px; }
.fx__body h3 { font-size: 26px; }
.fx__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--grey); }
.fx__meta span { color: var(--muted); font-size: 15px; }
.fx__meta b { font: 400 24px/1 var(--display); white-space: nowrap; }
@media (min-width: 640px) { .fx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .fx-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- offer ---------- */
.offer { background: var(--shade-deep); color: var(--shade-ink); position: relative; overflow: hidden; }
.offer :focus-visible { outline-color: #fff; }
.offer::before { content: ""; position: absolute; inset: 0; background: var(--strands); opacity: .5; pointer-events: none; }
.offer__in { position: relative; display: grid; gap: 28px; padding-block: 48px; }
.offer h2 { font-size: clamp(34px, 5vw, 64px); }
.offer p { max-width: 46ch; margin-top: 14px; color: rgb(255 255 255 / .92); font-size: 18px; }
.offer .btn { margin-top: 28px; }
.offer__photo { display: none; }
@media (min-width: 900px) {
  .offer__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; padding-block: 72px; gap: 48px; }
  .offer__photo { display: block; padding: 8px; border-radius: var(--r); background: var(--paper); transform: rotate(2.4deg); box-shadow: 0 30px 50px -26px rgb(0 0 0 / .6); }
  .offer__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 3px; }
}

/* ---------- about / perks ---------- */
.about__in { display: grid; gap: 40px; }
.about__photo { padding: 8px; position: relative; max-width: 560px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 30% 50%; border-radius: 3px; margin-top: 22px; }
.about__photo figcaption { padding: 14px 8px 8px; font: 400 20px/1.2 var(--display); }
.perks { display: grid; gap: 28px; margin-top: 8px; }
.perk { position: relative; padding-left: 28px; display: grid; gap: 6px; }
.perk::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 8px; border-radius: 4px; background: var(--strands), linear-gradient(180deg, var(--cur), var(--shade)); }
.perk h3 { font-size: 24px; }
.perk p { color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .about__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
  .about__photo { transform: rotate(-1.6deg); }
  .perks { grid-template-columns: 1fr 1fr; gap: 40px 36px; margin-top: 12px; }
}

/* ---------- masters ---------- */
.team { display: grid; gap: 22px; }
.mstr { display: grid; overflow: visible; }
.mstr__tab { display: flex; align-items: center; min-height: 54px; padding: 18px 18px 0; font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mstr__tab i { width: 24px; height: 6px; margin-right: 10px; border-radius: 3px; background: var(--d); flex: none; }
.mstr__photo { margin: 0 8px; border-radius: 3px; overflow: hidden; }
.mstr__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mstr:hover .mstr__photo img { transform: scale(1.04); }
.mstr__body { display: grid; gap: 8px; padding: 20px 20px 22px; }
.mstr__body h3 { font-size: 28px; }
.mstr__role { font-weight: 600; font-size: 15px; color: var(--shade-deep); }
.mstr__about { color: var(--muted); }
.mstr__body .link-btn { justify-self: start; margin-top: 6px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, 1fr); gap: 24px; } .mstr:nth-child(2) { margin-top: 40px; } }

/* ---------- works ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
.work { display: block; width: 100%; padding: 8px 8px 12px; border: 0; border-radius: var(--r); background: var(--paper); text-align: left; cursor: zoom-in;
  box-shadow: 0 1px 0 rgb(43 39 35 / .06), 0 22px 34px -26px rgb(43 39 35 / .55); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.work:hover { transform: translateY(-6px) rotate(-.6deg); }
.work img { width: 100%; aspect-ratio: 900 / 1100; object-fit: cover; border-radius: 3px; }
.work__cap { display: block; padding: 12px 4px 0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.work__cap::before { content: ""; display: inline-block; width: 22px; height: 4px; margin: 0 8px 3px 0; border-radius: 2px; background: var(--c, var(--shade)); }
@media (min-width: 760px) {
  .works { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .work:nth-child(3n+2) { margin-top: 56px; }
  .work__cap { font-size: 15px; }
}

/* ---------- reviews ---------- */
.reviews-head { display: grid; gap: 20px; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 16px; }
.score > b { font: 400 64px/1 var(--display); color: var(--shade-deep); }
.score div { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .reviews-head { grid-template-columns: 1fr auto; align-items: end; } }
.rv-grid { columns: 1; column-gap: 22px; }
.rv { break-inside: avoid; margin: 0 0 22px; padding: 26px 24px 22px; position: relative; display: grid; gap: 14px; }
.rv::before { display: none; }
.rv::after { content: "“"; position: absolute; top: 6px; right: 20px; font: 400 84px/1 var(--display); color: color-mix(in srgb, var(--shade) 35%, transparent); pointer-events: none; }
.rv__top { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--shade-deep); color: var(--shade-ink); font: 400 20px/1 var(--display); }
.rv figcaption { font-weight: 600; }
.rv__meta { display: block; font-size: 13px; color: var(--muted); }
.rv blockquote { font-size: 17px; line-height: 1.6; }
.rv__service { justify-self: start; padding: 5px 12px 6px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .04em; background: var(--linen-2); border: 1px solid var(--line); }
@media (min-width: 760px) { .rv-grid { columns: 2; } }
@media (min-width: 1100px) { .rv-grid { columns: 3; } }
.more { margin-top: 20px; }

/* ---------- gift certificates ---------- */
.gifts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gift { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 230px; padding: 20px 16px 18px; border: 0; border-radius: var(--r);
  color: #fff; text-align: left; cursor: pointer; overflow: hidden;
  background: var(--strands), linear-gradient(155deg, var(--d), color-mix(in srgb, var(--d) 72%, #000));
  box-shadow: 0 24px 34px -24px rgb(43 39 35 / .7); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.gift::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 70%); }
.gift:hover { transform: translateY(-6px) rotate(-1deg); }
.gift:focus-visible { outline-color: var(--ink); }
.gift > span { display: block; position: relative; z-index: 1; }
.gift__brand { display: block; font: 400 22px/1 var(--display); }
.gift__label { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.gift__value { display: block; font: 400 clamp(26px, 6vw, 38px)/1 var(--display); }
.gift__cta { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.gift__cta .i { width: 16px; height: 16px; }
@media (min-width: 900px) { .gifts { grid-template-columns: repeat(4, 1fr); gap: 20px; } .gift { min-height: 280px; padding: 24px 22px 22px; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 400 22px/1.2 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--shade); border-color: var(--shade-deep); }
.faq details p { padding: 0 56px 22px 0; color: var(--muted); max-width: 60ch; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.msg { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .25s, color .25s; }
.msg:hover { background: var(--ink); color: var(--linen); }
.msg .i { width: 20px; height: 20px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: 104px; } }

/* ---------- contacts ---------- */
.contacts__in { display: grid; gap: 36px; }
.clist { display: grid; gap: 22px; margin: 28px 0; }
.clist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.clist .i { color: var(--shade-deep); margin-top: 3px; }
.clist b { display: block; font-size: 18px; font-weight: 600; }
.clist span { color: var(--muted); font-size: 15px; }
.clist a { display: block; width: fit-content; padding-block: 8px; margin-block: -8px; text-decoration: none; }
.hours { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.hours b { font: 400 26px/1 var(--display); color: var(--ink); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map { position: relative; padding: 8px; min-height: 360px; }
.map::before { top: 14px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 344px; margin-top: 18px; border: 0; border-radius: 3px; background: var(--linen-2); }
.map { display: flex; flex-direction: column; }
.map iframe { flex: 1; }
@media (min-width: 960px) { .contacts__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: stretch; } .map { min-height: 520px; } }

/* ---------- footer, mobile bar, toast ---------- */
.foot { position: relative; padding: 56px 0 120px; background: var(--linen-2); border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--cur), var(--shade)) 1; }
.foot__in { display: grid; gap: 28px; }
.foot .logo__name { font: 400 34px/1 var(--display); }
.foot p { font-size: 14px; color: var(--muted); }
.foot nav { display: grid; gap: 4px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.foot__small { max-width: 52ch; }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } .foot__in { grid-template-columns: 1fr 1fr 1.2fr; gap: 56px; align-items: start; } }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mbar::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: linear-gradient(90deg, var(--cur), var(--shade)); }
.mbar .btn { flex: 1; min-height: 48px; padding: 0 12px; }
.mbar__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 14px; }
@media (min-width: 900px) { .mbar { display: none; } }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translateX(-50%); max-width: min(92vw, 440px); padding: 14px 20px; border-radius: var(--r);
  background: var(--ink); color: var(--linen); font-size: 14px; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- subpages ---------- */
.pagehead { padding: 40px 0 48px; }
.pagehead .wrap { display: grid; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.pagehead h1 { font-size: clamp(44px, 9vw, 96px); line-height: 1; }
.pagehead .ruler { margin-top: 18px; max-width: 420px; }
@media (min-width: 900px) { .pagehead { padding: 64px 0 72px; } }
.nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 22px; margin-bottom: 40px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nudge p { max-width: 52ch; font-size: 16px; }
.nudge b { font: 400 22px/1.2 var(--display); display: block; margin-bottom: 2px; }
.spread { display: grid; gap: 18px; margin-bottom: 44px; }
.spread__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 16px 20px 18px; border-radius: var(--r); color: #fff;
  background: var(--strands), linear-gradient(170deg, var(--c), var(--d)); box-shadow: 0 24px 34px -26px rgb(43 39 35 / .6); overflow: hidden; }
.spread__card::before { content: ""; position: absolute; top: 12px; left: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--linen); box-shadow: inset 0 1px 3px rgb(0 0 0 / .3); }
.spread__card h2 { font-size: 34px; overflow-wrap: break-word; text-shadow: 0 1px 12px rgb(0 0 0 / .25); }
.spread__card span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .92; margin-top: 6px; }
.plist { background: var(--paper); border-radius: var(--r); padding: 4px 18px; box-shadow: 0 1px 0 rgb(43 39 35 / .06), 0 22px 34px -28px rgb(43 39 35 / .45); }
.prow { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "time book"; gap: 6px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow__name { grid-area: name; display: grid; gap: 2px; }
.prow__name span { font-size: 18px; font-weight: 600; line-height: 1.25; }
.prow__name small { font-size: 14px; color: var(--muted); }
.prow__time { grid-area: time; font-size: 15px; color: var(--muted); }
.prow__price { grid-area: price; justify-self: end; font: 400 24px/1 var(--display); white-space: nowrap; }
.prow__book { grid-area: book; justify-self: end; display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.prow__book:hover { background: var(--shade-deep); border-color: var(--shade-deep); color: var(--shade-ink); }
@media (min-width: 900px) {
  .spread { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; margin-bottom: 64px; align-items: start; }
  .spread__card { min-height: 320px; padding: 24px; position: sticky; top: 104px; }
  .plist { padding: 8px 32px; }
  .prow { grid-template-columns: minmax(0, 1fr) 120px 150px 48px; grid-template-areas: "name time price book"; gap: 20px; padding: 22px 0; }
  .prow__price { justify-self: end; }
}
.band { background: var(--linen); padding-block: 56px; border-top: 1px solid var(--line); }
.band__in { display: grid; gap: 24px; align-items: center; }
.band h2 { font-size: clamp(30px, 4.6vw, 52px); }
.band p { color: var(--muted); margin-top: 8px; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .band__in { grid-template-columns: 1fr auto; } .band { padding-block: 80px; } }

.mdet-list { display: grid; gap: 28px; }
.mdet { display: grid; gap: 0; overflow: hidden; }
.mdet::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 8px; background: var(--strands), linear-gradient(180deg, var(--c), var(--d)); }
.mdet__photo { margin: 0; padding: 8px; }
.mdet__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; margin-top: 18px; }
.mdet__body { display: grid; gap: 10px; align-content: center; padding: 22px 20px 26px; }
.mdet__body h2 { font-size: clamp(32px, 4vw, 48px); }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.skills li { padding: 6px 14px 7px; border-radius: 20px; font-size: 14px; font-weight: 500; background: var(--linen-2); border: 1px solid var(--line); }
.mdet__body .link-btn { justify-self: start; }
@media (min-width: 760px) {
  .mdet { grid-template-columns: 300px minmax(0, 1fr); }
  .mdet__body { padding: 28px 40px; }
  .mdet:nth-child(even) { grid-template-columns: minmax(0, 1fr) 300px; }
  .mdet:nth-child(even) .mdet__photo { order: 2; }
  .mdet:nth-child(even)::after { left: auto; right: 0; }
}
@media (min-width: 960px) { .mdet { grid-template-columns: 360px minmax(0, 1fr); gap: 0; } .mdet:nth-child(even) { grid-template-columns: minmax(0, 1fr) 360px; } }

/* ---------- booking, certificate and photo dialogs ---------- */
dialog { color: var(--ink); }
.booking { width: min(580px, 100vw); max-width: 100vw; max-height: min(840px, 100dvh); padding: 0; border: 0; border-radius: var(--r); background: var(--paper);
  box-shadow: 0 50px 90px -30px rgb(0 0 0 / .55); overflow: hidden; }
.booking::backdrop { background: rgb(43 39 35 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.booking__form { display: flex; flex-direction: column; max-height: min(840px, 100dvh); position: relative; }
.booking__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 14px; }
.booking__head h2 { font-size: 34px; }
.booking__step-label { font: 600 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; flex: none; transition: background-color .25s, color .25s; }
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.booking__progress { height: 5px; margin-inline: 24px; border-radius: 3px; background: var(--linen-2); overflow: hidden; }
.booking__progress span { display: block; height: 100%; width: 25%; border-radius: 3px; background: linear-gradient(90deg, var(--cur), var(--shade)); transition: width .4s ease; }
.booking__step { border: 0; margin: 0; padding: 18px 24px 10px; overflow-y: auto; flex: 1; min-height: 0; min-width: 0; }
.booking__step legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font: 400 24px/1.1 var(--display); }
.booking__step legend + * { clear: both; }
.booking__group { margin: 18px 0 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.choice { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 14px; margin-bottom: 8px; border-radius: 4px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--grey); }
.choice:has(input:checked) { border-color: var(--shade-deep); box-shadow: inset 0 0 0 1px var(--shade-deep); background: color-mix(in srgb, var(--shade) 9%, #fff); }
.choice:focus-within { outline: 3px solid var(--shade-deep); outline-offset: 2px; }
.choice input:focus-visible, .design input:focus-visible { outline: none; }
.choice input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--shade-deep); }
.choice__main { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.choice__main b { font-weight: 600; font-size: 16px; }
.choice__main small { color: var(--muted); font-size: 13px; }
.choice__price { font: 400 19px/1 var(--display); white-space: nowrap; }
.choice--master img, .avatar--any { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--any { background: var(--linen-2); color: var(--ink); }
.avatar--any .i { width: 22px; height: 22px; }
.choice--amount { justify-content: center; }
.cert-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cert-amounts .choice { margin-bottom: 0; }
.cert-amounts .choice__main { align-items: flex-start; }
.cert-amounts .choice__main b { font: 400 22px/1 var(--display); }
.cert-dialog__sub { margin-top: 22px; }
.cert-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.design { position: relative; display: flex; align-items: flex-end; min-height: 96px; padding: 10px; border-radius: 4px; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; overflow: hidden; }
.design input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.design span { position: relative; z-index: 1; }
.design--1 { background: var(--strands), linear-gradient(160deg, #b4602e, #7b3612); }
.design--2 { background: var(--strands), linear-gradient(160deg, #db8a98, #a83a55 70%, #c98a45); }
.design--3 { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--grey); }
.design:has(input:checked) { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.design:has(input:focus-visible) { outline: 3px solid var(--shade-deep); outline-offset: 5px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.day, .slot { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 4px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.day { width: 66px; min-height: 76px; padding: 8px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.day small { font-size: 12px; color: var(--muted); }
.day b { font: 400 22px/1.1 var(--display); }
.day[aria-checked="true"], .slot[aria-checked="true"] { background: var(--shade-deep); color: var(--shade-ink); border-color: var(--shade-deep); }
.day[aria-checked="true"] small { color: inherit; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { min-height: 48px; padding: 0; font-weight: 600; font-size: 15px; }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.booking__hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 16px; min-height: 48px; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--grey); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--shade-deep); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: 13px; font-weight: 500; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--shade-deep); }
.consent a { color: var(--ink); }
.consent-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.consent-note a { color: var(--ink); }
.booking__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.booking__summary { font-size: 13px; color: var(--muted); line-height: 1.35; min-width: 0; }
.booking__nav { display: flex; gap: 8px; margin-left: auto; }
.booking__done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 28px; }
.done__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--shade-deep); color: var(--shade-ink); }
.done__icon .i { width: 30px; height: 30px; }
.booking__done h3 { font-size: 34px; }
.done__summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; width: 100%; margin: 6px 0; padding: 18px 20px; border-radius: 4px; background: var(--linen-2); text-align: left; }
.done__summary dt { color: var(--muted); font-size: 14px; }
.done__summary dd { margin: 0; font-weight: 600; font-size: 14px; }
.booking__done p { color: var(--muted); font-size: 15px; }
.booking__done .demo-note { padding: 8px 14px; border-radius: 4px; background: #f7edc9; color: #5c4a0b; font-size: 14px; }
@media (max-width: 600px) {
  .booking { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .booking__form { height: 100%; max-height: 100dvh; }
  .booking__foot { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94dvh; overflow: visible; }
.lightbox::backdrop { background: rgb(30 26 22 / .9); }
.lightbox img { max-width: 96vw; max-height: 88dvh; border-radius: 4px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); }
.lightbox__close { position: absolute; top: -58px; right: 0; background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- legal pages ---------- */
.legal-page .demo-ribbon { position: sticky; top: 0; z-index: 40; }
.legal { width: min(780px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 56px 0 120px; }
.legal::before { content: ""; display: block; height: 10px; max-width: 320px; margin-bottom: 36px; border-radius: 2px;
  background: linear-gradient(90deg, #1f1917 0 12.5%, #5c3a2a 0 25%, #b4602e 0 37.5%, #c98a45 0 50%, #b5a895 0 62.5%, #e8dfcd 0 75%, #db8a98 0 87.5%, #a99bcb 0); }
.legal h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 10px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { margin-bottom: 12px; max-width: 68ch; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li::marker { color: var(--shade-deep); }
.legal a { color: var(--shade-deep); font-weight: 500; }
.legal__meta { color: var(--muted); }
.legal__box { padding: 24px 26px 14px; margin-block: 22px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- without JS: keep the section links visible ---------- */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .top__in { flex-wrap: wrap; row-gap: 0; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; order: 5; width: 100%; gap: 0 18px; padding-bottom: 6px; }
html:not(.js) .nav a { min-height: 44px; font: 500 15px/1 var(--sans); border: 0; }
html:not(.js) .nav a::before { display: none; }
@media (min-width: 960px) { html:not(.js) .nav { order: 0; width: auto; padding: 0; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- лента демо: плашка «ДЕМО» и кнопка «Хочу такой» (ночь 2026-10-17) --- */
.demo-ribbon{display:flex;flex-wrap:wrap;align-items:center}
.demo-ribbon>a{grid-row:auto}
.demo-ribbon .demo-ribbon__pill{flex:none;display:inline-flex;align-items:center;margin:2px 0;padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.16);background:color-mix(in srgb,currentColor 14%,transparent);font:600 11.5px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.03em;white-space:nowrap;opacity:1}
.demo-ribbon .demo-ribbon__note{margin-left:0}
.demo-ribbon .demo-ribbon__cta{flex:none;margin:4px 0 4px auto;min-height:34px;padding:0 14px;border:1.5px solid currentColor;border-radius:999px;background:rgba(255,255,255,.12);background:color-mix(in srgb,currentColor 12%,transparent);font-weight:700;letter-spacing:0;text-transform:none}
.demo-ribbon .demo-ribbon__cta-short{display:none}
@media (max-width:1099px){.demo-ribbon .demo-ribbon__note{display:none}}
@media (min-width:781px) and (max-width:1099px){
.demo-ribbon>a:first-child{order:1}
.demo-ribbon .demo-ribbon__pill{order:2}
.demo-ribbon .demo-ribbon__cta{order:3}
.demo-ribbon .demo-ribbon__pkg{order:4;flex:1 1 100%;white-space:normal;overflow:visible;text-overflow:clip}
}
@media (max-width:780px){
.demo-ribbon{gap:2px 10px;padding-top:4px;padding-bottom:6px}
.demo-ribbon>a:first-child{order:1}
.demo-ribbon .demo-ribbon__cta{order:2}
.demo-ribbon .demo-ribbon__pill{order:3}
.demo-ribbon .demo-ribbon__pkg{order:4;flex:1 1 190px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;padding:0}
}
@media (max-width:420px){
.demo-ribbon .demo-ribbon__cta-long{display:none}
.demo-ribbon .demo-ribbon__cta-short{display:inline}
.demo-ribbon .demo-ribbon__cta{padding:0 12px}
}
.site-footer__small a,.foot__small a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.demo-want{display:inline-block;padding:10px 0 4px;font-weight:600}

/* --- лента демо: вторая ссылка «О студии» (раунд 2, 2026-10-17) --- */
.demo-ribbon .demo-ribbon__studio{flex:none;min-height:30px;margin:0;font-size:12px;font-weight:600;opacity:.9;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.demo-ribbon .demo-ribbon__studio:hover,.demo-ribbon .demo-ribbon__studio:focus-visible{opacity:1}
@media (min-width:781px) and (max-width:1099px){.demo-ribbon>p:not([class]){order:1}.demo-ribbon .demo-ribbon__studio{order:2}}
@media (max-width:780px){.demo-ribbon .demo-ribbon__studio{order:3}}
