/**
 * DALI — Hybrid Editorial Grid
 * Source: dali_grid_spec.txt
 */

:root {
  /* Tokens: dali_new_grid_fullpage.html */
  --bg: #fdfbf7;
  --cream: var(--bg);
  --ivory: #f0ebe3;
  --bg-contact: #f5f0e9;
  --stone: #e4dace;
  --text: #26231f;
  --body-text: #45403a;
  --muted: #6b655d;
  --cocoa: var(--muted);
  --sage: #5a6656;
  --line: rgba(38, 35, 31, 0.12);
  --rule: var(--line);
  --font-display: "Cormorant Garamond", serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-size: 14px;
  --body-line: 1.72;
  --body-tracking: 0.01em;
  --vgap: 120px;
  --section-pad: 120px;
}

/* ── 0. BASE CONTAINER ───────────────────────────── */
.container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-inline: 4rem;
  }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1536px; }
}

/* ── RESET & BASE ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  background: var(--bg);
  padding-top: 120px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.serif { font-family: var(--font-display); }

/* Type scale — dali_new_grid_fullpage.html */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.04;
  color: var(--text);
}
h1 { font-size: clamp(56px, 6vw, 92px); margin-bottom: 20px; }
h2 { font-size: clamp(36px, 4vw, 60px); margin-bottom: 20px; }
h3 { font-size: 26px; margin-bottom: 12px; }
h4 { font-size: 26px; margin-bottom: 12px; }

p {
  color: var(--body-text);
  margin-bottom: 16px;
}
p:last-child { margin-bottom: 0; }

.eyebrow,
.pillars-kicker,
.process-kicker,
.pillar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 16px;
}
.pillar-label { letter-spacing: 0.18em; color: var(--muted); }

/* Animated underline link — dali_new_grid_fullpage.html */
.dali-link,
.link-arr {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 20px;
  border: none;
}
.dali-link::after,
.link-arr::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 28%;
  max-width: 72px;
  background-color: var(--text);
  transform-origin: left center;
  transition: width 260ms ease-out, max-width 260ms ease-out, background-color 260ms ease-out;
}
.dali-link:hover,
.link-arr:hover { color: var(--text); }
.dali-link:hover::after,
.link-arr:hover::after {
  width: 100%;
  max-width: 100%;
}

.btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.btn {
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover {
  border-color: var(--text);
}
.btn.primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn.primary:hover {
  background: var(--muted);
  border-color: var(--muted);
}

/* ── HEADER (aligned to container width) ─────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.site-header.scrolled {
  border-bottom-color: transparent;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
}
.site-header.hidden { transform: translateY(-100%); }

.hdr-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  padding-block: 24px;
  transition: padding 0.4s ease;
}
.site-header.scrolled .hdr-inner { padding-block: 12px; }

.hdr-left { display: flex; gap: 20px; margin-top: 4px; }
.hdr-right { display: flex; justify-content: flex-end; margin-top: 4px; }
.hdr-icon { color: var(--cocoa); transition: color 0.3s ease; }
.hdr-icon:hover { color: var(--text); }
.hdr-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdr-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 30px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
  transition: font-size 0.4s ease;
}
.site-header.scrolled .wordmark { font-size: 26px; }
.tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 10px;
  transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease;
}
.site-header.scrolled .tagline {
  opacity: 0;
  height: 0;
  margin-top: 0;
  overflow: hidden;
}

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  color: var(--text);
}
.burger-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-top: 2px;
}
.burger-icon {
  width: 24px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.burger-icon span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.sidebar-overlay.open { opacity: 1; pointer-events: all; }

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(440px, 100vw);
  height: 100vh;
  background: var(--bg);
  z-index: 1000;
  transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 120px 1.5rem;
  border-left: 1px solid var(--line);
}
.sidebar.open { right: 0; }
.sidebar-close {
  position: absolute;
  top: 24px;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 300;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.sidebar-nav a:hover { color: var(--muted); padding-left: 8px; }

/* Section rhythm — fullpage */
.s-intro,
.s-founder,
.s-services,
.s-promise,
.s-process,
.s-horizon,
.s-cases,
.s-contacts {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--line);
}

