:root {
      --bg: #fafafa;
      --ink: #413832;
      --muted: #9E8E85;
      --accent: #E3C39A;
      --accent-dark: #5C4F47;
      --border: #E8E0D8;
      --serif: 'Cormorant Garamond', Georgia, serif;
      --sans: 'Manrope', system-ui, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body { overflow-x: hidden; }
    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 500;
      font-size: 18px;
      line-height: 1.6;
      letter-spacing: -0.01em;
      -webkit-font-smoothing: antialiased;
    }
    .page-content {
      position: relative;
      z-index: 1;
      background: var(--bg);
      padding-bottom: 0;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes navDown {
      from { opacity: 0; transform: translateY(-120%); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .nav-inner { animation: navDown 0.8s cubic-bezier(0.16,1,0.3,1) both; animation-play-state: paused; }
    nav.nav-ready .nav-inner { animation-play-state: running; }
    @keyframes wordIn {
      from { opacity: 0; filter: blur(10px); transform: translateY(6px); }
      to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
    }
    @keyframes revCardIn {
      from { opacity: 0; filter: blur(14px); transform: translateY(100px); }
      to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
    }
    #hero-h1 { visibility: hidden; }
    #hero-h1.go { visibility: visible; }
    #hero-h1 .w-word {
      display: inline-block;
      opacity: 0;
    }
    #hero-h1.go .w-word {
      animation: wordIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    .anim {
      opacity: 0;
      animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      animation-play-state: paused;
    }
    .anim.on { animation-play-state: running; }
    .anim-blur {
      opacity: 0;
      filter: blur(10px);
      animation: wordIn 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
      animation-play-state: paused;
    }
    .anim-blur.on { animation-play-state: running; }
    .anim-proof {
      opacity: 0;
      animation: revCardIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      animation-play-state: paused;
    }
    .anim-proof.on { animation-play-state: running; }
    .anim[data-d="1"] { animation-delay: 0.05s; }
    .anim[data-d="2"] { animation-delay: 0.18s; }
    .anim[data-d="3"] { animation-delay: 0.32s; }
    .anim[data-d="4"] { animation-delay: 0.48s; }
    .anim[data-d="5"] { animation-delay: 0.65s; }

    @keyframes mobBlurIn {
      from { opacity: 0; filter: blur(18px); transform: translateY(12px); }
      to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
      padding: 0 48px;
      pointer-events: none;
    }
    .nav-inner {
      max-width: 1280px; margin: 0 auto;
      height: 80px;
      display: flex; justify-content: space-between; align-items: center;
      padding: 0 20px 0 28px;
      background: rgba(215, 213, 210, 0.82);
      backdrop-filter: blur(48px) saturate(180%);
      -webkit-backdrop-filter: blur(48px) saturate(180%);
      border: 1px solid rgba(255,255,255,0.55);
      border-top-color: rgba(255,255,255,0.8);
      border-radius: 30px;
      pointer-events: all;
      gap: 24px;
      transition: border-radius 0.7s ease, box-shadow 0.7s ease;
    }
    nav { transition: transform 0.7s ease; }
    nav.scrolled .nav-inner { box-shadow: 0 6px 24px rgba(0,0,0,0.10); }
    nav.nav-glow { transform: scale(1.04); transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    nav.nav-glow .nav-inner { border-radius: 15px; transition: border-radius 0.3s ease, box-shadow 1.6s ease; }
    .nav-logo {
      display: flex; align-items: center; justify-content: center;
      text-decoration: none;
      flex-shrink: 0;
      line-height: 0;
      padding: 2px 0;
    }
    .nav-owner {
      display: none;
      flex-direction: column;
      line-height: 1.3;
      margin-left: 4px;
      flex-shrink: 0;
    }
    .nav-owner-role {
      font-family: var(--sans);
      font-size: 10px; font-weight: 500;
      color: var(--muted);
      white-space: nowrap;
    }
    .nav-owner-name {
      font-family: var(--sans);
      font-size: 13px; font-weight: 600;
      color: var(--ink);
      white-space: nowrap;
    }
    .nav-links {
      display: flex; gap: 4px; list-style: none;
      margin-left: 8px;
      position: relative;
      align-items: center;
    }
    .nav-indicator {
      position: absolute;
      background: #5C4F47;
      border-radius: 50px;
      pointer-events: none;
      z-index: 0;
      opacity: 0;
      transition: left 0.5s cubic-bezier(0.34, 1.12, 0.64, 1),
                  width 0.5s cubic-bezier(0.34, 1.12, 0.64, 1),
                  top 0.5s cubic-bezier(0.34, 1.12, 0.64, 1),
                  height 0.5s cubic-bezier(0.34, 1.12, 0.64, 1),
                  opacity 0.25s ease;
    }
    .nav-links a {
      font-size: 13px; font-weight: 500;
      letter-spacing: 0.01em; text-transform: none;
      color: #3a2e26; text-decoration: none;
      padding: 10px 14px;
      border-radius: 10px;
      border: 1px solid transparent;
      white-space: nowrap;
      position: relative; z-index: 1;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: #5C4F47; }
    .nav-links a.active { color: #fafafa; }
    .nav-links a:not(.active)::after {
      content: '';
      position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%) scaleX(0);
      width: calc(100% - 28px); height: 1px;
      background: #5C4F47;
      border-radius: 2px;
      transition: transform 0.25s ease;
    }
    .nav-links a:not(.active):hover::after { transform: translateX(-50%) scaleX(1); }
    @keyframes badgePulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.5; transform: scale(0.9); }
    }
    .nav-badge {
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 500;
      color: #413832;
      background: #E3C39A;
      border-radius: 100px;
      padding: 1px 6px;
      margin-left: 5px;
      vertical-align: middle;
      line-height: 1.4;
      animation: badgePulse 2s ease-in-out infinite;
    }
    .nav-right {
      display: flex; align-items: center; gap: 10px;
      margin-left: auto;
    }
    .nav-social {
      display: flex; gap: 8px; align-items: center;
    }
    .nav-social a {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      text-decoration: none;
      transition: transform 0.55s cubic-bezier(0.34,1.18,0.64,1), box-shadow 0.45s ease;
      flex-shrink: 0;
    }
    .nav-social a:hover {
      transform: scale(1.18);
    }
    .nav-social a.tg { background: #2AABEE; }
    .nav-social a.tg:hover { box-shadow: 0 4px 24px rgba(255,245,215,1), 0 0 48px rgba(255,238,190,0.85); }
    .nav-social a.vk { background: #0077FF; }
    .nav-social a.vk:hover { box-shadow: 0 4px 24px rgba(255,245,215,1), 0 0 48px rgba(255,238,190,0.85); }
    .nav-phone {
      display: inline-flex; align-items: center;
      font-size: 15px; font-weight: 400;
      letter-spacing: 0.01em;
      color: #3a2e26; text-decoration: none;
      border: 1.5px solid rgba(58,46,38,0.25);
      border-radius: 100px;
      padding: 8px 16px;
      white-space: nowrap;
      transition: color 0.2s, border-color 0.2s;
      flex-shrink: 0;
    }
    .nav-phone:hover { color: #1a1008; border-color: rgba(58,46,38,0.5); }
    .nav-cta {
      display: inline-flex; align-items: center;
      font-size: 14px; font-weight: 600;
      letter-spacing: 0.04em;
      color: #413832; text-decoration: none;
      background: #E3C39A;
      border-radius: 100px;
      padding: 10px 22px;
      white-space: nowrap;
      transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
      flex-shrink: 0;
    }
    .nav-cta:hover {
      background: #fafafa;
      color: #5C4F47;
      transform: scale(1.05);
      box-shadow: 0 8px 32px rgba(227,195,154,0.5), 0 0 60px rgba(227,195,154,0.25);
    }
    .nav-cta-wrap {
      position: relative;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
    }
    .nav-cta-tooltip {
      position: absolute;
      top: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%) translateY(-4px);
      background: white;
      color: #5C4F47;
      font-size: 12px; font-weight: 500;
      padding: 4px 12px;
      border-radius: 100px;
      white-space: nowrap;
      box-shadow: 0 4px 16px rgba(0,0,0,0.10);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1);
    }
    .nav-cta-wrap:hover .nav-cta-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ── WRAPPER ── */
    .w { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
    /* Канва без своего padding — для секций, у которых уже есть собственный
       48px отступ (margin/padding), чтобы на широких экранах их края
       совпадали с hero, а не задваивался отступ. */
    .page-cap { max-width: 1280px; margin: 0 auto; }

    /* ── HERO ── */
    .hero {
      min-height: auto;
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: 140px;
      padding-bottom: 125px;
    }
    .hero-row {
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      gap: 56px;
      width: 100%;
    }
    .hero-left {
      position: relative;
      z-index: 5;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      flex: 1 1 520px;
      max-width: 620px;
    }
    .hero-avatars-wrap { position: relative; width: 100%; margin-bottom: 32px; }
    .hero-avatars-wrap::after {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0;
      width: 40px;
      background: linear-gradient(to right, rgba(250,250,250,0), var(--bg) 85%);
      pointer-events: none;
    }
    .hero-avatars {
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: none;
    }
    .hero-avatars::-webkit-scrollbar { display: none; }
    .hero-avatars-track {
      display: flex;
      align-items: flex-start;
      flex-wrap: nowrap;
      gap: 30px;
      padding: 4px 40px 34px 4px;
    }
    .hero-mini {
      position: relative;
      width: 72px;
      flex-shrink: 0;
      cursor: pointer;
      -webkit-user-select: none;
      user-select: none;
    }
    .hero-mini-img {
      display: block;
      width: 72px;
      height: 72px;
      box-sizing: border-box;
      border-radius: 50%;
      border: 2px solid var(--accent-dark);
      padding: 3px;
      transition: transform 0.3s cubic-bezier(0.25,1,0.5,1), border-color 0.3s ease;
    }
    .hero-mini-img img {
      width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
      -webkit-user-drag: none;
      -webkit-touch-callout: none;
      pointer-events: none;
    }
    /* Первый кружок ("Кто я") — сама фотография медленно крутится,
       подсказывая, что по ней можно кликнуть. */
    @media (prefers-reduced-motion: no-preference) {
      .hero-mini[data-story="whoami"] .hero-mini-img img {
        animation: heroStoryPhotoSpin 5s linear infinite;
      }
    }
    @keyframes heroStoryPhotoSpin {
      to { transform: rotate(360deg); }
    }
    .hero-mini-label {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      margin-top: 8px;
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      color: var(--ink);
      text-align: center;
      line-height: 1.3;
      white-space: nowrap;
    }
    @media (hover: hover) {
      .hero-mini:hover .hero-mini-img {
        transform: translateY(-3px);
        border-color: var(--accent);
      }
    }
    .hero-h1 {
      font-family: var(--serif);
      font-size: clamp(30px, 3.2vw, 46px);
      font-weight: 300;
      line-height: 1.05;
      letter-spacing: -0.02em;
      margin-bottom: 28px;
      text-align: left;
    }
    .hero-h1 em { font-style: italic; color: #5C4F47; }
    .hero-photo-col {
      position: relative;
      z-index: 5;
      flex: 0 1 420px;
      display: flex;
      justify-content: center;
      align-items: stretch;
    }
    .hero-rect {
      position: relative;
      width: 100%;
      max-width: 420px;
      height: 100%;
      background: rgba(65,56,50,0.04);
      border: 1px solid var(--border);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 48px rgba(65,56,50,0.13), 0 4px 14px rgba(65,56,50,0.07);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .hero-rect-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .hero-tg-wrap {
      position: absolute;
      left: 16px;
      bottom: 16px;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .hero-tg-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
      background: rgba(42,36,32,0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 100px;
      padding: 8px 20px 8px 8px;
      text-decoration: none;
      box-shadow: 0 4px 24px rgba(0,0,0,0.25);
      transition: transform 0.25s cubic-bezier(0.25,1,0.5,1), box-shadow 0.25s ease;
    }
    .hero-tg-badge:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 28px rgba(0,0,0,0.35);
    }
    .hero-tg-badge-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    @keyframes heroTgSpin {
      to { transform: rotate(360deg); }
    }
    .hero-tg-badge-icon img {
      width: 17px;
      height: 17px;
      animation: heroTgSpin 4s linear infinite;
    }
    .hero-tg-badge-text {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
    }
    .hero-tg-caption {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      color: #fff;
      line-height: 1.35;
      text-align: left;
      text-shadow: 0 1px 8px rgba(0,0,0,0.55);
    }
    .hero-foot {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 28px;
    }
    .hero-desc {
      font-size: 16px;
      font-weight: 400;
      color: #111111;
      line-height: 1.75;
      text-align: left;
    }
    .cta {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      font-size: 14px; font-weight: 600;
      letter-spacing: 0.01em; text-transform: none;
      color: #E3C39A; text-decoration: none;
      background: #5C4F47;
      border: none;
      border-radius: 100px;
      padding: 14px 18px 14px 22px;
      white-space: nowrap;
      box-shadow: 0 0 0 rgba(227,195,154,0);
      transform: translateZ(0) scale(1);
      transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), box-shadow 0.28s ease;
    }
    .cta:hover {
      background: #5C4F47;
      color: #E3C39A;
      transform: translateZ(0) scale(1.06);
      box-shadow:
        0 10px 30px rgba(227,195,154,0.22),
        0 22px 60px rgba(227,195,154,0.18),
        0 0 80px rgba(227,195,154,0.14);
    }
    .cta:active { transform: translateZ(0) scale(0.99); }
    .cta-wrap {
      position: relative;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
    }
    .cta-tooltip {
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%) translateY(-6px);
      background: white;
      color: #5C4F47;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.02em;
      padding: 6px 14px;
      border-radius: 100px;
      white-space: nowrap;
      box-shadow: 0 4px 16px rgba(0,0,0,0.10);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1);
    }
    .cta-wrap:hover .cta-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    .cta-tg-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }
    .cta-inner {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .cta-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 18px;
      color: #E3C39A;
      transform: translateX(0) rotate(0deg);
      transition: transform 0.75s cubic-bezier(0.16,1,0.3,1);
    }
    .cta-arrow-svg {
      overflow: visible;
      display: block;
    }
    .cta-arrow-line {
      transform-origin: left center;
      transition: transform 0.34s cubic-bezier(0.16,1,0.3,1);
    }
    .cta-arrow-head {
      transition: transform 0.34s cubic-bezier(0.16,1,0.3,1);
    }
    .cta:hover .cta-arrow {
      transform: translateX(4px) scale(1.08) rotate(180deg);
    }
    .cta:hover .cta-arrow-line {
      transform: scaleX(1.42);
    }
    .cta:hover .cta-arrow-head {
      transform: translateX(10px);
    }


    /* ── POPUP ── */
    .popup-overlay {
      position: fixed; inset: 0; z-index: 200;
      background: rgba(65,56,50,0.55);
      backdrop-filter: blur(8px) saturate(120%);
      -webkit-backdrop-filter: blur(8px) saturate(120%);
      opacity: 0; visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }
    .popup-overlay.open { opacity: 1; visibility: visible; }
    .popup-scroll {
      position: absolute; inset: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      padding: 24px;
      box-sizing: border-box;
    }
    .popup-box {
      background: var(--bg);
      border-radius: 24px;
      overflow: hidden;
      width: 100%; max-width: 680px;
      position: relative;
      margin: 0 auto;
      transform: scale(0.94) translateY(20px);
      transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .popup-overlay.open .popup-box { transform: none; }
    .popup-screen { height: 300px; width: 100%; position: relative; }
    .popup-screen-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
    .popup-body { padding: 32px 36px 36px; }
    .popup-tag {
      font-size: 13px; font-weight: 500;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 10px;
    }
    .popup-title {
      font-family: var(--serif);
      font-size: 38px; font-weight: 300;
      letter-spacing: -0.01em; margin-bottom: 16px;
    }
    .popup-desc { font-size: 17px; color: var(--muted); line-height: 1.75; }
    .popup-close {
      position: absolute; top: 16px; right: 16px;
      width: 38px; height: 38px;
      background: rgba(255,255,255,0.85);
      border: none; border-radius: 50%;
      font-size: 20px; line-height: 1; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #333; transition: background 0.2s;
    }
    .popup-close:hover { background: #fff; }

    /* ── DIVIDER ── */
    .div-wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

    /* ── STATS SECTION ── */
    .stats-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 0 48px 125px;
      align-items: stretch;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      align-content: stretch;
    }
    .stat-card.flashing {
      background: #5C4F47 !important;
      border-color: rgba(227,195,154,0.5) !important;
      transform: translateY(-4px);
      box-shadow: 0 20px 60px rgba(227,195,154,0.35), 0 0 80px rgba(227,195,154,0.18) !important;
    }
    .stat-card.flashing .stat-num,
    .stat-card.flashing .stat-num em { color: #E3C39A !important; }
    .stat-card.flashing .stat-label { color: rgba(250,250,250,0.8) !important; }
    .stats-section.visible .stats-grid .stat-card:nth-child(1) { animation: fadeUp 0.7s 0s    cubic-bezier(0.16,1,0.3,1) both; }
    .stats-section.visible .stats-grid .stat-card:nth-child(2) { animation: fadeUp 0.7s 0.13s cubic-bezier(0.16,1,0.3,1) both; }
    .stats-section.visible .stats-grid .stat-card:nth-child(3) { animation: fadeUp 0.7s 0.26s cubic-bezier(0.16,1,0.3,1) both; }
    .stats-section.visible .stats-grid .stat-card:nth-child(4) { animation: fadeUp 0.7s 0.39s cubic-bezier(0.16,1,0.3,1) both; }
    .stat-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 28px 24px 24px;
      display: flex; flex-direction: column; gap: 8px;
      transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease;
    }
    .stat-card:hover {
      background: #5C4F47;
      border-color: rgba(227,195,154,0.5);
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 20px 60px rgba(227,195,154,0.4), 0 0 90px rgba(227,195,154,0.22);
    }
    .stat-num {
      font-family: var(--sans);
      font-size: clamp(40px, 5vw, 72px);
      font-weight: 300;
      color: #5C4F47;
      line-height: 1;
      transition: color 0.55s ease;
    }
    .stat-num em {
      font-style: normal;
      color: #5C4F47;
      transition: color 0.55s ease;
    }
    .stat-card:hover .stat-num,
    .stat-card:hover .stat-num em { color: #E3C39A; }
    .stat-label {
      font-size: 16px;
      font-weight: 300;
      color: #111111;
      line-height: 1.5;
      transition: color 0.55s ease;
    }
    .stat-card:hover .stat-label { color: rgba(250,250,250,0.8); }

    .stats-grid .stat-card {
      opacity: 0;
      animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
      animation-play-state: paused;
    }
    .stats-grid .stat-card:nth-child(1) { animation-delay: 0.05s; }
    .stats-grid .stat-card:nth-child(2) { animation-delay: 0.35s; }
    .stats-grid .stat-card:nth-child(3) { animation-delay: 0.65s; }
    .stats-grid .stat-card:nth-child(4) { animation-delay: 0.95s; }
    .stats-section.on .stats-grid .stat-card { animation-play-state: running; }

    /* ── PROOF WINDOW ── */
    .proof-window {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      display: flex; flex-direction: column;
      border: 2px solid #5C4F47;
    }
    .proof-slides { position: relative; flex: 1; min-height: 300px; }
    .proof-slide {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      opacity: 0; pointer-events: none;
      transition: opacity 0.4s ease;
    }
    .proof-slide.active { opacity: 1; pointer-events: auto; }
    .proof-img-wrap {
      flex: 1;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 12px;
      background: #F6F3EE;
      overflow: hidden;
    }
    .proof-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center top;
    }
    .proof-desc {
      padding: 14px 20px;
      border-top: 1px solid #F0EDE8;
    }
    .proof-desc strong {
      display: block;
      font-size: 14px; font-weight: 500;
      color: var(--ink);
      margin-bottom: 3px;
    }
    .proof-desc p {
      font-size: 13px; font-weight: 300;
      color: var(--muted); line-height: 1.5;
      margin: 0;
    }
    .proof-nav {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 14px 20px;
      background: #5C4F47;
    }
    .proof-nav-title {
      font-size: 13px; font-weight: 500;
      color: #fafafa;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .proof-arrow {
      width: 32px; height: 32px;
      border-radius: 50%;
      border: 1px solid rgba(227,195,154,0.5);
      background: rgba(227,195,154,0.15);
      display: flex; align-items: center; justify-content: center;
      color: #E3C39A;
      cursor: pointer;
      outline: none;
      transition: background 0.2s, border-color 0.2s;
    }
    .proof-arrow:hover { background: #E3C39A; color: #5C4F47; border-color: #E3C39A; }
    .proof-expand-btn {
      display: inline-flex; align-items: center; gap: 6px;
      background: none;
      border: 1px solid #E0DDD8;
      border-radius: 100px;
      cursor: pointer;
      font-size: 12px; font-weight: 600;
      color: var(--ink);
      letter-spacing: 0.02em;
      padding: 6px 14px;
      transition: background 0.2s, border-color 0.2s;
    }
    .proof-expand-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
    .proof-dots { display: flex; gap: 6px; }
    .proof-pip {
      width: 6px; height: 6px; border-radius: 50%;
      background: #D8D3CE; transition: background 0.25s;
    }
    .proof-pip.active { background: var(--ink); }
    .proof-arrow {
      width: 32px; height: 32px;
      border-radius: 50%;
      border: 1px solid #E0DDD8;
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      color: var(--ink);
      cursor: pointer;
      outline: none;
      transition: background 0.2s, border-color 0.2s;
    }
    .proof-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
    #proofModal.open { opacity: 1 !important; pointer-events: all !important; }
    #proofModal.open #proofModalBox { transform: translateY(0) !important; }
    .div-wrap::after { content: none; }

    /* ── SECTIONS ── */
    section { padding: 100px 0; }
    .sec-head {
      display: flex; justify-content: space-between; align-items: baseline;
      gap: 20px;
      padding-bottom: 24px;
      margin-bottom: 64px;
    }
    .sec-title {
      font-family: var(--serif);
      font-size: clamp(30px, 3.2vw, 46px);
      font-weight: 300;
      line-height: 0.95;
      letter-spacing: -0.02em;
    }
    .team-title .team-title-line {
      display: inline;
      opacity: 0;
      filter: blur(10px);
      animation: wordIn 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
      animation-play-state: paused;
    }
    .team-title.go .team-title-line { animation-play-state: running; }
    .sec-title em { font-style: italic; color: #5C4F47; }
    .sec-title-words .w-word {
      display: inline-block;
      opacity: 0;
      animation: wordIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
      animation-play-state: paused;
    }
    .sec-title-words.go .w-word { animation-play-state: running; }

    .work-tab--locked {
      opacity: 0.45;
      cursor: not-allowed !important;
      pointer-events: none;
    }
    .work-tabs {
      display: flex; gap: 8px;
      flex-wrap: wrap;
    }
    .work-tab {
      font-family: var(--sans);
      font-size: 13px; font-weight: 600;
      letter-spacing: 0.02em;
      color: rgba(250,250,250,0.55);
      background: transparent;
      border: 1.5px solid rgba(250,250,250,0.2);
      border-radius: 100px;
      padding: 8px 20px;
      cursor: pointer;
      transition: color 0.2s, background 0.2s, border-color 0.2s;
      white-space: nowrap;
    }
    .work-tab:hover {
      color: rgba(250,250,250,0.85);
      border-color: rgba(250,250,250,0.4);
    }
    .work-tab.active {
      background: #E3C39A;
      border-color: #E3C39A;
      color: #413832;
      font-weight: 600;
    }
    .work-btn {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: rgba(250,250,250,0.12);
      border: 1.5px solid rgba(250,250,250,0.25);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: background 0.25s, transform 0.25s, border-color 0.25s;
    }
    .work-btn:hover {
      background: rgba(250,250,250,0.22);
      border-color: rgba(250,250,250,0.5);
      transform: scale(1.08);
    }
    .work-btn:active { transform: scale(0.95); }
    .work-btn svg { stroke: #fafafa; transition: stroke 0.25s; }
    .work-btn:hover svg { stroke: #fff; }


    .work-scroll-img {
      width: 100%;
      height: auto;
      display: block;
      transform: translateY(0);
      transition: transform 18s cubic-bezier(0.25,0.1,0.25,1);
      will-change: transform;
    }
    .work-card-outer:hover .work-scroll-img {
      transform: translateY(-65%);
    }
    .work-card:has(.work-scroll-img):hover .work-fill-inner { transform: none; }

    /* ── WORK ── */
    .work-section-wrap {
      position: relative;
      margin: 0 48px 125px;
      padding: 60px;
      overflow: visible;
    }
    .work-grid-scroll {
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 50px;
      margin: -50px;
    }
    .work-grid-scroll::-webkit-scrollbar { display: none; }
    .work-section-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      background: #5C4F47;
      border-radius: 32px;
      z-index: -1;
    }
    .work-carousel-wrap {
      position: relative;
      overflow: visible;
    }
    .work-grid-scroll {
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 40px;
      margin: -40px;
    }
    .work-grid-scroll::-webkit-scrollbar { display: none; }
    .work-card-outer:hover {
      transform: scale(1.03) translateY(-6px);
      box-shadow: 0 4px 16px rgba(227,195,154,0.12);
    }
    .work-grid {
      display: flex;
      gap: 16px;
      scroll-behavior: smooth;
      width: max-content;
    }

    .work-card-outer {
      flex: 0 0 480px;
      border-radius: 20px;
      transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
      height: 430px;
    }
    .work-card-outer:hover {
      box-shadow: 0 4px 16px rgba(227,195,154,0.12);
      position: relative;
      z-index: 10;
    }
    .work-card {
      position: relative;
      background: #1A1614;
      cursor: pointer;
      border-radius: 20px;
      width: 100%;
      height: 100%;
      display: flex; flex-direction: column;
      overflow: hidden;
      transition: background 0.4s ease;
    }
    .work-card-outer:hover .work-card { background: #E3C39A; }
    .work-card-outer:hover .work-chrome { background: #1A1614; }
    .work-card-outer:hover .work-chrome-url { background: rgba(0,0,0,0.08); color: #5C4F47; }
    .work-card-outer:hover .work-info-name { color: #413832; }
    .work-card-outer:hover .work-info-tag { color: rgba(65,56,50,0.5); }
    .work-card-outer:hover .work-info-desc { color: rgba(65,56,50,0.65); }
    .work-card-outer:hover .work-info-arrow { background: rgba(65,56,50,0.12); color: #413832; }
    .work-fill {
      width: 100%; height: 300px;
      position: relative; overflow: hidden;
      flex-shrink: 0;
      background: #1A1614;
    }
    .work-fill-inner {
      position: absolute; inset: 0;
      background: #2A2420;
      transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
    }
    .work-card:hover .work-fill-inner { transform: scale(1.04); }
    .work-ph {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 10px;
      font-size: 11px; font-weight: 500;
      letter-spacing: 0.1em; text-transform: uppercase; color: #5A5450;
      z-index: 1;
    }
    .work-ph svg { opacity: 0.4; }
    .work-chrome {
      position: absolute; top: 0; left: 0; right: 0;
      background: transparent;
      padding: 10px 16px;
      display: flex; align-items: center; gap: 8px;
      z-index: 5;
      transition: none;
      opacity: 0;
      pointer-events: none;
    }
    .work-chrome-dots { display: flex; gap: 5px; }
    .work-chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
    .work-chrome-dot:nth-child(1) { background: #FF5F57; }
    .work-chrome-dot:nth-child(2) { background: #FEBC2E; }
    .work-chrome-dot:nth-child(3) { background: #28C840; }
    .work-chrome-url {
      flex: 1; background: rgba(255,255,255,0.08); border-radius: 6px;
      padding: 4px 10px; font-size: 11px; color: #666;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .work-info {
      padding: 16px 20px 20px;
      display: flex; flex-direction: column; gap: 5px;
      position: relative;
    }
    .work-info-tag {
      font-size: 10px; font-weight: 700;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: rgba(255,255,255,0.4);
    }
    .work-info-name {
      font-family: var(--serif); font-size: 24px; font-weight: 400;
      color: #fafafa; line-height: 1.2;
    }
    .work-info-desc {
      font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,0.5); line-height: 1.55;
      padding-right: 40px;
    }
    .work-info-arrow {
      position: absolute; bottom: 20px; right: 20px;
      width: 34px; height: 34px; border-radius: 50%;
      background: rgba(255,255,255,0.12);
      display: flex; align-items: center; justify-content: center;
      color: #fafafa;
      transition: background 0.25s, transform 0.25s;
    }
    .work-card:hover .work-info-arrow {
      background: rgba(255,255,255,0.22);
      transform: scale(1.1);
    }
    .work-nav {
      display: flex; gap: 10px;
      justify-content: flex-end;
      margin-top: 24px;
    }
    /* ── TEAM ── */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .team-card-tilt {
      transform-style: preserve-3d;
      will-change: transform;
      border-radius: 24px;
    }
    .team-card {
      background: #EDE8E1;
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      aspect-ratio: 3/4;
      transition: box-shadow 0.5s cubic-bezier(0.16,1,0.3,1);
      will-change: transform;
    }
    .team-card:hover {
      box-shadow:
        0 30px 80px rgba(227,195,154,0.35),
        0 0 120px rgba(227,195,154,0.25);
    }
    .team-photo {
      position: absolute;
      inset: 0;
      background-color: #EDE8E1;
      background-size: cover;
      background-repeat: no-repeat;
      transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
    }
    .team-card:hover .team-photo {
      scale: 1.2;
    }
    .team-body {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 60px 28px 28px;
      display: flex; flex-direction: column; gap: 4px;
      isolation: isolate;
    }
    .team-body::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(20,14,10,0.80) 0%, rgba(20,14,10,0.5) 50%, transparent 100%);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      mask-image: linear-gradient(to top, black 40%, transparent 100%);
      -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
      z-index: -1;
    }
    .team-avatar {
      position: absolute;
      top: 16px; left: 16px;
      width: 52px; height: 52px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.6);
      overflow: hidden;
      z-index: 2;
      box-shadow: 0 4px 16px rgba(0,0,0,0.2);
      transition: border-color 0.3s;
    }
    .team-card:hover .team-avatar {
      border-color: rgba(227,195,154,0.9);
    }
    .team-avatar-img {
      position: absolute; inset: 0;
      background-size: cover;
      background-position: center;
      transition: opacity 0.4s ease;
    }
    .team-avatar-img.alt { opacity: 0; }
    .team-card:hover .team-avatar-img.main { opacity: 0; }
    .team-card:hover .team-avatar-img.alt  { opacity: 1; }
    .team-card-arrow {
      position: absolute;
      top: 16px; right: 16px;
      width: 36px; height: 36px;
      background: white;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);
      transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
      z-index: 2;
    }
    .team-card:hover .team-card-arrow {
      transform: scale(1.1);
    }
    .team-name {
      font-family: var(--serif);
      font-size: 26px; font-weight: 400;
      letter-spacing: -0.01em;
      color: #fafafa;
    }
    .team-role {
      font-size: 11px; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: rgba(250,250,250,0.85);
      margin-bottom: 8px;
    }
    .team-list {
      list-style: none;
      display: flex; flex-direction: column; gap: 5px;
    }
    .team-list li {
      font-size: 14px; font-weight: 300;
      color: rgba(250,250,250,0.85); line-height: 1.4;
      padding-left: 14px;
      position: relative;
    }
    .team-list li::before {
      content: '—';
      position: absolute; left: 0;
      color: var(--accent);
      font-size: 12px;
    }

    /* ── TEAM MOSAIC ── */
    @keyframes badge-float {
      0%, 100% { transform: translate(-50%, -50%) translateY(0); }
      50%       { transform: translate(-50%, -50%) translateY(-8px); }
    }
    @keyframes badge-enter {
      from { opacity: 0; filter: blur(14px); translate: 0 40px; }
      to   { opacity: 1; filter: blur(0);    translate: 0 0; }
    }
    @keyframes tc-from-l { from { opacity: 0; translate: -200px 40px; } to { opacity: 1; translate: 0 0; } }
    @keyframes tc-from-t { from { opacity: 0; translate: -50px -180px; } to { opacity: 1; translate: 0 0; } }
    @keyframes tc-from-r { from { opacity: 0; translate: 200px -30px; } to { opacity: 1; translate: 0 0; } }
    @keyframes team-panel-rise {
      from { opacity: 0; transform: translateY(80px); filter: blur(22px); }
      to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
    }
    .team-spec-badge {
      position: absolute;
      left: 50%; top: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      max-width: 180px;
      background: rgba(65, 56, 50, 0.55);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: #fafafa;
      font-family: var(--sans);
      font-size: 12px; font-weight: 500; line-height: 1.5;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex; flex-direction: column; align-items: center; gap: 10px;
      text-align: center;
      opacity: 0;
    }
    #team.team-visible .team-spec-badge {
      animation: badge-enter 0.65s cubic-bezier(0.16,1,0.3,1) 0.5s both,
                 badge-float 4s ease-in-out 1.3s infinite;
    }
    #team.team-visible .tc-orbit[data-person="0"] .tc {
      animation: tc-from-l 0.9s cubic-bezier(0.16,1,0.3,1) 0s both;
    }
    #team.team-visible .tc-orbit[data-person="2"] .tc {
      animation: tc-from-t 0.9s cubic-bezier(0.16,1,0.3,1) 0.12s both;
    }
    #team.team-visible .tc-orbit[data-person="1"] .tc {
      animation: tc-from-r 0.9s cubic-bezier(0.16,1,0.3,1) 0.24s both;
    }
    #team.team-visible .team-info-panel {
      animation: team-panel-rise 1s cubic-bezier(0.16,1,0.3,1) 0.35s both;
    }
    .team-spec-icon {
      width: 32px; height: 32px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .team-stage {
      display: flex;
      gap: 80px;
      align-items: stretch;
    }
    .team-mosaic {
      position: relative;
      flex: 1;
      min-width: 0;
      max-width: 600px;
      height: 520px;
      cursor: pointer;
      overflow: visible;
    }
    @keyframes tc-orbit {
      from { transform: rotate(0deg)   translateX(175px) rotate(0deg); }
      to   { transform: rotate(360deg) translateX(175px) rotate(-360deg); }
    }
    .tc-orbit {
      position: absolute;
      left: 50%; top: 50%;
      width: 0; height: 0;
      animation: tc-orbit 30s linear infinite;
    }
    .tc-orbit[data-person="0"] { animation-delay: -22.5s; }
    .tc-orbit[data-person="1"] { animation-delay: -2.5s; }
    .tc-orbit[data-person="2"] { animation-delay: -12.5s; }
    .tc {
      position: absolute;
      width: 180px;
      height: 250px;
      left: -90px;
      top: -125px;
      border-radius: 20px;
      background: var(--bg);
      filter: drop-shadow(0 10px 24px rgba(0,0,0,0.22));
      transition: filter 0.45s ease;
      will-change: transform;
      opacity: 0;
    }
    .tc:hover,
    .tc--active {
      filter: drop-shadow(0 20px 44px rgba(227,195,154,0.6)) drop-shadow(0 0 32px rgba(227,195,154,0.28));
    }
    .tc-inner {
      position: absolute;
      inset: 0;
      border-radius: 20px;
      overflow: hidden;
    }
    .tc-photo {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-repeat: no-repeat;
      transition: transform 0.5s ease;
    }
    .tc:hover .tc-photo {
      transform: scale(1.1);
    }
    .tc-label {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 36px 12px 14px;
      background: linear-gradient(to top, rgba(20,14,10,0.78) 0%, transparent 100%);
      font-family: var(--serif);
      font-size: 18px; font-weight: 400;
      color: #fff;
      text-align: center;
      z-index: 2;
    }
    .team-info-panel {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: var(--ink);
      border-radius: 28px;
      padding: 36px 32px 28px;
      opacity: 0;
    }
    @keyframes tip-blur-out {
      from { opacity: 1; filter: blur(0); }
      to   { opacity: 0; filter: blur(6px); }
    }
    @keyframes tip-blur-in {
      from { opacity: 0; filter: blur(6px); }
      to   { opacity: 1; filter: blur(0); }
    }
    .tip-name-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 10px;
    }
    .tip-avatar {
      width: 56px; height: 56px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      border: 2px solid rgba(227,195,154,0.25);
    }
    .tip-name {
      font-family: var(--serif);
      font-size: 54px; font-weight: 400; line-height: 1.1;
      color: #fafafa;
    }
    .tip-role {
      align-self: flex-start;
      background: rgba(227,195,154,0.15);
      color: var(--accent);
      font-family: var(--sans);
      font-size: 13px; font-weight: 600;
      padding: 8px 20px;
      border-radius: 100px;
      margin-bottom: 20px;
    }
    .tip-theses {
      list-style: none;
      display: flex; flex-direction: column; gap: 12px;
      margin-bottom: 0;
    }
    .tip-theses li {
      display: flex; align-items: center; gap: 12px;
      font-family: var(--sans); font-size: 15px; font-weight: 400;
      color: #fafafa; line-height: 1.4;
    }
    .tip-theses li::before {
      content: '';
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }
    .tip-footer { display: flex; align-items: center; gap: 20px; margin-top: auto; }
    .tip-arrows { display: flex; gap: 8px; }
    .tip-arrow {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: transparent;
      border: 1.5px solid rgba(227,195,154,0.4);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: background 0.25s, transform 0.25s, border-color 0.25s;
    }
    .tip-arrow:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
    .tip-arrow:active { transform: scale(0.95); }
    .tip-arrow svg { stroke: var(--accent); transition: stroke 0.25s; }
    .tip-arrow:hover svg { stroke: var(--ink); }
    .tip-progress { flex: 1; max-width: 100px; height: 2px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden; }
    .tip-progress-bar { height: 100%; background: var(--accent); width: 0%; }
    /* ── Team window ── */
    .tip-window {
      flex: none;
      height: 170px;
      margin: 16px 0 0;
      background: #171210;
      border-radius: 12px;
      overflow: hidden;
    }
    .twin-bar {
      background: #221a14;
      padding: 9px 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .twin-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
    .twin-dot:nth-child(1) { background: #ff5f57; }
    .twin-dot:nth-child(2) { background: #febc2e; }
    .twin-dot:nth-child(3) { background: #28c840; }
    .twin-title, .twin-url {
      margin-left: 8px;
      font-family: var(--sans);
      font-size: 11px;
      color: rgba(255,255,255,0.28);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .twin-body {
      padding: 12px 16px;
      font-family: 'SF Mono', 'Fira Code', 'Menlo', monospace;
      font-size: 12px;
      line-height: 1.9;
      color: rgba(255,255,255,0.6);
    }
    @keyframes twin-in {
      from { opacity: 0; transform: translateX(-5px); }
      to   { opacity: 1; transform: none; }
    }
    @keyframes twin-blink { 50% { opacity: 0; } }
    .twin-line {
      opacity: 0;
      animation: twin-in 0.2s ease forwards;
      white-space: nowrap;
    }
    .twin-line:nth-child(1) { animation-delay: 0.1s; }
    .twin-line:nth-child(2) { animation-delay: 0.45s; }
    .twin-line:nth-child(3) { animation-delay: 0.8s; }
    .twin-line:nth-child(4) { animation-delay: 1.15s; }
    .twin-line:nth-child(5) { animation-delay: 1.5s; }
    .twin-line:nth-child(6) { animation-delay: 1.85s; }
    .twin-prompt { color: var(--accent); margin-right: 6px; }
    .twin-hi { color: #fff; }
    .twin-muted { color: rgba(255,255,255,0.25) !important; }
    .twin-ok { color: #28c840; margin-right: 4px; }
    .twin-cursor {
      display: inline-block;
      width: 7px; height: 13px;
      background: var(--accent);
      vertical-align: text-bottom;
      opacity: 0;
      animation: twin-in 0.2s ease forwards 2.1s, twin-blink 1s step-end infinite 2.1s;
    }
    /* Palette — Захар */
    .twin-palette { font-family: var(--sans) !important; display: flex !important; flex-direction: column; gap: 9px; }
    .twin-sw {
      display: flex; align-items: center; gap: 10px;
      opacity: 0; animation: twin-in 0.2s ease forwards;
    }
    .twin-sw:nth-child(1) { animation-delay: 0.12s; }
    .twin-sw:nth-child(2) { animation-delay: 0.28s; }
    .twin-sw:nth-child(3) { animation-delay: 0.44s; }
    .twin-sw:nth-child(4) { animation-delay: 0.6s; }
    .twin-color { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; }
    .twin-hex { font-family: 'SF Mono','Fira Code',monospace; font-size: 11px; color: rgba(255,255,255,0.5); flex: 1; }
    .twin-cn { font-size: 11px; color: rgba(255,255,255,0.22); }
    /* Wireframe — Алексей */
    .twin-wireframe { font-family: var(--sans) !important; display: flex !important; flex-direction: column; gap: 7px; }
    .twin-wf-nav  { height: 16px; background: rgba(255,255,255,0.09); border-radius: 5px; opacity: 0; animation: twin-in 0.25s ease forwards 0.12s; }
    .twin-wf-hero { height: 46px; background: rgba(255,255,255,0.05); border-radius: 5px; opacity: 0; animation: twin-in 0.25s ease forwards 0.3s; }
    .twin-wf-row  { display: flex; gap: 6px; opacity: 0; animation: twin-in 0.25s ease forwards 0.5s; }
    .twin-wf-card { flex: 1; height: 36px; background: rgba(255,255,255,0.07); border-radius: 5px; }
    .twin-wf-text { height: 8px; background: rgba(255,255,255,0.11); border-radius: 4px; opacity: 0; animation: twin-in 0.25s ease forwards 0.7s; }
    .twin-wf-short { width: 55%; animation-delay: 0.85s !important; }
    @keyframes twin-fade {
      from { opacity: 0; transform: translateY(3px); }
      to   { opacity: 1; transform: none; }
    }
    /* ── Light windows ── */
    .twin-bar-l {
      background: #e8e0d6;
      padding: 9px 12px;
      display: flex; align-items: center; gap: 6px;
    }
    .twin-title-l {
      margin-left: 8px;
      font-family: var(--sans); font-size: 11px;
      color: rgba(65,56,50,0.4);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .twin-body-l {
      padding: 10px 12px;
      font-family: var(--sans); font-size: 11px;
      color: var(--ink);
    }
    /* Two-col: Захар */
    .twin-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .twin-col-l { display: flex; flex-direction: column; gap: 5px; }
    .twin-col-hd {
      font-size: 10px; font-weight: 600; letter-spacing: 0.05em;
      color: rgba(65,56,50,0.38); text-transform: uppercase;
      margin-bottom: 2px;
      opacity: 0; animation: twin-fade 0.2s ease forwards 0.08s;
    }
    .twin-sw-l {
      display: flex; align-items: center; gap: 7px;
      color: rgba(65,56,50,0.65);
      opacity: 0; animation: twin-fade 0.2s ease forwards;
    }
    .twin-sw-l:nth-child(2) { animation-delay: 0.16s; }
    .twin-sw-l:nth-child(3) { animation-delay: 0.28s; }
    .twin-sw-l:nth-child(4) { animation-delay: 0.40s; }
    .twin-sw-l:nth-child(5) { animation-delay: 0.52s; }
    .twin-sw-dot { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }
    .twin-sc {
      background: #fff;
      border-radius: 5px; overflow: hidden;
      padding: 4px; display: flex; flex-direction: column; gap: 3px;
      opacity: 0; animation: twin-fade 0.25s ease forwards;
    }
    .twin-sc:nth-child(2) { animation-delay: 0.18s; }
    .twin-sc:nth-child(3) { animation-delay: 0.38s; }
    .twin-sc-nav { height: 4px; background: #E8E0D8; border-radius: 2px; }
    .twin-sc-hero { height: 20px; background: linear-gradient(120deg,#413832,#5C4F47); border-radius: 2px; }
    .twin-sc-txt { height: 5px; background: #E8E0D8; border-radius: 2px; width: 65%; }
    .twin-sc-row { display: flex; gap: 3px; }
    .twin-sc-row span { flex: 1; height: 20px; background: #f5f0eb; border-radius: 2px; }
    /* CRM: Алексей */
    .twin-lead {
      display: flex; align-items: center; gap: 8px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(65,56,50,0.08);
      opacity: 0; animation: twin-fade 0.2s ease forwards;
    }
    .twin-lead:nth-child(1) { animation-delay: 0.10s; }
    .twin-lead:nth-child(2) { animation-delay: 0.22s; }
    .twin-lead:nth-child(3) { animation-delay: 0.34s; }
    .twin-lead:nth-child(4) { animation-delay: 0.46s; }
    .twin-ldot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
    .twin-lname { flex: 1; font-size: 11px; color: var(--ink); }
    .twin-ltag { font-size: 10px; color: rgba(65,56,50,0.5); background: rgba(65,56,50,0.07); padding: 2px 7px; border-radius: 4px; }
    /* Metrics: Константин */
    .twin-metrics { display: flex; flex-direction: column; gap: 2px; }
    .twin-met {
      display: flex; align-items: center;
      padding: 5px 0;
      border-bottom: 1px solid rgba(65,56,50,0.08);
      opacity: 0; animation: twin-fade 0.2s ease forwards;
    }
    .twin-met:nth-child(1) { animation-delay: 0.10s; }
    .twin-met:nth-child(2) { animation-delay: 0.22s; }
    .twin-met:nth-child(3) { animation-delay: 0.34s; }
    .twin-met:nth-child(4) { animation-delay: 0.46s; }
    .twin-met-lbl { font-size: 11px; color: rgba(65,56,50,0.45); width: 38px; }
    .twin-met-val { font-size: 14px; font-weight: 700; color: var(--ink); flex: 1; }
    .twin-met-trend { font-size: 10px; color: #28c840; }
    /* Chat: Алексей */
    @keyframes tchat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    @keyframes tchat-out { from { opacity: 1; } to { opacity: 0; } }
    @keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }
    .tchat-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(65,56,50,0.5); animation: dot-bounce 1s infinite; }
    .tchat-dot:nth-child(2) { animation-delay: 0.15s; }
    .tchat-dot:nth-child(3) { animation-delay: 0.3s; }
    @keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    /* ── REVIEWS ── */
    .rev-carousel {
      overflow-x: auto;
      overflow-y: visible;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding-top: 70px;
      margin-top: -70px;
      padding-bottom: 40px;
      margin-bottom: -40px;
    }
    .rev-carousel::-webkit-scrollbar { display: none; }
    .rev-grid {
      display: flex;
      gap: 20px;
      padding-left: 48px;
      padding-right: 80px;
    }
    .rev-grid::after {
      content: '';
      display: block;
      min-width: 120px;
      flex-shrink: 0;
    }
    .rev-card {
      opacity: 0;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      width: calc((100vw - 136px) / 3);
      max-width: 306px;
      min-width: 220px;
      position: relative;
      z-index: 1;
      transition: transform 0.5s cubic-bezier(0.25,1,0.5,1);
    }
    .rev-card:hover {
      transform: scale(1.03) translateY(-6px);
      z-index: 10;
    }
    .rev-arrows {
      display: flex;
      gap: 8px;
      flex-shrink: 0;
    }
    .rev-arrow-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(65,56,50,0.07);
      border: 1.5px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.25s, transform 0.25s, border-color 0.25s;
    }
    .rev-arrow-btn:hover:not(:disabled) {
      background: rgba(65,56,50,0.14);
      border-color: rgba(65,56,50,0.4);
      transform: scale(1.08);
    }
    .rev-arrow-btn:active:not(:disabled) { transform: scale(0.95); }
    .rev-arrow-btn svg { stroke: var(--ink); transition: stroke 0.25s; }
    .rev-arrow-btn:disabled { opacity: 0.3; cursor: default; }
    .rev-video {
      position: relative;
      aspect-ratio: 4/5;
      border-radius: 20px;
      overflow: hidden;
      margin-top: -40px;
      background: #15110E;
      flex-shrink: 0;
    }
    .rev-video[data-video-id] { cursor: pointer; }
    .rev-play-btn {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 5;
    }
    .rev-play-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1.5px solid rgba(255,255,255,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.45s cubic-bezier(0.25,1,0.5,1), scale 0.45s cubic-bezier(0.25,1,0.5,1), background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    }
    .rev-play-btn:hover .rev-play-icon {
      transform: scale(1.08);
      background: rgba(255,255,255,0.28);
    }
    .rev-card:hover .rev-play-icon {
      scale: 1.2;
      background: rgba(227,195,154,0.92);
      border-color: rgba(227,195,154,0.6);
      box-shadow: 0 8px 36px rgba(227,195,154,0.55);
    }
    .rev-play-icon svg { display: block; }
    .rev-video-poster {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
    }

    /* Review video popup */
    .rev-popup {
      position: fixed;
      inset: 0;
      z-index: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .rev-popup.open {
      opacity: 1;
      pointer-events: all;
    }
    .rev-popup-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.82);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .rev-popup-box {
      position: relative;
      z-index: 1;
      aspect-ratio: 4/5;
      height: min(88vh, 700px, calc((100vw - 24px) * 5 / 4));
      border-radius: 20px;
      overflow: hidden;
      background: #000;
    }
    .rev-popup-box iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }
    /* Кружок "Кейсы" открывает картинку, а не видео — коробке нужны свои
       пропорции (под скриншот), а не фиксированное 4:5 под видео. */
    .rev-popup-box.is-image {
      aspect-ratio: auto;
      height: auto;
      max-height: 88vh;
      max-width: min(92vw, 480px);
    }
    .rev-popup-box.is-image #revPopupImg {
      display: block;
      width: 100%;
      max-height: 88vh;
      object-fit: contain;
    }
    .rev-popup-counter {
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 100px;
      padding: 6px 14px;
      color: #fff;
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    .rev-popup-counter[hidden] { display: none; }
    .rev-popup-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(0,0,0,0.4);
      border: 1px solid rgba(255,255,255,0.2);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s;
    }
    .rev-popup-nav:hover { background: rgba(0,0,0,0.7); }
    .rev-popup-nav--prev { left: 10px; }
    .rev-popup-nav--next { right: 10px; }
    .rev-popup-nav[hidden] { display: none; }
    .rev-popup-close {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 2;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.15);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .rev-popup-close:hover { background: rgba(0,0,0,0.75); }

    /* AUDIT POPUP */
    .audit-popup {
      position: fixed;
      inset: 0;
      z-index: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
    }
    .audit-popup.open {
      opacity: 1;
      pointer-events: all;
    }
    .audit-popup-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .audit-popup-box {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 460px;
      background: var(--ink);
      border: 1px solid rgba(227,195,154,0.35);
      border-radius: 24px;
      padding: 40px;
      text-align: center;
      transform: scale(0.94);
      transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    }
    .audit-popup.open .audit-popup-box { transform: scale(1); }
    .audit-popup-close {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 2;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      color: #fafafa;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .audit-popup-close:hover { background: rgba(255,255,255,0.18); }
    .audit-popup-title {
      font-family: var(--serif);
      font-size: clamp(28px, 4vw, 36px);
      font-weight: 400;
      color: #fafafa;
      margin: 0 0 14px;
      letter-spacing: -0.01em;
    }
    .audit-popup-desc {
      font-family: var(--sans);
      font-size: 15px;
      font-weight: 400;
      color: rgba(255,255,255,0.6);
      line-height: 1.6;
      margin: 0 0 28px;
    }
    .audit-popup-btn {
      display: block;
      width: 100%;
      box-sizing: border-box;
      text-align: center;
      overflow-wrap: break-word;
      word-break: break-word;
      background: var(--accent);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      font-weight: 600;
      padding: 16px 28px;
      border-radius: 14px;
      text-decoration: none;
      transition: background 0.3s ease, transform 0.3s cubic-bezier(0.25,1,0.5,1), box-shadow 0.3s ease;
    }
    .audit-popup-btn:hover {
      background: #fff;
      box-shadow: 0 8px 28px rgba(227,195,154,0.45);
      transform: scale(1.03);
    }

    .rev-text {
      font-size: 13.5px;
      line-height: 1.65;
      color: var(--muted);
      font-weight: 400;
      margin: 14px 0 0 0;
      padding: 0;
    }
    .rev-badge {
      position: absolute;
      bottom: 14px;
      left: 14px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 12px;
      padding: 8px 12px;
      z-index: 6;
      pointer-events: none;
    }
    .rev-badge-name {
      display: block;
      font-family: var(--serif);
      font-size: 17px;
      font-weight: 500;
      color: var(--ink);
      line-height: 1.2;
    }
    .rev-badge-project {
      display: block;
      font-family: var(--sans);
      font-size: 11px;
      color: var(--muted);
      margin-top: 3px;
      line-height: 1.3;
    }

    /* ── FAQ Cloud ── */
    @keyframes faqPillIn {
      from { opacity: 0; filter: blur(12px); transform: translateY(24px); }
      to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
    }
    .faq-cloud {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .faq-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }
    .faq-pill {
      opacity: 0;
      filter: blur(12px);
      transform: translateY(24px);
      animation: faqPillIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      animation-play-state: paused;
      position: relative;
      display: inline-flex;
      align-items: center;
      font-family: var(--sans);
      font-size: 15px;
      font-weight: 500;
      color: var(--ink);
      background: #EDE7E0;
      border: 1px solid transparent;
      border-radius: 100px;
      padding: 14px 24px;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.35s cubic-bezier(0.25,1,0.5,1), color 0.35s cubic-bezier(0.25,1,0.5,1), box-shadow 0.35s cubic-bezier(0.25,1,0.5,1);
    }
    .faq-pill.on { animation-play-state: running; }
    .faq-pill-dot { color: var(--accent-dark); margin-right: 2px; }
    .faq-pill:hover,
    .faq-pill:focus-visible,
    .faq-pill.open {
      background: var(--accent);
      box-shadow: 0 12px 32px rgba(227,195,154,0.5);
      outline: none;
      z-index: 5;
    }
    .faq-pill--cta {
      background: var(--accent-dark);
      color: #fafafa;
      font-weight: 700;
      cursor: pointer;
    }
    .faq-pill--cta:hover {
      background: #413832;
      box-shadow: 0 12px 32px rgba(65,56,50,0.35);
      color: #fafafa;
    }
    .faq-pill-tip {
      --tip-shift: 0px;
      position: absolute;
      top: calc(100% + 16px);
      left: 50%;
      transform: translateX(calc(-50% + var(--tip-shift))) translateY(8px);
      width: max-content;
      min-width: 260px;
      max-width: 340px;
      background: var(--ink);
      border-radius: 16px;
      padding: 20px 22px;
      box-shadow: 0 24px 60px rgba(65,56,50,0.35);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.28s cubic-bezier(0.16,1,0.3,1), transform 0.28s cubic-bezier(0.16,1,0.3,1), visibility 0.28s;
      z-index: 20;
      white-space: normal;
      text-align: left;
      cursor: default;
    }
    .faq-pill-tip::before {
      content: '';
      position: absolute;
      top: -6px;
      left: calc(50% - var(--tip-shift));
      width: 12px;
      height: 12px;
      background: var(--ink);
      border-radius: 3px;
      transform: translateX(-50%) rotate(45deg);
    }
    .faq-pill-tip p {
      margin: 0;
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 400;
      line-height: 1.65;
      color: rgba(255,255,255,0.82);
    }
    .faq-pill:hover .faq-pill-tip,
    .faq-pill:focus-visible .faq-pill-tip,
    .faq-pill.open .faq-pill-tip {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(calc(-50% + var(--tip-shift))) translateY(0);
    }

    /* ── ABOUT ── */
    .about-grid {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 100px; align-items: start;
    }
    .stats { display: flex; flex-direction: column; }
    .stat {
      padding: 28px 0;
      border-bottom: 1px solid var(--border);
    }
    .stat:first-child { border-top: 1px solid var(--border); }
    .stat-n {
      font-family: var(--serif);
      font-size: 52px; font-weight: 300;
      line-height: 1; letter-spacing: -0.03em;
    }
    .stat-l { font-size: 14px; color: var(--muted); margin-top: 6px; }
    .about-copy {
      font-family: var(--serif);
      font-size: clamp(22px, 2.6vw, 32px);
      font-weight: 300; line-height: 1.65;
    }
    .about-copy p { margin-bottom: 1.3em; }
    .about-copy p:last-child { margin-bottom: 0; }

    /* ── SERVICES ── */
    .svc-item {
      border-bottom: 1px solid var(--border);
      cursor: pointer; overflow: hidden;
      transition: background 0.4s, border-color 0.4s;
    }
    .svc-item.open { background: #5C4F47; border-color: #4a3e38; border-radius: 30px; }
    .svc-top {
      display: flex; justify-content: space-between; align-items: center;
      padding: 26px 0;
      transition: padding-left 0.3s cubic-bezier(0.16,1,0.3,1), padding-right 0.3s;
    }
    .svc-item:not(.open):hover .svc-top { padding-left: 14px; }
    .svc-item.open .svc-top { padding: 26px 50px 20px 50px; }
    .svc-name {
      font-family: var(--serif);
      font-size: clamp(28px, 3.2vw, 40px);
      font-weight: 300;
      transition: color 0.3s;
    }
    .svc-item.open .svc-name { color: #fafafa; }
    .svc-right { display: flex; align-items: center; gap: 20px; }
    .svc-short {
      font-size: 15px; color: var(--muted);
      text-align: right; line-height: 1.55;
      transition: opacity 0.2s;
    }
    .svc-item.open .svc-short { opacity: 0; }
    .svc-plus {
      width: 36px; height: 36px; flex-shrink: 0;
      border: 1px solid var(--border); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 300; color: var(--muted);
      transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, color 0.3s;
      user-select: none;
    }
    .svc-item.open .svc-plus { transform: rotate(45deg); border-color: #7a6a60; color: #E3C39A; }
    .svc-body {
      display: grid; grid-template-rows: 0fr;
      transition: grid-template-rows 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .svc-item.open .svc-body { grid-template-rows: 1fr; }
    .svc-body-inner {
      overflow: hidden;
      font-size: 15px; color: #C4B5AC; line-height: 1.75;
      padding-bottom: 0;
      transition: padding-bottom 0.3s;
    }
    .svc-item.open .svc-body-inner { padding-bottom: 32px; padding-left: 50px; padding-right: 50px; }
    .svc-body-inner p { max-width: 680px; }

    /* ── CONTACT ── */
    .contact-block { text-align: center; padding: 80px 0 120px; }
    /* ── CONTACT TG ── */
    .tg-section-head {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      padding: 125px 60px 40px;
      text-align: center;
    }
    .tg-slides-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin: 0 48px;
    }
    .tg-slide {
      display: flex;
      flex-direction: column;
    }
    .tg-slide-img {
      background: var(--border);
      width: 100%;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      transition: background 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
    }
    .tg-slide-img > img {
      width: 100%;
      height: auto;
      display: block;
      transition: filter 0.45s ease, transform 0.45s ease;
      transform-origin: center;
    }
    .tg-slide-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      background: var(--accent-dark);
      opacity: 0;
      transition: opacity 0.45s ease;
      pointer-events: none;
    }
    .tg-slide-overlay img {
      width: 80px;
    }
    @keyframes elephant-float {
      0%, 100% { transform: rotate(-4deg); }
      50%       { transform: rotate(4deg); }
    }
    .tg-slide:hover .tg-slide-overlay img {
      animation: elephant-float 3s ease-in-out infinite;
    }
    .tg-slide-btn {
      font-family: var(--sans);
      font-size: 16px;
      font-weight: 600;
      color: var(--accent-dark);
      background: var(--accent);
      padding: 10px 20px;
      border-radius: 40px;
      text-decoration: none;
      letter-spacing: 0.02em;
      pointer-events: auto;
      transition: background 0.3s ease, box-shadow 0.3s ease, scale 0.3s cubic-bezier(0.25,1,0.5,1);
    }
    .tg-slide-btn:hover {
      background: #fafafa;
      box-shadow: 0 4px 24px 0 rgba(227,195,154,0.6);
      scale: 1.2;
    }
    .tg-slide:hover .tg-slide-img {
      transform: scale(1.04);
      box-shadow: 0 8px 40px 0 rgba(227, 195, 154, 0.55);
    }
    .tg-slide:hover .tg-slide-img > img {
      filter: blur(10px);
      transform: scale(1.08);
    }
    .tg-slide:hover .tg-slide-overlay {
      opacity: 1;
    }
    .tg-slide-desc {
      padding: 14px 4px 20px;
      font-family: var(--sans);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
      margin: 0;
      text-align: left;
    }
    .tg-section-foot {
      padding: 36px 60px 125px;
      display: flex;
      justify-content: center;
    }
    .contact-tg-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .tg-card-block {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }
    .tg-card-header {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }
    .tg-card-title {
      font-family: var(--serif);
      font-size: clamp(30px, 3.2vw, 46px);
      font-weight: 300;
      color: var(--ink);
      line-height: 0.95;
      letter-spacing: -0.02em;
    }
    .tg-card-badge {
      background: rgba(65,56,50,0.07);
      color: var(--muted);
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 500;
      padding: 5px 14px;
      border-radius: 20px;
      border: 1px solid var(--border);
    }
    .tg-posts-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .tg-post-card {
      background: rgba(255,255,255,0.07);
      border-radius: 16px;
      padding: 18px;
      border: 1px solid rgba(255,255,255,0.08);
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: background 0.3s ease;
    }
    .tg-post-card:hover { background: rgba(255,255,255,0.12); }
    .tg-post-tag {
      font-family: var(--sans);
      font-size: 10px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .tg-post-text {
      font-family: var(--sans);
      font-size: 13px;
      color: rgba(255,255,255,0.82);
      line-height: 1.55;
      flex: 1;
    }
    .tg-post-meta {
      font-family: var(--sans);
      font-size: 11px;
      color: rgba(255,255,255,0.3);
    }
    .tg-card-tagline {
      font-family: var(--sans);
      font-size: 15px;
      color: rgba(255,255,255,0.45);
      font-weight: 300;
      margin: 0;
      line-height: 1.5;
    }
    .tg-read-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      font-weight: 600;
      padding: 14px 28px;
      border-radius: 50px;
      text-decoration: none;
      align-self: flex-start;
      transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.25,1,0.5,1);
    }
    .tg-read-btn:hover { background: var(--bg); color: var(--accent-dark); box-shadow: 0 6px 32px 0 rgba(227,195,154,0.5); transform: scale(1.06); }

    /* Промо: бесплатный первый шаг */
    .promo-step {
      display: flex;
      align-items: center;
      gap: 40px;
      margin: 125px 48px 0;
      background: var(--ink);
      border: 1px solid rgba(227,195,154,0.35);
      border-radius: 20px;
      padding: 32px;
    }
    .promo-step-main {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
    .promo-step-badge {
      flex-shrink: 0;
      background: var(--accent);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 9px 20px;
      border-radius: 50px;
    }
    .promo-step-text { min-width: 0; }
    .promo-step-title {
      font-family: var(--sans);
      font-size: 19px;
      font-weight: 700;
      color: #fafafa;
      margin: 0 0 6px;
    }
    .promo-step-desc {
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 400;
      color: rgba(255,255,255,0.55);
      line-height: 1.55;
      margin: 0;
    }
    .promo-step-btn {
      flex-shrink: 0;
      background: var(--accent);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0.01em;
      padding: 16px 28px;
      border-radius: 14px;
      text-decoration: none;
      transition: background 0.3s ease, transform 0.3s cubic-bezier(0.25,1,0.5,1), box-shadow 0.3s ease;
    }
    .promo-step-btn:hover {
      background: #fff;
      box-shadow: 0 8px 28px rgba(227,195,154,0.45);
      transform: scale(1.04);
    }
    .promo-step-media {
      flex-shrink: 0;
      width: 320px;
      aspect-ratio: 16 / 10;
      border-radius: 14px;
      overflow: hidden;
      background: rgba(255,255,255,0.05);
      border: 1px dashed rgba(255,255,255,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .promo-step-media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .promo-step-media-hint {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.3);
      line-height: 1.5;
    }
    .tg-preview-wrap {
      display: flex;
      justify-content: flex-start;
    }
    .tg-phone {
      width: 100%;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 24px 80px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
      overflow: hidden;
      transition: box-shadow 0.5s ease;
      will-change: transform;
    }
    .tg-phone:hover {
      box-shadow: 0 40px 100px rgba(42,171,238,0.15), 0 8px 32px rgba(0,0,0,0.10);
    }
    .tg-phone-bar {
      background: #F4F4F4;
      padding: 10px 14px;
      display: flex; gap: 5px; align-items: center;
    }
    .tg-phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }
    .tg-channel-header {
      display: flex; align-items: center; gap: 12px;
      padding: 16px 16px 12px;
      border-bottom: 1px solid #f0f0f0;
    }
    .tg-channel-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: #E8F4FD;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .tg-channel-name { font-size: 14px; font-weight: 600; color: #222; }
    .tg-channel-sub  { font-size: 11px; color: #999; }
    .tg-scroll-wrap {
      height: 340px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
    }
    .tg-scroll-wrap::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 80px;
      background: linear-gradient(to top, #fff 0%, transparent 100%);
      pointer-events: none;
      z-index: 2;
    }
    .tg-scroll-inner {
      transform: translateY(0);
      transition: transform 20s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
    .tg-scroll-wrap:hover .tg-scroll-inner {
      transform: translateY(-82%);
    }
    .tg-channel-scroll-img {
      width: 100%;
      display: block;
    }
    .tg-spost {
      background: #F8F8F8;
      border-radius: 12px;
      overflow: hidden;
    }
    .tg-spost-img { width: 100%; height: 120px; }
    .tg-spost-body { padding: 10px 12px 12px; }
    .tg-spost-text { font-size: 13px; color: #333; line-height: 1.5; margin-bottom: 6px; }
    .tg-spost-meta { font-size: 11px; color: #aaa; }
    .tg-subscribe-btn {
      display: block;
      margin: 0 16px 16px;
      background: #2AABEE;
      color: #fff;
      font-size: 13px; font-weight: 600;
      text-align: center;
      padding: 10px;
      border-radius: 10px;
      text-decoration: none;
      transition: background 0.2s;
    }
    .tg-subscribe-btn:hover { background: #1e9ad6; }
    .contact-tg-text { display: flex; flex-direction: column; }
    .contact-tg-desc {
      font-size: 17px; font-weight: 300;
      color: var(--ink); line-height: 1.7;
    }
    .contact-h {
      font-family: var(--serif);
      font-size: clamp(56px, 9vw, 112px);
      font-weight: 300; line-height: 0.92;
      letter-spacing: -0.025em; margin-bottom: 56px;
    }
    .contact-h em { font-style: italic; color: var(--accent); }
    .contact-links { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
    .contact-link {
      font-size: 12px; font-weight: 500;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--muted); text-decoration: none;
      border-bottom: 1px solid transparent; padding-bottom: 3px;
      transition: color 0.2s, border-color 0.2s;
    }
    .contact-link:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

    /* ── FORM POPUP ── */
    .form-popup {
      position: fixed; inset: 0; z-index: 300;
      background: rgba(65,56,50,0.55);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      padding: 24px;
      opacity: 0; visibility: hidden;
      transition: opacity 0.35s, visibility 0.35s, backdrop-filter 0.35s;
    }
    .form-popup.open { opacity: 1; visibility: visible; }
    .form-box {
      background: var(--bg);
      border-radius: 28px;
      padding: 48px;
      width: 100%; max-width: 560px;
      position: relative;
      transform: scale(0.94) translateY(20px);
      transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .form-popup.open .form-box { transform: none; }
    .form-box-close {
      position: absolute; top: 20px; right: 20px;
      width: 36px; height: 36px;
      background: #EDE5DC; border: none; border-radius: 50%;
      font-size: 18px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #9E8E85; transition: background 0.2s;
    }
    .form-box-close:hover { background: #E3D9CE; }
    .form-title {
      font-family: var(--serif);
      font-size: 32px; font-weight: 300;
      letter-spacing: -0.01em;
      margin-bottom: 8px;
    }
    .form-sub {
      font-size: 16px; color: var(--muted);
      margin-bottom: 36px; line-height: 1.6;
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
    }
    .form-field { display: flex; flex-direction: column; gap: 8px; }
    .form-label {
      font-size: 13px; font-weight: 500;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--muted);
    }
    .form-input {
      height: 52px; padding: 0 16px;
      border: 1.5px solid var(--border);
      border-radius: 12px;
      background: white;
      font-family: var(--sans); font-size: 16px; font-weight: 300;
      color: var(--ink);
      outline: none;
      transition: border-color 0.2s;
    }
    .form-input:focus { border-color: var(--ink); }
    .form-input::placeholder { color: #C0BDB8; }
    .contact-options {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
    .contact-opt {
      height: 52px;
      border: 1.5px solid var(--border);
      border-radius: 12px;
      background: white;
      font-family: var(--sans); font-size: 14px; font-weight: 400;
      color: var(--muted);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s, color 0.2s;
    }
    .contact-opt.sel {
      border-color: var(--ink);
      background: var(--ink);
      color: white;
    }
    .form-submit {
      width: 100%; height: 56px;
      margin-top: 24px;
      background: var(--accent-dark); color: #fafafa;
      border: none; border-radius: 100px;
      font-family: var(--sans); font-size: 13px; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      cursor: pointer;
      transition: opacity 0.2s;
    }
    .form-submit:hover { opacity: 0.85; }
    .about-cta {
      display: inline-flex; align-items: center; gap: 8px;
      margin-top: 32px;
      font-size: 14px; font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--accent-dark); text-decoration: none;
      border: 1.5px solid var(--accent-dark); border-radius: 100px;
      padding: 14px 28px; cursor: pointer; background: transparent;
      font-family: var(--sans);
      transition: background 0.25s, color 0.25s;
    }
    .about-cta:hover { background: var(--accent-dark); color: #fafafa; }

    /* ── STEPS ── */
    @keyframes sf1 { 0%,100% { transform: translateY(0);     } 50% { transform: translateY(-10px); } }
    @keyframes sf2 { 0%,100% { transform: translateY(0);     } 50% { transform: translateY(-8px);  } }
    @keyframes sf3 { 0%,100% { transform: translateY(0);     } 50% { transform: translateY(-12px); } }
    @keyframes sf4 { 0%,100% { transform: translateY(0);     } 50% { transform: translateY(-9px);  } }
    @keyframes sf5 { 0%,100% { transform: translateY(0);     } 50% { transform: translateY(-11px); } }
    @keyframes sf6 { 0%,100% { transform: translateY(0);     } 50% { transform: translateY(-8px);  } }
    .steps-section {
      position: relative;
      padding: 0 48px 125px;
      overflow: hidden;
      background: var(--bg);
    }
    .steps-header {
      text-align: left;
      margin-bottom: 40px;
    }
    .steps-bg-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--sans);
      font-size: clamp(120px, 18vw, 280px);
      font-weight: 800;
      color: var(--border);
      white-space: nowrap;
      pointer-events: none;
      user-select: none;
      z-index: 0;
      letter-spacing: -0.04em;
    }
    .steps-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .step-wrap {
      will-change: transform;
    }
    .step-photo-card {
      position: relative;
      background: rgba(255, 255, 255, 0.28);
      backdrop-filter: blur(28px) saturate(200%);
      -webkit-backdrop-filter: blur(28px) saturate(200%);
      border: 1px solid rgba(255, 255, 255, 0.55);
      box-shadow: 0 2px 12px rgba(65, 56, 50, 0.06), inset 0 1px 0 rgba(255,255,255,0.7);
      border-radius: 20px;
      overflow: hidden;
      transition: box-shadow 0.35s ease;
    }
    .step-wrap:hover .step-photo-card {
      box-shadow: 0 20px 56px rgba(65, 56, 50, 0.13), inset 0 1px 0 rgba(255,255,255,0.7);
    }
    .step-content {
      padding: 14px 4px 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .step-photo {
      width: 100%;
      aspect-ratio: 1/1;
      background: var(--border);
      flex-shrink: 0;
    }
    .step-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .step-num {
      position: absolute;
      bottom: 10px;
      left: 10px;
      font-family: var(--sans);
      font-size: 11px;
      font-weight: 700;
      color: var(--accent-dark);
      letter-spacing: 0.08em;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      border-radius: 50px;
      padding: 5px 11px;
      line-height: 1;
    }
    .step-name {
      font-family: var(--sans);
      font-size: 17px;
      font-weight: 700;
      line-height: 1.35;
      color: var(--ink);
      margin: 0;
    }
    .step-desc {
      font-family: var(--sans);
      font-size: 13.5px;
      line-height: 1.7;
      color: var(--muted);
      margin: 0;
    }
    .step-divider {
      height: 1px;
      background: var(--border);
      margin: 2px 0;
    }
    .step-bullets {
      list-style: none;
      margin: 4px 0 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .step-bullets li {
      font-family: var(--sans);
      font-size: 13px;
      line-height: 1.65;
      color: var(--muted);
      padding-left: 18px;
      position: relative;
    }
    .step-bullets li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 7px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
    }

    /* ── FOOTER ── */
    footer {
      width: 100%;
      background: var(--ink);
      border-top: none;
      display: flex; justify-content: space-between; align-items: stretch;
      font-size: 14px; color: rgba(250,250,250,0.45);
      padding: 120px 0 52px;
      position: sticky;
      bottom: 0;
      z-index: 0;
    }
    .footer-left {
      width: 50vw;
      padding-left: 48px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0;
    }
    #footer-countdown {
      font-family: var(--sans);
      font-size: clamp(160px, 19vw, 380px);
      font-weight: 500;
      color: var(--accent);
      letter-spacing: -0.03em;
      line-height: 0.9;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }
    .footer-cta {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .footer-cta-text {
      font-family: var(--sans);
      font-size: 18px;
      color: var(--accent);
      line-height: 1.4;
      margin: 0;
      max-width: 620px;
    }
    .footer-timer-group {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      width: fit-content;
    }
    .footer-tag {
      position: absolute;
      border-radius: 50px;
      padding: 9px 20px;
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      white-space: nowrap;
      z-index: 10;
      transition: scale 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    }
    .footer-tag--blue:hover {
      scale: 1.2;
      background: #3399ff;
      box-shadow: 0 0 24px 6px rgba(0, 119, 255, 0.55);
    }
    .footer-tag--tr:hover,
    .footer-tag--bl:hover {
      scale: 1.2;
      background: var(--accent);
      color: var(--ink);
      box-shadow: 0 0 24px 6px rgba(227, 195, 154, 0.5);
    }
    .footer-tag--blue {
      background: #0077FF;
      color: #fff;
      top: 18%;
      left: 22%;
    }
    .footer-tag--tr {
      background: #fafafa;
      color: var(--ink);
      top: 8%;
      right: 0;
    }
    .footer-tag--bl {
      background: #fafafa;
      color: var(--ink);
      top: 38%;
      left: 0;
    }
    .footer-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-top: 30px;
      width: 100%;
    }
    .footer-avatars {
      display: flex;
      flex-shrink: 0;
    }
    .footer-avatar-logo {
      width: 64px; height: 64px;
      border-radius: 50%;
      background: var(--accent);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
      border: 2px solid var(--ink);
      margin-right: -12px;
      position: relative; z-index: 2;
    }
    .footer-avatar-logo img {
      width: 64px; height: 64px;
      object-fit: contain;
      animation: pre-spin 10s linear infinite;
    }
    .footer-avatar-photo {
      width: 64px; height: 64px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--ink);
      position: relative; z-index: 1;
    }
    .footer-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-end;
      gap: 20px;
      padding: 0 48px;
    }
    .footer-right-title {
      font-family: var(--sans);
      font-size: 14px;
      color: #fff;
      margin: 0;
    }
    .footer-motto {
      font-family: var(--serif);
      font-size: 18px;
      font-style: italic;
      color: rgba(250,250,250,0.25);
      margin: 0;
    }
    .footer-nav {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      align-self: flex-end;
      gap: 12px;
    }
    .footer-nav-btn {
      border: 1.5px solid rgba(250,250,250,0.3);
      border-radius: 50px;
      padding: 11px 28px;
      font-family: var(--sans);
      font-size: 16px;
      font-weight: 600;
      color: rgba(250,250,250,0.6);
      text-decoration: none;
      white-space: nowrap;
      transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    }
    .footer-nav-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 0 18px 2px rgba(227, 195, 154, 0.2);
    }

    /* Бургер и мобильное меню — скрыты на десктопе */
    .nav-burger {
      display: none;
      flex-direction: row; justify-content: center; align-items: center;
      gap: 6px;
      height: 38px;
      padding: 0 6px 0 16px;
      background: var(--accent-dark);
      border: none; border-radius: 100px; cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
    }
    .nav-burger:active { transform: scale(0.95); }
    .nav-burger-text {
      font-family: var(--sans);
      font-size: 13px; font-weight: 600;
      color: #fafafa;
      white-space: nowrap;
    }
    .nav-burger .nav-badge { margin-left: 0; }

    .nav-mobile-menu {
      position: absolute;
      top: 92px;
      left: 0; right: 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), visibility 0.22s;
      pointer-events: none;
    }
    .nav-mobile-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: all;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav, footer { padding: 0 20px; }
      .w, .div-wrap { padding: 0 20px; }
      .stats-section { grid-template-columns: 1fr; padding: 0 20px; margin-bottom: 48px; }
      .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
      .stat-card { padding: 20px 16px; }
      .stat-num { font-size: 36px; }

      .nav-inner { padding: 0 16px; height: 68px; }
      .nav-owner { display: flex; }
      .nav-links { display: none; }
      .nav-social { display: none; }
      .nav-cta-wrap { display: none; }
      .nav-burger { display: flex; }
      .nav-mobile-menu {
        top: 80px;
        left: auto;
        right: 20px;
        width: max-content;
        min-width: 240px;
        max-width: calc(100vw - 40px);
        background: rgba(215,213,210,0.97);
        backdrop-filter: blur(48px) saturate(180%);
        -webkit-backdrop-filter: blur(48px) saturate(180%);
        border: 1px solid rgba(255,255,255,0.6);
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.10);
        padding: 6px;
      }
      .nml-list { list-style: none; padding: 0; margin: 0; }
      .nml-link {
        display: flex; align-items: center;
        padding: 13px 16px;
        font-family: var(--sans); font-size: 15px; font-weight: 500;
        color: var(--ink); text-decoration: none;
        white-space: nowrap;
        border-radius: 12px;
        transition: background 0.15s;
      }
      .nml-link:active { background: rgba(255,255,255,0.6); }
      .nml-list li + li .nml-link { border-top: 1px solid rgba(0,0,0,0.06); border-radius: 0 0 12px 12px; }
      .nml-list li:not(:last-child) .nml-link { border-radius: 12px 12px 0 0; }
      .nml-list li:only-child .nml-link { border-radius: 12px; }
      .nml-link--audit {
        background: var(--accent-dark);
        color: #fafafa;
      }
      .nml-link--audit:active { background: var(--accent-dark); opacity: 0.85; }
      .nml-social {
        display: flex;
        justify-content: center;
        gap: 12px;
        padding: 14px 8px 8px;
      }
      .nml-social-link {
        width: 40px; height: 40px;
        border-radius: 50%;
        overflow: hidden;
        display: block;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
      }
      .nml-social-link img { width: 100%; height: 100%; display: block; }

      .work-grid { grid-template-columns: 1fr 1fr; }
      .work-card:first-child { grid-column: 1 / 3; }
      .about-grid { grid-template-columns: 1fr; gap: 48px; }
      .svc-item { flex-direction: column; align-items: flex-start; gap: 6px; }
      .svc-desc { text-align: left; max-width: 100%; }
      footer { height: auto; padding-top: 20px; padding-bottom: 20px; flex-direction: column; gap: 6px; }
    }
    @media (max-width: 520px) {
      .work-grid { grid-template-columns: 1fr; }
      .work-card:first-child { grid-column: 1; }
      .contact-links { gap: 24px; }
    }
    @keyframes pre-spin {
      to { transform: rotate(360deg); }
    }
    #preloader {
      position: fixed; inset: 0; z-index: 999;
      background: #5C4F47;
      display: flex;
      align-items: center; justify-content: center;
      transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
    }
    #preloader.done { transform: translateY(-100%); pointer-events: none; }
    #pre-logo {
      width: 120px; height: 120px;
      animation: pre-spin 2.5s linear infinite;
    }

#social-widget {
    position: fixed; bottom: 28px; right: 28px; z-index: 200;
    display: flex; align-items: center; gap: 10px;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  #social-widget.visible { opacity: 1; transform: translateY(0); }
  #sw-pill {
    background: #2A2420;
    border-radius: 100px;
    padding: 6px 22px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  }
  .sw-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #5C4F47;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  }
  .sw-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  @keyframes sw-ring {
    0%   { transform: scale(1);   opacity: 0.75; }
    100% { transform: scale(1.7); opacity: 0; }
  }
  #sw-btn {
    width: 48px; height: 48px; border-radius: 50%;
    background: #F0DDB8;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(227,196,154,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
    position: relative;
  }
  #sw-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #F0DDB8;
    animation: sw-ring 1.8s ease-out infinite;
    z-index: -1;
  }
  #sw-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(227,196,154,0.7); }
  #sw-btn:hover::before { animation-play-state: paused; opacity: 0; }
  #sw-badge {
    position: absolute;
    top: -4px; right: -4px;
    width: 22px; height: 22px; border-radius: 50%;
    background: #E53935;
    color: #fff;
    font-family: var(--sans); font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fafafa;
    pointer-events: none;
  }
  #sw-menu {
    position: absolute; bottom: 58px; right: 0;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateY(8px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  #sw-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
  .sw-link {
    width: 44px; height: 44px; border-radius: 50%;
    display: block;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }
  .sw-link img { width: 100%; height: 100%; display: block; }
  .sw-link:hover { transform: scale(1.1); }

/* ─── МОБИЛЬНАЯ ВЕРСИЯ ─────────────────────────────────────── */
@media (max-width: 768px) {

  /* Proof: показываем скрин целиком */
  .proof-slides { min-height: auto; }
  .proof-slide { position: relative; inset: auto; display: none; }
  .proof-slide.active { display: flex; }
  .proof-img-wrap { height: auto; }
  .proof-img-wrap img { height: auto !important; object-fit: contain !important; object-position: top !important; }

  /* Work: одна карточка на всю ширину */
  .work-grid { grid-template-columns: 1fr; }
  .work-card:first-child { grid-column: auto; }

  /* Stats: одна карточка на всю ширину */
  .stats-section { margin-left: 0; margin-right: 0; margin-bottom: 85px; padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr; }

  /* Hero: кнопка расчёта показана, под ней сразу фото */
  .cta-wrap { max-width: 100%; }
  .cta { white-space: nowrap; text-align: center; font-size: 14px; padding: 14px 20px; }
  .cta-arrow { display: none; }

  /* Hero: убираем ручной перенос в подзаголовке */
  .hero-desc br { display: none; }

  /* Hero: blur-появление после прелоадера (~1600ms) */
  .hero-photo-col.anim { animation-name: mobBlurIn; animation-delay: 1.6s; }
  .hero-desc.anim      { animation-name: mobBlurIn; animation-delay: 1.85s; }
  .hero-avatars.anim   { animation-name: mobBlurIn; animation-delay: 1.85s; }

  /* Hero: колонка — сначала текст, потом фото */
  .hero { padding-top: 120px; padding-bottom: 65px; min-height: auto; }
  .hero-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-left { width: 100%; max-width: 100%; align-items: center; text-align: center; }
  .hero-avatars-wrap { width: 100%; margin-bottom: 18px; }
  .hero-avatars {
    width: 100%;
    overflow: hidden;
    touch-action: pan-x;
  }
  .hero-avatars-track {
    gap: 14px;
    width: 100%;
    justify-content: center;
    padding: 4px 4px 34px;
    will-change: transform;
  }
  .hero-mini { width: 54px; }
  .hero-mini-img { width: 54px; height: 54px; }
  .hero-mini-label {
    font-size: 10.5px;
    white-space: normal;
    width: 64px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-h1 { text-align: center; font-size: 28px; }
  .hero-h1 br { display: none; }
  .hero-foot { align-items: center; }
  .hero-desc { text-align: center; }
  .hero-photo-col { width: 100%; max-width: 100%; }
  .hero-rect { max-width: 100%; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .hero-tg-wrap { left: 12px; bottom: 12px; gap: 8px; }
  .hero-tg-badge { padding: 6px 16px 6px 6px; gap: 8px; }
  .hero-tg-badge-icon { width: 28px; height: 28px; }
  .hero-tg-badge-icon img { width: 14px; height: 14px; }
  .hero-tg-badge-text { font-size: 12px; }
  .hero-tg-caption { font-size: 12px; }
}

/* ─── МОБИЛЬНАЯ ВЕРСИЯ — РАСШИРЕННАЯ ───────────────────────── */
@media (max-width: 768px) {

  /* ── Общее ── */
  section { padding: 60px 0; }
  .sec-title { font-size: clamp(30px, 3.2vw, 46px); }

  /* Враппер-дивы с inline margin: 0 48px — обнулить */
  .mob-full { margin-left: 0 !important; margin-right: 0 !important; }
  /* Stats title: нужен отступ 20px чтобы совпасть с stats-section */
  .mob-full:has(> h2.sec-title-words) { padding: 0 20px; }

  /* ── NAV ── */

  /* ── WORK SECTION ── */
  /* section-wrap: 16px от краёв вьюпорта → скруглённые углы видны */
  .work-section-wrap {
    margin: 0 0 85px !important;
    padding: 28px 0 40px;
  }
  .work-section-wrap::before { border-radius: 0; }
  /* Заголовок + вкладки: 20px внутреннего отступа от края секции */
  .work-section-wrap > section > .anim { padding: 0 20px; }
  /* Трек скролла: clip для transform-карусели */
  .work-grid-scroll { padding: 0; margin: 0; overflow: hidden; }
  .work-carousel-wrap { overflow: hidden; }
  /* Карточки выровнены с заголовком через padding на flex-строке */
  .work-grid { padding: 0 20px; }
  /* Карточки: горизонтальный свайп, высота + текст как на ПК */
  .work-card-outer { flex: 0 0 min(78vw, 300px); height: 400px; }
  .work-fill { height: 205px; border-radius: 14px; }
  /* Уменьшаем шрифт названия, обрезаем описание до 2 строк */
  .work-info-name { font-size: 19px; }
  .work-info-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Вкладки: горизонтальный скролл без переноса */
  .work-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    flex: 1 1 auto;
    min-width: 0;
  }
  .work-tabs::-webkit-scrollbar { display: none; }
  /* Строка вкладок + кнопки: стрелки ниже, прижаты к левому краю */
  .work-tabs-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px;
  }

  /* ── STEPS ── */
  .steps-section { padding: 0 20px 85px; }
  .steps-header { margin-bottom: 16px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step-name { font-size: 15px; }
  .step-desc { font-size: 13px; }

  /* ── TEAM ── */
  section#team { padding: 40px 0 !important; }
  /* Стек: сначала инфо-панель, потом мозаика */
  .team-stage { flex-direction: column-reverse; gap: 32px; }
  .team-mosaic { max-width: 100%; height: 300px; overflow: hidden; }
  /* Уменьшить радиус орбиты и размер карточек */
  @keyframes tc-orbit-mob {
    from { transform: rotate(0deg)   translateX(105px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(105px) rotate(-360deg); }
  }
  .tc-orbit { animation: tc-orbit-mob 30s linear infinite !important; }
  .tc-orbit[data-person="0"] { animation-delay: -22.5s !important; }
  .tc-orbit[data-person="1"] { animation-delay: -2.5s !important; }
  .tc-orbit[data-person="2"] { animation-delay: -12.5s !important; }
  .tc { width: 115px; height: 155px; left: -57px; top: -77px; border-radius: 14px; }
  .team-info-panel { border-radius: 20px; padding: 24px 20px 20px; }
  .tip-window { min-height: 80px; }

  /* ── REVIEWS ── */
  section#reviews { padding: 0 !important; }
  /* Заголовок: колонка вместо row */
  .rev-head {
    padding: 0 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }
  /* Плашка "Отзывы от клиентов" — span, inline margin-bottom не работал → налезала на заголовок */
  .rev-head .tg-card-badge { display: inline-block; margin-bottom: 12px !important; }
  /* Нативный overflow-x у Safari/iOS вёл себя нестабильно (кнопки замирали, свайп не работал) —
     на мобильном карусель теперь на translateX (js/carousel.js), контейнер просто клипует. */
  .rev-carousel { overflow: hidden !important; padding-top: 0 !important; margin-top: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .rev-grid { padding-left: 20px; padding-right: 20px; }
  .rev-card { width: 78vw; max-width: 280px; }
  .rev-grid::after { min-width: 20px; }
  /* Отменяем desktop-сдвиг видео вверх (margin-top:-40px под hover-эффект) — на мобильном он съедал отступ .rev-head и кнопки налезали на карточки */
  .rev-video { margin-top: 0; }
  /* На тач-устройствах тап держит :hover активным — карточка увеличивалась (scale/translateY),
     наезжала на стрелки и перекрывала их клик. На десктопе эффект остаётся при наведении. */
  .rev-card:hover { transform: none !important; z-index: 1 !important; }
  .rev-card:hover .rev-play-icon {
    scale: 1 !important;
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.4) !important;
    box-shadow: none !important;
  }

  /* ── FAQ ── */
  section#faq { padding: 0 !important; }
  #faq .sec-head { margin-bottom: 28px !important; padding-bottom: 0 !important; }
  .faq-cloud { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .faq-row { display: contents; }
  .faq-pill { font-size: 14px; padding: 12px 18px; }
  .faq-pill-tip { min-width: 220px; max-width: 78vw; }
  /* Горизонтальные отступы (mob-full убрал margin, добавляем padding) */
  section#faq { padding-left: 20px !important; padding-right: 20px !important; }

  /* ── CONTACT / TG ── */
  .tg-section-head { padding: 85px 20px 24px; }
  .tg-slides-row { grid-template-columns: 1fr 1fr; margin: 0 20px; gap: 12px; }
  .tg-slide-btn { font-size: 14px; }
  .tg-read-btn { font-size: 14px; }
  .tg-section-foot { padding: 24px 20px 85px; }
  .contact-tg-grid { grid-template-columns: 1fr; gap: 32px; }
  .tg-posts-grid { grid-template-columns: 1fr; }
  .contact-block { padding: 60px 20px 80px; }
  .contact-links { gap: 20px; }

  /* ── ПРОМО: ПЕРВЫЙ ШАГ ── */
  .promo-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 85px 16px 85px;
    padding: 24px 20px;
  }
  .promo-step-main { width: 100%; }
  .promo-step-btn { align-self: stretch; text-align: center; font-size: 14px; }
  .promo-step-media { width: 100%; }

  /* ── FOOTER ── */
  footer { flex-direction: column; padding: 60px 0 40px; }
  .footer-left { width: 100%; padding: 0 20px; }
  #footer-countdown { font-size: clamp(64px, 21vw, 120px); white-space: normal; }
  /* Сдвигаем через top (не transform) — transform каждый кадр перезаписывается
     JS-анимацией плавания кнопок (js/animations.js), !important на transform её глушил. */
  .footer-tag--blue { top: calc(18% - 60px) !important; }
  .footer-tag--bl { top: calc(38% - 30px) !important; }
  .footer-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-cta-text { font-size: 16px; }
  .footer-right {
    flex: none;
    align-items: flex-start;
    padding: 0 20px;
    margin-top: 40px;
    gap: 24px;
  }
  .footer-nav {
    align-items: flex-start;
    align-self: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-nav-btn { padding: 9px 20px; font-size: 14px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; }

  /* ── POPUP ── */
  .popup-scroll { padding: 12px; }
  .popup-body { padding: 20px 20px 24px !important; }
  .popup-box > div:first-child { padding: 20px 16px 0 !important; }
  .popup-title { font-size: clamp(20px, 6vw, 30px); }
  #popup-order, #popup-link {
    font-size: 13px;
    padding: 10px 16px 10px 20px !important;
  }

  /* ── ВИДЖЕТ СОЦСЕТЕЙ ── */
  #social-widget { right: 12px; bottom: 16px; }
  #sw-pill { font-size: 13px; padding: 5px 14px 5px 5px; gap: 8px; }
  .sw-avatar { width: 34px; height: 34px; }
  #sw-btn { width: 42px; height: 42px; }

}

/* ─── ОТКЛЮЧИТЬ HOVER-АНИМАЦИИ НА ТАЧ-УСТРОЙСТВАХ ─── */
@media (hover: none) {
  .work-card-outer:hover { transform: none !important; box-shadow: none !important; }
  .work-card-outer:hover .work-card { background: #1A1614 !important; }
  .work-card-outer:hover .work-chrome { background: transparent !important; }
  .work-card-outer:hover .work-chrome-url { background: rgba(255,255,255,0.08) !important; color: #666 !important; }
  .work-card-outer:hover .work-info-name { color: #fafafa !important; }
  .work-card-outer:hover .work-info-tag { color: rgba(255,255,255,0.4) !important; }
  .work-card-outer:hover .work-info-desc { color: rgba(255,255,255,0.5) !important; }
  .work-card-outer:hover .work-info-arrow { background: rgba(255,255,255,0.12) !important; color: #fafafa !important; }
  .work-card:hover .work-fill-inner { transform: none !important; }
  .work-card-outer:hover .work-scroll-img { transform: translateY(0) !important; }
}
