/* ==========================================================================
   OS — THE ART OF HAIR · Оксана Щербакова
   Дизайн-система: тёплый журнал. Цвета, шрифты, отступы — в токенах ниже.
   ========================================================================== */

:root {
  --ink: #151311;          /* глубокий чёрный */
  --milk: #F7F3ED;         /* тёплый молочный */
  --champagne: #D5B58A;    /* шампань — только акценты, линии, текст на тёмном */
  --sand: #EAE0D3;         /* светлый бежевый */
  --graphite: #292521;     /* тёмный графит */
  --bronze: #8A6A43;       /* читаемый «золотой» для мелкого текста на светлом */
  --muted: #6B625A;        /* вторичный текст на светлом */
  --muted-dark: #B7ACA0;   /* вторичный текст на тёмном */
  --line: rgba(21, 19, 17, .14);
  --line-dark: rgba(247, 243, 237, .16);

  --serif: "Cormorant Garamond", "Cormorant", Lora, "Times New Roman", Georgia, serif;
  --sans: Manrope, Inter, "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(88px, 12vw, 180px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --topbar-h: 36px;
  --nav-h: 72px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--champagne); color: var(--ink); }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 0; transform: translateY(-150%); z-index: 200; background: var(--ink); color: var(--milk);
  padding: 10px 16px; font-size: 14px; transition: top .2s;
}
.skip-link:focus { transform: translateY(12px); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--milk); }
.section--graphite { background: var(--graphite); color: var(--milk); }
.section--sand { background: var(--sand); }

