/* ══════════════════════════════════════════════════════════════
   RECHARGE.ME — MAIN STYLESHEET
   Design system: tokens → reset → typography → layout →
   components → sections → animations → responsive
══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   FONTS
───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  /* Color roles */
  --color-base-void:      #0f0e0d;
  --color-soft-body:      #1a1816;
  --color-panel:          #201e1b;
  --color-calm-contrast:  #c4bfb8;
  --color-dim-text:       #7a756e;
  --color-quiet-accent:   #9a8f6e;
  --color-air-highlight:  #a5aab3;
  --color-overlay:        rgba(10, 9, 8, 0.72);
  --color-border:         rgba(196, 191, 184, 0.08);
  --color-border-soft:    rgba(196, 191, 184, 0.05);

  /* Ritual card tones */
  --ritual-release-bg:    #161310;
  --ritual-reset-bg:      #111418;
  --ritual-recharge-bg:   #141412;
  --ritual-relax-bg:      #181410;
  --ritual-refresh-bg:    #101416;

  --ritual-release-light: rgba(154, 120, 80, 0.18);
  --ritual-reset-light:   rgba(100, 120, 150, 0.15);
  --ritual-recharge-light:rgba(150, 140, 100, 0.16);
  --ritual-relax-light:   rgba(160, 120, 70, 0.18);
  --ritual-refresh-light: rgba(110, 140, 160, 0.15);

  /* Typography */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale — fluid */
  --size-hero:        clamp(48px, 8vw, 110px);
  --size-display:     clamp(36px, 5.5vw, 76px);
  --size-title:       clamp(26px, 3.5vw, 48px);
  --size-sub:         clamp(15px, 1.5vw, 18px);
  --size-body:        clamp(14px, 1.2vw, 16px);
  --size-detail:      13px;
  --size-micro:       11px;

  /* Leading */
  --leading-display:  1.08;
  --leading-title:    1.18;
  --leading-body:     1.72;
  --leading-loose:    1.85;

  /* Tracking */
  --tracking-wide:    0.08em;
  --tracking-hero:    -0.02em;
  --tracking-display: -0.015em;

  /* Spacing — fluid */
  --space-section:    clamp(90px, 12vw, 160px);
  --space-section-sm: clamp(60px, 8vw, 100px);
  --space-inner:      clamp(32px, 5vw, 64px);
  --space-gap:        clamp(16px, 2.5vw, 32px);
  --margin-outer:     clamp(20px, 7vw, 120px);

  /* Radii */
  --radius-card:      16px;
  --radius-btn:       8px;
  --radius-inset:     12px;

  /* Motion */
  --ease-cinematic:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-slow:        cubic-bezier(0.25, 0.1, 0.1, 1);
  --ease-smooth:      cubic-bezier(0.4, 0, 0.2, 1);
  --dur-reveal:       1.2s;
  --dur-hover:        0.65s;
  --dur-ambient:      6s;
}

/* ─────────────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto; /* managed by Lenis */
}

body {
  background-color: var(--color-base-void);
  color: var(--color-calm-contrast);
  font-family: var(--font-sans);
  font-size: var(--size-body);
  line-height: var(--leading-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

/* ─────────────────────────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-quiet-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--margin-outer);
}

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHY SYSTEM
───────────────────────────────────────────────────────────── */

/* Role A — Hero / Statement Display */
.display-a {
  font-family: var(--font-display);
  font-size: var(--size-hero);
  font-weight: 300;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-hero);
  font-style: normal;
}

/* Role B — Section Title Display */
.display-b {
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 300;
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-display);
}

/* Role C — Supporting Sans */
.text-sub {
  font-family: var(--font-sans);
  font-size: var(--size-sub);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--color-dim-text);
}

/* Eyebrow / label */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--size-detail);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-quiet-accent);
}

/* ─────────────────────────────────────────────────────────────
   LINE MASK — animation utility
───────────────────────────────────────────────────────────── */
.line-wrap {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: block;
  transform: translateY(100%);
  will-change: transform;
}

/* ─────────────────────────────────────────────────────────────
   GRAIN OVERLAY
───────────────────────────────────────────────────────────── */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grain-move 12s steps(2) infinite;
}

@keyframes grain-move {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-3%, -5%); }
  20%  { transform: translate(-7%,  3%); }
  30%  { transform: translate( 4%, -2%); }
  40%  { transform: translate(-2%,  6%); }
  50%  { transform: translate(-5%, -3%); }
  60%  { transform: translate( 3%,  5%); }
  70%  { transform: translate( 6%, -4%); }
  80%  { transform: translate(-4%,  2%); }
  90%  { transform: translate( 3%, -6%); }
  100% { transform: translate(0, 0); }
}

