:root {
  color-scheme: dark;
  --void: #020403;
  --night: #06100f;
  --ink: #0a1715;
  --panel: rgba(7, 18, 17, 0.82);
  --panel-strong: rgba(10, 25, 23, 0.94);
  --line: rgba(231, 255, 255, 0.14);
  --line-strong: rgba(231, 255, 255, 0.24);
  --ice: #f3ffff;
  --muted: #a9bfbe;
  --soft: #d8efee;
  --aqua: #36dfff;
  --blue: #0a89d6;
  --mint: #9dffd8;
  --magenta: #ff45d7;
  --shadow: rgba(0, 0, 0, 0.42);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(54, 223, 255, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(2, 4, 3, 0.96), rgba(2, 6, 6, 0.98)),
    var(--void);
  color: var(--ice);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 52% 42%, rgba(54, 223, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(10, 137, 214, 0.16), transparent 36% 64%, rgba(157, 255, 216, 0.08)),
    #000;
  pointer-events: none;
  animation: introExit 680ms cubic-bezier(0.76, 0, 0.24, 1) 880ms forwards;
}

.intro-loader::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 38%, rgba(243, 255, 255, 0.18) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: introSweep 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 240ms forwards;
}

.intro-loader__grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px);
  opacity: 0.28;
  transform: scale(1.04);
}

.intro-loader__penguin {
  position: absolute;
  width: min(300px, 58vw);
  opacity: 0;
  filter: drop-shadow(0 0 28px rgba(54, 223, 255, 0.2));
  transform: translate(-86px, 6px) scale(0.92);
  animation: introPenguin 780ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms forwards;
}

.intro-loader__brand {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(520px, 80vw);
}

.intro-loader__logo {
  width: 100%;
  opacity: 0;
  filter: drop-shadow(0 0 30px rgba(54, 223, 255, 0.2));
  transform: translateY(10px) scale(0.96);
  animation: introLogo 720ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.intro-loader__line {
  position: relative;
  display: block;
  width: min(280px, 58vw);
  height: 2px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(243, 255, 255, 0.14);
}

.intro-loader__line::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--aqua), var(--mint), transparent);
  transform: translateX(-100%);
  animation: introLine 720ms cubic-bezier(0.2, 0.8, 0.2, 1) 220ms forwards;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 255, 255, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 32% 72%, rgba(157, 255, 216, 0.58) 0 1px, transparent 1.7px),
    radial-gradient(circle at 78% 24%, rgba(54, 223, 255, 0.62) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 78%, rgba(243, 255, 255, 0.5) 0 1px, transparent 1.7px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px);
  background-size: 260px 220px, 310px 260px, 360px 300px, 420px 340px, 96px 96px, 96px 96px;
  opacity: 0.46;
  animation: starFieldDrift 42s linear infinite;
  will-change: background-position;
}

body::after {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 18%, rgba(54, 223, 255, 0.055), transparent 44%),
    radial-gradient(ellipse at 76% 62%, rgba(157, 255, 216, 0.04), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.26;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  isolation: isolate;
}

.site-shell::before {
  display: none;
}

.constellation-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.constellation {
  position: absolute;
  display: block;
  width: 320px;
  height: 220px;
  opacity: 0.88;
  filter: drop-shadow(0 0 22px rgba(54, 223, 255, 0.38));
  animation: constellationFloat 18s ease-in-out infinite alternate;
}

.constellation--one {
  top: 14%;
  left: 7%;
}

.constellation--two {
  top: 10%;
  right: 7%;
  width: 280px;
  height: 190px;
  opacity: 0.62;
  transform: rotate(7deg) scale(0.9);
  animation-duration: 22s;
  animation-delay: -8s;
}

.constellation--three {
  right: 12%;
  bottom: 13%;
  width: 360px;
  height: 240px;
  opacity: 0.58;
  transform: rotate(-8deg) scale(1.08);
  animation-duration: 26s;
  animation-delay: -14s;
}

.star,
.trail {
  position: absolute;
  display: block;
}

