:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #08101b;
  --surface: rgba(10, 16, 27, 0.82);
  --surface-strong: rgba(14, 22, 36, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(166, 186, 220, 0.18);
  --line-strong: rgba(180, 127, 255, 0.56);
  --text: #f7f4f0;
  --muted: #aab2c3;
  --soft: #748096;
  --purple: #a45cff;
  --purple-2: #d55bff;
  --cyan: #2ad4ff;
  --blue: #266cff;
  --green: #33d987;
  --pink: #ff4fab;
  --amber: #ffc84d;
  --max: 1360px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.44);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 84% 10%, rgba(38, 108, 255, 0.22), transparent 31rem),
    radial-gradient(ellipse at 17% 52%, rgba(42, 212, 255, 0.13), transparent 36rem),
    radial-gradient(ellipse at 86% 58%, rgba(164, 92, 255, 0.14), transparent 31rem),
    linear-gradient(180deg, #05070d 0%, #06101a 47%, #04060b 100%);
  letter-spacing: 0;
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(42, 212, 255, 0.06), transparent 30%, rgba(164, 92, 255, 0.06) 69%, transparent),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.88), transparent 21%, transparent 74%, rgba(5, 7, 13, 0.8)),
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.72) 84%);
}

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

button,
input,
select {
  font: inherit;
}

button,
select {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  color: #05070d;
  background: var(--cyan);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(150, 164, 200, 0.16);
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(22px);
}