/* ─────────────────────────────────────────────────────────────
   PRELOADER
───────────────────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader__veil {
  position: absolute;
  inset: 0;
  background: var(--color-base-void);
  transform-origin: bottom;
}

.preloader__logo {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-calm-contrast);
  opacity: 0;
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition:
    background-color var(--dur-hover) var(--ease-cinematic),
    color var(--dur-hover) var(--ease-cinematic),
    border-color var(--dur-hover) var(--ease-cinematic),
    transform var(--dur-hover) var(--ease-cinematic),
    box-shadow var(--dur-hover) var(--ease-cinematic);
  white-space: nowrap;
}

.btn-cta--primary {
  background: var(--color-quiet-accent);
  color: var(--color-base-void);
  border: 1px solid transparent;
}

.btn-cta--primary:hover {
  background: #b3a47d;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(154, 143, 110, 0.18);
}

.btn-cta--ghost {
  background: transparent;
  color: var(--color-calm-contrast);
  border: 1px solid rgba(196, 191, 184, 0.2);
}

.btn-cta--ghost:hover {
  border-color: rgba(196, 191, 184, 0.5);
  transform: translateY(-2px);
}

.btn-cta--sm {
  padding: 10px 22px;
  font-size: 12px;
}

.btn-cta--lg {
  padding: 18px 48px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background var(--dur-reveal) var(--ease-smooth),
    backdrop-filter var(--dur-reveal) var(--ease-smooth),
    border-color 0.6s var(--ease-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(15, 14, 13, 0.86);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 22px;
}

.header__logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-calm-contrast);
  transition: opacity 0.4s;
}

.header__logo:hover { opacity: 0.7; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-dim-text);
  transition: color 0.4s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-quiet-accent);
  transition: width 0.4s var(--ease-cinematic);
}

.nav__link:hover {
  color: var(--color-calm-contrast);
}

.nav__link:hover::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
  margin-left: 16px;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  padding: 4px;
}

.burger__line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-calm-contrast);
  transition: transform 0.5s var(--ease-cinematic), opacity 0.4s;
  transform-origin: center;
}

.header__burger.is-active .burger__line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.header__burger.is-active .burger__line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────
   MOBILE MENU
───────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-soft-body);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--margin-outer) 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-cinematic);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 48px;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  line-height: 1.2;
  padding-block: 8px;
  border-bottom: 1px solid var(--color-border-soft);
  transition: color 0.4s, padding-left 0.4s var(--ease-cinematic);
}

.mobile-nav__link:hover {
  color: white;
  padding-left: 12px;
}

.mobile-menu__cta {
  align-self: flex-start;
  margin-bottom: 16px;
}

.mobile-menu__note {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: var(--tracking-wide);
}

/* ─────────────────────────────────────────────────────────────
   HERO / SCREEN 1
───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

/* PLACEHOLDER — замените на реальную фотографию */
.hero__img-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__img-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(142, 104, 56, 0.78) 0%, rgba(104, 74, 38, 0.52) 16%, rgba(62, 44, 22, 0.24) 36%, transparent 56%),
    radial-gradient(ellipse at 56% 58%, rgba(90, 66, 34, 0.30) 0%, rgba(54, 38, 20, 0.14) 26%, transparent 50%),
    radial-gradient(ellipse at 86% 66%, rgba(50, 36, 18, 0.52) 0%, rgba(22, 16, 8, 0.40) 22%, transparent 48%),
    radial-gradient(ellipse at 6%  50%, rgba(4, 3, 2, 0.97) 0%, rgba(7, 6, 4, 0.72) 28%, transparent 52%),
    radial-gradient(ellipse at 44% 4%,  rgba(6, 5, 4, 0.92) 0%, rgba(9, 7, 5, 0.56) 28%, transparent 50%),
    radial-gradient(ellipse at 18% 88%, rgba(8, 6, 4, 0.82) 0%, transparent 40%),
    radial-gradient(ellipse at 66% 20%, rgba(56, 40, 20, 0.40) 0%, transparent 34%),
    radial-gradient(ellipse at 92% 90%, rgba(6, 5, 3, 0.85) 0%, transparent 38%),
    linear-gradient(148deg, #130f0c 0%, #0f0c09 28%, #0c0a07 52%, #13100d 78%, #0e0c09 100%);
  transform: scale(1.08);
  will-change: transform;
}

/* Architectural light seams — V4: vertical light columns from real space DNA */
.hero__arch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Primary architectural seam — warm-white light column, left edge of glow zone */
.hero__arch-lines::before {
  content: '';
  position: absolute;
  left: 54%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 240, 210, 0.12) 8%,
    rgba(255, 240, 210, 0.70) 30%,
    rgba(255, 242, 215, 0.80) 50%,
    rgba(255, 240, 210, 0.55) 72%,
    rgba(255, 240, 210, 0.08) 90%,
    transparent 100%
  );
  filter: blur(1px);
}

/* Secondary seam — softer right echo */
.hero__arch-lines::after {
  content: '';
  position: absolute;
  left: 80%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(245, 225, 185, 0.08) 10%,
    rgba(245, 225, 185, 0.50) 35%,
    rgba(245, 225, 185, 0.55) 55%,
    rgba(245, 225, 185, 0.20) 78%,
    transparent 100%
  );
  filter: blur(0.5px);
}

/* Depth planes — слои глубины */
.hero__depth-back {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(88, 64, 32, 0.12) 0%, transparent 50%);
  animation: haze-drift calc(var(--dur-ambient) * 1.4) ease-in-out infinite alternate;
}

.hero__depth-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 63% 41%, rgba(154, 120, 60, 0.08) 0%, rgba(120, 90, 44, 0.04) 20%, transparent 45%);
  animation: haze-drift var(--dur-ambient) ease-in-out infinite alternate-reverse;
}

.hero__depth-mid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 8, 6, 0.5) 0%, transparent 35%, transparent 65%, rgba(10, 8, 6, 0.4) 100%);
}

.hero__depth-fore {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 7, 6, 0.75) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(10, 9, 8, 0.55) 0%, transparent 20%);
}

.hero__haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 62% 43%, rgba(154, 130, 82, 0.055) 0%, transparent 42%),
    radial-gradient(ellipse at 25% 65%, rgba(165, 170, 179, 0.025) 0%, transparent 35%);
  animation: haze-drift var(--dur-ambient) ease-in-out infinite alternate;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 45%, transparent 25%, rgba(8, 7, 6, 0.55) 100%),
    linear-gradient(to bottom, rgba(10,9,8,0.35) 0%, transparent 25%, transparent 55%, rgba(10,9,8,0.8) 100%);
}

@keyframes haze-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(2%, -1%) scale(1.02); }
  100% { transform: translate(-1%, 2%) scale(1.01); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 8vw, 100px);
  padding-top: 120px;
}

.hero__text-zone {
  max-width: 800px;
}

.hero__headline {
  margin-bottom: clamp(24px, 3vw, 40px);
  color: #e8e4df;
}

.hero__headline-em {
  font-style: italic;
  color: var(--color-quiet-accent);
}

.hero__sub {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
  max-width: 560px;
  margin-bottom: clamp(32px, 4vw, 48px);
  opacity: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
  opacity: 0;
}

.hero__note {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: 0.02em;
}

.bullet-dot {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-quiet-accent);
  opacity: 0.7;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-hint__line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-quiet-accent), transparent);
  margin: 0 auto;
  animation: scroll-hint-pulse 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(1.2); }
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 2: OVERLOAD
───────────────────────────────────────────────────────────── */
.overload {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080709; /* холоднее и темнее hero — нарастание напряжения */
}

