/* ==========================================================================
   TETIS — мебельная мануфактура
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-soft: #0b0b0a;
  --surface: #111110;
  --surface-2: #151513;
  --ink: #f3f0ea;
  --ink-soft: #cbc6bd;
  --muted: #8d8981;
  --muted-2: #68655f;
  --line: rgba(243, 240, 234, 0.13);
  --line-strong: rgba(243, 240, 234, 0.24);
  --warm: #d6c9b6;
  --warm-bright: #efe4d3;
  --light: #ddd8cf;
  --light-ink: #10100f;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", "Segoe UI Variable Text", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(24px, 4.4vw, 68px);
  --container: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

section[id],
footer[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-loading,
body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  color: #080808;
  background: var(--warm);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #060606;
}
::-webkit-scrollbar-thumb {
  background: #2c2b28;
  border: 2px solid #060606;
}
::-webkit-scrollbar-thumb:hover {
  background: #46443f;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10000;
  padding: 12px 18px;
  color: #0a0a0a;
  background: var(--warm);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 1px solid var(--warm);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 42px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

.section {
  position: relative;
  padding: clamp(78px, 8vw, 128px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(250px, 350px);
  align-items: end;
  gap: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-head--compact {
  grid-template-columns: 180px minmax(0, 1fr);
  border-top: 0;
  padding-top: 0;
}

.section-head__index {
  margin: 0;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-head__title {
  min-width: 0;
  max-width: 900px;
  font-size: clamp(42px, 5.8vw, 82px);
}

.section-head__note {
  max-width: 340px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #070707;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(214, 201, 182, 0.06), transparent 55%);
  pointer-events: none;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loader__logo {
  width: 92px;
  color: var(--ink);
  overflow: visible;
}

.loader__logo path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: drawLogo 1.9s var(--ease) forwards;
}
.loader__logo path:nth-child(2) { animation-delay: 0.14s; }
.loader__logo path:nth-child(3) { animation-delay: 0.24s; }
.loader__logo path:nth-child(4) { animation-delay: 0.36s; }
.loader__logo path:nth-child(5) { animation-delay: 0.46s; }

.loader__word {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  line-height: 1;
}

.loader__track {
  position: relative;
  width: 150px;
  height: 1px;
  overflow: hidden;
  background: rgba(243, 240, 234, 0.12);
}
.loader__track span {
  position: absolute;
  inset: 0;
  background: var(--warm);
  transform-origin: left;
  animation: loadTrack 2.1s var(--ease) infinite;
}

.loader__caption {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

@keyframes drawLogo {
  to { stroke-dashoffset: 0; }
}
@keyframes loadTrack {
  0% { transform: scaleX(0); }
  55% { transform: scaleX(1); transform-origin: left; }
  56% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* --------------------------------------------------------------------------
   Texture / progress / cursor
   -------------------------------------------------------------------------- */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.6s steps(2) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.5%); }
  75% { transform: translate(-1%, -1%); }
  100% { transform: translate(1.5%, 1%); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  height: 1px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9500;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cursor.is-active {
  opacity: 1;
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot {
  width: 4px;
  height: 4px;
  background: var(--warm-bright);
}
.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 228, 211, 0.4);
  transition: width 0.32s var(--ease), height 0.32s var(--ease), background-color 0.32s var(--ease), border-color 0.32s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 62px;
  height: 62px;
  border-color: rgba(239, 228, 211, 0.25);
  background: rgba(239, 228, 211, 0.07);
}
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor input,
.has-custom-cursor label {
  cursor: none;
}

