/* =========================================================
   ЮЛИЯ · hair care studio
   Editorial beauty landing · cream / espresso / champagne
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper: #f4eee5;
  --paper-2: #ece3d5;
  --paper-3: #e3d7c5;
  --ink: #1b1613;
  --ink-soft: #5c4f45;
  --ink-mute: rgba(27, 22, 19, 0.45);
  --gold: #a97e4f;
  --gold-deep: #8f6437;
  --gold-soft: #d9c3a3;
  --night: #16110e;
  --night-2: #0e0a08;
  --line: rgba(27, 22, 19, 0.14);
  --line-light: rgba(244, 238, 229, 0.16);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(76px, 10.5vw, 148px);
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(40px, 5.5vw, 76px);
}

.section-head__note {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  text-align: right;
  max-width: 280px;
  letter-spacing: 0.01em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.label--light { color: rgba(244, 238, 229, 0.62); }
.label--light::before { background: var(--gold-soft); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.h2 em, .hero__title em, .statement em {
  font-style: italic;
  color: var(--gold-deep);
}

.h2--light { color: var(--paper); }
.h2--light em { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), background 0.35s, color 0.35s, box-shadow 0.45s;
}

.btn .ico { width: 16px; height: 16px; flex: 0 0 auto; }

.btn--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 30px -18px rgba(27, 22, 19, 0.7);
}

.btn--dark:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(143, 100, 55, 0.55);
}

.btn--gold {
  background: var(--gold-soft);
  color: var(--night);
}

.btn--gold:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

.btn--sm { padding: 13px 22px; }

.link-underline {
  position: relative;
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transform-origin: right;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}

.link-underline:hover::after { transform: scaleX(0.35); opacity: 1; }

.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Lining numerals: Cormorant defaults to old-style figures */
.hero__facts strong,
.facts__item strong,
.plan__price span,
.service__price,
.amino-card strong,
.brandline span {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 24px;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(244, 238, 229, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(27, 22, 19, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  padding-bottom: 2px;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.brand:hover .brand__mark { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand__sub {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.brand__mark--light { border-color: rgba(244, 238, 229, 0.28); color: var(--gold-soft); }
.brand--light { color: var(--paper); }
.brand--light .brand__sub { color: rgba(244, 238, 229, 0.5); }
.brand--light:hover .brand__mark { background: var(--gold-soft); color: var(--night); border-color: var(--gold-soft); }

.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); }

.nav a {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background 0.3s;
}

.burger span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.burger:hover { background: rgba(27, 22, 19, 0.05); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night);
  color: var(--paper);
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.75s var(--ease-in-out), visibility 0.75s;
}

body.nav-open .mobile-menu { transform: translateY(0); visibility: visible; }

.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mobile-menu__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.3; fill: none; }

.mobile-menu__nav {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 46px);
  line-height: 1.15;
  text-decoration: none;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 5px;
  border-bottom: 1px solid rgba(244, 238, 229, 0.08);
}

.mobile-menu__nav a span {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
  width: 20px;
}

.mobile-menu__foot { display: flex; flex-direction: column; gap: 14px; }
.mobile-menu__foot p { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 238, 229, 0.45); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(104px, 12vh, 148px);
  padding-bottom: clamp(40px, 6vh, 72px);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.12fr 0.76fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.9vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 22px 0 24px;
}

.hero__lead {
  max-width: 44ch;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.72;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero__facts {
  display: flex;
  gap: clamp(24px, 3.6vw, 54px);
  margin-top: clamp(28px, 4vh, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero__facts li { display: flex; flex-direction: column; gap: 3px; }

.hero__facts strong {
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero__facts span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__visual { position: relative; }

.hero__figure {
  position: relative;
  margin: 0 0 0 auto;
  height: min(calc(100svh - 290px), 700px);
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 12px 12px;
  overflow: hidden;
  background: #1d1611;
  box-shadow: 0 50px 90px -50px rgba(47, 31, 18, 0.55);
  isolation: isolate;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}

.hero__figure:hover img { transform: scale(1.09); }

.hero__figure::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(244, 238, 229, 0.22);
  border-radius: 999px 999px 6px 6px;
  pointer-events: none;
}

.hero__figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 30px 28px 24px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(244, 238, 229, 0.85);
  background: linear-gradient(to top, rgba(11, 7, 5, 0.6), transparent);
}

.hero__figure figcaption span:last-child { color: var(--gold-soft); }

.badge-rotor {
  position: absolute;
  left: -36px;
  bottom: 58px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.badge-rotor svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 34s linear infinite;
}

.badge-rotor text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.9px;
}

.badge-rotor__center {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--paper);
  padding-bottom: 4px;
}

