/* ============ 8эйт · Теплицы — sub-brand theme ============
   Базовые токены, wordmark, header, gswitch, footer-group, sticky-cta
   идентичны главному сайту (handoff раздел 2 и 4).
   Секции, специфичные для теплиц, — в конце файла.
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-warm: #efece5;
  --ink: #15140f;
  --ink-mute: #6c6a60;
  --ink-dim: #b3b0a4;
  --line: rgba(21,20,15,0.10);
  --line-strong: rgba(21,20,15,0.22);
  --line-soft: rgba(21,20,15,0.05);

  --on-dark: #f5f3ee;
  --on-dark-mute: #9a978c;

  --dark: #16140f;

  --font-display: "Onest", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Onest", "Helvetica Neue", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01","cv01"; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }

/* ===== Layout ===== */
.inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}
@media (max-width: 720px) { .inner { padding-left: 20px; padding-right: 20px; } }

/* ===== Type ===== */
.headline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}
.h-section { font-size: clamp(34px, 4.5vw, 64px); }
.h-card { font-size: clamp(24px, 2.6vw, 36px); }
.serif {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: -0.005em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, #fff 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  /* Полное определение в HEADER LAYOUT FIX ниже (4 колонки: wordmark | gswitch | nav | right) */
  align-items: center;
  height: 88px;
}
.header-logo {
  display: flex; align-items: center;
  height: 52px;
}
.header-logo img { height: 100%; width: auto; display: block; }

/* Wordmark — same as subsites */
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  line-height: 1;
}
.wordmark .wm-inf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 22px;
}
.wordmark .wm-inf svg {
  width: 100%; height: 100%; overflow: visible;
}
.wordmark .wm-inf svg path {
  stroke-dasharray: 220;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s cubic-bezier(.7,0,.2,1);
}
.wordmark:hover .wm-inf svg path {
  animation: infTrace 1.6s cubic-bezier(.7,0,.2,1);
}
@keyframes infTrace {
  0% { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: 0; }
}
.wordmark .wm-text { letter-spacing: 0.16em; }

.wordmark-lg { font-size: 32px; }
.wordmark-lg .wm-inf { width: 56px; height: 28px; }

/* Footer wordmark white */
.footer .wordmark { color: var(--on-dark); }
.header-nav {
  display: flex; gap: 36px; align-items: center;
  justify-content: center;
}
.header-nav a {
  font-size: 14px; color: var(--ink); letter-spacing: 0; padding: 6px 0; position: relative;
  transition: color .2s;
}
.header-nav a:hover { color: var(--ink-mute); }
.header-right { display: flex; gap: 18px; align-items: center; }
.header-tel {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink); letter-spacing: 0.02em;
  line-height: 1.3; text-align: right;
}
.header-tel small { display: block; color: var(--ink-mute); font-size: 11px; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--on-dark);
  font-size: 13px; font-weight: 500;
  transition: background .2s, transform .2s;
}
.btn-dark:hover { background: #2a2820; transform: translateY(-1px); }
@media (max-width: 980px) {
  /* HEADER LAYOUT FIX уже выставляет 3 колонки: auto 1fr auto.
     Прячем nav и телефон, gswitch остаётся между лого и кнопкой Связаться. */
  .header-row { height: 72px; }
  .header-logo { height: 40px; }
  .header-nav, .header-tel { display: none; }
}
@media (max-width: 640px) {
  /* На самых маленьких — gswitch тоже скрываем, остаётся только лого + бургер */
  .header-row > .gswitch { display: none; }
}

/* ============================== HERO SLIDER ============================== */
.hero {
  padding: 32px 0 0;
  position: relative;
}
.hero-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}
@media (max-width: 720px) { .hero-frame { aspect-ratio: 4 / 5; } }

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.slide.active .slide-img { transform: scale(1.08); }

/* Slide overlay UI */
.slide-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 28px 32px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.slide-meta .left { display: flex; flex-direction: column; gap: 10px; pointer-events: auto; }
.slide-meta .right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: auto; }
.slide-section {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.slide-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em; line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.slide-title .serif { font-weight: 500; }
.slide-cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  margin-top: 8px;
  transition: background .2s, transform .2s;
}
.slide-cta-pill:hover { background: #fff; transform: translateY(-1px); }
.slide-counter {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.95);
}
.slide-caption {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
  max-width: 280px; text-align: right;
}

/* Hero controls bar (below image) */
.hero-controls {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
  border-top: 0;
}
.hero-tabs { display: flex; gap: 4px; align-items: center; }
.hero-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px 22px 14px 14px;
  border-radius: 0;
  border-left: 1px solid var(--line);
  position: relative;
  transition: background .25s;
}
.hero-tab:first-child { border-left: 0; padding-left: 0; }
.hero-tab .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0.06em; }
.hero-tab .name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-mute);
  text-transform: uppercase;
  transition: color .2s;
}
.hero-tab .domain { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0; }
.hero-tab.active .name { color: var(--ink); }
.hero-tab.active .num { color: var(--ink); }
.hero-tab .bar {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.hero-tab.active .bar { transform: scaleX(1); }
.hero-tab:first-child .bar { left: 0; }

.hero-progress {
  display: flex; gap: 4px; align-items: center; justify-content: center;
}
.hero-progress .dot {
  width: 24px; height: 2px; background: var(--line-strong);
  position: relative; overflow: hidden;
  border-radius: 99px;
}
.hero-progress .dot.active::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 100%; background: var(--ink);
  animation: dotFill var(--cycle, 5s) linear forwards;
  transform-origin: left; transform: scaleX(0);
}
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-progress .dot.done::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
}

.hero-arrows {
  display: flex; gap: 8px;
}
.hero-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================== SEO LEAD ============================== */
.lead-band {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--line);
}
.lead-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 980px) { .lead-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .lead-grid { grid-template-columns: 1fr; gap: 32px; } }
.lead-head h2 {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead-head h2 .serif { font-weight: 500; }
.lead-pillar h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.lead-pillar p { font-size: 14px; line-height: 1.55; color: var(--ink-mute); }

/* ============================== DIRECTIONS ============================== */
.section { padding: 140px 0; }
.section + .section { padding-top: 0; }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 36px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 28px; } }
.section-head .lead { color: var(--ink-mute); font-size: 15px; line-height: 1.55; max-width: 460px; }

/* Direction row */
.dir {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 140px;
}
.dir:last-child { margin-bottom: 0; }
.dir.flip { grid-template-columns: 1fr 1.05fr; }
.dir.flip .dir-text { order: 2; }
.dir.flip .dir-photos { order: 1; }
@media (max-width: 980px) {
  .dir, .dir.flip { grid-template-columns: 1fr; gap: 36px; margin-bottom: 100px; }
  .dir.flip .dir-text { order: 1; }
  .dir.flip .dir-photos { order: 2; }
}