/* ── 1. HERO (full-bleed) ────────────────────────── */
.s-hero--fullscreen {
  padding: 0;
  margin-top: -120px;
  border-bottom: 1px solid var(--line);
  min-height: 100svh;
  min-height: 100vh;
}
.hero-media--fullscreen {
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--stone);
  border-radius: 0;
  aspect-ratio: unset;
}
.hero-media--fullscreen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    15deg,
    rgba(38, 35, 31, 0.55) 0%,
    rgba(38, 35, 31, 0.15) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-media--fullscreen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(253, 251, 247, 0.1) 0%,
    transparent 45%,
    rgba(38, 35, 31, 0.06) 100%
  );
  pointer-events: none;
}
.hero-media--fullscreen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.94) contrast(0.98);
}

/* ── 1b. INTRO (текст после hero) ───────────────── */
.s-intro {
  padding-top: 6.5rem;
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

/* Вступление после hero — 12 колонок: заголовок 2–5, текст 7–11 (как референс) */
.intro-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.intro-split__title {
  text-align: left;
}
.intro-split__h1 {
  font-size: clamp(40px, 3.8vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 0;
}
.intro-split__h1-line {
  display: block;
}
.intro-split__body {
  max-width: 40ch;
  padding-top: 0.75rem;
}

@media (min-width: 1024px) {
  .intro-split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    align-items: start;
  }
  .intro-split__title {
    grid-column: 2 / span 4;
    max-width: none;
  }
  .intro-split__body {
    grid-column: 7 / span 5;
    max-width: none;
    padding-top: 1.25rem;
  }
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text p {
  max-width: 560px;
  margin-inline: auto;
}

/* Hero media в контейнере (горизонт-пауза и т.п.) */
.hero-media {
  aspect-ratio: 21 / 9;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* ── FOUNDER (split, same grid as approach) ──────── */
.s-founder {
  background: var(--bg);
}

/* ── 2. FORMATS / SERVICES ───────────────────────── */
.pillars-head {
  max-width: 640px;
  margin: 0 auto clamp(56px, 7vw, 112px);
  text-align: center;
}
.pillars-head h2 { margin-bottom: 20px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: stretch;
}

.pillar,
.pillar-card {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.pillar--link {
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.35s ease;
}
.pillar--link,
.pillar--link * {
  cursor: pointer;
}
.pillar--link:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 4px;
}

.pillar-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
  margin-bottom: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 21, 0.38);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(0.9);
  transition: filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar h3,
.pillar-body h3 {
  font-size: 26px;
  margin-bottom: 12px;
  transition: color 0.35s ease;
}
.pillar--link > p,
.pillar--link h3 {
  transition: color 0.35s ease;
}
.pillar .dali-link {
  align-self: flex-start;
  pointer-events: none;
}

/* Одно состояние наведения на всю карточку: фото, текст и CTA */
@media (hover: hover) {
  .pillar--link:where(:hover, :focus-visible) .pillar-media {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(38, 35, 31, 0.1);
  }
  .pillar--link:where(:hover, :focus-visible) .pillar-media::after {
    opacity: 0;
  }
  .pillar--link:where(:hover, :focus-visible) .pillar-media img {
    filter: brightness(1) saturate(1);
  }
  .pillar--link:where(:hover, :focus-visible) .pillar-label,
  .pillar--link:where(:hover, :focus-visible) h3,
  .pillar--link:where(:hover, :focus-visible) > p:not(.pillar-label) {
    color: var(--text);
  }
  .pillar--link:where(:hover, :focus-visible) .dali-link {
    color: var(--text);
  }
  .pillar--link:where(:hover, :focus-visible) .dali-link::after {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pillar-media img,
  .pillar-media::after,
  .pillar-media {
    transition: none;
  }
  @media (hover: hover) {
    .pillar--link:where(:hover, :focus-visible) .pillar-media {
      transform: none;
    }
  }
}

/* ── 4. APPROACH / SPLIT (promise + founder) ─────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 8.33%;
  align-items: center;
}
.split-media {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-text {
  max-width: 460px;
}
.split-text h2 { margin-bottom: 20px; }

/* ── 2. FOUNDER LETTER ───────────────────────────── */
.s-founder {
  background: var(--bg);
  border-bottom: none;
}
.founder-letter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.founder-letter__media {
  aspect-ratio: 4 / 5;
  width: min(100%, 200px);
  margin-bottom: clamp(28px, 4vw, 40px);
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
}
.founder-letter__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-letter__kicker {
  margin-bottom: clamp(12px, 1.5vw, 20px);
}
.founder-letter__title {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.06;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.founder-letter__body {
  max-width: 52ch;
}
.founder-letter__quote {
  margin: 0;
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--text);
  text-rendering: optimizeLegibility;
}
.founder-letter__sig {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 1.25rem;
  margin-bottom: 0;
}
.founder-letter__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 1.5rem;
  margin-top: clamp(40px, 5vw, 56px);
}
.founder-letter__links .dali-link {
  margin-top: 0;
}
.founder-letter__sep {
  color: var(--muted);
  opacity: 0.45;
  user-select: none;
}

@media (min-width: 1024px) {
  .founder-letter {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
  }
  .founder-letter__media {
    grid-column: 2 / span 4;
    grid-row: 1 / span 2;
    align-self: start;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }
  .founder-letter__kicker {
    grid-column: 7 / span 6;
    grid-row: 1;
    align-self: end;
    margin-bottom: clamp(16px, 2vw, 24px);
  }
  .founder-letter__body {
    grid-column: 7 / span 6;
    grid-row: 1;
    align-self: start;
    max-width: none;
  }
  .founder-letter__quote {
    max-width: 26ch;
  }
  .founder-letter__links {
    grid-column: 7 / span 6;
    grid-row: 2;
    margin-top: clamp(40px, 5vw, 56px);
  }
}

.split-sig {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: 0;
  margin-top: 2rem;
  color: var(--text);
}
.split-sig .split-role {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  color: var(--text-muted);
}

.s-promise {
  background: var(--bg);
  border-bottom: none;
}

/* ── 5. PROCESS — editorial diptych ──────────────── */
.s-process {
  padding-block: clamp(160px, 14vw, 220px);
  border-bottom: none;
}

.process-diptych {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.process-diptych__media {
  aspect-ratio: 4 / 5;
  width: min(100%, 280px);
  margin-bottom: clamp(40px, 5vw, 56px);
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
}
.process-diptych__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-diptych__head {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.process-diptych__head h2 {
  margin-bottom: clamp(16px, 2vw, 24px);
}
.process-diptych__intro,
.process-brief {
  max-width: 46ch;
  color: var(--body-text);
}
.process-diptych__head .dali-link {
  margin-top: clamp(24px, 3vw, 36px);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  padding-block: clamp(36px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line);
}
.process-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--sage);
  opacity: 0.55;
  min-width: 2.5ch;
}

.process-step__body h3 {
  font-size: clamp(22px, 2.2vw, 26px);
  margin-bottom: 12px;
}
.process-step__body p {
  max-width: 42ch;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .process-diptych {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    align-items: start;
  }
  .process-diptych__media {
    grid-column: 1 / span 5;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    position: sticky;
    top: calc(120px + 2rem);
  }
  .process-diptych__content {
    grid-column: 7 / span 6;
    grid-row: 1;
  }
  .process-diptych__intro,
  .process-brief {
    max-width: 48ch;
  }
}

.page-process .s-process-intro {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.page-process .s-process {
  padding-top: clamp(56px, 7vw, 88px);
}
.page-process .process-diptych__kicker {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.page-process .process-step__body h2 {
  font-size: clamp(22px, 2.2vw, 26px);
  margin-bottom: 12px;
}
.process-page__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 1.5rem;
  margin-top: clamp(40px, 5vw, 56px);
}
.process-page__nav .dali-link {
  margin-top: 0;
}

/* ── HORIZON (full-bleed + quote bottom-left) ─────── */
.s-horizon {
  padding: 0;
  padding-block: 0;
  border-bottom: none;
}
.horizon-media {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 42vw, 520px);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--stone);
}
.horizon-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    15deg,
    rgba(38, 35, 31, 0.55) 0%,
    rgba(38, 35, 31, 0.15) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.horizon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-quote,
.horizon-quote {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 80px);
  bottom: clamp(28px, 5vw, 56px);
  max-width: min(28rem, 42vw);
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: 0;
  color: #fdfbf7;
  text-shadow: 0 1px 24px rgba(38, 35, 31, 0.35);
}
.hero-quote {
  left: 0;
  bottom: 0;
  font-size: 24px;
  padding: clamp(18px, 2.2vw, 26px) clamp(22px, 2.8vw, 32px);
  background: rgba(26, 24, 21, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0;
  text-shadow: none;
}

/* ── 6. STORIES (cases) — diptych 2× (Aman ref) ──── */
/*
 * Колонки: 2fr / 1fr (~67% / 33%), gutter 28px
 * Фото: одна высота; слева ~3:2, справа ~2:3 за счёт ширины колонки
 * Вертикаль: img→label 20px, label→title 10px, title→text 10px, text→link 20px
 */
.cases-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(56px, 7vw, 88px);
}
.cases-head__title {
  font-size: clamp(36px, 4vw, 60px);
  margin-bottom: 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(48px, 6vw, 64px);
  align-items: start;
}