.hero__note {
  margin: 20px 0 0 auto;
  max-width: 230px;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scroll-cue span {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform-origin: top;
  animation: cue 2.6s var(--ease) infinite;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-block: 1px solid rgba(244, 238, 229, 0.08);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: 0.08em;
  padding: 16px 26px;
  white-space: nowrap;
  color: rgba(244, 238, 229, 0.88);
}

.marquee__track i {
  font-style: normal;
  color: var(--gold-soft);
  font-size: 13px;
  opacity: 0.9;
}

/* ---------- Philosophy ---------- */
.philosophy { padding-bottom: clamp(50px, 6vw, 84px); }
.services { padding-top: clamp(50px, 6vw, 84px); }

.philosophy__grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.statement {
  font-family: var(--serif);
  font-size: clamp(33px, 4.3vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 19ch;
}

.philosophy__aside p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 18px;
}

.signature { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.signature__line { width: 46px; height: 1px; background: var(--gold); flex: 0 0 auto; }
.signature__text { font-family: var(--serif); font-size: 19px; line-height: 1.3; letter-spacing: 0.02em; }
.signature__text small {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(50px, 7.5vw, 96px);
  border-top: 1px solid var(--line);
}

.principles li { padding: 30px 34px 0 0; }

.principles li + li { border-left: 1px solid var(--line); padding-left: 34px; }

.principles__num {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.principles h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.principles p { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }

/* Brand facts strip */
.brandline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 6vw, 76px);
  padding-block: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brandline p {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--ink-soft);
}

.brandline span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ---------- Services ---------- */
.services__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.services__intro p { max-width: 38ch; font-size: 14px; line-height: 1.75; color: var(--ink-soft); justify-self: end; }

.service-list { border-top: 1px solid var(--line); }

.service {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.55s var(--ease-in-out);
}

.service:hover::before { transform: scaleY(1); }

.service__link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 130px 116px 30px;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px) clamp(10px, 1.6vw, 22px);
  text-decoration: none;
  color: inherit;
  transition: color 0.45s;
}

.service__num {
  align-self: start;
  padding-top: 7px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  transition: color 0.45s;
}

.service__body { display: block; }

.service__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 2.25vw, 31px);
  line-height: 1.15;
  margin-bottom: 8px;
  transition: color 0.45s;
}

.service__desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 54ch;
  transition: color 0.45s;
}

.service__time {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
  transition: color 0.45s;
}

.service__price {
  font-family: var(--serif);
  font-size: 19px;
  text-align: right;
  white-space: nowrap;
  transition: color 0.45s;
}

.service__arrow {
  width: 19px;
  height: 19px;
  opacity: 0.4;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}

.service:hover .service__link { color: var(--paper); }
.service:hover .service__title { color: var(--paper); }
.service:hover .service__desc,
.service:hover .service__time { color: rgba(244, 238, 229, 0.62); }
.service:hover .service__num { color: var(--gold-soft); }
.service:hover .service__price { color: var(--gold-soft); }
.service:hover .service__arrow { opacity: 1; transform: translate(4px, -4px); }

/* ---------- Care photo band ---------- */
.care-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 42vw, 560px);
  overflow: hidden;
  background: #15100c;
  color: var(--paper);
}

.care-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.care-band__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 10, 8, 0.92) 0%, rgba(14, 10, 8, 0.55) 46%, rgba(14, 10, 8, 0.04) 78%),
    linear-gradient(0deg, rgba(14, 10, 8, 0.5) 0%, transparent 46%);
}

