/* ============================================================================
   ЮМАН LANDING — Global Styles
   ============================================================================ */

/* @font-face declarations */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../assets/fonts/unbounded.woff2') format('woff2-variations'),
       url('../assets/fonts/unbounded.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/manrope.woff2') format('woff2-variations'),
       url('../assets/fonts/manrope.woff2') format('woff2');
}

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

/* CSS Custom Properties */
:root {
  --graphite: #15181B;
  --graphite-soft: #1F2328;
  --sand: #F2F1ED;
  --brass: #C8973F;
  --brass-hi: #D8AA52;
  --ink: #1A1D20;
  --ink-mut: #6B7075;
  --paper: #F0EEE9;
  --paper-mut: #9AA0A6;
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* Overflow control (modern + fallback) */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Body styles */
body {
  max-width: 100vw;
  background: var(--graphite);
  color: var(--paper);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* Headings */
h1, h2, h3 {
  font-family: 'Unbounded', system-ui, sans-serif;
  line-height: 1.15;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

/* Skip link — accessible keyboard navigation */
.skip-link {
  position: absolute; left: -1000px; top: 8px; z-index: 100;
  background: var(--brass); color: var(--graphite);
  padding: .6rem 1rem; border-radius: 6px;
  font-weight: 700; font-family: 'Manrope', system-ui, sans-serif;
  transition: left .15s var(--ease);
}
.skip-link:focus-visible {
  left: 8px;
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* Container utility */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  border: 0;
  transition: transform 0.15s var(--ease),
              background 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  will-change: transform;
}

.btn--brass {
  background: var(--brass);
  color: var(--graphite);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
              0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn--brass:hover {
  background: var(--brass-hi);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset,
              0 10px 24px -10px rgba(200, 151, 63, 0.55),
              0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn--brass:active {
  transform: translateY(0);
}

.btn--brass:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ============================================================================
   HEADER
   ============================================================================ */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(21, 24, 27, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease),
              border-color 0.3s var(--ease),
              -webkit-backdrop-filter 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}

.hdr--scrolled {
  background: var(--graphite);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hdr__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}

/* Logo */
.hdr__logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  color: var(--paper);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

.hdr__logo:hover {
  opacity: 0.85;
}

.hdr__logo-mark {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hdr__logo-tag {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mut);
  line-height: 1;
}

/* Nav (desktop) */
.hdr__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  color: var(--paper);
}

.hdr__nav a {
  position: relative;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  padding-block: 0.25rem;
  transition: color 0.2s var(--ease);
}

.hdr__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.hdr__nav a:hover,
.hdr__nav a:focus-visible {
  color: var(--brass);
}

.hdr__nav a:hover::after,
.hdr__nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Phone */
.hdr__phone {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.hdr__phone:hover,
.hdr__phone:focus-visible {
  color: var(--brass);
}

/* Burger */
.hdr__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 44px;
  height: 44px;
  padding: 13px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}

.hdr__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s var(--ease),
              opacity 0.25s var(--ease);
}

.hdr__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hdr__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hdr__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================================
   HEADER — Mobile (≤ 780px)
   ============================================================================ */
@media (max-width: 780px) {
  .hdr__row {
    height: 64px;
    gap: 0.75rem;
  }

  .hdr__logo-mark {
    font-size: 1.05rem;
  }

  .hdr__phone,
  .hdr__cta {
    display: none;
  }

  .hdr__burger {
    display: flex;
  }

  /* Mobile menu panel — opacity + visibility + small translateY (NO translateX) */
  .hdr__nav {
    position: fixed;
    top: 64px;
    inset-inline: 0;
    margin-inline: 0;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--graphite);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease),
                visibility 0s linear 0.2s,
                transform 0.2s var(--ease);
  }

  .hdr__nav.nav--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.2s var(--ease),
                visibility 0s linear 0s,
                transform 0.2s var(--ease);
  }

  .hdr__nav a {
    display: block;
    padding-block: 0.6rem;
    min-height: 44px;
    font-size: 1.05rem;
  }

  .hdr__nav a::after {
    bottom: 0.35rem;
  }
}