.case-story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.case-story__media {
  width: 100%;
  overflow: hidden;
  background: var(--stone);
  margin-bottom: 20px;
}
.case-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-story:first-child .case-story__media {
  aspect-ratio: 3 / 2;
}
.case-story:last-child .case-story__media {
  aspect-ratio: 2 / 3;
}

.case-story__label {
  margin-bottom: 10px;
}
.case-story__label.eyebrow {
  margin-bottom: 10px;
}

.case-story__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 10px;
  font-size: clamp(24px, 2.2vw, 32px);
  max-width: 22ch;
}

.case-story__text {
  max-width: 46ch;
  margin-bottom: 0;
}

.case-story .dali-link {
  margin-top: 20px;
}

.cases-more {
  text-align: center;
  margin-top: clamp(64px, 8vw, 96px);
}
.cases-more .dali-link {
  margin-top: 0;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 0;
  }

  .case-story__media {
    /* 472px при контейнере ~1280px: левое фото ≈3:2, правое ≈2:3 при одной высоте */
    height: clamp(300px, 36.8vw, 472px);
    aspect-ratio: unset;
  }

  .case-story:first-child .case-story__media img {
    object-position: center 42%;
  }
  .case-story:last-child .case-story__media img {
    object-position: center 35%;
  }
}