.star {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow:
    0 0 10px rgba(243, 255, 255, 0.9),
    0 0 26px rgba(54, 223, 255, 0.48);
  animation: starPulse 3.6s ease-in-out infinite alternate;
}

.star--b,
.star--e {
  animation-delay: -1.2s;
}

.star--c,
.star--f {
  animation-delay: -2.1s;
}

.trail {
  height: 1.2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(54, 223, 255, 0.24), rgba(157, 255, 216, 0.92), rgba(54, 223, 255, 0.3));
  opacity: 0.96;
  transform-origin: left center;
}

.constellation--one .star--a { left: 34px; top: 42px; }
.constellation--one .star--b { left: 128px; top: 72px; }
.constellation--one .star--c { left: 216px; top: 38px; }
.constellation--one .star--d { left: 276px; top: 126px; }
.constellation--one .star--e { left: 163px; top: 164px; }
.constellation--one .star--f { left: 68px; top: 148px; }
.constellation--one .trail--ab { left: 38px; top: 46px; width: 99px; transform: rotate(18deg); }
.constellation--one .trail--bc { left: 132px; top: 75px; width: 96px; transform: rotate(-22deg); }
.constellation--one .trail--cd { left: 220px; top: 42px; width: 106px; transform: rotate(56deg); }
.constellation--one .trail--de { left: 166px; top: 167px; width: 120px; transform: rotate(-20deg); }
.constellation--one .trail--ef { left: 72px; top: 151px; width: 96px; transform: rotate(10deg); }
.constellation--one .trail--fa { left: 38px; top: 46px; width: 112px; transform: rotate(72deg); }

.constellation--two .star--a { left: 24px; top: 96px; }
.constellation--two .star--b { left: 96px; top: 42px; }
.constellation--two .star--c { left: 172px; top: 72px; }
.constellation--two .star--d { left: 238px; top: 34px; }
.constellation--two .star--e { left: 218px; top: 148px; }
.constellation--two .trail--ab { left: 28px; top: 99px; width: 92px; transform: rotate(-37deg); }
.constellation--two .trail--bc { left: 100px; top: 46px; width: 83px; transform: rotate(21deg); }
.constellation--two .trail--cd { left: 176px; top: 75px; width: 78px; transform: rotate(-28deg); }
.constellation--two .trail--de { left: 222px; top: 38px; width: 113px; transform: rotate(100deg); }

.constellation--three .star--a { left: 48px; top: 52px; }
.constellation--three .star--b { left: 136px; top: 94px; }
.constellation--three .star--c { left: 212px; top: 62px; }
.constellation--three .star--d { left: 298px; top: 104px; }
.constellation--three .star--e { left: 238px; top: 178px; }
.constellation--three .star--f { left: 108px; top: 188px; }
.constellation--three .trail--ab { left: 52px; top: 56px; width: 98px; transform: rotate(26deg); }
.constellation--three .trail--bc { left: 140px; top: 97px; width: 82px; transform: rotate(-23deg); }
.constellation--three .trail--ce { left: 216px; top: 66px; width: 119px; transform: rotate(78deg); }
.constellation--three .trail--df { left: 112px; top: 191px; width: 201px; transform: rotate(-24deg); }
.constellation--three .trail--ef { left: 112px; top: 191px; width: 131px; transform: rotate(-4deg); }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 58px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(243, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(1, 7, 7, 0.72);
  box-shadow: 0 18px 48px var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms ease,
    top 240ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  border-color: rgba(54, 223, 255, 0.24);
  background: rgba(1, 7, 7, 0.9);
}

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

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #050807;
}

.brand__mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a,
.mobile-menu a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.mobile-menu a:hover {
  color: var(--ice);
  background: rgba(255, 255, 255, 0.07);
}

.header-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ice);
  color: #06100f;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta svg,
.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

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