/* ============================================================================
   HERO — First screen
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  padding-top: 76px;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

/* Background image + dark gradient overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  animation: heroZoom 20s var(--ease) forwards;
  will-change: transform;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(21, 24, 27, 0.55) 0%,
      rgba(21, 24, 27, 0.78) 55%,
      rgba(21, 24, 27, 0.92) 100%),
    radial-gradient(ellipse at 20% 50%,
      rgba(21, 24, 27, 0.25) 0%,
      rgba(21, 24, 27, 0) 60%);
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Inner content sits above the overlay */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__eyebrow {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

.hero__title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 17ch;
  margin-bottom: 1.25rem;
  color: var(--paper);
}

.hero__sub {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  max-width: 48ch;
  color: var(--paper-mut);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

/* Ghost button — height-matched to .btn--brass via padding compensation */
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: calc(0.75rem - 1.5px) calc(1.4rem - 1.5px);
  transition: transform 0.15s var(--ease),
              background 0.2s var(--ease),
              border-color 0.2s var(--ease),
              color 0.2s var(--ease);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn--ghost:active {
  transform: translateY(0);
}

.btn--ghost:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* Stats plate */
.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 640px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.hero__stats b {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero__stats span {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--paper-mut);
  letter-spacing: 0.02em;
}

/* ============================================================================
   HERO — Mobile (≤ 780px)
   ============================================================================ */
@media (max-width: 780px) {
  .hero {
    padding-top: 64px;
    padding-bottom: 2.5rem;
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero__inner {
    padding-block: 2rem 0;
  }

  .hero__eyebrow {
    margin-bottom: 1rem;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__sub {
    margin-bottom: 1.75rem;
  }

  .hero__actions {
    gap: 0.65rem;
    margin-bottom: 2rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero__stats {
    gap: 1.25rem 2rem;
    padding-top: 1.5rem;
  }

  .hero__stats li {
    flex: 0 1 calc(50% - 1rem);
  }
}

/* ============================================================================
   HERO — Reduced motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img {
    animation: none !important;
  }
}

/* ============================================================================
   TRUST STRIP — Key numbers
   ============================================================================ */
.trust {
  position: relative;
  background: var(--graphite-soft);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 1rem;
  text-align: center;
}

.trust__item + .trust__item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.count {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust__item span {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  color: var(--paper-mut);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  line-height: 1.35;
  max-width: 18ch;
}

/* ============================================================================
   TRUST — Tablet (≤ 1024px)
   ============================================================================ */
@media (max-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__item + .trust__item {
    border-left: 0;
  }

  /* Items 3+ form the second row — add a top divider to keep visual rhythm */
  .trust__item:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
  }

  .trust__item:nth-child(n+3) ~ .trust__item:nth-child(n+3),
  .trust__item:nth-child(3),
  .trust__item:nth-child(4) {
    margin-top: 0.5rem;
  }
}

/* ============================================================================
   TRUST — Phone (≤ 480px) — keep 2 cols, tighten spacing
   ============================================================================ */
@media (max-width: 480px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .trust__item {
    padding-inline: 0.25rem;
  }
}

/* ============================================================================
   SECTION HEAD — reusable header (eyebrow + title), centered editorial style
   ============================================================================ */
.section__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__eyebrow {
  display: inline-block;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}

.section__title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}

/* ============================================================================
   DIRECTIONS — «Что мы строим» (light section on sand background)
   ============================================================================ */
.dir {
  background: var(--sand);
  color: var(--ink);
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* On the light sand background, .section__title needs ink color override */
.dir .section__title {
  color: var(--ink);
}

.dir__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  will-change: transform;
}

.dir-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -22px rgba(20, 23, 30, 0.25),
              0 2px 6px rgba(20, 23, 30, 0.06);
}

.dir-card__no {
  display: inline-block;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.dir-card h3 {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.dir-card p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-mut);
  max-width: 32ch;
}

/* ============================================================================
   DIRECTIONS — Tablet (≤ 1024px) — 2 columns
   ============================================================================ */
@media (max-width: 1024px) {
  .dir__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   DIRECTIONS — Phone (≤ 640px) — single column
   ============================================================================ */
@media (max-width: 640px) {
  .dir__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   SYSTEM — «Дом как система» (dark split block: photo + 4 points)
   ============================================================================ */
.system {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.system__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.system__media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.system__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Left-aligned variant of the reusable .section__head */
.section__head--left {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 0;
}

.section__head--left .section__title {
  margin-inline: 0;
  color: inherit;
}

.system__lead {
  color: var(--paper-mut);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  max-width: 50ch;
  margin-top: 1rem;
}

.system__points {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.system__point {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.system__point + .system__point {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
}

.system__point-no {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--brass);
  flex-shrink: 0;
  min-width: 1.8rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.system__point h3 {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--paper);
  margin-bottom: 0.35rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.system__point p {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--paper-mut);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 50ch;
}

/* ============================================================================
   SYSTEM — Tablet/Phone (≤ 900px) — stack: media on top, text below
   ============================================================================ */
@media (max-width: 900px) {
  .system__inner {
    grid-template-columns: 1fr;
  }

  .system__media {
    aspect-ratio: 4 / 3;
    order: -1;
  }
}

/* ============================================================================
   STAGES — «Шесть этапов до готового дома» (dark, lighter than system)
   ============================================================================ */
.stages {
  background: var(--graphite-soft);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Inherit paper color on the centered head (override default cascade) */
.stages .section__title {
  color: var(--paper);
}

.stages__track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease),
              border-color 0.25s var(--ease);
  will-change: transform;
}

.stage:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 151, 63, 0.35);
}

.stage__no {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.stage h3 {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--paper);
  margin-bottom: 0.2rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.stage p {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--paper-mut);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 36ch;
}

/* ============================================================================
   STAGES — Tablet (≤ 1024px) — 2 columns
   ============================================================================ */
@media (max-width: 1024px) {
  .stages__track {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   STAGES — Phone (≤ 640px) — single column
   ============================================================================ */
@media (max-width: 640px) {
  .stages__track {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   PROJECTS — «Реализованные проекты» (light section: sand bg, ink text)
   ============================================================================ */
.projects {
  background: var(--sand);
  color: var(--ink);
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* On the light sand background, .section__title needs ink color override */
.projects .section__title {
  color: var(--ink);
}

/* Filter chips row */
.projects__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease),
              transform 0.15s var(--ease);
}

.chip:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.chip:active {
  transform: translateY(1px);
}

.chip--on {
  background: var(--brass);
  color: var(--graphite);
  border-color: var(--brass);
}

.chip--on:hover {
  background: var(--brass-hi);
  border-color: var(--brass-hi);
  color: var(--graphite);
}

.chip:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Project grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

/* Project card */
.proj-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  will-change: transform;
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(20, 23, 30, 0.25),
              0 2px 6px rgba(20, 23, 30, 0.06);
}

.proj-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite-soft);
}

.proj-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.proj-card:hover .proj-card__img img {
  transform: scale(1.04);
}

.proj-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.proj-card__body h3 {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.proj-card__body p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-mut);
  line-height: 1.4;
}

/* Filter state (wired in Task 17) */
.proj-card.is-hidden {
  display: none;
}

/* ============================================================================
   PROJECTS — Tablet (≤ 1024px) — 2 columns
   ============================================================================ */
@media (max-width: 1024px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   PROJECTS — Phone (≤ 640px) — single column
   ============================================================================ */
@media (max-width: 640px) {
  .projects__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   SERVICES — «Услуги полного цикла» (dark section, 9-item compact grid)
   ============================================================================ */
.services {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Color inheritance safety — keep title on the paper color over dark bg */
.services .section__title {
  color: var(--paper);
}

.services__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--graphite-soft);
  transition: border-color 0.25s var(--ease),
              transform 0.25s var(--ease);
  will-change: transform;
}

.service:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
}

.service__no {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brass);
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
  line-height: 1;
}

.service h3 {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--paper);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.service p {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--paper-mut);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================================================
   SERVICES — Tablet (≤ 1024px) — 2 columns
   ============================================================================ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   SERVICES — Phone (≤ 640px) — single column
   ============================================================================ */
@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   OFFER — «Спецпредложение» (brass accent block, full-width section)
   ============================================================================ */
.offer {
  background: var(--graphite);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.offer__box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-hi) 100%);
  color: var(--graphite);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 18px 40px -22px rgba(200, 151, 63, 0.55),
              0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Subtle architectural diagonal stripe texture */
