/* ===== TOKENS ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --ink: #2d3c4b;          /* brand navy/slate (logo color) */
  --ink-soft: #5d6975;     /* muted navy-grey */
  --line: #e2e2e2;
  --accent: #d4a373;       /* brand caramel */
  --accent-dark: #c09a5f;  /* button hover */
  --dark: #2d3c4b;         /* brand navy for dark sections */
  --radius: 8px;           /* brand button radius */
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }

/* ===== TYPOGRAPHY HELPERS ===== */
.section__eyebrow,
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 18px;
}
.section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: -.01em;
}
.section__head { margin-bottom: 56px; max-width: 720px; }

/* ===== BUTTONS ===== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 16px 34px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: #3a4f62; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--dark); color: #fff; }
.btn--small { padding: 11px 22px; font-size: 12px; }
.btn--full { width: 100%; }
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(130%); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255,255,255,0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; letter-spacing: .18em; font-weight: 600; }
.logo__img { width: 40px; height: 40px; border-radius: var(--radius); flex-shrink: 0; transition: width .4s var(--ease), height .4s var(--ease); }
.header.is-scrolled .logo__img { width: 34px; height: 34px; }
.logo__text { display: flex; align-items: baseline; gap: 6px; }
.logo__mark { font-size: 22px; color: var(--ink); }
.logo__sub { font-size: 13px; color: var(--accent-dark); letter-spacing: .3em; }
.header:not(.is-scrolled) .logo__mark,
.header:not(.is-scrolled) .nav__link,
.header:not(.is-scrolled) .header__phone { color: #fff; }
.header:not(.is-scrolled) .logo__sub { color: #e8d9bf; }

.nav { display: flex; gap: 34px; }
.nav__link {
  font-size: 14px;
  letter-spacing: .08em;
  position: relative;
  transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--accent-dark); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { font-size: 15px; letter-spacing: .04em; font-weight: 500; white-space: nowrap; }

.burger { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 6px 0; }
.burger span { display: block; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.header:not(.is-scrolled) .burger span { background: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('../img/interior-7.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,35,46,.62) 0%, rgba(26,35,46,.40) 45%, rgba(26,35,46,.72) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 2; max-width: 820px; padding-top: 80px; }
.hero__eyebrow { color: #e8d9bf; }
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero__lead { font-size: clamp(16px, 1.6vw, 20px); max-width: 620px; color: rgba(255,255,255,.9); margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 2;
}
.hero__scroll::before {
  content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }

/* ===== ABOUT ===== */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about__media::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent);
  z-index: -1; border-radius: var(--radius);
}
.about__text { color: var(--ink-soft); font-size: 18px; margin: 22px 0 34px; }
.founder { border-top: 1px solid var(--line); padding-top: 26px; }
.founder__head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.founder__photo {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--accent);
  padding: 3px; background: var(--bg);
}
.founder__name { font-size: 22px; font-weight: 600; }
.founder__role { color: var(--accent-dark); font-size: 14px; letter-spacing: .05em; }
.founder__quote { font-family: 'Manrope', sans-serif; font-size: 20px; font-style: italic; color: var(--ink); line-height: 1.5; padding-left: 18px; border-left: 2px solid var(--accent); }

/* ===== STATS ===== */
.stats { background: var(--dark); color: #fff; padding: 70px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -.01em;
  color: var(--accent);
  margin-bottom: 10px;
}
.stat__label { font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .04em; }

/* ===== SERVICES ===== */
.services { background: var(--bg-soft); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service {
  background: #fff;
  padding: 44px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.25); border-color: var(--accent); }
.service__index { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 28px; color: var(--accent); }
.service__title { font-size: 24px; font-weight: 500; margin: 12px 0 20px; }
.service__list li { position: relative; padding-left: 22px; color: var(--ink-soft); margin-bottom: 10px; }
.service__list li::before {
  content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px;
  border: 1px solid var(--accent); transform: rotate(45deg);
}
.service--accent { background: var(--dark); border-color: var(--dark); }
.service--accent .service__title, .service--accent .service__index { color: #fff; }
.service--accent .service__index { color: var(--accent); }
.service--accent .service__list li { color: rgba(255,255,255,.8); }
.service--accent:hover { box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }

/* ===== GALLERY / PROJECTS ===== */
.projects { display: flex; flex-direction: column; gap: 90px; margin-bottom: 90px; }
.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.project--reverse .project__media { order: 2; }
.project__media { overflow: hidden; border-radius: var(--radius); }
.project__media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project__tag { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.project__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 18px; }
.project__text { color: var(--ink-soft); font-size: 18px; }

.masonry { columns: 3; column-gap: 20px; }
.masonry__item { margin-bottom: 20px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); }
.masonry__item img { width: 100%; transition: transform .8s var(--ease), filter .5s; }
.masonry__item:hover img { transform: scale(1.06); filter: brightness(.85); }
.gallery__more { text-align: center; margin-top: 56px; }

