:root {
  --red: #ed1c24;
  --red-strong: #d9141c;
  --red-bright: #ff4d55;
  --red-soft: rgba(237, 28, 36, 0.14);

  --bg: #07070a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5f7;
  --muted: #a4a4af;
  --dim: #8b8b96;

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-tech: "Michroma", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --radius-lg: 28px;
  --radius: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

html.no-scroll {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: rgba(237, 28, 36, 0.85);
  color: #fff;
}

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

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1.5px;
  flex-shrink: 0;
  background: currentColor;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background-color 0.25s, border-color 0.25s, box-shadow 0.3s, color 0.25s;
}

.btn .icon {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn:hover .icon-external {
  transform: translate(2px, -2px);
}

.btn:hover .icon-back,
.back-btn:hover .icon {
  transform: translateX(-3px);
}

.btn-sm {
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--red-strong);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 32px -12px rgba(237, 28, 36, 0.75);
}

.btn-primary:hover {
  background: #e3171f;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 40px -12px rgba(237, 28, 36, 0.9);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(7, 7, 10, 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.back-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s;
}

.back-btn .icon {
  transition: transform 0.3s var(--ease-out);
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.back-btn-long {
  display: none;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
}

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

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.nav-cta,
.nav-back,
.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(96px, 10vw, 128px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 10%, transparent 72%);
}

.hero-glow {
  position: absolute;
  top: -420px;
  right: -360px;
  width: 1100px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(237, 28, 36, 0.26), rgba(237, 28, 36, 0.08) 45%, transparent 70%);
}

.hero-glow--low {
  top: auto;
  right: auto;
  bottom: -640px;
  left: -460px;
  width: 960px;
  background: radial-gradient(closest-side, rgba(237, 28, 36, 0.12), transparent 70%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  padding: 0.38rem 0.95rem 0.38rem 0.38rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.release-pill:hover {
  color: var(--text);
  border-color: rgba(237, 28, 36, 0.5);
  background: rgba(237, 28, 36, 0.08);
}

.release-pill:hover .icon-arrow {
  transform: translateX(3px);
}

.release-pill .icon {
  transition: transform 0.3s var(--ease-out);
}

.release-tag {
  flex-shrink: 0;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: var(--red-strong);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.release-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-title {
  margin: 1.6rem 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 1.1rem + 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title .accent {
  background: linear-gradient(95deg, #ffffff 5%, #ff6b71 50%, var(--red) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-word {
  display: inline-block;
}

.hero-title .accent .intro-word {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .accent .intro-word:nth-of-type(1) {
  background-image: linear-gradient(95deg, #ffffff, #ffb0b4);
}

.hero-title .accent .intro-word:nth-of-type(2) {
  background-image: linear-gradient(95deg, #ffb0b4, #ff6b71);
}

.hero-title .accent .intro-word:nth-of-type(3) {
  background-image: linear-gradient(95deg, #ff6b71, var(--red));
}

.hero-lead {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.hero-visual {
  --px: 0;
  --py: 0;
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  justify-self: center;
}

.hv-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 0 solid rgba(255, 255, 255, 0.3);
}

.hv-corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; translate: calc(var(--open, 0) * -20px) calc(var(--open, 0) * -20px); }
.hv-corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; translate: calc(var(--open, 0) * 20px) calc(var(--open, 0) * -20px); }
.hv-corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; translate: calc(var(--open, 0) * -20px) calc(var(--open, 0) * 20px); }
.hv-corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; translate: calc(var(--open, 0) * 20px) calc(var(--open, 0) * 20px); }

.hv-ring {
  position: absolute;
  border-radius: 50%;
}

.hv-ring::before {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hv-ring--outer {
  inset: 7%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  scale: calc(1 + var(--open, 0) * 0.16);
  animation: hv-spin 90s linear infinite;
}

.hv-ring--outer::before {
  top: -3.5px;
  left: calc(50% - 3.5px);
  width: 7px;
  height: 7px;
  background: #fff;
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.6);
}

.hv-ring--inner {
  inset: 19%;
  border: 1px solid rgba(237, 28, 36, 0.28);
  scale: calc(1 + var(--open, 0) * 0.32);
  animation: hv-spin 26s linear infinite reverse;
}

.hv-ring--inner::before {
  top: calc(50% - 4px);
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--red);
  box-shadow: 0 0 14px 3px rgba(237, 28, 36, 0.7);
}

.hv-glow {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(237, 28, 36, 0.6), rgba(237, 28, 36, 0.15) 60%, transparent);
  filter: blur(24px);
  translate: calc(var(--px) * -14px) calc(var(--py) * -14px);
  transform: scale(calc(1 + var(--lock, 0) * 0.6));
  transition: translate 0.6s var(--ease-out);
  animation: hv-glow-in 1.6s ease-out 0.5s both, hv-pulse 6s ease-in-out 2.1s infinite;
}

.hv-mark-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hv-mark {
  width: 54%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
  animation: hv-float 7s ease-in-out 1.4s infinite;
}

.hv-layer {
  transition: transform 0.35s var(--ease-out);
}

.hv-layer--left {
  transform: translate(calc(var(--px) * -8px + var(--split, 0) * -62px), calc(var(--py) * -5px + var(--split, 0) * 20px));
}

.hv-layer--right {
  transform: translate(calc(var(--px) * 8px + var(--split, 0) * 62px), calc(var(--py) * 5px + var(--split, 0) * -20px));
}

.hv-left {
  animation: hv-in-left 1.2s var(--ease-out) 0.25s both;
}

.hv-right {
  animation: hv-in-right 1.2s var(--ease-out) 0.25s both;
}

.hv-chips {
  position: absolute;
  inset: 0;
  rotate: calc(var(--spin, 0) * 1deg);
}

.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(16, 16, 22, 0.94);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  translate: calc(var(--px) * 16px) calc(var(--py) * 16px);
  rotate: calc(var(--spin, 0) * -1deg);
  transition: translate 0.6s var(--ease-out);
  animation: hv-chip-in 0.9s var(--ease-out) both, hv-bob 6s ease-in-out infinite;
}

.hv-chip .icon {
  color: var(--red-bright);
}

.hv-chip--games {
  top: 13%;
  left: -2%;
  animation-delay: 0.9s, 0s;
}

.hv-chip--web {
  top: 45%;
  right: -4%;
  animation-delay: 1.05s, -2s;
}

.hv-chip--software {
  bottom: 11%;
  left: 9%;
  animation-delay: 1.2s, -4s;
}

.hero-statement {
  display: none;
  position: absolute;
  right: 0;
  bottom: 76px;
  left: 0;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), 46rem);
  margin-inline: auto;
  opacity: 0;
  text-align: center;
  pointer-events: none;
}

