.project-page>nav {
  display: none;
}

.project-topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 9000;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  width: min(720px, calc(100vw - 32px));
  min-height: 54px;
  padding: 7px;
  color: rgba(247, 244, 255, 0.88);
  border: 1px solid rgba(224, 176, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 0% 0%, rgba(138, 43, 226, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(15, 8, 24, 0.82), rgba(6, 4, 10, 0.76));
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  transform: translateX(-50%);
}

.project-topbar__home,
.project-topbar__contact {
  color: inherit;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
}

.project-topbar__home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid rgba(224, 176, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.project-topbar__home:hover,
.project-topbar__contact:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 176, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.project-topbar__home-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #160820;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #e9d8ff 56%, #b983ff);
}

.project-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-topbar__contact {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(224, 176, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.project-topbar .lang-switcher {
  position: relative;
  inset: auto;
  z-index: 1;
  background: rgba(255, 255, 255, 0.055);
}

.project-detail {
  min-height: 100vh;
  padding: 132px 24px 90px;
  color: #f7f4ff;
  background:
    radial-gradient(circle at 12% 8%, rgba(138, 43, 226, 0.22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(11, 4, 18, 0.92), rgba(4, 3, 8, 0.98));
}

.project-hero,
.project-content,
.project-gallery,
.project-related {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 48px;
  align-items: center;
}

.project-kicker,
.project-section-heading p {
  margin: 0 0 12px;
  color: #d7b9ff;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(3.2rem, 7.2vw, 6rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
}

.project-summary {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(247, 244, 255, 0.72);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.55;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.project-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(224, 176, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.project-action:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 176, 255, 0.52);
  background: rgba(255, 255, 255, 0.09);
}

.project-action--primary {
  color: #14071f;
  border-color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, #ffffff, #eadbff 52%, #b983ff);
  box-shadow: 0 16px 40px rgba(138, 43, 226, 0.26);
}

.project-action--disabled {
  color: rgba(247, 244, 255, 0.56);
  cursor: default;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.035);
}

.project-action--disabled:hover {
  transform: none;
  border-color: rgba(224, 176, 255, 0.24);
  background: rgba(255, 255, 255, 0.035);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.project-stack span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  border: 1px solid rgba(224, 176, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.project-hero__media {
  overflow: hidden;
  border: 1px solid rgba(224, 176, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 42px rgba(138, 43, 226, 0.18);
}

.project-hero__media img,
.project-screenshot-grid img,
.related-project img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.project-hero__media picture,
.project-screenshot-grid picture,
.related-project picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 40px;
  margin-top: 90px;
}

.project-case-study {
  width: min(1180px, 100%);
  margin: 82px auto 0;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-study-card {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(224, 176, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028)),
    rgba(11, 8, 18, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.case-study-card--result {
  border-color: rgba(185, 131, 255, 0.34);
  background:
    radial-gradient(circle at 16% 0%, rgba(138, 43, 226, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
}

.case-study-card span {
  display: block;
  margin-bottom: 14px;
  color: #d7b9ff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-card p {
  margin: 0;
  color: rgba(247, 244, 255, 0.72);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.96rem;
  line-height: 1.58;
}

.project-copy-block h2,
.project-section-heading h2 {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.project-copy-block p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(247, 244, 255, 0.72);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.project-highlights {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.project-highlights li {
  position: relative;
  padding: 16px 18px 16px 48px;
  color: rgba(247, 244, 255, 0.8);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  border: 1px solid rgba(224, 176, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.project-highlights li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b983ff;
  box-shadow: 0 0 18px rgba(185, 131, 255, 0.66);
}

.project-facts {
  display: grid;
  gap: 12px;
}

.project-facts div {
  padding: 18px;
  border: 1px solid rgba(224, 176, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.project-facts span,
.project-facts strong {
  display: block;
  font-family: Inter, system-ui, sans-serif;
}

.project-facts span {
  margin-bottom: 7px;
  color: rgba(224, 176, 255, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.project-facts strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  line-height: 1.4;
}

.project-gallery,
.project-related {
  margin-top: 90px;
}

.project-section-heading {
  margin-bottom: 26px;
}

.project-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(224, 176, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-project {
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(224, 176, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.related-project img {
  aspect-ratio: 16 / 10;
}

.related-project span {
  display: block;
  padding: 14px 16px 16px;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.04rem;
}

@media (max-width: 860px) {
  .project-topbar {
    top: 10px;
    width: min(100vw - 20px, 520px);
    gap: 8px;
    border-radius: 24px;
  }

  .project-topbar__contact {
    display: none;
  }

  .project-topbar .lang-switcher {
    display: flex;
  }

  .project-detail {
    padding: 106px 16px 70px;
  }

  .project-hero,
  .project-content {
    grid-template-columns: 1fr;
  }

  .project-hero {
    gap: 26px;
  }

  .project-content,
  .project-case-study,
  .project-gallery,
  .project-related {
    margin-top: 62px;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    min-height: 0;
  }

  .project-screenshot-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