/* ===== PRINCIPLES ===== */
.principles { background: var(--bg-soft); }
.principles__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--bg-soft); padding: 46px 44px; transition: background .35s; }
.principle:hover { background: #fff; }
.principle__title { font-size: 22px; font-weight: 500; margin-bottom: 14px; position: relative; padding-left: 30px; }
.principle__title::before { content: ''; position: absolute; left: 0; top: 12px; width: 16px; height: 1px; background: var(--accent); }
.principle__text { color: var(--ink-soft); }

/* ===== CTA ===== */
.cta { background: url('../img/interior-4.jpg') center/cover fixed; position: relative; padding: 130px 0; color: #fff; text-align: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(26,35,46,.78); }
.cta__inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 20px; }
.cta__text { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 34px; }

/* ===== CONTACTS ===== */
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contacts__list { margin: 36px 0 30px; }
.contacts__list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.contacts__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); }
.contacts__value { font-size: 22px; font-weight: 400; transition: color .3s; }
a.contacts__value:hover { color: var(--accent-dark); }
.contacts__socials { display: flex; gap: 18px; }
.contacts__socials a {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: .3s;
}
.contacts__socials a:hover { border-color: var(--accent); color: var(--accent-dark); }

.form { background: var(--bg-soft); padding: 46px 44px; border-radius: var(--radius); }
.form__row { margin-bottom: 16px; }
.form__input {
  width: 100%; padding: 16px 18px; font-family: inherit; font-size: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); transition: border-color .3s; resize: vertical;
}
.form__input:focus { outline: none; border-color: var(--accent); }
.form__input::placeholder { color: #a39e95; }
.form__note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.form__success { display: none; margin-top: 16px; padding: 14px 18px; background: #eef3ec; color: #3c6b3c; border-radius: var(--radius); font-size: 15px; }
.form__success.is-visible { display: block; }
.contacts__call { background: var(--bg-soft); padding: 46px 44px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.contacts__call-title { font-family: 'Montserrat'; font-weight: 600; font-size: 24px; color: var(--ink); }
.contacts__call-text { font-size: 15px; color: var(--ink-soft); margin-bottom: 8px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: #fff; padding: 64px 0 30px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand .logo__mark { color: #fff; }
.footer__brand .logo__sub { color: var(--accent); }
.footer__tagline { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 12px; }
.footer__nav { display: flex; gap: 28px; align-items: center; }
.footer__nav a { font-size: 14px; letter-spacing: .06em; color: rgba(255,255,255,.78); transition: color .3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer__contact a { transition: color .3s; }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ===== SUBPAGE HERO (projects / video) ===== */
.page-hero {
  background: var(--dark);
  color: #fff;
  padding: 190px 0 90px;
  position: relative;
}
.page-hero__inner { max-width: 820px; }
.page-hero__eyebrow { color: #e8d9bf; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.page-hero__title {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 22px;
}
.page-hero__lead { font-size: clamp(16px, 1.6vw, 20px); color: rgba(255,255,255,.85); max-width: 640px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; letter-spacing: .06em; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.breadcrumbs a { color: rgba(255,255,255,.75); transition: color .3s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: rgba(255,255,255,.4); }

/* ===== PROJECTS LISTING ===== */
.proj-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.proj-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.32); border-color: var(--accent); }
.proj-card__media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.proj-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.proj-card:hover .proj-card__media img { transform: scale(1.07); filter: brightness(.88); }
.proj-card__media::after {
  content: 'Смотреть проект';
  position: absolute; inset: 0;
  background: rgba(45,60,75,.52);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.proj-card:hover .proj-card__media::after { opacity: 1; }
.proj-card__body { padding: 32px 34px 36px; display: flex; flex-direction: column; flex: 1; }
.proj-card__tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px; }
.proj-card__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 14px; }
.proj-card__text { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; flex: 1; }
.proj-card__link { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 8px; transition: gap .3s var(--ease), color .3s; }
.proj-card__link::after { content: '\2192'; transition: transform .3s var(--ease); }
.proj-card:hover .proj-card__link { gap: 12px; }

/* Soon / placeholder card */
.proj-card--soon { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: var(--bg-soft); min-height: 320px; }
.proj-card--soon .proj-card__body { justify-content: center; }
.proj-card--soon .proj-card__title { color: var(--ink-soft); font-weight: 500; }

/* ===== PROJECT DETAIL ===== */
.project-hero__media { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project-facts { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.project-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 46px 0; }
.fact__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.fact__value { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }

.project-story { padding: 90px 0; }
.project-story__inner { max-width: 760px; margin: 0 auto; }
.project-story__lead { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 36px; }
.project-story p { color: var(--ink-soft); font-size: 18px; margin-bottom: 22px; }
.project-story p:last-child { margin-bottom: 0; }

.gallery-block { padding-bottom: 110px; }
.gallery-block .section__head { margin: 0 auto 48px; text-align: center; }

/* ===== LIGHTBOX ===== */
.gallery-grid .masonry__item { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex;
  background: rgba(20,27,35,.94); align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  transform: scale(.94); transition: transform .45s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .3s; }
.lightbox__close { top: 24px; right: 28px; width: 46px; height: 46px; font-size: 26px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 30px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }

/* ===== VIDEO PAGE ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.video-card__frame { position: relative; aspect-ratio: 9/16; background: #000; }
.video-card__frame video, .video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-card__body { padding: 24px 28px 28px; }
.video-card__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.video-card__meta { font-size: 13px; letter-spacing: .06em; color: var(--ink-soft); }
.video-empty {
  text-align: center; max-width: 640px; margin: 0 auto; padding: 70px 30px;
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.video-empty__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 26px; margin-bottom: 14px; }
.video-empty p { color: var(--ink-soft); margin-bottom: 26px; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== ANIMATIONS & POLISH ===== */

/* Brand selection */
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Page curtain — white overlay fades out on enter, fades in on leave */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  pointer-events: none;
  animation: curtainReveal .55s var(--ease) forwards;
}
@keyframes curtainReveal { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
body.is-leaving::before { animation: curtainOut .35s var(--ease) forwards; }
@keyframes curtainOut { from { opacity: 0; visibility: visible; } to { opacity: 1; } }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 0; background: var(--accent);
  transition: width .1s linear;
  pointer-events: none;
}

/* Hero text staggered entrance */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow  { animation: slideUp .7s .15s var(--ease) both; }
.hero__title    { animation: slideUp .8s .30s var(--ease) both; }
.hero__lead     { animation: slideUp .7s .50s var(--ease) both; }
.hero__cta      { animation: slideUp .7s .65s var(--ease) both; }

/* Page-hero staggered entrance */
.breadcrumbs        { animation: slideUp .6s .10s var(--ease) both; }
.page-hero__eyebrow { animation: slideUp .6s .25s var(--ease) both; }
.page-hero__title   { animation: slideUp .7s .40s var(--ease) both; }
.page-hero__lead    { animation: slideUp .6s .55s var(--ease) both; }

/* Hero title word reveal — JS replaces title with .hero__word spans */
.hero__title { animation: none !important; }
.hero__word {
  display: inline-block;
  animation: wordReveal .65s var(--ease) both;
}
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* Horizontal project scroll */
.proj-scroll {
  overflow: hidden;
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.proj-scroll__track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 16px 5vw 32px;
  scrollbar-width: none;
  cursor: grab;
}
.proj-scroll__track:active { cursor: grabbing; }
.proj-scroll__track::-webkit-scrollbar { display: none; }
.proj-scroll__track .proj-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
}

/* Custom cursor */
@media (pointer: fine) {
  body, a, button { cursor: none !important; }

  .cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 10001;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--dark);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s;
  }
  .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 10000;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid var(--dark);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: .45;
    transition: width .4s var(--ease), height .4s var(--ease), opacity .4s, border-color .4s, background .4s;
  }

  body.cursor-hover .cursor-dot { width: 10px; height: 10px; background: var(--accent); }
  body.cursor-hover .cursor-ring { width: 44px; height: 44px; border-color: var(--accent); opacity: .65; }

  body.cursor-zoom .cursor-dot { width: 0; height: 0; opacity: 0; }
  body.cursor-zoom .cursor-ring {
    width: 64px; height: 64px;
    background: rgba(45,60,75,.12); border-color: var(--dark); opacity: .85;
  }
}

