/* =========================================================
   NIKITA — СТАТИЧНЫЕ САЙТЫ: ВИЗИТКИ И ПРИГЛАШЕНИЯ
   Чёрно-белый лендинг. Шрифт Inter лежит локально в /fonts
   (никаких запросов к Google — без передачи IP посетителей).
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

   :root {
    --black: #080808;
    --black-2: #101010;
    --white: #f5f5f2;
    --white-pure: #ffffff;
    --gray-1: #d8d8d3;
    --gray-2: #999994;
    --gray-3: #666662;
    --line-dark: rgba(255,255,255,.16);
    --line-light: rgba(0,0,0,.13);
    --max: 1380px;
    --pad: clamp(20px, 4vw, 64px);
    --ease: cubic-bezier(.2,.75,.2,1);
    --header-h: 76px;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    background: var(--black);
  }
  
  body {
    min-width: 320px;
    color: var(--black);
    background: var(--white);
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.55;
    overflow-x: hidden;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  ::selection {
    color: var(--white);
    background: var(--black);
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button {
    font: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .page-noise {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: .035;
    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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  }
  
  .cursor-dot,
  .cursor-ring {
    display: none;
    position: fixed;
    z-index: 200;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  
  .cursor-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
  }
  
  .cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: width .25s var(--ease), height .25s var(--ease);
  }
  
  body.cursor-hover .cursor-ring {
    width: 58px;
    height: 58px;
  }
  
  /* ---------- HEADER ---------- */
  
  .header {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(var(--pad), calc((100% - var(--max)) / 2));
    color: var(--white);
    transition: transform .45s var(--ease);
  }
  
  /* Soft frosted glass — extended & gradual fade for smooth blur transition */
  .header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(var(--header-h) + 48px);
    z-index: -1;
    background: linear-gradient(
      to bottom,
      rgba(8, 8, 8, 0.82) 0%,
      rgba(8, 8, 8, 0.58) 35%,
      rgba(8, 8, 8, 0.28) 65%,
      rgba(8, 8, 8, 0.08) 85%,
      transparent 100%
    );
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    pointer-events: none;
    /* Very gradual mask so blur doesn't cut off abruptly */
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 28%,
      rgba(0, 0, 0, 0.85) 48%,
      rgba(0, 0, 0, 0.45) 68%,
      rgba(0, 0, 0, 0.15) 85%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 28%,
      rgba(0, 0, 0, 0.85) 48%,
      rgba(0, 0, 0, 0.45) 68%,
      rgba(0, 0, 0, 0.15) 85%,
      transparent 100%
    );
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    flex-shrink: 0;
  }
  
  .brand-mark {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
    transition: transform .6s var(--ease);
  }

  .brand:hover .brand-mark {
    transform: rotate(-12deg);
  }
  
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 36px);
    margin-left: auto;
    margin-right: clamp(18px, 3.5vw, 56px);
    flex-wrap: nowrap;
  }
  
  .desktop-nav a,
  .header-cta {
    position: relative;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  
  .desktop-nav a::after,
  .header-cta::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
  }
  
  .desktop-nav a:hover::after,
  .header-cta:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .header-cta {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-shrink: 0;
  }
  
  .menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
  }
  
  .menu-button span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 6px auto;
    background: currentColor;
    transition: transform .35s var(--ease);
  }
  
  .menu-button.active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  
  .menu-button.active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 20px) 0 0;
    color: var(--white);
    background: var(--black);
    transform: translateY(-100%);
    transition: transform .7s var(--ease);
  }
  
  .mobile-menu.open {
    transform: translateY(0);
  }
  
  .mobile-menu nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 12px var(--pad) 28px;
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 28px,
      #000 calc(100% - 36px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 28px,
      #000 calc(100% - 36px),
      transparent 100%
    );
  }
  
  .mobile-menu nav a {
    font-size: clamp(28px, 8vw, 56px);
    font-weight: 700;
    letter-spacing: -.05em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(25px);
    opacity: 0;
    transition: opacity .5s ease, transform .6s var(--ease);
  }
  
  .mobile-menu nav a:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .mobile-menu.open nav a {
    opacity: 1;
    transform: translateY(0);
  }
  
  .mobile-menu.open nav a:nth-child(2) { transition-delay: .05s; }
  .mobile-menu.open nav a:nth-child(3) { transition-delay: .1s; }
  .mobile-menu.open nav a:nth-child(4) { transition-delay: .15s; }
  .mobile-menu.open nav a:nth-child(5) { transition-delay: .2s; }
  .mobile-menu.open nav a:nth-child(6) { transition-delay: .25s; }
  .mobile-menu.open nav a:nth-child(7) { transition-delay: .3s; }
  
  .mobile-menu p {
    flex: 0 0 auto;
    position: relative;
    margin: 0;
    padding: 20px var(--pad) 28px;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gray-2);
    background: linear-gradient(
      to top,
      var(--black) 55%,
      rgba(8, 8, 8, 0.92) 80%,
      transparent 100%
    );
  }
  /* ---------- COMMON ---------- */
  
  .section {
    position: relative;
    padding: clamp(80px, 9vw, 120px) var(--pad);
  }
  
  .dark-section {
    color: var(--white);
    background: var(--black);
  }
  
  .section-head {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 28px);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-light);
    font-size: 13px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  
  .section-number {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
  }
  
  .section-label {
    flex-shrink: 0;
    margin-left: 0;
  }
  
  .dark-section .section-head {
    border-color: var(--line-dark);
  }
  
  .small-label,
  .eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity .85s var(--ease),
      transform .95s var(--ease);
  }
  
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .reveal-delay-1 { transition-delay: .08s; }
  .reveal-delay-2 { transition-delay: .16s; }
  .reveal-delay-3 { transition-delay: .24s; }
  .reveal-delay-4 { transition-delay: .32s; }
  
  .outline {
    color: transparent;
    -webkit-text-stroke: 1.4px var(--white);
    text-shadow: 0 0 0 transparent;
    paint-order: stroke fill;
  }
  
  em {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
  }
  
  .text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .text-link span {
    transition: transform .35s var(--ease);
  }
  
  .text-link:hover span {
    transform: translate(4px, -4px);
  }
  
  /* ---------- HERO ---------- */
  
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 64px;
    color: var(--white);
    background: var(--black);
    overflow: hidden;
  }
  
  .hero-top {
    position: absolute;
    top: calc(var(--header-h) + 28px);
    right: var(--pad);
    left: var(--pad);
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--gray-2);
    z-index: 2;
  }
  
  .eyebrow {
    display: block;
    max-width: 100%;
    line-height: 1.45;
  }
  
  .eyebrow i {
    width: 5px;
    height: 5px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 9px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
  }
  
  .hero-index {
    font-size: 12px;
    letter-spacing: .1em;
    flex-shrink: 0;
  }
  
  .hero-content {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 24px;
    align-items: center;
  }
  
  .hero-copy {
    min-width: 0; /* critical for preventing overflow in grid */
  }
  
  .hero-kicker {
    margin-bottom: 20px;
    color: var(--gray-2);
    font-size: 14px;
    letter-spacing: .03em;
  }
  
  .hero-title {
    max-width: 100%;
    font-size: clamp(42px, 7.2vw, 128px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .92;
  }
  
  .hero-title .line {
    display: block;
    max-width: 100%;
  }
  
  .hero-title .line:nth-child(2) {
    margin-left: clamp(12px, 5.5vw, 96px);
  }
  
  .hero-bottom {
    max-width: 860px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    margin-top: clamp(32px, 4vw, 52px);
  }
  
  .hero-bottom p {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 460px;
    color: var(--gray-1);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.55;
  }
  
  .circle-link {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-3);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: background .35s ease, color .35s ease, transform .5s var(--ease);
  }
  
  .circle-link:hover {
    color: var(--black);
    background: var(--white);
    transform: rotate(45deg);
  }
  
  .hero-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .vertical-note {
    writing-mode: vertical-rl;
    color: var(--gray-3);
    font-size: 11px;
    letter-spacing: .18em;
    white-space: nowrap;
  }
  
  .hero-scroll {
    position: absolute;
    right: var(--pad);
    bottom: 28px;
    left: var(--pad);
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray-3);
    font-size: 11px;
    letter-spacing: .16em;
    z-index: 2;
  }
  
  .scroll-line {
    width: 90px;
    height: 1px;
    background: #292929;
    overflow: hidden;
  }
  
  .scroll-line span {
    display: block;
    width: 30%;
    height: 100%;
    background: #aaa;
    animation: scrollPulse 1.8s ease-in-out infinite;
  }
  
  @keyframes scrollPulse {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(360%); }
  }
  
  /* ---------- MANIFESTO ---------- */
  
  .manifesto {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .manifesto .section-head {
    margin-bottom: 72px;
  }
  
  .manifesto-grid {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: clamp(32px, 8%, 10%);
    align-items: end;
  }
  
  .huge-text {
    font-size: clamp(40px, 6.8vw, 108px);
    line-height: .95;
    letter-spacing: -.05em;
  }
  
  .manifesto-copy {
    max-width: 400px;
    min-width: 0;
  }
  
  .lead {
    margin-bottom: 24px;
    font-size: clamp(18px, 1.8vw, 26px);
    line-height: 1.28;
    letter-spacing: -.02em;
  }
  
  .manifesto-copy p:not(.lead) {
    color: #999;
    font-size: 15px;
  }
  
  /* ---------- ABOUT ---------- */
  
  .about {
    background: var(--white);
  }
  
  .about-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 7vw, 120px);
    align-items: start;
  }
  
  .about-content {
    max-width: 640px;
    min-width: 0;
  }
  
  .about-content .small-label {
    margin-bottom: 18px;
    color: #777;
  }
  
  .about-content h2 {
    margin-bottom: 32px;
    font-size: clamp(36px, 5vw, 76px);
    line-height: .96;
    letter-spacing: -.045em;
  }
  
  .about-content h2 span {
    color: #8c8c87;
  }
  
  .about-text {
    max-width: 560px;
    margin-bottom: 14px;
    font-size: 17px;
    color: #444;
  }
  
  .about-text strong {
    color: #111;
  }
  
  .facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 48px;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }
  
  .fact {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 16px 20px 0;
    border-right: 1px solid var(--line-light);
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  
  .fact:not(:first-child) {
    padding-left: 16px;
  }
  
  .fact:last-child {
    border-right: 0;
  }
  
  .fact-number {
    display: block;
    color: #999;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .08em;
  }
  
  /* ---------- DIRECTIONS ---------- */
  
  .directions-intro {
    max-width: var(--max);
    margin: 0 auto 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(28px, 8%, 10%);
    align-items: end;
  }
  
  .directions-intro h2 {
    font-size: clamp(40px, 5.8vw, 90px);
    line-height: .94;
    letter-spacing: -.045em;
  }
  
  .directions-intro p {
    max-width: 340px;
    color: #888;
    font-size: 15px;
  }
  
  .service-list {
    max-width: var(--max);
    margin: 0 auto;
  }
  
  .service {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 300px;
    gap: 24px 40px;
    align-items: center;
    padding: 44px 0;
    border-top: 1px solid var(--line-dark);
    transition: background .45s var(--ease), padding .45s var(--ease);
  }
  
  .service:last-child {
    border-bottom: 1px solid var(--line-dark);
  }
  
  .service:hover {
    padding-left: 12px;
    padding-right: 12px;
    background: #0d0d0d;
  }
  
  .service-top {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: center;
    color: #777;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  
  .service-number {
    display: block;
  }
  
  .service-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px;
    color: #aaa;
    font-size: 10px;
    letter-spacing: .14em;
    white-space: nowrap;
  }
  
  .service h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: clamp(32px, 4vw, 56px);
    line-height: .95;
    letter-spacing: -.035em;
    align-self: center;
    min-width: 0;
    text-align: left;
  }
  
  .service p {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    align-self: center;
    color: #8b8b87;
    font-size: 15px;
    line-height: 1.55;
    min-width: 0;
    max-width: 100%;
  }
  
  /* ---------- METHOD ---------- */
  
  .method-heading {
    max-width: var(--max);
    margin: 0 auto 72px;
  }
  
  .method-heading .small-label {
    margin-bottom: 16px;
    color: #777;
  }
  
  .method-heading h2 {
    font-size: clamp(40px, 5.8vw, 90px);
    line-height: .94;
    letter-spacing: -.045em;
  }
  
  .method-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
  }
  
  .method-card {
    min-height: 280px;
    padding: 28px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    transition: background .5s ease, color .5s ease;
  }
  
  .method-card:hover {
    color: var(--white);
    background: var(--black);
  }
  
  .method-card > span {
    display: block;
    margin-bottom: 72px;
    color: #999;
    font-size: 12px;
    letter-spacing: .08em;
  }
  
  .method-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
    letter-spacing: -.03em;
  }
  
  .method-card p {
    max-width: 420px;
    color: #777;
    font-size: 15px;
  }
  
  .method-card:hover p {
    color: #aaa;
  }
  
  /* ---------- PROCESS ---------- */
  
  .process {
    min-height: auto;
  }
  
  .process-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 10%, 12%);
  }
  
  .process-title h2 {
    font-size: clamp(40px, 5.8vw, 88px);
    line-height: .94;
    letter-spacing: -.045em;
  }
  
  .steps {
    border-top: 1px solid var(--line-dark);
  }
  
  .step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  
  .step-index {
    color: #666;
    font-size: 12px;
    letter-spacing: .08em;
  }
  
  .step h3 {
    margin-bottom: 8px;
    font-size: 21px;
    letter-spacing: -.03em;
  }
  
  .step p {
    max-width: 480px;
    color: #858581;
    font-size: 15px;
  }
  
  /* ---------- WHO ---------- */
  
  .who {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  
  .who-content {
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
  }
  
  .who-content > h2 {
    max-width: 960px;
    margin-bottom: 72px;
    font-size: clamp(40px, 6vw, 96px);
    line-height: .94;
    letter-spacing: -.045em;
  }
  
  .who-list {
    max-width: 860px;
    margin-left: auto;
  }
  
  .who-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line-light);
  }
  
  .who-item:last-child {
    border-bottom: 1px solid var(--line-light);
  }
  
  .who-item span {
    color: #999;
    font-size: 12px;
  }
  
  .who-item p {
    max-width: 620px;
    font-size: 18px;
    letter-spacing: -.01em;
  }
  
  /* ---------- CONTACT ---------- */
  
  .contact {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-bottom: 28px;
  }
  
  .contact-top {
    display: flex;
    justify-content: space-between;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  
  .contact-main {
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    padding-top: 56px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .contact-main .small-label {
    margin-bottom: 18px;
    color: #777;
  }
  
  .contact-title {
    font-size: clamp(52px, 10vw, 148px);
    line-height: .88;
    letter-spacing: -.055em;
  }
  
  .contact-title em {
    margin-left: clamp(12px, 5.5vw, 96px);
  }
  
  .contact-description {
    max-width: 420px;
    margin: 40px 0 28px auto;
    color: #92928d;
    font-size: 16px;
  }
  
  .contact-actions {
    max-width: 420px;
    margin-left: auto;
    display: grid;
    gap: 10px;
    width: 100%;
  }
  
  .big-button,
  .outline-button {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 1px solid var(--white);
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .4s ease, background .4s ease;
  }
  
  .big-button:hover {
    color: var(--black);
    background: var(--white);
  }
  
  .outline-button {
    color: #aaa;
    border-color: #444;
    justify-content: center;
  }
  
  .outline-button:hover {
    color: white;
    border-color: white;
  }
  
  .footer {
    max-width: var(--max);
    width: 100%;
    margin: 72px auto 0;
    padding-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line-dark);
    color: #666;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  
  .footer > div {
    display: flex;
    align-items: center;
    gap: 9px;
    justify-self: start;
  }
  
  .footer .brand-mark {
    width: 22px;
    height: 22px;
  }
  
  .footer > span:nth-child(2) {
    text-align: center;
    justify-self: center;
  }
  
  .footer > span:nth-child(3) {
    text-align: right;
    justify-self: end;
  }
  
  /* ---------- TYPOGRAPHY POLISH ---------- */
  
  .eyebrow,
  .hero-index,
  .vertical-note,
  .section-head,
  .fact-number,
  .service-top,
  .method-card > span,
  .step-index,
  .who-item span,
  .contact-top,
  .footer {
    font-weight: 500;
  }
  
  /* =========================================================
     RESPONSIVE
     ========================================================= */
  
  /* Large / scaled desktops (1920@125% ≈ 1536 CSS px, also 1600–1800) */
  @media (max-width: 1680px) {
    :root {
      --pad: clamp(20px, 3.2vw, 48px);
    }
  
    .hero-title {
      font-size: clamp(40px, 6.6vw, 112px);
    }
  
    .huge-text {
      font-size: clamp(40px, 6.2vw, 96px);
    }
  
    .contact-title {
      font-size: clamp(52px, 9.5vw, 132px);
    }
  
    .desktop-nav {
      gap: clamp(12px, 1.6vw, 28px);
      margin-right: clamp(16px, 2.8vw, 40px);
    }
  }
  
  /* Explicit mid-range for 125% scaling and smaller laptops */
  @media (max-width: 1536px) {
    :root {
      --pad: clamp(20px, 3vw, 44px);
      --header-h: 72px;
    }
  
    .section {
      padding: clamp(72px, 8vw, 100px) var(--pad);
    }
  
    .section-head {
      margin-bottom: 56px;
    }
  
    .hero {
      padding-top: calc(var(--header-h) + 48px);
      padding-bottom: 56px;
    }
  
    .hero-top {
      top: calc(var(--header-h) + 22px);
    }
  
    .hero-title {
      font-size: clamp(40px, 6.4vw, 100px);
      letter-spacing: -.05em;
    }
  
    .hero-title .line:nth-child(2) {
      margin-left: clamp(10px, 4.5vw, 72px);
    }
  
    .hero-bottom {
      margin-top: 36px;
      gap: 24px;
    }
  
    .hero-bottom p {
      font-size: 16px;
    }
  
    .circle-link {
      width: 64px;
      height: 64px;
      font-size: 16px;
    }
  
    .huge-text {
      font-size: clamp(40px, 6vw, 88px);
    }
  
    .about-content h2,
    .directions-intro h2,
    .method-heading h2,
    .process-title h2,
    .who-content > h2 {
      letter-spacing: -.04em;
    }
  
    .service {
      padding: 36px 0;
      gap: 16px 28px;
      grid-template-columns: 72px minmax(0, 1fr) 260px;
    }
  
    .service h3 {
      font-size: clamp(28px, 3.8vw, 48px);
    }
  
    .method-card {
      min-height: 260px;
      padding: 24px;
    }
  
    .method-card > span {
      margin-bottom: 56px;
    }
  
    .facts {
      margin-top: 40px;
    }
  
    .fact {
      min-height: 110px;
      padding: 16px 12px 16px 0;
    }
  
    .contact-title {
      font-size: clamp(52px, 9vw, 120px);
    }
  
    .manifesto-grid,
    .directions-intro,
    .process-grid {
      gap: 6%;
    }
  }
  
  @media (max-width: 1280px) {
    .desktop-nav {
      gap: 14px;
      margin-right: 20px;
    }
  
    .desktop-nav a,
    .header-cta {
      font-size: 12px;
      letter-spacing: .08em;
    }
  
    .hero-content {
      grid-template-columns: minmax(0, 1fr) 48px;
    }
  
    .service {
      grid-template-columns: 64px minmax(0, 1fr) 240px;
    }
  }
  
  @media (max-width: 1100px) {
    .desktop-nav,
    .header-cta {
      display: none;
    }
  
    .menu-button {
      display: block;
    }
  
    .hero-content {
      grid-template-columns: 1fr;
    }
  
    .hero-side {
      display: none;
    }
  
    .manifesto-grid,
    .about-grid,
    .directions-intro,
    .process-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
  
    .manifesto-copy {
      max-width: 560px;
    }
  
    .about-grid {
      gap: 48px;
    }
  
    .directions-intro {
      margin-bottom: 48px;
    }
  
    .service {
      grid-template-columns: 56px 1fr;
      grid-template-rows: auto auto;
      gap: 8px 20px;
      padding: 32px 0;
      align-items: start;
    }
  
    .service-top {
      grid-column: 1;
      grid-row: 1 / span 2;
      align-self: start;
    }
  
    .service h3 {
      grid-column: 2;
      grid-row: 1;
      align-self: start;
      text-align: left;
    }
  
    .service p {
      grid-column: 2;
      grid-row: 2;
      max-width: 480px;
      align-self: start;
      text-align: left;
    }
  
    .process-title {
      max-width: 560px;
    }
  
    .who-list {
      margin-left: 0;
    }
  
    .method-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 720px) {
    :root {
      --header-h: 64px;
      --pad: clamp(18px, 5vw, 28px);
    }
  
    .section {
      padding-top: 72px;
      padding-bottom: 72px;
    }
  
    .section-head {
      margin-bottom: 44px;
      font-size: 12px;
      letter-spacing: .1em;
    }
  
    .hero {
      min-height: 100svh;
      padding-top: calc(var(--header-h) + 40px);
      padding-bottom: 56px;
    }
  
    .hero-top {
      top: calc(var(--header-h) + 16px);
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 8px 16px;
    }
  
    .eyebrow {
      flex: 1 1 auto;
      min-width: 0;
      font-size: 11px;
      letter-spacing: .12em;
    }
  
    .hero-index {
      flex: 0 0 auto;
    }
  
    .hero-title {
      font-size: clamp(36px, 11.5vw, 64px);
      line-height: .94;
      letter-spacing: -.04em;
    }
  
    .hero-title .line:nth-child(2) {
      margin-left: 6vw;
    }
  
    .hero-bottom {
      margin-top: 28px;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
  
    .hero-bottom p {
      max-width: 100%;
      font-size: 15px;
    }
  
    .circle-link {
      width: 52px;
      height: 52px;
      font-size: 15px;
    }
  
    .hero-scroll {
      bottom: 20px;
    }
  
    .hero-scroll .scroll-line {
      width: 56px;
    }
  
    .manifesto {
      min-height: auto;
    }
  
    .manifesto .section-head {
      margin-bottom: 48px;
    }
  
    .huge-text {
      font-size: clamp(36px, 12vw, 64px);
      line-height: .96;
      letter-spacing: -.035em;
    }
  
    .lead {
      font-size: 18px;
    }
  
    .about-content h2 {
      font-size: clamp(32px, 9vw, 48px);
      margin-bottom: 24px;
    }
  
    .about-text {
      font-size: 16px;
    }
  
    .facts {
      grid-template-columns: 1fr;
      margin-top: 32px;
    }
  
    .fact,
    .fact:not(:first-child) {
      min-height: auto;
      padding: 16px 0 !important;
      border-right: 0;
      border-bottom: 1px solid var(--line-light);
    }
  
    .fact:last-child {
      border-bottom: 0;
    }
  
    .directions-intro h2,
    .method-heading h2,
    .process-title h2 {
      font-size: clamp(36px, 10vw, 52px);
      line-height: .96;
      letter-spacing: -.035em;
    }
  
    .service {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
      padding: 28px 0 32px;
    }
  
    .service:hover {
      padding-left: 0;
      padding-right: 0;
    }
  
    .service-top {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 12px;
      margin-bottom: 4px;
      grid-column: auto;
      grid-row: auto;
    }
  
    .service h3 {
      margin: 0;
      font-size: clamp(28px, 8vw, 40px);
      line-height: .95;
      text-align: left;
      align-self: flex-start;
      width: 100%;
      grid-column: auto;
      grid-row: auto;
    }
  
    .service p {
      max-width: 100%;
      font-size: 15px;
      text-align: left;
      align-self: flex-start;
      grid-column: auto;
      grid-row: auto;
    }
  
    .method-card {
      min-height: 220px;
      padding: 24px;
    }
  
    .method-card > span {
      margin-bottom: 48px;
    }
  
    .process-grid {
      gap: 40px;
    }
  
    .step {
      grid-template-columns: 36px 1fr;
      gap: 12px;
      padding: 22px 0;
    }
  
    .step h3 {
      font-size: 18px;
    }
  
    .step p {
      font-size: 14px;
    }
  
    .who-content > h2 {
      margin-bottom: 48px;
      font-size: clamp(36px, 10vw, 52px);
      line-height: .96;
      letter-spacing: -.035em;
    }
  
    .who-item {
      grid-template-columns: 36px 1fr;
      gap: 12px;
    }
  
    .who-item p {
      font-size: 16px;
    }
  
    .contact-title {
      font-size: clamp(44px, 14vw, 80px);
      line-height: .9;
      letter-spacing: -.04em;
    }
  
    .contact-title em {
      margin-left: 6vw;
    }
  
    .contact-description {
      margin: 32px 0 24px;
      font-size: 15px;
      max-width: 100%;
    }
  
    .contact-actions {
      max-width: 100%;
      margin-left: 0;
    }
  
    .footer {
      grid-template-columns: 1fr;
      margin-top: 56px;
      gap: 10px;
    }
  
    .footer > div,
    .footer > span:nth-child(2),
    .footer > span:nth-child(3) {
      justify-self: start;
      text-align: left;
    }
  }
  
  @media (max-width: 420px) {
    .hero-title {
      font-size: clamp(32px, 12vw, 48px);
    }
  
    .huge-text,
    .directions-intro h2,
    .method-heading h2,
    .process-title h2,
    .who-content > h2 {
      font-size: clamp(32px, 11vw, 44px);
    }
  
    .contact-title {
      font-size: clamp(40px, 15vw, 64px);
    }
  
    .mobile-menu nav a {
      font-size: clamp(28px, 10vw, 48px);
    }
  
    .big-button,
    .outline-button {
      min-height: 54px;
      font-size: 12px;
    }
  }
  
  /* Short viewports (landscape phones / small height) */
  @media (max-height: 700px) and (min-width: 721px) {
    .hero {
      min-height: auto;
      padding-top: calc(var(--header-h) + 36px);
      padding-bottom: 40px;
    }
  
    .hero-top {
      top: calc(var(--header-h) + 12px);
    }
  
    .hero-title {
      font-size: clamp(36px, 5.5vw, 72px);
    }
  
    .hero-bottom {
      margin-top: 24px;
    }
  
    .contact {
      min-height: auto;
    }
  }
  
  @media (hover: hover) and (pointer: fine) {
    body {
      cursor: none;
    }
  
    .cursor-dot,
    .cursor-ring {
      display: block;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
    *,
    *::before,
    *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  
    .reveal {
      opacity: 1;
      transform: none;
    }
  }
  
/* ---------- FOOTER OFFER + MODAL ---------- */

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
}

.footer-right a {
  color: #888;
  transition: color .3s ease;
}

.footer-right a:hover {
  color: #fff;
}

.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.2,.75,.2,1), visibility .45s cubic-bezier(.2,.75,.2,1);
}

.offer-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .45s cubic-bezier(.2,.75,.2,1);
}