.nav-shell {
  display: flex;
  width: min(var(--max), calc(100% - 72px));
  min-height: 94px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  filter: drop-shadow(0 0 18px rgba(164, 92, 255, 0.44));
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark svg .brand-mark-bg {
  fill: #6d35d5;
}

.brand-mark svg .brand-mark-mask {
  fill: #f8f7ff;
}

.brand-mark svg circle {
  fill: #05070d;
}

.brand-wordmark strong {
  display: block;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.brand-wordmark span {
  color: var(--purple);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 1.25rem;
}

.nav-links a,
.icon-button {
  position: relative;
  display: inline-flex;
  min-height: 94px;
  align-items: center;
  gap: 0.32rem;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0;
  transition: color 150ms ease;
}

.nav-links a svg,
.icon-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
  opacity: 0;
  transform: scaleX(0.7);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.nav-links a.active {
  color: var(--text);
}

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

.nav-links a:hover,
.nav-links a:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  color: var(--text);
  outline: none;
}

.icon-button {
  width: 36px;
  justify-content: center;
}

.hero-section {
  width: min(var(--max), calc(100% - 72px));
  min-height: 665px;
  margin: 0 auto;
  padding: 70px 0 44px;
}

.hero-grid {
  display: grid;
  min-height: 545px;
  align-items: center;
  grid-template-columns: minmax(420px, 0.82fr) minmax(520px, 1fr);
  gap: 48px;
}

.hero-copy,
.hero-showcase {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: 7.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.93;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 span:last-child {
  color: transparent;
  background: linear-gradient(180deg, #c678ff 0%, var(--purple) 45%, #874cff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 34px rgba(164, 92, 255, 0.22);
}

.hero-lede {
  max-width: 540px;
  margin: 2.1rem 0 0;
  color: #c7cbd5;
  font-size: 1.82rem;
  font-weight: 620;
  line-height: 1.36;
}

.hero-detail {
  max-width: 520px;
  margin: 1.5rem 0 0;
  color: #939daf;
  font-size: 1.08rem;
  font-weight: 440;
  line-height: 1.8;
}

.hero-lede,
.hero-detail {
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 1.45rem;
  font-size: 0.98rem;
  font-weight: 720;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.button-primary {
  color: #d7bbff;
  border-color: rgba(164, 92, 255, 0.88);
  background: rgba(164, 92, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(213, 91, 255, 0.22),
    0 0 30px rgba(164, 92, 255, 0.16);
}

.button-secondary {
  color: #d7dce8;
  border-color: rgba(170, 178, 195, 0.36);
  background: rgba(255, 255, 255, 0.035);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(213, 91, 255, 0.35),
    0 0 40px rgba(164, 92, 255, 0.24);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(42, 212, 255, 0.52);
  background: rgba(255, 255, 255, 0.07);
}

.hero-showcase {
  position: relative;
  min-height: 545px;
  perspective: 1200px;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(42, 212, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 520px;
  height: 520px;
  right: -90px;
  top: 38px;
  border-color: rgba(42, 212, 255, 0.1);
}

.orbit-two {
  width: 380px;
  height: 380px;
  right: -30px;
  top: 130px;
  border-color: rgba(164, 92, 255, 0.11);
}

.hero-product {
  position: absolute;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 48%, rgba(166, 186, 220, 0.24));
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(7, 12, 20, 0.84);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 38px color-mix(in srgb, var(--accent, var(--cyan)) 24%, transparent),
    0 28px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-product::before {
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  content: "";
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18px 17px, #ff4f75 0 3px, transparent 3.5px),
    radial-gradient(circle at 31px 17px, #ffc84d 0 3px, transparent 3.5px),
    radial-gradient(circle at 44px 17px, #33d987 0 3px, transparent 3.5px);
  opacity: 0.78;
}

.hero-product:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 46px color-mix(in srgb, var(--accent, var(--cyan)) 32%, transparent),
    0 32px 82px rgba(0, 0, 0, 0.5);
}

.hero-product-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 0.48rem;
  min-width: 0;
  padding: 3.1rem 1.35rem 1.35rem;
}

.hero-product-copy strong {
  color: #fbf8f2;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.1;
}

.hero-product-copy span {
  color: #aeb6c7;
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-product-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-product-media img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-top {
  right: 42px;
  top: 14px;
  z-index: 1;
  width: 520px;
  height: 188px;
  grid-template-columns: 0.82fr 1.18fr;
  transform: rotate(-6deg) skewX(-1deg);
}

.hero-product-middle {
  left: 0;
  top: 190px;
  z-index: 3;
  width: 520px;
  height: 218px;
  grid-template-columns: 0.74fr 1.26fr;
}

.hero-product-side {
  right: 0;
  top: 245px;
  z-index: 4;
  width: 348px;
  height: 218px;
  grid-template-columns: 0.82fr 1.18fr;
}

.hero-product-bottom {
  left: 118px;
  bottom: 12px;
  z-index: 2;
  width: 460px;
  height: 205px;
  grid-template-columns: 0.82fr 1.18fr;
}

.hero-product-side .hero-product-copy {
  padding-right: 0.75rem;
}

.projects-section {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 10px 0 64px;
}

body[data-visual-view="projects"] .site-header {
  position: relative;
}

body[data-visual-view="projects"] .hero-section {
  display: none;
}

body[data-visual-view="projects"] .projects-section {
  padding-top: 2rem;
}

.section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.controls-panel {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 1.45rem;
  align-items: start;
  border: 1px solid rgba(166, 186, 220, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(7, 12, 20, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    var(--shadow);
  backdrop-filter: blur(18px);
}

.filter-tabs {
  display: flex;
  min-width: 0;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.filter-tab {
  min-height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(166, 186, 220, 0.26);
  border-radius: var(--radius);
  padding: 0 1.24rem;
  color: #c0c6d2;
  background: rgba(255, 255, 255, 0.032);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.filter-tab:hover,
.filter-tab:focus-visible {
  color: var(--text);
  border-color: rgba(164, 92, 255, 0.52);
  outline: none;
  transform: translateY(-1px);
}

.filter-tab.active {
  color: #ffffff;
  border-color: rgba(164, 92, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(164, 92, 255, 0.23), rgba(164, 92, 255, 0.08)),
    rgba(164, 92, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(213, 91, 255, 0.16),
    0 0 24px rgba(164, 92, 255, 0.18);
}

.search-wrap {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(166, 186, 220, 0.26);
  border-radius: var(--radius);
  padding: 0 0.9rem 0 1rem;
  background: rgba(3, 7, 13, 0.58);
}

.search-wrap:focus-within {
  border-color: rgba(164, 92, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(164, 92, 255, 0.12);
}

.search-wrap svg,
.footer-column svg,
.footer-action svg,
.social-links svg,
.load-more svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.search-wrap svg {
  color: #d0d5df;
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 620;
  outline: 0;
}

.search-wrap input::placeholder {
  color: var(--soft);
}

.search-wrap kbd {
  display: grid;
  width: 31px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(166, 186, 220, 0.14);
  border-radius: var(--radius-sm);
  color: #adb5c6;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 700;
}

.controls-meta {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.controls-meta p {
  margin: 0;
  color: #aeb6c7;
  font-size: 0.95rem;
  font-weight: 560;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #909aad;
  font-size: 0.95rem;
  font-weight: 560;
}

.sort-wrap select {
  min-height: 46px;
  border: 1px solid rgba(166, 186, 220, 0.2);
  border-radius: var(--radius);
  padding: 0 2.25rem 0 0.95rem;
  color: #cfd5e0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #0a101b;
  cursor: pointer;
  font-size: 0.92rem;
  outline: 0;
}

.sort-wrap select:focus-visible {
  border-color: rgba(164, 92, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(164, 92, 255, 0.12);
}

.state-panel {
  display: none;
  min-height: 190px;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  text-align: center;
}

.state-panel.visible {
  display: flex;
}

.loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--purple);
  border-radius: 999px;
  animation: spin 900ms linear infinite;
}

.project-grid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 456px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(166, 186, 220, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
    rgba(8, 13, 22, 0.84);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.3);
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease,
    background 170ms ease;
}

.project-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--purple)) 42%, rgba(166, 186, 220, 0.22));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 27, 0.94);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--accent, var(--purple)) 18%, transparent),
    0 28px 72px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.project-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid rgba(166, 186, 220, 0.14);
  background: #09101a;
}

.project-preview img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.035);
}

.project-icon {
  position: absolute;
  left: 1.1rem;
  top: 158px;
  z-index: 3;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent, var(--purple)) 82%, #09101a), rgba(10, 16, 27, 0.96)),
    #111827;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 26px color-mix(in srgb, var(--accent, var(--purple)) 24%, transparent);
  font-size: 0.95rem;
  font-weight: 900;
}

.project-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.initials-icon {
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.16);
}

.card-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 2.85rem 1.15rem 1.1rem;
}