/* --------------------------------------------------------------------------
   Buttons, links
   -------------------------------------------------------------------------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
  will-change: transform;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--warm);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.button > * {
  position: relative;
  z-index: 1;
}
.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.button:hover {
  color: #0a0a0a;
  border-color: var(--warm);
}
.button:hover::before {
  transform: translateY(0);
}
.button:hover svg {
  transform: translateX(4px);
}

.button--primary {
  border-color: var(--warm);
  color: #0a0a0a;
  background: var(--warm);
}
.button--primary::before {
  background: var(--warm-bright);
}
.button--primary:hover {
  color: #0a0a0a;
  border-color: var(--warm-bright);
}

.button--ghost {
  border-color: transparent;
  padding-inline: 18px;
}
.button--ghost::before {
  display: none;
}
.button--ghost:hover {
  color: var(--warm-bright);
  border-color: transparent;
}
.button__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.button--ghost:hover .button__dot {
  transform: scale(0);
}

.button--header {
  min-height: 42px;
  padding: 0 18px;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.button--header svg {
  width: 15px;
  height: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}
.text-link:hover {
  opacity: 0.65;
}
.text-link:hover svg {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 92px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: height 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}

.site-header.is-scrolled {
  height: 74px;
  border-bottom-color: var(--line);
  background: rgba(7, 7, 7, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 46px;
  height: 30px;
  color: var(--ink);
  overflow: visible;
  transition: color 0.35s ease, transform 0.55s var(--ease);
}
.brand:hover .brand__mark {
  transform: translateY(-2px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.42em;
  line-height: 1;
}

.brand__tagline {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  margin-left: auto;
  margin-right: clamp(30px, 4vw, 64px);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-nav a span {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover span {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-phone {
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.header-phone:hover {
  color: var(--warm);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:first-child {
  top: 17px;
}
.menu-toggle span:last-child {
  top: 23px;
}
.menu-toggle[aria-expanded="true"] {
  border-color: var(--warm);
}
.menu-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--gutter) 40px;
  background: #080808;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-2%);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s ease;
}
.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu__nav a:hover {
  color: var(--warm);
}
.mobile-menu__num {
  color: var(--muted-2);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 45px;
  color: var(--muted);
  font-size: 13px;
}
.mobile-menu__foot a:hover {
  color: var(--warm);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 156px 0 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(214, 201, 182, 0.05), transparent 42%),
    linear-gradient(180deg, #0a0a09 0%, #070707 70%, #080807 100%);
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 75vw;
  height: 75vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 193, 171, 0.07), transparent 62%);
  pointer-events: none;
}

.hero__ghost {
  position: absolute;
  bottom: 9%;
  left: -2vw;
  z-index: 0;
  color: transparent;
  font-family: var(--font-sans);
  font-size: clamp(180px, 31vw, 520px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(243, 240, 234, 0.055);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  flex: 1;
}

.hero__copy {
  min-width: 0;
  padding-top: 14px;
}

.hero__eyebrow {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease) 0.2s, transform 0.8s var(--ease) 0.2s;
}

.hero__title {
  margin: 30px 0 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 7.15vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.87;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.07em;
  margin-bottom: -0.07em;
}
.hero__title .line > span {
  display: inline-block;
  white-space: nowrap;
  transform: translateY(115%);
  transition: transform 1.2s var(--ease);
}
.hero__title .line:nth-child(1) > span { transition-delay: 0.32s; }
.hero__title .line:nth-child(2) > span { transition-delay: 0.43s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.54s; }

.hero__title em {
  color: var(--warm);
  font-weight: 400;
}

.hero__description {
  max-width: 470px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) 0.8s, transform 0.9s var(--ease) 0.8s;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) 0.92s, transform 0.9s var(--ease) 0.92s;
}

.hero__aside {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  margin-top: 42px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 1s var(--ease) 1.1s;
}
.hero__aside span {
  position: relative;
  padding-left: 12px;
}
.hero__aside span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border: 1px solid var(--muted-2);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero__visual {
  position: relative;
  justify-self: end;
  min-width: 0;
  width: min(100%, 520px);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease) 0.4s, transform 1.1s var(--ease) 0.4s;
}

.hero__frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0b0b0a;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease), filter 1.2s ease;
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
}
.hero__frame:hover .hero__media img {
  transform: scale(1.035);
  filter: saturate(0.98) contrast(1.03) brightness(1);
}
.hero__frame-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 45%, rgba(0, 0, 0, 0.42) 100%);
}
.hero__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(243, 240, 234, 0.45);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.hero__corner--tl {
  top: 20px;
  left: 20px;
  border-width: 1px 0 0 1px;
}
.hero__corner--br {
  right: 20px;
  bottom: 20px;
  border-width: 0 1px 1px 0;
}

.hero__label {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: 210px;
  color: rgba(243, 240, 234, 0.72);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}
.hero__label strong {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: none;
}
.hero__project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(243, 240, 234, 0.35);
  color: var(--warm);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.hero__project-link svg {
  width: 11px;
  height: 11px;
}
.hero__project-link:hover {
  color: var(--warm-bright);
  border-color: var(--warm-bright);
}
.hero__label-index {
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero__seal {
  position: absolute;
  bottom: -46px;
  left: -52px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(9, 9, 8, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__seal svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  overflow: visible;
  animation: sealRotate 32s linear infinite;
}
.hero__seal text {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 6.7px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.hero__seal-mark {
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  line-height: 1;
}
@keyframes sealRotate {
  to { transform: rotate(360deg); }
}

.hero__side-note {
  position: absolute;
  top: 50%;
  right: -46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
}
.hero__side-line {
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(48px, 7vw, 90px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 760px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 28px 22px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease) 1.2s, transform 0.8s var(--ease) 1.2s;
}
.stat + .stat {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.stat__value {
  display: flex;
  align-items: baseline;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__suffix {
  color: var(--warm);
  font-size: 0.55em;
  font-style: italic;
}
.stat__label {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.hero__scroll:hover {
  color: var(--warm);
}
.hero__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: var(--line);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--warm);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

body.is-ready .hero__eyebrow,
body.is-ready .hero__description,
body.is-ready .hero__actions,
body.is-ready .hero__aside,
body.is-ready .hero__visual,
body.is-ready .stat {
  opacity: 1;
  transform: translateY(0);
}
body.is-ready .hero__title .line > span {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 19px 0 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0a09;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  padding: 0 28px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.7vw, 22px);
  font-style: italic;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.marquee__track i {
  color: var(--warm);
  font-size: 8px;
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  background:
    radial-gradient(ellipse at 12% 20%, rgba(214, 201, 182, 0.04), transparent 36%),
    linear-gradient(180deg, #090908, #0b0b0a);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(50px, 8vw, 130px);
  margin-top: clamp(52px, 6vw, 82px);
}

.about__sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

.about__mark {
  width: 112px;
  margin-bottom: 48px;
  color: rgba(243, 240, 234, 0.16);
}
.about__mark svg {
  width: 100%;
  height: auto;
}

.about__facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.about-fact__value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.about-fact__label {
  max-width: 240px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.about__content {
  min-width: 0;
  max-width: 900px;
}

.about__text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.about__text p {
  color: var(--ink-soft);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 300;
  line-height: 1.8;
}
.about__text p:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.directors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.director {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  background: #0d0d0c;
  transition: background-color 0.5s var(--ease);
}
.director:hover {
  background: #121210;
}
.director::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.director:hover::after {
  transform: scaleX(1);
}

.director__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.director__monogram {
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  line-height: 1;
}
.director__role {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}
.director__name {
  margin-top: 26px;
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.director__name + .director__quote {
  margin-top: 12px;
}
.director__quote {
  margin-top: 30px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.32;
}
.director__bio {
  max-width: 320px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}
.director__signature {
  margin-top: auto;
  padding-top: 40px;
  color: rgba(243, 240, 234, 0.1);
  font-size: 11px;
  letter-spacing: 0.4em;
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */

