/* Алина Ветрова: личный lookbook.
   Чёрно-белая фотография, один оттенок blush. Bona Nova (заголовки) + Inter. */

/* ---------- fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: 'Bona Nova'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bona-nova-normal-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Bona Nova'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bona-nova-normal-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: 'Bona Nova'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/bona-nova-italic-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Bona Nova'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/bona-nova-italic-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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-normal-400-600-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-normal-400-600-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; }
/* latin-ext carries the rouble sign */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-normal-400-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --ink: #0c0c0d;
  --paper: #fff;
  --paper-2: #f3f3f2;
  --stone: #ebeae7;
  --mute: #5c5c60;
  --line: #d9d9d7;
  --blush: #f2b8b1;
  --blush-soft: #fae9e6;
  --blush-deep: #9f403b;
  --font-display: 'Bona Nova', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --header: 64px;
  --ribbon: 44px;
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body:has(.nav.is-open) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.demo-ribbon :focus-visible, .lightbox :focus-visible { outline-color: #fff; }
.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: #fff; color: var(--ink); padding: 12px 18px; border: 2px solid var(--ink); border-radius: 999px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- type ---------- */
h2 { font: 400 clamp(2.5rem, 6vw, 5.2rem)/1 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
h2 em, .site-footer__mark em { font-style: italic; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blush-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.section { padding-block: clamp(72px, 10vw, 144px); scroll-margin-top: var(--header); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 880px; justify-items: start; }
.section__lead { max-width: 56ch; color: var(--mute); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px/1.25 var(--font-body); letter-spacing: .04em; text-decoration: none; text-align: center;
  cursor: pointer; text-wrap: balance;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.btn--blush { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.btn--blush:hover { background: #f8d2cd; border-color: #f8d2cd; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: #2b2b2e; border-color: #2b2b2e; }
.btn--line { border-color: currentColor; background: transparent; color: inherit; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- demo ribbon (markup is fixed, look is ours) ---------- */
.demo-ribbon {
  display: flex; align-items: center; gap: 16px; min-height: var(--ribbon);
  padding: 0 var(--gutter); background: var(--ink); color: #ededed;
  font: 500 13px/1.3 var(--font-body);
}
.demo-ribbon a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; white-space: nowrap; text-decoration: none; color: #fff; }
.demo-ribbon a:hover { text-decoration: underline; text-decoration-color: var(--blush); text-underline-offset: 4px; }
.demo-ribbon .i { width: 16px; height: 16px; }
.demo-ribbon p { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ribbon__pkg { opacity: 1 !important; }
.demo-ribbon__pkg b { color: var(--blush); font-weight: 600; }
.demo-ribbon__note, .demo-ribbon > p:last-child:not(.demo-ribbon__pkg) { margin-left: auto; }
@media (max-width: 700px) { .demo-ribbon__note { display: none; } }
@media (max-width: 560px) { .demo-ribbon { font-size: 12px; gap: 12px; } .demo-ribbon p { white-space: normal; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff; /* no backdrop-filter here: it would trap the fixed mobile menu inside the header */
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header); padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.logo, .site-header__cta { position: relative; z-index: 40; }
.logo { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 44px; margin-right: auto; text-decoration: none; line-height: 1; }
.logo__name { font: 400 1.5rem/1 var(--font-display); letter-spacing: -.01em; }
.logo__kind { font: 500 10px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.site-header__cta { display: flex; align-items: center; gap: 14px; }
.site-header__cta .btn { display: none; }
.header-phone { display: none; min-height: 44px; align-items: center; font: 600 14px/1 var(--font-body); text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: background-color .2s, color .2s; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }

.nav {
  position: fixed; inset: 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header) + var(--ribbon) + 8px) var(--gutter) 48px;
  background: var(--paper);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav a {
  display: flex; align-items: center; min-height: 56px; padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(1.9rem, 8vw, 2.8rem)/1.15 var(--font-display); text-decoration: none;
}
.nav a:first-child { border-top: 1px solid var(--ink); }
.nav a:hover { color: var(--blush-deep); }

@media (min-width: 520px) { .site-header__cta .btn { display: inline-flex; } }
@media (min-width: 1100px) {
  .site-header__in { gap: 28px; }
  .nav { position: static; inset: auto; z-index: auto; flex-direction: row; justify-content: flex-start; gap: 22px; padding: 0; background: none; visibility: visible; opacity: 1; transform: none; }
  .nav a { position: relative; min-height: 44px; padding: 0; border: 0; font: 500 12.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
  .nav a:first-child { border: 0; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; background: var(--blush); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav a:hover, .nav a:focus-visible { color: var(--ink); }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
  .nav-toggle { display: none; }
}
@media (min-width: 1320px) { .header-phone { display: inline-flex; } .nav { gap: 28px; } }
@media (scripting: none) {
  .nav { position: static; padding: 0; visibility: visible; opacity: 1; transform: none; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .nav a { min-height: 44px; font: 500 13px/1 var(--font-body); border: 0 !important; }
  .nav-toggle { display: none; }
  .site-header__in { flex-wrap: wrap; }
}

/* ---------- scroll reveal (progressive enhancement, no JS) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: cover 0% cover 22%; }
  }
}

/* ---------- cover: lookbook strip ----------
   First screen = a strip of four tall face crops, each named, with the artist's name set across it.
   Photos are black and white at rest; the active frame (hover, focus or the one in view on a phone) shows its colour. */
.cover {
  position: relative; display: flex; overflow: hidden;
  min-height: max(620px, calc(100svh - var(--header) - var(--ribbon)));
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line); scroll-margin-top: 0;
}
.lb {
  flex: 0 1 auto; min-width: 0;
  width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; padding-block: 14px 22px;
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px;
  grid-template-rows: auto auto minmax(350px, 1fr) auto auto;
  grid-template-areas: "eyebrow" "title" "strip" "foot" "tag";
}
.lb__aside { display: contents; }
.lb__eyebrow { grid-area: eyebrow; font-size: 11px; letter-spacing: .12em; }
.lb__tag {
  grid-area: tag; justify-self: start; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 9px 16px; border-radius: 999px; background: var(--blush); color: var(--ink);
  font: 600 13px/1.25 var(--font-body);
}
.lb__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }

/* the name: very large, display serif, second word in italic */
.lb__title { grid-area: title; margin-bottom: 4px; font: 400 26cqw/.9 var(--font-display); letter-spacing: -.03em; }
.lb__name { display: block; white-space: nowrap; }
.lb__w { display: block; }
.lb__w--it { font-style: italic; padding-left: 5cqw; }

/* the strip: phones scroll and snap, wider screens show all four */
.lb__strip {
  grid-area: strip; display: flex; gap: 10px; min-height: 350px;
  margin: -5px calc(-1 * var(--gutter)); padding: 5px var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lb__strip::-webkit-scrollbar { display: none; }
.lb__tile { display: flex; flex: 0 0 66%; min-width: 0; scroll-snap-align: start; }
.lb__tile a { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; }
.lb__ph { position: relative; flex: 1 1 auto; min-height: 240px; overflow: hidden; background: #d9d9d7; }
.lb__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  filter: grayscale(1) contrast(1.05); transform: scale(1.02);
  transition: filter .7s var(--ease), transform 1.2s var(--ease);
}
.lb__img--1 { object-position: 62% 28%; }
.lb__img--2 { object-position: 46% 38%; }
.lb__img--3 { object-position: 58% 38%; }
.lb__img--4 { object-position: 40% 40%; }
.lb__tile.is-active .lb__img { filter: none; transform: scale(1.06); }
.lb__tile a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.lb__cap { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding-top: 12px; }
.lb__no { font: 600 11px/1 var(--font-body); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--mute); transition: color .3s; }
.lb__look {
  font: italic 400 clamp(1.3rem, 1.75cqw, 1.75rem)/1.1 var(--font-display); letter-spacing: -.01em;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-decoration-color .3s;
}
.lb__tile.is-active .lb__no { color: var(--blush-deep); }
.lb__tile.is-active .lb__look, .lb__tile a:hover .lb__look { text-decoration-color: var(--blush); }

/* foot: headline and rating, who and where, booking */
.lb__foot { grid-area: foot; display: grid; gap: 14px; align-items: end; }
.lb__who { display: contents; }
.lb__line { order: 1; font: 400 clamp(1.7rem, 7.4vw, 2.2rem)/1.04 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.lb__line em { font-style: italic; color: var(--blush-deep); }
.lb__act { order: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.lb__act .btn { flex: 1 1 190px; }
.lb__lead { order: 3; max-width: 46ch; color: var(--mute); font-size: 14.5px; line-height: 1.55; }
.rating-badge { order: 4; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; text-decoration: none; color: var(--mute); }
.rating-badge b { font-weight: 600; color: var(--ink); }
.rating-badge:hover span:last-child { text-decoration: underline; text-decoration-color: var(--blush); text-underline-offset: 4px; }
.lb__link {
  display: inline-flex; align-items: center; min-height: 48px; font: 600 13px/1.2 var(--font-body); letter-spacing: .04em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.lb__link:hover { color: var(--blush-deep); text-decoration-thickness: 2px; }
.stars { display: inline-flex; gap: 2px; color: var(--blush-deep); }
.stars .i { width: 15px; height: 15px; }

/* entrance (once; skipped under reduced motion) */
@keyframes lb-rise { from { opacity: 0; transform: translateY(.16em); } }
@keyframes lb-tile { from { opacity: 0; clip-path: inset(14% 0 0 0); transform: translateY(26px); } }
@keyframes lb-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .lb__w { animation: lb-rise 1s var(--ease) both; }
  .lb__w--it { animation-delay: .12s; }
  .lb__tile { animation: lb-tile 1s var(--ease) both; }
  .lb__tile:nth-child(2) { animation-delay: .1s; }
  .lb__tile:nth-child(3) { animation-delay: .2s; }
  .lb__tile:nth-child(4) { animation-delay: .3s; }
  .lb__foot, .lb__eyebrow, .lb__tag { animation: lb-fade .9s .45s var(--ease) both; }
}

@media (min-width: 700px) {
  .lb { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto minmax(400px, 1fr) auto; column-gap: 24px;
    grid-template-areas: "eyebrow tag" "title title" "strip strip" "foot foot"; }
  .lb__eyebrow { font-size: 12px; letter-spacing: .16em; align-self: center; }
  .lb__tag { justify-self: end; }
  .lb__title { font-size: 14.8cqw; line-height: .88; }
  .lb__w { display: inline-block; }
  .lb__w--it { padding-left: 0; }
  .lb__strip { min-height: 400px; gap: 12px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .lb__tile { flex: 1 1 0; }
  .lb__look { font-size: clamp(1.15rem, 2.6cqw, 1.5rem); }
  .lb__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
  .lb__line { grid-area: 1 / 1; font-size: clamp(1.8rem, 3.6cqw, 2.4rem); align-self: center; }
  .lb__lead { grid-area: 1 / 2 / 3 / 3; align-self: start; }
  .lb__act { grid-area: 2 / 1; }
  .rating-badge { grid-area: 3 / 1; }
}
@media (min-width: 1100px) {
  .lb { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 2.4cqw, 36px); row-gap: 18px; padding-block: 18px 24px;
    grid-template-rows: auto minmax(420px, 1fr) auto; grid-template-areas: "title aside" "strip strip" "foot foot"; }
  .lb__aside { grid-area: aside; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding-bottom: .5cqw; }
  .lb__eyebrow { align-self: auto; }
  .lb__tag { justify-self: auto; }
  .lb__title { font-size: 11.2cqw; }
  .lb__look { font-size: clamp(1.4rem, 2cqw, 2rem); }
  .lb__strip { gap: 12px; }
  .lb__title { margin-bottom: 10px; }
  .lb__tile { transition: flex-grow .8s var(--ease); }
  .lb__tile.is-active { flex-grow: 1.4; }
  .lb__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; grid-template-rows: auto; gap: 0 clamp(24px, 3.2cqw, 56px); }
  .lb__who { display: grid; justify-items: start; gap: 2px; }
  .lb__line, .lb__lead, .lb__act, .rating-badge { grid-area: auto; order: 0; align-self: auto; }
  .lb__line { font-size: clamp(1.8rem, 2.4cqw, 2.6rem); }
  .lb__act { flex-wrap: nowrap; }
  .lb__act .btn { flex: 0 0 auto; min-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb__img, .lb__tile, .lb__no, .lb__look { transition: none; }
}

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--ink); }
.stats__in { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { display: grid; gap: 8px; align-content: start; padding: 28px 0 28px 20px; border-left: 1px solid var(--line); }
.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat b { font: 400 clamp(2.4rem, 5vw, 4rem)/1 var(--font-display); letter-spacing: -.02em; font-weight: 400; }
.stat span { max-width: 22ch; color: var(--mute); font-size: 13.5px; line-height: 1.4; }
@media (min-width: 760px) {
  .stats__in { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd) { padding: 40px 0 40px 32px; border-left: 1px solid var(--line); border-top: 0; }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- lookbook ---------- */
.lookbook { scroll-margin-top: var(--header); }
.lookbook__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; padding-block: clamp(72px, 10vw, 136px) clamp(28px, 4vw, 44px); }
.lookbook__head > div { display: grid; gap: 16px; justify-items: start; }
.lookbook__hint { max-width: 34ch; color: var(--mute); font-size: 14.5px; }
.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; padding-bottom: clamp(56px, 8vw, 104px); }
.sheet__item { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px 8px; text-decoration: none; }
.sheet__item img { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .8s var(--ease); }
.sheet__no { font: 600 11px/1 var(--font-body); letter-spacing: .12em; color: var(--blush-deep); }
.sheet__name { font: italic 400 .95rem/1.15 var(--font-display); overflow-wrap: anywhere; }
.sheet__item:hover .sheet__name { text-decoration: underline; text-decoration-color: var(--blush); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (hover: hover) { .sheet__item:hover img { filter: none; transform: translateY(-4px); } }
@media (min-width: 760px) {
  .sheet { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .sheet__item { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
  .sheet__name { font-size: 1.05rem; }
}

.look {
  --bg: var(--paper); --fg: var(--ink); --sub: var(--mute); --rule: var(--ink);
  position: relative; background: var(--bg); color: var(--fg);
}
.look--blush { --bg: var(--blush-soft); }
.look--stone { --bg: var(--stone); }
.look__in { display: grid; gap: 24px; padding-bottom: 48px; }
.look__photo {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  background: #cfcfcd; cursor: zoom-in;
}
.look__photo img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05);
  transition: filter .7s var(--ease), transform 1.4s var(--ease);
}
.look__photo:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: inset 0 0 0 6px #fff; }
.look__zoom {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 11.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
@media (hover: hover) { .look__photo:hover img, .look__photo:focus-visible img { filter: none; transform: scale(1.03); } }
.look__info { display: grid; gap: 14px; align-content: start; padding-inline: var(--gutter); }
.look:nth-child(1) { --n: 1; } .look:nth-child(2) { --n: 2; } .look:nth-child(3) { --n: 3; }
.look:nth-child(4) { --n: 4; } .look:nth-child(5) { --n: 5; } .look:nth-child(6) { --n: 6; }
/* the rule under the counter fills up as you move through the six looks */
.look__no {
  display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px;
  background: linear-gradient(var(--rule), var(--rule)) left bottom / calc(100% * var(--n, 1) / 6) 3px no-repeat, linear-gradient(rgb(12 12 13 / .22), rgb(12 12 13 / .22)) left bottom / 100% 1px no-repeat;
  font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.look__no b { font: 600 1.15rem/1 var(--font-body); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.look__no span { color: var(--sub); }
.look__name { font: italic 400 clamp(3rem, 13vw, 4.6rem)/.95 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.look__desc { max-width: 42ch; color: var(--sub); }
.look__svc { font: 600 12px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.look__svc { color: var(--blush-deep); }
.look__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 6px; }
.look .btn--line { min-height: 48px; padding-inline: 2px; border-color: transparent; border-radius: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.look .btn--line:hover { background: none; color: var(--blush-deep); text-decoration-thickness: 2px; }

@media (min-width: 640px) {
  .look__in { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 56px); align-items: center; padding-block: 48px; }
  .look__info { padding-inline: 0; }
  .look:nth-child(even) .look__photo { order: 2; }
}
@media (min-width: 960px) and (min-height: 640px) {
  /* full-bleed frames: the face fills its half of the screen edge to edge, the other half is a quiet colour field */
  .look { position: sticky; top: 0; height: 100svh; padding-top: var(--header); box-shadow: 0 -28px 56px -30px rgb(0 0 0 / .3); }
  .look:first-child { box-shadow: none; }
  .look__in {
    --ph: calc(100svh - var(--header)); --pw: min(52vw, calc(var(--ph) * .8182));
    display: grid; grid-template-columns: var(--pw) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
    width: 100%; height: 100%; margin: 0; padding: 0; gap: 0; align-items: stretch;
  }
  .look:nth-child(even) .look__in { grid-template-columns: minmax(0, 1fr) var(--pw); }
  .look__photo { grid-row: 1; grid-column: 1; width: 100%; height: 100%; aspect-ratio: auto; order: 0; }
  .look__photo img { object-position: 50% 36%; }
  .look__info { grid-row: 1; grid-column: 2; display: flex; flex-direction: column; height: 100%; gap: 16px; padding: clamp(24px, 3.4vw, 48px) clamp(28px, 5.4vw, 96px) clamp(28px, 3.8vw, 56px); }
  .look:nth-child(even) .look__photo { grid-column: 2; order: 0; }
  .look:nth-child(even) .look__info { grid-column: 1; }
  .look__no { margin-bottom: auto; }
  .look__name { font-size: clamp(3.4rem, 6.4vw, 6.6rem); }
  .look__desc { font-size: 1.05rem; }
}

/* ---------- about ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; gap: 40px; }
.about__portrait { width: 100%; max-width: 520px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.about__text { display: grid; gap: 20px; align-content: start; justify-items: start; }
.master__role { font: 600 12px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blush-deep); }
.about__bio { font: 400 clamp(1.5rem, 2.6vw, 2.3rem)/1.25 var(--font-display); letter-spacing: -.01em; }
.skills { display: grid; width: 100%; border-top: 1px solid var(--ink); margin-bottom: 8px; }
.skills li { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.skills li::before { content: ''; flex: none; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--blush); }
.about__strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 42% 30%; filter: grayscale(1) contrast(1.05); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(56px, 7vw, 96px); align-items: center; }
  .about__portrait { grid-column: 1 / span 5; }
  .about__text { grid-column: 7 / span 6; }
  .about__strip { grid-column: 1 / -1; }
  .about__strip img { aspect-ratio: 21 / 8; }
}

/* ---------- planner: the signature interaction ---------- */
.planner { background: var(--blush); color: var(--ink); }
.planner .eyebrow { color: var(--ink); }
.planner h2 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); }
.planner__grid { display: grid; gap: 44px; }
.planner__intro { display: grid; gap: 22px; align-content: start; justify-items: start; }
.planner__lead { max-width: 48ch; color: #2a2a2d; font-size: 1.05rem; }
.pform { display: grid; gap: 24px; width: 100%; margin-top: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: 12px; padding: 0; font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px;
  font: 500 14px/1.2 var(--font-body); transition: background-color .2s, color .2s;
}
.seg label:hover span { background: rgb(255 255 255 / .55); }
.seg input:checked + span, .seg label:hover input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.pform__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 10px; min-width: 0; align-content: start; }
.field label { font: 600 12px/1.35 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.field input {
  width: 100%; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px;
  background: #fff; color: var(--ink); font: 500 16px/1 var(--font-body); font-variant-numeric: tabular-nums;
}
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.planner__out { min-width: 0; }
.plan__label { font: 600 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.plan__fallback, .plan { background: #fff; border: 1px solid var(--ink); }
.plan__fallback { display: grid; gap: 14px; padding: 28px 24px; }
.rules { display: grid; }
.rules li { padding: 16px 0; border-top: 1px solid var(--line); color: #2a2a2d; }
.rules b { display: block; font: 400 1.25rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.plan { display: grid; }
.plan__top { display: grid; gap: 10px; padding: 26px 24px; border-bottom: 1px solid var(--ink); }
.plan__date { font: italic 400 clamp(2rem, 4.4vw, 3.5rem)/1.02 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.plan__note { max-width: 58ch; font-size: 15px; color: #3a3a3d; }
.plan__day { display: grid; gap: 20px; padding: 26px 24px; }
.timeline { --tcol: 56px; --tgap: 28px; display: grid; }
.timeline li {
  position: relative; display: grid; grid-template-columns: var(--tcol) minmax(0, 1fr); column-gap: var(--tgap);
  padding-bottom: 22px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; top: 6px; left: calc(var(--tcol) + var(--tgap) / 2 - 5.5px);
  width: 11px; height: 11px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; z-index: 1;
}
.timeline li::after { content: ''; position: absolute; top: 20px; bottom: -4px; left: calc(var(--tcol) + var(--tgap) / 2); width: 1px; background: var(--ink); }
.timeline li:last-child::after { display: none; }
.timeline li.is-event::before { top: 4px; left: calc(var(--tcol) + var(--tgap) / 2 - 7.5px); width: 15px; height: 15px; background: var(--blush); }
.tl__time { font: 600 1.05rem/1.4 var(--font-body); font-variant-numeric: tabular-nums; }
.tl__day { display: block; font: 500 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tl__title { font: 400 1.3rem/1.2 var(--font-display); }
.tl__note { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--mute); }
.plan__warns { display: grid; gap: 10px; }
.plan__warns:empty { display: none; }
.warn { padding: 14px 16px; border-left: 3px solid var(--blush-deep); background: var(--blush-soft); font-size: 14.5px; line-height: 1.5; }
.plan__foot { display: grid; gap: 20px; padding: 24px; border-top: 1px solid var(--ink); }
.plan__total { margin-top: 6px; font: 500 clamp(2rem, 3.6vw, 2.7rem)/1.05 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.plan__parts { margin-top: 8px; font-size: 13.5px; color: var(--mute); }
@media (min-width: 480px) { .timeline { --tcol: 64px; --tgap: 34px; } .plan__top, .plan__day, .plan__foot, .plan__fallback { padding-inline: 32px; } }
@media (min-width: 760px) and (max-width: 999px), (min-width: 1280px) { .plan__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
@media (min-width: 1000px) {
  .planner__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
}

/* ---------- prices ---------- */
.price-groups { display: grid; }
.price-group { display: grid; gap: 8px 48px; padding: 36px 0 44px; border-top: 1px solid var(--ink); }
.price-group__title { font: italic 400 clamp(2rem, 4vw, 3.2rem)/1.05 var(--font-display); letter-spacing: -.02em; }
.price-list { display: grid; }
.price-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-areas: 'name price book' 'time price book';
  align-items: center; column-gap: 14px; row-gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { grid-area: name; display: grid; gap: 3px; }
.price-row__name span { font-weight: 600; }
.price-row__name small { color: var(--mute); font-size: 13.5px; line-height: 1.4; }
.price-row__time { grid-area: time; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.price-row__price { grid-area: price; justify-self: end; font: 500 1.3rem/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; text-align: right; }
.from { margin-right: 1px; font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blush-deep); }
.price-row__book {
  grid-area: book; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.price-row__book .i { width: 18px; height: 18px; }
.price-row__book:hover { background: var(--blush); border-color: var(--blush); transform: translateX(3px); }
@media (hover: hover) { .price-row:hover { background: var(--blush-soft); } }
@media (min-width: 900px) {
  .price-group { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: 44px 0 56px; }
  .price-group__title { position: sticky; top: calc(var(--header) + 28px); align-self: start; }
  .price-row { grid-template-columns: minmax(0, 1fr) 110px 150px 44px; grid-template-areas: 'name time price book'; column-gap: 20px; padding: 20px 0 20px 12px; margin-left: -12px; }
  .price-row__time { text-align: right; }
}

/* ---------- reviews ---------- */
.reviews-sec { background: var(--paper-2); }
.reviews-head { display: grid; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.reviews-head .section__head { margin-bottom: 0; }
.score { display: flex; align-items: center; gap: 20px; }
.score b { font: italic 400 clamp(4.2rem, 10vw, 7.5rem)/.9 var(--font-display); letter-spacing: -.03em; }
.score div { display: grid; gap: 8px; }
.score div > span:last-child { font-size: 14px; color: var(--mute); }
.score .stars .i { width: 18px; height: 18px; }
.reviews { display: grid; gap: 40px; }
.review { display: grid; align-content: start; gap: 20px; padding-top: 28px; border-top: 1px solid var(--ink); }
.review__top { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 1.3rem/1 var(--font-display); }
.review figcaption { font-weight: 600; }
.review__meta { display: block; font-size: 13px; color: var(--mute); }
.review blockquote { font: 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.5 var(--font-display); }
.review__service { justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--blush); color: var(--ink); font: 600 11.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px) {
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
}

/* ---------- faq ---------- */
.faq-wrap { display: grid; gap: 40px; align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 400 clamp(1.2rem, 2vw, 1.55rem)/1.25 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%;
  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 var(--ease), background-color .2s;
}
.faq summary:hover::after { background-color: var(--blush-soft); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blush); }
.faq details p { max-width: 62ch; padding: 0 64px 26px 0; color: #3a3a3d; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); } .faq-wrap .section__head { position: sticky; top: calc(var(--header) + 32px); margin-bottom: 0; } }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.msg { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; font: 600 13px/1 var(--font-body); text-decoration: none; transition: background-color .2s, color .2s; }
.msg .i { width: 18px; height: 18px; }
.msg:hover { background: var(--ink); color: #fff; }

/* ---------- contacts ---------- */
.contacts { background: var(--paper); border-top: 1px solid var(--ink); }
.contacts__in { display: grid; gap: 44px; }
.contacts__info { display: grid; gap: 22px; align-content: start; justify-items: start; }
.contact-list { display: grid; width: 100%; border-top: 1px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .i { margin-top: 3px; color: var(--blush-deep); }
.contact-list b { display: block; font-weight: 600; }
.contact-list div > span { display: block; font-size: 14px; color: var(--mute); }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; text-decoration: none; }
.contact-list .hours { display: grid; grid-template-columns: 5.5em 1fr; gap: 16px; max-width: 320px; font-size: 15px; color: var(--ink) !important; }
.hours b { font-variant-numeric: tabular-nums; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.map { position: relative; min-height: 380px; border: 1px solid var(--ink); background: #e4e4e2; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
@media (min-width: 1000px) { .contacts__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); } .map { min-height: 580px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--blush-soft); color: var(--ink); padding: clamp(56px, 8vw, 112px) 0 36px; overflow: hidden; }
.site-footer__mark { font: 400 clamp(4rem, 19vw, 7rem)/.88 var(--font-display); letter-spacing: -.03em; margin-bottom: clamp(36px, 5vw, 72px); }
.site-footer__mark em { color: var(--blush-deep); }
.site-footer__in { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--ink); font-size: 14px; color: #3a3a3d; }
.site-footer .logo__name { display: block; margin-bottom: 6px; font: 400 1.6rem/1.1 var(--font-display); color: var(--ink); }
.site-footer nav { display: grid; align-content: start; }
.site-footer nav a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid rgb(12 12 13 / .2); color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { color: var(--blush-deep); }
.site-footer__small { max-width: 44ch; font-size: 13px; line-height: 1.5; }
@media (min-width: 760px) { .site-footer__mark { font-size: min(13.6vw, 15rem); white-space: nowrap; } }
@media (min-width: 900px) { .site-footer__in { grid-template-columns: 1.1fr 1.3fr 1fr; gap: 56px; align-items: start; } }

/* ---------- mobile bar, toast, lightbox ---------- */
.mobile-bar { display: none; }
@media (max-width: 759px) {
  body.page-home { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; display: flex; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .96); border-top: 1px solid var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font: 600 13.5px/1 var(--font-body); text-decoration: none; }
  .mobile-bar__call .i { width: 18px; height: 18px; }
}
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translateX(-50%);
  width: max-content; max-width: min(92vw, 440px); padding: 14px 22px; border-radius: 20px;
  background: var(--ink); color: #fff; font-size: 14px; line-height: 1.45; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6);
}
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); }
.lightbox { max-width: 96vw; max-height: 96dvh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgb(8 8 8 / .94); }
.lightbox img { width: auto; height: auto; max-width: min(92vw, 780px); max-height: 80dvh; margin: 0 auto; }
.lightbox__cap { max-width: 56ch; margin: 14px auto 0; text-align: center; font: italic 400 1.1rem/1.4 var(--font-display); color: rgb(255 255 255 / .9); }
.lightbox__close { position: fixed; top: 16px; right: 16px; z-index: 2; }

/* ---------- legal pages ---------- */
.legal-head { border-bottom: 1px solid var(--line); }
.legal-head__in { display: flex; align-items: center; min-height: 72px; }
.legal { width: min(100% - 2 * var(--gutter), 780px); padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 112px); }
.legal h1 { font: italic 400 clamp(2.4rem, 6vw, 4.4rem)/1.02 var(--font-display); letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.legal__meta { margin-bottom: 40px; color: var(--mute); font-size: 14px; }
.legal h2 { margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--ink); font: 400 clamp(1.4rem, 3vw, 1.7rem)/1.2 var(--font-display); letter-spacing: -.01em; }
.legal p, .legal li { max-width: 68ch; margin-bottom: 12px; color: #26262a; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%; background: var(--blush); }
.legal a { text-decoration-color: var(--blush-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal__box { margin: 24px 0 32px; padding: 24px 28px; border-left: 3px solid var(--blush-deep); background: var(--blush-soft); }
.legal__box p:last-child { margin-bottom: 0; }
.legal-foot { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--mute); }
.legal-foot__in { display: grid; gap: 4px; }
.legal-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: 4px; }

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