@font-face { font-family: 'Gilroy'; src: url('../../fonts/300/roman.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/400/roman.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/500/roman.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/600/roman.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/700/roman.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/800/roman.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/900/roman.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/400/italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../../fonts/700/italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --accent: #0088ff;
  --white: #ffffff;
  --black: #000000;
  --gray: #8a8a8a;
  --gray-dark: #1a1a1a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  zoom: 1.1;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.06);
}

body {
  font-family: 'Gilroy', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 100px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #33a0ff;
  background-clip: content-box;
}

@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
  :fullscreen,
  :fullscreen * { cursor: auto !important; }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid transparent;
  pointer-events: none;
  z-index: 100000;
  opacity: 0;
  transition: opacity 0.25s ease,
    width 0.28s var(--ease), height 0.28s var(--ease), margin 0.28s var(--ease),
    background-color 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}
body.cursor-on .cursor {
  opacity: 1;
}
.cursor.is-hover {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: transparent;
  border-color: #5cb3ff;
}
.cursor.is-hover.is-press {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}

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

.accent { color: var(--accent); }
em.accent { font-style: normal; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  mix-blend-mode: difference;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-hidden {
  transform: translateY(-130%);
}

.logo__mark {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  transition: transform 0.7s var(--ease);
}
.logo:hover .logo__mark {
  transform: rotate(180deg);
}

.nav {
  position: absolute;
  right: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  transition: gap 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav:hover {
  gap: 32px;
}

.nav__link {
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  text-decoration: none;
}

.nav__bar {
  width: 4px;
  height: 46px;
  background: var(--gray);
  flex-shrink: 0;
  transition: width 1s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.8s ease,
              background 0.4s ease;
}
.nav__link.is-active .nav__bar { background: var(--accent); }

.nav__text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  color: var(--gray);
  font-size: 26px;
  font-weight: 600;
  transform: translateX(8px);
  transition: max-width 1.05s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.85s ease,
              transform 1.05s cubic-bezier(0.65, 0, 0.35, 1),
              color 0.35s ease;
}

.nav:hover .nav__bar {
  width: 0;
  opacity: 0;
}
.nav:hover .nav__text {
  max-width: 320px;
  opacity: 1;
  transform: translateX(0);
}

.nav__link:hover .nav__text { color: var(--white); }

.nav__link.is-active .nav__text {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.nav__link--contact .nav__text { color: var(--accent); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards 0.15s;
}
.nav__link {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards;
}
.nav__link:nth-child(1) { animation-delay: 0.20s; }
.nav__link:nth-child(2) { animation-delay: 0.30s; }
.nav__link:nth-child(3) { animation-delay: 0.40s; }
.nav__link:nth-child(4) { animation-delay: 0.50s; }

.page > * {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards;
}
.page > *:nth-child(1) { animation-delay: 0.08s; }
.page > *:nth-child(2) { animation-delay: 0.18s; }
.page > *:nth-child(3) { animation-delay: 0.28s; }
.page > *:nth-child(4) { animation-delay: 0.38s; }
.page > *:nth-child(5) { animation-delay: 0.46s; }
.page > *:nth-child(n+6) { animation-delay: 0.52s; }

.pf-head,
.page__title--reveal {
  opacity: 1;
  animation: none;
}

.page__title--reveal .reveal {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
}
.page__title--reveal .reveal__inner {
  display: block;
  transform: translateY(130%);
  animation: titleReveal 0.9s var(--ease) forwards 0.12s;
}
@keyframes titleReveal {
  from { transform: translateY(130%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .nav__link,
  .page > *,
  .page__title--reveal .reveal__inner {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.main {
  padding: 0 56px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.intro {
  padding: 20px 0 60px;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: start;
}

.reveal {
  display: block;
  overflow: hidden;
}
.reveal__inner {
  display: block;
  transform: translateY(140%);
  transition: transform 0.9s var(--ease);
}
.reveal__inner.is-in {
  transform: translateY(0);
}
.reveal__inner.is-out {
  transform: translateY(-140%);
}

.hero__lead {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fade 1s ease forwards 0.7s;
}

.hero__text {
  font-size: 23px;
  line-height: 1.7;
  color: #cfcfcf;
  opacity: 0;
  animation: fade 1s ease forwards 0.85s;
}
.hero__text + .hero__text {
  margin-top: 24px;
}

@keyframes fade {
  to { opacity: 1; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--gray-dark);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #cfcfcf;
  margin-bottom: 28px;
  width: fit-content;
  opacity: 0;
  animation: fade 1s ease forwards 0.6s;
}
.badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 136, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0); }
}

.typing {
  margin-top: 34px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  animation: fade 1s ease forwards 0.8s;
}
.typing__prefix { color: var(--gray); margin-right: 8px; }
.typing__text { color: var(--accent); }
.typing__cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__desc {
  margin-top: 26px;
  max-width: 640px;
  font-size: 21px;
  line-height: 1.7;
  color: #bdbdbd;
  opacity: 0;
  animation: fade 1s ease forwards 0.95s;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade 1s ease forwards 1.1s;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 17px 34px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-3px); opacity: 0.9; }
.btn--ghost {
  border: 1px solid var(--gray);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.about-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 30px;
  font-size: 14px;
  opacity: 0.8;
}
.about-fact {
  white-space: nowrap;
}
.about-fact__k {
  color: var(--accent);
  font-weight: 600;
}
.about-fact__k::after {
  content: ':';
  margin-right: 5px;
}
.about-fact__v {
  color: var(--white);
  font-weight: 400;
}
.about-facts__sep {
  color: var(--gray);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.chip {
  padding: 11px 20px;
  border: 1px solid var(--gray-dark);
  border-radius: 100px;
  font-size: 17px;
  color: #cfcfcf;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 90px 0 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 760px;
}
.stat {
  border-top: 2px solid var(--gray-dark);
  padding-top: 20px;
}
.stat__value {
  display: block;
  font-size: clamp(2.8rem, 5.6vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  color: var(--gray);
}

.exp {
  list-style: none;
  max-width: 820px;
}
.exp__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: #eaeaea;
  transition: padding-left 0.3s var(--ease), color 0.3s ease;
}
.exp__item:hover { padding-left: 14px; color: var(--accent); }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service {
  padding: 28px;
  border: 1px solid var(--gray-dark);
  border-radius: 14px;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.service:hover { transform: translateY(-6px); border-color: var(--accent); }
.service__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
}

.contact {
  margin-top: 50px;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 26px 28px;
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  text-align: left;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.contact-card__type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-card__name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}
.contact-card:hover .contact-card__name { color: var(--accent); }
.contact-card__handle {
  font-size: 16px;
  color: var(--gray);
}

.lang {
  display: inline-block;
  margin-top: 22px;
  background: none;
  border: 1px solid var(--gray-dark);
  border-radius: 100px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #cfcfcf;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.lang:hover { border-color: var(--accent); color: var(--accent); }

.page--center {
  text-align: center;
}
.page--center .page__body,
.page--center .exp,
.page--center .stats,
.page--center .services,
.page--center .contact,
.page--center .gallery {
  margin-left: auto;
  margin-right: auto;
}
.page--center .chips {
  justify-content: center;
}
.page--center .exp__item:hover {
  padding-left: 0;
}

.page {
  padding: 190px 0 120px;
  min-height: 70vh;
}
.page__label {
  font-size: 21px;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 18px;
}
.page__title {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 50px;
}
.page__body {
  max-width: 820px;
}
.page__text {
  font-size: 23px;
  line-height: 1.75;
  color: #cfcfcf;
}
.page__text + .page__text {
  margin-top: 24px;
}

.page__title--legal {
  color: var(--accent);
}

.page--center .legal {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.legal__updated {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 30px;
  letter-spacing: 0.02em;
}
.legal__intro {
  font-size: 20px;
  line-height: 1.8;
  color: #cfcfcf;
  margin-bottom: 46px;
}
.legal__section {
  margin-bottom: 30px;
}
.legal__heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.legal--numbered {
  counter-reset: legal;
}
.legal--numbered .legal__section {
  counter-increment: legal;
}
.legal--numbered .legal__heading::before {
  content: counter(legal) ". ";
  color: var(--accent);
}
.legal__text {
  font-size: 17px;
  line-height: 1.75;
  color: #b9b9b9;
}
.legal__text code {
  color: var(--accent);
  background: rgba(0, 136, 255, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.92em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-dark);
  aspect-ratio: 16 / 10;
}

.pf-item {
  opacity: 0;
  animation: pfIn 0.55s var(--ease) forwards;
}
@keyframes pfIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery__empty {
  grid-column: 1 / -1;
  font-size: 18px;
  color: var(--gray);
}
.gallery__empty code {
  color: var(--accent);
}

.contact__mail {
  display: inline-block;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 6px;
  transition: opacity 0.3s ease;
}
.contact__mail:hover {
  opacity: 0.75;
}
.contact__links {
  display: flex;
  gap: 32px;
  margin-top: 50px;
}
.contact__link {
  font-size: 20px;
  font-weight: 600;
  color: #cfcfcf;
  transition: color 0.3s ease;
}
.contact__link:hover {
  color: var(--accent);
}

.positions {
  padding: 60px 0 120px;
}
.positions .cols {
  margin-top: 0;
}
.positions__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.01em;
}

.job {
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--gray-dark);
  transition: transform 0.4s var(--ease);
}
.job:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.job:hover { transform: translateX(10px); }

.job__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.job__desc {
  font-size: 19px;
  line-height: 1.7;
  color: #cfcfcf;
  margin-bottom: 24px;
}
.job__link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: opacity 0.3s ease;
}
.job__link:hover { opacity: 0.7; }

.footer {
  padding: 80px 56px 44px;
  border-top: 1px solid var(--gray-dark);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 360px;
  gap: 40px;
  padding-bottom: 70px;
}
.footer__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}
.footer__text {
  font-size: 20px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
  max-width: 420px;
}
.footer__link {
  display: block;
  font-size: 20px;
  color: #cfcfcf;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 360px;
  gap: 40px;
  align-items: center;
}
.footer__bottom .lang { justify-self: start; }
.footer__place { justify-self: start; text-align: left; }
.footer__copy { justify-self: start; }
.footer__social {
  display: flex;
  gap: 22px;
}
.footer__social .footer__link {
  margin-bottom: 0;
}
.footer__place,
.footer__copy {
  font-size: 18px;
  color: var(--gray);
}
.footer__place {
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
}
.footer__copy {
  color: var(--accent);
}

.footer__bottom .lang {
  margin-top: 0;
}

@media (max-width: 900px) {
  .header { padding: 22px 24px; }
  .nav { display: none; }
  .main { padding: 0 24px; }
  .cols {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 50px;
  }
  .footer {
    padding: 60px 24px 40px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .footer__bottom .lang,
  .footer__place,
  .footer__copy {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .drawer__list { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal__inner { transition: none !important; transform: none !important; }
  .hero__lead, .hero__text { animation: none; opacity: 1; transform: none; }
}

.pf-head {
  text-align: center;
  margin-bottom: 120px;
}

.pf-block {
  margin-top: 120px;
}
.pf-block:first-of-type {
  margin-top: 0;
}

.pf-heading {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 34px;
}
.pf-heading--left {
  text-align: left;
}
.pf-heading--right {
  text-align: right;
}
.pf-star {
  color: var(--accent);
  display: inline-block;
  line-height: 1;
  margin: 0 0.12em;
}

.gallery__item {
  cursor: pointer;
  position: relative;
}

.gallery--video .gallery__item {
  background: #0d0d0d;
}
.vid {
  position: relative;
  width: 100%;
  height: 100%;
}
.vid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vid__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}
.gallery__item:hover .vid__play {
  background: rgba(0, 0, 0, 0.38);
}
.vid__play span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease);
}
.gallery__item:hover .vid__play span {
  transform: scale(1.1);
}
.vid__play svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 2px;
}

.websites {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  text-align: left;
}
.web-card {
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  overflow: hidden;
  background: #0b0b0b;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.web-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.web-card__preview {
  position: relative;
  overflow: hidden;
  background: var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
  cursor: pointer;
  height: 240px;
}
.web-card__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
  background: #fff;
}
.web-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.web-card__body {
  padding: 22px 24px 26px;
}
.web-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.web-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 16px;
}
.web-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.web-card__tag {
  font-size: 12px;
  color: #cfcfcf;
  border: 1px solid var(--gray-dark);
  border-radius: 100px;
  padding: 4px 10px;
}
.web-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}
.web-card__link:hover {
  opacity: 0.7;
}