.portfolio {
  padding-top: clamp(82px, 9vw, 132px);
  background: #070707;
}

.portfolio__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 60px;
}

.portfolio__head .section-head {
  display: block;
}

.portfolio__intro {
  max-width: 350px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.portfolio__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 54px 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.filter {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.filter span {
  margin-left: 5px;
  color: var(--muted-2);
  font-size: 8px;
}
.filter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.filter:hover {
  color: var(--ink);
}
.filter.is-active {
  color: var(--ink);
}
.filter.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.portfolio__hint {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  align-items: start;
}

.project-card {
  position: relative;
  min-width: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.project-card--wide {
  grid-column: span 7;
}
.project-card--tall {
  grid-column: span 5;
}
.project-card--half {
  grid-column: span 6;
}
.project-card.is-hidden {
  display: none;
}
.project-card.is-filtering {
  opacity: 0;
  transform: translateY(12px);
}
.projects-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 24px;
  text-align: center;
}

.project-card__button {
  display: block;
  width: 100%;
  color: inherit;
  text-align: left;
}

.project-card__media {
  position: relative;
  height: clamp(330px, 37vw, 530px);
  overflow: hidden;
  background: #111;
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 35%, rgba(0, 0, 0, 0.58) 100%);
  opacity: 0.7;
  transition: opacity 0.6s var(--ease);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02) brightness(0.88);
  transform: scale(1.001);
  transition: transform 1.2s var(--ease), filter 0.8s ease;
}
.project-card:hover .project-card__media img {
  transform: scale(1.055);
  filter: saturate(0.98) contrast(1.03) brightness(0.98);
}
.project-card:hover .project-card__media::after {
  opacity: 0.5;
}

