  <style>
  @font-face {
  font-family: 'Benzine';
  src: url('assets/fonts/Benzin-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/InterTight-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; /* интервал переменного веса */
  font-style: normal;
}

    html, body {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      font-family: 'Inter', sans-serif;
      background: white;
    }

    #three-container {
      width: 100vw;
      height: 100vh;
      position: relative;
      overflow: hidden;
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      display: block;
    }

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  color: black;
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px; /* или больше, если нужно */
  display: flex;
  align-items: center;
  padding: 0 30px; /* вместо 25px 30px */
  box-sizing: border-box;
}

.top-header .left {
  text-align: left;
}

.top-header .center {
  text-align: center;
}

.top-header .right {
  text-align: right;
}

@media (max-width: 600px) {
  .top-header {
    height: 110px; /* например */
  }
}
@media (max-width: 600px) {
  .marquee {
    top: 150px; /* или больше, если нужно */
  }
}

.button-create {
  background: linear-gradient(to bottom, #f8d6f2, #c5c3ca);
  color: black;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.1s ease;
}

.button-create:hover {
  transform: scale(1.03);
}


.marquee {
  position: fixed;
  left: 0;
  width: 100%;
  background: black;
  color: white;
  font-family: monospace;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 9999;
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(255, 192, 255, 0.4);
}

.marquee span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
}

.marquee {
  top: 90px; /* раньше было 70px — теперь чуть ниже шапки */
}


    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    .overlay-text {
      position: absolute;
      top: 25%;
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      font-size: 40px;
      line-height: 1.5;
      color: #000;
      text-shadow:

      0 0 1rem rgba(230, 230, 230, 1),
      0 0 2rem rgba(255, 192, 255, 1),
      0 0 4rem rgba(220, 220, 220, 0.6),
      0 0 4rem rgba(200, 200, 200, 0.4),
      0 0 2rem rgba(255, 192, 255, 0.4);
      font-weight: 200;
      max-width: 1000px;
      z-index: 10;
      text-align:center;
    }



    .overlay-text em {
      font-family: 'EB Garamond', serif;
      font-style: italic;
      font-size: 60px;
    }

    section {
      padding: 100px 40px;
    
      margin: 0 auto;
      font-size: 1.2rem;
    }
    
.glow {
  color: black;
  text-shadow:
    0 0 5px rgba(255, 192, 255, 0.6),
    0 0 10px rgba(255, 153, 255, 0.4),
    0 0 20px rgba(255, 153, 255, 0.2);
}

/* убираем скругление у фото */
.grid-item img {
  max-width: 100%;
  border-radius: 0;
  display: block;
}

/* Benzine для заголовка */
.grid-item h3 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
    font-family: 'Benzine', sans-serif;
}

/* Inter для подписи */
.grid-item p {
  font-size: 1rem;
  margin: 0;

     color: #374151;
      font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
}

/* Колонки вместо фиксированной сетки */
.grid-container {
  column-count: 2;
  column-gap: 40px;
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
}

.grid-item {
  break-inside: avoid;
  margin-bottom: 40px;
}

/* 📱 На мобилке — одна колонка */
@media (max-width: 768px) {
  .grid-container {
    column-count: 1;
  }
}



/* 📱 Мобильная версия — 1 колонка */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    margin: 60px auto;
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .top-header {
    font-size: 1rem;
    padding: 20px;
  }

  .button-create {
    font-size: 1rem;
    padding: 6px 14px;
  }

  .overlay-text {
    font-size: 34px;
  }

  .overlay-text em {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .top-header {
    font-size: 0.9rem;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .button-create {
    background: none;
    padding: 0;
    font-size: 1rem;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    text-decoration: underline;
  }

  .button-create:hover {
    transform: none;
  }

  .overlay-text {
    font-size: 18px;
  }

  .overlay-text em {
    font-size: 28px;
  }
}
.section-heading {
  max-width: 1000px;
  margin: 100px auto 0;
  font-family: 'Benzine', sans-serif;
  box-sizing: border-box;
  text-align: left;
}


/* 🦸 HERO BLOCK */

.hero {
  background: linear-gradient(to bottom, #f8d6f2, #d3d3d3); /* фон на 100% ширины */
  padding: 100px 0;
  width: 100%;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-sizing: border-box;
}

.hero-text {
  flex: 1 1 600px;
  text-align: left;
}

.hero-text h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 30px;
  max-width: 550px;
}

.hero-button {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 20px;
  border: 1px solid black;
  border-radius: 9999px;
  text-decoration: none;
  color: black;
  transition: background 0.2s ease;
}

.hero-button:hover {
  background: rgba(0,0,0,0.1);
}

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  flex: 1 1 200px;
}

.hero-tags li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-tags {
    text-align: left;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-text {
    flex: 1 1 auto;
        padding: 0 16px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 40px 0; /* уменьшенный отступ сверху и снизу */
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }


  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
     flex: 1 1 auto;
  }

  .hero-inner {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .marquee {
    font-size: 14px;
    padding: 10px 0;
    top:100px;
  }
  .marquee span {
    animation-duration: 18s;
  }
}

@media (max-width: 480px) {
  .marquee {
    font-size: 12px;
    padding: 8px 0;
  }
}

.site-footer {
  margin-top: auto;
  width: 100%;
  background-color: black;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid white; /* как у тебя на скрине */
  font-family: 'Inter Tight', sans-serif;
}

.footer-logo {
  width: 50px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
    color: #ccc;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
  margin-top: 4px;
}

/*///////////////project-page/////////////*/

.project-page {
  max-width: 1000px;
  margin: 140px auto 80px;
  padding: 0 20px;
  font-family: 'Inter Tight', sans-serif;
  line-height: 1.6;
  font-size: 1.05rem;
}

.project-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5em;
  font-family: 'Inter', sans-serif;
}

.project-page h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #000;
  margin-top: -0.5em;
  margin-bottom: 1.5em;
}

.project-page ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.project-page ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #333;
}

.project-page img {
  max-width: 100%;
  display: block;
  margin: 2em auto;
}

.project-meta {
  margin: 2em 0;
  background: #f7f7f7;
  padding: 1.2em;
  border-left: 4px solid #d9d9d9;
  font-size: 0.9rem;
  line-height: 1.4;
}


.project-hero {
  text-align: center;
}

.project-open-button {
  margin-top: 10px;
}

.project-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.project-text {
  flex: 1 1 600px;
  min-width: 0;
}


.project-meta {
  flex: 1 1 300px;
  min-width: 0;
  background: #f8f8f8;
  padding: 20px;
  border-left: 3px solid #ccc;
  font-size: 0.95rem;
}

.project-gallery {
  margin-top: 60px;
}

.project-gallery-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.project-gallery-row img {
  flex: 1 1 50%;
  max-width: 100%;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
  .project-content {
    flex-direction: column;
  }

  .project-gallery-row {
    flex-direction: column;
  }
}

  </style>