.header-cta:hover {
  background: var(--mint);
  box-shadow: 0 0 28px rgba(157, 255, 216, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ice);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 45;
  display: none;
  width: min(420px, calc(100% - 32px));
  padding: 10px;
  border: 1px solid rgba(243, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(1, 7, 7, 0.92);
  box-shadow: 0 20px 48px var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.mobile-menu.is-open {
  display: grid;
  gap: 4px;
}

.section {
  position: relative;
  overflow: hidden;
}

.section__inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  isolation: isolate;
  min-height: 100svh;
  padding: 132px 18px 44px;
  place-items: center;
}

.hero::before {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 22% 28%, rgba(243, 255, 255, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 46% 18%, rgba(54, 223, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 38%, rgba(157, 255, 216, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 76%, rgba(243, 255, 255, 0.62) 0 1px, transparent 2px);
  background-size: 310px 260px, 390px 320px, 460px 360px, 540px 430px;
  opacity: 0.2;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, #000 0 54%, transparent 78%);
  animation: heroStarDrift 26s linear infinite;
  will-change: background-position, opacity;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(1.15) contrast(1.1);
  transform-origin: center;
  transform: scale(1.05);
  animation: heroBackdropDrift 30s ease-in-out infinite alternate;
}

.hero__backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(2, 4, 3, 0.42), rgba(2, 4, 3, 0.48)),
    linear-gradient(90deg, rgba(2, 4, 3, 0.72), rgba(2, 4, 3, 0.22) 48%, rgba(2, 4, 3, 0.68));
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, transparent 0 43%, rgba(54, 223, 255, 0.16) 48%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 76px);
  opacity: 0.22;
  animation: gridDrift 18s linear infinite;
}

.penguin-field {
  position: absolute;
  right: -70px;
  bottom: 28px;
  z-index: -1;
  width: min(520px, 72vw);
  height: 54%;
  min-height: 330px;
  background-image: url("./assets/aquartz-logo-white.webp");
  background-size: 86px 86px;
  background-position: center;
  opacity: 0.05;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 80%, transparent);
  animation: penguinPatternDrift 38s linear infinite;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(1080px, 100%);
  text-align: center;
}

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

.hero__penguin {
  display: grid;
  width: min(190px, 44vw);
  height: min(300px, 56vw);
  margin: 0 auto 16px;
  overflow: visible;
  place-items: center;
  filter:
    drop-shadow(0 0 34px rgba(54, 223, 255, 0.18))
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.hero__penguin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.96;
  mix-blend-mode: screen;
}

.hero__focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 850;
}

.hero__focus [data-typing-text] {
  color: var(--soft);
  text-align: left;
  white-space: nowrap;
}

.typing-caret {
  display: inline-block;
  width: 2px;
  flex: 0 0 auto;
  height: 1.25em;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(54, 223, 255, 0.38);
  animation: caretBlink 780ms steps(2, start) infinite;
}

.hero h1 {
  margin: 0;
  font-size: 5.6rem;
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--soft);
  font-size: 1.17rem;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1020px, 100%);
  margin: 34px auto 0;
}

.hero-stat {
  display: grid;
  justify-items: start;
  min-height: 132px;
  padding: 26px 28px;
  border: 1px solid rgba(243, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 48%),
    rgba(7, 10, 10, 0.84);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.2);
}

.hero-stat strong {
  color: var(--aqua);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(54, 223, 255, 0.2);
}

.hero-stat span {
  align-self: end;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 164px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button--primary {
  border: 1px solid rgba(54, 223, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(54, 223, 255, 0.95), rgba(10, 137, 214, 0.92));
  color: #03100f;
  box-shadow: 0 14px 44px rgba(10, 137, 214, 0.28);
}

.button--primary:hover {
  box-shadow: 0 18px 50px rgba(54, 223, 255, 0.34);
}

.button--ghost {
  border: 1px solid rgba(243, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ice);
}

.button--ghost:hover {
  border-color: rgba(157, 255, 216, 0.48);
  background: rgba(255, 255, 255, 0.07);
}

.section--light {
  background: transparent;
}

.about,
.work,
.team,
.contact {
  padding: 110px 0;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 42px;
}

.section-heading--center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-heading--center h2,
.section-heading--center p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.8fr);
  gap: 32px 70px;
}