.offer-modal.is-open .offer-modal__backdrop {
  opacity: 1;
}

.offer-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 32px 28px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #f5f5f2;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition:
    transform .5s cubic-bezier(.2,.75,.2,1),
    opacity .5s cubic-bezier(.2,.75,.2,1);
}

.offer-modal.is-open .offer-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.offer-modal__eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
}

.offer-modal__title {
  margin-bottom: 12px;
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: -.03em;
  line-height: 1.2;
}

.offer-modal__text {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.55;
  color: #a8a8a3;
}

.offer-modal__actions {
  display: grid;
  gap: 10px;
}

.offer-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.offer-modal__btn--primary {
  color: #080808;
  background: #f5f5f2;
  border-color: #f5f5f2;
}

.offer-modal__btn--primary:hover {
  background: #fff;
}

.offer-modal__btn--outline:hover {
  border-color: #fff;
  color: #fff;
}

body.offer-modal-open {
  overflow: hidden;
  cursor: auto;
}

body.offer-modal-open .cursor-dot,
body.offer-modal-open .cursor-ring {
  display: none !important;
}

body.offer-modal-open .offer-modal__backdrop {
  pointer-events: auto;
}

@media (max-width: 720px) {
  .footer-right {
    justify-content: flex-start;
    justify-self: start;
  }
}