/* Subtle architectural light seam — right edge, echoes hero's vertical lines */
.overload::after {
  content: '';
  position: absolute;
  right: 14%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(154, 118, 56, 0.08) 20%,
    rgba(154, 118, 56, 0.18) 50%,
    rgba(154, 118, 56, 0.08) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.overload__bg {
  position: absolute;
  inset: 0;
}

/* PLACEHOLDER: CSS simulated city timelapse — замените на видео */
.overload__city-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 45%, rgba(255, 160, 40, 0.10) 0%, transparent 30%),
    radial-gradient(ellipse at 78% 28%, rgba(200, 130, 60, 0.09) 0%, transparent 28%),
    radial-gradient(ellipse at 45% 75%, rgba(240, 150, 30, 0.07) 0%, transparent 35%),
    radial-gradient(ellipse at 60% 15%, rgba(180, 120, 50, 0.08) 0%, transparent 30%),
    radial-gradient(ellipse at 32% 60%, rgba(220, 140, 40, 0.05) 0%, transparent 28%),
    linear-gradient(to bottom, #07060a 0%, #090808 40%, #08070a 100%);
  animation: city-pulse 4s ease-in-out infinite alternate;
}

@keyframes city-pulse {
  0%   { filter: blur(0px) brightness(0.90); }
  25%  { filter: blur(0.5px) brightness(1.07); }
  50%  { filter: blur(0.2px) brightness(0.94); }
  75%  { filter: blur(0.6px) brightness(1.05); }
  100% { filter: blur(0.3px) brightness(0.96); }
}

/* Дополнительный слой шума — нестабильность -->*/
.overload__city-anim::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 33% 60%, rgba(255, 140, 20, 0.04) 0%, transparent 25%),
    radial-gradient(ellipse at 70% 40%, rgba(220, 160, 60, 0.05) 0%, transparent 20%);
  animation: city-pulse 3.5s ease-in-out infinite alternate-reverse;
}

.overload__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(9, 8, 10, 0.6) 0%,
    rgba(11, 9, 8, 0.74) 60%,
    rgba(8, 7, 6, 0.8) 100%
  );
}

.overload__smear {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  opacity: 0.3;
}

/* Grain усилен для секции напряжения */
.overload::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  opacity: 0.055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  animation: grain-move 8s steps(2) infinite;
}

.overload__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-section);
}

.overload__text-zone {
  max-width: 720px;
}

.overload__headline {
  color: #ddd8d0;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.overload__em {
  color: var(--color-calm-contrast);
  font-style: italic;
}

.overload__sub {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  max-width: 520px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.overload__symptoms {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.symptom-item {
  padding-block: 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-dim-text);
  font-size: var(--size-sub);
  padding-left: 24px;
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
}

.symptom-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-quiet-accent);
  opacity: 0.5;
}

.overload__closer {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--color-calm-contrast);
  border-left: 2px solid var(--color-quiet-accent);
  padding-left: 24px;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 3: REBOOT
───────────────────────────────────────────────────────────── */
.reboot {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-block: var(--space-section);
  background: #111009; /* теплее и светлее overload — выдох, расслабление */
}

.reboot__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.reboot__img-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(40, 32, 22, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 70%, rgba(20, 18, 14, 0.9) 0%, transparent 50%),
    linear-gradient(120deg, #0d0b09 0%, #141210 50%, #111009 100%);
  transform: scale(1.05);
  will-change: transform;
}

.reboot__haze {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 9, 8, 0.7) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(10, 9, 8, 0.4) 0%, transparent 30%, transparent 60%, rgba(10, 9, 8, 0.5) 100%);
}

.reboot__content {
  position: relative;
  z-index: 2;
}

.reboot__header {
  max-width: 700px;
  margin-bottom: var(--space-inner);
}

.reboot__headline {
  margin-bottom: 24px;
}

.reboot__sub {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  max-width: 480px;
}

.reboot__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-bottom: var(--space-inner);
}

.reboot__para {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: var(--leading-loose);
  color: var(--color-dim-text);
  max-width: 440px;
}

.reboot__para em {
  color: var(--color-calm-contrast);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15em;
}

.reboot__elements {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reboot__element {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--color-border);
  align-items: start;
}

.element__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--color-quiet-accent);
  opacity: 0.45;
  line-height: 1;
  padding-top: 4px;
}

.element__label {
  display: block;
  font-size: var(--size-sub);
  color: var(--color-calm-contrast);
  margin-bottom: 6px;
  font-weight: 400;
}

.element__desc {
  display: block;
  font-size: var(--size-body);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
}

.reboot__close {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-top: var(--space-inner);
  border-top: 1px solid var(--color-border);
}

.reboot__close-text p {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--color-dim-text);
  margin-bottom: 12px;
  line-height: var(--leading-loose);
}

.reboot__accent {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px) !important;
  font-style: italic;
  color: var(--color-calm-contrast) !important;
}

.reboot__after .after__label,
.culture__after .after__label {
  display: block;
  font-size: var(--size-detail);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-quiet-accent);
  margin-bottom: 20px;
}

.reboot__after ul li,
.culture__after ul li {
  padding-block: 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-dim-text);
  font-size: var(--size-sub);
  padding-left: 20px;
  position: relative;
}

.reboot__after ul li::before,
.culture__after ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: var(--color-quiet-accent);
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 4: TRUST / H₂
───────────────────────────────────────────────────────────── */
.trust {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
  background: #0e0f12; /* холодный интеллектуальный тон — рефлексия, глубина */
}

/* V4: Subtle linear spatial structure — intellectual, cool, collected */
.trust::after {
  content: '';
  position: absolute;
  right: 7%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(165, 170, 179, 0.08) 15%,
    rgba(165, 170, 179, 0.20) 50%,
    rgba(165, 170, 179, 0.08) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.trust__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.trust__grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  animation: grain-move 10s steps(2) infinite;
}

.trust__content {
  position: relative;
  z-index: 2;
}