.dir-text { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.dir-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase;
}
.dir-eyebrow .roman {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 38px; line-height: 1; color: var(--ink-dim);
  letter-spacing: -0.02em;
  text-transform: none;
}
.dir-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 0.95; letter-spacing: -0.02em;
  text-transform: uppercase; text-wrap: balance;
}
.dir-text h3 .serif { text-transform: none; font-weight: 500; }
.dir-text p { font-size: 15.5px; line-height: 1.6; color: var(--ink); max-width: 500px; text-wrap: pretty; }
.dir-text p.dim { color: var(--ink-mute); font-size: 14px; }

.dir-specs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dir-spec { display: flex; gap: 14px; align-items: baseline; }
.dir-spec .ri {
  font-family: var(--font-serif); font-style: italic; color: var(--ink-dim);
  font-size: 14px; min-width: 18px;
}
.dir-spec .t {
  font-size: 13.5px; line-height: 1.45; color: var(--ink);
}
.dir-spec .t b { font-weight: 600; }

.dir-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dir-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  background: var(--ink); color: var(--on-dark);
  font-size: 14px; font-weight: 500;
  transition: background .2s, transform .2s;
}
.dir-cta:hover { background: #2a2820; transform: translateY(-1px); }
.dir-cta .arrow { transition: transform .2s; }
.dir-cta:hover .arrow { transform: translateX(3px); }
.dir-cta-link {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 13px; color: var(--ink-mute);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.dir-cta-link b { color: var(--ink); font-weight: 500; }

/* Direction photo collage */
.dir-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.dir-photo {
  background-size: cover; background-position: center;
  border-radius: 0;
}
.dir-photos.layout-A .dir-photo:nth-child(1) { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
.dir-photos.layout-A .dir-photo:nth-child(2) { aspect-ratio: 3 / 4; }
.dir-photos.layout-A .dir-photo:nth-child(3) { aspect-ratio: 3 / 4; }

.dir-photos.layout-B .dir-photo:nth-child(1) { aspect-ratio: 3 / 4; grid-row: 1 / 3; }
.dir-photos.layout-B .dir-photo:nth-child(2) { aspect-ratio: 4 / 3; }
.dir-photos.layout-B .dir-photo:nth-child(3) { aspect-ratio: 4 / 3; }

.dir-photos.layout-C .dir-photo:nth-child(1) { grid-column: 1 / 3; aspect-ratio: 21 / 9; }
.dir-photos.layout-C .dir-photo:nth-child(2) { aspect-ratio: 1; }
.dir-photos.layout-C .dir-photo:nth-child(3) { aspect-ratio: 1; }

.dir-photo-caption {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}

/* ============================== ABOUT ============================== */
.about {
  background: var(--bg-warm);
  padding: 120px 0;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-body { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.about-body p { font-size: 17.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.about-body p.dim { color: var(--ink-mute); font-size: 15px; line-height: 1.6; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-pillar {
  background: var(--bg-warm);
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.about-pillar .label { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.about-pillar .v { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1; }
.about-pillar .v .serif { font-weight: 500; text-transform: none; color: var(--ink-mute); }
.about-pillar .h { font-size: 13px; color: var(--ink-mute); line-height: 1.45; }

/* ============================== PARTNERS ============================== */
.partners {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.partners-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) { .partners-row { grid-template-columns: 1fr; gap: 36px; } }

.partners-text h2 { margin-bottom: 24px; }
.partners-text p { font-size: 16px; line-height: 1.55; color: var(--ink-mute); max-width: 460px; }
.partners-text ul { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.partners-text ul li {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 14.5px; line-height: 1.5;
}
.partners-text ul li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 1px; background: var(--ink); transform: translateY(-4px);
}

.partners-form {
  background: var(--bg-soft);
  padding: 40px;
  border: 1px solid var(--line);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  font: inherit; color: var(--ink); font-size: 14.5px;
  transition: border-color .25s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.form-row input::placeholder { color: var(--ink-dim); }
.form-submit {
  margin-top: 12px;
  width: 100%; padding: 16px 22px;
  background: var(--ink); color: var(--on-dark); border-radius: 999px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s;
}
.form-submit:hover { background: #2a2820; }
.form-hint { font-size: 11px; color: var(--ink-mute); margin-top: 14px; line-height: 1.5; }

/* ============================== CONTACT (dark) ============================== */
.contact {
  background: var(--dark); color: var(--on-dark);
  padding: 140px 0;
}
.contact .eyebrow { color: var(--on-dark-mute); }
.contact h2 { color: var(--on-dark); }
.contact h2 .serif { color: var(--on-dark-mute); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-top: 64px;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-intro p {
  font-size: 17px; line-height: 1.55; color: var(--on-dark-mute);
  max-width: 480px;
  text-wrap: pretty;
}
.contact-intro p b { color: var(--on-dark); font-weight: 500; }

.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.contact-cell { display: flex; flex-direction: column; gap: 8px; }
.contact-cell .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--on-dark-mute); text-transform: uppercase;
}
.contact-cell .val { font-size: 15px; color: var(--on-dark); line-height: 1.5; }
.contact-cell a { color: var(--on-dark); transition: color .2s; }
.contact-cell a:hover { color: #fff; }

.contact-legal {
  margin-top: 60px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 720px) { .contact-legal { grid-template-columns: 1fr 1fr; } }
.contact-legal .cell { display: flex; flex-direction: column; gap: 6px; }
.contact-legal .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--on-dark-mute); text-transform: uppercase; }
.contact-legal .val { font-size: 13.5px; color: var(--on-dark); }

/* ============================== FOOTER ============================== */
.footer {
  background: var(--dark); color: var(--on-dark);
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 44px; width: auto; filter: brightness(1.1); }
.footer-brand p { font-size: 13px; color: var(--on-dark-mute); line-height: 1.55; max-width: 280px; }
.footer-col h6 {
  font-family: var(--font-mono); font-size: 10px; color: var(--on-dark-mute);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--on-dark); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 11px; color: var(--on-dark-mute);
  font-family: var(--font-mono); letter-spacing: 0.06em;
  flex-wrap: wrap;
}

/* ============== Edit-mode behavior ============== */
.hero[data-mode="text"] .hero-frame { display: none; }
.hero[data-mode="text"] .hero-controls { display: none; }
.hero[data-mode="text"] .hero-text-only {
  display: block;
  padding: 80px 0 120px;
}
.hero-text-only { display: none; }
.hero-text-only-content {
  display: flex; flex-direction: column; gap: 28px; max-width: 760px;
}
.hero-text-only-content h1 {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95; letter-spacing: -0.025em;
  text-transform: uppercase; text-wrap: balance;
}
.hero-text-only-content h1 .serif { font-weight: 500; }

.hero[data-mode="video"] .slide.active .slide-img {
  animation: kenburns 12s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translateX(-1.5%); }
  to { transform: scale(1.14) translateX(1.5%); }
}

/* ============================== MOTION DESIGN ============================== */
/* Page scroll progress (top sticky line) */
.page-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 99;
  background: transparent;
  pointer-events: none;
}
.page-progress .bar {
  height: 100%;
  background: var(--ink);
  width: 0%;
  transition: width 0.1s linear;
}

/* Header reveal on load */
.header {
  animation: hdrIn .8s cubic-bezier(.4,0,.2,1) both;
}
@keyframes hdrIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hero meta reveals on slide change (re-keyed) */
.slide-meta .left > * {
  opacity: 0;
  transform: translateY(16px);
  animation: metaUp .8s cubic-bezier(.4,0,.2,1) forwards;
}
.slide-meta .left > *:nth-child(1) { animation-delay: .05s; }
.slide-meta .left > *:nth-child(2) { animation-delay: .22s; }
.slide-meta .right > * {
  opacity: 0; transform: translateY(12px);
  animation: metaUp .8s cubic-bezier(.4,0,.2,1) forwards;
}
.slide-meta .right > *:nth-child(1) { animation-delay: .12s; }
.slide-meta .right > *:nth-child(2) { animation-delay: .28s; }
@keyframes metaUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Subtle Ken-Burns on every active slide (photo mode) */
.hero[data-mode="photo"] .slide.active .slide-img,
.hero:not([data-mode]) .slide.active .slide-img {
  animation: kbSubtle 6s ease-out forwards;
}
@keyframes kbSubtle {
  from { transform: scale(1.04); }
  to { transform: scale(1.10); }
}

/* Slide CTA pill hover lift + arrow */
.slide-cta-pill svg { transition: transform .25s ease; }
.slide-cta-pill:hover svg { transform: translateX(4px); }

/* Hero arrow micro-spin */
.hero-arrow svg { transition: transform .25s ease; }
.hero-arrow:hover svg { transform: scale(1.1); }

/* Hero tabs: name underline already animated; add hover lift */
.hero-tab { transition: background .25s, transform .25s; }
.hero-tab:hover .name { color: var(--ink); }

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(.4,0,.2,1),
    transform .9s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-fade.in { opacity: 1; }

.reveal-scale {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 1.6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* ===== Direction photo hover ===== */
.dir-photo {
  position: relative;
  overflow: hidden;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.dir-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.dir-photo:hover::after { opacity: 1; }
.dir-photo:hover { transform: scale(0.992); }
.dir-photos {
  /* nested image scales bigger than parent for a "zoom out" effect via parent shrink */
}

/* Spec items stagger */
.dir-spec {
  opacity: 0; transform: translateX(-12px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--spec-delay, 0ms);
}
.dir.in .dir-spec { opacity: 1; transform: translateX(0); }

/* Direction roman shimmer on view */
.dir-eyebrow .roman {
  background: linear-gradient(90deg, var(--ink-dim) 0%, var(--ink) 50%, var(--ink-dim) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.6s ease;
}
.dir.in .dir-eyebrow .roman { background-position: 0% 0; }

/* Direction title word stagger */
.dir-text h3 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.dir.in .dir-text h3 .word { opacity: 1; transform: translateY(0); }

/* Direction CTA pulse glow once visible */
.dir-cta {
  position: relative;
  overflow: hidden;
}
.dir-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .9s ease;
  pointer-events: none;
}
.dir-cta:hover::before { transform: translateX(100%); }

/* Buttons (header CTA) shimmer */
.btn-dark { position: relative; overflow: hidden; }
.btn-dark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s ease;
}
.btn-dark:hover::before { transform: translateX(100%); }

/* SEO Lead pillars: stagger */
.lead-pillar {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.lead-band.in .lead-pillar { opacity: 1; transform: translateY(0); }

/* About pillars stagger */
.about-pillar {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.about-pillars.in .about-pillar { opacity: 1; transform: translateY(0); }
.about-pillar { transition-property: opacity, transform, background; }
.about-pillar:hover { background: #fff; }

/* Partners bullets stagger */
.partners-text ul li {
  opacity: 0; transform: translateX(-14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--bullet-delay, 0ms);
}
.partners-text.in ul li { opacity: 1; transform: translateX(0); }

/* Contact cells stagger */
.contact-cell, .contact-legal .cell {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.contact-list.in .contact-cell, .contact-legal.in .cell { opacity: 1; transform: translateY(0); }

/* Footer cols subtle */
.footer-col {
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.footer-grid.in .footer-col { opacity: 1; transform: translateY(0); }

/* Section heads: subtle line draw */
.section-head {
  position: relative;
}
.section-head::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1px; background: var(--ink);
  transition: right 1.2s cubic-bezier(.5,0,.1,1);
  transition-delay: .3s;
}
.section-head.in::after { right: 0; }

/* Hero CTA on slide: pulse arrow */
@keyframes pulseArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
.slide-cta-pill svg { animation: pulseArrow 2.4s ease-in-out infinite; }
.slide-cta-pill:hover svg { animation: none; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-fade, .reveal-scale,
  .lead-pillar, .about-pillar, .partners-text ul li, .contact-cell, .footer-col,
  .dir-spec, .dir-text h3 .word {
    opacity: 1 !important; transform: none !important;
  }
}

/* ===================================================================
 * V2 ADDITIONS — motion, new sections, mobile nav, magnetic buttons
 * Appended below the original v1 styles so v1 selectors win where
 * they intentionally do (margins, dir-photos), and v2 wins where
 * we are adding net-new components.
 * =================================================================== */

/* ============================== HERO HEADLINE BLOCK ============================== */
.hero-headline {
  padding: 24px 0 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.hero-meta .mono { font-size: 11px; }
.hero-meta .mono.dim { color: var(--ink-dim); }

.hero-headline .headline {
  font-size: clamp(40px, 6.8vw, 108px);
  line-height: 0.92;
  text-wrap: balance;
}
.hero-headline .headline .word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.hero-headline.in .headline .word,
.hero-headline .headline .word { /* fallback: also show without .in */
}
.hero-headline[data-reveal].in .headline .word,
.hero-headline.in .headline .word {
  opacity: 1; transform: translateY(0);
}

/* Hero frame cursor hint */
.hero-frame { cursor: grab; }
.hero-frame:active { cursor: grabbing; }
.hero-cursor {
  position: absolute; pointer-events: none;
  width: 76px; height: 76px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 4;
  mix-blend-mode: difference;
  filter: invert(1);
}
.hero-frame:hover .hero-cursor { opacity: 1; transform: translate(var(--hcx, -50%), var(--hcy, -50%)) scale(1); }

@media (max-width: 820px) { .hero-cursor { display: none; } }

/* ============================== MARQUEE TICKER ============================== */
.ticker-band {
  background: var(--ink);
  color: var(--on-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  margin-top: 60px;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: tickerSlide 38s linear infinite;
  will-change: transform;
}
.ticker-band:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: baseline; gap: 14px;
  padding: 0 28px;
}
.ti-ix {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--on-dark-mute);
  font-size: 22px; line-height: 1;
}
.ti-txt {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--on-dark);
}
.ti-dot {
  color: var(--on-dark-mute);
  margin-left: 14px;
  font-size: 22px;
}
@keyframes tickerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================== MANIFEST ============================== */
.manifest {
  background: var(--bg);
  padding: 140px 0 100px;
  border-bottom: 1px solid var(--line);
}
.manifest-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 820px) {
  .manifest-row { grid-template-columns: 1fr; gap: 28px; }
}
.manifest-eyebrow {
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.14em; text-transform: uppercase;
  padding-top: 18px;
}
.manifest-eyebrow .hr {
  height: 1px; background: var(--ink);
  width: 0; max-width: 64px;
  transition: width 1.2s cubic-bezier(.5,0,.1,1);
  transition-delay: .3s;
}
.manifest.in .manifest-eyebrow .hr { width: 64px; }
.manifest-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
  text-transform: none;
}
.manifest-quote .word {
  display: inline-block;
  margin-right: 0.22em;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.manifest.in .manifest-quote .word { opacity: 1; transform: translateY(0); }
.manifest-quote .word.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-mute);
}
.manifest-sign {
  grid-column: 2;
  margin-top: 28px;
  font-size: 12px;
  color: var(--ink-mute);
}
@media (max-width: 820px) { .manifest-sign { grid-column: 1; } }

/* ============================== DIR PHOTOS — V2 tweaks ============================== */
.dir-photo { position: relative; }
.dir-photo-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 5px 9px;
  font-size: 10px; letter-spacing: 0.1em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s ease, transform .35s ease;
}
.dir-photo:hover .dir-photo-tag { opacity: 1; transform: translateY(0); }
.dir-photo-caption {
  grid-column: 1 / 3;
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}

/* Direction zoom on parent hover for whole row */
.dir-photos .dir-photo {
  transition: transform 1s cubic-bezier(.2,.7,.2,1),
              filter .8s ease;
}
.dir:hover .dir-photo {
  filter: saturate(1.05);
}

/* ============================== PROCESS ============================== */
.process {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 980px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  background: var(--bg);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background .35s ease;
  position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.4,0,.2,1), background .35s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.process-grid.in .process-step { opacity: 1; transform: translateY(0); }
.process-step:hover { background: var(--bg-soft); }
.ps-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; color: var(--ink-mute); letter-spacing: 0.12em;
}
.ps-num .hr {
  flex: 1; max-width: 80px; height: 1px; background: var(--line-strong);
  display: inline-block;
  transition: max-width .9s cubic-bezier(.4,0,.2,1);
}
.process-step:hover .ps-num .hr { max-width: 200px; background: var(--ink); }
.process-step h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.process-step p {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-mute);
  text-wrap: pretty;
}

/* ============================== COUNTERS ============================== */
.counters {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(21,20,15,0.18);
  border-top: 1px solid rgba(21,20,15,0.18);
  border-bottom: 1px solid rgba(21,20,15,0.18);
  margin-bottom: 80px;
}
@media (max-width: 820px) { .counters { grid-template-columns: 1fr 1fr; } }
.counter {
  background: var(--bg-warm);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.counters.in .counter { opacity: 1; transform: translateY(0); }
.c-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex; align-items: baseline;
}
.c-val .c-suf {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.55em; color: var(--ink-mute);
  margin-left: 4px;
}
.c-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.c-note { font-size: 13px; color: var(--ink-mute); line-height: 1.45; }

/* ============================== FAQ ============================== */
.faq {
  padding: 140px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
  padding: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.faq-list.in .faq-item { opacity: 1; transform: translateY(0); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
  transition: padding .35s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: 8px; }
.fa-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .25s, color .25s;
  flex-shrink: 0;
}
.faq-item[open] .fa-mark { transform: rotate(45deg); background: var(--ink); color: var(--on-dark); }
.fa-a {
  font-size: 15px; line-height: 1.6; color: var(--ink-mute);
  max-width: 760px;
  padding: 0 0 32px;
  text-wrap: pretty;
}
.faq-item[open] .fa-a {
  animation: faqIn .55s cubic-bezier(.4,0,.2,1) both;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================== CONTACT — light CTA button ============================== */
.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 500;
  transition: background .2s, transform .2s, color .2s;
  position: relative; overflow: hidden;
}
.btn-light:hover { transform: translateY(-1px); background: #fff; }
.btn-light::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(0,0,0,0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s ease;
}
.btn-light:hover::before { transform: translateX(100%); }

/* ============================== FORM SUCCESS ============================== */
.partners-form { position: relative; }
.form-ok {
  position: absolute; inset: 0;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
  font-family: var(--font-display);
  font-size: 18px; color: var(--ink);
  text-wrap: balance;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.partners-form.ok .form-ok { opacity: 1; pointer-events: auto; }

/* ============================== MAGNETIC BUTTONS ============================== */
[data-magnetic-btn] {
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  [data-magnetic-btn]:hover { will-change: transform; }
}

/* ============================== BURGER + MOBILE NAV ============================== */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  background: transparent;
  cursor: pointer;
  z-index: 100;
  position: relative;
}
.burger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .header-right .btn-dark, .header-right .header-tel { display: none; }
}

.mnav {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .45s cubic-bezier(.4,0,.2,1);
  padding: 88px 24px 32px;
}
.mnav.open { opacity: 1; pointer-events: auto; }
.mnav-inner {
  width: 100%; max-width: 540px;
  display: flex; flex-direction: column; gap: 36px;
  justify-content: center; height: 100%;
}
.mnav-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.mnav-list a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 7vw, 36px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.mnav.open .mnav-list a { opacity: 1; transform: translateY(0); }
.mnav.open .mnav-list a:nth-child(1) { transition-delay: .12s; }
.mnav.open .mnav-list a:nth-child(2) { transition-delay: .18s; }
.mnav.open .mnav-list a:nth-child(3) { transition-delay: .24s; }
.mnav.open .mnav-list a:nth-child(4) { transition-delay: .30s; }
.mnav.open .mnav-list a:nth-child(5) { transition-delay: .36s; }
.mnav.open .mnav-list a:nth-child(6) { transition-delay: .42s; }
.mn-num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.mnav-foot {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  opacity: 0; transition: opacity .5s ease .5s;
}
.mnav.open .mnav-foot { opacity: 1; }
.mnav-phone {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.005em;
}
.mono.dim { color: var(--ink-dim); }
body.mnav-open { overflow: hidden; }

/* ============================== SCROLLED HEADER ============================== */
.header { transition: background .3s ease, border-color .3s ease; }
.header.scrolled {
  background: color-mix(in oklab, #fff 96%, transparent);
  border-bottom-color: var(--line-strong);
}

/* ============================== KEN-BURNS — slower for hero (override v1 6s) ============================== */
.hero[data-mode="photo"] .slide.active .slide-img,
.hero:not([data-mode]) .slide.active .slide-img {
  animation: kbSubtleV2 10s ease-out forwards;
}
@keyframes kbSubtleV2 {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

/* ============================== HOVER LIFT FOR DIR PHOTO V2 ============================== */
.dir-photo { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .8s ease; }
.dir-photo:hover { transform: scale(1.02); z-index: 2; }

/* ============================== FOOTER SHIMMER ============================== */
.footer-brand .wordmark { color: var(--on-dark); }

/* ============================== A11Y: reduce motion ============================== */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .slide.active .slide-img { animation: none; transform: none !important; }
  .hero-headline .headline .word,
  .manifest-quote .word { opacity: 1 !important; transform: none !important; }
  [data-count-to] { transition: none !important; }
}

/* ============================== UTILITY ============================== */
.mono.dim { color: var(--ink-dim); }
.header-tel a { color: inherit; transition: color .2s; }
.header-tel a:hover { color: var(--ink-mute); }

/* Subtle grain overlay on hero (premium texture) */
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ===== Header tighter on small screens ===== */
@media (max-width: 980px) {
  .header-row { grid-template-columns: auto 1fr auto; gap: 12px; height: 72px; }
  .header-logo, .wordmark { font-size: 20px; }
  .wordmark .wm-inf { width: 36px; height: 18px; }
}


/* ===================================================================
 * V3 — Cross-linking + usability (final, clean version)
 *
 * Strategy:
 *   Header     → 3 direct direction links + standard anchors (compact)
 *   Hero       → 3 PORTAL cards = primary entry to sub-brands
 *   Sections   → 1 primary CTA + 1 anchor each (no clutter)
 *   Footer     → final strip with 3 portals + col-links
 *   Mobile     → fullscreen burger + sticky bottom CTA + fab-top
 *
 * Robust to CSS-cache issues: sticky-cta/fab-top hidden by default,
 * shown via media-query AND a JS-applied .has-touch class as fallback.
 * =================================================================== */

/* ============================== HEADER NAV — direct direction links ============================== */
.header-nav {
  display: flex; align-items: center;
  gap: 22px;
}
.hn-dir-link {
  display: inline-flex; align-items: baseline; gap: 5px;
  position: relative;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
  transition: color .2s;
  font-weight: 500;
}
.hn-dir-link .hn-ext {
  opacity: 0.45;
  transition: opacity .2s, transform .25s;
  transform: translateY(-1px);
}
.hn-dir-link:hover .hn-ext {
  opacity: 1;
  transform: translate(2px, -3px);
}
.hn-dir-ix {
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.hn-dir-name {
  font-weight: 500;
}
.hn-dir-link::after {
  content: ""; position: absolute; left: 0; right: 14px; bottom: -1px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.hn-dir-link:hover::after,
.hn-dir-link.is-active::after { transform: scaleX(1); }

.hn-sep {
  width: 1px; height: 14px;
  background: var(--line-strong);
  display: inline-block;
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .hn-dir-ix { display: none; }
  .header-nav { gap: 16px; }
}
@media (max-width: 980px) {
  .header-nav { display: none; }
}

/* ============================== HERO PORTALS — primary direction entry ============================== */
.hero-portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
@media (max-width: 820px) {
  .hero-portals { grid-template-columns: 1fr; }
}
.portal {
  position: relative;
  display: flex; flex-direction: column;
  gap: 16px;
  padding: 26px 28px 22px;
  background: var(--bg);
  color: var(--ink);
  transition: background .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  min-height: 180px;
}
.portal::before {
  content: "";
  position: absolute; left: 0; right: 100%; top: 0; bottom: 0;
  background: var(--ink);
  transition: right .5s cubic-bezier(.5,0,.1,1);
  z-index: 0;
}
.portal:hover { color: var(--on-dark); }
.portal:hover::before { right: 0; }
.portal > * { position: relative; z-index: 1; }

.portal-ix {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  transition: color .35s;
}
.portal:hover .portal-ix { color: var(--on-dark-mute); }

.portal-name {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex: 1;
}
.pn-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.018em;
  line-height: 1;
  text-transform: uppercase;
}
.pn-arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .35s, background .35s, transform .45s, color .35s;
}
.portal:hover .pn-arrow {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--ink);
  transform: rotate(-45deg);
}

.portal-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px;
}
.portal-short {
  font-size: 13px; color: var(--ink-mute);
  line-height: 1.45;
  max-width: 70%;
  text-wrap: pretty;
  transition: color .35s;
}
.portal:hover .portal-short { color: var(--on-dark-mute); }
.portal-domain {
  font-size: 10px; color: var(--ink-dim);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: color .35s;
}
.portal:hover .portal-domain { color: var(--on-dark); }

/* ============================== HERO SLIDE CTA-row ============================== */
.slide-cta-row {
  display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.slide-cta-pill.primary {
  background: rgba(255,255,255,0.96);
  color: var(--ink);
}
.slide-cta-pill.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.slide-cta-pill.ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.slide-cta-pill .ico-ext { transition: transform .25s; }
.slide-cta-pill.primary:hover .ico-ext { transform: translate(3px, -3px); }
@media (max-width: 600px) {
  .slide-cta-pill.ghost { display: none; }
}

/* ============================== DIRECTION CTA — minimal: primary + anchor ============================== */
.dir-cta-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dir-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink); color: var(--on-dark);
  font-size: 13.5px; font-weight: 500;
  transition: background .25s, transform .25s, color .25s;
}
.dir-cta:hover { background: #2a2820; transform: translateY(-1px); }
.dir-cta .arrow { transition: transform .25s; }
.dir-cta:hover .arrow { transform: translate(3px, -3px); }

.dir-cta-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-mute);
  font-family: var(--font-mono); letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color .2s;
}
.dir-cta-link:hover { color: var(--ink); }
.dir-cta-link svg { transition: transform .25s; }
.dir-cta-link:hover svg { transform: translateY(2px); }

/* ============================== FOOTER STRIP — final closing CTA ============================== */
.footer-strip {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 60px;
  padding: 48px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
}
@media (max-width: 820px) {
  .footer-strip { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
}
.fs-text .eyebrow {
  color: var(--on-dark-mute);
  margin-bottom: 12px;
}
.fs-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1; letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--on-dark);
}
.fs-headline .serif {
  font-weight: 500;
  color: var(--on-dark-mute);
}
.fs-ports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 600px) {
  .fs-ports { grid-template-columns: 1fr; }
}
.fs-port {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 18px;
  background: var(--dark);
  color: var(--on-dark);
  transition: background .25s, padding .25s;
  position: relative; overflow: hidden;
}
.fs-port:hover { background: #1f1d18; padding-left: 24px; }
.fs-port-ix {
  font-size: 10px; color: var(--on-dark-mute);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.fs-port-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  flex: 1;
}
.fs-port-arrow {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .3s, background .3s, transform .3s, color .3s;
}
.fs-port:hover .fs-port-arrow {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--ink);
  transform: rotate(-45deg);
}