.care-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-block: clamp(34px, 4.6vw, 64px);
}

.care-band__quote {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 21ch;
  margin: 0;
}

.care-band__quote em { font-style: italic; color: var(--gold-soft); }
.care-band__btn { margin-top: 10px; }

/* ---------- Modification ---------- */
.modification {
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(169, 126, 79, 0.2), transparent 62%),
    radial-gradient(700px 500px at 10% 92%, rgba(169, 126, 79, 0.1), transparent 65%),
    var(--night);
  color: var(--paper);
  overflow: hidden;
}

.modification__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.modification__lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  color: rgba(244, 238, 229, 0.92);
  max-width: 40ch;
  margin: 28px 0 16px;
  font-weight: 300;
}

.modification__text {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(244, 238, 229, 0.58);
  max-width: 46ch;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  margin: 42px 0 46px;
}

.facts__item { border-top: 1px solid rgba(217, 195, 163, 0.24); padding-top: 16px; }

.facts__item strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--gold-soft);
}

.facts__item span {
  display: block;
  margin-top: 9px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 229, 0.5);
}

.modification__visual { position: relative; }

.frame {
  border: 1px solid rgba(217, 195, 163, 0.28);
  padding: 10px;
  background: rgba(244, 238, 229, 0.02);
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.95);
}

.amino-card {
  position: absolute;
  left: -30px;
  bottom: -28px;
  width: 216px;
  padding: 18px 22px 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.amino-card__svg { width: 100%; height: 22px; color: var(--gold); margin-bottom: 12px; }
.amino-card__svg circle { fill: currentColor; }
.amino-card__svg path { stroke: currentColor; opacity: 0.55; }

.amino-card p { font-size: 11px; line-height: 1.55; color: var(--ink-soft); }
.amino-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

/* ---------- Works ---------- */
.works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: clamp(30px, 3.5vw, 46px);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 30px);
  align-items: start;
}

.work:nth-child(2) { margin-top: clamp(24px, 4.5vw, 64px); }

.work__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}

.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.8s;
}

.work:hover .work__media img { transform: scale(1.05); filter: saturate(1.05); }

.work figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.work figcaption span:first-child { color: var(--gold); }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 42px);
}

.step { position: relative; border-top: 1px solid var(--line); padding-top: 26px; }

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.7s var(--ease);
}

.step:hover::before { width: 100%; }

.step__num { font-size: 9.5px; letter-spacing: 0.2em; color: var(--gold); }

.step h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 27px);
  margin: 16px 0 10px;
  line-height: 1.2;
}

.step p { font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); max-width: 30ch; }

/* ---------- Reviews ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.6vw, 56px);
}

.review {
  margin: 0;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  position: relative;
}

.review::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  left: -2px;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 0.6;
  color: var(--gold-soft);
}

.review p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.42;
  margin-bottom: 26px;
}

.review footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.review footer span:first-child { color: var(--ink); font-weight: 600; }

/* ---------- Prices ---------- */
.prices__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.prices__note {
  max-width: 320px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}

.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -40px rgba(27, 22, 19, 0.6); border-color: rgba(169, 126, 79, 0.5); }

.plan--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.plan--featured:hover { border-color: var(--ink); }

.plan__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--night);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  white-space: nowrap;
}

