/* ==========================================================================
   ZAÏ — la maison du hair
   Палитра взята с логотипа (тауп) и интерьера (песок, дерево, тёплый свет).
   ========================================================================== */

:root {
  --taupe: #92847b;
  --taupe-deep: #7f756b;
  --mocha: #5e5249;
  --espresso: #2a2420;
  --espresso-2: #352e29;
  --ivory: #f5f1eb;
  --sand: #ebe3d8;
  --linen: #eeedeb;
  --wood: #a88b6c;
  --glow: #e6c99c;

  --ink: var(--espresso);
  --ink-soft: rgba(42, 36, 32, 0.7);
  --ink-faint: rgba(42, 36, 32, 0.45);
  --line: rgba(42, 36, 32, 0.14);
  --line-light: rgba(238, 237, 235, 0.18);

  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 64px);
  --header-h: 84px;
  --section-y: clamp(96px, 13vw, 190px);
  --arch: 999px 999px 4px 4px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--taupe); color: var(--linen); }
:focus-visible { outline: 1.5px solid var(--taupe); outline-offset: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--espresso); color: var(--linen); padding: 10px 18px; border-radius: 40px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Film grain — subtle "printed" texture */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 250; pointer-events: none;
  opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.25  0 0 0 0 0.2  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

.container { width: min(1360px, 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Typography ---------- */
.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 5.6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.title em, .crew__title em { font-style: italic; color: var(--taupe); }
.title--light { color: var(--linen); }
.title--light em { color: var(--glow); }

.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.label span {
  font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0;
  color: var(--taupe); font-weight: 400;
}
.label span::after {
  content: ""; display: inline-block; width: 42px; height: 1px; background: currentColor;
  vertical-align: middle; margin-left: 14px; opacity: 0.6;
}
.label--light { color: rgba(238, 237, 235, 0.75); }
.label--light span { color: var(--glow); }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe-deep);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px; border-radius: 60px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--dark { background: var(--espresso); color: var(--linen); }
.btn--dark::before { background: var(--taupe); }
.btn--outline { border: 1px solid currentColor; color: var(--ink); }
.btn--outline::before { background: var(--espresso); }
.btn--outline:hover { color: var(--linen); border-color: var(--espresso); }
.btn--light { background: var(--linen); color: var(--espresso); }
.btn--light::before { background: var(--glow); }
.btn--sm { padding: 12px 22px; font-size: 11px; }

.link-line {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding-block: 6px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 0.6s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }

.arrow-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn:hover { background: var(--espresso); color: var(--linen); border-color: var(--espresso); }
.arrow-btn--light { border-color: var(--line-light); color: var(--linen); }
.arrow-btn--light:hover { background: var(--linen); color: var(--espresso); border-color: var(--linen); }
.arrows { display: flex; gap: 10px; }

/* ---------- Loader ---------- */
.loader { display: none; }
.has-motion .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 400;
  background: var(--taupe); color: var(--linen);
}
.loader__inner { display: grid; justify-items: center; gap: 14px; width: min(240px, 56vw); }
.loader__mark { width: 100%; fill: currentColor; overflow: hidden; }
.loader__script { width: 112%; aspect-ratio: 2775 / 431; fill: currentColor; clip-path: inset(0 100% 0 0); }
.loader__bar { width: 100%; height: 1px; background: rgba(238, 237, 235, 0.25); margin-top: 18px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--linen); transform: scaleX(0); transform-origin: left; }
.is-loaded .loader { pointer-events: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-motion .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 350; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--taupe); opacity: 0;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease),
      background-color 0.45s var(--ease), opacity 0.3s;
  }
  .has-motion .cursor.is-visible { opacity: 1; }
  .has-motion .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(146, 132, 123, 0.22); }
  .has-motion .cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--espresso); }
  .map-active .cursor { opacity: 0 !important; transition: none !important; }
  .cursor__label {
    color: var(--linen); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    opacity: 0; transition: opacity 0.3s;
  }
  .cursor.is-label .cursor__label { opacity: 1; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(245, 241, 235, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo { display: flex; align-items: center; gap: 14px; color: var(--taupe); }
.header__mark { height: 30px; width: 57px; fill: currentColor; }
.header__script { height: 17px; width: 110px; fill: currentColor; }

.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a {
  position: relative; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; }
.lang__btn {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; padding: 6px 7px; color: var(--ink-faint);
  transition: color 0.3s;
}
.lang__btn + .lang__btn { border-left: 1px solid var(--line); }
.lang__btn[aria-pressed="true"] { color: var(--ink); }
.lang__btn:hover { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--taupe); color: var(--linen);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 4vh) var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: grid; gap: 6px; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; padding-block: 6px; }
.menu__nav span { font-family: var(--serif); font-style: italic; font-size: 16px; opacity: 0.7; }
.menu__nav b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.1; }
.menu__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.menu__phone { font-size: 14px; letter-spacing: 0.08em; }
.menu-open .header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--linen); }
.menu-open .header__logo { color: var(--linen); }
.menu-open .lang__btn { color: rgba(238, 237, 235, 0.6); }
.menu-open .lang__btn[aria-pressed="true"] { color: var(--linen); }
.menu-open .lang__btn + .lang__btn { border-color: var(--line-light); }
.menu-open .header__cta { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute; left: 50%; bottom: -20%; width: 120vh; height: 120vh; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(230, 201, 156, 0.42), rgba(230, 201, 156, 0.12) 55%, transparent 72%);
}
/* Centering below avoids CSS `translate` — GSAP owns transforms of these elements */
.hero__arch {
  --arch-w: min(46vh, 34vw);
  position: absolute; bottom: 0; left: calc(50% - var(--arch-w) / 2);
  width: var(--arch-w); height: 74vh; height: 74svh;
  border-radius: var(--arch); border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  border: 1px solid rgba(201, 170, 128, 0.55); border-bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 250, 242, 0.75), rgba(235, 227, 216, 0.25));
  box-shadow: inset 0 0 36px rgba(230, 201, 156, 0.5), 0 0 60px rgba(230, 201, 156, 0.35);
}