/* ============================== FOOTER ext-link ============================== */
.ext-link {
  display: inline-flex; align-items: center; gap: 6px;
}
.ext-link .ext-ico {
  opacity: 0.55;
  transition: transform .25s, opacity .25s;
}
.ext-link:hover .ext-ico { transform: translate(2px, -2px); opacity: 1; }

/* ============================== FOOTER SHARE ============================== */
.footer-share {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-share .mono.dim {
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--on-dark-mute);
  margin-right: 4px;
}
.footer-share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: var(--on-dark-mute);
  transition: border-color .25s, color .25s, background .25s;
}
.footer-share a:hover {
  border-color: var(--on-dark);
  color: var(--ink);
  background: var(--on-dark);
}

/* ============================== MOBILE NAV sections ============================== */
.mnav-section + .mnav-section { margin-top: 22px; }
.mnav-section-h {
  font-size: 10px; color: var(--ink-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mnav-ports {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.mnav-port {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.mnav.open .mnav-ports .mnav-port { opacity: 1; transform: translateY(0); }
.mnav.open .mnav-ports .mnav-port:nth-child(1) { transition-delay: .50s; }
.mnav.open .mnav-ports .mnav-port:nth-child(2) { transition-delay: .56s; }
.mnav.open .mnav-ports .mnav-port:nth-child(3) { transition-delay: .62s; }
.mp-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 5vw, 22px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.mp-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ==============================================================
 * STICKY MOBILE CTA + FAB-TOP
 * Hidden by default. Shown only on small viewport OR when JS sets
 * the .has-touch class on <body> (defence against CSS cache issues
 * where media-query rules might not load properly).
 * ============================================================== */
.sticky-cta,
.fab-top {
  display: none;
}

@media (max-width: 820px) {
  .sticky-cta { display: flex; }
  .fab-top { display: inline-flex; }
}

.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 50;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 20px 50px -16px rgba(21,20,15,0.4);
  transform: translateY(120%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.sticky-cta.in { transform: translateY(0); }
.sticky-cta a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-dark);
}
.sticky-cta a.sc-primary {
  background: #fff;
  color: var(--ink);
}
.sticky-cta a.sc-secondary {
  color: var(--on-dark);
}
body.mnav-open .sticky-cta { transform: translateY(120%); }

.fab-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  z-index: 40;
}
.fab-top.in { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab-top:hover { background: #2a2820; }
@media (max-width: 820px) {
  .fab-top { bottom: 76px; right: 16px; }
}

/* ============================== HEADLINE SCROLL-SPY NAV ACTIVE STATE ============================== */
.header-nav a.is-active { color: var(--ink); }
.header-nav > a {
  position: relative;
}
.header-nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.header-nav > a.is-active::after { transform: scaleX(1); }
.header-nav > a:hover::after { transform: scaleX(1); }

/* ============================== PRINT ============================== */
@media print {
  .page-progress, .header, .footer, .ticker-band, .mnav,
  .sticky-cta, .fab-top, .hero-cursor { display: none !important; }
  .hero-portals, .portal { background: #fff !important; color: #000 !important; }
  .portal::before { display: none; }
  body { color: #000; }
}

/* ============================== REDUCED MOTION ============================== */
@media (prefers-reduced-motion: reduce) {
  .portal::before, .fs-port,
  .header-nav a::after,
  .hn-dir-link::after { transition: none !important; }
  .portal:hover .pn-arrow { transform: none !important; }
}

/* ===================================================================
 * V4 ADDITIONS — UNIFIED CROSS-SITE LINKING
 * Three repeating components on all 4 holding sites:
 *   1. Group switcher in header (popover with 4 sites)
 *   2. Hero portals (main site only)
 *   3. Footer group card (block "Производственная группа 8эйт")
 *
 * V4 also fixes positioning regressions seen in cached CSS where
 * popovers fell back to inline block.
 * =================================================================== */

/* ============================== 1. GROUP SWITCHER (header) ============================== */
.gswitch {
  position: relative;
  display: inline-flex; align-items: center;
  z-index: 80;
}
.gs-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line-strong, rgba(21,20,15,0.12));
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink, #15140f);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gs-trigger:hover {
  background: var(--ink, #15140f);
  color: var(--on-dark, #faf7f0);
  border-color: var(--ink, #15140f);
}
.gs-mark {
  font-size: 14px;
  line-height: 1;
  color: var(--ink-mute, #595650);
  transition: color .2s;
}
.gs-trigger:hover .gs-mark { color: var(--on-dark, #faf7f0); }
.gs-label {
  font-size: 11px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gs-chev {
  opacity: 0.65;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s;
}
.gswitch.open .gs-chev { transform: rotate(180deg); }
.gs-trigger:hover .gs-chev { opacity: 1; }

/* Popover panel — ABSOLUTELY positioned, NO inline fallback */
.gs-pop {
  position: absolute !important;
  top: calc(100% + 12px);
  left: 0;
  min-width: 360px;
  background: #ffffff;
  border: 1px solid var(--line, rgba(21,20,15,0.08));
  box-shadow: 0 28px 60px -20px rgba(21,20,15,0.18),
              0 8px 16px -10px rgba(21,20,15,0.08);
  padding: 14px 0 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.4,0,.2,1),
              transform .25s cubic-bezier(.4,0,.2,1);
  z-index: 90;
}
.gswitch.open .gs-pop {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gs-pop-head {
  padding: 0 20px 12px;
  font-size: 10px;
  color: var(--ink-dim, #807d76);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line, rgba(21,20,15,0.08));
}
.gs-list {
  display: flex; flex-direction: column;
  padding: 6px 0;
}
.gs-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--ink, #15140f);
  transition: background .2s ease;
  position: relative;
}
.gs-item:hover { background: var(--bg-soft, #f6f3ec); }
.gs-item.is-current {
  background: var(--bg-soft, #f6f3ec);
  cursor: default;
}
.gs-item.is-current::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--ink, #15140f);
}
.gs-ix {
  font-size: 11px;
  color: var(--ink-dim, #807d76);
  letter-spacing: 0.06em;
  text-align: center;
}
.gs-item.is-current .gs-ix { color: var(--ink, #15140f); }
.gs-body {
  display: flex; flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gs-name {
  font-family: var(--font-display, 'Onest', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1.1;
}
.gs-sub {
  font-size: 10px;
  color: var(--ink-mute, #595650);
  letter-spacing: 0.02em;
}
.gs-here {
  font-size: 10px;
  color: var(--ink-dim, #807d76);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line, rgba(21,20,15,0.08));
  border-radius: 999px;
}
.gs-go {
  width: 24px; height: 24px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-mute, #595650);
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
.gs-item:hover .gs-go {
  background: var(--ink, #15140f);
  color: var(--on-dark, #faf7f0);
  transform: rotate(-45deg);
}

/* Hide group switcher on small screens — it appears in burger overlay */
@media (max-width: 980px) {
  .gswitch { display: none; }
}

/* ============================== 2. FOOTER GROUP CARD ============================== */
.footer-group {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fg-top {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
}
.fg-mono {
  font-size: 11px;
  color: var(--on-dark-mute, #a5a29a);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fg-h {
  font-family: var(--font-display, 'Onest', sans-serif);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--on-dark, #faf7f0);
}
.fg-h .serif {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--on-dark-mute, #a5a29a);
}

.fg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 820px) {
  .fg-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fg-grid { grid-template-columns: 1fr; }
}
.fg-cell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: var(--dark, #15140f);
  color: var(--on-dark, #faf7f0);
  text-decoration: none;
  transition: background .25s ease, padding .25s ease;
  position: relative;
}
.fg-cell:hover { background: #1f1d18; padding-left: 22px; }
.fg-cell.is-current {
  background: rgba(255,255,255,0.04);
  cursor: default;
  pointer-events: none;
}
.fg-cell.is-current::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--on-dark, #faf7f0);
}
.fg-ix {
  grid-row: 1 / span 2;
  font-size: 11px;
  color: var(--on-dark-mute, #a5a29a);
  letter-spacing: 0.08em;
}
.fg-cell.is-current .fg-ix { color: var(--on-dark, #faf7f0); }
.fg-name {
  grid-column: 2;
  font-family: var(--font-display, 'Onest', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1.1;
}
.fg-sub {
  grid-column: 2;
  font-size: 10px;
  color: var(--on-dark-mute, #a5a29a);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.fg-arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .3s, background .3s, color .3s, transform .3s;
}
.fg-cell:hover .fg-arrow {
  background: var(--on-dark, #faf7f0);
  border-color: var(--on-dark, #faf7f0);
  color: var(--ink, #15140f);
  transform: rotate(-45deg);
}
.fg-here {
  grid-row: 1 / span 2;
  grid-column: 3;
  font-size: 9px;
  color: var(--on-dark-mute, #a5a29a);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
}

/* ============================== STICKY-CTA HARDENING (cache-resilient) ============================== */
/* The earlier rules set display:none then unset on @media. Some hosts/caches
 * may serve a partial CSS where the override is missing — sticky-cta then
 * appears as a flat block. Add aggressive defaults so it's always positioned
 * correctly when shown, plus dimmed-style for desktop hover guards. */
.sticky-cta {
  position: fixed !important;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50 !important;
  background: var(--ink, #15140f) !important;
  border-radius: 999px !important;
}
.fab-top {
  position: fixed !important;
  right: 24px;
  bottom: 24px;
  z-index: 40 !important;
  border-radius: 999px !important;
  background: var(--ink, #15140f) !important;
  color: var(--on-dark, #faf7f0) !important;
}

/* If for any reason media-query "show" rule was not applied,
 * sticky-cta and fab-top remain hidden by default — strictly governed
 * by @media (max-width: 820px). Touch-on-desktop devices (laptops with
 * touchscreens, browsers with pointer:coarse emulation) WILL NOT trigger
 * a forced display. Only viewport width matters.
 *
 * (Previous `body.has-touch` fallback was removed: it caused the sticky bar
 * to leak onto desktop on hybrid touch devices and pile a white bar under
 * the dark contact section.) */

/* ============================== HEADER LAYOUT FIX ============================== */
/* The header row is grid: [wordmark | gswitch | nav | right]. Make sure
 * gswitch and the nav stay on their own grid tracks and the popover
 * floats above. */
.header-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
}
@media (max-width: 1180px) {
  .header-row { gap: 14px; }
}
@media (max-width: 1080px) {
  .gs-label { display: none; }
}
@media (max-width: 980px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .header-nav { display: none; }
}

/* ============================== MNAV — group switcher inside burger ============================== */
.mnav-group {
  display: flex; flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--bg-soft, #f6f3ec);
  border: 1px solid var(--line, rgba(21,20,15,0.08));
}
.mnav-group-h {
  font-size: 10px;
  color: var(--ink-dim, #807d76);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mnav-group-current {
  font-family: var(--font-display, 'Onest', sans-serif);
  font-weight: 600;
  font-size: 16px;
}


/* ============================================================================
   ТЕМА ТЕПЛИЦ — секции главной страницы
   ============================================================================ */

/* ---------- HERO ---------- */
.hero-teplicy {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-teplicy { padding: 60px 0 50px; }
}
.hero-text .eyebrow { display: block; margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero-title .serif { font-weight: 500; }
.hero-lead {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stat-ri {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-dim);
}
.hero-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  color: var(--ink-dim);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-image {
  margin: 0;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.hero-image figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: var(--on-dark);
  background: rgba(21,20,15,0.6);
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ---------- LETTER ---------- */
.letter-section {
  padding: 120px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .letter-section { padding: 70px 0; } }
.letter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 70px;
}
@media (max-width: 720px) {
  .letter-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}
.letter-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(80px, 12vw, 140px);
  line-height: 0.85;
  color: var(--ink-dim);
}
.letter-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
}
.letter-title .serif { font-weight: 500; }
.letter-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
@media (max-width: 980px) {
  .letter-body { grid-template-columns: 1fr; gap: 40px; }
}
.letter-text { max-width: 56ch; }
.letter-para {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 18px;
  hyphens: auto;
}
.letter-signature {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-mute);
  margin-top: 28px;
  font-size: 17px;
}
.letter-epigraph {
  position: sticky;
  top: 100px;
  background: var(--bg);
  padding: 36px 32px;
  border-left: 2px solid var(--ink);
  align-self: start;
}
@media (max-width: 980px) { .letter-epigraph { position: static; } }
.letter-epigraph p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}
.letter-quote-mark {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 0.4;
  color: var(--ink);
  opacity: 0.25;
  display: block;
}
.letter-quote-mark--end { text-align: right; margin-top: 14px; }
.letter-gallery {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) { .letter-gallery { grid-template-columns: 1fr 1fr; gap: 14px; } }
.letter-fig { margin: 0; }
.letter-fig[data-i="0"] { transform: translateY(40px); }
.letter-fig[data-i="2"] { transform: translateY(24px); }
@media (max-width: 820px) {
  .letter-fig[data-i="0"], .letter-fig[data-i="2"] { transform: none; }
  .letter-fig[data-i="2"] { grid-column: span 2; }
}
.letter-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.letter-fig[data-i="1"] img { aspect-ratio: 4 / 3; }
.letter-fig figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* ---------- QUOTE BAND ---------- */
.quote-band {
  padding: 100px 0;
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
}
@media (max-width: 720px) { .quote-band { padding: 60px 0; } }
.quote-inner { max-width: 800px; margin: 0 auto; }
.quote-mark {
  font-size: 80px;
  line-height: 0.4;
  color: var(--on-dark);
  opacity: 0.3;
  display: block;
  margin-bottom: 24px;
}
.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  margin: 0 0 28px;
}
.quote-author {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--on-dark-mute);
  text-transform: uppercase;
}
.quote-author .serif {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--on-dark-mute);
}

/* ---------- MODELS ---------- */
.models-section { padding: 120px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .models-section { padding: 70px 0; } }
.models-head { text-align: center; margin-bottom: 80px; }
.models-head .eyebrow { display: block; margin-bottom: 20px; }
.models-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.models-title .serif { font-weight: 500; }
.models-sub {
  font-style: italic;
  color: var(--ink-mute);
  font-size: 17px;
  margin-bottom: 40px;
}
.models-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  max-width: 880px;
  margin: 0 auto;
  padding: 22px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mi-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  transition: color .2s;
  white-space: nowrap;
}
.mi-link:hover { color: var(--ink-mute); }
.mi-num { font-weight: 500; letter-spacing: 0.08em; }
.mi-code { color: var(--ink-dim); letter-spacing: 0.08em; }
.models-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-left: 72px;
}
@media (max-width: 980px) { .models-list { padding-left: 0; gap: 60px; } }
.model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  align-items: start;
}
.model:last-child { border-bottom: 0; }
@media (max-width: 820px) {
  .model { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
}
/* Чередование: чётные — картинка слева */
.model[data-i="1"] .model-media,
.model[data-i="3"] .model-media,
.model[data-i="5"] .model-media,
.model[data-i="7"] .model-media,
.model[data-i="9"] .model-media { order: -1; }
@media (max-width: 820px) {
  .model[data-i] .model-media { order: 0; }
}
.model-num {
  position: absolute;
  top: 0;
  left: -72px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--ink-dim);
}
@media (max-width: 980px) {
  .model-num { position: static; font-size: 38px; margin-bottom: 8px; }
}
.model-main { display: flex; flex-direction: column; gap: 22px; }
.model-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.model-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.model-code {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.model-code .serif {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-dim);
  font-size: 14px;
}
.model-desc { font-size: 15px; line-height: 1.65; color: var(--ink-mute); }
.model-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.model-spec {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  gap: 10px;
}
.model-spec dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin: 0;
}
.model-spec dd {
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}
.model-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
}
.model-price { display: flex; align-items: baseline; gap: 12px; }
.model-price-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.model-price-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.model-media { position: sticky; top: 100px; }
@media (max-width: 820px) { .model-media { position: static; } }
.model-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---------- GIFT ---------- */
.gift-section {
  padding: 120px 0;
  background: var(--dark);
  color: var(--on-dark);
}
@media (max-width: 820px) { .gift-section { padding: 70px 0; } }
.gift-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 820px) { .gift-inner { grid-template-columns: 1fr; gap: 40px; } }
.gift-text .eyebrow { display: block; margin-bottom: 28px; color: var(--on-dark-mute); }
.gift-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--on-dark);
}
.gift-title .serif { font-weight: 500; color: var(--on-dark); }
.gift-desc { color: var(--on-dark-mute); font-size: 17px; line-height: 1.6; max-width: 30em; }
.gift-card {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.gift-card-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--on-dark);
}
.gift-card-corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gift-card-corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.gift-card-corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.gift-card-corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.gift-plus {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--on-dark);
  margin-bottom: 24px;
}
.gift-lights { display: flex; gap: 10px; margin-bottom: 28px; }
.gift-lights span {
  width: 7px;
  height: 7px;
  background: var(--on-dark);
  display: block;
  animation: gift-glow 2.4s ease-in-out infinite;
}
.gift-lights span:nth-child(1) { animation-delay: 0s; }
.gift-lights span:nth-child(2) { animation-delay: 0.2s; }
.gift-lights span:nth-child(3) { animation-delay: 0.4s; }
.gift-lights span:nth-child(4) { animation-delay: 0.6s; }
.gift-lights span:nth-child(5) { animation-delay: 0.8s; }
.gift-lights span:nth-child(6) { animation-delay: 1.0s; }
.gift-lights span:nth-child(7) { animation-delay: 1.2s; }
.gift-lights span:nth-child(8) { animation-delay: 1.4s; }
.gift-lights span:nth-child(9) { animation-delay: 1.6s; }
.gift-lights span:nth-child(10) { animation-delay: 1.8s; }
@keyframes gift-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.gift-badge {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--on-dark-mute);
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq-section { padding: 120px 0; }
@media (max-width: 820px) { .faq-section { padding: 70px 0; } }
.faq-head { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.faq-head .eyebrow { display: block; margin-bottom: 18px; }
.faq-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.faq-title .serif { font-weight: 500; }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--ink-mute); }
.faq-num { font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim); }
.faq-q-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.faq-chevron {
  align-self: center;
  color: var(--ink-dim);
  transition: transform .3s, color .2s;
  line-height: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--ink); }
.faq-answer { padding: 0 0 28px 68px; animation: faq-slide .35s ease; }
@media (max-width: 720px) { .faq-answer { padding-left: 0; padding-bottom: 22px; } }
@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-answer p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 40em;
}

/* ---------- FOOTER (теплицы-специфичные блоки) ---------- */
.footer-contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 820px) { .footer-contact { grid-template-columns: 1fr; gap: 40px; padding: 50px 0 40px; } }
.fc-text .eyebrow { color: var(--on-dark-mute); display: block; margin-bottom: 18px; }
.fc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--on-dark);
}
.fc-title .serif { font-weight: 500; color: var(--on-dark); }
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--on-dark);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background .2s, transform .2s, color .2s;
}
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.fc-rows { display: flex; flex-direction: column; gap: 0; }
.fc-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  color: var(--on-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: padding-left .25s;
}
.fc-row:hover { padding-left: 8px; }
.fc-row:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.08); }
.fc-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--on-dark-mute);
  text-transform: uppercase;
}
.fc-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--on-dark);
  letter-spacing: -0.005em;
}
.fc-season {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 2px solid var(--on-dark-mute);
}
.fc-season p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-dark-mute);
}
.fc-season strong { color: var(--on-dark); font-weight: 600; }
.fc-season .serif { font-style: italic; color: var(--on-dark); font-weight: 500; }

/* SEO-блок внутри футера */
.footer-seo {
  padding: 28px 0;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-seo-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--on-dark-mute);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-seo-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-dark-mute);
}

/* доп. дим-стили для футера */
.footer-col li.small { font-size: 12px; line-height: 1.5; }
.footer-col li.dim { color: var(--on-dark-mute); }
.dim { color: var(--on-dark-mute); }

/* ---------- BTN-GHOST (контурная кнопка) ---------- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); transform: translateY(-1px); }