.project-card__index {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  color: rgba(243, 240, 234, 0.66);
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
}
.project-card__view {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(243, 240, 234, 0.3);
  color: var(--ink);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background-color 0.3s ease;
}
.project-card__view svg {
  width: 13px;
  height: 13px;
}
.project-card:hover .project-card__view {
  opacity: 1;
  transform: translateY(0);
}
.project-card__view:hover {
  background: rgba(7, 7, 7, 0.5);
}

.project-card__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.project-card__info h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.project-card__info p {
  max-width: 390px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.project-card__meta {
  padding-top: 5px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.portfolio__foot p {
  max-width: 470px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Advantages
   -------------------------------------------------------------------------- */

.advantages {
  background:
    radial-gradient(ellipse at 80% 18%, rgba(214, 201, 182, 0.04), transparent 38%),
    #0a0a09;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 5.5vw, 68px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage {
  position: relative;
  min-height: 260px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.55s var(--ease);
}
.advantage:hover {
  background: rgba(214, 201, 182, 0.035);
}
.advantage__num {
  color: var(--warm);
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
}
.advantage h3 {
  max-width: 260px;
  margin-top: 40px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.13;
}
.advantage p {
  max-width: 290px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.advantage__line {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 28px;
  height: 1px;
  background: var(--line-strong);
  transition: width 0.6s var(--ease), background-color 0.6s var(--ease);
}
.advantage:hover .advantage__line {
  width: 64px;
  background: var(--warm);
}

/* --------------------------------------------------------------------------
   Lead form
   -------------------------------------------------------------------------- */

.lead-section {
  padding-top: 0;
  background: #070707;
}

.lead-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(34px, 6vw, 84px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 88% 100%, rgba(214, 201, 182, 0.08), transparent 40%),
    linear-gradient(135deg, #121210, #0b0b0a 65%);
}

.lead-panel__art {
  position: absolute;
  right: -3%;
  bottom: -16%;
  width: 48%;
  color: rgba(214, 201, 182, 0.055);
  pointer-events: none;
}
.lead-panel__art svg {
  width: 100%;
  height: auto;
}

.lead-panel__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-panel__title {
  max-width: 580px;
  margin-top: 30px;
  font-size: clamp(42px, 5.6vw, 80px);
}

.lead-panel__description {
  max-width: 420px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}

.lead-panel__micro {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lead-panel__micro::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 4px rgba(214, 201, 182, 0.08);
}

.lead-panel__form-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.lead-form {
  width: 100%;
}
.lead-form__fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.field__label i {
  color: var(--muted-2);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: none;
}
.field__input {
  width: 100%;
  height: 58px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.01em;
  transition: border-color 0.3s ease;
}
.field__input::placeholder {
  color: #57544e;
  opacity: 1;
}
.field__input:focus {
  border-color: var(--warm);
}
.field__input.is-invalid {
  border-color: #a97563;
}

.lead-form__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 280px;
  cursor: pointer;
}
.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consent__box {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.consent__box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 4px;
  height: 7px;
  border: solid #0b0b0a;
  border-width: 0 1px 1px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.consent input:checked + .consent__box {
  border-color: var(--warm);
  background: var(--warm);
}
.consent input:checked + .consent__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.consent input:focus-visible + .consent__box {
  outline: 1px solid var(--warm);
  outline-offset: 3px;
}
.consent__text {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.consent__link {
  padding: 0;
  border-bottom: 1px solid rgba(243, 240, 234, 0.3);
  color: var(--ink-soft);
  font-size: inherit;
  text-align: left;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.consent__link:hover {
  color: var(--warm);
  border-color: var(--warm);
}

.lead-form__submit {
  flex: 0 0 auto;
  min-width: 210px;
}
.lead-form__spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(10, 10, 10, 0.25);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.lead-form.is-submitting .lead-form__submit {
  opacity: 0.75;
  pointer-events: none;
}
.lead-form.is-submitting .lead-form__submit svg {
  display: none;
}
.lead-form.is-submitting .lead-form__spinner {
  display: block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-status {
  min-height: 18px;
  margin-top: 14px;
  color: #c69682;
  font-size: 11px;
  line-height: 1.5;
}
.form-status.is-success {
  color: var(--warm);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.lead-success {
  width: 100%;
  padding: 20px 0;
  animation: successIn 0.65s var(--ease) both;
}
.lead-success__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid var(--warm);
  border-radius: 50%;
  color: var(--warm);
}
.lead-success__icon svg {
  width: 28px;
  height: 28px;
}
.lead-success__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.lead-success__text {
  max-width: 420px;
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Contacts / footer
   -------------------------------------------------------------------------- */

.contacts {
  position: relative;
  z-index: 2;
  padding: clamp(84px, 9vw, 128px) 0 0;
  color: var(--light-ink);
  background:
    radial-gradient(ellipse at 85% 5%, rgba(255, 255, 255, 0.6), transparent 46%),
    linear-gradient(160deg, #e2ddd4, #d3cec4);
  overflow: hidden;
}

.contacts__head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 26px 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 16, 15, 0.2);
}

.contacts .section-head__index {
  grid-column: 1;
  grid-row: 1 / 3;
  color: rgba(16, 16, 15, 0.5);
  padding: 10px 0 0;
}

.contacts__title {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.83;
}
.contacts__title em {
  color: rgba(16, 16, 15, 0.42);
  font-weight: 400;
}

.contacts__lead {
  grid-column: 2;
  max-width: 400px;
  margin-top: 16px;
  color: rgba(16, 16, 15, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  margin-top: clamp(42px, 5.5vw, 70px);
  border-top: 1px solid rgba(16, 16, 15, 0.24);
  border-left: 1px solid rgba(16, 16, 15, 0.24);
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: clamp(24px, 2.6vw, 38px);
  overflow: hidden;
  border-right: 1px solid rgba(16, 16, 15, 0.24);
  border-bottom: 1px solid rgba(16, 16, 15, 0.24);
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--light-ink);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.contact-card > * {
  position: relative;
  z-index: 1;
}
.contact-card:hover {
  color: var(--light);
}
.contact-card:hover::before {
  transform: translateY(0);
}
.contact-card__label {
  color: rgba(16, 16, 15, 0.48);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}
.contact-card__value {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.contact-card--phone .contact-card__value {
  font-size: clamp(28px, 3.2vw, 43px);
}
.contact-card__note {
  margin-top: 8px;
  color: rgba(16, 16, 15, 0.5);
  font-size: 9px;
  transition: color 0.4s ease;
}
.contact-card:hover .contact-card__label,
.contact-card:hover .contact-card__note {
  color: rgba(221, 216, 207, 0.55);
}
.contact-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(16, 16, 15, 0.2);
  border-radius: 50%;
  transition: transform 0.45s var(--ease), border-color 0.4s ease;
}
.contact-card__arrow svg {
  width: 13px;
  height: 13px;
}
.contact-card:hover .contact-card__arrow {
  transform: rotate(45deg);
  border-color: rgba(221, 216, 207, 0.3);
}

.contacts__details {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr 0.7fr;
  gap: 30px;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(16, 16, 15, 0.24);
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-detail__label {
  color: rgba(16, 16, 15, 0.45);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-detail p {
  max-width: 260px;
  font-size: 11px;
  line-height: 1.65;
}
.contact-detail--action {
  align-items: flex-end;
  justify-content: flex-end;
}
.contact-detail--action .text-link {
  color: var(--light-ink);
  font-size: 9px;
}
.contact-detail--action .text-link:hover {
  opacity: 0.5;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 50px;
  margin-top: clamp(54px, 7vw, 88px);
  padding: 28px 0;
  border-top: 1px solid rgba(16, 16, 15, 0.24);
}

.brand--footer .brand__mark {
  color: var(--light-ink);
}
.brand--footer .brand__tagline {
  color: rgba(16, 16, 15, 0.5);
}
.brand--footer:hover .brand__mark {
  transform: translateY(-2px);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__nav a {
  color: rgba(16, 16, 15, 0.66);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer__nav a:hover {
  color: var(--light-ink);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(16, 16, 15, 0.48);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-align: right;
}
.footer__legal button,
.footer__legal a {
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.footer__legal button:hover,
.footer__legal a:hover {
  color: var(--light-ink);
}
.footer__admin {
  opacity: 0.65;
}

.footer__wordmark {
  position: relative;
  margin: 10px 0 -0.17em;
  color: rgba(16, 16, 15, 0.08);
  font-size: clamp(140px, 24vw, 380px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.75;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 30px;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox__window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  width: min(1200px, 100%);
  max-height: calc(100svh - 60px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0d0d0c;
  opacity: 0;
  transform: scale(0.97) translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
.lightbox.is-open .lightbox__backdrop {
  opacity: 1;
}
.lightbox.is-open .lightbox__window {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.lightbox__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #111;
}
.lightbox__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.94);
  transition: opacity 0.28s ease;
}
.lightbox__counter {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(243, 240, 234, 0.7);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
}
.lightbox__content {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 56px);
  overflow-y: auto;
}
.lightbox__eyebrow {
  color: var(--warm);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lightbox__title {
  margin-top: 22px;
  font-size: clamp(34px, 4vw, 52px);
}
.lightbox__description {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}
.lightbox__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.lightbox__meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.lightbox__meta dt {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lightbox__meta dd {
  font-family: var(--font-display);
  font-size: 15px;
  text-align: right;
}
.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 40px;
}
.lightbox__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.lightbox__arrow svg {
  width: 15px;
  height: 15px;
}
.lightbox__arrow:hover {
  color: var(--ink);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(7, 7, 7, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, transform 0.4s var(--ease);
}
.lightbox__close:hover {
  background: var(--warm);
  color: #0a0a0a;
  transform: rotate(90deg);
}
.lightbox__close svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Privacy modal
   -------------------------------------------------------------------------- */

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 4100;
  display: grid;
  place-items: center;
  padding: 30px;
}
.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.privacy-modal__window {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  max-height: calc(100svh - 60px);
  padding: clamp(30px, 4vw, 54px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  background: #0d0d0c;
  animation: modalIn 0.5s var(--ease) both;
}
.privacy-modal__close {
  position: absolute;
}
.privacy-modal__title {
  margin-top: 22px;
  font-size: clamp(30px, 4vw, 44px);
}
.privacy-modal__text {
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}
.privacy-modal__text p + p {
  margin-top: 15px;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5000;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(14, 14, 13, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Reveals
   -------------------------------------------------------------------------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease) var(--reveal-delay, 0s), transform 1s var(--ease) var(--reveal-delay, 0s);
}
.reveal-ready [data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .site-header {
    height: 82px;
  }
  .site-header.is-scrolled {
    height: 68px;
  }
  .site-nav {
    gap: 24px;
    margin-right: 28px;
  }
  .header-phone {
    display: none;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 50px;
  }
  .hero__title {
    font-size: clamp(58px, 8.5vw, 108px);
  }
  .hero__side-note {
    display: none;
  }
  .section-head,
  .contacts__head {
    grid-template-columns: 150px minmax(0, 1fr) 280px;
    gap: 30px;
  }
  .about__grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 60px;
  }
}

@media (max-width: 1020px) {
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions {
    gap: 14px;
  }
  .hero {
    padding-top: 130px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 70px;
  }
  .hero__copy {
    max-width: 760px;
  }
  .hero__visual {
    justify-self: start;
    width: min(78%, 520px);
    margin-left: auto;
  }
  .hero__seal {
    left: -38px;
    bottom: -34px;
    width: 116px;
    height: 116px;
  }
  .hero__bottom {
    margin-top: 70px;
  }
  .section-head,
  .contacts__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contacts .section-head__index {
    grid-column: auto;
    grid-row: auto;
    padding: 0;
  }
  .contacts__title,
  .contacts__lead {
    grid-column: auto;
    margin-top: 0;
  }
  .section-head__index {
    padding-bottom: 0;
  }
  .section-head__note {
    max-width: 480px;
    padding-bottom: 0;
  }
  .section-head--compact {
    grid-template-columns: 1fr;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about__sticky {
    position: static;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .about__mark {
    width: 100%;
    margin: 0;
  }
  .about__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }
  .about-fact {
    padding: 0 24px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .about-fact + .about-fact {
    padding-left: 24px;
  }
  .about-fact:last-child {
    border-right: 0;
  }
  .portfolio__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .portfolio__intro {
    max-width: 480px;
  }
  .project-card--wide,
  .project-card--tall,
  .project-card--half {
    grid-column: span 6;
  }
  .project-card__media {
    height: clamp(300px, 48vw, 480px);
  }
  .advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .lead-panel__art {
    width: 70%;
    opacity: 0.7;
  }
  .lead-panel__form-wrap {
    max-width: 640px;
  }
  .contacts__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card--phone {
    grid-column: span 2;
    min-height: 160px;
  }
  .contacts__details {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .contact-detail--action {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer {
    grid-template-columns: 1fr auto;
  }
  .footer__legal {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .lightbox__window {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .lightbox__media {
    min-height: 380px;
    max-height: 48svh;
  }
  .lightbox__content {
    overflow: visible;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }
  .site-header {
    height: 72px;
  }
  .site-header.is-scrolled {
    height: 64px;
  }
  .brand {
    gap: 10px;
  }
  .brand__mark {
    width: 36px;
    height: 24px;
  }
  .brand__name {
    font-size: 13px;
  }
  .brand__tagline {
    font-size: 6px;
  }
  .button--header {
    display: none;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
  .menu-toggle span {
    left: 11px;
  }
  .menu-toggle span:first-child {
    top: 15px;
  }
  .menu-toggle span:last-child {
    top: 21px;
  }
  .menu-toggle[aria-expanded="true"] span:first-child,
  .menu-toggle[aria-expanded="true"] span:last-child {
    top: 18px;
  }
  .hero {
    padding-top: 112px;
    padding-bottom: 22px;
  }
  .hero__title {
    margin-top: 24px;
    font-size: clamp(34px, 10.3vw, 58px);
    line-height: 0.94;
  }
  .hero__title .line > span {
    white-space: normal;
  }
  .hero__description {
    margin-top: 26px;
    font-size: 14px;
  }
  .hero__actions {
    margin-top: 32px;
    gap: 8px;
  }
  .button {
    min-height: 54px;
    padding: 0 20px;
    font-size: 10px;
  }
  .button--ghost {
    min-height: 48px;
    padding-inline: 8px;
  }
  .hero__aside {
    flex-direction: column;
    gap: 7px;
    margin-top: 30px;
  }
  .hero__grid {
    gap: 54px;
  }
  .hero__visual {
    width: min(86%, 440px);
    margin-right: auto;
    margin-left: 0;
  }
  .hero__seal {
    left: -18px;
    bottom: -28px;
    width: 98px;
    height: 98px;
  }
  .hero__seal-mark {
    font-size: 24px;
  }
  .hero__label {
    right: 18px;
    bottom: 16px;
    max-width: 170px;
    font-size: 7px;
  }
  .hero__label strong {
    font-size: 12px;
  }
  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    margin-top: 58px;
  }
  .hero__stats {
    grid-template-columns: 1fr;
  }
  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    transition-delay: 1.1s;
  }
  .stat + .stat {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .stat__label {
    max-width: 190px;
    text-align: right;
  }
  .hero__scroll {
    display: none;
  }
  .marquee {
    padding: 14px 0 12px;
  }
  .marquee__track span {
    padding: 0 18px;
  }
  .section {
    padding: 86px 0;
  }
  .section-head__title {
    font-size: clamp(38px, 10vw, 54px);
  }
  .section-head__note {
    font-size: 12px;
  }
  .about__sticky {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 22px;
  }
  .about__facts {
    grid-template-columns: 1fr;
  }
  .about-fact {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-fact + .about-fact {
    padding-left: 0;
  }
  .about-fact__value {
    font-size: 25px;
  }
  .about__text {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about__text p:first-child {
    font-size: 22px;
  }
  .directors {
    grid-template-columns: 1fr;
  }
  .director {
    min-height: 300px;
    padding: 26px;
  }
  .portfolio__toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 38px;
  }
  .portfolio__hint {
    display: none;
  }
  .filters {
    gap: 6px 18px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .project-card--wide,
  .project-card--tall,
  .project-card--half {
    grid-column: span 1;
  }
  .project-card__media {
    height: 360px;
  }
  .project-card__info {
    flex-direction: column;
    gap: 8px;
  }
  .project-card__meta {
    padding-top: 0;
    text-align: left;
  }
  .project-card__view {
    opacity: 1;
    transform: none;
  }
  .portfolio__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .portfolio__foot p {
    font-size: 16px;
  }
  .advantages__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .advantage {
    min-height: 220px;
    padding: 26px;
  }
  .advantage h3 {
    margin-top: 26px;
  }
  .lead-section {
    padding-top: 0;
  }
  .lead-panel {
    gap: 38px;
    padding: 28px 22px 32px;
  }
  .lead-panel__title {
    font-size: clamp(38px, 10vw, 54px);
  }
  .lead-panel__description {
    font-size: 13px;
  }
  .lead-panel__micro {
    margin-top: 24px;
    font-size: 8px;
  }
  .lead-panel__art {
    width: 100%;
    right: -30%;
    bottom: -5%;
  }
  .lead-form__fields {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .field__input {
    font-size: 21px;
  }
  .lead-form__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .consent {
    max-width: 100%;
  }
  .lead-form__submit {
    width: 100%;
  }
  .contacts {
    padding-top: 78px;
  }
  .contacts__title {
    font-size: clamp(52px, 15vw, 84px);
  }
  .contacts__lead {
    padding-bottom: 0;
  }
  .contacts__grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }
  .contact-card--phone {
    grid-column: span 1;
  }
  .contact-card {
    min-height: 150px;
    padding: 24px;
  }
  .contact-card__value {
    padding-top: 30px;
  }
  .contacts__details {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 64px;
  }
  .footer__nav {
    gap: 18px;
  }
  .footer__legal {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer__wordmark {
    font-size: 29vw;
    margin-top: 26px;
  }
  .lightbox {
    padding: 0;
  }
  .lightbox__window {
    max-height: 100svh;
    height: 100%;
    border: 0;
  }
  .lightbox__media {
    min-height: 320px;
    max-height: 44svh;
  }
  .lightbox__content {
    padding: 26px 22px 34px;
  }
  .lightbox__nav {
    padding-top: 28px;
  }
  .privacy-modal {
    padding: 0;
  }
  .privacy-modal__window {
    width: 100%;
    max-height: 100svh;
    height: 100%;
    border: 0;
    padding: 86px 22px 38px;
  }
  .cursor {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: 38px;
  }
  .project-card__media {
    height: 300px;
  }
  .contact-card__value {
    font-size: 25px;
  }
  .contact-card--phone .contact-card__value {
    font-size: 28px;
  }
}

@media (hover: none) {
  .cursor {
    display: none;
  }
  .project-card__view {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .grain {
    animation: none;
  }
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   No-JS fallback
   -------------------------------------------------------------------------- */

/* Static rendering mode (?snap) — used for visual QA and previews. */
html.snap .loader {
  display: none !important;
}
html.snap .hero {
  min-height: 900px;
}
html.snap *,
html.snap *::before,
html.snap *::after {
  animation: none !important;
  transition: none !important;
}
html.snap .skip-link {
  transform: translateY(-160%);
}
html.snap .button::before {
  transform: translateY(101%);
}
html.snap .hero__eyebrow,
html.snap .hero__description,
html.snap .hero__actions,
html.snap .hero__aside,
html.snap .hero__visual,
html.snap .stat,
html.snap [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}
html.snap .hero__title .line > span {
  transform: none !important;
}
html.snap .grain {
  opacity: 0.03;
}

@media (scripting: none) {
  .loader {
    display: none;
  }
  .hero__eyebrow,
  .hero__description,
  .hero__actions,
  .hero__aside,
  .hero__visual,
  .stat {
    opacity: 1;
    transform: none;
  }
  .hero__title .line > span {
    transform: none;
  }
  .menu-toggle {
    display: none;
  }
}
