:root {
  --ink: #071522;
  --ink-soft: #0d2032;
  --paper: #f4f6f1;
  --paper-deep: #e9ede6;
  --white: #ffffff;
  --cyan: #69e8ec;
  --cyan-bright: #8fffff;
  --blue: #4287ff;
  --violet: #9b74ff;
  --lime: #ccff65;
  --line-dark: rgba(255, 255, 255, 0.15);
  --line-light: rgba(7, 21, 34, 0.16);
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

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

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

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  background: var(--cyan-bright);
  color: var(--ink);
  font-weight: 800;
  transform: translate(-50%, -130%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0.75rem);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  height: 98px;
  color: var(--white);
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line-dark);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 0.7rem 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--cyan-bright);
  color: var(--ink);
  border-color: var(--cyan-bright);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 45%, rgba(44, 119, 168, 0.22), transparent 36%),
    linear-gradient(135deg, #06121e 0%, #081a2b 48%, #06131f 100%);
  color: var(--white);
}

.hero-grid,
.contact-noise {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(126, 235, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 235, 240, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero-grid::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 47%, rgba(113, 241, 244, 0.06) 47% 47.2%, transparent 47.2%);
  content: "";
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
}

.hero-glow-one {
  top: 20%;
  left: -180px;
  background: var(--blue);
}

.hero-glow-two {
  right: -160px;
  bottom: 4%;
  background: var(--cyan);
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100% - var(--max-width)) / 2));
  z-index: 2;
  width: min(760px, calc(57vw - 40px));
  transform: translateY(-45%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: #197d84;
}

.hero h1,
.manifesto h2,
.portfolio h2,
.games h2,
.contact h2 {
  margin: 0;
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.8rem, 6.35vw, 7.25rem);
}