.offer__box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0 2px,
    transparent 2px 24px
  );
  pointer-events: none;
}

.offer__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 60ch;
}

.offer__eyebrow {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--graphite);
  opacity: 0.65;
  margin-bottom: 0.2rem;
}

.offer__title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.12;
  color: var(--graphite);
  text-wrap: balance;
  max-width: 24ch;
  letter-spacing: -0.01em;
}

.offer__desc {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(21, 24, 27, 0.78);
  max-width: 56ch;
}

.offer__cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Dark CTA button variant — matches .btn--brass shape, inverts colors */
.btn--dark {
  background: var(--graphite);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
              0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn--dark:hover {
  background: var(--graphite-soft);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
              0 10px 24px -12px rgba(0, 0, 0, 0.55),
              0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn--dark:active {
  transform: translateY(0);
}

.btn--dark:focus-visible {
  outline: 2px solid var(--graphite);
  outline-offset: 2px;
}

/* ============================================================================
   OFFER — Phone (≤ 780px) — stack vertical, full-width CTA
   ============================================================================ */
@media (max-width: 780px) {
  .offer__box {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================================
   REVIEWS — Dark section, 3 client review cards with brass quote mark
   ============================================================================ */
.reviews {
  background: var(--graphite-soft);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.reviews .section__title {
  color: var(--paper);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.review {
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  margin: 0;
  overflow: hidden;
}

.review::before {
  content: "\201C";
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--brass);
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  line-height: 1;
  opacity: 0.35;
  pointer-events: none;
}

.review__text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--paper);
  margin: 0 0 1.25rem 0;
  position: relative;
  z-index: 1;
}

.review__cap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review__author {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--paper);
}

.review__meta {
  font-size: 0.82rem;
  color: var(--paper-mut);
}

@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* ============ FAQ (Task 14) ============ */
.faq {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.faq .section__title {
  color: var(--paper);
}

.faq__list {
  max-width: 800px;
  margin-inline: auto;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__item > summary {
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1rem, 2vw, 1.4rem);
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.35;
  color: var(--paper);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s var(--ease);
}

.faq__q:hover {
  color: var(--brass);
}

.faq__q:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 2px;
}

.faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease),
              border-color 0.25s var(--ease),
              background 0.25s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--paper);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq__icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  border-color: var(--brass);
  background: rgba(200, 151, 63, 0.08);
}

