:root {
  --bg: #05070a;
  --bg-elevated: #0c1118;
  --bg-card: #0a0f16;
  --stroke: rgba(25, 230, 244, 0.22);
  --stroke-strong: rgba(25, 230, 244, 0.45);
  --cyan: #19e6f4;
  --cyan-dim: #12b8c4;
  --lime: #c8f542;
  --text: #f4f7fa;
  --text-muted: #9aa3ad;
  --text-dim: #6b7480;
  --black: #000000;
  --radius: 10px;
  --font-display: "Tektur", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
  --nav-h: 4.25rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: clip;
  overflow-wrap: anywhere;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

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

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--cyan);
  color: var(--black);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Atmosphere —— */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 28%, rgba(25, 230, 244, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 35% at 12% 85%, rgba(200, 245, 66, 0.05), transparent 55%),
    var(--bg);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 10, 0.78);
  border-bottom: 1px dashed var(--stroke);
}

.nav {
  min-height: var(--nav-h);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: env(safe-area-inset-top);
}

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

.brand__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.06em;
  color: var(--cyan);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav__cluster {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-switch a,
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 2.5rem;
  min-height: 2.35rem;
  padding: 0 0.65rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch a + a,
.lang-switch button + button,
.lang-switch a + button,
.lang-switch button + a {
  border-left: 1px solid var(--stroke);
}

.lang-switch a:hover,
.lang-switch a:focus-visible,
.lang-switch button:hover,
.lang-switch button:focus-visible {
  color: var(--cyan);
}

.lang-switch a.is-active,
.lang-switch button.is-active {
  background: rgba(25, 230, 244, 0.12);
  color: var(--cyan);
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text);
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--cyan);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* —— Shared —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--lime);
  border: 1px solid rgba(200, 245, 66, 0.45);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  margin-bottom: 1.25rem;
}

.eyebrow svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.35rem;
  min-height: 44px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn--primary {
  background: var(--cyan);
  color: var(--black);
}

.btn--primary svg {
  width: 1rem;
  height: 1rem;
}

.btn--block {
  width: 100%;
}

/* —— Hero —— */
.hero {
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy {
  animation: rise 0.85s ease-out both;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--cyan);
  margin-bottom: 1.1rem;
  max-width: 14ch;
}

.hero__lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 36rem;
  margin-bottom: 0.85rem;
}

.hero__seo,
.studio__seo {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 38rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
}

.project__title-link {
  color: inherit;
  text-decoration: none;
}

.project__title-link:hover,
.project__title-link:focus-visible {
  color: var(--cyan);
}

.project__more {
  margin-top: 1rem;
}

.project__more a {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.project__more a:hover,
.project__more a:focus-visible {
  text-decoration: underline;
}

.studio-who {
  margin: 0 0 1.75rem;
  max-width: 40rem;
}

.studio-who__title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 0.55rem;
}

.studio-who p {
  color: var(--text-muted);
}

.game-page {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
  max-width: 48rem;
}

.game-page__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.game-page__tagline {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin-bottom: 1rem;
}

.game-page__lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 1.25rem;
}

.game-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.game-page section {
  margin-top: 2.25rem;
}

.game-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.game-page p,
.game-page li {
  color: var(--text-muted);
}

.game-page__list {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.game-page__note {
  border: 1px dashed var(--stroke);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-dim);
}

.game-page__back {
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.game-page__back a {
  color: var(--cyan);
}

.game-hero-media {
  margin: 1.75rem 0 0;
}

.game-hero-media img,
.media-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: #000;
}

.game-hero-media figcaption,
.media-grid figcaption {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

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

/* Mall Rage first-look gallery — ~50% of a full-width 4-col grid */
.shot-gallery-section > p {
  max-width: 52rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.shot-gallery-section > p + p {
  margin-top: 0.85rem;
}

.shot-gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem 0.9rem;
  width: min(100%, 40rem);
  margin: 1.5rem auto 0;
  padding: 0;
}

.shot-gallery__item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.shot-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: #0a0e14;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shot-gallery__caption {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
}

.shot-gallery__caption-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  line-height: 1.3;
}