/* =========================================================
   НОВОЕ: фокус, формат, работы, окно просмотра, плашка
   ========================================================= */

/* ---------- FOCUS ---------- */

a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

/* ---------- FORMAT (блок 03) ---------- */

.about-lead .small-label {
  margin-bottom: 18px;
  color: #777;
}

.about-lead h2 {
  font-size: clamp(36px, 5vw, 76px);
  line-height: .96;
  letter-spacing: -.045em;
}

.about-lead h2 span {
  color: #8c8c87;
}

.scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.scope-col {
  padding: 22px 20px 24px 0;
}

.scope-col + .scope-col {
  padding-left: 20px;
  border-left: 1px solid var(--line-light);
}

.scope-col h3 {
  margin-bottom: 14px;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scope-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.scope-col li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: #333;
}

.scope-col li::before {
  content: "+";
  color: #999;
}

.scope-col.is-no li {
  color: #777;
}

.scope-col.is-no li::before {
  content: "—";
}

.scope-note {
  margin-top: 22px;
  padding-left: 14px;
  border-left: 1px solid var(--black);
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- WORKS (блок 05) ---------- */

.works {
  background: var(--black-2);
}

.works-intro {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 8%, 10%);
  align-items: end;
}

.works-intro h2 {
  font-size: clamp(40px, 5.8vw, 90px);
  line-height: .94;
  letter-spacing: -.045em;
}