/* ── 7. CONTACT ──────────────────────────────────── */
.s-contacts.contact {
  background: var(--bg-contact);
  text-align: center;
}
.s-contacts h2 { margin-bottom: 20px; }
.s-contacts .sub {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 0;
}
.contact-channels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
}
.contact-channels__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
.contact-channels__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-channels__value {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  color: var(--text);
  transition: color 0.25s ease;
}
.contact-channels__value:hover {
  color: var(--muted);
}
.contact-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 720px;
  margin: clamp(36px, 5vw, 56px) auto 0;
}
.contact-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 220px;
  min-height: 56px;
  padding: 14px 24px;
  border: none;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(38, 35, 31, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-social__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 35, 31, 0.12);
}
.contact-social__btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(38, 35, 31, 0.1);
}
.contact-social__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-social__icon--vk {
  fill: currentColor;
  stroke: none;
}
.contact-social__name {
  color: inherit;
  white-space: nowrap;
}
.contact-social__btn--telegram {
  background: #5d6d76;
}
.contact-social__btn--telegram:hover {
  background: #53636c;
}
.contact-social__btn--whatsapp {
  background: #5a6656;
}
.contact-social__btn--whatsapp:hover {
  background: #4f5a4c;
}
.contact-social__btn--vk {
  background: #5e6572;
}
.contact-social__btn--vk:hover {
  background: #545a66;
}
@media (max-width: 639px) {
  .contact-social {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
  }
  .contact-social__btn {
    flex: 1 1 auto;
    width: 100%;
    min-height: 60px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  padding-block: 32px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer span,
.site-footer a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.site-footer a {
  position: relative;
  padding-bottom: 2px;
}
.site-footer a:not(:last-child)::after {
  content: none;
}
.site-footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.hdr-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
}

/* ── HISTORY PAGE (Kingfisher timeline layout) ───── */
.page-history .s-history-intro {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: none;
}
.page-history .s-history-timeline {
  padding-top: 0;
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.history-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 0;
}
.history-intro__title {
  font-size: clamp(48px, 5.5vw, 80px);
  margin-bottom: 24px;
}
.history-intro__subtitle {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 32px;
}
.history-intro__lead {
  max-width: 58ch;
  margin-inline: auto;
  text-align: left;
}
.history-intro__lead p {
  margin-bottom: 20px;
}
/* Центральная ось + вехи слева/справа (без горизонтальных разделителей) */
.history-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
}
.history-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
  pointer-events: none;
}