.hero__mark {
  /* width ≤ free height above the hero text × logo ratio (1.884) */
  --mark-w: max(280px, min(76vw, 104vh, calc((100vh - var(--header-h) - 350px) * 1.884)));
  position: absolute; z-index: 1;
  top: calc(var(--header-h) + 2vh); left: calc(50% - var(--mark-w) / 2);
  width: var(--mark-w);
  overflow: visible; /* orbiting dots may leave the viewBox; the intro cut-off is done by clipPath (bottom edge only) */
  fill: var(--taupe);
}

.hero__figure {
  --fig-h: 71vh;
  --fig-shift: 0px;
  position: absolute; z-index: 2; bottom: 0;
  height: var(--fig-h); width: calc(var(--fig-h) * 0.9146); /* cutout ratio 1189/1300 */
  left: calc(50% - var(--fig-h) * 0.4573 + var(--fig-shift));
}
@supports (height: 1svh) { .hero__figure { --fig-h: 71svh; } }
.hero__figure img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 99%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 66%, transparent 99%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.badge {
  position: absolute; right: -8%; bottom: 24%;
  width: clamp(92px, 9vw, 124px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(245, 241, 235, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--espresso);
  box-shadow: 0 10px 40px rgba(42, 36, 32, 0.12);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text { font-family: var(--sans); font-size: 9.6px; font-weight: 500; letter-spacing: 0.24em; fill: currentColor; }
.badge__arrow { width: 22px; height: 22px; transition: transform 0.5s var(--ease); }
.badge:hover .badge__arrow { transform: translateY(5px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__content {
  position: absolute; z-index: 4; inset: auto 0 0 0;
  padding: 0 var(--pad) clamp(28px, 5.5vh, 60px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  pointer-events: none;
}
.hero__content > * { pointer-events: auto; }
.hero__left { max-width: min(27vw, 380px); }
.hero__eyebrow { margin-bottom: 16px; }
.hero__script { width: min(100%, 270px); aspect-ratio: 2775 / 431; fill: var(--taupe); margin-bottom: 18px; }
.hero__lead { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

.hero__list { text-align: right; display: grid; gap: 10px; }
.hero__list li { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; }
.hero__list span { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--taupe); }
.hero__list b { font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--taupe); color: var(--linen);
  overflow: hidden; padding-block: clamp(18px, 2.4vw, 30px);
  position: relative; z-index: 5;
  /* decorative strip: no text selection, no I-beam cursor */
  user-select: none; -webkit-user-select: none; cursor: default;
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1; padding-inline: clamp(18px, 2.2vw, 34px);
}
.marquee__group i { font-style: normal; font-size: clamp(12px, 1.2vw, 18px); color: var(--glow); }

/* ---------- About ---------- */
.about__statement {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4.1vw, 4.1rem); line-height: 1.16; letter-spacing: -0.005em;
  max-width: 22ch; max-width: 1180px;
  margin-bottom: clamp(64px, 9vw, 140px);
}
.split-words .w { display: inline-block; }

.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 120px); align-items: start;
}
.about__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--arch); }
.about__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.about__body { padding-top: clamp(0px, 4vw, 60px); }
.about__text { font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-soft); max-width: 56ch; margin-bottom: clamp(40px, 5vw, 64px); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.feature { padding-block: 28px; border-top: 1px solid var(--line); }
.feature svg { width: 28px; height: 28px; color: var(--taupe); margin-bottom: 18px; }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Space (horizontal gallery) ---------- */
.space { background: var(--espresso); color: var(--linen); position: relative; }
.space__pin {
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; position: relative;
}
.space__track {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 72px);
  width: max-content; padding-inline: var(--pad) 12vw;
  will-change: transform;
}
.space__intro { width: min(34vw, 480px); flex-shrink: 0; padding-right: 2vw; }
.space__intro .title { font-size: clamp(2.6rem, 4.4vw, 4.6rem); margin-bottom: 28px; }
.space__text { color: rgba(238, 237, 235, 0.7); max-width: 40ch; margin-bottom: 40px; }
.space__hint { display: flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--glow); }
.space__hint-line { width: 64px; height: 1px; background: currentColor; transform-origin: left; animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

.space__slide { flex-shrink: 0; width: min(56vw, 88vh); }
.space__slide:nth-of-type(even) { margin-top: 10vh; }
.space__slide:nth-of-type(odd) { margin-bottom: 10vh; }
.space__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.space__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.18; }
.space__slide figcaption { display: flex; align-items: baseline; gap: 16px; margin-top: 20px; }
.space__slide figcaption span { font-family: var(--serif); font-style: italic; color: var(--glow); font-size: 17px; }
.space__slide figcaption b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2vw, 2rem); }

