 /* ── Сброс ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  /* ── Переменные ── */
  :root {
    --bg: #faf9f7;
    --bg-alt: #f2efe9;
    --text: #1a1a1a;
    --text-muted: #6b6b6b;
    --line: #e4e0d8;
    --accent: #1a1a1a;
  }

  /* ── База ── */
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit
    -font-smoothing: antialiased;
  }

  .hero {
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(74, 174, 218, .72) 0%,
            rgba(74, 174, 218, .40) 16%,
            rgba(74, 174, 218, .14) 30%,
            transparent 50%
        ),

        radial-gradient(
            circle at 4% 48%,
            rgba(183, 213, 226, .62) 0%,
            rgba(183, 213, 226, .25) 23%,
            transparent 51%
        ),

        radial-gradient(
            circle at 48% 0%,
            rgba(255, 255, 255, .78) 0%,
            rgba(255, 255, 255, .30) 25%,
            transparent 48%
        ),

        radial-gradient(
            circle at 73% 72%,
            rgba(245, 177, 139, .62) 0%,
            rgba(245, 177, 139, .25) 19%,
            transparent 43%
        ),

        radial-gradient(
            circle at 30% 88%,
            rgba(123, 155, 181, .42) 0%,
            rgba(123, 155, 181, .14) 24%,
            transparent 48%
        ),

        radial-gradient(
            circle at 53% 47%,
            rgba(255, 247, 235, .32) 0%,
            transparent 36%
        ),

        linear-gradient(
            120deg,
            #b8d3de 0%,
            #e4ece9 25%,
            #f2ebe1 48%,
            #e8d8cf 70%,
            #b9cfd8 100%
        );
  }

  a { color: inherit; text-decoration: none; }

  /* ── Шапка ── */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 249, 247, 0.85);
    backdrop-filter: blur(7px);
  }
  .nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .logo span {
    /* color: var(--text-muted); */
    color: #c41212;
    font-weight: 600;
  }
  .menu {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .menu a {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.25s ease;
    position: relative;
  }
  .menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0;
    height: 1px;
    background: #c41212;
    transition: width 0.25s ease;
  }
  .menu a:hover { color: #c41212; }
  .menu a:hover::after { width: 100%; }

  /* Бургер для мобильных */
  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
  }
  .burger span {
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: 0.3s;
  }

  /* ── Hero ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 60px;
  }
  .hero h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 7vw, 5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 480px;
  }
  .scroll-hint {
    margin-top: 48px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: fadeInUp 1.5s ease infinite alternate;
  }
  @keyframes fadeInUp {
    from { opacity: 0.4; transform: translateY(0); }
    to   { opacity: 1;   transform: translateY(6px); }
  }

  /* ── Разделы ── */
  section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
  }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .section-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: block;
  }

  /* ── Обо мне ── */
  .about {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
  }
  .about-text { flex: 1; min-width: 280px; }
  .about-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  .about-photo {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
  }
  .about-photo img {
    width: 100%;
    border-radius: 2px;
    display: block;
  }

  /* ── Галерея ── */
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .gallery-item {
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }
  .gallery-item:hover img {
    transform: scale(1.04);
  }

  /* ── Футер ── */
  footer {
    border-top: 1px solid var(--line);
    padding: 48px 32px;
    text-align: center;
  }
  footer .logo {
    font-size: 18px;
    margin-bottom: 16px;
    display: inline-block;
  }
  .socials {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 16px;
  }
  .socials a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.25s ease;
  }
  .socials a:hover { color: var(--text); }
  footer .copy {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
  }

  /* ── Лайтбокс ── */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 20, 20, 0.92);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
  }
  .lightbox.active { display: flex; }
  .lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 2px;
  }
  .lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
  }
  .lightbox-close:hover { opacity: 1; }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 16px;
  }
  .lightbox-nav:hover { opacity: 1; }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }

  /* ── Адаптив ── */
  @media (max-width: 768px) {
    .menu {
      position: fixed;
      top: 61px; left: 0; right: 0;
      background: var(--bg);
      flex-direction: column;
      gap: 0;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    .menu.open { max-height: 200px; }
    .menu li { width: 100%; text-align: center; }
    .menu a {
      display: block;
      padding: 16px;
      border-bottom: 1px solid var(--line);
    }
    .menu a::after { display: none; }
    .burger { display: flex; }

    .gallery { grid-template-columns: repeat(2, 1fr); }
    .about { gap: 32px; }
    section { padding: 60px 20px; }
    .nav { padding: 16px 20px; }
  }

  @media (max-width: 480px) {
    .gallery { grid-template-columns: 1fr; }
    .gallery-item { aspect-ratio: 3 / 2; }
  }