.history-milestone {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: none;
}
.history-milestone:last-child {
  padding-bottom: 0;
}
.history-milestone::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: 9px;
  height: 9px;
  margin-top: 1.1em;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text);
  z-index: 1;
}
.history-milestone--present::after {
  background: var(--text);
}

.history-milestone__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 28px);
  max-width: none;
}
/* Слева от оси: текст → фото (к линии) */
.history-milestone:not(.history-milestone--reverse) .history-milestone__inner {
  grid-column: 1;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.history-milestone:not(.history-milestone--reverse) .history-milestone__content {
  text-align: right;
}
/* Справа от оси: фото → текст (от линии) */
.history-milestone--reverse .history-milestone__inner {
  grid-column: 3;
  flex-direction: row;
  justify-content: flex-start;
}

.history-milestone__media {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 260px);
  max-width: clamp(160px, 18vw, 260px);
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 4 / 5;
  min-height: 0;
}
.history-milestone__media--portrait {
  width: clamp(140px, 16vw, 220px);
  max-width: clamp(140px, 16vw, 220px);
  aspect-ratio: 3 / 4;
}
.history-milestone__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.94) contrast(0.98);
}
.history-milestone__media--portrait img {
  object-position: center 20%;
}

.history-milestone__year {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  margin: 0 0 20px;
}
.history-milestone--present .history-milestone__year {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 0.02em;
}

.history-milestone__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--text);
}
.history-milestone__content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 36ch;
}
.history-milestone__content p {
  max-width: none;
}

.history-milestone--present .history-milestone__content {
  padding: clamp(24px, 4vw, 40px);
  background: var(--ivory);
  border-radius: 2px;
}
.history-milestone__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
}
.history-milestone__links .dali-link {
  margin-top: 0;
}