h1 em,
h2 em {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 620px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 54px;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--cyan-bright);
  color: var(--ink);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.84);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.hero-system {
  position: absolute;
  top: 54%;
  right: max(-70px, calc((100% - var(--max-width)) / 2 - 60px));
  width: min(39vw, 590px);
  aspect-ratio: 1;
  transform: translateY(-47%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(125, 232, 237, 0.22);
  border-radius: 50%;
  inset: 7%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  background: rgba(105, 232, 236, 0.38);
  content: "";
}

.orbit::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.orbit::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.orbit-two {
  inset: 20%;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.orbit-three {
  inset: 33%;
  opacity: 0.7;
}

.orbit-three::before,
.orbit-three::after {
  display: none;
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 24%;
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  background: rgba(4, 18, 29, 0.82);
  border: 1px solid rgba(143, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(105, 232, 236, 0.16);
}

.system-core img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.orbit-label {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.9rem;
  background: rgba(6, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.orbit-label small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.orbit-label strong {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.orbit-label-top {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-label-left {
  bottom: 20%;
  left: 0;
}

.orbit-label-right {
  right: -3%;
  bottom: 30%;
}

.orbit-dot {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  background: var(--cyan-bright);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--cyan);
}

.dot-one {
  top: 22%;
  left: 17%;
}

.dot-two {
  top: 48%;
  right: 6.2%;
}

.dot-three {
  right: 31%;
  bottom: 12%;
}

.hero-foot {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 82px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  border-top: 1px solid var(--line-dark);
}

.hero-foot-line {
  height: 1px;
  background: var(--line-dark);
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(100px, 210px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.section-index {
  padding-top: 0.4rem;
  color: rgba(7, 21, 34, 0.48);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manifesto {
  padding-block: clamp(7rem, 12vw, 12rem);
}

.manifesto-content > h2,
.games h2 {
  max-width: 1050px;
  font-size: clamp(3rem, 6vw, 6.7rem);
}

.manifesto-content h2 em,
.games h2 em {
  color: #177b82;
}

.manifesto-bottom {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  margin-top: clamp(4rem, 7vw, 7rem);
}

.manifesto-bottom > p {
  margin: 0;
  color: rgba(7, 21, 34, 0.68);
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.72;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.principles article {
  min-height: 230px;
  padding: 1.35rem 1.2rem 1.5rem 0;
  border-right: 1px solid var(--line-light);
}

.principles article + article {
  padding-left: 1.2rem;
}

.principles article:last-child {
  border-right: 0;
}

.principles span,
.project-meta span {
  color: rgba(7, 21, 34, 0.38);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.principles h3 {
  margin: 4rem 0 0.7rem;
  font-size: 1rem;
}

.principles p {
  margin: 0;
  color: rgba(7, 21, 34, 0.58);
  font-size: 0.8rem;
  line-height: 1.6;
}

.portfolio {
  padding-block: clamp(7rem, 11vw, 11rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.portfolio .section-index,
.contact .section-index {
  color: rgba(255, 255, 255, 0.38);
}

.portfolio h2 {
  max-width: 900px;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
}

.section-lead {
  max-width: 590px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 1rem;
  line-height: 1.75;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(4rem, 7vw, 7rem);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-card {
  --project-color: var(--cyan);
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #091a29;
  transition: background 240ms ease;
}

.project-card:hover {
  background: #0c2031;
}

.project-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--project-color) 21%, transparent), transparent 48%);
  content: "";
  opacity: 0.72;
  transition: opacity 240ms ease;
}

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

.project-blue {
  --project-color: var(--blue);
}

.project-violet {
  --project-color: var(--violet);
}

.project-lime {
  --project-color: var(--lime);
}

.project-art {
  position: absolute;
  inset: 8% 8% 24%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--project-color) 42%, transparent);
  border-radius: 50% 50% 42% 42%;
  transform: perspective(700px) rotateX(62deg) rotateZ(-32deg);
  transform-origin: center;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-art {
  transform: perspective(700px) rotateX(55deg) rotateZ(-25deg) scale(1.03);
}

.project-art::before,
.project-art::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--project-color) 30%, transparent);
  border-radius: inherit;
  content: "";
  transform: scale(0.72);
}

.project-art::after {
  transform: scale(0.4);
}

.project-window {
  position: absolute;
  z-index: 2;
  display: block;
  background: color-mix(in srgb, var(--project-color) 12%, #071522);
  border: 1px solid color-mix(in srgb, var(--project-color) 68%, transparent);
  box-shadow: 0 0 30px color-mix(in srgb, var(--project-color) 18%, transparent);
}

.window-main {
  top: 25%;
  left: 16%;
  width: 46%;
  height: 42%;
}

.window-side {
  right: 15%;
  bottom: 24%;
  width: 27%;
  height: 35%;
}

.project-axis {
  position: absolute;
  z-index: 1;
  display: block;
  background: color-mix(in srgb, var(--project-color) 48%, transparent);
}

.axis-one {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.axis-two {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.project-mark {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 3;
  color: var(--project-color);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-shadow: 0 0 25px color-mix(in srgb, var(--project-color) 48%, transparent);
  transform: translate(-50%, -50%) rotateZ(32deg);
}

.project-meta {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.project-meta p {
  margin: 0 0 0.45rem;
  color: var(--project-color);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 570;
  letter-spacing: -0.045em;
}

.project-meta span {
  color: rgba(255, 255, 255, 0.42);
}

.special-projects {
  margin-top: clamp(8rem, 12vw, 12rem);
}

.special-heading h2 {
  max-width: 810px;
  font-size: clamp(2.4rem, 4.2vw, 4.75rem);
}

.special-list {
  margin-top: 4rem;
  border-top: 1px solid var(--line-dark);
}

.special-card {
  display: grid;
  grid-template-columns: 0.15fr 1fr 0.35fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 112px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 200ms ease, background 200ms ease, color 200ms ease;
}

.special-card:hover {
  padding-inline: 1.1rem;
  background: var(--cyan-bright);
  color: var(--ink);
}

.special-card > span,
.special-card > p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.special-card:hover > span,
.special-card:hover > p {
  color: rgba(7, 21, 34, 0.6);
}

.special-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 570;
  letter-spacing: -0.035em;
}

.special-card i {
  font-size: 1.5rem;
  font-style: normal;
}

.games {
  padding-block: clamp(7rem, 12vw, 12rem);
}

.games-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.32fr);
  gap: 3rem;
  align-items: end;
}

.games-heading .eyebrow,
.games-heading h2 {
  grid-column: 1;
}

.games-heading > p:last-child {
  grid-row: 2;
  grid-column: 2;
  margin: 0 0 0.8rem;
  color: rgba(7, 21, 34, 0.62);
  line-height: 1.75;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: clamp(4rem, 7vw, 7rem);
}

.game-card {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.8rem);
  border-radius: 4px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.game-card:hover {
  z-index: 2;
  transform: translateY(-7px) rotate(-0.35deg);
  box-shadow: 0 24px 70px rgba(7, 21, 34, 0.22);
}

.game-kpop {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(150deg, #9f48ff 0%, #fb57bd 48%, #ff754c 100%);
  color: var(--white);
}

.game-rescue {
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.3), transparent 22%),
    linear-gradient(150deg, #ffe46b 0%, #ff9f4a 44%, #fa5a5f 100%);
  color: #281618;
}

.game-card::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.game-copy {
  position: relative;
  z-index: 3;
}

.game-copy p {
  margin: 0 0 1rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.game-copy h3 {
  max-width: 80%;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.game-copy > span {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kpop-art,
.rescue-art {
  position: absolute;
  inset: 0;
}

.kpop-disc {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border: clamp(18px, 4vw, 48px) solid rgba(25, 6, 53, 0.84);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.42),
    0 0 0 7px rgba(255, 255, 255, 0.2);
}

.disc-one {
  right: -10%;
  bottom: -10%;
  width: 68%;
}

.disc-two {
  right: 32%;
  bottom: 12%;
  width: 38%;
  border-color: rgba(184, 255, 80, 0.92);
}

.kpop-star {
  position: absolute;
  color: var(--lime);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1;
}

.star-one {
  right: 8%;
  bottom: 40%;
}

.star-two {
  right: 46%;
  bottom: 8%;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
}

.kpop-art strong,
.rescue-art strong {
  position: absolute;
  right: 8%;
  bottom: 7%;
  z-index: 2;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.75;
  transform: rotate(-8deg);
  text-shadow: 6px 6px 0 rgba(15, 6, 35, 0.35);
}

.paw {
  position: absolute;
  display: grid;
  place-items: center;
  color: #0f6c76;
  font-size: 0;
  background: #0f6c76;
  border-radius: 50%;
}

.paw-main {
  right: 26%;
  bottom: 24%;
  width: 25%;
  aspect-ratio: 1.25;
  border-radius: 48% 48% 40% 40%;
  transform: rotate(-12deg);
}

.paw-one,
.paw-two,
.paw-three,
.paw-four {
  width: 9%;
  aspect-ratio: 0.78;
}

.paw-one {
  right: 51%;
  bottom: 43%;
  transform: rotate(-25deg);
}

.paw-two {
  right: 39%;
  bottom: 52%;
  transform: rotate(-8deg);
}

.paw-three {
  right: 25%;
  bottom: 51%;
  transform: rotate(10deg);
}

.paw-four {
  right: 14%;
  bottom: 41%;
  transform: rotate(25deg);
}

.rescue-route {
  position: absolute;
  right: -8%;
  bottom: 10%;
  width: 76%;
  height: 53%;
  border: 4px dashed rgba(255, 255, 255, 0.58);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.rescue-art strong {
  right: 9%;
  bottom: 7%;
  color: #fff9de;
  text-shadow: 6px 6px 0 rgba(64, 24, 21, 0.23);
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(7rem, 12vw, 12rem) 4rem;
  background:
    radial-gradient(circle at 86% 30%, rgba(66, 135, 255, 0.17), transparent 30%),
    var(--ink);
  color: var(--white);
}

.contact-noise {
  opacity: 0.23;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.contact-shell {
  position: relative;
  z-index: 2;
}

.contact h2 {
  max-width: 1100px;
  font-size: clamp(3.4rem, 7vw, 7.7rem);
}

.contact-lead {
  max-width: 610px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.59);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(4rem, 7vw, 7rem);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 170px;
  padding: 2rem;
  background: #0b1d2d;
  transition: background 200ms ease, color 200ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.contact-whatsapp:hover,
.contact-whatsapp:focus-visible {
  background: var(--cyan-bright);
}

.contact-button span {
  display: grid;
  gap: 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 580;
  letter-spacing: -0.045em;
}

.contact-button small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-button:hover small,
.contact-button:focus-visible small {
  color: rgba(7, 21, 34, 0.6);
}

.contact-button i {
  font-size: 2rem;
  font-style: normal;
}

.contact-details {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.contact-details small {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--cyan-bright);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 110px;
  padding-inline: max(24px, calc((100% - var(--max-width)) / 2));
  background: #04101a;
  color: rgba(255, 255, 255, 0.46);
  border-top: 1px solid var(--line-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer .footer-brand {
  color: var(--white);
}

footer > p:last-child {
  justify-self: end;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: 880px;
  }

  .hero-copy {
    width: min(690px, 63vw);
  }

  .hero-system {
    right: -13vw;
    width: 48vw;
    opacity: 0.86;
  }

  .orbit-label-left {
    left: 3%;
  }

  .manifesto-bottom {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 490px;
  }

  .game-card {
    min-height: 530px;
  }
}

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

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

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
    place-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 18px;
    height: 1px;
    background: var(--white);
    transition: transform 180ms ease;
  }

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

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

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    display: grid;
    min-width: 220px;
    padding: 0.6rem;
    background: rgba(5, 18, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
  }

  .mobile-menu nav a {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 920px;
  }

  .hero-copy {
    top: 47%;
    width: calc(100% - 48px);
    transform: translateY(-50%);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 10vw, 5.7rem);
  }

  .hero-system {
    top: 68%;
    right: -22vw;
    width: 58vw;
    opacity: 0.29;
  }

  .orbit-label {
    display: none;
  }

  .section-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-index {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-light);
  }

  .portfolio .section-index,
  .contact .section-index {
    border-bottom-color: var(--line-dark);
  }

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

  .special-projects {
    grid-template-columns: 1fr;
  }

  .games-heading {
    grid-template-columns: 1fr;
  }

  .games-heading > p:last-child {
    grid-row: auto;
    grid-column: 1;
  }

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

  .game-card {
    min-height: 600px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer > p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 580px) {
  .site-header,
  .hero-foot,
  .section-shell {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 82px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 850px;
  }

  .hero-grid {
    background-size: 44px 44px;
  }

  .hero-copy {
    top: 44%;
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.65rem);
    line-height: 0.94;
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-system {
    top: 76%;
    right: -35vw;
    width: 84vw;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    min-height: 62px;
    font-size: 0.56rem;
  }

  .hero-foot-line,
  .hero-foot span:last-child {
    display: none;
  }

  .manifesto-content > h2,
  .games h2 {
    font-size: clamp(2.9rem, 14vw, 4.35rem);
  }

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

  .principles article,
  .principles article + article {
    min-height: auto;
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .principles h3 {
    margin-top: 2.4rem;
  }

  .project-card {
    min-height: 430px;
  }

  .project-art {
    inset: 9% 1% 26%;
  }

  .project-meta {
    right: 1.35rem;
    bottom: 1.35rem;
    left: 1.35rem;
  }

  .special-card {
    grid-template-columns: 0.18fr 1fr auto;
    min-height: 94px;
  }

  .special-card > p {
    display: none;
  }

  .game-card {
    min-height: 500px;
  }

  .game-copy h3 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .game-copy > span {
    position: static;
    display: inline-flex;
    margin-top: 1rem;
  }

  .contact h2 {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
  }

  .contact-button {
    min-height: 140px;
    padding: 1.5rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 2rem 16px;
  }

  footer > p:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 4px;
}

/* Responsive rebuild: tablet and mobile use a true content flow. */
html,
body,
main {
  max-width: 100%;
  overflow-x: clip;
}

main:focus {
  outline: none;
}

img {
  max-width: 100%;
}

.section-shell > *,
.manifesto-content,
.portfolio-heading > *,
.games-content,
.contact-content,
.project-meta > *,
.contact-details > * {
  min-width: 0;
}

.hero-grid,
.game-card::before {
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.contact-noise {
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.orbit-label,
.mobile-panel {
  -webkit-backdrop-filter: blur(18px);
}

.mobile-menu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  place-content: center;
  gap: 7px;
  color: var(--white);
  background: rgba(7, 21, 34, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.mobile-menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.mobile-menu[data-open="true"] .mobile-menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu[data-open="true"] .mobile-menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-panel[hidden] {
  display: none;
}

.button-primary:focus-visible,
.contact-whatsapp:focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 3px var(--ink);
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 88px;
  }

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

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand > span {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    z-index: 30;
    display: grid;
    width: min(20rem, calc(100vw - 3rem));
    padding: 0.5rem;
    overflow: hidden;
    background: rgba(5, 18, 29, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.8rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
  }

  .mobile-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 0.9rem;
    color: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-panel a:last-child {
    margin-top: 0.35rem;
    color: var(--ink);
    background: var(--cyan-bright);
    border: 0;
    border-radius: 0.5rem;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 9.5rem 24px 4.5rem;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(790px, 82%);
    transform: none;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 7.8vw, 5rem);
    line-height: 0.97;
  }

  .hero-system {
    top: auto;
    right: -18vw;
    bottom: 2.5rem;
    width: 55vw;
    transform: none;
    opacity: 0.2;
    pointer-events: none;
  }

  .orbit-label {
    display: none;
  }

  .hero-foot {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 5rem;
    transform: none;
  }

  .section-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .section-index {
    padding: 0 0 0.9rem;
    border-bottom: 1px solid var(--line-light);
  }

  .portfolio .section-index,
  .contact .section-index {
    border-bottom-color: var(--line-dark);
  }

  .manifesto-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

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

  .special-projects {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-list {
    margin-top: 0;
  }

  .games-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .games-heading > p:last-child {
    grid-row: auto;
    grid-column: 1;
    max-width: 34rem;
  }

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

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

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

@media (max-width: 700px) {
  .site-header,
  .section-shell {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 80px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .mobile-menu-toggle {
    width: 46px;
    height: 46px;
  }

  .mobile-panel {
    width: calc(100vw - 32px);
  }

  .hero {
    padding: 7.4rem 16px 3.5rem;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .eyebrow > span {
    width: 18px;
    flex: 0 0 18px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .editorial-break {
    display: none;
  }

  .hero-lead {
    margin-top: 1.5rem;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.8rem;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding-inline: 1rem;
    gap: 0.8rem;
  }

  .hero-system {
    right: -54vw;
    bottom: 2rem;
    width: 116vw;
    opacity: 0.13;
  }

  .hero-foot {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 54px;
    margin-top: 4rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .hero-foot-line,
  .hero-foot span:last-child {
    display: none;
  }

  .section-shell {
    gap: 1.6rem;
  }

  .manifesto,
  .portfolio,
  .games,
  .contact {
    padding-block: 4.75rem;
  }

  .section-index {
    font-size: 0.68rem;
  }

  .manifesto-content > h2,
  .portfolio h2,
  .special-heading h2,
  .games h2,
  .contact h2 {
    font-size: clamp(2.5rem, 11vw, 3.55rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .manifesto-bottom {
    gap: 2.5rem;
    margin-top: 2.75rem;
  }

  .manifesto-bottom > p {
    font-size: 1rem;
    line-height: 1.65;
  }

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

  .principles article,
  .principles article + article {
    min-height: 0;
    padding: 1.3rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .principles h3 {
    margin-top: 1.8rem;
  }

  .principles p {
    font-size: 0.84rem;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    margin-top: 2.8rem;
  }

  .project-card {
    min-height: 0;
    aspect-ratio: 4 / 4.45;
  }

  .project-art {
    inset: 5% 2% 24%;
  }

  .project-mark {
    font-size: 3.2rem;
  }

  .project-meta {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .project-meta h3 {
    font-size: 1.85rem;
  }

  .project-meta p,
  .project-meta span {
    font-size: 0.68rem;
  }

  .special-projects {
    margin-top: 5rem;
  }

  .special-card {
    grid-template-columns: 2.2rem minmax(0, 1fr) auto;
    gap: 0.7rem;
    min-height: 88px;
  }

  .special-card > p {
    display: none;
  }

  .special-card > span {
    font-size: 0.68rem;
  }

  .special-card h3 {
    font-size: 1.35rem;
  }

  .game-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-top: 2.8rem;
  }

  .game-card {
    min-height: 0;
    height: clamp(400px, 118vw, 500px);
    padding: 1.35rem;
  }

  .game-copy p {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .game-copy h3 {
    max-width: 100%;
    font-size: clamp(2.5rem, 11vw, 3.7rem);
    line-height: 0.94;
  }

  .game-copy > span {
    position: static;
    display: inline-flex;
    margin-top: 1rem;
    font-size: 0.64rem;
  }

  .kpop-art strong,
  .rescue-art strong {
    font-size: clamp(4.3rem, 24vw, 7rem);
  }

  .contact-lead {
    margin-top: 1.5rem;
    font-size: 0.98rem;
  }

  .contact-actions {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3rem;
  }

  .contact-button {
    min-height: 116px;
    padding: 1.25rem;
  }

  .contact-button span {
    font-size: 1.75rem;
  }

  .contact-button small {
    font-size: 0.66rem;
  }

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }

  .contact-details small {
    font-size: 0.68rem;
  }

  .contact-details a,
  .contact-details p {
    max-width: 100%;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 1rem;
    min-height: 0;
    padding: 2rem 16px;
    font-size: 0.68rem;
  }

  footer > p:nth-child(2) {
    display: none;
  }

  footer > p:last-child {
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-top: 7rem;
  }

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

  .button {
    font-size: 0.68rem;
    letter-spacing: 0.045em;
  }

  .manifesto-content > h2,
  .portfolio h2,
  .special-heading h2,
  .games h2,
  .contact h2 {
    font-size: 2.35rem;
  }

  .project-meta h3 {
    font-size: 1.65rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .project-card:hover {
    background: #091a29;
  }

  .project-card:hover::before {
    opacity: 0.72;
  }

  .project-card:hover .project-art {
    transform: perspective(700px) rotateX(62deg) rotateZ(-32deg);
  }

  .special-card:hover {
    padding-inline: 0;
    color: inherit;
    background: transparent;
  }

  .special-card:hover > span,
  .special-card:hover > p {
    color: rgba(255, 255, 255, 0.42);
  }

  .game-card:hover {
    transform: none;
    box-shadow: none;
  }
}