.trust__head {
  max-width: 680px;
  margin-bottom: var(--space-inner);
}

.trust__headline {
  margin-bottom: 24px;
}

.trust__intro {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  max-width: 500px;
  line-height: var(--leading-body);
}

.trust__blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust__block {
  padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--color-border);
}

.trust__block p {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
  max-width: 680px;
}

.trust__block p + p {
  margin-top: 16px;
}

.trust__block--accent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  /* Refined intellectual artifact — smoked glass with warm accent glow */
  background:
    radial-gradient(ellipse at 0% 0%, rgba(154, 143, 110, 0.07) 0%, transparent 60%),
    rgba(255, 255, 255, 0.024);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(196, 191, 184, 0.11);
  border-top-color: rgba(196, 191, 184, 0.18);
  border-radius: var(--radius-card);
  padding: clamp(40px, 5.5vw, 68px);
  margin-block: 16px;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 40px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

/* Warm glow emanating from H₂ label position */
.trust__block--accent::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -30px;
  width: 280px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(154, 143, 110, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle right accent edge */
.trust__block--accent::after {
  content: '';
  position: absolute;
  top: clamp(40px, 5.5vw, 68px);
  bottom: clamp(40px, 5.5vw, 68px);
  right: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(196, 191, 184, 0.12) 0%, rgba(196, 191, 184, 0.04) 60%, transparent 100%);
  pointer-events: none;
}

.trust__h2-label {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 300;
  color: var(--color-quiet-accent);
  opacity: 0.45;
  line-height: 1;
  letter-spacing: -0.025em;
  user-select: none;
  text-shadow: 0 0 48px rgba(154, 143, 110, 0.16);
}

.trust__block-text p {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
}

.trust__block-text p + p { margin-top: 16px; }

.trust__block--research {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.trust__stat {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  margin-bottom: 12px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.trust__stat-sub {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  max-width: 280px;
  line-height: var(--leading-body);
  opacity: 0.8;
}

/* Curated evidence list — not feature bullets, traces of depth */
.trust__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(24px, 3.5vw, 40px);
}

.trust__list li {
  padding-block: 16px;
  border-top: 1px solid rgba(196, 191, 184, 0.06);
  font-size: var(--size-sub);
  color: rgba(196, 191, 184, 0.62);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
  transition: color 0.4s;
}

.trust__list li:hover {
  color: rgba(196, 191, 184, 0.82);
}

.trust__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: linear-gradient(to right, rgba(154, 143, 110, 0.9), rgba(154, 143, 110, 0.2));
}

.trust__block--bridge {
  background: rgba(255, 255, 255, 0.022);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: clamp(40px, 5.5vw, 68px);
  border: 1px solid rgba(196, 191, 184, 0.10);
  border-left: 2px solid rgba(154, 143, 110, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 24px 64px rgba(0, 0, 0, 0.32),
    -2px 0 24px rgba(154, 143, 110, 0.05);
  max-width: 820px;
  position: relative;
}

.trust__block--bridge::after {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(40px, 5.5vw, 68px);
  right: clamp(40px, 5.5vw, 68px);
  height: 1px;
  background: linear-gradient(to right, rgba(154, 143, 110, 0.22), rgba(196, 191, 184, 0.06) 55%, transparent);
  pointer-events: none;
}

.trust__disclaimer {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: var(--size-detail);
  color: rgba(196, 191, 184, 0.3);
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────────
   ATMOSPHERIC BREAK
───────────────────────────────────────────────────────────── */
.atmo-break {
  height: clamp(320px, 55vh, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(40px, 7vh, 72px);
  background:
    radial-gradient(ellipse at 50% 55%, rgba(158, 116, 54, 0.88) 0%, rgba(112, 80, 36, 0.62) 18%, rgba(64, 44, 20, 0.32) 38%, transparent 58%),
    radial-gradient(ellipse at 50% 0%,   rgba(10, 8, 6, 0.90) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(10, 8, 6, 0.90) 0%, transparent 45%),
    radial-gradient(ellipse at 0%  50%,  rgba(8, 6, 4, 0.92) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 50%, rgba(8, 6, 4, 0.92) 0%, transparent 40%),
    #0d0b08;
}

.atmo-break__phrase {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: rgba(196, 184, 158, 0.78);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 5: RITUALS
───────────────────────────────────────────────────────────── */
.rituals {
  padding-block: var(--space-section);
}

.rituals__head {
  max-width: 700px;
  margin-bottom: var(--space-inner);
}

.rituals__headline {
  margin-bottom: 20px;
}

.rituals__sub {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  max-width: 500px;
  line-height: var(--leading-body);
}

/* Asymmetric ritual grid */
.rituals__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-gap);
}

/* Card placements */
.ritual-card:nth-child(1) { grid-column: 1 / 8; }
.ritual-card:nth-child(2) { grid-column: 8 / 13; }
.ritual-card:nth-child(3) { grid-column: 1 / 5; }
.ritual-card:nth-child(4) { grid-column: 5 / 10; }
.ritual-card:nth-child(5) { grid-column: 10 / 13; }

.ritual-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform var(--dur-hover) var(--ease-cinematic);
}

.ritual-card:hover {
  transform: translateY(-4px);
}

/* Individual card backgrounds — atmospheric inner gradients per emotional state */
.ritual-card--release {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(130, 90, 48, 0.16) 0%, transparent 52%),
    var(--ritual-release-bg);
}
.ritual-card--reset {
  background:
    radial-gradient(ellipse at 15% 18%, rgba(80, 105, 140, 0.14) 0%, transparent 52%),
    var(--ritual-reset-bg);
}
.ritual-card--recharge {
  background:
    radial-gradient(ellipse at 60% 12%, rgba(145, 134, 82, 0.15) 0%, transparent 52%),
    var(--ritual-recharge-bg);
}
.ritual-card--relax {
  background:
    radial-gradient(ellipse at 14% 82%, rgba(158, 106, 54, 0.17) 0%, transparent 52%),
    var(--ritual-relax-bg);
}
.ritual-card--refresh {
  background:
    radial-gradient(ellipse at 88% 62%, rgba(88, 122, 150, 0.14) 0%, transparent 52%),
    var(--ritual-refresh-bg);
}