.faq__a {
  padding: 0 0 1.25rem;
  max-width: 60ch;
}

.faq__a p {
  margin: 0;
  color: var(--paper-mut);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================================================
   LEAD — заявка «Рассчитать стоимость дома» (dark conversion section)
   ============================================================================ */
.lead {
  background: var(--graphite-soft);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.lead__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.lead__head {
  text-align: left;
}

.lead__head .section__eyebrow {
  text-align: left;
}

/* Left-aligned variant of the reusable .section__title */
.section__title--left {
  text-align: left;
  margin-inline: 0;
  max-width: 18ch;
}

.lead__lead {
  color: var(--paper-mut);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  margin-top: 1rem;
  max-width: 42ch;
}

.lead__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lead__bullets li {
  font-size: 0.95rem;
  color: var(--paper);
  line-height: 1.5;
}

.lead__bullets li::before {
  content: "✓";
  font-weight: 800;
  color: var(--brass);
  margin-right: 0.55rem;
}

.lead__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--graphite);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field__label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--paper-mut);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  background: var(--graphite-soft);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--paper);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  min-height: 48px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input[type="text"]::placeholder,
.field input[type="tel"]::placeholder {
  color: rgba(240, 238, 233, 0.35);
}

.field input[type="text"]:focus-visible,
.field input[type="tel"]:focus-visible {
  border-color: var(--brass);
  outline: none;
  background: var(--graphite);
}

