        /* ===== base.css ===== */
        
        /* — Переменные: скругления и отступы — */
        :root {
          --radius-10: 10px;
          --radius-20: 20px;
          --radius-30: 30px;
        
          --space-10: 10px;
          --space-20: 20px;
          --space-30: 30px;
          --space-40: 40px;
          --space-50: 50px;
          --space-70: 70px;
          --space-100: 100px;
          --space-120: 120px;
        
          --color-bg: #F2F2D4;
          --color-brown: #64320E;
          --color-orange: #FF7A1E;
        }
        
        /* — Сброс — */
        *, *::before, *::after {
          box-sizing: border-box;
        }
        
        body {
          margin: 0;
          font-family: 'Inter', sans-serif;
          background: var(--color-bg);
          color: #1F1614;
        }
        
        h1, .h1 {
          font-weight: 500;
          font-size: 64px;
          line-height: 100%;
          letter-spacing: -3px;
          margin: 0;
        }
        
        h2, .h2 {
          font-weight: 500;
          font-size: 58px;
          line-height: 100%;
          letter-spacing: -0.03em;
          margin: 0;
        }
        
        h3, .h3 {
          font-weight: 500;
          font-size: 40px;
          line-height: 100%;
          letter-spacing: -0.03em;
          margin: 0;
        }
        
        h4, .h4 {
          font-weight: 400;
          font-size: 30px;
          line-height: 120%;
          letter-spacing: -0.03em;
          margin: 0;
        }
        
        p.accent {
          font-size: 24px;
          line-height: 1;
        }
        
        p.caption {
            font-size: 16px;
            line-height: 1;
        }
        
        p {
          font-size: 20px;
          margin: 0;
          line-height: 1.4;
          letter-spacing: -0.03em;
        }
        
        a {
          text-decoration: none;
          color: inherit;
        }
        
        
        /* — Кнопки — */
        .btn {
          display: block;
          width: fit-content;
          padding: var(--space-20) var(--space-30);
          text-align: center;
          font-size: 16px;
          font-weight: 500;
          border-radius: var(--radius-30);
          border: 1px solid;
          background-color: transparent;
          cursor: pointer;
          transition: background-color 0.2s ease, transform 0.15s ease-in;
        }
        
        .btn a {
            color: inherit !important;
        }
        
        .btn:hover {
          transform: translateY(-2px);
        }
        
        /* Кнопки в навигации */
        .btn--nav {
          padding: var(--space-10) var(--space-30);
          color: #1F1614 !important;
          border-color: #1F1614;
        }
        
        .btn--nav:hover {
          background-color: rgba(141, 153, 174, 0.3);
        }
        
        .btn--nav-accent {
          color: var(--color-orange);
          border-color: var(--color-orange);
        }
        
        .btn--nav-accent:hover {
              background-color: rgba(254, 127, 45, 0.3);
        }
        
        .btn--primary {
          background: var(--color-orange);
          color: #fff !important;
        }
        
        .btn--secondary {
          background: #1F1614;
          color: #fff !important;
        }
        
        @keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.2s ease-in forwards;
}

.card--image { animation-delay: 0s; }
.card--text { animation-delay: 0.2s; }
.card--video { animation-delay: 0.4s; }
.card--stat { animation-delay: 0.6s; }
.card--stat2 { animation-delay: 0.8s; }

.card img.foxling {
  width: 190px;
  margin: -2rem 0;
  z-index: -1;
  pointer-events: none;
}

.card--stat2 .scale-text {
  font-size: 7vw;
  min-font-size: 40px;
}

/* POPUP */
#video-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  aspect-ratio: 1.72;
  background: #000;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#video-popup iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#video-popup button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 10000;
}

        
        @media (max-width: 1100px) {
            h1, .h1 {
                font-size: 54px;
            }
            
            h2, .h2 {
                font-size: 40px;
            }
            
            h3, .h3 {
                font-size: 26px;
            }
            
            h4, .h4 {
                font-size: 24px;
            }
            
            p.accent {
                font-size: 20px;
            }
            
            p.caption {
                font-size: 15px;
            }
            
            p, .p {
                font-size: 18px;
                line-height: 1.35;
            }
        }
        
        @media (max-width: 500px) {
            html, body {
  overflow-x: hidden;
  max-width: 100%;
}
        }