.hero-statement::before {
  content: "";
  position: absolute;
  inset: -45% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(7, 7, 10, 0.88), rgba(7, 7, 10, 0.5) 60%, transparent);
}

.hero-statement-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-statement-sub {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  text-wrap: balance;
}

.hero-melt {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent 35%, var(--bg) 92%);
  opacity: 0;
  pointer-events: none;
}

.motion-toggle {
  position: absolute;
  bottom: 20px;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem 0 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.72);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.motion-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(16, 16, 22, 0.94);
}

.motion-toggle[hidden] {
  display: none;
}

.motion-toggle .icon {
  width: 1.05em;
  height: 1.05em;
}

.motion-toggle-play,
.is-paused .motion-toggle-pause {
  display: none;
}

.is-paused .motion-toggle-play {
  display: block;
}

.is-paused .hv-ring,
.is-paused .hv-glow,
.is-paused .hv-mark,
.is-paused .hv-chip {
  animation-play-state: paused;
}

@keyframes hv-spin { to { transform: rotate(1turn); } }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hv-chip-in { from { opacity: 0; scale: 0.85; } to { opacity: 1; scale: 1; } }
@keyframes hv-in-left { from { opacity: 0; transform: translate(-60px, 26px); } to { opacity: 1; transform: none; } }
@keyframes hv-in-right { from { opacity: 0; transform: translate(60px, -26px); } to { opacity: 1; transform: none; } }
@keyframes hv-glow-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes hv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }

.xband {
  position: relative;
  height: clamp(150px, 17vw, 230px);
  overflow: hidden;
}

.xband-track {
  position: absolute;
  top: 50%;
  left: -6%;
  display: flex;
  width: 112%;
  padding: 1.05rem 0;
  overflow: hidden;
}

.xband-track--dark {
  background: #121218;
  border-block: 1px solid var(--line);
  transform: translateY(-50%) rotate(3deg);
}

