@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-soft: #f2ede8;
  --ink: #242321;
  --muted: #6f6660;
  --line: #d8d1cb;
  --line-dark: #504944;
  --accent: #955132;
  --accent-dark: #783e27;
  --cocoa: #2d2825;
  --cocoa-soft: #39312d;
  --success: #2f6948;
  --error: #9a332d;
  --focus: #b95e34;
  --gutter: clamp(20px, 4vw, 68px);
  --section-space: clamp(82px, 9vw, 144px);
  --container: 1540px;
  --radius: 3px;
  --shadow: 0 24px 70px rgba(53, 44, 39, 0.11);
  --ease: cubic-bezier(.2, .72, .25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-dialog-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
fieldset {
  margin: 0;
}

button {
  border: 0;
  background: none;
}

button,
summary {
  cursor: pointer;
}

::selection {
  background: #e8c7b7;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-180%);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 580;
  line-height: 1.25;
  text-align: center;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 13px;
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
}

.button-secondary:hover {
  background: var(--accent);
  color: #fff;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 550;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.text-link:hover::after {
  transform: scaleX(.38);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(216, 209, 203, .9);
  background: rgba(250, 249, 247, .91);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  width: min(100%, var(--container));
  min-height: 76px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
}

.desktop-nav a {
  position: relative;
  padding: 26px 0 24px;
  font-size: 14px;
  font-weight: 520;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.header-phone {
  font-size: 13px;
  font-weight: 560;
  white-space: nowrap;
}

.messenger-menu {
  position: relative;
}

.messenger-menu summary {
  display: inline-flex;
  min-height: 42px;
  list-style: none;
  align-items: center;
  padding: 10px 17px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 580;
}

.messenger-menu summary::-webkit-details-marker,
.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.messenger-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.messenger-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  font-size: 14px;
  transition: background-color 160ms ease;
}

.messenger-link:hover {
  background: var(--surface-soft);
}

.messenger-link span,
.contact-links span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(850px, calc(100svh - 76px));
  overflow: hidden;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  align-items: center;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(66px, 8vw, 124px) 0 clamp(66px, 8vw, 124px) var(--gutter);
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(48px, 5.05vw, 82px);
  font-weight: 390;
  letter-spacing: -0.063em;
  line-height: .99;
}

.hero h1 span {
  display: block;
}

.hero-slogan {
  margin-top: 28px;
  color: var(--accent-dark);
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 390;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  margin-top: 40px;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.035);
  transform-origin: 76% 50%;
  will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 31%, rgba(0,0,0,.35) 44%, #000 57%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 31%, rgba(0,0,0,.35) 44%, #000 57%, #000 100%);
}

.hero-art picture,
.hero-art img {
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: cover;
  object-position: center;
}

.js .hero h1 span,
.js .hero-slogan,
.js .hero-actions {
  animation: hero-reveal 820ms var(--ease) both;
}

