@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/font-1.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/font-2.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/font-3.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/font-4.woff2) format('woff2');
}
/* Theme and base */
:root {
  --header-height: 104px;
  --bg: #111110;
  --surface: #1a1917;
  --surface-light: #211f1c;
  --text: #f2eee7;
  --muted: #c5bfb6;
  --accent: #d9c3a6;
  --line: rgba(222,204,181,.16);
  --font: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --serif: 'Cormorant Garamond', 'Bodoni MT', 'Times New Roman', serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 16px 48px #0003;
  --transition: .25s ease;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p {
  margin: 0;
}
h1, h2, h3 {
  font-weight: 400;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(32px,3.4vw,48px);
  line-height: 1.12;
  letter-spacing: -1.2px;
}
h2 em {
  font-weight: 400;
  color: var(--accent);
}
.container {
  width: min(1280px,calc(100% - 96px));
  margin-inline: auto;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
/* Navigation and shared controls */
.header.container {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  padding-inline: max(48px, calc((100% - 1280px) / 2));
  background: rgba(17, 17, 16, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px #0002;
}
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 20px/1.2 var(--serif);
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand span {
  display: block;
  font: 11px/1.5 var(--font);
  letter-spacing: 3.3px;
  margin-top: 7px;
  color: var(--muted);
}
.navigation {
  display: flex;
  gap: 27px;
  margin-inline: auto;
  font-size: 14px;
}
.navigation a {
  color: #e5dfd5;
  transition: color var(--transition);
}
.navigation a:hover {
  color: var(--accent);
}
.button {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  transition: background var(--transition),transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: linear-gradient(110deg,#e7d6bf,#cdb391);
  color: #242019;
  box-shadow: 0 4px 24px #d7bd9310;
}
.button-primary:hover {
  box-shadow: 0 6px 28px #d7bd9330;
  background: #ebd9bf;
}
.button-outline {
  background: transparent;
  border: 1px solid #8d7b655c;
  min-height: 42px;
  padding: 10px 19px;
  gap: var(--space-4);
}
.button-outline:hover, .button-glass:hover {
  border-color: var(--accent);
  background: #d9c3a60a;
}
.header-contact svg {
  width: 17px;
}
.menu-toggle {
  display: none;
  background: none;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  margin: 7px 0;
  transition: transform var(--transition);
}
.hero-actions { flex-wrap: wrap; }
.stats>div { min-width: 0; }
/* Hero */
.hero {
  position: relative;
  margin-top: 0;
  min-height: 800px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 42%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#111110 3%,#111110f5 25%,#111110b8 44%,#11111010 70%),linear-gradient(0deg,#111110 0%,transparent 30%,transparent 72%,#111110e6);
}
.hero-inner {
  position: relative;
  min-height: 800px;
  padding-top: 176px;
  padding-bottom: 90px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--muted);
  line-height: 1.6;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--accent);
}
.small-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
h1 {
  font-family: var(--serif);
  font-size: clamp(72px,7.7vw,108px);
  line-height: .91;
  text-transform: uppercase;
  letter-spacing: -4px;
  margin: 30px 0 24px;
}
h1 span {
  color: #e1d3c1;
}
.hero-specialty {
  font-family: var(--serif);
  font-size: 23px;
  color: #e1d9cd;
}
.hero-description {
  margin-top: var(--space-4);
  color: #ded8ce;
  font-size: 16px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.button-glass {
  border: 1px solid #a89d8d60;
  background: #111110cc;
  gap: 12px;
}
.play-icon {
  display: flex;
  border: 1px solid #a89d8d;
  border-radius: 50%;
  padding: 3px;
}
.play-icon svg {
  width: 14px;
  height: 14px;
}
.stats {
  display: flex;
  margin-top: var(--space-6);
  gap: 28px;
}
.stats>div {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}
.stats>div:last-child {
  border: 0;
  padding-right: 0;
}
.stats strong {
  display: block;
  font: 32px/1.1 var(--serif);
  letter-spacing: -.6px;
}
.stats strong span {
  font-size: 23px;
}
.stats>div>span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: var(--space-2);
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}
.hero-note>span {
  font: 500 11px/1.5 var(--font);
  letter-spacing: 2px;
  color: var(--accent);
}
.hero-note i {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 24px;
}
.hero-note p {
  font: italic 15px/1.5 var(--serif);
  color: #e2d0b7;
}
.scroll-hint {
  position: absolute;
  bottom: 38px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.scroll-hint span {
  font-size: 20px;
  color: var(--accent);
}
.hero-caption {
  position: absolute;
  bottom: 44px;
  right: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #e2d0b7;
}
/* Shade finder and techniques */
.quiz-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 168px;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  overflow: hidden;
  background: linear-gradient(110deg,#28241f,#1a1917 70%);
  position: relative;
}
.quiz-image {
  width: 225px;
  align-self: stretch;
  flex-shrink: 0;
  background: url('../assets/hero.webp') 72% 42%/auto 260%;
  -webkit-mask-image: linear-gradient(90deg,#000 70%,transparent);
  mask-image: linear-gradient(90deg,#000 70%,transparent);
}
.quiz-copy {
  padding-block: var(--space-4);
}
.quiz-copy h2 {
  font-size: 36px;
  margin: 8px 0 10px;
}
.quiz-copy p:last-child {
  font-size: 14px;
  color: var(--muted);
}
.quiz-copy p span {
  color: var(--accent);
}
.quiz-banner>.button {
  margin-left: auto;
  margin-right: 40px;
  white-space: nowrap;
}
.quiz-banner.is-active { display:block; min-height:0; padding:0; overflow:visible; }
.quiz-banner.is-active>[data-quiz-intro] { display:none!important; }
.quiz-inline { width:100%; padding:clamp(24px,4vw,48px); }
.quiz-inline[hidden] { display:none; }
.quiz-inline>.eyebrow { color:var(--accent); }
.quiz-inline h2 { max-width:900px; margin:12px 0 0; font-size:clamp(30px,4vw,46px); }
.quiz-inline h2:focus { outline:none; }
.quiz-inline .quiz-progress { margin:18px 0 28px; }
.quiz-inline .quiz-options { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:980px; }
.quiz-inline .quiz-option { min-height:58px; }
.quiz-inline .quiz-summary { max-width:900px; }
.quiz-inline .modal-description,
.quiz-inline .messenger-notice { max-width:900px; }
.quiz-inline .modal-messengers { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:980px; }
.quiz-inline-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:24px; }
.quiz-inline-actions .button,.quiz-inline-actions .quiz-back { margin:0; }
.section {
  padding-top: 80px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.technique-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: var(--space-3);
}
.technique-card {
  position: relative;
  isolation: isolate;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  padding: 24px 20px;
  background: var(--surface);
  transition: border-color var(--transition);
}
.hair-image {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hair-atlas.webp');
  background-size: 500% auto;
  background-repeat: no-repeat;
  transition: transform .6s ease;
}
.hair-1 {
  background-position: 0% center;
}
.hair-2 {
  background-position: 25% center;
}
.hair-3 {
  background-position: 50% center;
}
.hair-4 {
  background-position: 75% center;
}
.hair-5 {
  background-position: 100% center;
}
.technique-card:after, .portfolio-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#10100ffa 0%,#10100ff0 30%,#10100fb3 52%,transparent 82%);
  z-index: -1;
}
.technique-card .hair-image {
  z-index: -2;
}
.technique-card:hover .hair-image, .portfolio-card:hover .hair-image {
  transform: scale(1.05);
}
.technique-card:hover {
  border-color: #cbb39280;
}
.card-number {
  background: #111110d9;
  padding: 4px 8px;
  border-radius: 4px;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #eee0cd;
}
.technique-copy {
  position: absolute;
  bottom: 22px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
}
.technique-copy strong {
  font: 27px/1.2 var(--serif);
  margin-bottom: 10px;
}
.technique-copy>span:not(.card-link) {
  font-size: 14px;
  color: #e1dbd2;
  line-height: 1.7;
}
.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-size: 14px;
  margin-top: 18px;
}
.card-link svg {
  width: 18px;
}
/* Services and gallery */
.services-work {
  display: grid;
  grid-template-columns: 1fr 1.17fr;
  gap: var(--space-7);
}
.tiny-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  padding-bottom: 6px;
}
.price-panel {
  border: 1px solid var(--line);
  background: linear-gradient(130deg,#201e1b,#181816);
  border-radius: var(--radius);
  padding: 8px 24px 0;
}
.price-panel dl {
  margin: 0;
}
.price-panel dl>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  font-size: 16px;
}
dt small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--space-1);
}
dd {
  margin: 0;
  white-space: nowrap;
  font-size: 16px;
}
dd span {
  font-size: 14px;
  color: var(--accent);
}
.consultation {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 22px 0;
  background: none;
  width: 100%;
  text-align: left;
}
.consultation>svg:first-child {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.consultation>svg:last-child {
  margin-left: auto;
  width: 18px;
  color: var(--accent);
}
.consultation strong {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.consultation small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--space-3);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.portfolio-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
  padding: 0;
}
.portfolio-card .hair-image {
  z-index: -2;
}
.portfolio-card:after {
  background: linear-gradient(0deg,#111110f5 0%,#111110cc 15%,transparent 52%);
}
.portfolio-card>span:last-child {
  display: flex;
  position: absolute;
  bottom: 18px;
  left: 16px;
  right: 16px;
  align-items: center;
  justify-content: space-between;
  font: 19px var(--serif);
}
.portfolio-card svg {
  width: 16px;
}
.signature {
  font: italic 22px/1.5 var(--serif);
  text-align: right;
  color: var(--accent);
  margin-top: 20px;
}
/* Reviews and contacts */
.rating {
  display: flex;
  gap: 14px;
  align-items: center;
}
.rating small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--accent);
}
.stars svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke-width: 1;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.review-card {
  position: relative;
  background: linear-gradient(140deg,#201e1b,#181817);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.quote-mark {
  position: absolute;
  right: 24px;
  top: 6px;
  font: 80px var(--serif);
  color: #d9c3a620;
}
.review-card blockquote {
  font-size: 16px;
  line-height: 1.75;
  margin: 20px 0 28px;
  color: #d0cac1;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #c2a67e40;
  background: #342d24;
  color: var(--accent);
  font: 18px var(--serif);
}
.review-author small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.contacts {
  margin-top: 80px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
}
.contacts h2 {
  font-size: 44px;
  margin: 16px 0 28px;
}
.contact-details {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
}
.contact-monogram {
  position: absolute;
  right: 0;
  top: -32px;
  font: 150px/.9 var(--serif);
  letter-spacing: -16px;
  color: #d9c3a609;
  pointer-events: none;
}
.address {
  display: flex;
  gap: var(--space-3);
}
.address>svg {
  color: var(--accent);
  margin-top: 3px;
}
.address h3 {
  font-size: 16px;
  margin-bottom: var(--space-1);
}
.address p {
  font-size: 16px;
  color: #cbc4b9;
}
.address span {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-top: var(--space-2);
}
.messenger-row {
  display: flex;
  gap: 12px;
}
.messenger-row a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  flex: 1;
  transition: border-color var(--transition),background var(--transition);
}
.messenger-row a:hover {
  background: var(--surface-light);
  border-color: var(--accent);
}
.messenger-row svg {
  width: 18px;
  height: 18px;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 28px;
}
.footer .brand {
  font-size: 18px;
}
.footer .brand span {
  font-size: 11px;
  letter-spacing: 2px;
}
.footer p, .footer small {
  font-size: 12px;
  color: var(--muted);
}
/* Accessible native dialog */
.modal {
  border: 1px solid #d9c3a630;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--surface);
  color: var(--text);
  width: min(480px,calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .25s ease,transform .25s ease;
}
.modal.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.modal::backdrop {
  background: #0000;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background .25s ease,backdrop-filter .25s ease;
}
.modal.is-open::backdrop {
  background: #000a;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal-inner {
  padding: 48px 36px 36px;
}
.icon-button {
  background: transparent;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.icon-button:hover {
  background: #ffffff0d;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
}
.modal h2 {
  font-size: 40px;
  margin: 12px 0 16px;
}
.modal-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.modal-messengers {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.modal-messengers a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background var(--transition),border-color var(--transition);
}
.modal-messengers a:hover {
  background: var(--surface-light);
  border-color: var(--accent);
}

.modal-messengers a>svg:last-child {
  margin-left: auto;
  width: 18px;
}
.modal .button {
  margin-top: 24px;
}
.quiz-progress {
  height: 2px;
  background: var(--line);
  margin: 24px 0;
}
.quiz-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width var(--transition);
}
.quiz-options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.quiz-option {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: transparent;
  text-align: left;
  font-size: 16px;
  transition: background var(--transition),border-color var(--transition);
}
.quiz-option:hover {
  border-color: var(--accent);
  background: var(--surface-light);
}
.quiz-back {
  margin-top: 20px;
  padding: 8px 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
}
.quiz-summary {
  margin-top: 20px;
  border-left: 1px solid var(--accent);
  padding-left: 16px;
  font-size: 16px;
  color: var(--muted);
}

/* Official messenger artwork and brand-coloured buttons */
.messenger-row .messenger-button,
.modal-messengers .messenger-button {
  background: var(--messenger-bg);
  border-color: transparent;
  color: #fff;
  font-weight: 500;
  min-height: 52px;
  box-shadow: 0 4px 16px #0002;
  transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
}
.messenger-row .messenger-button:hover,
.modal-messengers .messenger-button:hover {
  background: var(--messenger-bg);
  border-color: transparent;
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #0003;
}
.messenger-whatsapp { --messenger-bg: #087638; }
.messenger-telegram { --messenger-bg: #086f9b; }
.messenger-max { --messenger-bg: linear-gradient(115deg, #471aff, #6e1aff 55%, #9500ff); }
.messenger-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}
.modal-messengers .messenger-icon { width: 28px; height: 28px; }

/* Responsive layouts */
@media (max-width:1100px) {
.header-contact {
    margin-left:auto;
  }
.menu-toggle {
    display:block;
  }
.navigation {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#171613f7;
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
    padding:24px;
    box-shadow:var(--shadow);
    border-bottom:1px solid var(--line);
    font-size: 14px;
  }
.navigation.is-open {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
.navigation a,.navigation a:first-child {
    display:block;
    padding:10px;
  }
.menu-toggle[aria-expanded=true] span:first-child {
    transform:translateY(4px) rotate(45deg);
  }
.menu-toggle[aria-expanded=true] span:last-child {
    transform:translateY(-4px) rotate(-45deg);
  }
}

@media (min-width:1600px) {
  .hero-photo {
    width:73%;
    object-position:65% 40%;
  }
}
@media (max-width:1200px) {
  .header.container { padding-inline: 32px; }
  .container {
    width:calc(100% - 64px);
  }
  .header {
    gap:24px;
  }
  .navigation {
    gap:18px;
    font-size: 14px;
  }
  .brand {
    font-size: 18px;
  }
  .quiz-image {
    width:170px;
  }
  .quiz-banner {
    gap:20px;
  }
  .quiz-banner>.button {
    margin-right:24px;
  }
  .quiz-copy h2 {
    font-size: 32px;
  }
  .quiz-copy .eyebrow {
    font-size: 12px;
  }
  .quiz-copy p span {
    display:block;
  }
  .services-work {
    gap:32px;
  }
  .technique-card {
    padding:20px 16px;
    height:340px;
  }
  .technique-copy {
    left:16px;
    right:16px;
  }
  .technique-copy strong {
    font-size: 25px;
  }
  .contacts {
    gap:32px;
  }
  .contacts h2 {
    font-size: 40px;
  }
}
@media (max-width:992px) {
  :root { --header-height: 88px; }
  .header {
    height:88px;
  }
  .navigation {
    gap:14px;
  }
  .navigation a:first-child {
    display:none;
  }
  .header-contact {
    gap:12px;
    padding:10px 14px;
  }
  .hero {
    margin-top: 0;
    min-height:740px;
  }
  .hero-inner {
    padding-top:152px;
    min-height:740px;
  }
  .hero-photo {
    width:90%;
    object-position:66% center;
  }
  .hero-note {
    right:0;
    bottom:76px;
  }
  .hero-copy {
    max-width:560px;
  }
  .hero-shade {
    background:linear-gradient(90deg,#111110f5,#111110d9 38%,#11111055 75%),linear-gradient(0deg,#111110,transparent 35%,transparent 65%,#111110e6);
  }
  .hero-caption {
    font-size: 16px;
  }
  .quiz-image {
    width:140px;
  }
  .quiz-banner>.button {
    font-size: 14px;
    padding-inline:18px;
    gap:16px;
  }
  .quiz-copy h2 {
    font-size: 30px;
  }
  .technique-grid {
    gap:12px;
    grid-template-columns:repeat(6,1fr);
  }
  .technique-card {
    grid-column:span 2;
    height:310px;
  }
  .technique-card:nth-child(n+4) {
    grid-column:span 3;
    height:260px;
  }
  .technique-card:nth-child(n+4) .hair-image {
    background-size:500% auto;
  }
  .services-work {
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .portfolio-grid {
    gap:8px;
  }
  .portfolio-card {
    height:340px;
  }
  .portfolio-card>span:last-child {
    font-size: 16px;
    left:10px;
    right:10px;
  }
  .portfolio-card svg {
    display:none;
  }
  .price-panel {
    padding-inline:16px;
  }
  dt {
    font-size: 14px;
  }
  dd {
    font-size: 16px;
  }
  dt small {
    max-width:150px;
  }
  .review-card {
    padding:24px 20px;
  }
  .contacts h2 {
    font-size: 36px;
  }
  .messenger-row {
    gap:8px;
  }
  .messenger-row a {
    padding-inline:10px;
    gap:6px;
  }
}
@media (max-width:768px) {
  :root { --header-height: 80px; }
  .header.container { padding-inline: 20px; }
  .container {
    width:calc(100% - 40px);
  }
  .header {
    height:80px;
    gap:16px;
  }
  .brand {
    font-size: 19px;
  }
  .brand span {
    font-size: 11px;
    letter-spacing:2.6px;
  }
  
  
  
  
  
  
  
  .hero {
    margin-top: 0;
    min-height:740px;
  }
  .hero-inner {
    min-height:740px;
    padding-top:144px;
    padding-bottom:80px;
  }
  .hero-photo {
    width:100%;
    object-position:68% center;
    opacity:1;
  }
  .hero-shade {
    background:linear-gradient(90deg,#11111080,#11111026 70%),linear-gradient(0deg,#111110,transparent 35%,transparent 75%,#11111099);
  }
  .hero-copy { text-shadow:0 2px 12px #0009; }
  h1 {
    font-size: 80px;
  }
  .hero-specialty {
    font-size: 21px;
  }
  .hero-caption {
    display:none;
  }
  .hero-note {
    display:none;
  }
  .stats {
    gap:24px;
  }
  .stats>div {
    padding-right:24px;
  }
  .quiz-banner {
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
    padding:28px;
    min-height:160px;
  }
  .quiz-image {
    position:absolute;
    inset:0 50% 0 0;
    width:auto;
    opacity:.23;
    pointer-events:none;
  }
  .quiz-copy {
    position:relative;
    padding:0;
  }
  .quiz-banner>.button {
    position:relative;
    margin:0;
    padding-inline:16px;
    gap:12px;
  }
  .quiz-copy .eyebrow {
    font-size: 11px;
    letter-spacing:1.6px;
  }
  .quiz-copy h2 {
    font-size: 29px;
  }
  .section {
    padding-top:56px;
  }
  .section-description {
    font-size: 14px;
  }
  .section-heading {
    margin-bottom:24px;
  }
  .section-heading .eyebrow {
    font-size: 12px;
    letter-spacing:1.8px;
  }
  .services-work {
    grid-template-columns:1fr;
    gap:48px;
  }
  .price-panel {
    padding-inline:24px;
  }
  .price-panel dl>div {
    padding-block:20px;
  }
  dt {
    font-size: 16px;
  }
  dt small {
    max-width:none;
    font-size: 14px;
  }
  dd {
    font-size: 16px;
  }
  .portfolio-card {
    height:360px;
  }
  .portfolio-card>span:last-child {
    font-size: 22px;
    left:16px;
    right:16px;
  }
  .portfolio-card svg {
    display:block;
  }
  .review-grid {
    gap:12px;
  }
  .review-card {
    padding:22px 16px;
  }
  .review-card blockquote {
    font-size: 14px;
  }
  .review-author {
    gap:8px;
  }
  .review-author small {
    font-size: 12px;
  }
  .avatar {
    width:30px;
    height:30px;
    flex-shrink:0;
  }
  .rating {
    gap:8px;
  }
  .rating .stars svg {
    width:10px;
    height:10px;
  }
  .contacts {
    margin-top:56px;
    padding-block:40px;
    gap:32px;
    grid-template-columns:1fr;
  }
  .contact-details {
    padding-top:8px;
  }
  .contact-monogram {
    right:24px;
    top:-100px;
  }
  .contacts h2 {
    font-size: 40px;
  }
  .messenger-row {
    max-width:450px;
    gap:12px;
  }
  .messenger-row a {
    font-size: 16px;
  }
  .footer {
    flex-wrap:wrap;
    padding-block:24px;
  }
  .footer p {
    display:none;
  }
}
@media (max-width:480px) {
  .header-contact {
    min-height:36px;
    font-size: 14px;
    padding:8px 12px;
  }
  .header-contact svg {
    display:none;
  }
  .header {
    gap:8px;
  }
  .brand {
    font-size: 17px;
  }
  .brand span {
    letter-spacing:2px;
    font-size: 10px;
  }
  .menu-toggle {
    width:36px;
  }
  .hero-inner {
    padding-top:132px;
    min-height:736px;
  }
  .hero-photo {
    width:140%;
    max-width:none;
    right:-24%;
    object-position:68% center;
    opacity:1;
  }
  .hero-shade {
    background:linear-gradient(90deg,#11111080,#11111026),linear-gradient(0deg,#111110 2%,#1111101a 40%,transparent 70%,#11111099);
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing:2px;
  }
  h1 {
    font-size:clamp(58px,16vw,76px);
    letter-spacing:-2.5px;
    margin-top:28px;
  }
  .hero-specialty {
    font-size: 19px;
    max-width:280px;
  }
  .hero-description {
    font-size: 16px;
    margin-top:24px;
  }
  .hero-actions {
    gap:10px;
    margin-top:28px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding:12px 17px;
    gap:12px;
    min-height:48px;
  }
  .hero-actions .button>svg {
    width:18px;
  }
  .stats {
    gap:16px;
    margin-top:40px;
  }
  .stats>div {
    padding-right:16px;
  }
  .stats strong {
    font-size: 27px;
  }
  .stats strong span {
    font-size: 20px;
  }
  .stats>div>span {
    font-size: 12px;
  }
  .scroll-hint {
    bottom:32px;
    font-size: 11px;
  }
  .quiz-banner {
    grid-template-columns:1fr;
    padding:24px;
    gap:20px;
  }
  .quiz-copy h2 {
    font-size: 34px;
  }
  .quiz-copy p:last-child {
    font-size: 14px;
  }
  .quiz-copy p span {
    display:block;
    margin-top:4px;
  }
  .quiz-banner>.button {
    justify-self:start;
    padding-inline:22px;
    gap:24px;
  }
  .quiz-image {
    inset:0 0 0 25%;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000);
    mask-image:linear-gradient(90deg,transparent,#000);
    background-position:75% 40%;
  }
  .section-heading {
    gap:12px;
  }
  .section-description {
    display:none;
  }
  h2 {
    font-size: 36px;
  }
  .technique-grid {
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }
  .technique-card,.technique-card:nth-child(n+4) {
    grid-column:auto;
    height:288px;
    padding:16px 14px;
  }
  .technique-card:nth-child(n+4) .hair-image {
    background-size:500% auto;
  }
  .technique-card:last-child {
    grid-column:span 2;
    height:240px;
  }
  .technique-card:last-child .hair-image {
    background-size:500% auto;
    background-position:100% 36%;
  }
  .technique-copy {
    left:14px;
    right:14px;
    bottom:18px;
  }
  .technique-copy strong {
    font-size: 26px;
  }
  .technique-copy>span:not(.card-link) {
    font-size: 12px;
  }
  .card-link {
    margin-top:14px;
  }
  .price-panel {
    padding-inline:18px;
  }
  .consultation {
    gap:12px;
  }
  .consultation small {
    font-size: 12px;
  }
  dt {
    font-size: 16px;
  }
  dt small {
    font-size: 12px;
    max-width:175px;
  }
  dd {
    font-size: 16px;
  }
  .portfolio-grid {
    gap:10px;
    grid-template-columns:1fr 1fr;
  }
  .portfolio-card {
    height:290px;
  }
  .portfolio-card:last-child {
    grid-column:span 2;
    height:260px;
  }
  .portfolio-card:last-child .hair-image {
    background-size:500% auto;
    background-position:75% 38%;
  }
  .signature {
    font-size: 19px;
    text-align:left;
  }
  .review-grid {
    grid-template-columns:1fr;
  }
  .review-card {
    padding:24px;
  }
  .review-card blockquote {
    font-size: 16px;
    margin:16px 0 20px;
  }
  .review-author {
    font-size: 16px;
    gap:12px;
  }
  .review-author small {
    font-size: 12px;
  }
  .avatar {
    width:36px;
    height:36px;
  }
  .reviews .section-heading {
    align-items:flex-start;
  }
  .reviews h2 {
    max-width:230px;
    font-size: 34px;
  }
  .rating {
    padding-top:28px;
  }
  .rating small {
    display:none;
  }
  .rating .stars {
    gap:2px;
  }
  .rating .stars svg {
    width:8px;
    height:8px;
  }
  .contacts h2 {
    font-size: 36px;
  }
  .contact-monogram {
    font-size: 120px;
    top:-80px;
  }
  .messenger-row a {
    font-size: 14px;
    padding-inline:10px;
  }
  .footer {
    gap:16px;
  }
  .footer small {
    font-size: 12px;
  }
  .modal-inner {
    padding:44px 24px 28px;
  }
  .modal h2 {
    font-size: 35px;
  }
}

@media (max-width:992px) {
  .services-work { grid-template-columns: 1fr; gap: 48px; }
  .quiz-banner { flex-wrap: wrap; padding: 28px; gap: 24px; }
  .quiz-image { display: none; }
  .quiz-copy { flex: 1 1 300px; padding: 0; }
  .quiz-banner>.button { margin: 0; }
}
@media (max-width:768px) {
  .review-grid { grid-template-columns: 1fr; }
  .quiz-banner { grid-template-columns: 1fr; }
  .quiz-banner>.button { justify-self: start; }
  .stats { gap: 16px; }
  .stats>div { padding-right: 16px; }
}
@media (max-width:480px) {
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand span { letter-spacing: 1.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero-actions .button { font-size: 16px; }
  .stats { gap: 12px; }
  .stats>div { flex: 1; padding-right: 12px; }
  .stats>div>span { font-size: 12px; }
  .hero-inner { padding-bottom: 100px; }
  .technique-grid { grid-template-columns: 1fr; }
  .technique-card, .technique-card:nth-child(n+4), .technique-card:last-child { grid-column: auto; height: 300px; }
  .price-panel dl>div { flex-wrap: wrap; gap: 8px; }
  dt { flex: 1 1 170px; }
  dt small { max-width: none; }
  .messenger-row { flex-wrap: wrap; }
  .messenger-row a { flex: 1 1 120px; }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}
/* Managed content and full portfolio */
[hidden] { display: none !important; }
.content-warning { color: var(--muted); padding-block: 24px; }
.contact-line { display: block; margin-top: 12px; color: var(--text); overflow-wrap: anywhere; }
.all-works-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--accent); white-space: nowrap; }
.all-works-link:hover { color: var(--text); }
.portfolio-card { display: block; }
.portfolio-card .work-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.portfolio-card:hover .work-photo { transform: scale(1.04); }
.work-photo { display: block; transition: transform .3s ease; }
.atlas-photo { background-image: url('../assets/hair-atlas.webp'); background-size: 500% auto; background-repeat: no-repeat; }
.works-page { padding-top: calc(var(--header-height) + 48px); padding-bottom: 64px; }
.back-link { color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--accent); }
.works-intro { max-width: 900px; margin: 48px 0 36px; }
.works-intro h1 { font-family: var(--serif); font-size: clamp(44px,6vw,80px); line-height: 1.05; letter-spacing: -1.5px; text-transform: none; margin: 16px 0 24px; }
.works-intro h1 em { color: var(--accent); }
.works-intro>p:last-child { color: var(--muted); max-width: 600px; font-size: 16px; }
.work-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filter-button { background: var(--surface); border: 1px solid var(--line); border-radius: 40px; padding: 12px 20px; color: var(--muted); font-size: 14px; transition: background var(--transition), color var(--transition); }
.filter-button[aria-pressed=true],.filter-button:hover { background: var(--accent); color: #211c16; }
.work-status { color: var(--muted); font-size: 14px; margin: 24px 0; }
.works-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 24px; }
.work-card { min-width: 0; }
.work-open { display: block; position: relative; width: 100%; padding: 0; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--surface); }
.work-open .work-photo { width: 100%; height: 100%; object-fit: cover; }
.work-open:hover .work-photo { transform: scale(1.04); }
.work-zoom { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; background: #111110cc; border-radius: 50%; }
.work-image-count { position: absolute; bottom: 16px; left: 16px; background: #111110dd; padding: 6px 12px; border-radius: 6px; font-size: 12px; }
.work-caption { padding-top: 20px; }
.work-caption h2 { font-size: 32px; margin: 8px 0 12px; overflow-wrap: anywhere; }
.work-caption>p:last-child { font-size: 14px; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.gallery-cta { margin-top: 72px; padding: 40px 0; border-top: 1px solid var(--line); display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.gallery-cta h2 { font-size: 40px; margin-top: 12px; }
.gallery-cta .button { flex-shrink: 0; }
.modal.lightbox { width: min(1100px,calc(100% - 32px)); }
.lightbox .modal-inner { padding: 24px; }
.lightbox #modal-content { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 32px; align-items: center; }
.lightbox .modal-close { background: #111110e6; color: white; z-index: 2; }
.lightbox-photo { height: min(76vh,800px); min-height: 240px; background: #0b0b0a; border-radius: 8px; overflow: hidden; }
.lightbox-photo .work-photo { height: 100%; width: 100%; object-fit: contain; }
.lightbox-photo .atlas-photo { width: min(100%,calc(76vh * .3)); margin: auto; background-size: 500% 100%; }
.lightbox-caption { padding: 24px 16px 24px 0; min-width: 0; }
.lightbox-caption h2 { overflow-wrap: anywhere; }
.lightbox-caption>p:not(.eyebrow) { color: var(--muted); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.lightbox-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.lightbox-navigation .button { margin: 0; min-height: 44px; padding: 10px 16px; }
.review-card blockquote { white-space: pre-line; overflow-wrap: anywhere; }
dt,.address p,.address span { overflow-wrap: anywhere; }
@media(max-width:992px) { .works-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.gallery-cta { align-items: flex-start; flex-direction: column; } }
@media(max-width:768px) { .lightbox #modal-content { grid-template-columns: 1fr; gap: 16px; }.lightbox-photo { height: 50vh; }.lightbox-photo .atlas-photo { width: min(100%,calc(50vh * .3)); }.lightbox-caption { padding: 0; }.lightbox-caption h2 { font-size: 30px; }.lightbox-navigation { margin-top: 20px; }.lightbox .modal-inner { padding: 16px; } }
@media(max-width:480px) { .works-page { padding-top: calc(var(--header-height) + 28px); }.works-intro { margin-top: 32px; }.works-grid { grid-template-columns: 1fr; gap: 32px; }.filter-button { padding: 10px 16px; }.work-filters { gap: 8px; }.gallery-cta h2 { font-size: 34px; }.all-works-link { font-size: 12px; gap: 6px; } }
/* Personal portrait */
.about-section { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(32px,6vw,88px); align-items: center; }
.about-portrait { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #211e1b; }
.about-portrait>img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.about-portrait figcaption { position: absolute; inset: auto 0 0; padding: 64px 28px 24px; background: linear-gradient(transparent,#111110f5); color: var(--text); font: 26px/1.2 var(--serif); letter-spacing: 1px; }
.about-portrait figcaption span { display: block; font: 12px/1.6 var(--font); color: var(--accent); letter-spacing: 1px; margin-top: 8px; }
.about-copy h2 { font-size: clamp(36px,3.6vw,52px); margin: 16px 0 28px; line-height: 1.1; }
.about-copy>p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 16px; }
.about-copy>p.about-lead { font-size: 20px; color: var(--text); line-height: 1.6; }
.about-principles { display: flex; flex-wrap: wrap; gap: 8px 20px; border-block: 1px solid var(--line); padding: 24px 0; margin: 28px 0; color: var(--accent); font-size: 13px; }
@media(max-width:768px) { .about-section { grid-template-columns: 1fr; gap: 32px; }.about-portrait { max-width: 480px; }.about-copy h2 { font-size: 40px; } }
@media(max-width:480px) { .about-copy h2 { font-size: 36px; }.about-copy .button { width: 100%; gap: 16px; padding-inline: 16px; }.about-portrait figcaption { font-size: 24px; padding-inline: 20px; } }
/* CMS collections and privacy controls share the public design tokens. */
.technique-card .technique-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; transition: transform .3s ease; }
.technique-card:hover .technique-photo { transform: scale(1.04); }
.technique-copy > span:not(.card-link), .modal-description, .review-card blockquote, .work-caption > p { white-space: pre-line; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.privacy-links button { background: none; border: 0; color: inherit; padding: 0; cursor: pointer; font: inherit; }
.privacy-links a:hover, .privacy-links button:hover { color: var(--accent); }
.consent-panel { position: fixed; z-index: 90; bottom: 24px; left: 24px; width: min(640px, calc(100% - 48px)); padding: 24px; background: #1c1b19; border: 1px solid #675947; border-radius: 16px; box-shadow: 0 16px 64px #0008; max-height: calc(100dvh - 48px); overflow: auto; }
.consent-panel h2 { font: 500 24px/1.3 var(--font); margin-bottom: 12px; }
.consent-panel p, .consent-panel > a { font-size: 15px; line-height: 1.6; color: #e0dbd2; }
.consent-panel > a { text-decoration: underline; }
.consent-options { display: flex; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.consent-options label { font-size: 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.consent-options input { width: 18px; height: 18px; accent-color: #cbb392; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .button { font-size: 13px; min-height: 44px; padding: 12px 16px; }
.privacy-page { max-width: 960px; padding-bottom: 64px; overflow-wrap:anywhere; }
.privacy-page h1 { margin-bottom: 32px; }
.privacy-page p { color: #d8d4cc; line-height: 1.8; margin: 24px 0; }
.work-caption, .technique-copy, .hero-copy { overflow-wrap: anywhere; }
@media (max-width: 480px) { .consent-panel { bottom: 12px; left: 12px; width: calc(100% - 24px); padding: 20px; } .consent-actions .button { flex: 1 1 100%; } }
.editorial-block { grid-column: 1 / -1; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 100%; overflow-wrap: anywhere; }
.editorial-block h3 { font: 500 clamp(24px,3vw,32px)/1.3 var(--serif); margin-bottom: 16px; }
.editorial-block p { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 80ch; }
.technique-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.technique-grid .technique-card { grid-column: auto; height: 360px; }
@media (max-width: 480px) { .technique-grid .technique-card { height: 300px; } }
.services-work { grid-template-columns: minmax(0,1fr); gap: 64px; }
.services-work > section,.source-media,.contact-details { min-width:0; }
.price-panel dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.price-panel dl > div { display: block; padding: 24px 0; }
.price-panel dt { font-size: 17px; line-height: 1.55; }
.price-panel dd { margin: 12px 0 0; font: 400 16px/1.7 var(--font); text-align: left; white-space: normal; color: var(--accent); }
.price-conditions { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 24px; line-height: 1.8; font-size: 16px; color: var(--muted); }
.portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.portfolio-card { height: 420px; }
.about-more { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 24px; }
.about-more summary { font-size: 18px; cursor: pointer; color: var(--accent); }
.about-more p { white-space: pre-line; line-height: 1.8; margin-top: 24px; max-width: 88ch; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.blog-card { min-width: 0; }
.blog-card img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.blog-card h3 { font: 400 30px/1.15 var(--serif); margin: 24px 0 16px; }
.blog-card p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.blog-intro { margin: 16px 0 40px; color: var(--muted); }
.article-page { max-width: 960px; padding-bottom: 64px; }
.article-page h1 { font-size: clamp(36px,5vw,64px); line-height: 1.1; margin: 24px 0 32px; }
.article-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.article-text { font-size: 18px; line-height: 1.85; color: var(--muted); margin-top: 40px; }
.review-title { font: 400 26px/1.2 var(--serif); margin: 16px 0; }
.messenger-notice { font: 400 16px/1.75 var(--font); color: #d4cec5; grid-column: 1/-1; margin: 24px 0; }
.legal-footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; }
.social-links { display: flex; flex-wrap: wrap; gap: 24px; }
.operator-details { font-size: 16px; line-height: 1.8; color: var(--muted); }
.contact-map { grid-column: 1/-1; width: 100%; }
.map-heading { display:flex; gap:24px; justify-content:space-between; align-items:center; margin: 8px 0 24px; }
.map-heading h3 { font: 400 32px/1.2 var(--serif); }
.map-heading a { display:flex; align-items:center; gap:12px; color:var(--accent); font-size:16px; }
.map-heading svg { width:24px;height:24px; }
.map-canvas { height:440px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-lg); background:radial-gradient(ellipse at 50% 100%,#3a3024,#181715 70%); }
.map-canvas iframe { width:100%;height:100%;border:0; }
.map-placeholder { height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:32px;text-align:center; }
.map-placeholder p { font-size:16px;line-height:1.6;color:var(--muted);max-width:600px; }
.map-monogram { font:400 56px/1 var(--serif);color:var(--accent); }
.policy-section h2 { margin-top:40px;font:400 32px/1.2 var(--serif); }
.work-card { content-visibility:auto;contain-intrinsic-size:auto 560px; }
@media(max-width:992px) { .blog-grid { gap:24px; }.blog-card h3 { font-size:26px; } }
@media(max-width:768px) { .price-panel dl,.blog-grid { grid-template-columns:1fr; }.portfolio-card { height:300px; }.blog-card img { height:320px; }.map-heading { align-items:flex-start;flex-direction:column; }.article-text { font-size:16px; }.map-canvas { height:460px; } }
@media(max-width:480px) { .portfolio-grid { grid-template-columns:1fr; }.portfolio-card { height:380px; }.price-panel { padding:20px; }.map-placeholder { padding:20px; }.map-heading a { font-size:15px; }.map-canvas { height:480px; } }
.source-media { grid-column:1/-1; display:grid;grid-auto-flow:column;grid-auto-columns:clamp(240px,22vw,280px);justify-content:safe center;gap:24px;overflow-x:auto;padding:16px 0 24px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;cursor:grab;-webkit-overflow-scrolling:touch; }
.source-media::-webkit-scrollbar { display:none;width:0;height:0; }
.source-media.is-dragging { cursor:grabbing;scroll-snap-type:none;user-select:none; }
.source-media img { -webkit-user-drag:none;user-select:none; }
.source-media figure { min-width:0;margin:0;scroll-snap-align:center; }
.source-media img { width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#211f1c;border-radius:var(--radius); }
.source-media figcaption { font-size:14px;line-height:1.5;color:var(--muted);margin-top:12px; }
#contacts .source-media {
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-flow:row;
  grid-auto-columns:auto;
  justify-content:stretch;
  overflow:visible;
  scroll-snap-type:none;
  overscroll-behavior:auto;
  cursor:auto;
}
#contacts .source-media figure { scroll-snap-align:none; }
@media(max-width:768px) {
  .source-media { grid-auto-columns:min(78vw,280px); }
  #contacts .source-media { grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:auto;gap:16px; }
  .quiz-inline { padding:24px 20px; }
  .quiz-inline .quiz-options { grid-template-columns:1fr; }
  .quiz-inline .modal-messengers { grid-template-columns:1fr; }
  .quiz-inline-actions { align-items:stretch; flex-direction:column; }
  .quiz-inline-actions .button,
  .quiz-inline-actions .quiz-back { width:100%; }
  .modal { max-height:calc(100dvh - 24px); overscroll-behavior:contain; }
  .privacy-links { gap:16px; }
  .privacy-links a,.privacy-links button { min-height:44px; display:inline-flex; align-items:center; text-align:left; }
}
@media(max-width:480px) {
  .modal h2 { font-size:clamp(28px,8vw,35px); overflow-wrap:anywhere; }
  .modal-inner { padding-inline:20px; }
  .map-placeholder .button { max-width:100%; white-space:normal; }
  .social-links { gap:16px 24px; }
}

.review-screenshot { padding:0; overflow:hidden; align-self:start; background:#222326; }
.review-open { display:block; transition:opacity .25s ease; }
.review-open:hover { opacity:.88; }
.review-screenshot .work-photo { display:block; width:100%; height:auto; aspect-ratio:auto 800 / 759; object-fit:contain; }
.modal.review-dialog { width:min(920px,calc(100% - 24px)); }
.review-images { display:grid; gap:16px; margin-top:24px; }
.review-images img { display:block; width:100%; height:auto; border-radius:8px; }
.messenger-phone { background:#d5bd99; color:#171512; }
.messenger-phone small { display:block; font-size:14px; margin-top:4px; }
@media(max-width:768px) { .review-grid { grid-template-columns:1fr; } }

.breadcrumbs.container { width:100%; padding:0; margin:0 0 24px; }
.breadcrumbs ol { display:flex; flex-wrap:wrap; gap:8px 12px; list-style:none; padding:0; font-size:14px; color:var(--muted); }
.breadcrumbs li+li::before { content:"/"; margin-right:12px; }
.breadcrumbs a { color:var(--accent); }

.contact-monogram { width:220px; height:150px; fill:currentColor; overflow:visible; }
.modal-messengers .messenger-phone { --messenger-bg:#d5bd99; color:#171512; }

/* Screenshot collage: equal gutters without cropping reviews. */
.review-grid {
  --review-gap:24px;
  display:block;
  columns:3;
  column-gap:var(--review-gap);
  padding:var(--review-gap);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:var(--surface);
}
.review-grid .review-screenshot {
  display:block;
  width:100%;
  margin:0 0 var(--review-gap);
  padding:0;
  break-inside:avoid;
  border:0;
}
@media(max-width:992px) { .review-grid { columns:2; } }
@media(max-width:600px) { .review-grid { columns:1; --review-gap:16px; } }

/* Readability pass: keep supporting copy legible on desktop and mobile. */
.brand span { font-size:12px; }
.eyebrow,
.hero .eyebrow,
.quiz-copy .eyebrow,
.section-heading .eyebrow,
.hero-note>span,
.scroll-hint,
.card-number,
.tiny-label,
.consultation small,
.price-note,
.rating small,
.review-author small,
.work-image-count,
.about-portrait figcaption span { font-size:13px; }
.footer .brand span { font-size:12px; }
.stats>div>span,
dt small,
.technique-copy>span:not(.card-link),
.footer p,
.footer small,
.about-principles,
.consent-actions .button,
.all-works-link { font-size:14px; }
.work-caption>p:last-child { font-size:15px; }