.space__progress {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 5vh, 56px);
  height: 1px; background: var(--line-light);
}
.space__progress span { display: block; height: 100%; background: var(--glow); transform: scaleX(0); transform-origin: left; }

/* ---------- Services ---------- */
.services__head { margin-bottom: clamp(48px, 6vw, 90px); }
.services__grid {
  display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr);
  gap: clamp(36px, 7vw, 130px); align-items: start;
}
.services__visual { position: sticky; top: calc(var(--header-h) + 32px); }
.arch-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
  background: var(--sand);
}
.arch-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; scale: 1.08;
  transition: opacity 0.9s var(--ease), scale 1.4s var(--ease);
}
.arch-frame img.is-active { opacity: 1; scale: 1; }
/* make-up: beauty close-up of the portrait, so it doesn't repeat the founder photo */
.arch-frame img[data-cat="makeup"] { object-position: 50% 20%; transform-origin: 52% 26%; }
.arch-frame img[data-cat="makeup"].is-active { scale: 1.55; }
.services__visual::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid rgba(146, 132, 123, 0.45);
  border-radius: var(--arch); pointer-events: none;
}
.services__desc {
  margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.4;
  color: var(--mocha); max-width: 32ch;
}

.tabs {
  display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 2vw, 30px);
  border-bottom: 1px solid var(--line); margin-bottom: 18px; position: relative;
}
.tab {
  position: relative; padding: 14px 0 16px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
  transition: color 0.3s;
}
.tab sup { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0; margin-left: 4px; color: var(--taupe); }
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.prices { min-height: 380px; }
.price {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: auto minmax(24px, 1fr) auto 30px; align-items: baseline; gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.price__name {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.2;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.price__dots { border-bottom: 1px dotted rgba(42, 36, 32, 0.3); transform: translateY(-6px); }
.price__value { font-size: 14px; font-weight: 400; letter-spacing: 0.06em; white-space: nowrap; }
.price__value small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-left: 4px; }
.price__go {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; align-self: center;
  background: var(--espresso); color: var(--linen);
  transform: scale(0); transition: transform 0.5s var(--ease);
}
.price__go svg { width: 14px; height: 14px; }
.price:hover .price__name, .price:focus-visible .price__name { transform: translateX(10px); color: var(--taupe-deep); }
.price:hover .price__go, .price:focus-visible .price__go { transform: scale(1); }
.services__note { margin-top: 32px; font-size: 13px; color: var(--ink-faint); max-width: 60ch; }

/* ---------- Team ---------- */
.team { background: var(--sand); }
.founder {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 120px); align-items: center;
  margin-bottom: clamp(96px, 12vw, 180px);
}
.founder__photo { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; scale: 1.12; }
.founder__name {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.04;
  margin: 18px 0 34px;
}
.founder__quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem); line-height: 1.35; color: var(--mocha);
  padding-left: 28px; border-left: 1px solid var(--taupe);
  margin-bottom: 30px;
}
.founder__text { color: var(--ink-soft); max-width: 52ch; margin-bottom: 36px; }
.founder__sign { width: 230px; aspect-ratio: 2775 / 431; fill: var(--taupe); }

