:root {
  --bg: #070a12;
  --bg-soft: #0c1220;
  --panel: rgba(16, 24, 39, 0.72);
  --panel-strong: rgba(20, 31, 52, 0.9);
  --text: #f5f7fb;
  --muted: #9aa7bd;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f4c86a;
  --amber: #ff9f45;
  --cyan: #54d7ff;
  --pink: #fb6bff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84, 215, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(251, 107, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #060914 0%, #0b1020 48%, #070a12 100%);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  inset: auto;
  left: var(--glow-x, 50%);
  top: var(--glow-y, 30%);
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(84, 215, 255, 0.12), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 0.25s ease, top 0.25s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 32px rgba(244, 200, 106, 0.2);
}

.brand-text {
  display: grid;
  gap: 2px;
  font-size: 0.95rem;
  line-height: 1.12;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(245, 247, 251, 0.74);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 76px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 0 44px 44px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.75;
}

.orb-one {
  right: 14%;
  top: 15%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(251, 107, 255, 0.34), transparent 68%);
  animation: float 8s ease-in-out infinite;
}

.orb-two {
  left: 4%;
  bottom: 10%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(84, 215, 255, 0.28), transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.grid-plane {
  position: absolute;
  right: -8%;
  bottom: 4%;
  width: 58%;
  height: 46%;
  background-image:
    linear-gradient(rgba(84, 215, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 215, 255, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to top, black, transparent);
  transform: perspective(520px) rotateX(64deg) rotateZ(-8deg);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border: 0;
  color: #111827;
  background: linear-gradient(135deg, var(--gold), var(--amber));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.project-details,
.news-card,
.team-strip article,
.contact-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at top right, rgba(244, 200, 106, 0.22), transparent 48%);
}

.card-topline {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-stat {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-stat span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.about-copy {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 2;
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 170px;
  gap: 16px;
}

.photo-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(84, 215, 255, 0.18), rgba(251, 107, 255, 0.13)),
    linear-gradient(180deg, #16233b, #0b1020);
}

.photo-card::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.photo-card span {
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card.wide {
  grid-column: span 2;
}

.team-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-strip article {
  padding: 30px;
  border-radius: 26px;
}

.team-strip span {
  display: block;
  margin-bottom: 36px;
  color: var(--cyan);
  font-weight: 900;
}

.team-strip p,
.news-card p,
.project-details p,
.project-details li {
  color: var(--muted);
  line-height: 1.8;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.project-tabs button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.project-tabs button.active,
.project-tabs button:hover {
  border-color: rgba(244, 200, 106, 0.65);
  color: #111827;
  background: linear-gradient(135deg, var(--gold), var(--amber));
}

.project-stage {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
}

.project-visual {
  position: relative;
  min-height: 520px;
  padding: 32px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(7, 10, 18, 0.9), rgba(7, 10, 18, 0.08)),
    radial-gradient(circle at 70% 30%, rgba(244, 200, 106, 0.18), transparent 28%),
    linear-gradient(135deg, #1b2545, #221336 52%, #4a241a);
  box-shadow: var(--shadow);
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.project-visual::before {
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
}

.project-visual::after {
  right: -16%;
  bottom: -20%;
  width: 65%;
  height: 72%;
  border-radius: 45% 55% 0 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 200, 106, 0.75), transparent 8%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(84, 215, 255, 0.08));
  filter: blur(0.5px);
}

.project-badge {
  display: inline-flex;
  position: relative;
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.project-visual h3 {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 76px;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.project-visual p {
  position: absolute;
  left: 32px;
  bottom: 34px;
  z-index: 1;
  margin: 0;
  color: rgba(245, 247, 251, 0.74);
  font-weight: 700;
}

.project-details {
  align-self: stretch;
  padding: 34px;
  border-radius: 34px;
}

.project-details h3 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.project-details ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.project-details li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  min-height: 270px;
  padding: 30px;
  border-radius: 26px;
}

.news-card.highlight {
  background:
    radial-gradient(circle at top right, rgba(244, 200, 106, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.news-card time {
  display: block;
  margin-bottom: 56px;
  color: var(--gold);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 80px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
}

.contact-panel a {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: rgba(245, 247, 251, 0.82);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-panel a:hover {
  border-color: rgba(84, 215, 255, 0.5);
  color: var(--text);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 20px auto;
    display: grid;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 10, 18, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 16px;
  }

  .hero,
  .about-grid,
  .project-stage,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .hero-card {
    max-width: 520px;
  }

  .team-strip,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .navbar,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .brand-text {
    font-size: 0.84rem;
  }

  .brand-text small {
    font-size: 0.58rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.8rem);
  }

  .photo-wall,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .photo-card.tall,
  .photo-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-visual,
  .project-details {
    border-radius: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
