:root {
  --bg: #0a0a0d;
  --bg-2: #111115;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f7fb;
  --muted: #b5b4c2;
  --soft: #777586;
  --accent: #ff128c;
  --accent-2: #7df5ff;
  --success: #b9ff73;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max-width: 1184px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 18, 140, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(125, 245, 255, 0.16), transparent 24rem),
    var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 18, 140, 0.7);
  outline-offset: 4px;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  gap: 16px;
  background: #0a0a0d;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.loading-screen img {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 0 80px rgba(255, 18, 140, 0.22);
  animation: pulseLogo 1200ms ease-in-out infinite alternate;
}

.loading-screen span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.loaded .loading-screen {
  opacity: 0;
  visibility: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 999;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(255, 18, 140, 0.8);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 1001;
  pointer-events: none;
  translate: -50% -50%;
  opacity: 0;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease;
}

.cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  border-color: rgba(255, 18, 140, 0.78);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 60px;
  padding: 10px 12px 10px 14px;
  background: rgba(14, 14, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(14, 14, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: "Nunito", "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: 56px;
  width: 100%;
  min-height: 92vh;
  padding: 116px max(24px, calc((100vw - var(--max-width)) / 2)) 32px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.hero-content,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.6rem);
  font-weight: 900;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 850;
}

.gradient-text {
  background: linear-gradient(100deg, var(--text), var(--accent) 52%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
}

.hero-actions,
.link-row,
.pill-list,
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 850;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 18, 140, 0.28);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-showcase {
  min-height: 468px;
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  width: min(520px, 78vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.showcase-card:first-child {
  top: 34px;
  right: 0;
  transform: rotate(2deg);
}

.showcase-card.offset {
  left: 0;
  bottom: 28px;
  width: min(420px, 68vw);
  transform: rotate(-4deg);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 450ms ease;
}

.showcase-card:hover img,
.project-card:hover img,
.studio-card:hover .studio-media img {
  transform: scale(1.05);
}

.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 0;
  max-width: 168px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(14, 14, 18, 0.76);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.hero-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 32px;
  align-items: stretch;
}

.about-copy {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p:last-child,
.studio-copy p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.about-panel {
  display: grid;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 18, 140, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
}

.about-panel img {
  width: 100%;
  max-height: 260px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.about-panel span,
.project-card span,
.card-kicker,
.contact-links span,
.role {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-panel strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.about-panel p,
.experience-card p,
.team-card p,
.feature-card p,
.project-card p,
.contact-card p,
.studio-copy p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.experience-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.experience-card:hover,
.team-card:hover,
.feature-card:hover,
.project-card:hover,
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 18, 140, 0.48);
  background: rgba(255, 255, 255, 0.075);
}

.logo-placeholder {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 18, 140, 0.28), rgba(125, 245, 255, 0.12));
  color: #fff;
  font-weight: 900;
}

.experience-card h3 {
  margin-top: 4px;
}

.link-row a,
.feature-card a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 18, 140, 0.66);
}

.team-grid,
.leadership-grid,
.project-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card,
.feature-card,
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.team-card,
.feature-card {
  padding: 24px;
}

.studio-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.studio-media {
  min-height: 420px;
  overflow: hidden;
}

.studio-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 450ms ease;
}

.studio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
}

.pill-list {
  margin: 20px 0 28px;
}

.pill-list span,
.tech-list span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.skill {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}

.skill::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--level, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(255, 18, 140, 0.6);
  transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.skill span,
.skill strong {
  position: relative;
  z-index: 1;
  display: block;
}

.skill span {
  color: var(--muted);
  font-weight: 800;
}

.skill strong {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-card > div {
  padding: 22px;
}

.tech-list {
  margin-top: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  min-height: 156px;
  padding: 26px;
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 800;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: 40px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 18, 140, 0.18), rgba(125, 245, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.contact-links a:hover {
  transform: translateX(4px);
  border-color: rgba(255, 18, 140, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.contact-links strong {
  text-align: right;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.74);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  backdrop-filter: blur(18px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: rgba(255, 18, 140, 0.66);
}

.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 48px;
  color: var(--soft);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseLogo {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1.02);
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #111115;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .about-layout,
  .studio-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .studio-media,
  .studio-media img {
    min-height: 320px;
  }

  .team-grid,
  .skills-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    max-width: 124px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section {
    width: min(calc(100% - 24px), var(--max-width));
    padding: 72px 0;
  }

  .hero {
    padding: 96px 12px 24px;
    gap: 24px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-showcase {
    min-height: 168px;
  }

  .showcase-card:first-child {
    top: 8px;
    width: 82vw;
  }

  .showcase-card.offset {
    width: 62vw;
  }

  .hero-badge {
    right: 0;
  }

  .experience-card {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .leadership-grid,
  .skills-grid,
  .project-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .studio-copy,
  .contact-card {
    padding: 24px;
  }

  .contact-links a {
    display: grid;
    justify-items: start;
  }

  .contact-links strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

  .company-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;
    border-radius: 16px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);

    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;

    box-shadow:
        inset 1px 1px 1px rgba(255,255,255,.15),
        inset -1px -1px 1px rgba(0,0,0,.2),
        0 2px 6px rgba(0,0,0,.25);
}

.team-card {
    display: flex;
    align-items: center;
    gap: 18px;
}

.team-card .company-logo {
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}

.team-card .company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}