.ritual-card__surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid rgba(196, 191, 184, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.02),
    inset -1px 0 0 rgba(0, 0, 0, 0.15);
  transition: border-color 0.7s var(--ease-cinematic), box-shadow 0.7s var(--ease-cinematic);
}

.ritual-card:hover .ritual-card__surface {
  border-color: rgba(196, 191, 184, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.40),
    inset 1px 0 0 rgba(255, 255, 255, 0.03),
    inset -1px 0 0 rgba(0, 0, 0, 0.20),
    0 28px 72px rgba(0, 0, 0, 0.42);
}

.ritual-card__light {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease-cinematic);
  border-radius: inherit;
}

.ritual-card--release .ritual-card__light {
  background: radial-gradient(ellipse at 30% 30%, var(--ritual-release-light), transparent 60%);
}
.ritual-card--reset .ritual-card__light {
  background: radial-gradient(ellipse at 70% 20%, var(--ritual-reset-light), transparent 60%);
}
.ritual-card--recharge .ritual-card__light {
  background: radial-gradient(ellipse at 50% 50%, var(--ritual-recharge-light), transparent 60%);
}
.ritual-card--relax .ritual-card__light {
  background: radial-gradient(ellipse at 20% 60%, var(--ritual-relax-light), transparent 60%);
}
.ritual-card--refresh .ritual-card__light {
  background: radial-gradient(ellipse at 80% 40%, var(--ritual-refresh-light), transparent 60%);
}

.ritual-card:hover .ritual-card__light {
  opacity: 1;
}

/* Grain texture внутри карточки — индивидуальная тактильность */
.ritual-card__grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
  pointer-events: none;
  transition: opacity 0.8s;
}

.ritual-card:hover .ritual-card__grain {
  opacity: 0.038;
}