.shot-gallery__thumb:hover,
.shot-gallery__thumb:focus-visible {
  border-color: var(--stroke-strong);
  box-shadow: 0 0 20px rgba(25, 230, 244, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.shot-gallery__thumb:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.shot-gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #0a0e14;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(96vw, 1100px);
  max-height: min(92vh, 900px);
  outline: none;
}

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: inherit;
}

.lightbox__img {
  display: block;
  max-width: min(92vw, 1040px);
  max-height: min(78vh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: #000;
}

.lightbox__caption {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
  max-width: 40rem;
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(12, 17, 24, 0.92);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  border-color: var(--stroke-strong);
  color: var(--cyan);
  outline: none;
}

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

.lightbox__close {
  top: 0;
  right: 0;
  z-index: 2;
  transform: translate(20%, -20%);
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.lightbox__prev {
  left: 0;
  transform: translate(-110%, -50%);
}

.lightbox__next {
  right: 0;
  transform: translate(110%, -50%);
}

body.lightbox-open {
  overflow: hidden;
}

.faq h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 1.15rem 0 0.4rem;
  color: var(--text);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: rise 1s ease-out 0.12s both;
}

.hero__glow {
  position: absolute;
  width: min(100%, 28rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 230, 244, 0.28), transparent 68%);
  filter: blur(8px);
  animation: breathe 5.5s ease-in-out infinite;
}

.hero__logo {
  position: relative;
  width: min(100%, 28rem);
  height: auto;
  background: transparent;
  filter: drop-shadow(0 0 28px rgba(25, 230, 244, 0.18));
}

/* —— Projects —— */
.projects {
  border-top: 1px solid rgba(25, 230, 244, 0.12);
}

.project-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.7fr);
  gap: 1.5rem;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.project:hover {
  border-color: var(--stroke-strong);
  background: #0d141d;
}

.project__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
}

.project__desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 42rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.tags li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.project__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.28);
}

.project__status {
  display: grid;
  gap: 0.45rem;
}

.project__icon {
  width: 1.65rem;
  height: 1.65rem;
  color: var(--lime);
}

.project__status-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.project__status-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.project__nudge {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* —— Studio —— */
.studio {
  border-top: 1px solid rgba(25, 230, 244, 0.12);
}

.studio__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 18ch;
  margin-bottom: 2rem;
}

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

.studio-point {
  padding: 0.25rem 0;
}

.studio-point__icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 0.85rem;
}

.studio-point__icon--lime {
  color: var(--lime);
}

.studio-point__icon--cyan {
  color: var(--cyan);
}

.studio-point h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.studio-point p {
  color: var(--text-muted);
  max-width: 34rem;
}

.studio__specs {
  margin-top: 2.25rem;
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--cyan-dim);
  border-left: 2px solid var(--stroke);
  padding-left: 1rem;
}

/* —— Community —— */
.community {
  border-top: 1px solid rgba(25, 230, 244, 0.12);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.community__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.community__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
}

.community__text {
  color: var(--text-muted);
  max-width: 32rem;
}

.community__cta {
  margin-top: 1.25rem;
}

.socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  height: auto;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(25, 230, 244, 0.04);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-2px);
  border-color: var(--stroke-strong);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(25, 230, 244, 0.18);
}

.social svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.social--discord {
  color: #5865f2;
}

.social--steam {
  color: var(--text);
}

.social--itch {
  color: #fa5c5c;
}

.social--mail {
  color: var(--lime);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.25rem 0 1.75rem;
}

.footer__stack {
  display: grid;
  gap: 0.85rem;
}

.footer__trust {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  color: var(--text-dim);
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  color: var(--cyan);
  opacity: 1;
}

.footer__social svg {
  width: 1rem;
  height: 1rem;
}

/* —— Legal pages —— */
.legal {
  padding: 4rem 0 5rem;
  max-width: 46rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  margin: 2rem 0 0.85rem;
  color: var(--cyan);
}

.legal h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal a {
  color: var(--cyan);
}

.legal .back-link {
  display: inline-block;
  margin-top: 2rem;
}

/* —— Press kit —— */
.press {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
  max-width: 48rem;
}