.js .hero h1 span:nth-child(2) { animation-delay: 70ms; }
.js .hero h1 span:nth-child(3) { animation-delay: 140ms; }
.js .hero-slogan { animation-delay: 210ms; }
.js .hero-actions { animation-delay: 280ms; }

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.proof-rail {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.proof-rail article {
  min-width: 0;
  padding: 25px var(--gutter) 27px;
}

.proof-rail article + article {
  border-left: 1px solid var(--line);
}

.proof-rail h2 {
  font-size: 15px;
  font-weight: 630;
  letter-spacing: -0.015em;
}

.proof-rail p {
  max-width: 430px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-head {
  display: grid;
  margin-bottom: clamp(42px, 5vw, 74px);
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr);
  align-items: end;
  gap: clamp(36px, 7vw, 118px);
}

.section-head.compact {
  margin-bottom: 32px;
}

.section-index {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .18em;
}

.section h2,
.correction-band h2,
.contact-section h2,
.legal-main h1 {
  font-size: clamp(36px, 4.6vw, 74px);
  font-weight: 390;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.section-head > p,
.studio-head address,
.contact-copy > p {
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

.rail-shell {
  min-width: 0;
}

.work-rail {
  display: flex;
  overflow-x: auto;
  gap: clamp(12px, 1.4vw, 22px);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.work-rail::-webkit-scrollbar,
.studio-thumbs::-webkit-scrollbar {
  display: none;
}

.work-item {
  position: relative;
  flex: 0 0 clamp(260px, 28vw, 420px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  scroll-snap-align: start;
}

.work-item-featured {
  flex-basis: clamp(420px, 48vw, 720px);
}

.work-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 650ms var(--ease);
}

.work-item:hover img {
  transform: scale(1.018);
}

.work-item > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(250, 249, 247, .94);
  color: var(--ink);
  font-size: 11px;
  font-weight: 640;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rail-controls {
  display: grid;
  margin-top: 20px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.rail-progress,
.studio-progress {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.rail-progress span,
.studio-progress span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-progress, 12.5%);
  background: var(--accent);
  transition: width 260ms var(--ease);
}

.rail-controls > div:last-child,
.studio-stage-controls {
  display: flex;
  gap: 8px;
}

.rail-controls button,
.studio-stage-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-dark);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.rail-controls button:hover,
.studio-stage-controls button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.rail-controls svg,
.studio-stage-controls svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-section > .text-link {
  margin-top: 30px;
}

.prices-section {
  border-top: 1px solid var(--line);
}

.price-list {
  border-bottom: 1px solid var(--line);
}

.price-row {
  display: grid;
  min-height: 154px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
}

.price-row h3 {
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 430;
  letter-spacing: -0.04em;
}

.price-row p:not(.price-value) {
  max-width: 660px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.price-value {
  display: flex;
  min-width: 180px;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  color: var(--accent-dark);
  white-space: nowrap;
}

.price-value strong {
  font-size: clamp(31px, 3.1vw, 49px);
  font-weight: 380;
  letter-spacing: -0.045em;
}

.price-value span {
  color: var(--muted);
  font-size: 12px;
}

.calculator {
  margin-top: clamp(52px, 7vw, 94px);
  padding: clamp(34px, 5vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.calculator-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.calculator-head h3 {
  font-size: clamp(31px, 4vw, 58px);
  font-weight: 390;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.calculator-head > div > p,
.calculator-foot > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.calculator-total {
  display: flex;
  align-items: baseline;
  gap: 11px;
  color: var(--accent-dark);
  white-space: nowrap;
}

.calculator-total output {
  font-size: clamp(44px, 5.3vw, 82px);
  font-weight: 340;
  letter-spacing: -0.06em;
  line-height: 1;
}

.calculator-total span {
  color: var(--ink);
  font-size: 14px;
}

.service-switch {
  display: flex;
  margin-top: 46px;
  padding: 0;
  border: 0;
  align-items: center;
  gap: clamp(18px, 4vw, 64px);
}

.service-switch legend {
  width: 100%;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.service-switch label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 530;
}

.service-switch input {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--muted);
  border-radius: 50%;
  appearance: none;
  background: transparent;
}

.service-switch input:checked {
  border: 5px solid var(--accent);
  background: #fff;
}

.range-block {
  margin-top: 44px;
}

.range-label {
  display: flex;
  margin-bottom: 14px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.range-label label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.range-label output {
  color: var(--accent-dark);
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 380;
}

input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0 var(--range-fill, 34.8%), var(--line) var(--range-fill, 34.8%) 100%);
}

input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0 var(--range-fill, 34.8%), var(--line) var(--range-fill, 34.8%) 100%);
}

input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 4px solid var(--surface-soft);
  border-radius: 50%;
  appearance: none;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 4px solid var(--surface-soft);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.calculator-foot {
  display: flex;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.calculator-foot > p {
  max-width: 650px;
  margin: 0;
}

.process-section {
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list li {
  min-height: 320px;
  padding: 30px clamp(22px, 2.4vw, 38px) 30px 0;
}

.process-list li + li {
  padding-left: clamp(22px, 2.4vw, 38px);
  border-left: 1px solid var(--line);
}

.process-list li > span,
.hair-points article > span {
  display: block;
  color: var(--accent);
  font-size: clamp(29px, 3.3vw, 51px);
  font-weight: 330;
  letter-spacing: .08em;
  line-height: 1;
}

.process-list li > div {
  margin-top: clamp(54px, 6vw, 92px);
}

.process-list h3,
.hair-points h3 {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 470;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.process-list p,
.hair-points p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.correction-band {
  position: relative;
  display: grid;
  min-height: 430px;
  padding: clamp(70px, 8vw, 122px) var(--gutter);
  overflow: hidden;
  background: var(--cocoa);
  color: #f9f6f3;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(50px, 9vw, 160px);
}

.correction-band .section-index {
  color: #d88a63;
}

.correction-band h2 {
  max-width: 560px;
}

.correction-band > p {
  max-width: 780px;
  padding-top: 33px;
  color: #ded7d2;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.65;
}

.correction-lines {
  position: absolute;
  right: var(--gutter);
  bottom: 48px;
  left: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
}

.correction-lines i {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ad6e50);
}

.correction-lines i:last-child {
  background: linear-gradient(90deg, #ad6e50, transparent);
}

.correction-lines span {
  width: 10px;
  height: 10px;
  margin: auto;
  border: 1px solid #ad6e50;
  border-radius: 50%;
}

.hair-section {
  display: grid;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--surface-soft);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
}

.hair-media {
  min-height: 680px;
  overflow: hidden;
}

.hair-media picture,
.hair-media img {
  width: 100%;
  height: 100%;
}

.hair-media img {
  object-fit: cover;
}

.hair-copy {
  display: flex;
  padding: clamp(70px, 8vw, 132px) var(--gutter);
  flex-direction: column;
  justify-content: center;
}

.hair-copy h2 {
  max-width: 650px;
}

.editorial-text {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}

.hair-points {
  margin-top: clamp(42px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.hair-points article {
  display: grid;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 68px 1fr;
  gap: 20px;
}

.hair-points article > span {
  padding-top: 3px;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: .12em;
}

.hair-points p {
  margin-top: 5px;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: grid;
  min-height: 88px;
  list-style: none;
  padding: 27px 64px 27px 0;
  align-items: center;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 480;
  letter-spacing: -0.025em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  width: 16px;
  height: 1px;
  background: var(--accent-dark);
  content: "";
}

.faq-list summary span {
  top: 50%;
  right: 6px;
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 220ms var(--ease);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 820px;
  padding: 0 56px 30px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.studio-section {
  width: 100%;
  max-width: none;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  border-top: 1px solid var(--line);
}

.studio-head {
  display: grid;
  width: min(100%, var(--container));
  margin: 0 auto clamp(42px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
}

.studio-head address {
  font-style: normal;
}

.studio-head address p + p,
.studio-head address a {
  display: block;
  margin-top: 8px;
}

.studio-head address a {
  color: var(--accent-dark);
  font-weight: 620;
}

.studio-viewer {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.studio-stage {
  position: relative;
  height: min(67vw, 760px);
  min-height: 480px;
  overflow: hidden;
  background: #ece8e4;
}

.studio-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.studio-stage-controls {
  position: absolute;
  top: 50%;
  right: 18px;
  left: 18px;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.studio-stage-controls button {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(250, 249, 247, .9);
  pointer-events: auto;
}

.studio-thumbs {
  display: flex;
  margin-top: 14px;
  overflow-x: auto;
  gap: 10px;
  scrollbar-width: none;
}

.studio-thumbs button {
  position: relative;
  flex: 0 0 clamp(112px, 13vw, 190px);
  height: clamp(82px, 9.4vw, 132px);
  overflow: hidden;
  border: 1px solid transparent;
  opacity: .58;
  transition: opacity 180ms ease, border-color 180ms ease;
}

.studio-thumbs button:hover,
.studio-thumbs button[aria-current="true"] {
  border-color: var(--accent);
  opacity: 1;
}

.studio-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-progress {
  display: grid;
  height: auto;
  margin-top: 16px;
  overflow: visible;
  background: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.studio-progress::before {
  grid-area: 1 / 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.studio-progress span {
  position: relative;
  grid-area: 1 / 1;
  height: 1px;
  width: var(--studio-progress, 14.28%);
}

.studio-progress output {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
}

.studio-actions {
  display: flex;
  width: min(100%, var(--container));
  margin: 30px auto 0;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.map-frame {
  width: min(100%, var(--container));
  margin: 44px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-placeholder {
  display: flex;
  min-height: 170px;
  padding: 30px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.map-placeholder p {
  display: grid;
  gap: 7px;
}

.map-placeholder strong {
  font-size: 20px;
  font-weight: 500;
}

.map-placeholder span {
  color: var(--muted);
  font-size: 14px;
}

.map-placeholder > div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.map-frame iframe {
  width: 100%;
  height: 470px;
  border: 0;
}

.contact-section {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  grid-template-columns: minmax(290px, .7fr) minmax(0, 1.3fr);
  gap: clamp(56px, 9vw, 150px);
}

.contact-copy {
  align-self: start;
}

.contact-copy h2 {
  max-width: 650px;
}

.contact-copy > p {
  max-width: 580px;
  margin-top: 28px;
}

.contact-links {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.contact-links a {
  display: flex;
  min-height: 66px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 560;
  transition: color 180ms ease, padding-left 220ms var(--ease);
}

.contact-links a:hover {
  padding-left: 8px;
  color: var(--accent-dark);
}

.contact-form {
  align-self: start;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.field-grid + .field-grid,
.field-grid + .field,
.field + .field {
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.field b {
  color: var(--accent);
}

.field em {
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid #bcb3ac;
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.field textarea {
  min-height: 106px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
  background: rgba(255, 255, 255, .42);
}

.field-error {
  min-height: 16px;
  color: var(--error);
  font-size: 11px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.consent-check {
  display: grid;
  margin-top: 30px;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.consent-check a,
.policy-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-underline-offset: 3px;
}

.policy-note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.form-submit-row {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 22px;
}

.form-submit-row p {
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  font-size: 13px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: #93bea4;
  background: #eef7f1;
  color: var(--success);
}

.form-status.is-error {
  border-color: #d8a4a0;
  background: #fff0ef;
  color: var(--error);
}

.site-footer {
  padding: 66px var(--gutter) 26px;
  background: var(--cocoa);
  color: #f8f5f2;
}

.footer-top,
.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  padding-bottom: 54px;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 50px;
}

.footer-top p {
  max-width: 360px;
  margin-top: 14px;
  color: #bfb7b1;
  font-size: 13px;
}

.footer-top nav,
.footer-contacts {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-top nav a,
.footer-contacts a {
  color: #ded8d4;
  font-size: 13px;
}

.footer-top a:hover,
.footer-bottom a:hover,
.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  color: #aca39d;
  font-size: 11px;
}

.footer-bottom p {
  margin-right: auto;
}

.footer-link {
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.mobile-cta {
  display: none;
}

.lightbox,
.cookie-dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop,
.cookie-dialog::backdrop {
  background: rgba(27, 24, 22, .84);
  backdrop-filter: blur(5px);
}

.lightbox {
  width: min(92vw, 940px);
  color: #fff;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: var(--surface-soft);
}

.lightbox > p {
  margin-top: 10px;
  color: #f4efec;
  font-size: 13px;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(250, 249, 247, .94);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  z-index: 150;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(250, 249, 247, .98);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 12px;
}

.cookie-banner p:first-child {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.cookie-dialog {
  width: min(92vw, 620px);
}

.cookie-dialog > form {
  position: relative;
  padding: 42px;
  background: var(--bg);
}

.cookie-dialog h2 {
  padding-right: 44px;
  font-size: 31px;
  font-weight: 430;
  letter-spacing: -0.04em;
}

.cookie-dialog > form > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.settings-row {
  display: flex;
  min-height: 72px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.settings-row:first-of-type {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.settings-row span {
  display: grid;
}

.settings-row small {
  color: var(--muted);
}

.cookie-dialog .button {
  margin-top: 26px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-body {
  background: var(--bg);
}

.legal-header .header-inner {
  display: flex;
  justify-content: space-between;
}

.legal-main {
  width: min(calc(100% - 2 * var(--gutter)), 980px);
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.legal-main > h1 {
  max-width: 900px;
}

.legal-lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.legal-alert {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  margin-top: 58px;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 450;
  letter-spacing: -0.035em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 14px;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.legal-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 720px;
    grid-template-columns: 57% 43%;
  }

  .hero-art {
    right: 0;
    width: 100%;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    min-height: 280px;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hair-section {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    grid-template-columns: .82fr 1.18fr;
    gap: 56px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-space: 82px;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-actions {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-nav > summary {
    display: grid;
    width: 46px;
    height: 46px;
    list-style: none;
    place-content: center;
    gap: 5px;
  }

  .mobile-nav > summary span {
    display: block;
    width: 23px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-nav[open] > summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-nav[open] > summary span:nth-child(2) { opacity: 0; }
  .mobile-nav[open] > summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-panel {
    position: fixed;
    z-index: 110;
    top: 68px;
    right: 0;
    left: 0;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
    padding: 26px var(--gutter) 34px;
    border-top: 1px solid var(--line);
    background: rgba(250, 249, 247, .99);
    box-shadow: var(--shadow);
  }

  .mobile-panel nav {
    display: grid;
  }

  .mobile-panel nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 23px;
    font-weight: 420;
    letter-spacing: -0.03em;
  }

  .mobile-phone {
    display: block;
    margin-top: 24px;
    color: var(--accent-dark);
    font-weight: 620;
  }

  .mobile-messengers {
    display: flex;
    margin-top: 18px;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .mobile-panel .button {
    width: 100%;
    margin-top: 26px;
  }

  .hero {
    min-height: 800px;
    padding: 0;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-copy {
    width: 100%;
    padding: 330px var(--gutter) 72px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(48px, 10.7vw, 82px);
  }

  .hero-art {
    top: -55px;
    right: -10%;
    bottom: auto;
    width: 120%;
    height: 410px;
    transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.03);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 73%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 73%, transparent 100%);
  }

  .proof-rail article {
    padding-right: 22px;
    padding-left: 22px;
  }

  .section-head,
  .studio-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .work-item {
    flex-basis: min(72vw, 410px);
  }

  .work-item-featured {
    flex-basis: min(84vw, 540px);
  }

  .calculator-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator-total {
    align-self: flex-start;
  }

  .correction-band {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .correction-band > p {
    padding-top: 0;
  }

  .hair-section {
    grid-template-columns: 1fr;
  }

  .hair-media {
    min-height: 0;
    aspect-ratio: 1;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }

  .contact-links a {
    border-bottom: 0;
  }

  .contact-links a + a {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
    --section-space: 72px;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 66px;
    font-size: 15px;
  }

  .header-inner {
    padding: 0 14px 0 18px;
  }

  .brand {
    font-size: 23px;
  }

  .hero {
    min-height: 705px;
  }

  .hero-copy {
    padding-top: 265px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.7vw, 61px);
    letter-spacing: -0.061em;
  }

  .hero-slogan {
    margin-top: 20px;
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    margin-top: 29px;
    gap: 9px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-actions .text-link::after {
    right: 30%;
    left: 30%;
  }

  .hero-art {
    top: -22px;
    right: -25%;
    width: 150%;
    height: 320px;
  }

  .proof-rail {
    grid-template-columns: 1fr;
  }

  .proof-rail article {
    padding: 18px var(--gutter);
  }

  .proof-rail article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .proof-rail p {
    margin-top: 3px;
  }

  .section h2,
  .correction-band h2,
  .contact-section h2,
  .legal-main h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head > p {
    font-size: 14px;
  }

  .work-rail {
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
  }

  .work-item,
  .work-item-featured {
    flex-basis: 82vw;
  }

  .rail-controls {
    gap: 16px;
  }

  .rail-controls button,
  .studio-stage-controls button {
    width: 42px;
    height: 42px;
  }

  .price-row {
    min-height: 0;
    padding: 25px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-value {
    min-width: 0;
    justify-content: flex-start;
  }

  .calculator {
    margin-right: calc(-1 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
    padding: 30px var(--gutter) 36px;
  }

  .calculator-head h3 {
    font-size: 34px;
  }

  .calculator-total output {
    font-size: 52px;
  }

  .service-switch {
    display: grid;
    margin-top: 34px;
    gap: 13px;
  }

  .calculator-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .calculator-foot .button {
    width: 100%;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li + li,
  .process-list li:nth-child(3) {
    display: grid;
    min-height: 0;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    grid-template-columns: 58px 1fr;
    gap: 10px;
  }

  .process-list li > span {
    padding-top: 4px;
    font-size: 21px;
  }

  .process-list li > div {
    margin-top: 0;
  }

  .correction-band {
    min-height: 0;
    padding: 66px var(--gutter) 96px;
  }

  .correction-band > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .correction-lines {
    bottom: 38px;
  }

  .hair-copy {
    padding: 62px var(--gutter) 72px;
  }

  .editorial-text {
    font-size: 16px;
  }

  .hair-points article {
    grid-template-columns: 44px 1fr;
  }

  .faq-list summary {
    min-height: 76px;
    padding: 22px 46px 22px 0;
    font-size: 17px;
  }

  .faq-list details > p {
    padding-right: 10px;
  }

  .studio-head address {
    font-size: 14px;
  }

  .studio-stage {
    height: 66vh;
    min-height: 430px;
  }

  .studio-stage-controls {
    right: 12px;
    left: 12px;
  }

  .studio-thumbs {
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
  }

  .studio-thumbs button {
    flex-basis: 110px;
    height: 80px;
  }

  .studio-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .studio-actions .button,
  .studio-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .map-placeholder {
    align-items: stretch;
    flex-direction: column;
  }

  .map-placeholder > div {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .map-placeholder .text-link {
    justify-content: center;
  }

  .map-frame iframe {
    height: 390px;
  }

  .contact-section {
    gap: 54px;
  }

  .contact-links {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .contact-links a,
  .contact-links a + a {
    padding-left: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit-row .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom p {
    margin: 0 0 8px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: rgba(149, 81, 50, .96);
    box-shadow: 0 12px 34px rgba(65, 43, 31, .2);
    color: #fff;
    font-size: 14px;
    font-weight: 620;
    transition: opacity 220ms ease, transform 220ms var(--ease);
  }

  .mobile-cta.is-hidden {
    opacity: 0;
    transform: translateY(74px);
    pointer-events: none;
  }

  .cookie-banner {
    right: 10px;
    bottom: 70px;
    left: 10px;
    padding: 17px;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .cookie-dialog > form {
    padding: 32px 20px 24px;
  }

  .legal-main {
    padding-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero-art {
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Care4Hair v03 */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20BD;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-lockup > span {
  display: grid;
  gap: 3px;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav {
  padding: 4px 8px;
  border: 1px solid rgba(216, 209, 203, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
}

.desktop-nav a {
  padding: 0 13px;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.desktop-nav a::after {
  right: 13px;
  bottom: 7px;
  left: 13px;
}

.desktop-nav a:hover {
  color: var(--accent-dark);
  background: var(--surface-soft);
}

.messenger-menu > summary {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-dark);
}

.hero-v01 {
  display: grid;
  min-height: min(760px, calc(100svh - 76px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  grid-template-columns: minmax(440px, 44%) minmax(0, 56%);
  align-items: stretch;
}

.hero-v01 .hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(70px, 8vw, 126px) clamp(34px, 5.5vw, 92px) clamp(56px, 7vw, 104px) var(--gutter);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-v01 h1 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: clamp(42px, 5.15vw, 72px);
  font-weight: 650;
  letter-spacing: -.052em;
  line-height: 1.02;
}

.hero-v01 h1 span {
  display: block;
}

.hero-v01 .hero-slogan {
  margin: 0 0 42px;
  color: var(--accent);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 420;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.hero-v01 .hero-actions {
  margin: 0;
  gap: 20px 28px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface-soft);
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.015);
  transform-origin: center;
  will-change: transform;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 12%;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
  object-position: 56% center;
}

.js .hero-v01 h1,
.js .hero-v01 .hero-slogan,
.js .hero-v01 .hero-actions {
  animation: hero-reveal 820ms var(--ease) both;
}

.js .hero-v01 h1 span {
  animation: none;
}

.js .hero-v01 .hero-slogan { animation-delay: 100ms; }
.js .hero-v01 .hero-actions { animation-delay: 180ms; }

.works-section {
  padding-top: clamp(72px, 8vw, 118px);
}

.work-rail {
  align-items: stretch;
}

.work-item,
.work-item-featured {
  height: clamp(300px, 32vw, 470px);
}

.work-item {
  flex-basis: clamp(240px, 21vw, 330px);
}

.work-item-featured {
  flex-basis: clamp(480px, 43vw, 670px);
}

.work-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.hair-section {
  min-height: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.hair-media {
  min-height: 470px;
  max-height: 560px;
}

.hair-media img {
  object-position: center;
}

.hair-copy {
  padding: clamp(54px, 6vw, 88px) var(--gutter);
}

.hair-copy .editorial-text {
  max-width: 660px;
  margin-top: 24px;
}

.studio-viewer {
  max-width: 1160px;
}

.studio-stage {
  height: min(52vw, 560px);
  min-height: 420px;
}

.studio-thumbs button {
  flex-basis: clamp(96px, 10vw, 148px);
  height: clamp(70px, 7.2vw, 102px);
}

.studio-actions,
.map-frame {
  max-width: 1160px;
}

.field-grid {
  align-items: start;
}

.field-grid > .field + .field {
  margin-top: 0;
}

.field-grid .field {
  grid-template-rows: 19px 55px 16px;
}

.field > span {
  display: flex;
  min-height: 19px;
  align-items: center;
}

.field input,
.field select,
.field textarea {
  display: block;
  margin: 0;
}

.site-footer {
  padding-top: 78px;
  background:
    radial-gradient(circle at 82% 5%, rgba(181, 113, 78, .18), transparent 28%),
    var(--cocoa);
}

.footer-top {
  padding-bottom: 62px;
  grid-template-columns: 1.35fr .65fr .9fr;
}

.site-footer .brand-lockup {
  color: #fff;
  font-size: 26px;
}

.site-footer .brand-lockup img {
  width: 50px;
  height: 50px;
}

.footer-brand p {
  margin-top: 22px;
  color: #f0d7ca;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 390;
  letter-spacing: -.035em;
}

.footer-brand small {
  display: block;
  margin-top: 8px;
  color: #bfb7b1;
  font-size: 12px;
}

.footer-top nav a,
.footer-contacts > a {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(222, 216, 212, .18);
}

.footer-phone {
  color: #fff !important;
  font-size: 16px !important;
}

.footer-socials {
  display: flex;
  margin-top: 8px;
  gap: 9px;
}

.footer-socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(222, 216, 212, .28);
  border-radius: 50%;
  color: #f0e9e5;
  font-size: 10px;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.footer-socials a:hover {
  border-color: #d88a63;
  background: rgba(216, 138, 99, .12);
}

.lightbox {
  width: min(94vw, 1040px);
  overflow: visible;
}

.lightbox-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: rgba(250, 249, 247, .94);
  color: var(--accent-dark);
  transform: translateY(-50%);
}

.lightbox-prev { left: -72px; }
.lightbox-next { right: -72px; }

.lightbox-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1100px) {
  .desktop-nav {
    padding-inline: 3px;
  }

  .desktop-nav a {
    padding-inline: 9px;
  }

  .brand-lockup img {
    width: 36px;
    height: 36px;
  }

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

@media (max-width: 900px) {
  .hero-v01 {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-v01 .hero-copy {
    order: 2;
    padding: 52px var(--gutter) 66px;
  }

  .hero-v01 h1 {
    max-width: 760px;
    font-size: clamp(44px, 8.8vw, 68px);
  }

  .hero-visual {
    order: 1;
    height: clamp(330px, 54vw, 500px);
  }

  .hero-visual::before {
    inset: auto 0 0;
    width: 100%;
    height: 12%;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  }

  .hair-section {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .brand-lockup img {
    width: 34px;
    height: 34px;
  }

  .brand-lockup small {
    display: none;
  }

  .hero-v01 .hero-copy {
    padding: 39px var(--gutter) 54px;
  }

  .hero-v01 h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-v01 .hero-slogan {
    margin-bottom: 30px;
    font-size: 19px;
  }

  .hero-visual {
    height: 294px;
    transform: none;
  }

  .work-item,
  .work-item-featured {
    height: min(82vw, 390px);
  }

  .work-item {
    flex-basis: min(70vw, 320px);
  }

  .work-item-featured {
    flex-basis: min(92vw, 520px);
  }

  .hair-media {
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 2;
  }

  .hair-copy {
    padding: 54px var(--gutter) 62px;
  }

  .studio-stage {
    height: min(112vw, 440px);
    min-height: 340px;
  }

  .studio-thumbs button {
    flex-basis: 94px;
    height: 68px;
  }

  .field-grid .field {
    grid-template-rows: auto 55px 16px;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .lightbox {
    width: 100vw;
    padding: 0 10px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
}

/* Care4Hair final v04 */
.header-inner {
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: clamp(24px, 3vw, 52px);
}

.header-brand {
  display: grid;
  min-width: max-content;
  align-items: start;
  gap: 4px;
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 560;
  letter-spacing: -.055em;
}

.header-brand small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: clamp(24px, 3vw, 48px);
}

.desktop-nav a {
  padding: 12px 0 10px;
  border-radius: 0;
  color: var(--ink);
  line-height: 1.2;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  right: 0;
  bottom: 2px;
  left: 0;
  transform-origin: center;
}

.desktop-nav a:hover {
  background: transparent;
  color: var(--accent-dark);
}

.desktop-nav a:hover::after {
  transform-origin: center;
}

.messenger-menu > summary {
  gap: 8px;
  padding: 0 17px;
  border-radius: 2px;
}

.messenger-menu > summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.messenger-menu[open] > summary svg {
  transform: rotate(180deg);
}

.section-head-solo {
  grid-template-columns: 1fr;
}

.work-rail,
.work-item,
.work-item img {
  user-select: none;
  -webkit-user-select: none;
}

.work-item img {
  -webkit-user-drag: none;
}

.work-item:hover img,
.work-item:active img {
  opacity: 1;
  filter: none;
  transform: none;
}

.work-item:focus:not(:focus-visible) {
  outline: none;
}

.work-item::selection,
.work-item img::selection {
  background: transparent;
}

.lightbox img {
  opacity: 1;
  filter: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.hair-section {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  max-width: var(--container);
  margin: var(--section-space) auto;
  padding: clamp(24px, 3vw, 48px);
  background: var(--surface-soft);
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
}

.hair-copy {
  order: 1;
  padding: clamp(26px, 4vw, 66px) 0 clamp(26px, 4vw, 66px) clamp(8px, 2.2vw, 34px);
}

.hair-copy h2 {
  max-width: 560px;
  font-size: clamp(40px, 4.3vw, 68px);
}

.hair-copy .editorial-text {
  max-width: 540px;
  margin-top: 24px;
}

.hair-media {
  order: 2;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 2;
  background: #e9e4df;
}

.hair-media img {
  object-position: center;
}

.site-footer {
  padding: 0 var(--gutter) 26px;
  background: var(--cocoa);
}

.legal-main + .site-footer {
  padding-top: 26px;
}

.footer-lead,
.footer-top,
.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-lead {
  display: flex;
  padding: clamp(58px, 7vw, 102px) 0 clamp(42px, 5vw, 70px);
  border-bottom: 1px solid var(--line-dark);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-wordmark {
  display: inline-block;
  color: #fff;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 390;
  letter-spacing: -.072em;
  line-height: .9;
}

.footer-lead p {
  margin-top: 22px;
  color: #dfc2b4;
  font-size: clamp(17px, 1.55vw, 23px);
  letter-spacing: -.025em;
}

.footer-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 18px;
  padding: 0 0 8px;
  border-bottom: 1px solid #d88a63;
  color: #fff;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 520;
}

.footer-cta span {
  color: #d88a63;
  font-size: 22px;
  transition: transform 180ms var(--ease);
}

.footer-cta:hover span {
  transform: translate(3px, -3px);
}

.footer-top {
  padding: 44px 0 52px;
  grid-template-columns: minmax(280px, 1.4fr) minmax(140px, .55fr) minmax(260px, .9fr);
  gap: clamp(42px, 7vw, 118px);
}

.footer-top > nav > span,
.footer-contacts > span {
  margin-bottom: 3px;
  color: #a79d97;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-description p {
  max-width: 410px;
  margin: 0;
  color: #e5ded9;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

.footer-description small {
  display: block;
  margin-top: 15px;
  color: #a79d97;
  font-size: 12px;
}

.footer-top nav,
.footer-contacts {
  gap: 10px;
}

.footer-top nav a,
.footer-contacts > a {
  width: fit-content;
  padding: 0;
  border: 0;
  color: #ded8d4;
  font-size: 13px;
}

.footer-contacts {
  font-style: normal;
}

.footer-phone {
  margin-top: 3px;
  font-size: 18px !important;
}

.footer-socials {
  display: flex;
  margin-top: 14px;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-socials a {
  display: inline-flex;
  width: auto;
  height: auto;
  padding-bottom: 3px;
  border: 0;
  border-bottom: 1px solid rgba(216, 138, 99, .48);
  border-radius: 0;
  color: #f0e9e5;
  font-size: 12px;
  font-weight: 560;
}

.footer-socials a:hover {
  border-color: #d88a63;
  background: transparent;
}

.footer-bottom {
  padding-top: 20px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 900px) {
  .hair-section {
    grid-template-columns: 1fr;
  }

  .hair-media {
    order: 1;
  }

  .hair-copy {
    order: 2;
    padding: 24px 6px 34px;
  }

  .footer-lead {
    align-items: start;
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-description {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .header-brand {
    font-size: 23px;
  }

  .header-brand small {
    font-size: 7px;
  }

  .mobile-panel {
    padding-top: 20px;
  }

  .mobile-panel nav a {
    padding: 15px 0;
    font-size: 25px;
  }

  .hair-section {
    width: calc(100% - (2 * var(--gutter)));
    margin: 72px auto;
    padding: 14px;
    gap: 18px;
  }

  .hair-media {
    aspect-ratio: 3 / 2;
  }

  .hair-copy {
    padding: 24px 6px 32px;
  }

  .hair-copy h2 {
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .footer-lead {
    gap: 28px;
  }

  .footer-cta {
    width: 100%;
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-description {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

/* Care4Hair final v05 */
.hair-buyback-section {
  border-top: 1px solid var(--line);
}

.hair-buyback-head {
  margin-bottom: clamp(34px, 4vw, 58px);
}

.hair-buyback-panel {
  display: grid;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.hair-buyback-copy {
  padding: clamp(40px, 5.6vw, 84px);
}

.hair-buyback-label {
  display: inline-block;
  margin-bottom: 23px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hair-buyback-copy h3 {
  max-width: 650px;
  font-size: clamp(33px, 3.6vw, 56px);
  font-weight: 390;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.hair-buyback-copy > p {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hair-buyback-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hair-buyback-benefits {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
  list-style: none;
}

.hair-buyback-benefits li {
  display: grid;
  min-height: 154px;
  padding: clamp(27px, 3.5vw, 48px);
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 17px;
}

.hair-buyback-benefits li + li {
  border-top: 1px solid var(--line);
}

.hair-buyback-benefits li > span {
  padding-top: 3px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .13em;
}

.hair-buyback-benefits h3 {
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 430;
  letter-spacing: -.035em;
}

.hair-buyback-benefits p {
  max-width: 440px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer > .footer-top:first-child {
  padding-top: clamp(50px, 6vw, 78px);
}

.footer-brand-compact {
  display: inline-block;
  margin-bottom: 19px;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 510;
  letter-spacing: -.055em;
  line-height: 1;
}

@media (max-width: 900px) {
  .hair-buyback-panel {
    grid-template-columns: 1fr;
  }

  .hair-buyback-benefits {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .hair-buyback-panel {
    margin-right: calc(-1 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
  }

  .hair-buyback-copy {
    padding: 42px var(--gutter) 46px;
  }

  .hair-buyback-copy h3 {
    font-size: 34px;
  }

  .hair-buyback-copy > p {
    font-size: 14px;
  }

  .hair-buyback-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hair-buyback-actions .button {
    width: 100%;
  }

  .hair-buyback-actions .text-link {
    align-self: flex-start;
  }

  .hair-buyback-benefits li {
    min-height: 0;
    padding: 27px var(--gutter);
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .footer-brand-compact {
    font-size: 26px;
  }
}

/* Care4Hair final v07 */
.reviews-section {
  width: 100%;
  padding: var(--section-space) var(--gutter);
  background: var(--cocoa);
  color: #f8f5f2;
}

.reviews-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.reviews-head {
  display: grid;
  padding-bottom: clamp(42px, 5vw, 72px);
  border-bottom: 1px solid rgba(248, 245, 242, .2);
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: clamp(32px, 5vw, 78px);
}

.reviews-head .section-index {
  color: #dca98f;
}

.reviews-head h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.6vw, 74px);
  font-weight: 390;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.reviews-head > p {
  max-width: 520px;
  color: #beb6b0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

.reviews-grid {
  display: grid;
  margin-top: clamp(24px, 2.5vw, 38px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
}

.review-card {
  display: flex;
  min-height: 320px;
  margin: 0;
  padding: clamp(27px, 3vw, 42px);
  border: 1px solid rgba(248, 245, 242, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 390;
  letter-spacing: -.028em;
  line-height: 1.48;
}

.review-card cite {
  display: block;
  margin-top: 38px;
  color: #dca98f;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .08em;
}

.reviews-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 28px;
  padding: 9px 0 7px;
  border-bottom: 1px solid rgba(248, 245, 242, .55);
  align-items: center;
  gap: 12px;
  color: #f8f5f2;
  font-size: 15px;
  font-weight: 550;
  transition: border-color 180ms ease, color 180ms ease;
}

.reviews-link:hover {
  border-color: #dca98f;
  color: #efd8ca;
}

@media (max-width: 900px) {
  .reviews-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .reviews-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .reviews-head h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .review-card {
    padding: 26px 22px;
  }

  .review-card p {
    font-size: 20px;
  }

  .review-card cite {
    margin-top: 26px;
  }

  .reviews-link {
    line-height: 1.45;
  }
}