.crew__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.crew__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.05; }
.crew__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  scroll-padding-inline: var(--pad);
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.crew__track::-webkit-scrollbar { display: none; }
.crew__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.crew__track.is-dragging * { pointer-events: none; }
.member { flex: 0 0 clamp(240px, 26vw, 340px); scroll-snap-align: start; }
.member__photo {
  aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #d9cdbf 0%, #b9a999 55%, #92847b 100%);
  margin-bottom: 20px;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.member:hover .member__photo img { scale: 1.05; }
.member__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(245, 241, 235, 0.5); }
.member__ph svg { width: 46%; height: auto; aspect-ratio: 2464 / 1308; fill: currentColor; }
.member__ph::after {
  content: ""; position: absolute; inset: 14px; border-radius: var(--arch);
  border: 1px solid rgba(245, 241, 235, 0.35);
}
.member__name { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.2; }
.member__role { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe-deep); margin-top: 4px; }
.crew__progress { height: 1px; background: var(--line); margin-top: 40px; }
.crew__progress span { display: block; height: 100%; background: var(--espresso); transform-origin: left; transform: scaleX(0.25); transition: transform 0.3s; }

/* ---------- Reviews ---------- */
.reviews { background: var(--taupe); color: var(--linen); overflow: hidden; }
.reviews__slider { position: relative; max-width: 1060px; }
.reviews__watermark {
  position: absolute; right: -6vw; bottom: -4vw; width: min(62vw, 900px); aspect-ratio: 2464 / 1308;
  fill: var(--linen); opacity: 0.07; pointer-events: none;
}
.reviews__quote-mark { width: clamp(46px, 5vw, 70px); fill: var(--glow); opacity: 0.75; margin-bottom: 34px; }
.reviews__viewport { display: grid; }
.review { grid-area: 1 / 1; visibility: hidden; }
.review.is-active { visibility: visible; }
.review blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 3.2rem); line-height: 1.24;
}
.review footer { display: flex; align-items: center; gap: 16px; margin-top: 36px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.review footer b { font-weight: 500; }
.review footer span { opacity: 0.7; }
.review footer span::before { content: "— "; }
.reviews__controls { display: flex; align-items: center; gap: 18px; margin-top: 56px; flex-wrap: wrap; }
.reviews__counter { font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; min-width: 68px; text-align: center; }
.reviews__counter b { font-weight: 400; font-size: 26px; }
.reviews__timer { flex: 1 1 120px; max-width: 260px; height: 1px; background: var(--line-light); margin-left: 12px; overflow: hidden; }
.reviews__timer span { display: block; height: 100%; background: var(--linen); transform: scaleX(0); transform-origin: left; }

/* ---------- Booking ---------- */
.booking__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 120px); align-items: start;
}
.booking__text { color: var(--ink-soft); max-width: 44ch; margin: 30px 0 40px; }
.quick { display: grid; gap: 4px; }
.quick a { display: inline-flex; align-items: center; gap: 14px; padding-block: 10px; font-size: 15px; transition: color 0.3s; }
.quick a:hover { color: var(--taupe-deep); }
.quick svg { width: 20px; height: 20px; color: var(--taupe); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px;
  background: #fbf9f5; padding: clamp(28px, 4vw, 56px);
  border-radius: 4px; box-shadow: 0 30px 80px rgba(42, 36, 32, 0.08);
}
.field { position: relative; padding-top: 22px; }
.field--full, .form__footer, .form__status { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 10px 0 12px; font-size: 16px; font-weight: 400; border-radius: 0; outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392847b' stroke-width='1.4'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 18px;
  padding-right: 26px;
}
.field input[type="date"] { min-height: 46px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--taupe); }
.field label {
  position: absolute; left: 0; top: 32px; pointer-events: none;
  font-size: 15px; color: var(--ink-faint);
  transform-origin: left top; transition: transform 0.4s var(--ease), color 0.3s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label,
.field input[type="date"] + label {
  transform: translateY(-26px) scale(0.78); color: var(--taupe-deep);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; font-size: 13px;
}
.field__error {
  display: block; max-height: 0; overflow: hidden; font-size: 12px; line-height: 1.4; color: #a0453a;
  transition: max-height 0.3s, margin 0.3s;
}
.field.is-invalid input { border-color: #a0453a; }
.field.is-invalid .field__error { max-height: 60px; margin-top: 6px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 24px; }
.form__privacy { font-size: 12px; color: var(--ink-faint); max-width: 30ch; }
.form__status { font-size: 13px; color: var(--taupe-deep); min-height: 1em; }

/* ---------- Contacts ---------- */
.contacts { background: var(--ivory); padding-top: 0; }
.contacts__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 120px); align-items: center;
  border-top: 1px solid var(--line); padding-top: var(--section-y);
}
.info { margin: 40px 0 32px; }
.info__row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.info__row dt { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.info__row dt svg { width: 18px; height: 18px; color: var(--taupe); flex-shrink: 0; }
.info__row dd { font-size: 16px; font-weight: 400; }
.info__row dd a { transition: color 0.3s; }
.info__row dd a:hover { color: var(--taupe-deep); }

.socials { display: flex; gap: 10px; margin-bottom: 36px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background-color 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.socials svg { width: 19px; height: 19px; }
.socials a:hover { background: var(--espresso); color: var(--linen); border-color: var(--espresso); }

.map {
  position: relative; aspect-ratio: 5 / 6; max-height: 720px; width: 100%;
  border-radius: var(--arch); overflow: hidden; background: var(--sand);
}
.map__frame {
  /* shifted up to tuck Google's place card under the arch; attribution at the bottom stays visible */
  position: absolute; left: 0; top: -150px; width: 100%; height: calc(100% + 150px); border: 0;
  filter: grayscale(1) sepia(0.3) contrast(0.92) brightness(1.03);
}
/* Transparent layer above the iframe: the page keeps seeing the mouse (custom cursor follows, wheel scrolls the page).
   One click removes it and the map becomes interactive; it returns when the pointer leaves the map. */
.map__shield { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.map.is-active .map__shield { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--linen); padding: clamp(64px, 9vw, 130px) 0 32px; overflow: hidden; }
.footer__script { width: 100%; aspect-ratio: 2775 / 431; fill: var(--taupe); margin-bottom: clamp(48px, 6vw, 90px); }
.footer__row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 28px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.footer__mark { width: 66px; height: 35px; fill: var(--linen); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.footer__nav a, .footer__top { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; transition: opacity 0.3s; }
.footer__nav a:hover, .footer__top:hover { opacity: 1; }
.footer__top { display: inline-flex; align-items: center; gap: 10px; }
.footer__top svg { width: 16px; height: 16px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 24px; font-size: 12px; color: rgba(238, 237, 235, 0.55);
}

/* ---------- Motion initial states (only when JS animations are active) ---------- */
.has-motion .reveal { opacity: 0; transform: translateY(32px); }
.has-motion .img-reveal { clip-path: inset(100% 0 0 0); }
.has-motion .hero__mark,
.has-motion .loader__mark { visibility: hidden; }
.has-motion .hero__figure img { opacity: 0; }
.skip-loader .loader { display: none !important; }
.has-motion .hero__content > *,
.has-motion .badge { opacity: 0; }
body.lang-switching main, body.lang-switching .header__inner { opacity: 0; transition: opacity 0.2s; }
main, .header__inner { transition: opacity 0.35s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__list { display: none; }
  .hero__figure { --fig-shift: 12vw; }
  .hero__arch { left: calc(50% - var(--arch-w) / 2 + 12vw); }
  .hero__left { max-width: min(38vw, 380px); }
  .badge { right: -2%; bottom: 36%; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .header__script { display: none; }
  .about__grid, .founder, .booking__grid, .contacts__grid, .services__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { max-width: 520px; }
  .services__visual { position: relative; top: 0; max-width: 420px; }
  .services__visual::before { inset: -10px; }
  .founder__photo { max-width: 520px; }
  .map { aspect-ratio: 4 / 5; max-height: 560px; }

  /* horizontal gallery becomes a swipe carousel */
  .space__pin { height: auto; padding-block: var(--section-y) calc(var(--section-y) * 0.7); }
  .space__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: var(--pad); scroll-padding-inline: var(--pad); align-items: stretch;
  }
  .space__track::-webkit-scrollbar { display: none; }
  .space__intro, .space__slide { width: 80vw; max-width: 520px; scroll-snap-align: start; margin: 0 !important; }
  .space__intro { display: flex; flex-direction: column; justify-content: center; }
  .space__progress { position: relative; left: auto; right: auto; bottom: auto; margin: 36px var(--pad) 0; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .header__cta { display: none; }
  .header__actions { gap: 8px; }
  .header__mark { height: 26px; width: 49px; }

  .hero { min-height: 600px; }
  .hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 56%; z-index: 3; pointer-events: none;
    background: linear-gradient(to top, var(--ivory) 0%, var(--ivory) 30%, rgba(245, 241, 235, 0.85) 52%, rgba(245, 241, 235, 0) 100%);
  }
  .hero__mark { --mark-w: 90vw; top: calc(var(--header-h) + 5vh); }
  .hero__figure { --fig-h: min(62vh, 118vw); --fig-shift: 0px; bottom: 17vh; }
  .hero__arch { --arch-w: 62vw; height: 70vh; left: calc(50% - var(--arch-w) / 2); }
  .hero__content { padding-bottom: 28px; }
  .hero__left { max-width: none; width: 100%; text-align: center; }
  .hero__eyebrow { display: none; }
  .hero__script { margin-inline: auto; width: 220px; margin-bottom: 12px; }
  .hero__lead { font-size: 14px; margin-bottom: 20px; }
  .hero__actions { justify-content: center; }
  .badge { width: 84px; left: auto; right: 4%; bottom: 30%; }
  .badge__ring text { font-size: 10.5px; }

  .features { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 28px 22px; }
  .info__row { grid-template-columns: 1fr; gap: 6px; }
  .price { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 20px 0; }
  .price__dots, .price__go { display: none; }
  .crew__head { align-items: center; }
  .member { flex-basis: 72vw; }
  .reviews__controls { margin-top: 40px; }
  .services__visual { max-width: none; }
  .arch-frame { aspect-ratio: 4 / 3; }
  .services__desc { margin-top: 20px; font-size: 1.2rem; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 24px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero__figure { --fig-h: 76vh; }
  .hero__left { max-width: 34vw; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