.about__copy {
  align-self: end;
  color: var(--soft);
  font-size: 1.08rem;
}

.about__copy p {
  margin: 0;
}

.about__copy p + p {
  margin-top: 18px;
}

.about__panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about__panel > div,
.work-card,
.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 46%),
    var(--panel);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18);
}

.about__panel > div {
  min-height: 220px;
  padding: 26px;
}

.about__panel > div::before,
.work-card::before,
.team-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 32%, rgba(54, 223, 255, 0.13) 44%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.about__panel > div:hover::before,
.work-card:hover::before,
.team-card:hover::before {
  opacity: 1;
}

.about__panel h3,
.work-card h3,
.team-card h3 {
  margin: 28px 0 8px;
  color: var(--ice);
  font-size: 1.22rem;
  letter-spacing: 0;
}

.about__panel p,
.work-card p,
.team-card p {
  margin: 0;
  color: var(--muted);
}

.about-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(54, 223, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(54, 223, 255, 0.24), rgba(10, 137, 214, 0.12)),
    rgba(54, 223, 255, 0.08);
  color: var(--aqua);
  box-shadow: 0 16px 34px rgba(10, 137, 214, 0.12);
}

.about-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 100%);
  margin-top: 44px;
  margin-right: auto;
  margin-left: auto;
}

.game-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 10, 10, 0.9);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.game-card:hover {
  border-color: rgba(54, 223, 255, 0.38);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(-6px);
}

.game-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(54, 223, 255, 0.12) 47%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 38%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.game-card:hover::before {
  opacity: 1;
}

.game-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: #020807;
}

.game-card__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(2, 4, 3, 0.68)),
    linear-gradient(90deg, rgba(2, 4, 3, 0.12), transparent 42%, rgba(2, 4, 3, 0.18));
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 420ms ease;
}

.game-card:hover .game-card__media img {
  transform: scale(1.045);
}

.game-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: 28px 30px 30px;
}

.game-card h3 {
  margin: 0;
  color: var(--ice);
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.game-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
}

.game-card__stat svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.game-card__stat--ccu svg {
  color: var(--aqua);
}

.game-card__stat--likes svg {
  color: var(--mint);
}

.game-card__stat--visits svg {
  color: #7ea5ff;
}

.game-card__stat span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.game-card__stat strong {
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1;
}

.game-card__stat small {
  color: rgba(169, 191, 190, 0.84);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-card__note {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.game-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  width: 100%;
  margin-top: 2px;
  border: 2px solid rgba(243, 255, 255, 0.88);
  border-radius: 999px;
  color: var(--ice);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.game-card__button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.game-card__button:hover {
  border-color: var(--mint);
  background: rgba(157, 255, 216, 0.1);
  color: var(--mint);
  transform: translateY(-2px);
}

.work-card {
  display: grid;
  min-height: 340px;
  padding: 24px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.work-card:hover,
.team-card:hover {
  border-color: rgba(54, 223, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(54, 223, 255, 0.11), transparent 48%),
    var(--panel-strong);
  transform: translateY(-6px);
}

.work-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.work-card__number {
  color: rgba(243, 255, 255, 0.2);
  font-size: 3rem;
  line-height: 0.8;
  font-weight: 950;
}

.work-card__tag {
  padding: 6px 10px;
  border: 1px solid rgba(157, 255, 216, 0.24);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 900;
}

.work-card__body {
  align-self: end;
}

.work-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.work-card__skills span {
  padding: 7px 10px;
  border: 1px solid rgba(243, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.team {
  background: transparent;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.team-card {
  display: grid;
  grid-template-rows: 270px auto;
  min-height: 390px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.team-card__avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(54, 223, 255, 0.16), transparent 55%),
    #020807;
}

.team-card__avatar img {
  width: min(88%, 270px);
  height: 248px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.34));
}

.team-card__content {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.team-card h3 {
  margin: 0;
}

.team-card__role {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.team-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 6px;
  color: var(--mint);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.team-card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.contact {
  min-height: 650px;
  background: transparent;
}

.contact::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 74px),
    linear-gradient(180deg, rgba(2, 4, 3, 0.04), rgba(2, 4, 3, 0.62));
}

.contact__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(280px, 620px);
  align-items: center;
  gap: 72px;
}

.contact__brand {
  display: grid;
  min-height: 340px;
  place-items: center;
}

.contact__brand img {
  width: min(390px, 100%);
  filter: drop-shadow(0 0 38px rgba(54, 223, 255, 0.2));
}

.contact__copy h2 {
  margin: 0;
  font-size: 3.8rem;
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
}

.contact__copy p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 1.11rem;
}

.contact__actions {
  justify-content: flex-start;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

@keyframes starFieldDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 260px 220px, -310px 260px, 360px -300px, -420px -340px, 96px 0, 0 96px;
  }
}