.plan__name {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.plan--featured .plan__name { color: rgba(244, 238, 229, 0.55); }

.plan__price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.plan--featured .plan__price { border-color: rgba(244, 238, 229, 0.18); }

.plan__price span {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.plan__price small {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.plan--featured .plan__price small { color: rgba(244, 238, 229, 0.5); }

.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }

.plan li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

.plan--featured li { color: rgba(244, 238, 229, 0.72); }
.plan--featured li::before { background: var(--gold-soft); }

.plan__link { align-self: flex-start; }
.plan--featured .plan__link { color: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__aside { position: sticky; top: 118px; }

.faq__aside h2 { margin: 22px 0 20px; }

.faq__aside p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 28ch;
  margin-bottom: 16px;
}

.faq__list { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.32;
  color: var(--ink);
  transition: color 0.3s;
}

.faq__q:hover { color: var(--gold-deep); }

.faq__ico {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border: 1px solid rgba(27, 22, 19, 0.25);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, transform 0.45s var(--ease);
}

.faq__ico::before,
.faq__ico::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background 0.35s, opacity 0.3s;
}

.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__q[aria-expanded="true"] .faq__ico { background: var(--ink); border-color: var(--ink); }
.faq__q[aria-expanded="true"] .faq__ico::before { background: var(--paper); }
.faq__q[aria-expanded="true"] .faq__ico::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner { overflow: hidden; }

.faq__a-inner p {
  padding: 0 56px 26px 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Booking ---------- */
.booking {
  background:
    radial-gradient(800px 500px at 12% 0%, rgba(169, 126, 79, 0.16), transparent 60%),
    var(--night);
  color: var(--paper);
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.booking__copy h2 { margin: 22px 0 24px; }

.booking__lead {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 238, 229, 0.66);
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 30px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.contacts li span:first-child {
  display: block;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 238, 229, 0.42);
  margin-bottom: 7px;
}

.contacts li a,
.contacts li p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.3s;
}

.contacts li a:hover { color: var(--gold-soft); }

.socials { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }

.socials a {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 238, 229, 0.7);
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(217, 195, 163, 0.35);
  transition: color 0.3s, border-color 0.3s;
}

.socials a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

.booking__form-wrap {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.7);
}

.form__title {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.1;
  margin-bottom: 26px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field label span { text-transform: none; letter-spacing: 0.01em; font-weight: 400; opacity: 0.7; }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 9px 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(27, 22, 19, 0.22);
  background: transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.3s;
  outline: none;
}

.field textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 26px; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(27, 22, 19, 0.32); }

.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold); }

.select-wrap { position: relative; }

.select-wrap__ico {
  position: absolute;
  right: 0;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
}

.field.has-error input { border-color: #a5483c; }

.field__error {
  display: block;
  min-height: 13px;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  color: #a5483c;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 4px;
  cursor: pointer;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.check input { position: absolute; opacity: 0; width: 0; height: 0; }

.check__box {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid rgba(27, 22, 19, 0.35);
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}

.check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(42deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s;
}

.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box::after { opacity: 1; transform: rotate(42deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.check__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form__submit { width: 100%; margin-top: 18px; }

.form__note {
  margin-top: 13px;
  text-align: center;
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(27, 22, 19, 0.42);
}

.form-success { text-align: center; padding: 44px 8px; }
.form-success[hidden] { display: none; }

.form-success__ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}

.form-success__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.form-success__title { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.form-success__text { font-size: 13px; line-height: 1.7; color: var(--ink-soft); max-width: 34ch; margin: 0 auto 24px; }
.form-success button { background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  background: var(--night-2);
  color: rgba(244, 238, 229, 0.7);
  padding-top: clamp(56px, 7vw, 84px);
  position: relative;
  overflow: hidden;
}

.footer__inner { position: relative; z-index: 1; padding-bottom: 34px; }

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 238, 229, 0.12);
}

.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }

.footer__nav a {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 238, 229, 0.6);
  transition: color 0.3s;
}

.footer__nav a:hover { color: var(--paper); }

.footer__contacts { display: flex; flex-direction: column; gap: 8px; text-align: right; }

.footer__contacts a {
  font-size: 12.5px;
  text-decoration: none;
  color: var(--paper);
  transition: color 0.3s;
}

.footer__contacts a:hover { color: var(--gold-soft); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(244, 238, 229, 0.38);
}

.footer__bottom a { text-decoration: none; transition: color 0.3s; }
.footer__bottom a:hover { color: var(--gold-soft); }

.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -0.28em;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(120px, 26vw, 340px);
  line-height: 0.72;
  letter-spacing: -0.03em;
  color: rgba(244, 238, 229, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(244, 238, 229, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}

.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.95s var(--ease) var(--d, 0s),
    transform 0.95s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}