.ritual-card__body {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ritual-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.ritual-card__tag {
  font-size: var(--size-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-quiet-accent);
  opacity: 0.7;
}

.ritual-card__duration {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: 0.04em;
}

.ritual-card__name {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.ritual-card__state {
  font-size: var(--size-detail);
  color: var(--color-quiet-accent);
  opacity: 0.8;
  margin-bottom: 14px;
  line-height: 1.5;
}

.ritual-card__desc {
  font-size: var(--size-body);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
  flex: 1;
  margin-bottom: 24px;
}

.ritual-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ritual-card__format {
  font-size: var(--size-micro);
  color: var(--color-dim-text);
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* Rituals note */
.rituals__note {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inset);
  background: var(--color-soft-body);
  max-width: 800px;
}

.rituals__note p {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
}

.rituals__note p + p {
  margin-top: 16px;
}

.rituals__note-bridge {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px) !important;
  color: var(--color-calm-contrast) !important;
  line-height: 1.5 !important;
  margin-top: 28px !important;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.rituals__note-bridge em {
  color: var(--color-quiet-accent);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────
   GALLERY / PHOTO BLOCK
───────────────────────────────────────────────────────────── */
.gallery {
  padding-block: var(--space-section-sm);
  overflow: hidden;
}

/* Gallery editorial intro */
.gallery__intro {
  margin-bottom: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery__eyebrow {
  font-size: var(--size-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-quiet-accent);
  opacity: 0.8;
}

.gallery__tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  line-height: 1.25;
  max-width: 500px;
  letter-spacing: -0.01em;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  padding-inline: clamp(12px, 3vw, 48px);
}

.gallery__item--hero    { grid-column: 1 / 7;  grid-row: 1 / 3; }
.gallery__item--medium  { grid-column: 7 / 10; grid-row: 1 / 2; }
.gallery__item--detail  { grid-column: 10 / 13;grid-row: 1 / 2; }
.gallery__item--wide    { grid-column: 7 / 13; grid-row: 2 / 3; }
.gallery__item--portrait{ grid-column: 1 / 5;  grid-row: 3 / 4; }
.gallery__item--square  { grid-column: 5 / 13; grid-row: 3 / 4; }

.gallery__item {
  overflow: hidden;
  border-radius: 10px;
}

.gallery__img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  transition: transform 0.8s var(--ease-cinematic);
}

.gallery__item:hover .gallery__img-wrap img {
  transform: scale(1.04);
}

/* Gallery placeholder backgrounds */
.gallery__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  transition: transform 0.9s var(--ease-cinematic), filter 0.9s var(--ease-cinematic);
}

.gallery__item:hover .gallery__img-placeholder {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.gallery__item--hero    .gallery__img-placeholder { min-height: 480px; }
.gallery__item--medium  .gallery__img-placeholder { min-height: 220px; }
.gallery__item--detail  .gallery__img-placeholder { min-height: 220px; }
.gallery__item--wide    .gallery__img-placeholder { min-height: 220px; }
.gallery__item--portrait .gallery__img-placeholder { min-height: 320px; }
.gallery__item--square  .gallery__img-placeholder { min-height: 320px; }

/* Gallery placeholders — curated cinematic interior shots per image brief */
.gallery__ph--1 {
  /* Shot 1: General wide shot — recliner in warm light, spacious interior */
  background:
    radial-gradient(ellipse at 62% 40%, rgba(148, 110, 60, 0.82) 0%, rgba(106, 78, 40, 0.56) 18%, rgba(64, 46, 24, 0.28) 36%, transparent 56%),
    radial-gradient(ellipse at 78% 74%, rgba(30, 22, 12, 0.74) 0%, rgba(18, 12, 7, 0.56) 22%, transparent 48%),
    radial-gradient(ellipse at 8%  58%, rgba(5, 4, 3, 0.94) 0%, rgba(7, 5, 3, 0.76) 24%, transparent 50%),
    radial-gradient(ellipse at 40% 6%,  rgba(7, 5, 4, 0.88) 0%, transparent 36%),
    radial-gradient(ellipse at 66% 24%, rgba(70, 52, 26, 0.42) 0%, transparent 32%),
    radial-gradient(ellipse at 92% 18%, rgba(10, 7, 4, 0.80) 0%, transparent 36%),
    linear-gradient(148deg, #1f1912 0%, #181310 32%, #130f0b 60%, #1b1610 82%, #111009 100%);
}
.gallery__ph--2 {
  /* Shot 2: Person resting — portrait quality, warm top light, intimate */
  background:
    radial-gradient(ellipse at 50% 26%, rgba(132, 98, 52, 0.72) 0%, rgba(92, 68, 34, 0.46) 20%, rgba(54, 38, 18, 0.20) 40%, transparent 58%),
    radial-gradient(ellipse at 50% 62%, rgba(60, 44, 22, 0.32) 0%, transparent 40%),
    radial-gradient(ellipse at 10% 50%, rgba(6, 5, 3, 0.90) 0%, transparent 42%),
    radial-gradient(ellipse at 90% 50%, rgba(5, 4, 3, 0.84) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 94%, rgba(7, 5, 3, 0.82) 0%, transparent 38%),
    radial-gradient(ellipse at 28% 14%, rgba(10, 8, 5, 0.70) 0%, transparent 32%),
    linear-gradient(to bottom, #100d0a 0%, #191511 35%, #1c1714 58%, #161210 82%, #0e0c09 100%);
}
.gallery__ph--3 {
  /* Shot 3: Recliner as object — lateral warm light on premium upholstery */
  background:
    radial-gradient(ellipse at 22% 46%, rgba(128, 96, 52, 0.76) 0%, rgba(90, 66, 34, 0.50) 18%, rgba(54, 38, 20, 0.22) 36%, transparent 56%),
    radial-gradient(ellipse at 72% 56%, rgba(20, 15, 10, 0.90) 0%, rgba(12, 8, 5, 0.72) 22%, transparent 46%),
    radial-gradient(ellipse at 44% 16%, rgba(8, 6, 4, 0.78) 0%, transparent 36%),
    radial-gradient(ellipse at 36% 84%, rgba(7, 5, 3, 0.80) 0%, transparent 40%),
    radial-gradient(ellipse at 82% 90%, rgba(6, 4, 3, 0.85) 0%, transparent 38%),
    linear-gradient(to right, #1f1a13 0%, #181410 28%, #100d09 55%, #151109 80%, #0e0c07 100%);
}
.gallery__ph--4 {
  /* Shot 4: Material texture detail — macro upholstery, tactile light */
  background:
    radial-gradient(ellipse at 44% 50%, rgba(110, 84, 48, 0.80) 0%, rgba(78, 58, 30, 0.54) 20%, rgba(46, 34, 18, 0.26) 38%, transparent 58%),
    radial-gradient(ellipse at 86% 20%, rgba(10, 8, 5, 0.82) 0%, transparent 38%),
    radial-gradient(ellipse at 12% 82%, rgba(8, 6, 4, 0.84) 0%, transparent 36%),
    radial-gradient(ellipse at 70% 76%, rgba(18, 14, 8, 0.66) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 22%, rgba(30, 22, 12, 0.50) 0%, transparent 34%),
    linear-gradient(162deg, #1d1913 0%, #191610 38%, #141109 62%, #191510 85%, #110f0a 100%);
}
.gallery__ph--5 {
  /* Shot 5: Light and air — atmospheric room, diffused glow, spatial depth */
  background:
    radial-gradient(ellipse at 38% 34%, rgba(120, 90, 48, 0.64) 0%, rgba(84, 62, 30, 0.38) 24%, rgba(50, 36, 16, 0.16) 46%, transparent 64%),
    radial-gradient(ellipse at 74% 66%, rgba(26, 20, 12, 0.62) 0%, transparent 46%),
    radial-gradient(ellipse at 6%  42%, rgba(6, 5, 3, 0.87) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 98%, rgba(5, 4, 3, 0.78) 0%, transparent 38%),
    radial-gradient(ellipse at 64% 10%, rgba(8, 6, 4, 0.72) 0%, transparent 32%),
    linear-gradient(138deg, #18140f 0%, #1b1710 30%, #15120e 58%, #191510 80%, #121009 100%);
}
.gallery__ph--6 {
  /* Shot 6: Empty sanctuary — private room waiting, quiet luxury */
  background:
    radial-gradient(ellipse at 56% 42%, rgba(102, 76, 42, 0.66) 0%, rgba(72, 52, 28, 0.40) 22%, rgba(44, 30, 14, 0.18) 42%, transparent 62%),
    radial-gradient(ellipse at 8%  56%, rgba(5, 4, 3, 0.92) 0%, transparent 42%),
    radial-gradient(ellipse at 90% 72%, rgba(6, 5, 3, 0.84) 0%, transparent 40%),
    radial-gradient(ellipse at 48% 5%,  rgba(7, 5, 4, 0.82) 0%, transparent 34%),
    radial-gradient(ellipse at 78% 28%, rgba(22, 16, 8, 0.48) 0%, transparent 36%),
    linear-gradient(154deg, #161209 0%, #191410 35%, #131009 60%, #181310 82%, #0f0d09 100%);
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 6: CULTURE
───────────────────────────────────────────────────────────── */
.culture {
  padding-block: var(--space-section);
  background: #161412; /* slightly more open — cultural legitimacy */
  position: relative;
}

.culture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196, 191, 184, 0.08) 30%, rgba(196, 191, 184, 0.08) 70%, transparent);
}

.culture__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.culture__headline {
  margin-bottom: clamp(28px, 3vw, 40px);
}

.culture__text p {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
  max-width: 600px;
  margin-bottom: 18px;
}

.culture__after {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--color-border);
}

.culture__inset {
  background: rgba(255, 255, 255, 0.032);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  border: 1px solid rgba(196, 191, 184, 0.12);
  border-top-color: rgba(196, 191, 184, 0.22);
  border-radius: var(--radius-inset);
  padding: clamp(32px, 4vw, 52px);
  position: sticky;
  top: 120px;
  transition: border-color 0.5s var(--ease-cinematic), box-shadow 0.5s var(--ease-cinematic), transform 0.5s var(--ease-cinematic);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 20px 56px rgba(0, 0, 0, 0.36),
    0 4px 16px rgba(0, 0, 0, 0.20);
}

.culture__inset:hover {
  border-color: rgba(196, 191, 184, 0.24);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 32px 80px rgba(0, 0, 0, 0.42),
    0 8px 24px rgba(0, 0, 0, 0.24);
}

.inset__eyebrow {
  display: block;
  font-size: var(--size-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-quiet-accent);
  margin-bottom: 16px;
}

.inset__body {
  font-size: var(--size-body);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
  margin-bottom: 28px;
}

.inset__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--size-detail);
  color: var(--color-quiet-accent);
  letter-spacing: 0.04em;
  transition: gap 0.4s var(--ease-cinematic), opacity 0.3s;
}

.inset__link::after {
  content: '→';
  transition: transform 0.4s var(--ease-cinematic);
}

.inset__link:hover {
  opacity: 0.8;
}

.inset__link:hover::after {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 7: JOURNEY
───────────────────────────────────────────────────────────── */
.journey {
  padding-block: var(--space-section);
  background: var(--color-soft-body);
  position: relative;
  overflow: hidden;
}

.journey::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 38%, rgba(52, 38, 20, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 72%, rgba(20, 15, 8, 0.22) 0%, transparent 50%);
  pointer-events: none;
}

.journey__head {
  max-width: 600px;
  margin-bottom: var(--space-inner);
}

.journey__headline {
  margin-bottom: 16px;
}

.journey__sub {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
}

.journey__steps {
  max-width: 720px;
  position: relative;
}

/* Continuous architectural light path — V4: light-guided ritual entry */
.journey__steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(154, 118, 56, 0.25) 0%,
    rgba(154, 143, 110, 0.14) 40%,
    rgba(154, 143, 110, 0.07) 75%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(154, 118, 56, 0.08);
  pointer-events: none;
}

.journey__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
}

.step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.step__num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--color-quiet-accent);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 12px;
}

