    /* ============================================================
       ST.K DESIGN — DESIGN SYSTEM (TOKENS)
       Концепція: "Quiet Confidence" — editorial serif + cobalt
       ============================================================ */
    :root {
      /* — Color primitives — */
      --ink:    #0B0B0C;   /* графіт, не pure black */
      --paper:  #F7F6F2;   /* тепло-білий папір */
      --cobalt: #1F49E0;   /* акцент, рідко */
      --cobalt-deep: #163AB8;
      --mist:   #E4E2DB;   /* hairlines */
      --slate:  #6B6A64;   /* muted text */
      --paper-2:#EFEEE8;   /* subtle surface */

      /* — Semantic — */
      --bg: var(--paper);
      --bg-surface: var(--paper-2);
      --text: var(--ink);
      --text-muted: var(--slate);
      --line: var(--mist);
      --accent: var(--cobalt);
      --accent-hover: var(--cobalt-deep);
      --on-accent: #FFFFFF;

      /* — Type — */
      --font-display: "Space Grotesk", system-ui, sans-serif;
      --font-body: "Inter Tight", system-ui, sans-serif;

      /* Fluid type scale (clamp: mobile → desktop) */
      --fs-eyebrow: 0.75rem;
      --fs-body:    clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
      --fs-lead:    clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
      --fs-h3:      clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
      --fs-display: clamp(2.75rem, 1.2rem + 7.2vw, 8.5rem);

      /* — Spacing: 8pt grid — */
      --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;
      --sp-4: 2rem;    --sp-6: 3rem;   --sp-8: 4rem;
      --sp-12: 6rem;   --sp-16: 8rem;  --sp-20: 10rem;

      /* — Layout — */
      --maxw: 1320px;
      --gutter: clamp(1.25rem, 5vw, 4rem);
      --radius: 14px;

      /* — Motion — */
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --dur: 0.7s;
    }

    /* ============================================================
       RESET / BASE
       ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    }

    body {
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.5;
      color: var(--text);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
      transition: background 0.4s var(--ease), color 0.4s var(--ease);
    }

    ::selection { background: var(--accent); color: var(--on-accent); }

    a { color: inherit; text-decoration: none; }
    img, svg { display: block; max-width: 100%; }

    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
      border-radius: 4px;
    }

    .skip-link {
      position: absolute; left: var(--sp-2); top: -60px;
      background: var(--ink); color: #fff; padding: 0.6rem 1rem;
      border-radius: 8px; z-index: 999; transition: top 0.3s var(--ease);
    }
    .skip-link:focus { top: var(--sp-2); }

    .wrap {
      max-width: var(--maxw);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }

    /* Scroll progress */
    .progress {
      position: fixed; top: 0; left: 0; height: 2px; width: 0%;
      background: var(--accent); z-index: 200;
      transition: width 0.1s linear;
    }

    /* ============================================================
       HEADER
       ============================================================ */
    .header {
      position: fixed; inset: 0 0 auto 0; z-index: 100;
      padding-block: var(--sp-3);
      transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
      border-bottom: 1px solid transparent;
    }
    .header.is-stuck {
      padding-block: var(--sp-2);
      background: color-mix(in srgb, var(--bg) 82%, transparent);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

    .logo {
      font-family: var(--font-display);
      font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em;
      display: inline-flex; align-items: baseline; gap: 0.12em;
    }
    .logo b { color: var(--accent); font-weight: 500; }

    .nav { display: flex; align-items: center; gap: var(--sp-4); }
    .nav__links { display: flex; gap: var(--sp-4); }
    .nav__links a {
      font-size: 0.95rem; color: var(--text-muted);
      position: relative; padding-block: 4px;
      transition: color 0.3s var(--ease);
    }
    .nav__links a::after {
      content: ""; position: absolute; left: 0; bottom: 0;
      width: 100%; height: 1px; background: var(--text);
      transform: scaleX(0); transform-origin: right;
      transition: transform 0.4s var(--ease);
    }
    .nav__links a:hover { color: var(--text); }
    .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

    /* ============================================================
       LANG SWITCH (inline UK / EN)
       ============================================================ */
    .lang {
      display: inline-flex; align-items: center;
      gap: 0.625rem;
      font-family: var(--font-body);
      font-size: 0.8rem; font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 1;
    }
    .lang__item {
      color: var(--text-muted);
      text-transform: uppercase;
      transition: color 0.3s var(--ease);
    }
    /* active language: non-interactive, higher contrast */
    .lang__item[aria-current="page"] {
      color: var(--text);
      cursor: default;
    }
    /* link state (the other language) */
    a.lang__item:hover { color: var(--text); }
    a.lang__item:focus-visible {
      outline: 2px solid var(--accent); outline-offset: 3px;
      border-radius: 4px;
    }
    .lang__sep {
      width: 1px; height: 0.9em;
      background: var(--text-muted); opacity: 0.4;
      flex: 0 0 auto; align-self: center;
    }
    /* Mobile menu variant: larger, sits in the footer of the overlay */
    .mnav__lang {
      display: flex; align-items: center; gap: 0.75rem;
      margin-top: var(--sp-3);
      font-size: 0.95rem;
    }
    .mnav__lang .lang__sep { height: 1em; }

    /* ============================================================
       BURGER
       44×44 — мінімальна тап-зона (WCAG 2.5.5 / Apple HIG).
       Візуально дві лінії 22px, решта — прозорий hit-area.
       ============================================================ */
    .burger {
      display: none;
      width: 44px; height: 44px;
      margin-right: -10px;               /* оптичне вирівнювання по краю контейнера */
      align-items: center; justify-content: center;
      background: none; border: 0; padding: 0;
      color: var(--text); cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
    .burger__box { position: relative; display: block; width: 22px; height: 11px; }
    .burger__box span {
      position: absolute; left: 0; width: 100%; height: 1.5px;
      background: currentColor; border-radius: 2px;
      transition: transform 0.5s var(--ease), width 0.4s var(--ease);
    }
    .burger__box span:nth-child(1) { top: 0; }
    .burger__box span:nth-child(2) { bottom: 0; width: 70%; }
    .burger:hover .burger__box span:nth-child(2) { width: 100%; }
    .burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
    .burger[aria-expanded="true"] .burger__box span:nth-child(2) { width: 100%; transform: translateY(-4.75px) rotate(-45deg); }

    /* ============================================================
       MOBILE OVERLAY NAV
       clip-path-шторка замість translateY: немає overflow на body,
       анімується лише composite-шар → не б'є по INP/CLS.
       ============================================================ */
    .mnav {
      /* .mnav лежить у <body>, а НЕ в <header>: backdrop-filter на
         .header.is-stuck створює containing block для position:fixed
         нащадків — оверлей обрізався б до висоти хедера.
         z-index 150 > .header (100), щоб перекрити липку смугу. */
      position: fixed; inset: 0; z-index: 150;
      background: var(--bg);
      display: flex; flex-direction: column;
      padding: var(--sp-3) var(--gutter) calc(var(--sp-4) + env(safe-area-inset-bottom));
      opacity: 0; visibility: hidden;
      clip-path: inset(0 0 100% 0);
      transition: clip-path 0.65s var(--ease), opacity 0.3s var(--ease), visibility 0.65s;
    }
    .mnav[hidden] { display: none; }
    .mnav.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }

    /* Верхня смуга оверлея: дублює лого + тримає кнопку закриття.
       Меню тепер над хедером, тож потрібен власний вихід. */
    .mnav__top {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: var(--sp-6);
      opacity: 0; transform: translateY(-8px);
      transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
      transition-delay: 120ms;
    }
    .mnav.is-open .mnav__top { opacity: 1; transform: none; }

    .mnav__close {
      width: 44px; height: 44px; margin-right: -10px;
      display: inline-flex; align-items: center; justify-content: center;
      background: none; border: 0; padding: 0;
      color: var(--text); cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .mnav__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
    .mnav__close svg { width: 20px; height: 20px; display: block; }
    .mnav__close line {
      stroke: currentColor; stroke-width: 1.5; stroke-linecap: round;
      transform-origin: 50% 50%;
      transition: transform 0.5s var(--ease);
    }
    .mnav__close:hover line { transform: rotate(90deg); }

    .mnav__inner {
      display: flex; flex-direction: column; justify-content: space-between;
      gap: var(--sp-6);
      flex: 1; min-height: 0;
      overflow-y: auto; overscroll-behavior: contain; /* ізолюємо скрол від body */
    }

    .mnav__list { list-style: none; border-top: 1px solid var(--line); }
    .mnav__list li {
      border-bottom: 1px solid var(--line);
      opacity: 0; transform: translateY(20px);
      transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
      transition-delay: calc(var(--i) * 55ms + 140ms);
    }
    .mnav.is-open .mnav__list li { opacity: 1; transform: none; }

    .mnav__list a {
      display: flex; align-items: baseline; gap: var(--sp-2);
      padding-block: var(--sp-3); min-height: 60px;
      font-family: var(--font-display);
      font-size: clamp(2rem, 10vw, 3rem); line-height: 1.1;
      letter-spacing: -0.03em; font-weight: 500; color: var(--text);
      transition: color 0.3s var(--ease);
    }
    .mnav__list a:active { color: var(--accent); }
    .mnav__num {
      font-family: var(--font-body); font-size: 0.7rem; font-weight: 500;
      letter-spacing: 0.14em; color: var(--text-muted);
      font-variant-numeric: tabular-nums;
    }

    .mnav__foot {
      display: flex; flex-direction: column; gap: var(--sp-3);
      opacity: 0; transform: translateY(20px);
      transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
      transition-delay: calc(var(--i) * 55ms + 140ms);
    }
    .mnav.is-open .mnav__foot { opacity: 1; transform: none; }
    .mnav__contact {
      display: flex; flex-direction: column; gap: 0.35rem;
      font-size: 0.95rem; color: var(--text-muted);
    }
    .mnav__contact a { color: var(--text); width: fit-content; border-bottom: 1px solid var(--line); }
    .btn--block { width: 100%; }

    body.nav-open { overflow: hidden; padding-right: var(--sbw, 0px); }

    /* Buttons */
    .btn {
      --pad-y: 0.85rem; --pad-x: 1.5rem;
      display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
      font-family: var(--font-body); font-size: 0.98rem; font-weight: 500;
      padding: var(--pad-y) var(--pad-x);
      border-radius: 100px; border: 1px solid transparent;
      cursor: pointer; background: none; color: inherit;
      transition: transform 0.35s var(--ease), background 0.3s var(--ease),
                  color 0.3s var(--ease), border-color 0.3s var(--ease);
      will-change: transform;
    }
    .btn--primary { background: var(--accent); color: var(--on-accent); }
    .btn--primary:hover { background: var(--accent-hover); }
    .btn--ghost { border-color: var(--line); color: var(--text); }
    .btn--ghost:hover { border-color: var(--text); }
    .btn:active { transform: scale(0.97); }
    .btn:disabled { opacity: 0.4; cursor: not-allowed; }
    .btn__arrow { transition: transform 0.4s var(--ease); }
    .btn:hover .btn__arrow { transform: translateX(4px); }

    .burger { display: none; }

    /* ============================================================
       HERO
       ============================================================ */
    .hero {
      min-height: 100svh;
      display: flex; flex-direction: column; justify-content: center;
      padding-top: calc(var(--sp-16) + var(--sp-4));
      padding-bottom: var(--sp-8);
      position: relative;
    }

    /* Ambient gradient blob behind text */
    .hero__glow {
      position: absolute; z-index: -2;
      width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
      top: 8%; left: 30%;
      background: radial-gradient(circle at 50% 50%,
        color-mix(in srgb, var(--accent) 22%, transparent),
        transparent 62%);
      filter: blur(30px);
      opacity: 0.9;
      animation: drift 18s ease-in-out infinite alternate;
      pointer-events: none;
    }
    @keyframes drift {
      0%   { transform: translate(0,0) scale(1); }
      50%  { transform: translate(-6%, 4%) scale(1.08); }
      100% { transform: translate(5%, -3%) scale(0.96); }
    }

    /* Grain overlay */
    .grain {
      position: fixed; inset: 0; z-index: 1; pointer-events: none;
      opacity: 0.035; mix-blend-mode: multiply;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    .hero__eyebrow {
      font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.75rem;
      margin-bottom: var(--sp-4);
    }
    .hero__eyebrow::before {
      content: ""; width: 0; height: 1px; background: var(--accent);
      animation: drawline 0.9s var(--ease) 0.3s forwards;
    }
    @keyframes drawline { to { width: 40px; } }

    .hero__title {
      font-family: var(--font-display);
      font-size: var(--fs-display);
      font-weight: 500;
      line-height: 0.92;
      letter-spacing: -0.045em;
      max-width: 16ch;
    }
    .hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
    .hero__title .line > span { display: block; will-change: transform; }
    .hero__title em {
      font-style: normal; font-weight: 700; color: var(--accent);
      position: relative; cursor: default;
    }

    .hero__foot {
      margin-top: var(--sp-6);
      display: flex; flex-direction: column; align-items: flex-start;
      gap: var(--sp-4); max-width: 52ch;
    }
    .hero__lead {
      font-size: var(--fs-lead); color: var(--text-muted);
      max-width: 46ch; line-height: 1.4;
    }
    .hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

    /* Interactive canvas field (hero signature) */
    .hero__field {
      position: absolute; inset: 0; z-index: -1;
      pointer-events: none;
      -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 62%);
              mask-image: linear-gradient(90deg, transparent 30%, #000 62%);
    }
    .hero__field canvas { width: 100%; height: 100%; display: block; }

    /* ============================================================
       MARQUEE / TRUST
       ============================================================ */
    .trust { padding-block: var(--sp-8); border-top: 1px solid var(--line); }
    .trust__label {
      font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--text-muted); text-align: center; margin-bottom: var(--sp-4);
    }
    .marquee {
      overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
              mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    }
    .marquee__track {
      display: flex; gap: var(--sp-8); width: max-content;
      animation: slide 32s linear infinite;
    }
    .marquee:hover .marquee__track { animation-play-state: paused; }
    @keyframes slide { to { transform: translateX(-50%); } }
    .marquee__item {
      font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem);
      color: var(--text-muted); font-weight: 400; letter-spacing: -0.01em;
      white-space: nowrap; transition: color 0.3s var(--ease);
    }
    .marquee__item:hover { color: var(--text); }

    /* Stats */
    .stats {
      display: grid; grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--line); margin-top: var(--sp-8);
    }
    .stat {
      padding: var(--sp-6) var(--sp-3);
      border-right: 1px solid var(--line);
    }
    .stat:last-child { border-right: none; }
    .stat__num {
      font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
      line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
    }
    .stat__num sup { font-size: 0.45em; color: var(--accent); top: -0.8em; }
    .stat__label { font-size: 0.9rem; color: var(--text-muted); margin-top: var(--sp-2); }

    /* ============================================================
       REVEAL UTILITY
       ============================================================ */
    [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
    [data-reveal].in { opacity: 1; transform: none; }
    [data-reveal-delay="1"] { transition-delay: 0.08s; }
    [data-reveal-delay="2"] { transition-delay: 0.16s; }
    [data-reveal-delay="3"] { transition-delay: 0.24s; }

    /* ============================================================
       SECTION SHELL
       ============================================================ */
    .section { padding-block: var(--sp-16); }
    .section__head {
      display: flex; align-items: flex-end; justify-content: space-between;
      gap: var(--sp-6); margin-bottom: var(--sp-8); flex-wrap: wrap;
    }
    .section__eyebrow {
      font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.75rem;
    }
    .section__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
    .section__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: var(--fs-h3); letter-spacing: -0.03em; line-height: 1.05;
      margin-top: var(--sp-3); max-width: 20ch;
    }
    .section__aside { font-size: var(--fs-body); color: var(--text-muted); max-width: 34ch; }

    /* ============================================================
       SERVICES — editorial accordion list
       ============================================================ */
    .svc { border-top: 1px solid var(--line); }
    .svc__row {
      position: relative; display: block; width: 100%;
      border-bottom: 1px solid var(--line);
      padding-block: var(--sp-4);
      cursor: pointer; overflow: hidden;
    }
    /* accent wash on hover/open */
    .svc__row::before {
      content: ""; position: absolute; inset: 0; z-index: 0;
      background: var(--bg-surface);
      transform: scaleY(0); transform-origin: bottom;
      transition: transform 0.5s var(--ease);
    }
    .svc__row:hover::before,
    .svc__row.open::before { transform: scaleY(1); }

    .svc__main {
      position: relative; z-index: 1;
      display: grid; grid-template-columns: auto 1fr auto; align-items: center;
      gap: var(--sp-4); padding-inline: var(--sp-3);
    }
    .svc__num {
      font-family: var(--font-body); font-size: 0.85rem; font-variant-numeric: tabular-nums;
      color: var(--text-muted); letter-spacing: 0.05em;
    }
    .svc__name {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); letter-spacing: -0.03em;
      line-height: 1; transition: transform 0.5s var(--ease), color 0.4s var(--ease);
    }
    .svc__row:hover .svc__name { transform: translateX(12px); }
    .svc__icon {
      width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
      display: grid; place-items: center; flex: none;
      transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
    }
    .svc__icon svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
    .svc__row:hover .svc__icon { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
    .svc__row:hover .svc__icon svg { stroke: var(--on-accent); }

    .svc__detail {
      position: relative; z-index: 1;
      display: grid; grid-template-rows: 0fr;
      transition: grid-template-rows 0.55s var(--ease);
    }
    .svc__row:hover .svc__detail,
    .svc__row.open .svc__detail { grid-template-rows: 1fr; }
    .svc__detail-inner { overflow: hidden; }
    .svc__desc {
      padding: var(--sp-3) var(--sp-3) 0;
      padding-left: calc(var(--sp-3) + 3.5ch);
      display: flex; flex-wrap: wrap; gap: var(--sp-6);
      align-items: flex-start; max-width: 900px;
    }
    .svc__desc p { color: var(--text-muted); max-width: 46ch; line-height: 1.5; }
    .svc__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .svc__tag {
      font-size: 0.8rem; color: var(--text); padding: 0.35rem 0.8rem;
      border: 1px solid var(--line); border-radius: 100px; background: var(--bg);
    }

    /* ============================================================
       PROCESS — sticky horizontal timeline
       ============================================================ */
    .process {
      background: var(--bg);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      position: relative;
    }
    .proc__viewport { position: relative; }
    .proc__sticky {
      position: sticky; top: 0; height: 100svh;
      display: flex; flex-direction: column; justify-content: center;
      overflow: hidden;
    }
    .proc__label {
      font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: var(--sp-6);
      display: inline-flex; align-items: center; gap: 0.75rem;
    }
    .proc__label::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
    .proc__track {
      display: flex; gap: var(--sp-4); will-change: transform;
    }
    .proc__step {
      flex: none; width: min(78vw, 420px);
      border-top: 1px solid var(--text);
      padding-top: var(--sp-3);
      transition: opacity 0.5s var(--ease);
    }
    .proc__step-num {
      font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
      font-weight: 500; letter-spacing: -0.03em; line-height: 1;
      color: var(--text); font-variant-numeric: tabular-nums;
      transition: color 0.5s var(--ease);
    }
    .proc__step.is-active .proc__step-num { color: var(--accent); }
    .proc__step-name {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); letter-spacing: -0.02em;
      margin-top: var(--sp-3);
    }
    .proc__step-desc { color: var(--text-muted); margin-top: var(--sp-2); line-height: 1.5; max-width: 36ch; }
    .proc__bar { margin-top: var(--sp-8); height: 2px; background: var(--line); position: relative; }
    .proc__bar-fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--accent); }
    .proc__hint {
      font-size: 0.85rem; color: var(--text-muted); margin-top: var(--sp-2);
      display: inline-flex; align-items: center; gap: 0.5rem;
    }

    /* ============================================================
       WORK — large case studies (zigzag, CMS-ready)
       ============================================================ */
    .work__list {
      display: flex; flex-direction: column; gap: var(--sp-16);
      margin-top: var(--sp-8);
    }
    .case {
      display: grid; grid-template-columns: 1.15fr 0.85fr;
      gap: var(--sp-8); align-items: center;
    }
    .case:nth-child(even) .case__media { order: 2; }
    .case:nth-child(even) .case__body  { order: 1; }

    .case__media {
      position: relative; border-radius: var(--radius); overflow: hidden;
      aspect-ratio: 4 / 3; background: var(--bg-surface);
      border: 1px solid var(--line);
    }
    .case__media img,
    .case__media svg {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform 0.9s var(--ease);
      will-change: transform;
    }
    .case:hover .case__media img,
    .case:hover .case__media svg { transform: scale(1.05); }
    .case__media::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(11,11,12,0.28), transparent 45%);
      opacity: 0; transition: opacity 0.5s var(--ease);
    }
    .case:hover .case__media::after { opacity: 1; }

    .case__index {
      position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2;
      font-size: 0.8rem; letter-spacing: 0.05em; color: #fff;
      background: rgba(11,11,12,0.5); backdrop-filter: blur(6px);
      padding: 0.35rem 0.7rem; border-radius: 100px;
      font-variant-numeric: tabular-nums;
    }
    .case__view {
      position: absolute; bottom: var(--sp-3); right: var(--sp-3); z-index: 2;
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--bg); color: var(--text);
      padding: 0.7rem 1.1rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500;
      transform: translateY(12px); opacity: 0;
      transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), background 0.3s var(--ease);
    }
    .case:hover .case__view { transform: translateY(0); opacity: 1; }
    .case__view:hover { background: var(--accent); color: var(--on-accent); }
    .case__view svg { width: 15px; height: 15px; }

    .case__cat {
      font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--accent); margin-bottom: var(--sp-2);
    }
    .case__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); letter-spacing: -0.03em;
      line-height: 1.02;
    }
    .case__desc { color: var(--text-muted); margin-top: var(--sp-3); line-height: 1.5; max-width: 42ch; }
    .case__metrics {
      display: flex; gap: var(--sp-6); margin-top: var(--sp-4);
      padding-top: var(--sp-4); border-top: 1px solid var(--line);
    }
    .case__metric-num {
      font-family: var(--font-display); font-size: 1.9rem; font-weight: 500;
      letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums;
    }
    .case__metric-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
    .case__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--sp-4); }
    .case__tag {
      font-size: 0.78rem; color: var(--text-muted);
      padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 100px;
    }
    .work__more { margin-top: var(--sp-12); text-align: center; }

    /* ============================================================
       FAQ — SEO accordion
       ============================================================ */
    .faq { border-top: 1px solid var(--line); }
    .faq__grid {
      display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-8);
      align-items: start;
    }
    .faq__list { border-top: 1px solid var(--line); }
    .faq__item { border-bottom: 1px solid var(--line); }
    .faq__q {
      width: 100%; text-align: left; background: none; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
      padding: var(--sp-4) 0; color: var(--text);
      font-family: var(--font-body); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
      font-weight: 500; letter-spacing: -0.01em;
    }
    .faq__icon {
      width: 24px; height: 24px; flex: none; position: relative;
    }
    .faq__icon::before, .faq__icon::after {
      content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
      transform: translate(-50%,-50%); transition: transform 0.4s var(--ease);
    }
    .faq__icon::before { width: 14px; height: 2px; }
    .faq__icon::after  { width: 2px; height: 14px; }
    .faq__item.open .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
    .faq__a {
      display: grid; grid-template-rows: 0fr;
      transition: grid-template-rows 0.5s var(--ease);
    }
    .faq__item.open .faq__a { grid-template-rows: 1fr; }
    .faq__a-inner { overflow: hidden; }
    .faq__a p { color: var(--text-muted); line-height: 1.6; padding-bottom: var(--sp-4); max-width: 54ch; }

    /* ============================================================
       CTA — final block
       ============================================================ */
    .cta { padding-block: var(--sp-20); text-align: center; }
    .cta__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.5rem, 1.2rem + 6vw, 6.5rem); line-height: 0.98;
      letter-spacing: -0.04em; max-width: 16ch; margin-inline: auto;
    }
    .cta__title em { font-style: normal; color: var(--accent); }
    .cta__lead {
      font-size: var(--fs-lead); color: var(--text-muted);
      max-width: 46ch; margin: var(--sp-4) auto 0; line-height: 1.4;
    }
    .cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-6); }
    .cta__meta { margin-top: var(--sp-6); font-size: 0.9rem; color: var(--text-muted); }
    .cta__meta a { color: var(--text); border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease); }
    .cta__meta a:hover { border-color: var(--text); }

    /* ============================================================
       FOOTER
       ============================================================ */
    .footer {
      border-top: 1px solid var(--line);
      padding-block: var(--sp-8) var(--sp-6);
      background: var(--bg-surface);
    }
    .footer__top {
      display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-6);
      padding-bottom: var(--sp-8);
    }
    .footer__brand .logo { font-size: 1.6rem; margin-bottom: var(--sp-3); }
    .footer__brand p { color: var(--text-muted); max-width: 32ch; line-height: 1.5; }
    .footer__col h4 {
      font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: var(--sp-3); font-weight: 500;
    }
    .footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
    .footer__col a { color: var(--text); transition: color 0.3s var(--ease); }
    .footer__col a:hover { color: var(--accent); }
    .footer__bottom {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: var(--sp-2);
      padding-top: var(--sp-4); border-top: 1px solid var(--line);
      font-size: 0.88rem; color: var(--text-muted);
    }
    .footer__bottom a { color: var(--text-muted); }
    .footer__bottom a:hover { color: var(--text); }
    .footer__social { display: flex; gap: var(--sp-2); }
    .footer__social a {
      width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
      display: grid; place-items: center;
      transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
    }
    .footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
    .footer__social svg { width: 18px; height: 18px; }
    .footer__social a:hover svg { stroke: var(--on-accent); }

    /* ============================================================
       WHY US — bento grid
       ============================================================ */
    .bento {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: var(--sp-2); margin-top: var(--sp-8);
    }
    .bento__cell {
      border: 1px solid var(--line); border-radius: var(--radius);
      padding: var(--sp-4); background: var(--bg);
      display: flex; flex-direction: column; justify-content: space-between;
      min-height: 220px; position: relative; overflow: hidden;
      transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
    }
    .bento__cell:hover { border-color: var(--text); transform: translateY(-4px); }
    /* розміри плиток */
    .bento__cell--lg { grid-column: span 2; grid-row: span 2; min-height: 452px; }
    .bento__cell--wide { grid-column: span 2; }
    /* акцентна плитка */
    .bento__cell--accent {
      background: var(--accent); color: var(--on-accent); border-color: var(--accent);
    }
    .bento__cell--accent:hover { border-color: var(--accent); }
    .bento__cell--accent .bento__num { color: var(--on-accent); }
    .bento__cell--accent .bento__label { color: rgba(255,255,255,0.8); }

    .bento__num {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 0.95;
      letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums;
    }
    .bento__cell--lg .bento__num { font-size: clamp(3.5rem, 2rem + 6vw, 7rem); }
    .bento__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: var(--sp-2);
    }
    .bento__cell--lg .bento__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); }
    .bento__label { font-size: 0.92rem; color: var(--text-muted); line-height: 1.45; }
    .bento__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); }
    .bento__icon { width: 40px; height: 40px; flex: none; opacity: 0.85; }
    .bento__icon svg { width: 100%; height: 100%; }

    /* ============================================================
       TESTIMONIALS — single large quote
       ============================================================ */
    .quotes { border-top: 1px solid var(--line); }
    .quote {
      display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
      min-height: 40vh;
    }
    .quote__mark {
      font-family: var(--font-display); font-size: 6rem; line-height: 0.5;
      color: var(--accent); height: 3rem;
    }
    .quote__text {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); line-height: 1.15;
      letter-spacing: -0.02em; max-width: 24ch;
      transition: opacity 0.4s var(--ease);
    }
    .quote__foot {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: var(--sp-4); padding-top: var(--sp-4);
      border-top: 1px solid var(--line);
    }
    .quote__author { transition: opacity 0.4s var(--ease); }
    .quote__name { font-weight: 600; font-size: 1.05rem; }
    .quote__role { color: var(--text-muted); font-size: 0.92rem; margin-top: 2px; }
    .quote__nav { display: flex; align-items: center; gap: var(--sp-2); }
    .quote__count { font-variant-numeric: tabular-nums; color: var(--text-muted); font-size: 0.92rem; min-width: 3.5ch; }
    .quote__btn {
      width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
      background: transparent; color: var(--text); cursor: pointer;
      display: grid; place-items: center;
      transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .quote__btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
    .quote__btn svg { width: 18px; height: 18px; }
    .quote.is-fading .quote__text,
    .quote.is-fading .quote__author { opacity: 0; }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 860px) {
      .nav__links { display: none; }
      .nav .btn--primary { display: none; }
      .nav .lang { display: none; }
      .burger { display: inline-flex; }
      .stats { grid-template-columns: repeat(2, 1fr); }
      .stat:nth-child(2) { border-right: none; }
      .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
      .hero__field { display: none; }
      .hero__foot { align-items: flex-start; }
      /* Services: detail always visible on touch (no hover) */
      .svc__row .svc__detail { grid-template-rows: 1fr; }
      .svc__desc { padding-left: var(--sp-3); }
      .svc__row:hover .svc__name { transform: none; }
      /* Process: vertical stack instead of scroll-jack */
      .proc__sticky { position: static; height: auto; padding-block: var(--sp-8); }
      .proc__track { flex-direction: column; }
      .proc__step { width: 100%; }
      .proc__bar, .proc__hint { display: none; }
      /* Work: single column, media on top always */
      .case { grid-template-columns: 1fr; gap: var(--sp-4); }
      .case:nth-child(even) .case__media { order: 0; }
      .case:nth-child(even) .case__body  { order: 0; }
      .work__list { gap: var(--sp-12); }
      .case__view { transform: translateY(0); opacity: 1; }
      /* Bento: 2 columns, reset spans */
      .bento { grid-template-columns: repeat(2, 1fr); }
      .bento__cell--lg { grid-column: span 2; grid-row: auto; min-height: 260px; }
      .bento__cell--wide { grid-column: span 2; }
      .quote__text { max-width: none; }
      /* FAQ: stack */
      .faq__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
      /* Footer: stack */
      .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
      .footer__brand { grid-column: span 2; }
    }
    @media (max-width: 480px) {
      .stats { grid-template-columns: 1fr; }
      .stat { border-right: none; border-bottom: 1px solid var(--line); }
      .case__metrics { gap: var(--sp-4); flex-wrap: wrap; }
      .bento { grid-template-columns: 1fr; }
      .bento__cell--lg, .bento__cell--wide { grid-column: span 1; }
    }

    /* ============================================================
       PROJECTS PAGE — hero, filter, grid
       ============================================================ */
    .page-hero { padding-top: calc(var(--sp-16) + var(--sp-8)); padding-bottom: var(--sp-8); }
    .breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--sp-4); }
    .breadcrumb a { color: var(--text-muted); transition: color 0.3s var(--ease); }
    .breadcrumb a:hover { color: var(--text); }
    .breadcrumb span { color: var(--text); }
    .page-hero__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.75rem, 1.5rem + 6vw, 6rem); line-height: 0.98;
      letter-spacing: -0.04em; max-width: 16ch;
    }
    .page-hero__lead {
      font-size: var(--fs-lead); color: var(--text-muted);
      max-width: 48ch; margin-top: var(--sp-4); line-height: 1.4;
    }
    .page-hero__count {
      display: inline-flex; align-items: baseline; gap: 0.5ch;
      margin-top: var(--sp-6); font-size: 0.95rem; color: var(--text-muted);
    }
    .page-hero__count b {
      font-family: var(--font-display); font-size: 1.4rem; color: var(--text);
      font-variant-numeric: tabular-nums;
    }

    /* Filter bar */
    .filter {
      display: flex; flex-wrap: wrap; gap: 0.6rem;
      padding-block: var(--sp-4);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
      margin-bottom: var(--sp-8);
      position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent);
      backdrop-filter: blur(10px); z-index: 40;
    }
    .filter__btn {
      font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
      padding: 0.55rem 1.1rem; border-radius: 100px;
      border: 1px solid var(--line); background: transparent; color: var(--text-muted);
      cursor: pointer; white-space: nowrap;
      transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
    }
    .filter__btn:hover { color: var(--text); border-color: var(--text); }
    .filter__btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

    /* Projects grid */
    .pgrid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4);
    }
    .pcard {
      opacity: 1; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    }
    .pcard.is-hidden { display: none; }
    .pcard__link { display: block; color: inherit; }
    .pcard__media {
      position: relative; border-radius: var(--radius); overflow: hidden;
      aspect-ratio: 4 / 3; background: var(--bg-surface); border: 1px solid var(--line);
    }
    .pcard__media img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.8s var(--ease); will-change: transform;
    }
    .pcard__link:hover .pcard__media img { transform: scale(1.05); }
    .pcard__year {
      position: absolute; top: var(--sp-2); right: var(--sp-2);
      font-size: 0.78rem; color: #fff; background: rgba(11,11,12,0.5);
      backdrop-filter: blur(6px); padding: 0.3rem 0.7rem; border-radius: 100px;
      font-variant-numeric: tabular-nums;
    }
    .pcard__body { padding-top: var(--sp-3); }
    .pcard__cat {
      font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--accent); margin-bottom: var(--sp-1);
    }
    .pcard__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.05;
      transition: color 0.3s var(--ease);
    }
    .pcard__link:hover .pcard__title { color: var(--accent); }
    .pcard__desc { color: var(--text-muted); margin-top: var(--sp-2); line-height: 1.45; font-size: 0.95rem; }
    .pcard__metrics {
      display: flex; gap: var(--sp-4); margin-top: var(--sp-3);
      padding-top: var(--sp-3); border-top: 1px solid var(--line);
      font-size: 0.85rem; color: var(--text-muted);
    }
    .pcard__metric-num { font-family: var(--font-display); color: var(--text); font-size: 1.1rem; }

    .pgrid__empty {
      grid-column: 1 / -1; text-align: center; padding-block: var(--sp-12);
      color: var(--text-muted);
    }

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

    /* ============================================================
       CASE PAGE
       ============================================================ */
    .cp__hero { padding-top: calc(var(--sp-16) + var(--sp-8)); padding-bottom: var(--sp-6); }
    .cp__cat {
      font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--accent); margin-bottom: var(--sp-3);
    }
    .cp__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.75rem, 1.5rem + 6vw, 6rem); line-height: 0.98;
      letter-spacing: -0.04em; max-width: 16ch;
    }
    .cp__subtitle {
      font-size: var(--fs-lead); color: var(--text-muted);
      max-width: 44ch; margin-top: var(--sp-4); line-height: 1.4;
    }
    .cp__hero-actions { margin-top: var(--sp-6); }

    .cp__cover { margin-block: var(--sp-6) var(--sp-12); }
    .cp__cover-media {
      border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
      aspect-ratio: 16 / 10; background: var(--bg-surface);
    }
    .cp__cover-media img { width: 100%; height: 100%; object-fit: cover; }

    .cp__facts { margin-bottom: var(--sp-12); }
    .cp__facts-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
      padding-block: var(--sp-6);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    }
    .cp__fact dt {
      font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: var(--sp-1);
    }
    .cp__fact dd {
      font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.01em;
    }
    .cp__tags { margin-top: var(--sp-4); }

    .cp__h2 {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); letter-spacing: -0.02em;
      margin-bottom: var(--sp-3);
    }
    .cp__overview {
      display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8);
      margin-bottom: var(--sp-16);
    }
    .cp__overview p { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }

    .cp__results { margin-bottom: var(--sp-16); }
    .cp__results-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4);
      margin-top: var(--sp-6);
    }
    .cp__result { padding: var(--sp-6) var(--sp-4); border: 1px solid var(--line); border-radius: var(--radius); }
    .cp__result-num {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem); line-height: 1;
      letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums;
    }
    .cp__result-label { font-size: 1.05rem; margin-top: var(--sp-3); }
    .cp__result-note { font-size: 0.9rem; color: var(--text-muted); margin-top: var(--sp-2); line-height: 1.4; }

    .cp__gallery { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-16); }
    .cp__shot {
      border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
      background: var(--bg-surface);
    }
    .cp__shot img { width: 100%; height: auto; display: block; }

    .cp__quote {
      max-width: 60ch; margin: 0 auto var(--sp-16);
      padding-block: var(--sp-8); text-align: center;
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    }
    .cp__quote .quote__mark { text-align: left; }
    .cp__quote-text {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.4rem, 1rem + 1.8vw, 2.2rem); line-height: 1.2;
      letter-spacing: -0.02em;
    }
    .cp__quote-foot { margin-top: var(--sp-4); }
    .cp__quote-name { font-weight: 600; }
    .cp__quote-role { color: var(--text-muted); margin-left: 0.5ch; }

    /* Next case */
    .cp__next {
      border-top: 1px solid var(--line);
      padding-block: var(--sp-12); margin-top: var(--sp-8);
    }
    .cp__next-label {
      font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: var(--sp-4);
    }
    .cp__next-link { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-6); align-items: center; color: inherit; }
    .cp__next-title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2rem, 1.2rem + 3vw, 4rem); letter-spacing: -0.03em; line-height: 1;
      transition: color 0.3s var(--ease);
    }
    .cp__next-link:hover .cp__next-title { color: var(--accent); }
    .cp__next-arrow {
      width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line);
      display: grid; place-items: center; flex: none;
      transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
    }
    .cp__next-link:hover .cp__next-arrow { background: var(--accent); border-color: var(--accent); transform: translateX(6px); }
    .cp__next-link:hover .cp__next-arrow svg { stroke: var(--on-accent); }
    .cp__next-arrow svg { width: 24px; height: 24px; }

    .cp__notfound { padding-top: calc(var(--sp-16) + var(--sp-8)); padding-bottom: var(--sp-16); text-align: center; }
    .cp__notfound h1 { font-family: var(--font-display); font-size: clamp(2rem,1.5rem+3vw,3.5rem); letter-spacing:-0.03em; margin-bottom: var(--sp-4); }
    .cp__notfound p { color: var(--text-muted); margin-bottom: var(--sp-6); }

    @media (max-width: 860px) {
      .cp__facts-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
      .cp__overview { grid-template-columns: 1fr; gap: var(--sp-6); }
      .cp__results-grid { grid-template-columns: 1fr; }
      .cp__next-title { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.5rem); }
    }

    /* ============================================================
       404 PAGE
       ============================================================ */
    .nf {
      min-height: 100svh; display: flex; flex-direction: column;
      justify-content: center; align-items: flex-start;
      position: relative; padding-block: var(--sp-16);
    }
    .nf__field {
      position: absolute; inset: 0; z-index: -1; pointer-events: none;
      -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 30%, transparent 72%);
              mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 30%, transparent 72%);
    }
    .nf__field canvas { width: 100%; height: 100%; display: block; }
    .nf__glow {
      position: absolute; z-index: -2;
      width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
      top: 20%; right: 8%;
      background: radial-gradient(circle at 50% 50%,
        color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%);
      filter: blur(30px);
      animation: drift 18s ease-in-out infinite alternate;
      pointer-events: none;
    }
    .nf__code {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(6rem, 3rem + 18vw, 20rem); line-height: 0.82;
      letter-spacing: -0.05em; color: var(--text);
    }
    .nf__code em { font-style: normal; color: var(--accent); }
    .nf__eyebrow {
      font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.75rem;
      margin-bottom: var(--sp-4);
    }
    .nf__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
    .nf__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); letter-spacing: -0.03em;
      line-height: 1.05; margin-top: var(--sp-4); max-width: 20ch;
    }
    .nf__lead {
      font-size: var(--fs-lead); color: var(--text-muted);
      max-width: 46ch; margin-top: var(--sp-4); line-height: 1.4;
    }
    .nf__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
    .nf__links {
      display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8);
      padding-top: var(--sp-4); border-top: 1px solid var(--line);
      font-size: 0.95rem;
    }
    .nf__links a { color: var(--text-muted); transition: color 0.3s var(--ease); position: relative; }
    .nf__links a:hover { color: var(--text); }

    @media (max-width: 860px) {
      .nf__field { display: none; }
    }

    /* ============================================================
       CONTACT PAGE — single-column form (rebuilt clean)
       ============================================================ */
    .contact { padding-top: calc(var(--sp-16) + var(--sp-8)); padding-bottom: var(--sp-16); }
    .contact__grid {
      display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-12);
      align-items: start;
    }
    .contact__intro .breadcrumb { margin-bottom: var(--sp-4); }
    .contact__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem); line-height: 0.98;
      letter-spacing: -0.04em; max-width: 14ch;
    }
    .contact__lead {
      font-size: var(--fs-lead); color: var(--text-muted);
      max-width: 42ch; margin-top: var(--sp-4); line-height: 1.4;
    }
    .contact__direct { margin-top: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-3); }
    .contact__direct dt {
      font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: 4px;
    }
    .contact__direct dd a {
      font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.01em;
      border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease);
    }
    .contact__direct dd a:hover { border-color: var(--text); }

    /* — Form: vertical flow, one field per row — */
    .form { display: flex; flex-direction: column; gap: var(--sp-4); }
    /* Єдиний парний ряд — два однакові селекти (завжди рівні) */
    .form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

    .field { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
    .field label {
      font-size: 0.85rem; color: var(--text); font-weight: 500;
      display: flex; align-items: center; gap: 0.4rem;
    }
    .field label .req { color: var(--accent); }
    .field label .opt { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }

    .field input, .field textarea, .field select {
      font-family: var(--font-body); font-size: 1rem; color: var(--text);
      background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
      padding: 0.9rem 1rem; width: 100%;
      transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
      appearance: none;
    }
    .field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
    .field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
    .field input:hover, .field textarea:hover, .field select:hover { border-color: var(--slate); }
    .field input:focus, .field textarea:focus, .field select:focus {
      outline: none; border-color: var(--accent);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
    }

    /* Select arrow */
    .field--select { position: relative; }
    .field--select select { padding-right: 2.5rem; cursor: pointer; }
    .field--select::after {
      content: ""; position: absolute; right: 1.1rem; top: 2.9rem;
      width: 9px; height: 9px; border-right: 2px solid var(--text-muted);
      border-bottom: 2px solid var(--text-muted); transform: rotate(45deg);
      pointer-events: none;
    }

    /* Error state */
    .field.is-invalid input, .field.is-invalid textarea {
      border-color: #D64545; box-shadow: 0 0 0 3px rgba(214,69,69,0.12);
    }
    .field__error {
      font-size: 0.8rem; color: #D64545; min-height: 0;
      max-height: 0; overflow: hidden; opacity: 0;
      transition: opacity 0.25s var(--ease), max-height 0.25s var(--ease);
    }
    .field.is-invalid .field__error { opacity: 1; max-height: 2em; }

    /* Messenger: pills + input, full width — тепер місця вдосталь */
    .msg { display: flex; align-items: center; gap: 0.6rem; }
    .msg__toggle {
      display: inline-flex; gap: 3px; padding: 4px; flex: none;
      background: var(--bg-surface); border: 1px solid var(--line); border-radius: 100px;
    }
    .msg__opt {
      font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
      padding: 0.55rem 1.1rem; border-radius: 100px;
      border: none; background: transparent; color: var(--text-muted); cursor: pointer;
      transition: background 0.3s var(--ease), color 0.3s var(--ease);
    }
    .msg__opt:hover { color: var(--text); }
    .msg__opt.is-active { background: var(--accent); color: var(--on-accent); }
    .msg__input { flex: 1; min-width: 0; }

    /* Submit + status */
    .form__foot { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-2); }
    .form__note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; max-width: 34ch; }
    .form__note-link {
      color: var(--text-muted);
      border-bottom: 1px solid var(--line);
      transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .form__note-link:hover { color: var(--text); border-bottom-color: var(--text); }
    .form__submit { position: relative; min-width: 190px; }
    .form__submit.is-loading { pointer-events: none; opacity: 0.7; }
    .form__submit .spinner {
      width: 16px; height: 16px; border: 2px solid color-mix(in srgb, var(--on-accent) 40%, transparent);
      border-top-color: var(--on-accent); border-radius: 50%;
      display: none; animation: spin 0.7s linear infinite;
    }
    .form__submit.is-loading .spinner { display: inline-block; }
    .form__submit.is-loading .btn__label, .form__submit.is-loading .btn__arrow { display: none; }
    @keyframes spin { to { transform: rotate(360deg); } }

    .form__status {
      border-radius: var(--radius); padding: var(--sp-4);
      font-size: 0.95rem; display: none; align-items: flex-start; gap: 0.75rem;
    }
    .form__status.show { display: flex; }
    .form__status--ok { background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--text); }
    .form__status--err { background: rgba(214,69,69,0.08); border: 1px solid rgba(214,69,69,0.3); color: var(--text); }
    .form__status svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

    @media (max-width: 900px) {
      .contact__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
    }
    @media (max-width: 560px) {
      .form__pair { grid-template-columns: 1fr; }
      .msg { flex-direction: column; align-items: stretch; }
      .msg__toggle { align-self: flex-start; }
      .contact__title { font-size: clamp(2rem, 9vw, 2.6rem); }
    }

    /* ============================================================
       MOBILE NAV — BREAKPOINT GUARDS
       ============================================================ */
    @media (min-width: 861px) {
      .mnav { display: none !important; }
      body.nav-open { overflow: auto; padding-right: 0; }
    }

    /* Низькі landscape-екрани: зменшуємо тайпскейл, щоб меню
       не вимагало скролу. */
    @media (max-width: 860px) and (max-height: 520px) {
      .mnav__top { margin-bottom: var(--sp-3); }
      .mnav__list a { font-size: 1.5rem; min-height: 48px; padding-block: var(--sp-1); }
      .mnav__inner { gap: var(--sp-3); }
    }

    @media (prefers-reduced-motion: reduce) {
      .mnav, .mnav__list li, .mnav__foot, .burger__box span {
        transition-duration: 0.001ms !important;
        transition-delay: 0ms !important;
      }
    }

    /* ============================================================
       LEGAL PAGES — Privacy Policy / Terms
       Патерн: sticky TOC + editorial measure (68ch).
       Використовується двома сторінками, нуль дублювання.
       ============================================================ */
    .legal { padding-top: calc(var(--sp-16) + var(--sp-8)); padding-bottom: var(--sp-16); }

    .legal__head { max-width: 24ch; }
    .legal__title {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem); line-height: 0.98;
      letter-spacing: -0.04em;
    }
    .legal__meta {
      display: flex; flex-wrap: wrap; gap: var(--sp-3);
      margin-top: var(--sp-4); padding-top: var(--sp-4);
      border-top: 1px solid var(--line);
      font-size: 0.85rem; color: var(--text-muted);
      max-width: none;
    }
    .legal__meta dt {
      letter-spacing: 0.12em; text-transform: uppercase;
      font-size: 0.72rem; margin-bottom: 2px;
    }
    .legal__meta dd { color: var(--text); font-weight: 500; }

    /* — Grid: TOC + content — */
    .legal__grid {
      display: grid; grid-template-columns: 240px 1fr;
      gap: var(--sp-12); margin-top: var(--sp-12);
      align-items: start;
    }

    /* — Sticky table of contents — */
    .legal__toc { position: sticky; top: calc(var(--sp-8) + var(--sp-4)); }
    .legal__toc-label {
      font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: var(--sp-3);
      display: flex; align-items: center; gap: 0.75rem;
    }
    .legal__toc-label::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
    .legal__toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
    .legal__toc a {
      display: flex; gap: 0.7rem; align-items: baseline;
      font-size: 0.9rem; color: var(--text-muted); line-height: 1.3;
      padding: 0.5rem 0.75rem; border-radius: 8px;
      border-left: 2px solid transparent;
      transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .legal__toc a:hover { color: var(--text); background: var(--bg-surface); }
    .legal__toc a.is-current {
      color: var(--text); border-left-color: var(--accent);
      background: var(--bg-surface); font-weight: 500;
    }
    .legal__toc-num { font-family: var(--font-display); font-size: 0.75rem; color: var(--accent); flex: none; }

    /* — Content: editorial measure — */
    .legal__body { max-width: 68ch; }
    .legal__section { scroll-margin-top: var(--sp-12); }
    .legal__section + .legal__section {
      margin-top: var(--sp-8); padding-top: var(--sp-8);
      border-top: 1px solid var(--line);
    }
    .legal__section h2 {
      font-family: var(--font-display); font-weight: 500;
      font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.1;
      display: flex; gap: var(--sp-2); align-items: baseline;
    }
    .legal__section h2 .legal__num {
      font-size: 0.8rem; color: var(--accent); flex: none;
      font-weight: 500; letter-spacing: 0;
    }
    .legal__section h3 {
      font-family: var(--font-display); font-weight: 500;
      font-size: 1.1rem; letter-spacing: -0.01em;
      margin-top: var(--sp-4);
    }
    .legal__section p { margin-top: var(--sp-3); color: var(--text-muted); line-height: 1.65; }
    .legal__section p strong { color: var(--text); font-weight: 500; }
    .legal__section a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); transition: border-color 0.3s var(--ease); }
    .legal__section a:hover { border-bottom-color: var(--accent); }

    .legal__list { list-style: none; margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 0.75rem; }
    .legal__list li {
      color: var(--text-muted); line-height: 1.6;
      padding-left: var(--sp-3); position: relative;
    }
    .legal__list li::before {
      content: ""; position: absolute; left: 0; top: 0.65em;
      width: 6px; height: 1px; background: var(--accent);
    }
    .legal__list li strong { color: var(--text); font-weight: 500; }

    /* — Definition table (дані / мета / строк) — */
    .legal__table { margin-top: var(--sp-4); border-top: 1px solid var(--line); }
    .legal__table-row {
      display: grid; grid-template-columns: 0.9fr 1.4fr 0.7fr; gap: var(--sp-3);
      padding: var(--sp-3) 0; border-bottom: 1px solid var(--line);
      font-size: 0.92rem; align-items: start;
    }
    .legal__table-row--head {
      font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-muted); padding: var(--sp-2) 0;
    }
    .legal__table-row dt, .legal__table-row .legal__cell--key { color: var(--text); font-weight: 500; }
    .legal__table-row .legal__cell { color: var(--text-muted); line-height: 1.5; }

    /* — Callout — */
    .legal__callout {
      margin-top: var(--sp-4); padding: var(--sp-4);
      background: var(--bg-surface); border-radius: var(--radius);
      border-left: 2px solid var(--accent);
    }
    .legal__callout p { margin-top: 0; }
    .legal__callout p + p { margin-top: var(--sp-2); }

    /* — Contact block at the end — */
    .legal__contact {
      margin-top: var(--sp-8); padding: var(--sp-6);
      border: 1px solid var(--line); border-radius: var(--radius);
      background: var(--bg-surface);
    }
    .legal__contact h2 {
      font-family: var(--font-display); font-weight: 500;
      font-size: 1.35rem; letter-spacing: -0.02em;
    }
    .legal__contact p { margin-top: var(--sp-2); color: var(--text-muted); }
    .legal__contact-links { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-4); }
    .legal__contact-links a {
      font-family: var(--font-display); font-size: 1.05rem;
      border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease);
    }
    .legal__contact-links a:hover { border-color: var(--text); }

    /* — Responsive — */
    @media (max-width: 1000px) {
      .legal__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
      .legal__toc {
        position: static;
        border: 1px solid var(--line); border-radius: var(--radius);
        padding: var(--sp-4); background: var(--bg-surface);
      }
      .legal__toc ol {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 2px;
      }
      .legal__body { max-width: none; }
    }
    @media (max-width: 640px) {
      .legal__title { font-size: clamp(2rem, 9vw, 2.6rem); }
      .legal__table-row { grid-template-columns: 1fr; gap: 0.35rem; }
      .legal__table-row--head { display: none; }
      .legal__table-row .legal__cell::before {
        content: attr(data-label); display: block;
        font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
        color: var(--text-muted); margin-bottom: 2px;
      }
      .legal__contact { padding: var(--sp-4); }
    }