@keyframes skyBreathe {
  from {
    background-position: 0 0, 100% 0, center;
    opacity: 0.32;
    transform: translate3d(-1.5%, -1%, 0);
  }

  to {
    background-position: 34% 0, 62% 0, center;
    opacity: 0.5;
    transform: translate3d(1.5%, 1%, 0);
  }
}

@keyframes heroStarDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
    opacity: 0.14;
  }

  50% {
    opacity: 0.24;
  }

  100% {
    background-position: 310px 260px, -390px 320px, 460px -360px, -540px -430px;
    opacity: 0.14;
  }
}

@keyframes constellationFloat {
  from {
    translate: -10px -8px;
  }

  to {
    translate: 14px 10px;
  }
}

@keyframes starPulse {
  from {
    opacity: 0.46;
    transform: scale(0.86);
  }

  to {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@keyframes heroBackdropDrift {
  from {
    transform: scale(1.05) translate3d(-1.2%, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(1.4%, -1%, 0);
  }
}

@keyframes penguinPatternDrift {
  from {
    background-position: center;
  }

  to {
    background-position: 172px 86px;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 0, 76px 0;
  }
}

@keyframes introLogo {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introPenguin {
  0% {
    opacity: 0;
    transform: translate(-112px, 10px) scale(0.86);
  }

  55% {
    opacity: 0.18;
  }

  100% {
    opacity: 0.16;
    transform: translate(-78px, 4px) scale(1);
  }
}

@keyframes introLine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes introSweep {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes introExit {
  0% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
  }
}

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

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: 100svh;
    padding-top: 122px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .section-heading h2,
  .contact__copy h2 {
    font-size: 2.7rem;
  }

  .section-heading--split,
  .about__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .about__panel,
  .work-grid {
    grid-template-columns: 1fr;
  }

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

  .contact__layout {
    gap: 26px;
  }

  .contact__brand {
    min-height: 170px;
    justify-items: start;
  }

  .contact__brand img {
    width: min(300px, 78vw);
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 22px);
    min-height: 54px;
    padding: 7px 8px 7px 12px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 100svh;
    padding: 106px 14px 104px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__penguin {
    width: min(160px, 42vw);
    height: min(240px, 52vw);
    margin-bottom: 12px;
  }

  .hero__focus {
    min-height: 30px;
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .hero__actions,
  .contact__actions {
    align-items: stretch;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-stat {
    min-height: 104px;
    padding: 20px;
  }

  .about,
  .work,
  .team,
  .contact {
    padding: 78px 0;
  }

  .section-heading h2,
  .contact__copy h2 {
    font-size: 2.1rem;
  }

  .section-heading p:not(.eyebrow),
  .about__copy,
  .contact__copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .about__panel > div {
    min-height: 190px;
    padding: 22px;
  }

  .work-card {
    min-height: 310px;
  }

  .game-card__body {
    gap: 18px;
    padding: 22px;
  }

  .game-card h3 {
    font-size: 1.65rem;
  }

  .game-card__stats {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-rows: 250px auto;
    min-height: 360px;
  }

  .team-card__avatar img {
    width: min(90%, 260px);
    height: 230px;
  }

  .site-footer {
    display: grid;
    justify-content: start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  body.is-loading {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .intro-loader {
    display: none;
  }
}