.press__intro {
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
  max-width: 40rem;
}

.press section {
  margin-top: 2.25rem;
}

.press h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.press h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 1.1rem 0 0.45rem;
  color: var(--text);
}

.press p,
.press li,
.press td {
  color: var(--text-muted);
}

.press-facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.press-facts th,
.press-facts td {
  text-align: left;
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid rgba(25, 230, 244, 0.12);
  vertical-align: top;
}

.press-facts th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-weight: 500;
  width: 10rem;
  white-space: nowrap;
}

.press-team {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 1rem;
}

.press-timeline {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.press-timeline strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 500;
}

.press-boilerplate {
  margin: 0.75rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--cyan);
  background: rgba(25, 230, 244, 0.04);
}

.press-boilerplate p {
  margin: 0;
  color: var(--text-muted);
}

.press .back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--cyan);
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .project {
    grid-template-columns: 1fr;
  }

  .project__aside {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .project__aside .btn {
    width: auto;
    min-width: 10.5rem;
    flex-shrink: 0;
  }

  .project__status {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .shot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 28rem);
  }

  .lightbox__prev {
    left: 0.35rem;
    transform: translateY(-50%);
  }

  .lightbox__next {
    right: 0.35rem;
    transform: translateY(-50%);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__logo {
    width: min(68%, 18rem);
  }

  .hero__glow {
    width: min(90%, 22rem);
  }

  .hero {
    min-height: auto;
    padding-top: 1.75rem;
    padding-bottom: 3rem;
  }

  .hero__title {
    max-width: none;
  }

  .studio__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .studio__headline {
    max-width: none;
  }

  .page-bg {
    background:
      radial-gradient(ellipse 70% 40% at 50% 12%, rgba(25, 230, 244, 0.16), transparent 58%),
      radial-gradient(ellipse 50% 35% at 80% 88%, rgba(200, 245, 66, 0.05), transparent 55%),
      var(--bg);
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 3.75rem;
  }

  body {
    font-size: 1rem;
  }

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

  .shot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 22rem);
    gap: 1rem 0.75rem;
  }

  .lightbox__prev {
    left: 0.25rem;
    transform: translateY(-50%);
  }

  .lightbox__next {
    right: 0.25rem;
    transform: translateY(-50%);
  }

  .lightbox__close {
    transform: none;
    top: 0.35rem;
    right: 0.35rem;
  }

  .lightbox__dialog {
    padding-top: 2.75rem;
  }

  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .section {
    padding: clamp(2.75rem, 10vw, 4.5rem) 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: rgba(5, 7, 10, 0.97);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
  }

  .nav__cluster {
    margin-left: 0;
    gap: 0.65rem;
  }

  .nav__cluster .nav-toggle {
    order: 2;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 1rem 0.25rem;
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand__text {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .hero__copy .btn {
    width: 100%;
  }

  .hero__lead {
    margin-bottom: 1.35rem;
  }

  .project__aside {
    flex-direction: column;
    align-items: stretch;
  }

  .project__aside .btn {
    width: 100%;
  }

  .tags {
    gap: 0.4rem 0.85rem;
  }

  .tags li {
    font-size: 0.72rem;
  }

  .community__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .footer__copy {
    line-height: 1.45;
  }

  .legal {
    padding: 2.5rem 0 4rem;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1rem, var(--max));
  }

  .brand__text {
    font-size: 0.7rem;
  }

  .hero__logo {
    width: min(78%, 15.5rem);
  }

  .hero__title {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .project {
    padding: 1.1rem;
  }

  .project__title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .studio__headline {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
  }

  .community__title {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
  }

  .studio__specs {
    font-size: 0.78rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.85rem 1.1rem;
  }
}

@media (max-width: 360px) {
  .brand__text {
    display: none;
  }

  .eyebrow {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}

/* Short landscape phones / small height */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 1.25rem 0 2rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
  }

  .hero__visual {
    order: 0;
  }

  .hero__logo {
    width: min(100%, 12rem);
  }

  .hero__title {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .eyebrow {
    margin-bottom: 0.65rem;
  }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }
}