.xband-track--red {
  background: linear-gradient(90deg, #b80f16, var(--red-strong) 50%, #b80f16);
  box-shadow: 0 20px 60px -20px rgba(237, 28, 36, 0.6);
  transform: translateY(-50%) rotate(-3deg);
}

.xband-items {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-tech);
  font-size: clamp(0.9rem, 0.75rem + 0.55vw, 1.3rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}

.xband-track--dark .xband-items {
  color: rgba(255, 255, 255, 0.72);
  animation-direction: reverse;
  animation-duration: 46s;
}

.xband-track--red .xband-items {
  color: #fff;
}

.xband-items i {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  background: currentColor;
  opacity: 0.7;
  transform: rotate(45deg);
}

.xband-track--red .xband-items i {
  background: #0b0b0f;
  opacity: 1;
}

.xband:hover .xband-items {
  animation-play-state: paused;
}

.band-driven .xband-items {
  animation: none;
}

.about {
  padding-top: clamp(84px, 11vw, 150px);
}

.about .eyebrow {
  font-weight: 400;
}

.statement {
  max-width: 62rem;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.statement .hl {
  color: var(--red-bright);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
}

.section--tight-top {
  padding-top: clamp(24px, 4vw, 48px);
}

.section--last {
  padding-bottom: clamp(64px, 8vw, 104px);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .h2 {
  margin-top: 1.2rem;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 4rem;
}

.section-head--split .lead {
  justify-self: end;
  max-width: 30rem;
}

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b10 linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transform: perspective(1100px) rotateX(var(--tilt, 0deg)) translateY(var(--lift, 0px));
  transition: border-color 0.35s, transform 0.45s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(237, 28, 36, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: rgba(237, 28, 36, 0.32);
  transform: perspective(1100px) rotateX(var(--tilt, 0deg)) translateY(calc(var(--lift, 0px) - 4px));
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service {
  display: flex;
  flex-direction: column;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(237, 28, 36, 0.3);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(237, 28, 36, 0.18), rgba(237, 28, 36, 0.06));
  color: var(--red-bright);
}

.service-icon .icon {
  width: 28px;
  height: 28px;
}

.service-index {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--dim);
}

.service h3 {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem);
  letter-spacing: -0.02em;
}

.service p {
  margin-bottom: 1.75rem;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.34rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(237, 28, 36, 0.09), transparent 55%),
    linear-gradient(180deg, #101016, #0a0a0e);
}

.case + .case {
  margin-top: 1.25rem;
}

.case-media {
  min-width: 0;
}

.case-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(70% 60% at 15% 100%, rgba(237, 28, 36, 0.35), transparent 70%),
    radial-gradient(60% 60% at 90% 95%, rgba(191, 90, 242, 0.3), transparent 70%),
    linear-gradient(180deg, #17171e, #0b0b0f);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.case-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

.case-shot {
  position: absolute;
  top: 0;
  left: 3%;
  width: 94%;
  transition: opacity 0.22s ease;
}

.case-shot.is-swapping {
  opacity: 0;
}

.case-taskbar {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5%;
  height: 9%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 14, 0.72);
}

.case-taskbar span {
  width: 3.2%;
  aspect-ratio: 1;
  border-radius: 25%;
  background: rgba(255, 255, 255, 0.14);
}

.case-taskbar span:first-child {
  background: linear-gradient(135deg, #5e5ce6, #bf5af2);
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.case-tab {
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.case-tab:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.case-tab[aria-selected="true"] {
  border-color: var(--text);
  background: var(--text);
  color: #0a0a0e;
}

.case-body {
  padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.25rem, 1vw, 0.75rem);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.case-meta li {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.case-meta .is-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-color: rgba(52, 199, 89, 0.3);
  background: rgba(52, 199, 89, 0.08);
  color: #7ee2a8;
}

.case-meta .is-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
}

.case-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.case-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.case-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.case-tagline {
  margin-top: 0.45rem;
  color: var(--red-bright);
  font-weight: 500;
}

.case-desc {
  color: var(--muted);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.6rem 0;
}

.case-stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.case-stats dt {
  color: var(--dim);
  font-size: 0.74rem;
  line-height: 1.3;
}

.case-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.case-points {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.9rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.case-points .icon {
  margin-top: 0.12em;
  color: var(--red-bright);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.work-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 12px, transparent 12px 24px);
}

.work-next h3 {
  margin: 0.9rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  letter-spacing: -0.02em;
}

.work-next p:not(.eyebrow) {
  color: var(--muted);
}

.studio {
  isolation: isolate;
  overflow: clip;
}

.studio-watermark {
  position: absolute;
  top: 6%;
  right: -10%;
  z-index: -1;
  width: min(62vw, 760px);
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 0.6;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--draw, 1));
  pointer-events: none;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.studio-copy {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.studio-copy .h2 {
  margin: 1.25rem 0 1.5rem;
}

.studio-note {
  margin-top: 1.1rem;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.principle {
  padding: 1.6rem;
}

.principle:nth-child(even) {
  top: 2.5rem;
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 2.25rem;
  border: 1px solid rgba(237, 28, 36, 0.28);
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red-bright);
}

.principle h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.principle p {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(var(--f, 1));
  transform-origin: left;
}

.step::after {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(var(--f, 1) * 100%);
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  opacity: var(--head, 0);
}

.step-num,
.step h3,
.step p {
  opacity: calc(0.38 + var(--f, 1) * 0.62);
  transition: opacity 0.3s;
}

.step-num {
  display: block;
  margin-bottom: 1.4rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--red-bright);
}

.step h3 {
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

.step p {
  color: var(--muted);
  font-size: 0.97rem;
}

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 4.5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(80% 110% at 100% 0%, rgba(237, 28, 36, 0.2), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(237, 28, 36, 0.08), transparent 60%),
    linear-gradient(180deg, #111117, #0a0a0e);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 15% 20%, #000, transparent 70%);
}

.contact-orbit {
  position: absolute;
  bottom: -38%;
  left: -24%;
  z-index: -1;
  width: min(820px, 130%);
  pointer-events: none;
}

.contact-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1.2;
}

.contact-bead {
  fill: var(--red);
}

.contact-dot {
  fill: var(--muted);
}

.contact-copy .h2 {
  margin: 1.25rem 0;
}

.contact-methods {
  display: grid;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.contact-method-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red-bright);
}

.contact-method-text {
  min-width: 0;
}

.contact-method-label {
  display: block;
  color: var(--dim);
  font-size: 0.78rem;
}

.contact-method a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact-method a:hover {
  color: var(--red-bright);
}

.copy-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.copy-btn[data-copied] {
  border-color: rgba(52, 199, 89, 0.35);
  color: #7ee2a8;
}

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 7, 10, 0.78);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.field-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.input::placeholder {
  color: var(--dim);
}