.works-intro p {
  max-width: 360px;
  color: #888;
  font-size: 15px;
}

.works-bar {
  max-width: var(--max);
  margin: 0 auto 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.works-tabs {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.works-tabs::-webkit-scrollbar {
  display: none;
}

.works-tab {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 0 16px;
  border: 0;
  background: none;
  color: #777;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s ease;
}

.works-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.works-tab:hover {
  color: var(--gray-1);
}

.works-tab[aria-selected="true"] {
  color: var(--white);
}

.works-tab[aria-selected="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.works-tab-count {
  color: #555;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.works-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}

.works-counter {
  min-width: 64px;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.works-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease, opacity .35s ease;
}

.works-arrow:hover:not(:disabled) {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.works-arrow:disabled {
  opacity: .3;
  cursor: default;
}

.works-viewport {
  max-width: var(--max);
  margin: 0 auto;
}

.works-track {
  list-style: none;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  transition: opacity .35s ease, transform .5s var(--ease);
}

.works-track::-webkit-scrollbar {
  display: none;
}

.works-track.is-switching {
  opacity: 0;
  transform: translateY(14px);
}

.works-track > li {
  flex: 0 0 clamp(260px, 28vw, 400px);
  scroll-snap-align: start;
  min-width: 0;
}

.work-card {
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.work-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #161616;
  border: 1px solid var(--line-dark);
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 1.2s var(--ease), filter .8s ease;
}

.work-card:hover .work-cover img,
.work-card:focus-visible .work-cover img {
  transform: scale(1.035);
  filter: grayscale(0%);
}

/* Обложка-заглушка, пока нет картинки */
.work-cover-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 100% 20%;
  transition: background-color .6s ease;
}

.work-card:hover .work-cover-ph {
  background-color: #1b1b1b;
}

.work-cover-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #777;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-cover-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,245,242,.75);
  overflow-wrap: anywhere;
}

.work-cover-bottom {
  color: #666;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
}

.work-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(8,8,8,.5);
  color: var(--white);
  font-size: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .5s var(--ease), background .35s ease, color .35s ease;
}

.work-card:hover .work-open,
.work-card:focus-visible .work-open {
  opacity: 1;
  transform: translateY(0) rotate(45deg);
  background: var(--white);
  color: var(--black);
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.work-card p {
  color: #8b8b87;
  font-size: 15px;
  line-height: 1.5;
}

.work-status {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work-card.is-soon {
  cursor: default;
}

.work-card.is-soon .work-cover {
  border-style: dashed;
}

.work-card.is-soon .work-status {
  color: #666;
  border-bottom-color: transparent;
}

.works-empty {
  flex: 1 0 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px dashed var(--line-dark);
  color: #777;
  font-size: 15px;
  text-align: center;
}

/* ---------- WORK MODAL (живой просмотр) ---------- */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--white);
  background: rgba(8, 8, 8, .98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}

.work-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--line-dark);
}