.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes marquee { to { transform: translateX(-50%); } }

@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .hero__title { font-size: clamp(46px, 6.2vw, 88px); }
  .service__link { grid-template-columns: 40px minmax(0, 1fr) 112px 100px 24px; }
}

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr 0.86fr; }
  .badge-rotor { width: 124px; height: 124px; left: -22px; bottom: 44px; }
  .badge-rotor__center { font-size: 34px; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: 132px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__figure { width: 100%; height: auto; margin-inline: 0; }
  .hero__note { max-width: none; text-align: left; }
  .scroll-cue { display: none; }

  .philosophy__grid { grid-template-columns: 1fr; gap: 32px; }
  .statement { max-width: 24ch; }
  .philosophy__aside p { max-width: 56ch; }

  .modification__grid { grid-template-columns: 1fr; gap: 56px; }
  .modification__visual { max-width: 540px; width: 100%; }
  .modification__text { max-width: 56ch; }

  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__aside { position: static; }
  .faq__aside h2 br { display: none; }

  .booking__grid { grid-template-columns: 1fr; gap: 48px; }
  .booking__lead { max-width: 52ch; }
}

@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head__note { text-align: left; max-width: none; }

  .services__intro { grid-template-columns: 1fr; gap: 20px; }
  .services__intro p { justify-self: start; }

  .service__link {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    grid-template-areas:
      "num body arrow"
      "num time price";
    row-gap: 12px;
    align-items: start;
    padding-block: 24px;
  }

  .service__num { grid-area: num; padding-top: 5px; }
  .service__body { grid-area: body; }
  .service__arrow { grid-area: arrow; margin-top: 4px; }
  .service__time {
    grid-area: time;
    justify-self: start;
    text-align: left;
    font-size: 9px;
    padding-top: 4px;
  }
  .service__price {
    grid-area: price;
    display: block;
    justify-self: end;
    text-align: right;
    font-size: 15px;
    padding-top: 1px;
  }

  .principles { grid-template-columns: 1fr; }
  .principles li { padding: 26px 0 0; }
  .principles li + li { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }

  .brandline { grid-template-columns: 1fr 1fr; gap: 22px 26px; }

  .steps { grid-template-columns: 1fr 1fr; gap: 32px 26px; }

  .reviews__grid { grid-template-columns: 1fr; gap: 34px; }
  .review { padding-top: 40px; }

  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }

  .works__grid { grid-template-columns: 1fr 1fr; }
  .work:nth-child(2) { margin-top: 0; }
  .work:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 8px); }

  .prices__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .prices__note { max-width: 46ch; }

  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__contacts { text-align: left; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 720px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 76px; }

  .label__brand { display: none; }
  .works__head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .care-band { min-height: 470px; }
  .care-band__img { object-position: 58% 42%; }
  .care-band__shade {
    background:
      linear-gradient(0deg, rgba(14, 10, 8, 0.95) 8%, rgba(14, 10, 8, 0.6) 52%, rgba(14, 10, 8, 0.18) 100%);
  }
  .care-band__quote { font-size: 27px; }

  .hero__title { font-size: clamp(40px, 11.5vw, 58px); }
  .hero__title br { display: none; }
  .hero__actions { gap: 18px; }
  .hero__facts { gap: 22px; flex-wrap: wrap; }
  .hero__facts li { min-width: 88px; }

  .badge-rotor { width: 104px; height: 104px; left: -12px; bottom: 34px; }
  .badge-rotor__center { font-size: 30px; }
  .hero__figure::after { inset: 9px; }

  .facts { gap: 20px; }
  .amino-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 14px; }

  .works__grid { grid-template-columns: 1fr; }
  .work:nth-child(3) { grid-column: auto; max-width: none; }

  .steps { grid-template-columns: 1fr; gap: 26px; }

  .contacts { grid-template-columns: 1fr; gap: 20px; }

  .faq__a-inner p { padding-right: 8px; }

  .frame { padding: 7px; }
}