.step__line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom,
    rgba(154, 118, 56, 0.55) 0%,
    rgba(154, 143, 110, 0.25) 50%,
    rgba(154, 143, 110, 0) 100%
  );
  position: relative;
}

/* Soft architectural glow around the step line */
.step__line::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 0;
  bottom: 0;
  background: inherit;
  filter: blur(3px);
  opacity: 0.5;
}

.step__body {
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--color-border);
}

.step__title {
  font-family: var(--font-sans);
  font-size: var(--size-sub);
  font-weight: 400;
  color: var(--color-calm-contrast);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.step__desc {
  font-size: var(--size-body);
  color: var(--color-dim-text);
  line-height: var(--leading-body);
}

.journey__step--last .step__body {
  border-bottom: none;
}

.step__final {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  line-height: 1.5;
}

.step__final em {
  font-style: italic;
  color: var(--color-quiet-accent);
}

/* ─────────────────────────────────────────────────────────────
   SCREEN 8: FINAL CTA
───────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-block: var(--space-section);
  background: #0b0a09; /* самый глубокий тон — монументальное завершение */
}

.final-cta__bg {
  position: absolute;
  inset: 0;
}

.final-cta__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(154, 143, 110, 0.16) 0%, rgba(120, 108, 76, 0.09) 20%, rgba(90, 80, 55, 0.04) 42%, transparent 66%),
    radial-gradient(ellipse at 50% 50%, rgba(165, 158, 140, 0.06) 0%, transparent 78%),
    radial-gradient(ellipse at 50% 44%, rgba(196, 188, 162, 0.04) 0%, transparent 92%);
  animation: haze-drift var(--dur-ambient) ease-in-out infinite alternate;
}

/* Монументальная тишина — дополнительные тёмные края */
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 9, 8, 0.4) 0%, transparent 20%, transparent 80%, rgba(10, 9, 8, 0.4) 100%),
    linear-gradient(to bottom, rgba(10, 9, 8, 0.3) 0%, transparent 15%, transparent 80%, rgba(10, 9, 8, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

/* V4: Chamber-like concentric light rings — architectural closure */
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 28%, rgba(154, 143, 110, 0.022) 33%, transparent 38%),
    radial-gradient(ellipse at 50% 50%, transparent 46%, rgba(154, 143, 110, 0.015) 51%, transparent 56%),
    radial-gradient(ellipse at 50% 50%, transparent 63%, rgba(154, 143, 110, 0.010) 67%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

.final-cta__content { z-index: 2; }

.final-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4vw, 48px);
}

.final-cta__headline {
  max-width: 800px;
}

.line-wrap--em .line-inner {
  color: var(--color-quiet-accent);
  font-style: italic;
}

.final-cta__note {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────────── */
.faq {
  padding-block: var(--space-section-sm);
  background: var(--color-soft-body);
}

.faq__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  margin-bottom: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
}

.faq__list {
  max-width: 720px;
}

.faq__item {
  border-top: 1px solid var(--color-border);
  transition: background 0.5s var(--ease-cinematic);
  border-radius: 4px;
  padding-inline: 0;
}

.faq__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.faq__item.is-open {
  background: rgba(255, 255, 255, 0.018);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  text-align: left;
  font-size: var(--size-sub);
  color: var(--color-calm-contrast);
  font-weight: 300;
  cursor: pointer;
  transition: color 0.4s, letter-spacing 0.5s var(--ease-cinematic);
}

.faq__question:hover {
  color: #e8e4df;
}

.faq__item.is-open .faq__question {
  color: #e8e4df;
  letter-spacing: 0.005em;
}

.faq__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--color-calm-contrast);
  transition: transform 0.5s var(--ease-cinematic);
}

.faq__icon::before {
  width: 14px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__item.is-open .faq__icon {
  opacity: 0.9;
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-cinematic), opacity 0.4s;
  opacity: 0;
}

.faq__answer.is-open {
  opacity: 1;
}

.faq__answer p {
  padding-bottom: 28px;
  padding-top: 2px;
  font-size: var(--size-body);
  color: rgba(196, 191, 184, 0.72);
  line-height: var(--leading-loose);
  max-width: 580px;
  border-top: 1px solid rgba(196, 191, 184, 0.05);
}

