:root {
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100vw - 56px));
  --header-h: 96px;
  --radius-lg: 42px;
  --radius-md: 28px;
  --radius-sm: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html[data-theme="light"] {
  --bg: #efe7d8;
  --bg-soft: #f7f1e7;
  --surface: #fbf7ef;
  --surface-2: #e5d8c5;
  --surface-3: #d7c4aa;
  --text: #283026;
  --text-soft: #5a6254;
  --moss: #2f3a2b;
  --moss-soft: #55634d;
  --accent: #ad6847;
  --accent-strong: #945136;
  --gold: #b9894e;
  --line: rgba(40,48,38,.15);
  --line-strong: rgba(40,48,38,.25);
  --shadow: 0 28px 80px rgba(70,56,36,.13);
  --shadow-soft: 0 14px 36px rgba(70,56,36,.09);
  --header-bg: rgba(239,231,216,.9);
  --photo-shade: linear-gradient(180deg, rgba(20,22,18,.02) 42%, rgba(20,22,18,.58));
  --qr-bg: #fffdf9;
}

html[data-theme="dark"] {
  --bg: #111310;
  --bg-soft: #171a16;
  --surface: #1c201a;
  --surface-2: #252b22;
  --surface-3: #332d25;
  --text: #f1e5d1;
  --text-soft: #b8ad9b;
  --moss: #d8c7ad;
  --moss-soft: #c0ad90;
  --accent: #b56f49;
  --accent-strong: #d08a54;
  --gold: #c8954f;
  --line: rgba(205,157,91,.2);
  --line-strong: rgba(205,157,91,.36);
  --shadow: 0 30px 86px rgba(0,0,0,.38);
  --shadow-soft: 0 16px 40px rgba(0,0,0,.26);
  --header-bg: rgba(17,19,16,.9);
  --photo-shade: linear-gradient(180deg, rgba(8,9,7,.05) 35%, rgba(8,9,7,.78));
  --qr-bg: #f9f3e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
html[data-theme="dark"] body {
  background-image:
    linear-gradient(rgba(255,255,255,.012), rgba(255,255,255,.012)),
    url("assets/noise.png");
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

::selection { color: #fff; background: var(--accent); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--text);
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }
.section-anchor { position: relative; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, background-color .35s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  flex: 0 0 auto;
  width: 310px;
  overflow: visible;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(124,82,38,.12));
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.8vw, 27px);
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .015em;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  cursor: pointer;
  transition: transform .2s ease, background-color .25s ease, border-color .25s ease;
}
.theme-toggle:hover,
.theme-toggle:focus-visible { transform: translateY(-1px); border-color: var(--line-strong); }
.theme-toggle__icon { font-size: 17px; color: var(--gold); }
.theme-toggle__text { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: var(--text); transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 89;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 24px 110px;
  overflow: auto;
  background: var(--surface);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.button) {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(30px, 9vw, 48px);
  line-height: 1;
}
.theme-toggle--mobile { justify-self: start; margin-top: 18px; }
.mobile-menu .button { justify-self: start; margin-top: 8px; }

/* Buttons */
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 58% 42% 49% 51% / 43% 56% 44% 57%;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .012em;
  transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px) rotate(-.35deg); box-shadow: var(--shadow-soft); }