.card-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.card-title-row h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f7f4f0;
  font-size: 1.28rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  padding: 0 0.5rem;
  color: #cfb7ff;
  background: rgba(164, 92, 255, 0.14);
  font-size: 0.73rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.tag.ios-app {
  color: #8fc6ff;
  background: rgba(38, 108, 255, 0.16);
}

.tag.game {
  color: #ff82bd;
  background: rgba(255, 79, 171, 0.14);
}

.tag.tool {
  color: #7df2b2;
  background: rgba(51, 217, 135, 0.13);
}

.tag.creative-custom3d {
  color: #c6a6ff;
  background: rgba(164, 92, 255, 0.16);
}

.card-tagline {
  min-height: 4.4rem;
  margin: 0.9rem 0 1rem;
  color: #b9c0cf;
  font-size: 1rem;
  font-weight: 430;
  line-height: 1.55;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.95rem;
}

.card-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(166, 186, 220, 0.15);
  border-radius: var(--radius-sm);
  padding: 0 0.55rem;
  color: #cfd5e0;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  font-weight: 700;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  color: #fff;
  border-color: color-mix(in srgb, var(--accent, var(--purple)) 42%, rgba(166, 186, 220, 0.2));
  background: color-mix(in srgb, var(--accent, var(--purple)) 18%, rgba(255, 255, 255, 0.03));
  outline: none;
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(166, 186, 220, 0.14);
  padding-top: 0.92rem;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #c5cad5;
  font-size: 0.83rem;
  font-weight: 620;
}

.footer-action svg {
  width: 17px;
  height: 17px;
}

.footer-action.muted {
  color: #8e98ab;
}

.footer-action:hover,
.footer-action:focus-visible {
  color: #fff;
  outline: none;
}

.preview-art {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  align-content: stretch;
  background:
    radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--accent, var(--purple)) 32%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    #08111d;
}

.preview-art::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.preview-chrome {
  position: relative;
  z-index: 1;
  display: flex;
  height: 30px;
  align-items: center;
  gap: 0.34rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 0.75rem;
}

.preview-chrome span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.preview-scene {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 0.9rem 1rem 1rem;
}

.preview-scene strong {
  max-width: 13ch;
  color: #f7f4f0;
  font-size: 0.95rem;
  font-weight: 780;
  line-height: 1.15;
}

.preview-lines {
  display: grid;
  width: 62%;
  gap: 0.38rem;
  margin-top: 0.8rem;
}

.preview-lines span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.preview-lines span:nth-child(2) {
  width: 82%;
}