/* ─────────────────────────────────────────────────────────────
   REPEAT CTA
───────────────────────────────────────────────────────────── */
.repeat-cta {
  padding-block: var(--space-section-sm);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  background: #0c0b0a;
}

/* Afterglow of the emotional journey — warm amber residue */
.repeat-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(80, 58, 28, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse at 82% 50%, rgba(60, 44, 20, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.repeat-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}

.repeat-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--color-calm-contrast);
  line-height: 1.45;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────
   CONTACTS
───────────────────────────────────────────────────────────── */
.contacts {
  padding-block: var(--space-section-sm);
  background: var(--color-soft-body);
  border-top: 1px solid var(--color-border);
}

.contacts__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contacts__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--color-calm-contrast);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.contacts__address {
  margin-bottom: 32px;
}

.contacts__address p {
  font-size: var(--size-sub);
  color: var(--color-dim-text);
  margin-bottom: 4px;
}

.contacts__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 14px;
  border-top: 1px solid var(--color-border);
  gap: 16px;
}

.contact-row__label {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.contact-row__value {
  font-size: var(--size-body);
  color: var(--color-calm-contrast);
  text-align: right;
}

.contact-row__link {
  transition: color 0.3s;
}

.contact-row__link:hover {
  color: var(--color-quiet-accent);
}

.contacts__map {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 360px;
}

.map__placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(30, 26, 20, 0.8) 0%, transparent 60%),
    linear-gradient(to bottom right, #181512 0%, #141210 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map__placeholder span {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  opacity: 0.4;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.footer {
  padding-block: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--color-border);
  background: var(--color-soft-body);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-calm-contrast);
  letter-spacing: 0.04em;
}

.footer__tagline {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: 0.02em;
  max-width: 240px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer__nav a {
  font-size: var(--size-detail);
  color: var(--color-dim-text);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: var(--color-calm-contrast);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer__copy,
.footer__legal-link,
.footer__disclaimer {
  font-size: 11px;
  color: rgba(196, 191, 184, 0.35);
  letter-spacing: 0.02em;
}

.footer__legal-link {
  transition: color 0.3s;
}

.footer__legal-link:hover {
  color: var(--color-dim-text);
}

.footer__disclaimer {
  max-width: 280px;
  margin-left: auto;
  margin-top: 8px;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   SCROLL REVEAL STATES — initial (JS sets visible)
───────────────────────────────────────────────────────────── */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s var(--ease-cinematic), transform 1.2s var(--ease-cinematic);
}

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

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

  .header__nav { gap: 20px; }
  .header__cta { display: none; }

  /* Rituals grid simplified */
  .rituals__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ritual-card:nth-child(1) { grid-column: 1 / 2; }
  .ritual-card:nth-child(2) { grid-column: 2 / 3; }
  .ritual-card:nth-child(3) { grid-column: 1 / 2; }
  .ritual-card:nth-child(4) { grid-column: 2 / 3; }
  .ritual-card:nth-child(5) { grid-column: 1 / 3; }

  /* Reboot body */
  .reboot__body { grid-template-columns: 1fr; gap: var(--space-gap); }
  .reboot__close { grid-template-columns: 1fr; gap: var(--space-gap); }

  /* Trust */
  .trust__block--accent { grid-template-columns: auto 1fr; gap: 24px; }
  .trust__block--research { grid-template-columns: 1fr; gap: var(--space-gap); }

  /* Culture */
  .culture__layout { grid-template-columns: 1fr; }
  .culture__inset { position: static; }

  /* Contacts */
  .contacts__layout { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: center; text-align: left; }
  .footer__legal { text-align: left; grid-column: 2 / 3; }

  /* Gallery simplified */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item--hero    { grid-column: 1 / 3; grid-row: 1; }
  .gallery__item--medium  { grid-column: 1 / 2; grid-row: 2; }
  .gallery__item--detail  { grid-column: 2 / 3; grid-row: 2; }
  .gallery__item--wide    { grid-column: 1 / 3; grid-row: 3; }
  .gallery__item--portrait{ grid-column: 1 / 2; grid-row: 4; }
  .gallery__item--square  { grid-column: 2 / 3; grid-row: 4; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 767px)
───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {

  /* Header */
  .header__nav { display: none; }
  .header__burger { display: flex; }

  /* Hero */
  .hero {
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero__text-zone { max-width: 100%; }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-cta--lg {
    padding: 16px 32px;
    width: 100%;
    justify-content: center;
  }

  /* Overload */
  .overload__smear { display: none; } /* performance */

  /* Reboot */
  .reboot__body { grid-template-columns: 1fr; }
  .reboot__close { grid-template-columns: 1fr; }

  /* Trust */
  .trust__block--accent {
    grid-template-columns: 1fr;
  }
  .trust__h2-label { font-size: 56px; }

  /* Rituals */
  .rituals__grid { grid-template-columns: 1fr; }
  .ritual-card:nth-child(n) { grid-column: 1 / -1; }
  .ritual-card { min-height: 300px; }

  /* Gallery — one column, large */
  .gallery__grid { grid-template-columns: 1fr; padding-inline: 12px; }
  .gallery__item { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .gallery__item--hero .gallery__img-placeholder { min-height: 360px; }

  /* Culture */
  .culture__layout { grid-template-columns: 1fr; }
  .culture__inset { position: static; }

  /* Journey */
  .journey__step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  /* Final CTA */
  .final-cta .btn-cta--lg {
    width: 100%;
  }

  /* Contacts */
  .contacts__layout { grid-template-columns: 1fr; }
  .contacts__cta { width: 100%; justify-content: center; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__legal { text-align: left; }
  .footer__disclaimer { margin-left: 0; }

  /* Repeat CTA */
  .repeat-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .grain,
  .hero__haze,
  .final-cta__light,
  .scroll-hint__line,
  .overload__city-anim {
    animation: none !important;
  }

  .line-inner {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero__sub,
  .hero__actions,
  .hero__bullets,
  .symptom-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .journey__step {
    opacity: 1 !important;
    transform: none !important;
  }
}