@media (max-width: 767px) {
  .history-timeline::before {
    left: 11px;
    transform: none;
  }
  .history-milestone {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 20px;
  }
  .history-milestone::after {
    grid-column: 1;
    margin-top: 0.35em;
  }
  .history-milestone__inner,
  .history-milestone:not(.history-milestone--reverse) .history-milestone__inner,
  .history-milestone--reverse .history-milestone__inner {
    grid-column: 2;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .history-milestone:not(.history-milestone--reverse) .history-milestone__content {
    text-align: left;
  }
  .history-milestone__media,
  .history-milestone__media--portrait {
    width: min(200px, 58vw);
    max-width: min(200px, 58vw);
  }
  .history-milestone__content {
    max-width: none;
  }
}

/* ── ABOUT PAGE (Kingfisher Who We Are) ──────────── */
.page-about .s-about-intro {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.about-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.about-intro__title {
  font-size: clamp(48px, 5.5vw, 80px);
  margin-bottom: 24px;
}
.about-intro__subtitle {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 32px;
}
.about-intro__lead {
  max-width: 58ch;
  margin-inline: auto;
  text-align: left;
}
.about-intro__lead p {
  margin-bottom: 20px;
}

.page-about .s-about-facts {
  padding-block: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.about-facts__label {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}
.about-fact__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  margin: 0 0 8px;
}
.about-fact__unit {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 12px;
}
.about-fact__desc {
  font-size: var(--body-size);
  color: var(--body-text);
  margin: 0;
  max-width: 22ch;
  margin-inline: auto;
}

.page-about .s-about-brands {
  padding-block: clamp(96px, 12vw, 160px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.about-brands__label {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  text-align: center;
  margin-bottom: clamp(64px, 9vw, 112px);
}
.about-brands {
  list-style: none;
  margin: 0;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 960px;
  margin-inline: auto;
}
.about-brands > li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.about-brands__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.75vw, 22px);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}
.about-brands__name--sans {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.28em;
}
.about-brands__name--stack {
  font-size: clamp(14px, 1.5vw, 19px);
  letter-spacing: 0.16em;
}
.about-brands__name-line {
  display: block;
}
.about-brands__name-line + .about-brands__name-line {
  margin-top: 0.2em;
}
.about-brands__name--italic {
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.08em;
}

.page-about .s-about-values {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.about-value {
  padding-bottom: clamp(56px, 7vw, 88px);
}
.about-value:last-child {
  padding-bottom: 0;
}
.about-value__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
}
.about-value--reverse .about-value__media {
  order: -1;
}
.about-value__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text);
}
.about-value__text p {
  max-width: 48ch;
}
.about-value__media {
  margin: 0;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  min-height: clamp(360px, 42vw, 520px);
  justify-self: stretch;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
}
.about-value--reverse .about-value__media {
  justify-self: stretch;
}
.about-value__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.94) contrast(0.98);
}

.page-about .s-about-founder {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
@media (min-width: 1024px) {
  .page-about .founder-letter__media {
    grid-column: 2 / span 5;
    grid-row: 1 / span 5;
  }
  .page-about .founder-letter__kicker,
  .page-about .founder-letter__title,
  .page-about .founder-letter__body,
  .page-about .founder-letter__links {
    grid-column: 8 / span 5;
  }
}

.page-about .s-about-proof {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.about-proof__label {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.about-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 1080px;
  margin-inline: auto;
}
.about-proof__item {
  text-align: center;
  padding: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}
.about-proof__year {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--text);
  margin: 0 0 12px;
}
.about-proof__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  margin-bottom: 10px;
  color: var(--text);
}
.about-proof__meta {
  font-size: var(--body-size);
  color: var(--body-text);
  margin: 0;
}