/* Chip-radio fieldsets */
.lead__chips {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lead__chips > legend {
  flex-basis: 100%;
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0;
}

.chip-radio {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.chip-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-radio span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--paper);
  cursor: pointer;
  user-select: none;
  min-height: 44px;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease),
              background 0.2s var(--ease),
              color 0.2s var(--ease);
}

.chip-radio:hover span {
  border-color: var(--brass);
  color: var(--brass);
}

.chip-radio input[type="radio"]:checked + span {
  background: var(--brass);
  color: var(--graphite);
  border-color: var(--brass);
}

.chip-radio input[type="radio"]:focus-visible + span {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Agree checkbox row */
.lead__agree {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--paper-mut);
  line-height: 1.5;
  cursor: pointer;
}

.lead__agree input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: var(--graphite-soft);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lead__agree input[type="checkbox"]:checked {
  background: var(--brass);
  border-color: var(--brass);
}

.lead__agree input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--graphite);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

.lead__agree input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.lead__submit {
  width: 100%;
  padding-block: 1rem;
  font-size: 1rem;
}

.lead__ok {
  padding: 1rem 1.25rem;
  background: rgba(91, 160, 82, 0.12);
  border: 1px solid rgba(91, 160, 82, 0.4);
  border-radius: 10px;
  color: #b9d3a8;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
}

/* Error states (used by Task 17 JS) — consolidated, no !important */
.field--err input,
.lead__agree.field--err input {
  border: 1.5px solid #d56d5d;
}

.field--err .chip-radio span {
  border: 1.5px solid #d56d5d;
}

/* Responsive: single column on tablets and phones */
@media (max-width: 900px) {
  .lead__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Task 16 — Footer + «Сделано в Fabriq» badge
   ============================================================ */
.ftr {
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0;
}

.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.ftr__col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ftr__col--brand {
  gap: 1rem;
}

.ftr__logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--paper);
}

.ftr__logo-mark {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ftr__logo-tag {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mut);
  line-height: 1;
}

.ftr__tag {
  color: var(--paper-mut);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 32ch;
  margin: 0;
}

.ftr__heading {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem;
}

.ftr__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--paper-mut);
  line-height: 1.5;
}

.ftr__list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ftr__list a:hover,
.ftr__list a:focus-visible {
  color: var(--brass);
}

.ftr__legal {
  font-size: 0.88rem;
  color: var(--paper-mut);
  line-height: 1.65;
  margin: 0;
}

.ftr__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ftr__copy {
  font-size: 0.82rem;
  color: var(--paper-mut);
  margin: 0;
}

.fabriq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--paper-mut);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fabriq-badge:hover,
.fabriq-badge:focus-visible {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.fabriq-badge svg {
  height: 14px;
  width: auto;
  display: block;
}

.fabriq-badge__text {
  font-weight: 500;
}

/* Footer responsive */
@media (max-width: 900px) {
  .ftr__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .ftr__grid {
    grid-template-columns: 1fr;
  }
  .ftr__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ REVEAL animations (Task 17) ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
/* cascade delays for siblings (children of [data-reveal-stagger]) */
[data-reveal-stagger] > .reveal { transition-delay: 0s; }
[data-reveal-stagger] > .reveal:nth-child(2) { transition-delay: .06s; }
[data-reveal-stagger] > .reveal:nth-child(3) { transition-delay: .12s; }
[data-reveal-stagger] > .reveal:nth-child(4) { transition-delay: .18s; }
[data-reveal-stagger] > .reveal:nth-child(5) { transition-delay: .24s; }
[data-reveal-stagger] > .reveal:nth-child(6) { transition-delay: .30s; }
[data-reveal-stagger] > .reveal:nth-child(7) { transition-delay: .36s; }
[data-reveal-stagger] > .reveal:nth-child(8) { transition-delay: .42s; }
[data-reveal-stagger] > .reveal:nth-child(9) { transition-delay: .48s; }
.proj-card.is-hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-reveal-stagger] > .reveal { transition-delay: 0s !important; }
  .hero__bg img { animation: none !important; }
}