@media (max-width: 420px) {
  .section { padding-block: 64px; }
  .hero { padding-top: 114px; }
  .btn { padding: 15px 22px; font-size: 9.5px; }
  .btn .ico { width: 14px; height: 14px; }
  .brand__sub { font-size: 7.5px; letter-spacing: 0.24em; }
  .hero__facts strong { font-size: 24px; }
  .plan { padding: 24px; }
  .booking__form-wrap { padding: 22px 18px; }
  .form__title { font-size: 24px; }
}

/* Compact hero on short desktop viewports (laptops 1366×768 etc.) */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-top: 96px; padding-bottom: 30px; }
  .hero__title { font-size: clamp(44px, 5.1vw, 78px); margin: 18px 0 20px; }
  .hero__lead { font-size: 14.5px; line-height: 1.65; max-width: 42ch; }
  .hero__actions { margin-top: 24px; }
  .hero__facts { margin-top: 26px; padding-top: 18px; }
  .hero__figure { height: min(calc(100svh - 240px), 560px); }
  .hero__note { margin-top: 14px; font-size: 14px; }
}

/* ---------- Documents (privacy) ---------- */
.doc { padding: clamp(118px, 15vh, 164px) 0 clamp(56px, 8vw, 100px); }
.doc .container { max-width: 920px; }

.doc__title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 22px 0 16px;
}

.doc__meta {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.doc__body { max-width: 720px; border-top: 1px solid var(--line); padding-top: 34px; }

.doc__lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 30px;
}

.doc__body h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 32px 0 10px;
}

.doc__body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.doc__body ul { margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }

.doc__body li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.doc__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

.doc__back { margin-top: 34px; }

.footer--doc { padding-top: 34px; padding-bottom: 22px; }
.footer--doc .footer__inner { padding-bottom: 0; }
.footer--doc .footer__bottom { border-top: 1px solid rgba(244, 238, 229, 0.12); padding-top: 20px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Readability pass · larger small text
   ========================================================= */
.brand__mark { width: 44px; height: 44px; font-size: 21px; }
.brand__name { font-size: 23px; }
.brand__sub { font-size: 9.5px; letter-spacing: 0.26em; }

.label { font-size: 11.5px; letter-spacing: 0.22em; }
.section-head__note { font-size: 13px; }
.nav a { font-size: 12px; letter-spacing: 0.14em; padding-block: 9px; }
.nav { gap: clamp(16px, 1.9vw, 30px); }

.btn { font-size: 11.5px; letter-spacing: 0.15em; }
.btn--sm { font-size: 11px; }
.link-underline { font-size: 11.5px; }

.hero__lead { font-size: clamp(15px, 1.1vw, 17px); }
.hero__facts span { font-size: 10.5px; }
.hero__figure figcaption { font-size: 10px; }
.hero__note { font-size: 16px; }

.philosophy__aside p { font-size: 15.5px; }
.principles p { font-size: 14px; }
.brandline p { font-size: 10.5px; }

.service__desc { font-size: 14px; }
.service__time { font-size: 11px; }
.service__price { font-size: 20px; }
.service__num { font-size: 10.5px; }

.modification__text { font-size: 15px; }
.facts__item span { font-size: 10.5px; }
.amino-card p { font-size: 12px; }

.work figcaption { font-size: 10.5px; }
.step p { font-size: 14px; }
.review footer { font-size: 10.5px; }
.review p { font-size: clamp(20px, 1.7vw, 25px); }

.plan__name { font-size: 11px; }
.plan li { font-size: 14px; }
.plan__price small { font-size: 10.5px; }

.faq__q { font-size: clamp(19px, 1.7vw, 24px); }
.faq__a-inner p { font-size: 15px; }

.contacts li span:first-child { font-size: 9.5px; }
.contacts li a,
.contacts li p { font-size: 15px; }
.socials a { font-size: 10.5px; }

.form__title { font-size: 28px; }
.field label { font-size: 10px; }
.field input,
.field textarea,
.field select { font-size: 15.5px; }
.check { font-size: 12px; }
.check__box { width: 18px; height: 18px; }
.form__note { font-size: 11px; }

.footer__nav a { font-size: 10.5px; }
.footer__contacts a { font-size: 14px; }
.footer__bottom { font-size: 10.5px; }
.footer__watermark { font-size: clamp(64px, 12vw, 190px); bottom: -0.16em; color: rgba(244, 238, 229, 0.028); }

.marquee__track span { font-size: clamp(18px, 1.55vw, 23px); }

.doc__meta { font-size: 11px; }
.doc__body p,
.doc__body li { font-size: 15px; }

/* =========================================================
   Buttons · gloss, depth and a moving highlight
   ========================================================= */
.btn {
  padding: 18px 30px;
  border: 1px solid rgba(217, 195, 163, 0.22);
  background: linear-gradient(135deg, #2b211b 0%, #1b1613 52%, #251c16 100%);
  color: var(--paper);
  box-shadow:
    0 20px 36px -26px rgba(20, 14, 10, 0.95),
    inset 0 1px 0 rgba(255, 246, 232, 0.1);
  isolation: isolate;
}

.btn > * { position: relative; z-index: 2; }

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 243, 224, 0.22) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}