.input:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.input:focus {
  outline: none;
  border-color: rgba(255, 77, 85, 0.8);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.18);
}

textarea.input {
  min-height: 140px;
  resize: vertical;
}

.choices {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices legend {
  margin-bottom: 0.5rem;
  padding: 0;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.choice input:hover + span {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.choice input:checked + span {
  border-color: var(--red-strong);
  background: var(--red-strong);
  color: #fff;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form-note {
  max-width: 16rem;
  color: var(--dim);
  font-size: 0.82rem;
}

.form-status {
  color: #7ee2a8;
  font-size: 0.9rem;
}

.form-status:empty {
  display: none;
}

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 calc(1.75rem + 64px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer-brand img {
  width: 172px;
}

.footer-brand p {
  max-width: 20rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col h2 {
  margin-bottom: 1.1rem;
  font-family: var(--font-tech);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.lost {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 3rem;
  text-align: center;
}

.lost .lead {
  max-width: 34rem;
}

.lost-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-col ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col .icon {
  width: 1em;
  height: 1em;
}

.footer-parent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.footer-parent p {
  color: var(--muted);
}

.footer-logo {
  display: block;
  margin-top: clamp(2.5rem, 7vw, 5.5rem);
  border-radius: 8px;
  color: var(--text);
}

.footer-logo svg {
  width: 100%;
  height: auto;
  aspect-ratio: 395.73 / 60;
}

.logo-o {
  transform-box: view-box;
  transform-origin: 126.62px 35px;
}

.logo-bead {
  fill: #e07b47;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  color: var(--dim);
  font-size: 0.85rem;
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.to-top:hover {
  color: var(--text);
}

.orbit-progress {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 7, 10, 0.92);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out), visibility 0.35s, border-color 0.2s ease;
}

.orbit-progress.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.orbit-progress:hover {
  border-color: var(--text);
}

.orbit-progress svg {
  width: 48px;
  height: 48px;
}

.orbit-progress-track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.orbit-progress-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  transform: rotate(-90deg);
  transform-origin: 24px 24px;
}

.orbit-progress-bead {
  fill: var(--red-bright);
}

.orbit-progress-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-visible,
.js .hero [data-reveal] {
  animation: reveal 0.9s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal="mask"] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translateY(28px);
  transition: clip-path 1s var(--ease-out) calc(var(--d, 0) * 90ms), transform 1s var(--ease-out) calc(var(--d, 0) * 90ms);
}

.js [data-reveal="mask"].is-visible {
  clip-path: inset(0 0 -0.2em 0);
  transform: none;
  animation: none;
}

.js .eyebrow[data-reveal]::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 0.15s;
}

.js .eyebrow[data-reveal].is-visible::before {
  transform: none;
}

.js [data-words] span {
  transition: opacity 0.2s;
}

@keyframes reveal {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: none; }
}

@keyframes word-rise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
    filter: blur(8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-title:not(.is-split) {
    visibility: hidden;
  }

  .is-intro .intro-word {
    animation: word-rise 0.9s var(--ease-out) both;
    animation-delay: calc(var(--i) * 70ms + 150ms);
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 961px) and (min-height: 640px),
  (prefers-reduced-motion: no-preference) and (max-width: 960px) and (min-height: 740px) {
  .js:not(.no-pin) .hero {
    height: 280vh;
    height: 280svh;
    overflow: visible;
  }

  .js:not(.no-pin) .hero-stage {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    padding: var(--header-h) 0 0;
    overflow: hidden;
  }

  .js:not(.no-pin) .hero-statement,
  .js:not(.no-pin) .hero-melt {
    display: block;
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 960px) and (min-height: 740px) {
  .js:not(.no-pin) .hero-stage {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 1.25rem);
  }
}

@media (min-width: 1240px) {
  .back-btn-long {
    display: inline;
  }
}

@media (min-width: 900px) and (max-width: 999px) {
  .nav-link {
    padding-inline: 0.7rem;
  }
}

@media (max-width: 1099px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .case {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-body {
    padding: 0.25rem 0.5rem 0.75rem;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    width: min(100%, 440px);
    margin-top: 0.5rem;
  }

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

  .section-head--split .lead {
    justify-self: start;
  }

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

  .services-grid > :last-child {
    grid-column: 1 / -1;
  }

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

  .studio-copy {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    height: 34px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 1.75px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out), background-color 0.2s;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    transform: translateY(-6px);
  }

  .nav-toggle-bars::after {
    transform: translateY(6px);
  }

  .menu-open .nav-toggle-bars {
    background: transparent;
  }

  .menu-open .nav-toggle-bars::before {
    transform: rotate(45deg);
  }

  .menu-open .nav-toggle-bars::after {
    transform: rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 0.5rem var(--gutter) 1.75rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: none;
    color: var(--red-bright);
  }

  .nav-cta {
    display: flex;
    width: 100%;
    margin-top: 1.5rem;
  }

  .nav-back {
    display: flex;
    width: 100%;
    margin-top: 0.75rem;
  }

  .back-btn {
    width: 44px;
    padding: 0;
  }

  .back-btn-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 359px) {
  .brand img {
    height: 26px;
  }
}

@media (max-width: 640px) {
  .release-extra {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hv-chip {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .hv-chip--games { left: 0; }
  .hv-chip--web { right: 0; }

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

  .principle:nth-child(even) {
    top: 0;
  }

  .principles {
    margin-bottom: 0;
  }

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

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

  .contact-method {
    flex-wrap: wrap;
  }

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

  .case-actions .btn,
  .form-foot .btn {
    flex: 1 1 auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .motion-toggle {
    display: none;
  }
}

@media print {
  .js [data-reveal],
  .js [data-words] span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .js .hero {
    height: auto !important;
  }

  .js .hero-stage {
    position: relative !important;
    height: auto !important;
  }

  .site-header,
  .motion-toggle,
  .hero-statement,
  .hero-melt,
  .orbit-progress,
  .xband {
    display: none !important;
  }
}
