:root {
  --background: #070707;
  --foreground: #f4f4f2;
  --muted: #a5a5a0;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --silver: #d8d5ce;
  --green: #51d88a;
  --mint: #41ead4;
  --latte: #d5a156;
  --amber: #f0c15a;
  --cyan: #65e7ff;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(81, 216, 138, 0.16), transparent 27rem),
    radial-gradient(circle at 18% 20%, rgba(101, 231, 255, 0.11), transparent 24rem),
    linear-gradient(180deg, #090909 0%, #050505 58%, #090909 100%);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-symbol-wrap {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
}

.brand-symbol {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  color: var(--silver);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  transition: 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--foreground);
}

.language-toggle {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.language-button {
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-button.active {
  background: var(--silver);
  color: #101010;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-section,
.page-main,
.content-band,
.split-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 84px);
  padding: 56px 0 82px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: #f7f5ef;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 850;
  line-height: 0.92;
}

.tagline {
  max-width: 680px;
  margin-bottom: 20px;
  color: var(--silver);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
}

.hero-intro,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.primary-button {
  background: linear-gradient(135deg, var(--green), var(--mint));
  color: #07100d;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  overflow: hidden;
}

.hero-visual img {
  width: min(58%, 280px);
  height: auto;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.55));
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0 86px;
}

.domain-panel,
.project-card,
.info-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.domain-panel {
  min-height: 260px;
  padding: 28px;
  transition: 180ms ease;
}

.domain-panel:hover,
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--panel-strong);
}

.domain-panel span {
  color: var(--muted);
  font-family: monospace;
  font-size: 13px;
}

.domain-panel h2,
.section-heading h2,
.page-hero h1,
.info-panel h2,
.project-card h2 {
  color: #f7f5ef;
}

.domain-panel h2 {
  max-width: 420px;
  margin: 72px 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
}

.domain-panel p,
.project-card p,
.info-panel p,
.small-note {
  color: var(--muted);
  line-height: 1.7;
}

.games-panel {
  box-shadow: inset 0 -4px 0 rgba(81, 216, 138, 0.75);
}

.software-panel {
  box-shadow: inset 0 -4px 0 rgba(101, 231, 255, 0.72);
}

.content-band {
  padding: 0 0 92px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading p {
  margin-bottom: 6px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.page-main {
  padding: 74px 0 96px;
}

.page-hero {
  max-width: 900px;
  padding: 56px 0 42px;
}

.page-hero.compact {
  max-width: 780px;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.about-intro {
  white-space: pre-line;
}

.project-grid,
.info-grid,
.contact-list,
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.policy-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

.project-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-image {
  height: 300px;
  margin: -12px -12px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: 220ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 70px;
}

.project-image + .project-card-top {
  margin-bottom: 34px;
}

.project-card-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-card-top strong {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.24);
  font-size: 12px;
}

.project-card h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.project-card ul,
.info-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.project-card li,
.info-panel li {
  color: #dedbd2;
}

.project-card li::before,
.info-panel li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--mint);
  vertical-align: middle;
}

.accent-cubi::before {
  background:
    radial-gradient(circle at 18% 18%, var(--green), transparent 18rem),
    radial-gradient(circle at 88% 78%, var(--mint), transparent 16rem);
}

.accent-latte::before {
  background:
    radial-gradient(circle at 22% 18%, var(--latte), transparent 18rem),
    radial-gradient(circle at 82% 84%, #ffe2a5, transparent 16rem);
}

.accent-pos::before {
  background:
    radial-gradient(circle at 16% 22%, var(--cyan), transparent 18rem),
    radial-gradient(circle at 82% 78%, var(--green), transparent 16rem);
}

.accent-dashboard::before {
  background:
    radial-gradient(circle at 18% 18%, var(--amber), transparent 17rem),
    radial-gradient(circle at 86% 82%, var(--cyan), transparent 16rem);
}

.info-panel {
  min-height: 300px;
  padding: 28px;
}

.policy-panel {
  min-height: auto;
}

.info-panel h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.contact-list {
  max-width: 900px;
}

.contact-card {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 24px;
  transition: 180ms ease;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  color: #f7f5ef;
  font-size: clamp(22px, 4vw, 34px);
  overflow-wrap: anywhere;
}

.team-card {
  display: grid;
  grid-template-rows: 360px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.team-photo {
  position: relative;
  height: 360px;
  min-height: 360px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 17rem),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  object-position: center top;
  filter: saturate(0.94) contrast(1.04);
}

.team-copy {
  padding: 26px;
}

.team-copy span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-copy h2 {
  margin: 12px 0 8px;
  color: #f7f5ef;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.team-copy strong {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.07);
}

.team-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.small-note {
  margin-top: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--foreground);
  font-weight: 800;
}

.site-footer span {
  grid-column: 2;
  font-size: 14px;
}

.footer-symbol {
  grid-row: span 2;
  width: 46px;
  height: 30px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--mint);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section,
  .split-section,
  .project-grid,
  .info-grid,
  .contact-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .domain-panel {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 13px;
  }

  .brand-symbol-wrap,
  .brand-symbol {
    width: 50px;
    height: 50px;
  }

  .nav-link {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero-section,
  .page-main,
  .content-band,
  .split-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 240px;
  }

  .project-card,
  .domain-panel,
  .info-panel,
  .contact-card,
  .team-copy {
    padding: 22px;
  }

  .team-photo,
  .team-photo img {
    min-height: 330px;
  }

  .team-card {
    grid-template-rows: 330px 1fr;
  }

  .team-photo {
    height: 330px;
  }

  .project-card-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 48px;
  }

  .project-image {
    height: 220px;
    margin: -8px -8px 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