/* --------------------------------------------------------------------------
   Типографика
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bronze);
  margin-bottom: 28px;
}
.eyebrow__num { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; font-weight: 500; }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .eyebrow, .section--graphite .eyebrow, .on-dark .eyebrow { color: var(--champagne); }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.012em;
}
.display em, .h2 em, .quote em { font-style: italic; color: var(--bronze); }
.section--dark .display em, .section--graphite .display em, .section--dark .h2 em, .section--graphite .h2 em { color: var(--champagne); }
.h2 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -.01em; }
.h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--muted); max-width: 40em; }
.section--dark .lead, .section--graphite .lead { color: var(--muted-dark); }
.quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; margin: 0;
}
.small-caps { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.text-muted { color: var(--muted); }
.section--dark .text-muted, .section--graphite .text-muted { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   Кнопки и ссылки
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn--light { background: var(--milk); color: var(--ink); }
.btn--light:hover { background: var(--champagne); }
.btn--dark { background: var(--ink); color: var(--milk); }
.btn--dark:hover { background: var(--graphite); }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--milk); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: progress; }

.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: left; transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(.35); }

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--milk); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-solid, .header--light {
  background: rgba(247, 243, 237, .94); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar { height: var(--topbar-h); background: var(--ink); color: var(--milk); border-bottom: 1px solid var(--line-dark); font-size: 13px; letter-spacing: .02em; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__group { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar svg { width: 15px; height: 15px; flex: none; color: var(--champagne); }
.topbar a:hover { color: var(--champagne); }
.topbar__phone { font-weight: 600; font-size: 14px; letter-spacing: .03em; }
.topbar__muted { color: var(--muted-dark); }
.topbar__short { display: none !important; }
.header__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 14px; line-height: 1; }
.logo__mark { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .02em; }
.logo__text { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 1px solid currentColor; border-color: rgba(128,118,108,.5); }
.logo__name { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.logo__sub { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header .btn { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.header:not(.is-solid):not(.header--light) .btn--dark { background: var(--milk); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--milk);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 48px); line-height: 1.25; padding: 4px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__foot { margin-top: auto; padding-top: 36px; display: grid; gap: 14px; }
.mobile-menu__foot .text-muted { font-size: 14px; color: var(--muted-dark); }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; color: var(--milk); box-shadow: none; backdrop-filter: none; }

/* --------------------------------------------------------------------------
   Фото и заглушки
   -------------------------------------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--sand); }
.media > img, .media > picture, .media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.media--parallax > img, .media--parallax > picture, .media--parallax > .ph { height: 116%; margin-top: -8%; will-change: transform; }
.ph {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px; background: var(--sand); color: var(--bronze);
}
.ph::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(138,106,67,.35); pointer-events: none; }
.ph__mark { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); line-height: 1; opacity: .55; font-weight: 300; }
.ph__label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; max-width: 22em; line-height: 1.6; opacity: .85; }
.on-dark .ph, .section--dark .ph, .section--graphite .ph, .hero .ph { background: var(--graphite); color: var(--champagne); }
.on-dark .ph::before, .section--dark .ph::before, .section--graphite .ph::before, .hero .ph::before { border-color: rgba(213,181,138,.28); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--milk); overflow: hidden; }
.hero__grid {
  min-height: inherit; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch;
  padding-top: var(--header-h);
}
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 48px var(--gutter) 56px; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); position: relative; z-index: 2; }
.hero__label { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); font-weight: 600; margin-bottom: clamp(20px, 3vh, 36px); }
.hero__mark { font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 17vw, 260px); line-height: .82; letter-spacing: -.02em; margin-left: -.04em; }
.hero__en { font-size: clamp(12px, 1.05vw, 15px); letter-spacing: .62em; text-transform: uppercase; margin: 18px 0 clamp(28px, 5vh, 56px); color: var(--champagne); font-weight: 500; padding-left: .2em; }
.hero h1 { display: flex; flex-direction: column; gap: 14px; }
.hero__name { font-family: var(--serif); font-size: clamp(34px, 3.8vw, 58px); line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; font-weight: 400; }
.hero__tagline { font-family: var(--sans); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--muted-dark); font-weight: 400; max-width: 30em; }
.hero__accent { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.3; margin: clamp(20px, 3vh, 32px) 0 clamp(28px, 4.5vh, 44px); max-width: 22em; color: var(--milk); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__photo { position: relative; }
.hero__photo .media { position: absolute; inset: 0; background: var(--graphite); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(21,19,17,0) 22%); pointer-events: none; }
.hero__meta {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 28px; display: flex; gap: 28px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--milk);
}
.hero__meta span { display: flex; align-items: center; gap: 10px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--champagne); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 1px; height: 56px; background: var(--line-dark); overflow: hidden;
}
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--champagne); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { to { top: 110%; } }

/* --------------------------------------------------------------------------
   Знакомьтесь
   -------------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__photos { position: relative; padding-bottom: 18%; }
.about__photos .media--main { box-shadow: 0 30px 60px -30px rgba(21,19,17,.45); }
.about__photos .media--detail { position: absolute; width: 46%; right: -14%; bottom: 0; border: 8px solid var(--milk); transform: rotate(4deg); box-shadow: 0 30px 60px -24px rgba(21,19,17,.5); }
/* Сертификаты веером (под фото в «Знакомьтесь») */
.certfan { margin: clamp(36px, 4vw, 56px) 0 0; }
.certfan figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; }
.fan { list-style: none; margin: 0; padding: 0; position: relative; height: clamp(170px, 15vw, 210px); --cw: clamp(96px, 8.4vw, 124px); }
.fan__card {
  position: absolute; left: 50%; bottom: 0; width: var(--cw); aspect-ratio: 1 / 1.414; margin-left: calc(var(--cw) / -2); z-index: var(--z);
  transform-origin: 50% 130%; transform: translateX(calc(var(--i) * 44%)) rotate(calc(var(--i) * 8deg));
  transition: transform .6s var(--ease), z-index 0s .1s;
}
.fan__card:hover { z-index: 20; transform: translateX(calc(var(--i) * 44%)) translateY(-18px) rotate(calc(var(--i) * 3deg)) scale(1.06); transition: transform .5s var(--ease), z-index 0s; }
.fan__card img, .cert { display: block; width: 100%; height: 100%; box-shadow: 0 14px 30px -14px rgba(21,19,17,.5), 0 1px 0 rgba(21,19,17,.06); }
.fan__card img { object-fit: cover; background: #fff; }
.fan__card a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.fan__card--real img { object-fit: cover; object-position: 50% 50%; }
.cert {
  container-type: inline-size; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14% 9% 9%;
  background: #FBF8F2; color: #2B2621; --c-acc: #B08A55; --c-ink: #151311; --c-mut: #7A7068;
}
.cert::before { content: ""; position: absolute; inset: 5%; border: 1px solid var(--c-acc); pointer-events: none; }
.cert__kind { font-family: var(--serif); font-size: 13cqw; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--c-ink); position: relative; }
.cert__org { font-size: 3.8cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--c-acc); margin-bottom: 5cqw; position: relative; font-weight: 600; }
.cert__sub { font-size: 4.4cqw; letter-spacing: .05em; color: var(--c-mut); margin-top: 6cqw; line-height: 1.2; position: relative; }
.cert__sub + .cert__name { margin-top: 3cqw; }
.cert__name { font-family: "Marck Script", var(--serif); font-style: italic; font-size: 11cqw; line-height: 1.05; color: var(--c-ink); border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, var(--c-ink) 25%, transparent); padding: 0 4cqw 2cqw; position: relative; }
.cert__course { font-family: var(--serif); font-size: 7.6cqw; line-height: 1.1; margin-top: 3cqw; color: var(--c-ink); position: relative; }
.cert__foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 3cqw; position: relative; }
.cert__sign { width: 36%; height: 1px; background: color-mix(in srgb, var(--c-ink) 40%, transparent); margin-bottom: 4cqw; }
.cert__seal { width: 19cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F0D7A6, #B08A55 60%, #7E5E36); box-shadow: inset 0 0 0 1.6cqw rgba(255,255,255,.2); }

/* 1. Классика: слоновая кость, двойная рамка */
.cert--classic { background: #FBF6EC; }
.cert--classic::before { border: 1.4cqw double #B9975F; }
/* 2. Тёмно-синий с золотом */
.cert--navy { background: linear-gradient(160deg, #1D2A44, #121B2E); --c-ink: #F3E6CC; --c-mut: #A9B3C7; --c-acc: #D5B58A; }
.cert--navy .cert__kind { font-family: "Playfair Display", var(--serif); font-weight: 700; letter-spacing: .14em; color: #E7CB95; }
/* 3. Чёрный люкс, современный гротеск */
.cert--noir { background: #141414; --c-ink: #F4EFE7; --c-mut: #9A938A; --c-acc: #C9A86A; padding-top: 18%; }
.cert--noir::before { inset: 0; border: 0; border-top: 3cqw solid #C9A86A; }
.cert--noir .cert__kind { font-family: Oswald, var(--sans); font-weight: 500; letter-spacing: .26em; font-size: 12cqw; }
.cert--noir .cert__name { font-family: Oswald, var(--sans); font-style: normal; font-size: 8.5cqw; text-transform: uppercase; letter-spacing: .08em; }
/* 4. Белый с бордовой лентой в углу */
.cert--ribbon { background: #FFFFFF; --c-acc: #8E2B3A; --c-ink: #2A1A1D; }
.cert--ribbon::before { border-color: rgba(142,43,58,.35); }
.cert--ribbon::after { content: ""; position: absolute; top: 9cqw; right: -15cqw; width: 50cqw; height: 6cqw; background: #8E2B3A; transform: rotate(45deg); }
.cert--ribbon .cert__kind { font-family: "Playfair Display", var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 15cqw; color: #8E2B3A; }
.cert--ribbon .cert__seal { background: radial-gradient(circle at 35% 30%, #D2667A, #8E2B3A 60%, #5F1724); }
/* 5. Холодный голубой, геометрия */
.cert--frost { background: #EEF2F6; --c-acc: #5D7894; --c-ink: #1E2A38; --c-mut: #6B7B8C; }
.cert--frost::before { inset: 0; border: 0; background: linear-gradient(90deg, #5D7894 0 4cqw, transparent 4cqw); }
.cert--frost .cert__kind { font-family: Oswald, var(--sans); font-weight: 400; letter-spacing: .18em; font-size: 11.5cqw; }
.cert--frost .cert__seal { border-radius: 2cqw; transform: rotate(45deg) scale(.8); background: linear-gradient(135deg, #8FA7C0, #5D7894); }
/* 6. Изумруд с золотом */
.cert--emerald { background: linear-gradient(165deg, #F6F1E4 0 72%, #1F4D3F 72%); --c-acc: #2B6150; --c-ink: #173A30; }
.cert--emerald::before { border-color: #C2A266; }
.cert--emerald .cert__kind { font-family: "Playfair Display", var(--serif); font-weight: 400; letter-spacing: .12em; }
.cert--emerald .cert__sign { background: rgba(255,255,255,.5); }

/* Конкурсы и семинары */
.events { margin-top: clamp(64px, 9vw, 130px); }
.events__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.events__title { font-family: var(--serif); font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.events__title em { font-style: italic; color: var(--bronze); }
.events__tags { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; margin: 0 0 12px; }
.events__lead { font-size: 15.5px; margin: 0; max-width: 34em; }
.events__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 17vw, 250px); gap: clamp(10px, 1.2vw, 16px); }
.events__item { position: relative; margin: 0; overflow: hidden; }
.events__item .media { position: absolute; inset: 0; }
.events__item img { transition: transform 1.2s var(--ease); }
.events__item:hover img { transform: scale(1.04); }
.events__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; color: var(--milk);
  font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.2;
  background: linear-gradient(180deg, rgba(21,19,17,0), rgba(21,19,17,.72));
}
.events__item--1 { grid-column: span 2; }
.events__item--2 { grid-row: span 2; }
.events__item--2 img { object-position: 50% 30%; }
.events__item--6 img { object-position: 30% 50%; }

/* Клиенты говорят */
.testi { background: var(--milk); }
.testi__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.testi__title { font-family: var(--serif); font-size: clamp(48px, 6.4vw, 96px); line-height: .98; letter-spacing: -.012em; text-transform: uppercase; }
.testi__title em { font-style: italic; text-transform: none; color: var(--bronze); }
.testi__sub { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin: 22px 0 clamp(36px, 4vw, 56px); }
.testi__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 3vw, 40px); }
.testi__item { margin: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
.testi__mark { font-family: var(--serif); font-size: 64px; line-height: .8; color: var(--champagne); grid-row: span 2; }
.testi__item blockquote { margin: 0; font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.38; color: var(--ink); }
.testi__item figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.testi__item figcaption::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.testi__media { position: relative; padding-bottom: 90px; }
.testi__media .media { aspect-ratio: 324 / 470; max-width: 100%; box-shadow: 0 30px 60px -30px rgba(21,19,17,.45); }
.testi__media .media img { object-position: 50% 20%; }
.testi__thanks {
  position: absolute; left: -12%; right: 0; bottom: 0; margin: 0; transform: rotate(-5deg);
  font-family: "Marck Script", var(--serif); font-style: italic; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; color: var(--ink);
  text-shadow: 0 0 18px var(--milk), 0 0 6px var(--milk);
}
.testi__thanks span { color: var(--bronze); }

.about__caption { margin-top: 18px; font-size: 13px; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 17px; }
.about__text { padding-top: clamp(0px, 4vw, 60px); }
.about__text .h2 { margin-bottom: 40px; }
.about__collage { margin: clamp(28px, 3vw, 44px) 0 0 auto; width: 66%; }
.about__collage .media { aspect-ratio: 1145 / 1374; box-shadow: 0 30px 60px -30px rgba(21,19,17,.45); }
.about__body { columns: 2 280px; column-gap: 44px; font-size: 16.5px; }
.about__body p { break-inside: avoid; }
.about__body p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 5.1em; line-height: .78; padding: 6px 12px 0 0; color: var(--bronze);
}
.pull {
  margin: clamp(56px, 8vw, 110px) 0 0; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
}
.pull__mark { font-family: var(--serif); font-size: clamp(90px, 12vw, 180px); line-height: .6; color: var(--champagne); height: .5em; }
.pull .quote { font-size: clamp(32px, 4.4vw, 64px); }
.pull cite { display: block; margin-top: 18px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.claim { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.claim__item { padding: 36px 28px 0 0; }
.claim__item + .claim__item { padding-left: 28px; border-left: 1px solid var(--line); }
.claim__num { font-family: var(--serif); font-size: clamp(52px, 6vw, 88px); line-height: 1; display: block; }
.claim__txt { font-size: 14px; letter-spacing: .06em; color: var(--muted); display: block; margin-top: 10px; max-width: 18em; }

.timeline { margin-top: clamp(64px, 9vw, 130px); }
.timeline__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: tl; }
.timeline__item { position: relative; padding: 36px 28px 0 0; border-top: 1px solid var(--ink); }
.timeline__item::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--milk); border: 1px solid var(--ink);
}
.timeline__item:last-child::before { background: var(--champagne); border-color: var(--champagne); }
.timeline__when { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 600; display: block; margin-bottom: 12px; }
.timeline__title { font-family: var(--serif); font-size: 27px; line-height: 1.15; margin-bottom: 10px; }
.timeline__desc { font-size: 15px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Портфолио
   -------------------------------------------------------------------------- */
.works__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.filters button {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 8px 0; color: var(--muted);
  position: relative; transition: color .3s;
}
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.filters sup { font-size: 9px; margin-left: 3px; color: var(--bronze); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); grid-auto-flow: dense; }
.gallery__item { grid-column: span 4; position: relative; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gallery__item:nth-child(6n+1) { grid-column: span 5; }
.gallery__item:nth-child(6n+2) { grid-column: span 4; margin-top: clamp(40px, 6vw, 96px); }
.gallery__item:nth-child(6n+3) { grid-column: span 3; }
.gallery__item:nth-child(6n+4) { grid-column: span 3; }
.gallery__item:nth-child(6n+5) { grid-column: span 4; }
.gallery__item:nth-child(6n+6) { grid-column: span 5; }
.gallery__item.is-hidden { display: none; }
.gallery__btn { display: block; width: 100%; text-align: left; }
.gallery__btn .media { aspect-ratio: 4/5; }
.gallery__btn .media > img, .gallery__btn .media > .ph, .gallery__btn .media > picture { transition: transform 1.2s var(--ease); }
.gallery__btn:hover .media > img, .gallery__btn:hover .media > .ph, .gallery__btn:hover .media > picture { transform: scale(1.04); }
.gallery__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.gallery__cap b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 21px; }
.gallery__cap span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.works__note { margin-top: 44px; font-size: 14px; color: var(--muted); }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(21,19,17,.97); color: var(--milk);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.lightbox__close { width: 48px; height: 48px; position: relative; }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); min-height: 0; touch-action: pan-y; }
.lightbox__frame { height: 100%; max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); aspect-ratio: 4/5; max-width: 100%; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.lightbox__frame.is-switching { opacity: 0; transform: scale(.985); }
.lightbox__frame .media { width: 100%; height: 100%; background: var(--graphite); }
.lightbox__frame img { object-fit: contain; background: var(--ink); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; transition: border-color .3s, background .3s; }
.lightbox__nav:hover { border-color: var(--champagne); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__cap { text-align: center; padding: 18px var(--gutter) 26px; font-family: var(--serif); font-style: italic; font-size: 24px; }

/* --------------------------------------------------------------------------
   Искусство стрижки / цвета
   -------------------------------------------------------------------------- */
.craft__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.craft__grid--reverse { grid-template-columns: 5fr 6fr; }
.craft__grid--reverse .craft__media { order: -1; }
.craft__media .media { aspect-ratio: 4/5; }
.craft__media .media[style*="aspect-ratio:1/1"] { box-shadow: 0 30px 60px -30px rgba(21,19,17,.45); }
.craft .display { font-size: clamp(40px, 5.2vw, 80px); margin-bottom: 36px; }
.principles { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.principles li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 4px; }
.section--graphite .principles li, .section--dark .principles li { border-color: var(--line-dark); }
.principles__n { font-family: var(--serif); font-size: 18px; color: var(--bronze); }
.section--graphite .principles__n { color: var(--champagne); }
.principles__t { font-family: var(--serif); font-size: 24px; line-height: 1.2; display: block; margin-bottom: 6px; }
.principles__d { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.section--graphite .principles__d { color: var(--muted-dark); }
.thesis { margin-top: 44px; padding-left: 28px; border-left: 1px solid var(--champagne); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
.craft__body p:not(.eyebrow) { color: var(--muted-dark); font-size: 16.5px; }
.section--milk .craft__body p:not(.eyebrow) { color: var(--muted); }

/* --------------------------------------------------------------------------
   Услуги и цены
   -------------------------------------------------------------------------- */
.prices__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.prices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); }
.price-cat__title { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; padding-bottom: 20px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.price-cat__title small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.price-cat__lead { font-size: 15px; color: var(--muted); margin: 18px 0 8px; max-width: 34em; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.price-list__name { font-size: 16.5px; }
.price-list__dots { flex: 1; border-bottom: 1px dotted rgba(21,19,17,.28); transform: translateY(-5px); min-width: 20px; }
.price-list__price { font-family: var(--serif); font-size: 24px; white-space: nowrap; }
.price-list__price small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-right: 6px; letter-spacing: .04em; }
.price-cover { margin-top: clamp(32px, 4vw, 52px); }
.price-cover .media { box-shadow: 0 30px 60px -30px rgba(21,19,17,.45); }
.price-note { margin-top: 22px; font-size: 14px; line-height: 1.6; color: var(--muted); padding: 18px 20px; background: var(--sand); border-left: 2px solid var(--champagne); }
.prices__cta { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 36px; border-top: 1px solid var(--line); }
.prices__cta p { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-style: italic; max-width: 26em; line-height: 1.3; }

/* --------------------------------------------------------------------------
   Мой путь
   -------------------------------------------------------------------------- */
.journey {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px);
  grid-template-areas:
    "top top top top top top top top top top top top"
    "pl pl pl pl pl pl pl tx tx tx tx tx"
    "pl pl pl pl pl pl pl ci ci ci ci ci";
  grid-template-rows: auto 1fr auto;
}
.journey figure { margin: 0; }
.journey__top { grid-area: top; margin-bottom: clamp(16px, 2vw, 28px); }
.journey__plane { grid-area: pl; }
.journey__collage { grid-area: pl; }
.journey__collage .media { aspect-ratio: 1145 / 1374; }
.journey__plane { display: grid; grid-template-columns: 52% 48%; aspect-ratio: 634 / 328; overflow: hidden; }
.journey__plane .media { height: 100%; }
.journey__sky-panel {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 24px;
  background:
    radial-gradient(120% 70% at 70% 105%, rgba(255,196,150,.9) 0%, rgba(255,196,150,0) 55%),
    linear-gradient(180deg, #5E86C2 0%, #8FB0DC 45%, #C9D6EC 72%, #F2D2BE 100%);
  color: #fff; text-align: center;
}
.journey__sky-panel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.35)); pointer-events: none; }
.journey__motto { font-family: "Marck Script", var(--serif); font-style: italic; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.1; transform: rotate(-8deg); text-shadow: 0 2px 14px rgba(40,60,110,.35); }
.journey__jet { width: clamp(46px, 4.6vw, 70px); transform: rotate(62deg) translateX(-10%); opacity: .95; filter: drop-shadow(0 2px 6px rgba(40,60,110,.3)); }
.journey__text { grid-area: tx; align-self: center; padding-left: clamp(0px, 1.5vw, 24px); }
.journey__text p { color: var(--muted-dark); font-size: 16.5px; }
.journey__sky { grid-area: sk; }
.journey__sky .media { aspect-ratio: 174 / 300; height: 100%; }
.journey__seminar { grid-area: se; position: relative; }
.journey__seminar .media { aspect-ratio: 252 / 326; height: 100%; }
.journey__seminar figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--milk);
  background: linear-gradient(180deg, rgba(21,19,17,0), rgba(21,19,17,.75));
}
.journey__sky .media, .journey__seminar .media { max-height: 520px; width: 100%; }
.journey__cities {
  grid-area: ci; align-self: stretch; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; column-gap: 18px;
  padding: clamp(20px, 2.4vw, 36px) clamp(18px, 2vw, 32px); background: var(--milk); color: var(--ink);
}
.journey__globe { width: 34px; height: 34px; color: var(--bronze); grid-row: 1; }
.journey__cities-label { grid-column: 2; align-self: center; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.journey__cities ul { grid-column: 1 / -1; list-style: none; margin: 22px 0 0 16px; padding: 0 0 0 34px; border-left: 1px solid var(--champagne); display: grid; align-content: start; gap: 14px; }
.journey__cities li { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; }
.journey__text .display { margin-bottom: 36px; }
.journey__text p:not(.eyebrow) { color: var(--muted-dark); font-size: 17px; max-width: 34em; }
.strip { margin-top: clamp(72px, 10vw, 140px); }
.strip__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.strip__ctrl { display: flex; gap: 10px; }
.strip__ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color .3s; }
.strip__ctrl button:hover { border-color: var(--champagne); }
.strip__ctrl svg { width: 18px; height: 18px; }
.strip__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 400px); gap: clamp(14px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: var(--gutter);
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  cursor: grab;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip__item { scroll-snap-align: start; margin: 0; }
.strip__item:nth-child(even) { padding-top: clamp(30px, 4vw, 64px); }
.strip__item .media { aspect-ratio: 3/4; }
.strip__item figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--milk); }
.awards { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-dark); }
.awards__list { list-style: none; margin: 0; padding: 0; }
.awards__list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.awards__year { font-family: var(--serif); font-size: 26px; color: var(--champagne); }
.awards__title { font-family: var(--serif); font-size: 24px; }
.awards__place { font-size: 13px; color: var(--muted-dark); letter-spacing: .08em; }

/* --------------------------------------------------------------------------
   Клиенты
   -------------------------------------------------------------------------- */
.clients .display { max-width: 15em; font-size: clamp(36px, 4.6vw, 72px); }
.clients__grid { margin-top: clamp(48px, 7vw, 100px); display: grid; grid-template-columns: 4fr 3fr 4fr; gap: clamp(14px, 2vw, 28px); align-items: start; }
.clients__grid .media { aspect-ratio: 4/5; }
.clients__grid > :nth-child(2) { margin-top: clamp(60px, 9vw, 140px); }
.clients__text { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.clients__text p { font-size: 17px; }
.clients__text p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 31px); line-height: 1.35; }
.reviews { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.review { margin: 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.4; }
.review figcaption { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------------------
   Журнал
   -------------------------------------------------------------------------- */
.journal__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.article-row { border-bottom: 1px solid var(--line); }
.article-row a { display: grid; grid-template-columns: 90px 160px 1fr auto; gap: 24px; align-items: baseline; padding: 32px 0; transition: padding .5s var(--ease); }
.article-row a:hover { padding-left: 14px; }
.article-row__n { font-family: var(--serif); font-size: 22px; color: var(--bronze); }
.article-row__rubric { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.article-row__title { font-family: var(--serif); font-size: clamp(25px, 2.5vw, 36px); line-height: 1.15; }
.article-row__lead { display: block; font-family: var(--sans); font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.6; max-width: 44em; }
.article-row__time { font-size: 12px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
.article-row__arrow { display: inline-block; transition: transform .4s var(--ease); }
.article-row a:hover .article-row__arrow { transform: translateX(6px); }

/* Страница статьи */
.page-top { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 5vw, 72px); }
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 28px; }
.article h1 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; margin-bottom: 28px; letter-spacing: -.01em; }
.article__lead { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.4; color: var(--muted); padding-bottom: 44px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.prose { font-size: 18px; line-height: 1.8; }
.prose > p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 4.6em; line-height: .8; padding: 8px 12px 0 0; color: var(--bronze); }
.prose h2 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; margin: 1.8em 0 .6em; }
.prose ul { padding: 0; margin: 0 0 1.4em; list-style: none; }
.prose li { position: relative; padding-left: 28px; margin-bottom: .7em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .85em; width: 14px; height: 1px; background: var(--bronze); }
.prose blockquote { margin: 2em 0; padding: 8px 0 8px 32px; border-left: 1px solid var(--champagne); font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; }
.article__foot { margin-top: 72px; padding: 44px; background: var(--sand); display: grid; gap: 20px; }
.article__foot p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.article__foot .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { margin-top: clamp(72px, 9vw, 120px); }

/* --------------------------------------------------------------------------
   Запись
   -------------------------------------------------------------------------- */
.booking__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.booking__aside .display { margin-bottom: 30px; }
.booking__aside p:not(.eyebrow) { color: var(--muted-dark); }
.call-card { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.call-card__label { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); font-weight: 600; }
.call-card__phone { display: block; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; margin: 12px 0 24px; transition: color .3s; }
.call-card__phone:hover { color: var(--champagne); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 28px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); font-weight: 600; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); color: var(--milk);
  font: inherit; font-size: 18px; padding: 10px 0 12px; border-radius: 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--champagne); }
.field input::placeholder, .field textarea::placeholder { color: rgba(247,243,237,.32); }
.field input[type="date"] { color-scheme: dark; min-height: 48px; }
.field textarea { resize: vertical; min-height: 96px; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.field .chip { font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--milk); }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-dark); font-size: 15px; transition: background .3s, color .3s, border-color .3s; cursor: pointer; }
.chip input:checked + span { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.chip input:focus-visible + span { outline: 1px solid var(--champagne); outline-offset: 3px; }
.field-error { font-size: 13px; color: #E7A58F; min-height: 0; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 14px; color: var(--muted-dark); line-height: 1.55; align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--champagne); }
.consent a { color: var(--milk); border-bottom: 1px solid var(--line-dark); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form__status { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; padding: 18px 20px; border-left: 2px solid var(--champagne); background: rgba(247,243,237,.05); }
.form__status[hidden] { display: none; }
.form__status--error { border-color: #E7A58F; }
.form__status a { border-bottom: 1px solid currentColor; }
.form__notice { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted-dark); margin: 0; }

/* --------------------------------------------------------------------------
   Контакты
   -------------------------------------------------------------------------- */
.contacts__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: stretch; }
.contacts dl { margin: 36px 0 0; }
.contacts dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-top: 28px; }
.contacts dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 31px); line-height: 1.25; }
.contacts dd a:hover { color: var(--bronze); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.map { position: relative; min-height: 460px; background: var(--sand); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.12) contrast(1.02); }
.map__load {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 32px;
  background:
    linear-gradient(rgba(21,19,17,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(21,19,17,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--sand);
}
.map__pin { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 10px rgba(21,19,17,.08), 0 0 0 22px rgba(21,19,17,.04); margin-bottom: 14px; }
.map__addr { font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.map__hint { font-size: 13px; color: var(--muted); max-width: 26em; }

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--milk); padding: clamp(72px, 9vw, 130px) 0 36px; }
.footer__mark { font-family: var(--serif); font-weight: 300; font-size: clamp(90px, 16vw, 230px); line-height: .8; letter-spacing: -.02em; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__motto { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; max-width: 20em; justify-self: end; color: var(--milk); }
.footer__motto span { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--champagne); margin-bottom: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 44px 0; font-size: 15px; }
.footer__cols h3 { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); font-weight: 600; margin-bottom: 18px; font-family: var(--sans); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__cols a { color: var(--muted-dark); transition: color .3s; }
.footer__cols a:hover { color: var(--milk); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-dark); padding-top: 28px; border-top: 1px solid var(--line-dark); }

/* --------------------------------------------------------------------------
   Мобильная плашка записи
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 54px; box-shadow: 0 12px 30px rgba(21,19,17,.25); }
.sticky-cta .btn--call { flex: 0 0 54px; padding: 0; background: var(--milk); color: var(--ink); border: 1px solid var(--line); }

/* Простые страницы (политика, 404) */
.legal { max-width: 820px; margin: 0 auto; font-size: 16px; }
.legal h1 { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; margin-bottom: 24px; }
.legal h2 { font-family: var(--serif); font-size: 28px; margin: 2em 0 .5em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal mark { background: rgba(213,181,138,.35); padding: 0 4px; }

/* --------------------------------------------------------------------------
   Анимации появления
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-line { overflow: hidden; display: block; }
.js .reveal-line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .reveal-line > span, .js .reveal-line.is-in > span { transform: none; }
.js .reveal-img .media > img, .js .reveal-img .media > .ph, .js .reveal-img .media > picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.is-in .media > img, .js .reveal-img.is-in .media > .ph, .js .reveal-img.is-in .media > picture { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-line > span { opacity: 1; transform: none; }
  .js .reveal-img .media > img, .js .reveal-img .media > .ph, .js .reveal-img .media > picture { clip-path: none; }
  .media--parallax > img, .media--parallax > picture, .media--parallax > .ph { height: 100%; margin-top: 0; transform: none !important; }
  .hero__scroll { display: none; }
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { display: none; }
  .burger { display: block; }
  .timeline__list { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .article-row a { grid-template-columns: 60px 1fr auto; }
  .article-row__rubric { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  :root { --nav-h: 60px; --topbar-h: 34px; }
  .topbar { font-size: 12.5px; }
  .topbar__full, .topbar__muted { display: none !important; }
  .topbar__short { display: inline-flex !important; }
  .topbar__phone { font-size: 13.5px; }
  .topbar__group { gap: 0; }
  .logo__text { display: none; }

  .hero, .hero__grid { min-height: 0; }
  .hero__grid { display: flex; flex-direction: column; padding-top: 0; }
  .hero__photo { position: relative; height: 62vh; height: 62svh; min-height: 380px; }
  .hero__photo::after { background: linear-gradient(180deg, rgba(21,19,17,.5) 0%, rgba(21,19,17,0) 22%, rgba(21,19,17,0) 58%, var(--ink) 100%); }
  .hero__text { order: 2; position: relative; margin-top: -88px; padding: 0 var(--gutter) 44px; justify-content: flex-start; }
  .hero__label { margin-bottom: 10px; }
  .hero__mark { font-size: clamp(88px, 28vw, 140px); }
  .hero__en { letter-spacing: .48em; margin: 10px 0 22px; }
  .hero__accent { margin: 16px 0 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta, .hero__scroll { display: none; }

  .about__grid, .craft__grid, .craft__grid--reverse, .booking__grid, .contacts__grid, .prices__grid, .prices__head, .works__head, .clients__text, .footer__top { grid-template-columns: 1fr; }
  .craft__grid--reverse .craft__media { order: 0; }
  .about__photos { margin-right: 14%; }
  .fan { --cw: 22vw; height: 44vw; max-height: 220px; }
  .fan__card { transform: translateX(calc(var(--i) * 42%)) rotate(calc(var(--i) * 7deg)); }
  .fan__card:hover { transform: translateX(calc(var(--i) * 46%)) translateY(-10px) rotate(calc(var(--i) * 3deg)); }
  .events__head { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; grid-template-areas: "top" "pl" "tx" "ci"; grid-template-rows: auto; }
  .journey__text { padding: 8px 0 12px; }
  .journey__cities ul { gap: 12px; }
  .journey__cities li { font-size: 21px; }
  .events__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .events__item--1 { grid-column: span 2; }
  .events__item figcaption { font-size: 15px; padding: 26px 10px 9px; }
  .testi__grid { grid-template-columns: 1fr; }
  .testi__media { margin-right: 6%; padding-bottom: 0; }
  .testi__thanks { position: static; transform: rotate(-3deg); margin-top: 22px; text-shadow: none; }
  .about__photos .media--detail { right: -14%; }
  .about__body { columns: 1; }
  .about__collage { width: 100%; }
  .pull { grid-template-columns: 1fr; gap: 0; }
  .pull__mark { height: .45em; }
  .claim { grid-template-columns: 1fr; }
  .claim__item, .claim__item + .claim__item { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .timeline__head { flex-direction: column; align-items: flex-start; }
  .principles { grid-template-columns: 1fr; }
  .timeline__list { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--ink); margin-left: 4px; }
  .timeline__item { border-top: 0; padding: 0 0 36px 28px; }
  .timeline__item::before { top: 6px; left: -5px; }
  .article-row a { grid-template-columns: 40px 1fr; gap: 14px; padding: 26px 0; }
  .article-row__time { display: none; }
  .hero .ph { justify-content: flex-start; padding-top: calc(var(--header-h) + 24px); }
  .hero .ph__mark { display: none; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item, .gallery__item:nth-child(n) { grid-column: span 1; margin-top: 0; }
  .gallery__item:nth-child(3n+1) { grid-column: span 2; }
  .gallery__item:nth-child(3n+2):last-child { grid-column: span 2; }
  .gallery__cap b { font-size: 18px; }
  .gallery__cap span { display: none; }
  .filters { gap: 4px 20px; }

  .lightbox__nav { top: auto; bottom: -6px; transform: none; width: 48px; height: 48px; }
  .lightbox__frame { max-height: calc(100svh - 220px); }
  .lightbox__stage { padding-bottom: 60px; }

  .clients__grid { grid-template-columns: 1fr 1fr; }
  .clients__grid > :nth-child(1) { grid-column: span 2; }
  .clients__grid > :nth-child(2) { margin-top: 0; }

  .form { grid-template-columns: 1fr; gap: 24px; }
  .form__submit .btn { flex: 1 1 100%; }
  .map { min-height: 360px; }
  .footer__motto { justify-self: start; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .awards__list li { grid-template-columns: 80px 1fr; }
  .awards__place { grid-column: 2; }

  .sticky-cta { display: flex; }
  .footer { padding-bottom: 100px; }
  .article__foot { padding: 28px; }
}

@media (max-width: 420px) {
  .field .chip { font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--milk); }
.chip span { padding: 0 16px; }
  .price-list__name { font-size: 15.5px; }
  .price-list__price { font-size: 21px; }
  .footer__cols { grid-template-columns: 1fr; }
}

@media print {
  .header, .sticky-cta, .mobile-menu, .lightbox, .map { display: none !important; }
  .section--dark, .section--graphite, .hero, .footer { background: #fff !important; color: #000 !important; }
}