/* Project facts hover accent */
.project-facts__grid .fact {
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  transition: border-color .3s var(--ease);
}
.project-facts__grid .fact:hover { border-bottom-color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .about__inner, .contacts__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__media::before { inset: 12px -12px -12px 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .services__grid, .principles__grid { grid-template-columns: 1fr; }
  .project, .project--reverse { grid-template-columns: 1fr; gap: 24px; }
  .project--reverse .project__media { order: 0; }
  .masonry { columns: 2; }
  .proj-list { grid-template-columns: 1fr; }
  .proj-scroll__track .proj-card { flex: 0 0 320px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .project-facts__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .page-hero { padding: 150px 0 70px; }
  .footer__inner { flex-direction: column; }
  .footer__contact { text-align: left; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header__phone { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; flex-direction: column; justify-content: center; gap: 26px;
    padding: 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.4);
  }
  .nav.is-open { display: flex; transform: translateX(0); }
  .nav .nav__link { font-size: 20px; color: var(--ink) !important; }
  .header:not(.is-scrolled) .nav .nav__link { color: var(--ink); }
  .burger { display: flex; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__actions .btn--small { display: none; }
  .cta { background-attachment: scroll; }
  .masonry { columns: 1; }
  .proj-scroll__track .proj-card { flex: 0 0 280px; }
  .project-facts__grid { grid-template-columns: 1fr; gap: 22px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