.button--compact { min-height: 44px; padding: 10px 18px; font-size: 12px; }
.button--accent { color: #fffaf1; background: var(--accent); }
html[data-theme="dark"] .button--accent { color: #17120d; background: var(--gold); }
.button--light { color: #263020; background: #f8f0e3; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 750;
}
.text-link span { transition: transform .25s ease; }
.text-link:hover span,
.text-link:focus-visible span { transform: translate(3px, 3px); }
.text-link--light { color: #f7ead7; }

/* Safe side navigation */
.side-rail {
  position: fixed;
  z-index: 55;
  top: 50%;
  right: calc((100vw - 1540px) / 2);
  width: 145px;
  transform: translateY(-50%);
  display: grid;
  gap: 5px;
  padding: 16px 14px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}
.side-rail__label {
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.side-rail a {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 27px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: color-mix(in srgb, var(--text-soft) 72%, transparent);
}
.side-rail a span {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color .2s ease, transform .2s ease;
}
.side-rail a.is-active { color: var(--accent); }
html[data-theme="dark"] .side-rail a.is-active { color: var(--gold); }
.side-rail a.is-active span { background: currentColor; transform: scale(1.25); }

/* Shared typography */
.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(247,234,215,.72); }
h1, h2, h3 { text-wrap: balance; }
.hero h1,
.section-heading h2,
.services h2,
.approach h2,
.contacts h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.035em;
}
.section-heading { max-width: 850px; margin-bottom: 52px; }
.section-heading h2,
.services h2,
.approach h2,
.contacts h2 { font-size: clamp(42px, 5vw, 70px); line-height: 1.02; }
.section-heading__lead { max-width: 720px; margin: 20px 0 0; color: var(--text-soft); font-size: 17px; }
.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr .75fr;
  align-items: end;
  gap: clamp(42px, 8vw, 110px);
}
.section-heading--split > p { margin: 0 0 7px; color: var(--text-soft); font-size: 17px; }

/* Decorative patterns and fireflies */
.theme-pattern { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.theme-pattern--hero::before {
  content: "";
  position: absolute;
  width: min(760px, 62vw);
  aspect-ratio: 1;
  right: -8%;
  top: 2%;
  background: url("assets/contour-pattern.svg") center/contain no-repeat;
  opacity: .55;
}
html[data-theme="dark"] .theme-pattern--hero::before {
  width: min(820px, 66vw);
  background-image: url("assets/triangle-pattern.svg");
  opacity: .38;
}
.theme-pattern--triangles::after,
.theme-pattern--footer::after {
  content: "";
  position: absolute;
  width: 760px;
  aspect-ratio: 1;
  right: -160px;
  bottom: -220px;
  background: url("assets/triangle-pattern.svg") center/contain no-repeat;
  opacity: .13;
}
html[data-theme="dark"] .theme-pattern--triangles::after,
html[data-theme="dark"] .theme-pattern--footer::after { opacity: .34; }
.fireflies { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fireflies i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 4px color-mix(in srgb, var(--gold) 42%, transparent);
  animation: firefly 5.5s ease-in-out infinite;
}
.fireflies i:nth-child(1) { left: 8%; top: 24%; }
.fireflies i:nth-child(2) { left: 47%; top: 17%; animation-delay: -1.2s; }
.fireflies i:nth-child(3) { right: 9%; top: 34%; animation-delay: -2.4s; }
.fireflies i:nth-child(4) { left: 24%; bottom: 19%; animation-delay: -3.3s; }
.fireflies i:nth-child(5) { right: 24%; bottom: 12%; animation-delay: -4.1s; }
.fireflies i:nth-child(6) { left: 60%; bottom: 32%; animation-delay: -2s; }
@keyframes firefly {
  0%,100% { opacity: .16; transform: translate3d(0,0,0) scale(.7); }
  45% { opacity: .9; transform: translate3d(7px,-11px,0) scale(1.1); }
  70% { opacity: .35; transform: translate3d(-4px,-4px,0) scale(.8); }
}

/* Hero */
.hero {
  min-height: calc(100svh - var(--header-h));
  padding: clamp(54px, 7vw, 94px) 0 70px;
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(510px,1.12fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.hero h1 { max-width: 650px; font-size: clamp(52px, 6.4vw, 90px); line-height: .94; }
.hero__lead { max-width: 620px; margin: 26px 0 0; color: var(--text-soft); font-size: clamp(17px, 1.55vw, 20px); }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 32px; }
.hero__facts {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero__facts div { padding: 17px 16px 0 0; min-height: 106px; border-right: 1px solid var(--line); }
.hero__facts div + div { padding-left: 16px; }
.hero__facts div:last-child { border-right: 0; }
.hero__facts dt { color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
html[data-theme="dark"] .hero__facts dt { color: var(--gold); }
.hero__facts dd { margin: 7px 0 0; font-size: 12px; line-height: 1.45; font-weight: 650; }
.hero__media { position: relative; min-height: 680px; }
.hero-photo {
  position: absolute;
  inset: 0 0 36px 3%;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 44% 56% 47% 53% / 24% 35% 65% 76%;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.hero-photo__shade { position: absolute; inset: 0; background: var(--photo-shade); }
.hero-photo__caption {
  position: absolute;
  left: 9%;
  bottom: 7%;
  margin: 0;
  color: #fff8ee;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.hero-note {
  position: absolute;
  left: -8px;
  bottom: 0;
  min-width: 170px;
  padding: 18px 22px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 56% 44% 53% 47% / 48% 61% 39% 52%;
  box-shadow: var(--shadow-soft);
  transform: rotate(-4deg);
}
.hero-note span { display: block; color: var(--text-soft); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.hero-note strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 26px; font-weight: 500; }

/* About */
.about { padding: clamp(88px, 10vw, 148px) 0; background: var(--surface); overflow: hidden; }
.about-composition { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.about-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px 110px 28px 28px;
  background: var(--surface-2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo__label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 17px 20px;
  color: #fff8ec;
  background: rgba(24,28,21,.68);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px 52px 22px 22px;
  backdrop-filter: blur(9px);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.08;
}
.about-points { display: grid; grid-template-rows: repeat(3,1fr); gap: 18px; }
.about-point {
  position: relative;
  min-height: 190px;
  padding: 26px 28px 24px 88px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 30px 30px 72px 30px;
}
.about-point:nth-child(2) { border-radius: 74px 30px 30px 30px; }
.about-point--dark { color: #f3e8d6; background: #2f3a2b; }
html[data-theme="dark"] .about-point--dark { background: #30271f; }
.about-point__icon {
  position: absolute;
  left: 28px;
  top: 27px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
}
.about-point--dark .about-point__icon { color: #d8aa6c; }
.about-point h3 { margin: 0; font-family: var(--display); font-size: 32px; line-height: 1.05; font-weight: 500; }
.about-point p { max-width: 500px; margin: 10px 0 0; color: var(--text-soft); font-size: 14px; }
.about-point--dark p { color: rgba(243,232,214,.72); }

/* Rituals */
.rituals { padding: clamp(88px, 10vw, 148px) 0; overflow: hidden; background: var(--bg); }
.section-heading--rituals { max-width: 920px; }
.ritual-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: repeat(3, auto); gap: 18px; }
.ritual-card { position: relative; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.ritual-card--feature { grid-row: 1 / 4; min-height: 760px; border-radius: 32px 105px 32px 32px; background: #232820; }
.ritual-card--feature > img { width: 100%; height: 100%; object-fit: cover; }
.ritual-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,11,.05) 30%, rgba(12,14,11,.8)); }
.ritual-card__content { position: absolute; left: 34px; right: 34px; bottom: 32px; z-index: 2; color: #fff7eb; }
.ritual-card__meta { display: inline-flex; margin-bottom: 11px; color: currentColor; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.ritual-card h3 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4vw, 58px); line-height: .98; font-weight: 500; }
.ritual-card p { margin: 13px 0 18px; color: inherit; opacity: .78; }
.ritual-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ritual-card__footer strong { font-family: var(--display); font-size: 29px; font-weight: 500; }
.ritual-card__footer a { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.ritual-card:not(.ritual-card--feature) { display: grid; grid-template-columns: 200px 1fr; min-height: 235px; border-radius: 28px; }
.ritual-card__image { min-height: 235px; overflow: hidden; background: var(--surface-2); }
.ritual-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ritual-card__image--contain img { object-fit: contain; padding: 12px; }
.ritual-card__body { display: flex; flex-direction: column; padding: 24px; }
.ritual-card__body h3 { font-size: 35px; }
.ritual-card__body p { margin: 10px 0 18px; font-size: 14px; }
.ritual-card__body .ritual-card__footer { margin-top: auto; }
.ritual-card--clay { background: #cf9b79; color: #2c2a22; }
.ritual-card--honey { background: #eadbc0; color: #342c20; }
.ritual-card--sage { background: #d1dac9; color: #273025; }
html[data-theme="dark"] .ritual-card--clay { background: #6d4632; color: #f2e5d2; }
html[data-theme="dark"] .ritual-card--honey { background: #443829; color: #f2e4ce; }
html[data-theme="dark"] .ritual-card--sage { background: #303a2c; color: #f2e7d5; }

/* Services */
.services { padding: clamp(88px, 10vw, 140px) 0; background: var(--surface); }
.services__grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(42px, 7vw, 90px); align-items: start; }
.services__intro { position: sticky; top: calc(var(--header-h) + 28px); }
.services__intro > p:not(.eyebrow) { max-width: 520px; color: var(--text-soft); font-size: 16px; }
.service-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.service-tabs button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.service-tabs button[aria-selected="true"] { color: #fff; background: var(--moss); border-color: var(--moss); }
html[data-theme="dark"] .service-tabs button[aria-selected="true"] { color: #1a1712; background: var(--gold); border-color: var(--gold); }
.service-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 30px 82px 30px 30px; background: var(--bg); }
.service-panel__head { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: start; padding: 28px; border-bottom: 1px solid var(--line); }
.service-panel__head span { display: block; font-family: var(--display); font-size: 31px; line-height: 1.05; }
.service-panel__head p { max-width: 510px; margin: 8px 0 0; color: var(--text-soft); font-size: 14px; }
.service-item { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.service-item h3 { margin: 0; font-family: var(--display); font-size: 27px; line-height: 1.05; font-weight: 500; }
.service-item p { max-width: 570px; margin: 8px 0 0; color: var(--text-soft); font-size: 13px; }
.service-item__time { color: var(--text-soft); font-size: 12px; white-space: nowrap; }
.service-item__price { font-family: var(--display); font-size: 23px; font-weight: 500; white-space: nowrap; }
.service-panel__note { margin: 0; padding: 17px 28px; color: var(--text-soft); font-size: 12px; }

/* Process */
.process { padding: clamp(88px, 10vw, 148px) 0; background: var(--bg); }
.process-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 320px); gap: 18px; }
.process-card { position: relative; overflow: hidden; min-height: 320px; border: 1px solid var(--line); border-radius: 32px; background: var(--surface-2); }
.process-card--large { grid-row: 1 / 3; border-radius: 32px 100px 32px 32px; }
.process-card img { width: 100%; height: 100%; object-fit: cover; }
.process-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,14,.02) 30%, rgba(16,18,14,.72)); }
.process-card__content { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #fff8ed; }
.process-card__content span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.process-card__content h3 { max-width: 490px; margin: 8px 60px 0 0; font-family: var(--display); font-size: clamp(27px, 2.7vw, 42px); line-height: 1.02; font-weight: 500; }
.process-card__content button { position: absolute; right: 0; bottom: 0; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: white; background: rgba(22,25,20,.3); backdrop-filter: blur(7px); cursor: pointer; }

/* Approach */
.approach { position: relative; padding: clamp(82px, 9vw, 126px) 0; overflow: hidden; color: #f5ead9; background: #2f3a2b; }
html[data-theme="dark"] .approach { background: #201d18; border-block: 1px solid var(--line); }
.approach__grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(44px, 8vw, 110px); align-items: center; }
.approach__media { position: relative; min-height: 560px; overflow: hidden; border-radius: 45% 55% 46% 54% / 30% 34% 66% 70%; border: 1px solid rgba(255,255,255,.18); }
.approach__media img { width: 100%; height: 100%; object-fit: cover; }
.approach h2 { color: #f5ead9; }
.approach__copy > p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: rgba(245,234,217,.74); font-size: 18px; }
.approach__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.fireflies--approach i:nth-child(1) { left: 14%; top: 21%; }
.fireflies--approach i:nth-child(2) { left: 38%; top: 68%; }
.fireflies--approach i:nth-child(3) { right: 18%; top: 26%; }
.fireflies--approach i:nth-child(4) { right: 7%; bottom: 18%; }

/* Reviews and booking */
.reviews { padding: clamp(88px, 10vw, 142px) 0; background: var(--surface); }
.reviews__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 20px; }
.review-box,
.booking-box { padding: 34px; border: 1px solid var(--line); border-radius: 32px; background: var(--bg); }
.booking-box { border-radius: 32px 84px 32px 32px; }
.reviews__heading { margin-bottom: 26px; }
.reviews__heading h2 { font-size: clamp(36px, 3.6vw, 52px); }
.reviews__heading .section-heading__lead { font-size: 15px; }
.qr-pair { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.qr-card { display: grid; justify-items: center; gap: 14px; padding: 20px; text-align: center; color: #2a2d25; background: var(--qr-bg); border: 1px solid rgba(44,47,39,.1); border-radius: 24px; }
.qr-card h3 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 500; }
.qr-card img { width: min(100%, 220px); aspect-ratio: 1; object-fit: contain; }
.qr-card a { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; }
.booking-box { display: flex; flex-direction: column; }
.booking-box__qr { align-self: center; width: min(100%, 300px); padding: 22px; margin: 0 auto 22px; background: var(--qr-bg); border-radius: 26px; }
.booking-box__qr img { width: 100%; }
.booking-box > .button { width: 100%; margin-top: auto; }

/* Contacts */
.contacts { padding: clamp(88px, 10vw, 142px) 0; background: var(--bg); }
.contacts__head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.contacts__head h2 { max-width: 780px; }
.contacts__details { display: grid; gap: 9px; justify-items: start; }
.contacts__details a { font-family: var(--display); font-size: 34px; }
.contacts__details p { margin: 0; color: var(--text-soft); }
.map-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.map-frame { position: relative; min-height: 500px; overflow: hidden; border: 1px solid var(--line); border-radius: 32px 88px 32px 32px; background: var(--surface-2); }
.map-frame iframe { position: relative; z-index: 2; width: 100%; height: 100%; min-height: 500px; border: 0; opacity: 0; filter: saturate(.75) contrast(.96); transition: opacity .35s ease; }
.map-frame.is-loaded iframe { opacity: 1; }
.map-fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; overflow: hidden; color: var(--text); background: color-mix(in srgb, var(--surface-2) 78%, var(--bg)); transition: opacity .3s ease; }
.map-frame.is-loaded .map-fallback { opacity: 0; }
.map-fallback__roads { position: absolute; inset: -15%; opacity: .48; background-image: linear-gradient(28deg, transparent 46%, var(--line-strong) 47%, var(--line-strong) 48%, transparent 49%), linear-gradient(115deg, transparent 46%, var(--line-strong) 47%, var(--line-strong) 48%, transparent 49%), repeating-linear-gradient(0deg, transparent 0 58px, var(--line) 59px 60px), repeating-linear-gradient(90deg, transparent 0 76px, var(--line) 77px 78px); transform: rotate(-7deg); }
.map-fallback__pin { position: relative; z-index: 2; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 52% 48% 50% 50% / 44% 55% 45% 56%; color: #fff7eb; background: var(--accent); font-family: var(--display); font-size: 30px; box-shadow: var(--shadow-soft); }
html[data-theme="dark"] .map-fallback__pin { color: #17120d; background: var(--gold); }
.map-fallback > span { position: absolute; z-index: 2; margin-top: 105px; padding: 8px 13px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 800; }
html[data-theme="dark"] .map-frame iframe { filter: grayscale(.25) saturate(.6) brightness(.78) contrast(1.05); }
.map-actions { display: grid; align-content: start; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); }
.map-actions > div { margin-bottom: 8px; }
.map-actions > div > span { color: var(--text-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.map-actions h3 { margin: 8px 0 0; font-family: var(--display); font-size: 34px; line-height: 1.05; font-weight: 500; }
.map-link { display: grid; gap: 3px; padding: 20px; border: 1px solid var(--line); border-radius: 22px 44px 22px 22px; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.map-link:hover,
.map-link:focus-visible { transform: translateY(-2px); border-color: var(--line-strong); }
.map-link b { font-family: var(--display); font-size: 27px; font-weight: 500; }
.map-link span { color: var(--text-soft); font-size: 12px; }
.map-link--yandex { background: color-mix(in srgb, #f3d66a 13%, var(--bg)); }
.map-link--2gis { background: color-mix(in srgb, #62b75e 12%, var(--bg)); }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 48px 0 34px; color: #f1e5d1; background: #20281d; border-top: 1px solid rgba(200,149,79,.18); }
html[data-theme="dark"] .site-footer { background: #0c0e0b; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr .8fr .55fr; gap: 32px; align-items: center; }
.site-footer__grid > img { width: 100%; max-width: 410px; height: auto; object-fit: contain; }
.site-footer p { margin: 0; color: rgba(241,229,209,.7); font-size: 13px; }
.site-footer__contacts,
.site-footer__links { display: grid; gap: 8px; align-content: start; }
.site-footer__contacts span,
.site-footer__links span { color: rgba(241,229,209,.62); font-size: 12px; }
.site-footer__links a { font-size: 12px; font-weight: 700; }

.mobile-booking { display: none; }

/* Dialog */
.process-dialog {
  width: min(660px, calc(100vw - 30px));
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.process-dialog::backdrop { background: rgba(12,13,11,.68); backdrop-filter: blur(5px); }
.process-dialog > div { padding: 52px 38px 38px; }
.dialog-close { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: transparent; cursor: pointer; font-size: 24px; }
.dialog-kicker { color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.process-dialog h2 { margin: 12px 0 18px; font-family: var(--display); font-size: 43px; line-height: 1.02; font-weight: 500; }
.process-dialog p { color: var(--text-soft); }
.process-dialog ol { display: grid; gap: 10px; padding-left: 22px; }
.process-dialog li::marker { color: var(--accent); font-weight: 800; }

/* Reveal: no moving text, only a quiet fade */
.reveal { opacity: 0; transition: opacity .55s ease; }
.reveal.is-visible { opacity: 1; }
.reveal--late { transition-delay: .08s; }

/* Responsive */
@media (max-width: 1760px) {
  .side-rail { display: none; }
}

@media (max-width: 1180px) {
  :root { --shell: min(100% - 40px, 1040px); }
  .brand { width: 255px; }
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 650px; }
  .hero-photo { inset: 0 2% 36px; }
  .about-composition { grid-template-columns: 1fr; }
  .about-photo { min-height: 560px; }
  .ritual-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .ritual-card--feature { grid-row: auto; min-height: 660px; }
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .approach__grid { grid-template-columns: 1fr 1.2fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contacts__head { grid-template-columns: 1fr; gap: 24px; }
  .map-layout { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 28px); --header-h: 78px; }
  body { padding-bottom: 68px; }
  .header-inner { min-height: var(--header-h); gap: 8px; }
  .brand { width: 205px; }
  .header-tools { display: none; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 66px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts div { min-height: auto; display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__facts div + div { padding-left: 0; }
  .hero__facts dd { margin: 0; }
  .hero__media { min-height: 520px; }
  .hero-photo { inset: 0 0 34px; border-radius: 38% 62% 43% 57% / 24% 36% 64% 76%; }
  .hero-note { left: 2px; min-width: 155px; padding: 15px 18px; }
  .hero-note strong { font-size: 23px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2,
  .services h2,
  .approach h2,
  .contacts h2 { font-size: clamp(39px, 11.8vw, 56px); }
  .about,
  .rituals,
  .services,
  .process,
  .approach,
  .reviews,
  .contacts { padding-block: 76px; }
  .about-photo { min-height: 450px; border-radius: 24px 65px 24px 24px; }
  .about-photo__label { font-size: 20px; }
  .about-point { padding: 24px; min-height: 210px; }
  .about-point__icon { position: static; margin-bottom: 26px; }
  .ritual-card--feature { min-height: 600px; border-radius: 28px 68px 28px 28px; }
  .ritual-card__content { left: 24px; right: 24px; bottom: 24px; }
  .ritual-card:not(.ritual-card--feature) { grid-template-columns: 1fr; }
  .ritual-card__image { min-height: 260px; }
  .ritual-card__body { padding: 22px; }
  .service-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .service-tabs::-webkit-scrollbar { display: none; }
  .service-tabs button { white-space: nowrap; }
  .service-panel__head { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .service-item__time { grid-column: 1; }
  .service-item__price { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .process-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .process-card,
  .process-card--large { grid-row: auto; min-height: 430px; border-radius: 28px; }
  .process-card--large { min-height: 520px; border-radius: 28px 68px 28px 28px; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__media { min-height: 500px; }
  .qr-pair { grid-template-columns: 1fr; }
  .review-box,
  .booking-box { padding: 24px; }
  .map-frame,
  .map-frame iframe { min-height: 430px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > img { max-width: 360px; }
  .mobile-booking {
    position: fixed;
    z-index: 95;
    left: 12px;
    right: 12px;
    bottom: 10px;
    min-height: 52px;
    display: grid;
    place-items: center;
    color: #fffaf0;
    background: var(--accent);
    border-radius: 17px 34px 17px 17px;
    box-shadow: 0 14px 40px rgba(35,30,23,.3);
    font-size: 14px;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
    transition: opacity .25s ease, transform .25s var(--ease);
  }
  .mobile-booking.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  html[data-theme="dark"] .mobile-booking { color: #1b1711; background: var(--gold); }
  .process-dialog > div { padding: 50px 24px 28px; }
}

@media (max-width: 460px) {
  .brand { width: 185px; }
  .hero__media { min-height: 455px; }
  .hero-photo__caption { max-width: 185px; line-height: 1.35; }
  .ritual-card__footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .contacts__details a { font-size: 29px; }
}

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

/* v5 — logo safety, organic frames and cleaner spacing */
:root { --header-h: 124px; }
.site-header,
.header-inner,
.brand { overflow: visible; }
.header-inner { min-height: var(--header-h); }
.brand {
  width: 360px;
  min-width: 0;
  display: flex;
  align-items: center;
  padding-block: 4px;
}
.brand img.site-logo-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  filter: drop-shadow(0 4px 16px rgba(124,82,38,.12));
}
.site-footer__grid > img.site-logo-image {
  width: 100%;
  max-width: 440px;
  height: auto;
  padding: 8px 0;
  overflow: visible;
  object-fit: contain;
  transform: none !important;
}
.hero-photo__caption { display: none !important; }
.hero-photo,
.about-photo,
.ritual-card,
.ritual-card__image,
.process-card,
.approach__media {
  transition: border-radius .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-photo { box-shadow: 0 28px 72px rgba(64,48,30,.18); }
html[data-theme="dark"] .hero-photo { box-shadow: 0 30px 84px rgba(0,0,0,.42); }
.about-photo::after,
.approach__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--gold) 36%, transparent);
  border-radius: inherit;
}
.ritual-card__image,
.process-card {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 18%, transparent);
}

@media (max-width: 1180px) {
  :root { --header-h: 102px; }
  .brand { width: 300px; }
}
@media (max-width: 820px) {
  :root { --header-h: 88px; }
  .brand { width: 250px; }
}
@media (max-width: 460px) {
  .brand { width: 228px; }
}

/* v6 — safe captions, contact icons and full admin-controlled content */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.header-phone-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.header-phone-button:hover,
.header-phone-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface);
}
.header-phone-button svg { width: 19px; height: 19px; }

.side-rail { width: 154px; }
.side-rail a { min-height: 26px; }

/* Keep captions away from the narrowing edges of the organic shapes. */
.ritual-card__content--safe {
  left: 15%;
  right: 13%;
  bottom: 8%;
  padding: 18px 20px;
  background: rgba(20, 22, 18, .58);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px 48px 22px 22px;
  backdrop-filter: blur(9px);
}
.ritual-card__content--safe h3 {
  max-width: 100%;
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1;
  overflow-wrap: anywhere;
}
.ritual-card__content--safe p {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.45;
}
.about-photo__label {
  left: 15%;
  right: 12%;
  bottom: 8%;
  max-width: 72%;
  padding: 14px 17px;
  font-size: clamp(19px, 2vw, 25px);
}
.process-card__content--safe {
  left: 12%;
  right: 12%;
  bottom: 9%;
  padding: 15px 64px 15px 17px;
  color: #fff8ed;
  background: rgba(18,21,17,.6);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 20px 42px 20px 20px;
  backdrop-filter: blur(8px);
}
.process-card--large .process-card__content--safe {
  left: 17%;
  right: 13%;
  bottom: 10%;
  padding: 18px 70px 18px 20px;
}
.process-card__content--safe h3 {
  max-width: none;
  margin: 7px 0 0;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.process-card--large .process-card__content--safe h3 {
  font-size: clamp(26px, 2.45vw, 38px);
}
.process-card__content--safe button {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
}

.contact-link-with-icon svg,
.footer-contact-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.contact-list { display: grid; gap: 12px; }
.contact-row {
  min-width: min(100%, 390px);
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.contact-row[hidden] { display: none !important; }
.contact-row__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 50%;
}
html[data-theme="dark"] .contact-row__icon { color: var(--gold); }
.contact-row__icon svg { width: 19px; height: 19px; }
.contact-row small {
  display: block;
  margin-bottom: 2px;
  color: var(--text-soft);
  font: 800 9px/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: .13em;
}
.contact-row strong {
  display: block;
  font: 500 clamp(19px, 2vw, 27px)/1.1 var(--display);
  overflow-wrap: anywhere;
}
.contact-row--static { cursor: default; }
.contacts__details a { font-family: inherit; font-size: inherit; }

.site-footer__grid > p { white-space: pre-line; }
.site-footer__contacts { gap: 11px; }
.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(241,229,209,.76);
  font-size: 12px;
  line-height: 1.4;
}
.footer-contact-link[hidden] { display: none !important; }
.footer-contact-link svg { margin-top: 1px; color: var(--gold); }
.site-footer__contacts > a { font-family: inherit; font-size: 12px; }

@media (max-width: 1180px) {
  .ritual-card__content--safe { left: 12%; right: 10%; }
  .process-card--large .process-card__content--safe { left: 13%; right: 10%; }
}
@media (max-width: 820px) {
  .header-phone-button { display: none; }
  .about-photo__label,
  .ritual-card__content--safe,
  .process-card__content--safe,
  .process-card--large .process-card__content--safe {
    left: 8%;
    right: 8%;
    bottom: 7%;
    max-width: none;
  }
  .ritual-card__content--safe h3 { font-size: clamp(31px, 9vw, 44px); }
  .process-card__content--safe h3,
  .process-card--large .process-card__content--safe h3 { font-size: clamp(24px, 7vw, 34px); }
}

/* v7 — text is never clipped by organic image masks.
   Organic shapes are applied only to media; captions live in separate cards. */
.about-photo-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.about-photo-stack .about-photo {
  min-height: 590px;
}
.about-photo-stack .about-photo__label {
  position: relative;
  inset: auto;
  z-index: 5;
  width: auto;
  max-width: none;
  margin: 14px 7% 0;
  padding: 17px 20px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px 52px 22px 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.12;
  overflow: visible;
}
html[data-theme="dark"] .about-photo-stack .about-photo__label {
  color: #f2e6d3;
  background: #171a16;
  border-color: rgba(202,154,83,.24);
}

.ritual-card--feature {
  grid-row: 1 / 4;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ritual-card--feature .ritual-card__media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #232820;
  box-shadow: var(--shadow-soft);
}
.ritual-card--feature .ritual-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ritual-card--feature .ritual-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,14,11,.02), rgba(12,14,11,.3));
}
.ritual-card--feature .ritual-card__content,
.ritual-card--feature .ritual-card__content--safe {
  position: relative;
  inset: auto;
  z-index: 4;
  width: auto;
  max-width: none;
  margin: 14px 0 0;
  padding: 26px 28px;
  color: #fff7eb;
  background: #283026;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px 70px 28px 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  overflow: visible;
}
html[data-theme="dark"] .ritual-card--feature .ritual-card__content,
html[data-theme="dark"] .ritual-card--feature .ritual-card__content--safe {
  background: #171a16;
  border-color: rgba(202,154,83,.24);
}
.ritual-card--feature .ritual-card__content h3,
.ritual-card--feature .ritual-card__content--safe h3 {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.02;
  overflow: visible;
  overflow-wrap: normal;
}
.ritual-card--feature .ritual-card__content p,
.ritual-card--feature .ritual-card__content--safe p {
  max-width: 620px;
  margin: 13px 0 20px;
  font-size: 14px;
  line-height: 1.5;
  opacity: .82;
  overflow: visible;
}
.ritual-card--feature .ritual-card__footer {
  flex-wrap: wrap;
}

.process-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 22px;
  align-items: start;
}
.process-card,
.process-card--large {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.process-card--large {
  grid-row: 1 / 3;
}
.process-card__media {
  position: relative;
  height: 292px;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}
.process-card--large .process-card__media {
  height: 654px;
  min-height: 654px;
}
.process-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-card__media .process-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,14,.01), rgba(16,18,14,.17));
}
.process-card .process-card__content,
.process-card .process-card__content--safe,
.process-card--large .process-card__content--safe {
  position: relative;
  inset: auto;
  z-index: 5;
  width: auto;
  max-width: none;
  min-height: 138px;
  margin: 14px 0 0;
  padding: 21px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px 54px 22px 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  overflow: visible;
}
html[data-theme="dark"] .process-card .process-card__content,
html[data-theme="dark"] .process-card .process-card__content--safe,
html[data-theme="dark"] .process-card--large .process-card__content--safe {
  color: #f2e6d3;
  background: #171a16;
  border-color: rgba(202,154,83,.24);
}
.process-card .process-card__content span,
.process-card .process-card__content--safe span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .14em;
}
html[data-theme="dark"] .process-card .process-card__content span,
html[data-theme="dark"] .process-card .process-card__content--safe span {
  color: var(--gold);
}
.process-card .process-card__content h3,
.process-card .process-card__content--safe h3,
.process-card--large .process-card__content--safe h3 {
  max-width: none;
  margin: 7px 0 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.15vw, 35px);
  line-height: 1.06;
  font-weight: 500;
  overflow: visible;
  overflow-wrap: normal;
}
.process-card--large .process-card__content h3,
.process-card--large .process-card__content--safe h3 {
  font-size: clamp(30px, 2.6vw, 42px);
}
.process-card .process-card__content button,
.process-card .process-card__content--safe button {
  position: static;
  align-self: end;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  backdrop-filter: none;
  cursor: pointer;
}
html[data-theme="dark"] .process-card .process-card__content button,
html[data-theme="dark"] .process-card .process-card__content--safe button {
  color: #f2e6d3;
  border-color: rgba(202,154,83,.46);
}

@media (max-width: 1180px) {
  .ritual-card--feature {
    grid-row: auto;
  }
  .ritual-card--feature .ritual-card__media {
    min-height: 560px;
  }
  .process-gallery {
    grid-template-columns: 1fr;
  }
  .process-card--large {
    grid-row: auto;
  }
  .process-card__media,
  .process-card--large .process-card__media {
    height: 520px;
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .about-photo-stack .about-photo {
    min-height: 440px;
  }
  .about-photo-stack .about-photo__label {
    margin-inline: 4%;
    font-size: 21px;
  }
  .ritual-card--feature .ritual-card__media {
    min-height: 500px;
  }
  .ritual-card--feature .ritual-card__content,
  .ritual-card--feature .ritual-card__content--safe {
    margin-top: 12px;
    padding: 22px;
  }
  .ritual-card--feature .ritual-card__content h3,
  .ritual-card--feature .ritual-card__content--safe h3 {
    font-size: clamp(32px, 9vw, 44px);
  }
  .process-card__media,
  .process-card--large .process-card__media {
    height: 430px;
    min-height: 430px;
  }
  .process-card .process-card__content,
  .process-card .process-card__content--safe,
  .process-card--large .process-card__content--safe {
    min-height: 0;
    margin-top: 12px;
    padding: 19px 20px;
    grid-template-columns: minmax(0,1fr) auto;
  }
  .process-card .process-card__content h3,
  .process-card .process-card__content--safe h3,
  .process-card--large .process-card__content h3,
  .process-card--large .process-card__content--safe h3 {
    font-size: clamp(25px, 7.5vw, 34px);
  }
}

@media (max-width: 460px) {
  .process-card__media,
  .process-card--large .process-card__media {
    height: 360px;
    min-height: 360px;
  }
  .process-card .process-card__content,
  .process-card .process-card__content--safe,
  .process-card--large .process-card__content--safe {
    grid-template-columns: 1fr;
  }
  .process-card .process-card__content button,
  .process-card .process-card__content--safe button {
    justify-self: end;
  }
}

/* v8 — layout audit fixes: eyebrow text, title spacing and safe side navigation */
.eyebrow {
  align-items: flex-start;
  min-height: 18px;
  margin-bottom: 24px;
  line-height: 1.45;
}
.eyebrow > span:first-child {
  flex: 0 0 34px;
  width: 34px;
  height: 1px;
  margin-top: .62em;
  background: currentColor;
}
.eyebrow > span:not(:first-child) {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: min(100%, 360px);
  background: none;
  overflow-wrap: anywhere;
}
.hero__copy,
.section-heading > div,
.reviews__heading,
.booking-box .section-heading {
  min-width: 0;
}
.hero__copy .eyebrow {
  margin-bottom: 30px;
}
.hero h1 {
  position: relative;
  z-index: 1;
  overflow-wrap: normal;
  word-break: normal;
}
.booking-box .reviews__heading,
.review-box .reviews__heading {
  display: block;
}
.booking-box .reviews__heading .eyebrow,
.review-box .reviews__heading .eyebrow {
  margin-bottom: 18px;
}
.booking-box .reviews__heading h2,
.review-box .reviews__heading h2 {
  margin-top: 0;
}
.site-footer__links {
  min-width: 0;
}
@media (max-width: 1760px) {
  .side-rail { display: none !important; }
}
@media (max-width: 820px) {
  .eyebrow { margin-bottom: 18px; }
  .hero__copy .eyebrow { margin-bottom: 22px; }
  .eyebrow > span:not(:first-child) { max-width: calc(100% - 44px); }
}

/* v9 — коричнево-чёрная фактура и единый прайс */
html[data-theme="light"] {
  --bg: #ead9c7;
  --bg-soft: #f1e4d5;
  --surface: #f7ecde;
  --surface-2: #dcc2a8;
  --surface-3: #c99a78;
  --text: #241712;
  --text-soft: #6d5345;
  --moss: #6f3b28;
  --moss-soft: #8a5a43;
  --accent: #8f4a2d;
  --accent-strong: #6f321f;
  --gold: #b8773c;
  --line: rgba(83,42,25,.17);
  --line-strong: rgba(83,42,25,.3);
  --shadow: 0 28px 80px rgba(67,34,20,.16);
  --shadow-soft: 0 14px 36px rgba(67,34,20,.11);
  --header-bg: rgba(234,217,199,.92);
  --photo-shade: linear-gradient(180deg, rgba(22,10,6,.01) 36%, rgba(30,12,7,.48));
  --qr-bg: #fff8ee;
}

html[data-theme="dark"] {
  --bg: #0b0705;
  --bg-soft: #120b08;
  --surface: #18100c;
  --surface-2: #24150f;
  --surface-3: #382116;
  --text: #f2dfc6;
  --text-soft: #bea38d;
  --moss: #d9b27d;
  --moss-soft: #c69a68;
  --accent: #a95831;
  --accent-strong: #cc7545;
  --gold: #c88a45;
  --line: rgba(201,126,72,.22);
  --line-strong: rgba(201,126,72,.42);
  --shadow: 0 30px 90px rgba(0,0,0,.52);
  --shadow-soft: 0 16px 44px rgba(0,0,0,.36);
  --header-bg: rgba(11,7,5,.92);
  --photo-shade: linear-gradient(180deg, rgba(8,4,3,.02) 32%, rgba(8,4,3,.72));
  --qr-bg: #f8eee1;
}

html[data-theme="light"] body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(245,234,220,.9), rgba(245,234,220,.9)),
    url("assets/brown-flow-light.webp");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

html[data-theme="dark"] body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(8,4,3,.22), rgba(8,4,3,.22)),
    url("assets/brown-flow-dark.webp");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.hero,
.rituals,
.process,
.contacts {
  background: transparent;
}

.about,
.services,
.reviews {
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  border-block: 1px solid var(--line);
}

.site-header {
  background: var(--header-bg);
}

html[data-theme="dark"] .site-header.is-scrolled,
html[data-theme="light"] .site-header.is-scrolled {
  background: color-mix(in srgb, var(--header-bg) 96%, transparent);
}

.hero__grid {
  grid-template-columns: minmax(0,1.04fr) minmax(430px,.96fr);
  gap: clamp(42px, 5vw, 72px);
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(46px, 5.25vw, 76px);
  line-height: .98;
}

.hero__lead {
  max-width: 690px;
  line-height: 1.6;
}

.hero-photo,
.about-photo,
.ritual-card__media,
.ritual-card__image,
.process-card__media,
.approach__media {
  border-color: var(--line-strong);
}

.hero-note {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.about-point {
  background: color-mix(in srgb, var(--bg) 76%, var(--surface));
}

.about-point:nth-child(2) {
  background: color-mix(in srgb, var(--surface-2) 48%, var(--surface));
}

.about-point--dark,
html[data-theme="dark"] .about-point--dark {
  color: #f3e2cc;
  background: linear-gradient(145deg, #4d281c, #28150f);
}

.ritual-card--clay {
  color: #2d1b14;
  background: linear-gradient(135deg, #c98d68, #b87553);
}

.ritual-card--honey {
  color: #2f2018;
  background: linear-gradient(135deg, #e0c09b, #cfa679);
}

.ritual-card--sage {
  color: #2b1b14;
  background: linear-gradient(135deg, #bd8c6d, #9e674c);
}

html[data-theme="dark"] .ritual-card--clay {
  color: #f3dfc8;
  background: linear-gradient(135deg, #5a2d1e, #3c1d15);
}

html[data-theme="dark"] .ritual-card--honey {
  color: #f3dfc8;
  background: linear-gradient(135deg, #49301f, #2c1a12);
}

html[data-theme="dark"] .ritual-card--sage {
  color: #f3dfc8;
  background: linear-gradient(135deg, #4b2a1d, #24130e);
}

.ritual-card--feature .ritual-card__content,
.ritual-card--feature .ritual-card__content--safe {
  color: #f5e5d1;
  background: linear-gradient(145deg, #5a2e20, #351911);
  border-color: rgba(255,224,191,.13);
}

html[data-theme="dark"] .ritual-card--feature .ritual-card__content,
html[data-theme="dark"] .ritual-card--feature .ritual-card__content--safe {
  background: linear-gradient(145deg, #24130e, #100906);
  border-color: var(--line-strong);
}

.approach,
html[data-theme="dark"] .approach {
  color: #f4dfc5;
  background:
    linear-gradient(135deg, rgba(69,31,20,.93), rgba(18,9,6,.97)),
    url("assets/brown-flow-dark.webp") center/cover;
  border-block: 1px solid var(--line-strong);
}

.approach h2 {
  color: #f4dfc5;
}

.approach__copy > p:not(.eyebrow) {
  color: rgba(244,223,197,.78);
}

.process-card .process-card__content,
.process-card .process-card__content--safe,
.process-card--large .process-card__content--safe {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}

html[data-theme="dark"] .process-card .process-card__content,
html[data-theme="dark"] .process-card .process-card__content--safe,
html[data-theme="dark"] .process-card--large .process-card__content--safe {
  color: #f2dfc6;
  background: linear-gradient(145deg, rgba(35,19,13,.98), rgba(15,8,6,.98));
  border-color: var(--line-strong);
}

.services__grid {
  grid-template-columns: minmax(280px,.62fr) minmax(0,1.38fr);
}

.services__book {
  margin-top: 26px;
}

.service-tabs {
  display: none !important;
}

.service-panel {
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-color: var(--line-strong);
  border-radius: 34px 92px 34px 34px;
  box-shadow: var(--shadow-soft);
}

.service-panel__head {
  grid-template-columns: 1fr;
  padding: 30px 30px 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 58%, transparent), transparent);
}

.service-panel__head span {
  font-size: clamp(31px, 3vw, 43px);
}

.service-panel__head p {
  max-width: 700px;
  font-size: 14px;
}

.service-list {
  display: grid;
}

.service-item {
  grid-template-columns: 44px minmax(0,1fr) auto auto;
  gap: 20px;
  padding: 22px 28px;
  background: transparent;
}

.service-item:nth-child(even) {
  background: color-mix(in srgb, var(--surface) 38%, transparent);
}

.service-item__index {
  align-self: start;
  padding-top: 4px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 17px;
}

html[data-theme="dark"] .service-item__index {
  color: var(--gold);
}

.service-item__copy {
  min-width: 0;
}

.service-item h3 {
  font-size: clamp(24px, 2vw, 31px);
}

.service-item p {
  max-width: 650px;
  font-size: 13px;
  line-height: 1.48;
}

.service-item__time {
  min-width: 92px;
  text-align: right;
}

.service-item__price {
  min-width: 96px;
  text-align: right;
  font-size: 25px;
}

.service-panel__note {
  padding: 20px 30px;
  background: color-mix(in srgb, var(--surface-2) 34%, transparent);
}

.review-box,
.booking-box,
.map-actions,
.map-frame {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-color: var(--line-strong);
}

.qr-card {
  background: var(--qr-bg);
}

.map-link--yandex,
.map-link--2gis {
  background: color-mix(in srgb, var(--surface-2) 58%, var(--bg));
}

.site-footer,
html[data-theme="dark"] .site-footer {
  background: #0a0504;
  border-top-color: var(--line-strong);
}

@media (max-width: 1180px) {
  .hero__grid,
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services__intro {
    position: static;
  }
}

@media (max-width: 760px) {
  html[data-theme="light"] body,
  html[data-theme="dark"] body {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: clamp(43px, 12.5vw, 62px);
  }

  .service-item {
    grid-template-columns: 34px minmax(0,1fr) auto;
    gap: 10px 12px;
    padding: 20px 18px;
  }

  .service-item__index {
    grid-row: 1 / 3;
  }

  .service-item__copy {
    grid-column: 2;
  }

  .service-item__time {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    text-align: left;
  }

  .service-item__price {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    min-width: 0;
    font-size: 22px;
  }

  .service-panel__head {
    padding: 24px 20px;
  }
}

@media (max-width: 460px) {
  .service-item {
    grid-template-columns: 28px minmax(0,1fr);
  }

  .service-item__index {
    grid-row: 1 / 4;
  }

  .service-item__price {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 4px;
  }
}

/* v10 — recreated flowing brown-black background + user-facing copy polish */
body {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: 1;
  background:
    radial-gradient(80% 58% at 56% 52%, rgba(155, 63, 18, .28) 0%, rgba(155, 63, 18, .18) 22%, rgba(20, 9, 6, 0) 60%),
    repeating-radial-gradient(ellipse at 56% 54%, rgba(212, 101, 33, .0) 0 16px, rgba(212, 101, 33, .14) 16px 17px, rgba(212, 101, 33, 0) 17px 26px),
    linear-gradient(180deg, rgba(6, 4, 3, .98) 0%, rgba(17, 9, 6, .98) 40%, rgba(10, 5, 4, .99) 100%);
  background-size: 100% 100%, 150% 150%, 100% 100%;
  background-position: center center, 54% 48%, center center;
  animation: darkFlowDrift 34s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  opacity: .62;
  background:
    radial-gradient(56% 44% at 60% 50%, rgba(236, 131, 66, .18), transparent 68%),
    linear-gradient(120deg, rgba(255,255,255,.02), rgba(255,255,255,0) 28%, rgba(255,255,255,.018) 52%, rgba(255,255,255,0) 78%),
    url("assets/noise.png");
  background-size: 100% 100%, 220% 220%, 280px 280px;
  background-position: center center, 0% 0%, center center;
  mix-blend-mode: screen;
  animation: brownVeilMove 18s linear infinite, noiseFloat 12s steps(8) infinite;
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(84% 62% at 56% 50%, rgba(190, 112, 63, .22) 0%, rgba(190, 112, 63, .14) 24%, rgba(255,255,255,0) 64%),
    repeating-radial-gradient(ellipse at 56% 54%, rgba(191, 111, 56, .0) 0 18px, rgba(191, 111, 56, .09) 18px 19px, rgba(191, 111, 56, 0) 19px 30px),
    linear-gradient(180deg, rgba(247, 240, 230, .97) 0%, rgba(239, 229, 214, .98) 48%, rgba(234, 221, 206, .99) 100%);
  background-size: 100% 100%, 150% 150%, 100% 100%;
  background-position: center center, 54% 48%, center center;
  animation: lightFlowDrift 34s ease-in-out infinite alternate;
}

html[data-theme="light"] body::after {
  opacity: .54;
  background:
    radial-gradient(56% 44% at 60% 50%, rgba(194, 124, 76, .12), transparent 68%),
    linear-gradient(120deg, rgba(255,255,255,.16), rgba(255,255,255,0) 26%, rgba(180,120,70,.06) 50%, rgba(255,255,255,0) 75%),
    url("assets/noise.png");
  background-size: 100% 100%, 220% 220%, 280px 280px;
  background-position: center center, 0% 0%, center center;
  mix-blend-mode: multiply;
}

html[data-theme="light"] body,
html[data-theme="dark"] body {
  background-image: none !important;
  background-attachment: scroll !important;
}

@keyframes darkFlowDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); background-position: center center, 48% 46%, center center; }
  50% { transform: translate3d(0, -0.4%, 0) scale(1.015); background-position: center center, 56% 52%, center center; }
  100% { transform: translate3d(0, 0.5%, 0) scale(1.03); background-position: center center, 64% 58%, center center; }
}

@keyframes lightFlowDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); background-position: center center, 48% 46%, center center; }
  50% { transform: translate3d(0, -0.35%, 0) scale(1.012); background-position: center center, 56% 52%, center center; }
  100% { transform: translate3d(0, 0.45%, 0) scale(1.024); background-position: center center, 64% 58%, center center; }
}

@keyframes brownVeilMove {
  0% { background-position: center center, 0% 0%, center center; }
  100% { background-position: center center, 100% 100%, center center; }
}

@keyframes noiseFloat {
  0% { transform: translate3d(0,0,0); }
  25% { transform: translate3d(-0.3%, 0.2%, 0); }
  50% { transform: translate3d(0.25%, -0.2%, 0); }
  75% { transform: translate3d(-0.15%, 0.1%, 0); }
  100% { transform: translate3d(0,0,0); }
}

/* stronger brown-black palette to match the new flowing background */
html[data-theme="dark"] {
  --bg: #080605;
  --bg-soft: #120d0a;
  --surface: rgba(18, 11, 8, .82);
  --surface-2: rgba(28, 18, 12, .84);
  --surface-3: rgba(61, 36, 24, .84);
  --text: #f4e7d4;
  --text-soft: #ccb49a;
  --moss: #e3c18f;
  --moss-soft: #d4aa74;
  --accent: #bb7745;
  --accent-strong: #d18f58;
  --gold: #d39a55;
  --line: rgba(216, 147, 85, .22);
  --line-strong: rgba(216, 147, 85, .42);
  --header-bg: rgba(8, 6, 5, .82);
  --photo-shade: linear-gradient(180deg, rgba(7,5,4,.05) 30%, rgba(7,5,4,.78));
}

html[data-theme="light"] {
  --bg: #f2e7d8;
  --bg-soft: rgba(252,247,241,.82);
  --surface: rgba(252, 247, 241, .76);
  --surface-2: rgba(242, 230, 215, .78);
  --surface-3: rgba(231, 212, 192, .82);
  --text: #2f231a;
  --text-soft: #705a49;
  --moss: #553b2a;
  --moss-soft: #7e6046;
  --accent: #b46e45;
  --accent-strong: #cb8257;
  --gold: #c79052;
  --line: rgba(111, 77, 53, .16);
  --line-strong: rgba(111, 77, 53, .28);
  --header-bg: rgba(245, 236, 225, .74);
  --photo-shade: linear-gradient(180deg, rgba(30,19,13,.02) 38%, rgba(30,19,13,.5));
}

.site-header,
.mobile-menu,
.side-nav,
.hero__fact,
.ritual-card,
.service-panel,
.process-card__content,
.approach__card,
.review-box,
.booking-box,
.contact-card,
.footer {
  backdrop-filter: blur(20px);
}

.about,
.services,
.reviews {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.hero,
.rituals,
.process,
.contacts {
  background: transparent;
}

/* robust eyebrow layout to prevent any overlap with display headings */
.eyebrow {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  white-space: normal !important;
}
.eyebrow > span:first-child {
  flex: 0 0 34px !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 1px !important;
  margin-top: .78em !important;
  background: currentColor !important;
}
.eyebrow > span:not(:first-child) {
  flex: 1 1 calc(100% - 46px) !important;
  width: auto !important;
  max-width: 300px;
  min-width: 0 !important;
  height: auto !important;
  background: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.14 !important;
}
.hero__copy .eyebrow > span:not(:first-child) { max-width: 230px; }
@media (max-width: 720px) {
  .hero__copy .eyebrow > span:not(:first-child) { max-width: 170px; font-size: 12px !important; }
}

/* gentle refresh for the service intro panel */
.services__intro > h2 { max-width: 15ch; }
.services__intro > p:not(.eyebrow) { max-width: 470px; }

/* keep cards readable over animated backgrounds */
.service-panel,
.process-card__content,
.contact-card,
.review-box,
.booking-box,
.approach__card {
  box-shadow: var(--shadow-soft);
}

/* v12 — fluid river fibres, compositor-only animation */
.theme-pattern--hero,
.theme-pattern--hero::before,
.theme-pattern--hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.flow-canvas { display: none !important; }

body {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

html[data-theme="dark"] body {
  background-color: #070403 !important;
  background-image:
    radial-gradient(95% 62% at 68% 44%, rgba(117, 46, 18, .16), rgba(117, 46, 18, 0) 62%),
    linear-gradient(155deg, #040302 0%, #0b0604 44%, #160a05 70%, #060403 100%),
    url("assets/noise.png") !important;
  background-size: auto, auto, 300px 300px !important;
  background-position: center, center, center !important;
  background-attachment: scroll !important;
}

html[data-theme="light"] body {
  background-color: #f0e4d5 !important;
  background-image:
    radial-gradient(95% 62% at 68% 44%, rgba(164, 97, 57, .12), rgba(164, 97, 57, 0) 62%),
    linear-gradient(155deg, #fbf5ed 0%, #f2e7da 46%, #ead8c6 72%, #f7eee4 100%),
    url("assets/noise.png") !important;
  background-size: auto, auto, 300px 300px !important;
  background-position: center, center, center !important;
  background-attachment: scroll !important;
}

body::before,
body::after {
  content: "" !important;
  position: fixed !important;
  inset: -18% !important;
  display: block !important;
  pointer-events: none !important;
  transform-origin: 58% 42% !important;
  backface-visibility: hidden;
  contain: paint;
  will-change: transform;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  filter: none !important;
}

html[data-theme="dark"] body::before {
  z-index: -2 !important;
  opacity: .92 !important;
  background-image: url("assets/river-fibers-dark-main.svg") !important;
  mix-blend-mode: screen !important;
  animation: riverFibresMain 32s cubic-bezier(.45, 0, .55, 1) infinite alternate !important;
}

html[data-theme="dark"] body::after {
  z-index: -1 !important;
  opacity: .54 !important;
  background-image: url("assets/river-fibers-dark-fine.svg") !important;
  mix-blend-mode: screen !important;
  animation: riverFibresFine 43s cubic-bezier(.42, 0, .58, 1) infinite alternate-reverse !important;
}

html[data-theme="light"] body::before {
  z-index: -2 !important;
  opacity: .52 !important;
  background-image: url("assets/river-fibers-light-main.svg") !important;
  mix-blend-mode: multiply !important;
  animation: riverFibresMain 34s cubic-bezier(.45, 0, .55, 1) infinite alternate !important;
}

html[data-theme="light"] body::after {
  z-index: -1 !important;
  opacity: .28 !important;
  background-image: url("assets/river-fibers-light-fine.svg") !important;
  mix-blend-mode: multiply !important;
  animation: riverFibresFine 46s cubic-bezier(.42, 0, .58, 1) infinite alternate-reverse !important;
}

@keyframes riverFibresMain {
  0% {
    transform: translate3d(5.5%, -5.5%, 0) rotate(.35deg) scale(1.035);
  }
  50% {
    transform: translate3d(.2%, -.2%, 0) rotate(-.15deg) scale(1.07);
  }
  100% {
    transform: translate3d(-5.5%, 5.5%, 0) rotate(-.55deg) scale(1.105);
  }
}

@keyframes riverFibresFine {
  0% {
    transform: translate3d(3.2%, -3.2%, 0) rotate(-.25deg) scale(1.065);
  }
  50% {
    transform: translate3d(-.4%, .4%, 0) rotate(.18deg) scale(1.09);
  }
  100% {
    transform: translate3d(-3.8%, 3.8%, 0) rotate(.42deg) scale(1.12);
  }
}

/* The two fixed layers are GPU-composited; expensive per-frame filters and canvas redraws are intentionally absent. */
@media (max-width: 900px), (pointer: coarse), (update: slow) {
  body::after { display: none !important; }
  body::before {
    inset: -12% !important;
    animation-duration: 48s !important;
    opacity: .72 !important;
  }
  html[data-theme="light"] body::before { opacity: .38 !important; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none !important;
    transform: none !important;
  }
}

/* v12 performance pass: moving background must not force backdrop-blur repainting */
.site-header,
.mobile-menu,
.side-rail,
.hero__fact,
.ritual-card,
.service-panel,
.process-card__content,
.approach__card,
.review-box,
.booking-box,
.contact-card,
.site-footer {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-theme="dark"] body::before,
html[data-theme="dark"] body::after,
html[data-theme="light"] body::before,
html[data-theme="light"] body::after {
  mix-blend-mode: normal !important;
}

/* v13 — compact glass header, new brand mark and balanced hero copy */
:root { --header-h: 92px; }
html[data-theme="dark"] { --header-bg: rgba(8, 6, 5, .9); }
html[data-theme="light"] { --header-bg: rgba(245, 236, 225, .88); }
.site-header {
  min-height: var(--header-h);
  -webkit-backdrop-filter: blur(16px) saturate(112%) !important;
  backdrop-filter: blur(16px) saturate(112%) !important;
}
.header-inner { min-height: var(--header-h); gap: 18px; }
.brand { width: 72px; padding-block: 7px; }
.brand img.site-logo-image { width: 72px; height: 72px; }
.theme-toggle { min-height: 38px; padding: 6px 10px; }
.header-phone-button { width: 38px; height: 38px; }
.header-cta.button--compact { min-height: 40px; padding: 8px 15px; }
.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.35vw, 51px);
  line-height: 1.06;
  white-space: pre-line;
  text-wrap: balance;
}
.hero__lead { max-width: 650px; margin-top: 23px; }

.site-footer__grid > img.site-logo-image { width: 152px; height: 152px; padding: 0; }
@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .brand, .brand img.site-logo-image { width: 60px; height: 60px; }
  .hero h1 { font-size: clamp(34px, 5vw, 48px); }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .header-inner { gap: 10px; }
  .brand, .brand img.site-logo-image { width: 52px; height: 52px; }
  .hero h1 { font-size: clamp(32px, 9.8vw, 42px); line-height: 1.08; }

}
@media (max-width: 460px) {
  .brand { width: 52px; }
  .hero__copy .eyebrow > span:not(:first-child) { max-width: 230px; }
  .hero h1 { font-size: clamp(31px, 9.2vw, 36px); text-wrap: pretty; }

}