.btn:hover::before { transform: translateX(130%); }

.btn .ico { transition: transform 0.45s var(--ease); }
.btn:hover .ico { transform: translate(3px, -3px); }

.btn--dark:hover {
  background: linear-gradient(135deg, #9a6c3d 0%, #8f6437 55%, #a97e4f 100%);
  border-color: rgba(255, 246, 232, 0.28);
  color: var(--paper);
  box-shadow:
    0 22px 40px -24px rgba(143, 100, 55, 0.7),
    inset 0 1px 0 rgba(255, 246, 232, 0.16);
}

.btn--gold {
  background: linear-gradient(135deg, #f0ddc0 0%, #dcc7a6 52%, #cbaa7c 100%);
  color: #1b1613;
  border-color: rgba(255, 250, 240, 0.5);
  box-shadow:
    0 20px 36px -26px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #f8ead4 0%, #e9d3b1 52%, #d7ba8e 100%);
  color: #1b1613;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn:active { transform: translateY(0) scale(0.985); }

/* =========================================================
   Magic wand cursor with a sparkling trail
   ========================================================= */
.magic-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform-origin: 43px 12px;
  transition: opacity 0.25s ease;
  will-change: transform;
}

.magic-cursor svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(70, 45, 20, 0.55)) drop-shadow(0 0 9px rgba(240, 214, 168, 0.7)) drop-shadow(0 8px 10px rgba(20, 14, 10, 0.25));
  transform-origin: 43px 12px;
  transition: transform 0.22s var(--ease);
}

.magic-cursor.is-active svg { transform: scale(1.14) rotate(-5deg); }
.magic-cursor.is-click svg { transform: scale(0.88) rotate(4deg); }

.magic-spark {
  position: fixed;
  z-index: 9998;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #f8e6c8 0 24%, #dcb98a 48%, rgba(217, 185, 141, 0) 74%);
  box-shadow: 0 0 7px rgba(220, 185, 138, 0.65);
  transform: translate(-50%, -50%);
}

.magic-spark--star {
  border-radius: 0;
  background: linear-gradient(180deg, #fff8ec, #e9cf9f);
  box-shadow: 0 0 8px rgba(240, 214, 168, 0.8);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

html.magic-on,
html.magic-on * { cursor: none !important; }

html.magic-on.cursor-native,
html.magic-on.cursor-native * { cursor: auto !important; }
html.magic-on.cursor-native input,
html.magic-on.cursor-native textarea { cursor: text !important; }
html.magic-on.cursor-native .magic-cursor { opacity: 0 !important; }

@media (pointer: coarse) {
  .magic-cursor, .magic-spark { display: none !important; }
}

html.magic-on .site-header,
html.magic-on .site-header * { cursor: none !important; }
html.magic-on a,
html.magic-on button { cursor: none !important; }

@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 420px) {
  .btn { padding: 16px 22px; }
  .hero__facts span { font-size: 10px; }
  .service__desc { font-size: 13.5px; }
}