.preview-lines span:nth-child(3) {
  width: 66%;
}

.preview-lines span:nth-child(4) {
  width: 46%;
}

.preview-accent {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  width: 96px;
  height: 96px;
  border: 2px solid color-mix(in srgb, var(--accent, var(--purple)) 78%, #ffffff);
  border-radius: 50%;
  box-shadow:
    inset 0 0 24px color-mix(in srgb, var(--accent, var(--purple)) 26%, transparent),
    0 0 30px color-mix(in srgb, var(--accent, var(--purple)) 22%, transparent);
}

.preview-tool .preview-accent,
.preview-web-app .preview-accent {
  width: 120px;
  height: 70px;
  border-radius: var(--radius);
  transform: skewX(-8deg);
}

.preview-game .preview-accent {
  width: 112px;
  height: 62px;
  border-radius: 0 0 56px 56px;
  border-top: 0;
}

.preview-creative-custom3d .preview-accent {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  transform: rotate(18deg);
}

.preview-art.compact .preview-chrome {
  height: 24px;
}

.preview-art.compact .preview-scene {
  padding: 0.6rem 0.85rem;
}

.preview-art.compact .preview-scene strong,
.preview-art.compact .preview-lines {
  display: none;
}

.preview-art.compact .preview-accent {
  right: 1rem;
  bottom: 0.7rem;
  width: 86px;
  height: 86px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.7rem;
}

.load-more-wrap[hidden] {
  display: none;
}

.load-more {
  display: inline-flex;
  min-width: 310px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid rgba(166, 186, 220, 0.22);
  border-radius: var(--radius);
  color: #b9c0cf;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
}

.load-more:hover,
.load-more:focus-visible {
  color: #fff;
  border-color: rgba(164, 92, 255, 0.58);
  outline: none;
}

.load-more.expanded svg {
  transform: rotate(180deg);
}

.press-main {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 72px 0 80px;
}

.press-hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
  gap: 56px;
}

.press-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.press-kicker {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.press-copy h1 {
  width: 100%;
  max-width: 690px;
  margin: 0;
  color: #f8f5ef;
  font-size: clamp(3.3rem, 6vw, 6.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: break-word;
}

.press-copy h1 span {
  display: block;
}

.press-copy p:not(.press-kicker) {
  width: 100%;
  max-width: 610px;
  margin: 1.5rem 0 0;
  color: #b7c0cf;
  font-size: 1.18rem;
  font-weight: 480;
  line-height: 1.7;
}

.press-copy p span {
  display: block;
}

.press-preview {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(166, 186, 220, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 52px rgba(42, 212, 255, 0.13),
    var(--shadow);
}

.press-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.press-section {
  margin-top: 68px;
}

.press-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.3rem;
}

.press-section-heading h2,
.press-contact h2 {
  margin: 0;
  color: #f8f5ef;
  font-size: 1.55rem;
  font-weight: 820;
  line-height: 1.15;
}

.press-section-heading p,
.press-contact p,
.asset-copy p {
  max-width: 580px;
  margin: 0;
  color: #9faabd;
  font-size: 1rem;
  line-height: 1.65;
}

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

.press-card,
.asset-row,
.press-contact {
  border: 1px solid rgba(166, 186, 220, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.022)),
    rgba(8, 13, 22, 0.84);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.24);
}

.press-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
}

.press-card span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.press-card strong {
  color: #f8f5ef;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.3;
}

.press-card a {
  width: fit-content;
  color: #cbb5ff;
  font-size: 0.94rem;
  font-weight: 740;
}

.press-card a:hover,
.press-card a:focus-visible {
  color: #fff;
  outline: none;
}

.asset-row,
.press-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.45rem;
}

.asset-copy h3 {
  margin: 0 0 0.35rem;
  color: #f8f5ef;
  font-size: 1.15rem;
  font-weight: 820;
}

.asset-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.press-contact p {
  margin-top: 0.65rem;
}

.site-footer {
  border-top: 1px solid rgba(166, 186, 220, 0.16);
  background: rgba(3, 5, 10, 0.46);
}

.footer-grid,
.footer-bottom {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) 0.72fr 1fr 0.58fr;
  gap: 2.5rem;
  padding: 3rem 0 2.2rem;
}

