/* ────────────────────────────────────────────────────────────────────
   FORMA NOVA — нові стилі (повністю інша система токенів/класів)
   ──────────────────────────────────────────────────────────────────── */
   :root {
    --bg: #0c0f12;
    --panel: #12161b;
    --ink: #e7ebf3;
    --muted: #9aa7b6;
    --brand: #6dd6ff;
    --brand-2: #c0ff6a;
    --stroke: #1f2630;
  
    --radius: 16px;
    --shadow-lg: 0 24px 60px rgba(0,0,0,.35);
  
    --container: 1200px;
  
    --t-1: clamp(36px, 6vw, 64px);
    --t-2: clamp(24px, 3.5vw, 40px);
    --t-3: 20px;
    --t-4: 18px;
    --t-5: 16px;
  
    --ease: cubic-bezier(.2,.7,0,.9);
  }
  
  *,
  *::before,
  *::after { box-sizing: border-box; }
  
  html { scroll-behavior: smooth; }
  
  body.site {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(109,214,255,.08), transparent 60%),
                radial-gradient(900px 500px at 100% 0%, rgba(192,255,106,.06), transparent 60%),
                var(--bg);
    line-height: 1.6;
  }
  
  img { max-width: 100%; display: block; }
  
  .container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
  }
  
  /* ── Навігація ─────────────────────────────────────────────────────── */
  .nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
    background: color-mix(in lab, var(--bg) 75%, transparent);
    border-bottom: 1px solid var(--stroke);
    z-index: 50;
  }
  .nav__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 72px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
  }
  .brand__logo {
    width: 28px; height: 28px; fill: var(--brand); opacity: .9;
  }
  .brand__name { letter-spacing: .5px; font-weight: 600; }
  .brand__name b { font-weight: 800; }
  
  .menu {
    display: flex; gap: 28px; justify-self: end;
  }
  .menu__link {
    color: var(--muted); text-decoration: none; position: relative; font-weight: 600;
  }
  .menu__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .menu__link:hover { color: var(--ink); }
  .menu__link:hover::after { transform: scaleX(1); }
  
  .burger {
    display: none; width: 34px; aspect-ratio: 1/1;
    background: transparent; border: 0; position: relative; cursor: pointer;
    justify-self: end;
  }
  .burger__bar, .burger__bar::before, .burger__bar::after {
    content: ""; position: absolute; left: 6px; right: 6px; height: 2px; background: var(--ink);
    transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s;
  }
  .burger__bar { top: 50%; transform: translateY(-50%); }
  .burger__bar::before { top: -8px; }
  .burger__bar::after  { top:  8px; }
  .burger[aria-expanded="true"] .burger__bar { background: transparent; }
  .burger[aria-expanded="true"] .burger__bar::before { top: 0; transform: rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bar::after  { top: 0; transform: rotate(-45deg); }
  
  /* ── Типографіка ───────────────────────────────────────────────────── */
  .h1 { font-size: var(--t-1); line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
  .h2 { font-size: var(--t-2); line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
  .h4 { font-size: var(--t-3); margin: 0 0 8px; font-weight: 700; }
  .h5 { font-size: var(--t-4); margin: 0 0 4px; font-weight: 700; }
  .h6 { font-size: var(--t-4); margin: 8px 0 2px; font-weight: 700; }
  
  .lead { font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); margin: 0 0 22px; }
  .muted { color: var(--muted); }
  .small { font-size: 14px; }
  
  .grad {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  
  /* ── Кнопки ───────────────────────────────────────────────────────── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 700;
    border: 1px solid var(--stroke); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  }
  .btn--primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #0b1020; border-color: transparent; box-shadow: 0 10px 30px rgba(109,214,255,.25);
  }
  .btn--primary:hover { transform: translateY(-2px); }
  .btn--ghost { background: transparent; color: var(--ink); }
  .btn--ghost:hover { background: #0f1318; }
  
  /* ── Хероу ─────────────────────────────────────────────────────────── */
  .hero { padding: 120px 0 72px; }
  .hero__grid {
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
  }
  .hero__media img {
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    border: 1px solid var(--stroke);
  }
  
  /* ── Базові секції ────────────────────────────────────────────────── */
  .section { padding: 80px 0; }
  .section--tint { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0) 30%); }
  .section__head { margin-bottom: 28px; }
  
  /* ── Іконки-карти ─────────────────────────────────────────────────── */
  .cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0;
  }
  .card {
    background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
    padding: 22px; transition: transform .3s var(--ease), border-color .3s var(--ease);
  }
  .card:hover { transform: translateY(-6px); border-color: color-mix(in lab, var(--brand) 50%, var(--stroke)); }
  .icon { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 6px; }
  .icon--square { background: linear-gradient(135deg, var(--brand), transparent); }
  .icon--circle { background: radial-gradient(circle, var(--brand-2), transparent 70%); border-radius: 50%; }
  .icon--triangle { background: conic-gradient(from 0deg, var(--brand) 0 120deg, transparent 120deg); clip-path: polygon(50% 0, 0 100%, 100% 100%); }
  .icon--diamond { background: linear-gradient(135deg, var(--brand-2), transparent); transform: rotate(45deg); }
  
  /* ── Грід кейсів ──────────────────────────────────────────────────── */
  .grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  }
  .tile {
    background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .tile__media img { aspect-ratio: 16 / 12; width: 100%; object-fit: cover; }
  .tile__body { padding: 16px 18px; }
  
  /* ── Виділений проєкт ─────────────────────────────────────────────── */
  .highlight { background: linear-gradient(180deg, rgba(192,255,106,.06), transparent 60%); }
  .highlight__wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  }
  .badge {
    display: inline-block; padding: 4px 10px; font-weight: 800; font-size: 12px; letter-spacing: .7px;
    color: #0b1020; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 999px;
  }
  .highlight__media img {
    border-radius: var(--radius); border: 1px solid var(--stroke); box-shadow: var(--shadow-lg);
  }
  
  /* ── Маніфест ─────────────────────────────────────────────────────── */
  .manifesto { display: grid; gap: 18px; }
  .manifesto__quote {
    font-size: clamp(20px, 3.2vw, 28px); font-weight: 800; line-height: 1.35;
    padding: 16px 18px; border-left: 4px solid var(--brand); background: #0f1318; border-radius: 6px;
  }
  .manifesto__points {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none;
  }
  .manifesto__points li {
    background: var(--panel); border: 1px solid var(--stroke); border-radius: 10px; padding: 14px;
  }
  
  /* ── Команда ──────────────────────────────────────────────────────── */
  .team {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  }
  .person {
    background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); text-align: center; padding: 18px;
  }
  .person__photo {
    width: 84px; height: 84px; object-fit: cover; border-radius: 50%;
    margin-inline: auto 12px;
  }
  
  /* ── Контакти та форма ───────────────────────────────────────────── */
  .contact__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  }
  .contact__list { padding-left: 0; list-style: none; display: grid; gap: 10px; }
  .contact__list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  
  .form { display: grid; gap: 14px; background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 18px; }
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .field { display: grid; gap: 8px; }
  .field__label { font-size: 14px; color: var(--muted); }
  .field__input {
    width: 100%; background: #0f1318; color: var(--ink);
    border: 1px solid var(--stroke); border-radius: 10px; padding: 12px 14px; font-size: var(--t-5);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  }
  .field__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,214,255,.15); }
  .field__area { min-height: 140px; resize: vertical; }
  .form__submit { margin-top: 4px; }
  .form__note { margin: 0; }
  
  /* ── Підвал ───────────────────────────────────────────────────────── */
  .footer { border-top: 1px solid var(--stroke); padding: 28px 0; }
  .footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .footer__links { display: flex; gap: 22px; }
  .footer__links a { color: var(--muted); text-decoration: none; }
  .footer__links a:hover { color: var(--ink); }
  
  /* ── Адаптивність ─────────────────────────────────────────────────── */
  @media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .highlight__wrap { grid-template-columns: 1fr; }
    .manifesto__points { grid-template-columns: repeat(2, 1fr); }
    .team { grid-template-columns: repeat(2, 1fr); }
    .contact__grid { grid-template-columns: 1fr; }
    .menu { position: fixed; inset: 72px 0 auto 0; background: var(--panel); border-bottom: 1px solid var(--stroke);
            display: grid; gap: 12px; padding: 18px; transform: translateY(-120%); transition: transform .35s var(--ease); }
    .menu.is-open { transform: translateY(0); }
    .burger { display: inline-grid; }
  }
  @media (max-width: 520px) {
    .grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
  }  