.wm-title {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wm-title span {
  color: #777;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wm-title h2 {
  overflow: hidden;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: -.03em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wm-devices {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.wm-device {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.wm-device[aria-pressed="true"] {
  background: var(--white);
  color: var(--black);
}

.wm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wm-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--gray-3);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.wm-link:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.wm-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: transform .5s var(--ease), background .35s ease, color .35s ease;
}

.wm-close:hover {
  color: var(--black);
  background: var(--white);
  transform: rotate(90deg);
}

.wm-stage {
  position: relative;
  overflow: hidden;
}

.wm-frame {
  --w: 390px;
  --h: 844px;
  --s: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--w);
  height: var(--h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 44px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  transform: translate(-50%, -50%) scale(var(--s));
  transition: opacity .4s ease, transform .6s var(--ease);
}

.work-modal:not(.is-open) .wm-frame {
  opacity: 0;
  transform: translate(-50%, -46%) scale(var(--s));
}

.wm-frame.is-desktop {
  border-radius: 12px;
}

.wm-chrome {
  display: none;
  flex-shrink: 0;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #151515;
  border-bottom: 1px solid #222;
}

.wm-frame.is-desktop .wm-chrome {
  display: flex;
}

.wm-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.wm-chrome span {
  flex: 1;
  overflow: hidden;
  margin-left: 12px;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wm-frame iframe {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.wm-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0d0d0d;
  color: #777;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .4s ease;
}

.wm-frame.is-desktop .wm-loading {
  top: 38px;
}

.wm-frame.is-loaded .wm-loading {
  opacity: 0;
  pointer-events: none;
}

.wm-note {
  padding: 12px var(--pad);
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  color: #666;
  font-size: 12px;
  text-align: center;
}

.wm-note a {
  color: #aaa;
  border-bottom: 1px solid currentColor;
}

body.work-modal-open {
  overflow: hidden;
  cursor: auto;
}

body.work-modal-open .cursor-dot,
body.work-modal-open .cursor-ring {
  display: none !important;
}

/* ---------- CONTACT NOTE ---------- */

.contact-note {
  max-width: 420px;
  margin: 0 0 28px auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: #bdbdb8;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- COOKIE BANNER (выключена в script.js) ---------- */

.cookie-banner {
  position: fixed;
  z-index: 250;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(600px, calc(100% - 2 * var(--pad)));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 16px 16px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(16, 16, 16, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--gray-1);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-banner a {
  color: var(--white);
  border-bottom: 1px solid currentColor;
}

.cookie-banner button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--white);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- RESPONSIVE (новые блоки) ---------- */

@media (max-width: 1100px) {
  .works-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }

  .about-lead {
    max-width: 640px;
  }
}

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

  .scope-col + .scope-col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .works-intro h2 {
    font-size: clamp(36px, 10vw, 52px);
    line-height: .96;
    letter-spacing: -.035em;
  }

  .works-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .works-controls {
    justify-content: space-between;
    padding: 14px 0 12px;
  }

  .works-counter {
    order: -1;
    text-align: left;
  }

  .works-track > li {
    flex-basis: 80%;
  }

  .wm-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .wm-devices {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .wm-link .wm-link-text {
    display: none;
  }

  .wm-link {
    width: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* ---------- Правки после проверки ---------- */

/* Метка «ПРИГЛАШЕНИЕ» шире 80px — расширяем первую колонку услуг */
.service {
  grid-template-columns: 136px minmax(0, 1fr) 300px;
}

.works-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1536px) {
  .service {
    grid-template-columns: 128px minmax(0, 1fr) 260px;
  }
}

@media (max-width: 1280px) {
  .service {
    grid-template-columns: 128px minmax(0, 1fr) 240px;
  }
}

@media (max-width: 1100px) {
  .service {
    grid-template-columns: 128px 1fr;
  }
}

@media (max-width: 720px) {
  .works-tabs {
    flex-wrap: wrap;
    gap: 0 22px;
  }

  .works-tab {
    padding: 12px 0 14px;
  }
}

/* ---------- Правки: вкладки и стрелки блока «Работы» ---------- */

.works-tab-count {
  position: relative;
  top: -.55em;
  margin-left: 3px;
  color: #666;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0;
  font-variant-numeric: tabular-nums;
}

.works-tab[aria-selected="true"] .works-tab-count {
  color: var(--gray-2);
}

.works-tabs {
  position: relative;
}

.works-track {
  position: relative; /* чтобы offsetLeft карточек считался от трека */
}

.works-counter {
  min-width: 0;
  white-space: nowrap;
}

.works-controls.is-static .works-arrow {
  display: none;
}

@media (max-width: 720px) {
  /* Вкладки — одной строкой с горизонтальной прокруткой и мягким краем */
  .works-tabs {
    flex-wrap: nowrap;
    gap: 22px;
    margin-right: calc(-1 * var(--pad));
    padding-right: var(--pad);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }

  .works-controls {
    justify-content: flex-start;
    gap: 10px;
  }

  .works-counter {
    order: -1;
    margin-right: auto;
    text-align: left;
  }

  .works-arrow {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Первый блок: призыв написать ---------- */
.hero-cta{flex:0 0 auto;display:flex;flex-direction:row-reverse;align-items:center;gap:18px;color:var(--white);text-decoration:none;transition:transform .5s var(--ease)}
.hero-cta__text{display:flex;flex-direction:column;gap:4px;text-align:right;white-space:nowrap}
.hero-cta__label{color:var(--gray-2);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.hero-cta__title{font-size:clamp(15px,1.2vw,17px);font-weight:600;letter-spacing:-.01em;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;padding-bottom:2px;transition:background-size .45s var(--ease)}
.hero-cta:hover .circle-link,.hero-cta:focus-visible .circle-link{color:var(--black);background:var(--white);transform:rotate(-45deg)}
.hero-cta:hover .hero-cta__title,.hero-cta:focus-visible .hero-cta__title{background-size:100% 1px}
.hero-cta:focus-visible{outline:1px solid var(--white);outline-offset:6px}
@media (max-width:720px){
  .hero-cta{flex-direction:row;gap:14px}
  .hero-cta__text{text-align:left}
}

/* ---------- Работы: горизонтальные карточки со скриншотом сайта ---------- */
.works-track > li {
  flex: 0 0 clamp(300px, 40vw, 540px);
}

a.work-card {
  text-decoration: none;
}

a.work-card:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 6px;
}

.work-cover {
  aspect-ratio: 16 / 10;
}

.work-cover img {
  display: block;
  object-position: center top; /* показываем верх страницы */
}

.work-cover-title {
  font-size: clamp(28px, 3vw, 44px);
}

@media (max-width: 720px) {
  .works-track > li {
    flex-basis: 86%;
  }

  .work-open {
    width: 44px;
    height: 44px;
    right: 12px;
    bottom: 12px;
  }
}