.page-about .s-about-cta {
  padding-block: clamp(56px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
}
.about-cta__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  margin-bottom: 28px;
}
.about-cta__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
}
.about-cta__nav .dali-link {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-facts {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-value__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-value__media,
  .about-value--reverse .about-value__media {
    justify-self: stretch;
    width: 100%;
    max-width: min(480px, 92vw);
    min-height: clamp(320px, 55vw, 440px);
    order: -1;
  }
  .about-value--reverse .about-value__media {
    order: -1;
  }
}

@media (max-width: 520px) {
  .about-proof {
    grid-template-columns: 1fr;
  }
}

/* ── TOURS PAGE (Del Arte /tours layout) ─────────── */
.page-tours .s-tours-intro {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.tours-intro {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.tours-intro .eyebrow {
  margin-bottom: 20px;
}
.tours-intro__title {
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.06;
  margin-bottom: 28px;
}
.tours-intro__lead {
  max-width: 58ch;
  margin-inline: auto;
  text-align: left;
  color: var(--muted);
}

.page-tours .s-tours-catalog {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.tours-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.tours-filters__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.tours-filters__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tours-filter {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tours-filter:hover {
  border-color: var(--text);
}
.tours-filter.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.tours-empty {
  text-align: center;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.tours-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
}
.tours-grid__item {
  margin: 0;
}

.tour-card--link {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.tour-card--link,
.tour-card--link * {
  cursor: pointer;
}
.tour-card--link:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 4px;
}

.tour-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0 0 20px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 21, 0.38);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.86) saturate(0.9);
  transition: filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.tour-card__meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 10px;
}
.tour-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
  transition: color 0.35s ease;
}
.tour-card__excerpt {
  flex: 1 1 auto;
  margin-bottom: 16px;
  color: var(--body-text);
  transition: color 0.35s ease;
}
.tour-card .dali-link {
  align-self: flex-start;
  margin-top: auto;
  pointer-events: none;
}

@media (hover: hover) {
  .tour-card--link:where(:hover, :focus-visible) .tour-card__media {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(38, 35, 31, 0.1);
  }
  .tour-card--link:where(:hover, :focus-visible) .tour-card__media::after {
    opacity: 0;
  }
  .tour-card--link:where(:hover, :focus-visible) .tour-card__media img {
    filter: brightness(1) saturate(1);
  }
  .tour-card--link:where(:hover, :focus-visible) .tour-card__title,
  .tour-card--link:where(:hover, :focus-visible) .tour-card__excerpt {
    color: var(--text);
  }
  .tour-card--link:where(:hover, :focus-visible) .dali-link {
    color: var(--text);
  }
  .tour-card--link:where(:hover, :focus-visible) .dali-link::after {
    width: 100%;
    max-width: 100%;
  }
}

.tours-load {
  margin-top: clamp(48px, 6vw, 64px);
  text-align: center;
}

.page-tours .s-tours-cta {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.tours-cta__head {
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 64px);
  text-align: center;
}
.tours-cta__title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  margin-bottom: 20px;
}
.tours-cta__lead {
  color: var(--muted);
  margin: 0;
}
.tours-cta__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 1080px;
  margin-inline: auto;
}
.tours-cta__card {
  padding: clamp(28px, 4vw, 36px);
  background: var(--bg);
  border-radius: 2px;
  border: 1px solid var(--line);
}
.tours-cta__card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 12px;
}
.tours-cta__card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 300;
  margin-bottom: 14px;
  color: var(--text);
}
.tours-cta__card-text {
  margin-bottom: 20px;
}
.tours-cta__card .dali-link {
  margin-top: 0;
}

@media (max-width: 1023px) {
  .tours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tours-cta__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}
@media (max-width: 599px) {
  .tours-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* ── SCROLL REVEAL (главная, тихая роскошь) ──────── */
@keyframes daliHeroReveal {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.page-home .hero-reveal {
  animation: daliHeroReveal 1.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.has-scroll-reveal .page-home .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.has-scroll-reveal .page-home .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.has-scroll-reveal .page-home .reveal--soft {
  transform: translate3d(0, 18px, 0);
}

html.has-scroll-reveal .page-home .reveal--slow {
  transition-duration: 1.45s, 1.45s;
}

html.has-scroll-reveal .page-home .reveal--image {
  transform: translate3d(0, 16px, 0) scale(1.025);
}

html.has-scroll-reveal .page-home .reveal--image.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

html.has-scroll-reveal .page-home .reveal--from-left {
  transform: translate3d(-20px, 12px, 0);
}

html.has-scroll-reveal .page-home .reveal--from-left.is-visible {
  transform: translate3d(0, 0, 0);
}

html.has-scroll-reveal .page-home .reveal--from-right {
  transform: translate3d(20px, 12px, 0) scale(1.025);
}

html.has-scroll-reveal .page-home .reveal--from-right.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-reveal {
    animation: none;
  }
  html.has-scroll-reveal .page-home .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1023px) {
  body { padding-top: 96px; }
  .s-hero--fullscreen { margin-top: -96px; }
  :root { --section-pad: 80px; }
  .s-process {
    padding-block: clamp(100px, 16vw, 140px);
  }
  .process-diptych__media {
    width: 100%;
    max-width: 360px;
  }
  .pillars-grid,
  .split,
  .split-text { max-width: none; }
  .pillar-body { max-width: 100%; }
  .burger-label { display: none; }
}

@media (min-width: 1024px) {
  .sidebar { padding-inline: 4rem; }
  .sidebar-close { right: 4rem; }
}