.repos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--gray-dark);
  border-radius: 14px;
  padding: 24px;
  color: var(--white);
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.repo-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.repo-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
}
.repo-card__name {
  font-size: 19px;
  font-weight: 700;
  color: var(--accent);
}
.repo-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  flex: 1;
}
.repo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: #cfcfcf;
}
.repo-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.repo-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.design-item,
.branding-item {
  position: relative;
}
.branding-item img {
  object-fit: cover;
  object-position: top;
}
.design-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.embed-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.embed-item--noimg {
  background: linear-gradient(135deg, #141414, #242424);
}

.album-wrap {
  position: relative;
  display: flex;
}
.album {
  max-height: 86vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px;
  scrollbar-width: none;
}
.album::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.cscroll {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -16px;
  width: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
}
.cscroll__thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 100px;
  background: var(--accent);
  transition: background 0.2s ease;
}
.cscroll__thumb:hover {
  background: #33a0ff;
}
.lightbox__stage .album img {
  width: min(880px, 88vw);
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: 12px;
  display: block;
}
.album .vidplayer {
  width: min(880px, 88vw);
  max-width: 100%;
  align-self: center;
}
.lightbox__stage .album video {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: 12px;
  display: block;
}

.producer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  text-align: left;
  align-items: start;
}
.audio-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--gray-dark);
  border-radius: 14px;
  padding: 22px;
  background: #0b0b0b;
  transition: border-color 0.3s ease;
}
.audio-card:hover {
  border-color: var(--accent);
}
.audio-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.audio-card__btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.audio-card__btn:hover {
  transform: scale(1.06);
}
.audio-card__btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.audio-card__btn .ico-play {
  margin-left: 2px;
}
.audio-card .ico-pause {
  display: none;
}
.audio-card.is-playing .ico-play {
  display: none;
}
.audio-card.is-playing .ico-pause {
  display: block;
}
.audio-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-card__wave {
  position: relative;
  height: 52px;
  cursor: pointer;
}
.wave-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wave-played {
  clip-path: inset(0 100% 0 0);
}
.wbar {
  flex: 1;
  min-width: 2px;
  height: 30%;
  border-radius: 2px;
}
.wave-base .wbar {
  background: rgba(255, 255, 255, 0.18);
}
.wave-played .wbar {
  background: var(--accent);
}
.audio-card__time {
  font-size: 12px;
  color: var(--gray);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 86vh;
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__stage {
  transform: scale(1);
}
.lightbox__stage img,
.lightbox__stage video {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 12px;
  display: block;
  accent-color: var(--accent);
}
.lightbox__stage iframe {
  width: 92vw;
  height: 86vh;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.vidplayer {
  position: relative;
  display: inline-flex;
  line-height: 0;
}
.vidmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(70px, 16%, 170px);
  height: auto;
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.vp {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: normal;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.vidplayer:hover .vp,
.vidplayer.paused .vp {
  opacity: 1;
}
.vp__bar {
  position: relative;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.28);
}
.vp__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 100px;
  background: var(--accent);
}
.vp__head {
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.vp__bar:hover {
  height: 7px;
}
.vp__bar:hover .vp__head {
  opacity: 1;
}
.vp__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vp__btn {
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
}
.vp__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}
.vp__btn:hover {
  color: var(--accent);
  transform: scale(1.12);
}
.vp__play .ico-pause,
.vp__mute .ico-mute {
  display: none;
}
.vidplayer.playing .vp__play .ico-play {
  display: none;
}
.vidplayer.playing .vp__play .ico-pause {
  display: block;
}
.vidplayer.muted .vp__mute .ico-vol {
  display: none;
}
.vidplayer.muted .vp__mute .ico-mute {
  display: block;
}
.vp__time {
  font-size: 13px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vp__spacer {
  flex: 1;
}
.vp__vol {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vp__vol-range {
  width: 0;
  opacity: 0;
  height: 4px;
  accent-color: var(--accent);
  transition: width 0.25s var(--ease), opacity 0.25s ease;
}
.vp__vol:hover .vp__vol-range {
  width: 72px;
  opacity: 1;
}
.vp__speed {
  position: relative;
}
.vp__speed-btn {
  font-size: 13px;
  font-weight: 700;
  min-width: 30px;
}
.vp__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 92px;
  padding: 6px;
  border-radius: 12px;
  background: #0b0b0b;
  border: 1px solid var(--gray-dark);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}
.vp__menu.is-open {
  display: flex;
}
.vp__opt {
  background: none;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #cfcfcf;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.vp__opt:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.vp__opt.is-active {
  color: var(--accent);
}

.gallery img,
.gallery video,
.album img,
.producer img,
.lightbox__stage img,
.lightbox__stage video {
  -webkit-user-drag: none;
  user-select: none;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}
.lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

@media (max-width: 560px) {
  .websites {
    grid-template-columns: 1fr;
  }
  .lightbox__close {
    top: 16px;
    right: 16px;
  }
}