.footer-brand p,
.footer-column a {
  color: #99a3b5;
  font-size: 0.95rem;
  line-height: 1.62;
}

.footer-brand p {
  max-width: 360px;
  margin: 1rem 0 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.58rem;
}

.footer-column h2 {
  margin: 0 0 0.42rem;
  color: #f8f5ef;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.2;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: color 150ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
  outline: none;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(166, 186, 220, 0.2);
  border-radius: var(--radius);
  color: #b9c0cf;
  background: rgba(255, 255, 255, 0.035);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  border-color: rgba(164, 92, 255, 0.52);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(166, 186, 220, 0.14);
  padding: 1rem 0 1.55rem;
  color: #7f8797;
  font-size: 0.9rem;
}

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

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(360px, 0.78fr) minmax(460px, 1fr);
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 5.6rem;
  }

  .hero-lede {
    font-size: 1.55rem;
  }

  .hero-product-top {
    right: 10px;
    width: 470px;
  }

  .hero-product-middle {
    width: 470px;
  }

  .hero-product-side {
    width: 315px;
  }

  .hero-product-bottom {
    left: 72px;
    width: 430px;
  }

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

@media (max-width: 1120px) {
  .nav-shell,
  .hero-section,
  .projects-section,
  .press-main,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 40px, var(--max));
  }

  .nav-shell {
    min-height: 76px;
  }

  .nav-links a,
  .icon-button {
    min-height: 76px;
  }

  .nav-links a:not(.active):not(:nth-child(3)),
  .icon-button {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 54px 0 38px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 600px;
    font-size: 5.4rem;
  }

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

  .hero-product-top {
    left: 18%;
    right: auto;
    top: 0;
  }

  .hero-product-middle {
    left: 0;
    top: 170px;
  }

  .hero-product-side {
    right: 0;
    top: 245px;
  }

  .hero-product-bottom {
    left: 10%;
    bottom: 0;
  }

  .controls-panel {
    grid-template-columns: 1fr;
  }

  .controls-meta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .press-hero,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .press-preview {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .hero-section,
  .projects-section,
  .press-main,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark strong {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links a,
  .icon-button {
    font-size: 0.88rem;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

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

  .hero-lede {
    font-size: 1.32rem;
    max-width: 21rem;
  }

  .hero-detail {
    font-size: 1rem;
    max-width: 21rem;
  }

  .hero-actions {
    display: grid;
    max-width: 360px;
  }

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

  .hero-orbit {
    display: none;
  }

  .hero-product {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 520px;
    height: 150px;
    margin: 0 0 1rem;
    grid-template-columns: 0.82fr 1.18fr;
    transform: none;
  }

  .hero-product-copy {
    padding: 2.5rem 1rem 1rem;
  }

  .hero-product-copy strong {
    font-size: 1.05rem;
  }

  .hero-product-copy span {
    font-size: 0.78rem;
  }

  .controls-panel {
    padding: 1rem;
  }

  .filter-tabs {
    gap: 0.58rem;
    margin-right: -1rem;
    padding-right: 1rem;
  }

  .filter-tab {
    min-height: 48px;
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }

  .search-wrap {
    min-height: 52px;
  }

  .sort-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .sort-wrap select {
    max-width: 210px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

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

  .press-main {
    width: calc(100% - 28px);
    max-width: var(--max);
    padding: 52px 0 64px;
  }

  .press-copy h1 {
    max-width: 100%;
    font-size: 2.42rem;
    line-height: 1.02;
  }

  .press-copy p:not(.press-kicker) {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .press-copy p:not(.press-kicker) {
    font-size: 1.03rem;
  }

  .press-section-heading,
  .asset-row,
  .press-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .asset-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .nav-shell,
  .hero-section,
  .projects-section,
  .press-main,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 20px, var(--max));
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: 3.35rem;
  }

  .hero-lede {
    font-size: 1.15rem;
  }

  .button {
    width: 100%;
  }

  .hero-product {
    height: 138px;
  }

  .card-title-row {
    display: grid;
  }

  .card-tagline {
    min-height: 0;
  }

  .load-more {
    min-width: 100%;
  }

  .press-copy h1 {
    max-width: 320px;
    font-size: 1.82rem;
  }

  .press-copy p:not(.press-kicker) {
    max-width: 320px;
  }

  .press-main {
    width: calc(100% - 20px);
  }
}

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