:root {
  color-scheme: dark;
  --bg: #030303;
  --ink: #f7f4ec;
  --muted: #aaa59a;
  --line: rgba(247, 244, 236, 0.16);
  --panel: rgba(255, 255, 255, 0.055);
  --hot: #d7d7d7;
  --acid: #ededed;
  --cyan: #bdbdbd;
  --pink: #9d9d9d;
  --header: rgba(3, 3, 3, 0.64);
  --chat-strip-height: clamp(7.4rem, 13svh, 9rem);
  --chat-image-overlap: clamp(3.2rem, 7svh, 5.4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: 3.8rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(247, 244, 236, 0.09), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(247, 244, 236, 0.07), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

body.is-intro {
  overflow: hidden;
}

body.is-password {
  overflow: hidden;
}

body.is-password .site-header,
body.is-password main,
body.is-password .atmosphere,
body.is-password .cursor {
  visibility: hidden;
}

body.is-site-revealing {
  overflow: hidden;
}

body.is-site-revealing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 115;
  background: #030303;
  pointer-events: none;
  animation: blackToSite 2400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.is-site-revealing .site-header,
body.is-site-revealing main,
body.is-site-revealing .atmosphere {
  animation: siteScaleIn 2400ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: center center;
}

body.is-site-revealing .cursor {
  opacity: 0;
}

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

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.ascii-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #030303;
  color: var(--ink);
  transition: opacity 800ms ease, visibility 800ms ease;
}

.ascii-intro::before,
.ascii-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ascii-intro::before {
  background:
    linear-gradient(rgba(247, 244, 236, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 236, 0.035) 1px, transparent 1px);
  background-size: 2.3rem 2.3rem;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.ascii-intro::after {
  background:
    radial-gradient(circle at 18% 20%, rgba(247, 244, 236, 0.1), transparent 23rem),
    radial-gradient(circle at 80% 74%, rgba(247, 244, 236, 0.08), transparent 26rem),
    linear-gradient(180deg, transparent, rgba(3, 3, 3, 0.74));
}

.ascii-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ascii-intro.is-background {
  z-index: 0;
  pointer-events: none;
}

#asciiCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(247, 244, 236, 0.075), transparent 24rem),
    #030303;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.password-gate.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.password-panel {
  width: min(100%, 39.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: #0b0b0b;
  box-shadow:
    0 2.2rem 6rem rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(0, 0, 0, 0.75);
}

.terminal-bar {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 0.48rem;
  min-height: 1.75rem;
  padding: 0 0.72rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(180deg, #4a4a4a, #323232);
}

.terminal-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.terminal-bar span:nth-child(1) {
  background: #ff5f57;
}

.terminal-bar span:nth-child(2) {
  background: #febc2e;
}

.terminal-bar span:nth-child(3) {
  background: #28c840;
}

.terminal-bar strong {
  justify-self: center;
  margin-right: 3.6rem;
  color: rgba(255, 255, 255, 0.72);
  font: 600 0.74rem -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  letter-spacing: 0;
}

.terminal-screen {
  min-height: 14.5rem;
  padding: 0.72rem 0.8rem 1rem;
  background: #050505;
  color: #f4f1e9;
  font: 500 0.82rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.35;
}

.password-panel label {
  display: block;
  margin: 0;
  color: rgba(244, 241, 233, 0.9);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.password-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.password-row > span {
  color: rgba(244, 241, 233, 0.9);
  font: inherit;
}

.password-row input {
  min-width: 0;
  height: 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4f1e9;
  caret-color: #f4f1e9;
  font: inherit;
  outline: none;
  -webkit-text-security: disc;
}

.password-row input:focus {
  border-color: transparent;
}

.password-error {
  min-height: 1.1rem;
  margin: 0.25rem 0 0;
  color: #ff8a80;
  font: inherit;
}

@keyframes blackToSite {
  0% {
    opacity: 1;
  }

  54% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
  }
}

@keyframes siteScaleIn {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: scale(0.86);
  }

  34% {
    opacity: 0.28;
  }

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

.cursor {
  position: fixed;
  z-index: 40;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(247, 244, 236, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease, background 180ms ease;
  mix-blend-mode: difference;
}

.cursor.is-active {
  width: 54px;
  height: 54px;
  background: rgba(247, 244, 236, 0.16);
  border-color: rgba(247, 244, 236, 0.28);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(24px);
}

.brand {
  width: max-content;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2.2rem);
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a,
.header-action,
.contact-link {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.header-action:hover,
.contact-link:hover {
  color: var(--ink);
}

.header-action {
  justify-self: end;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 9rem clamp(1rem, 4vw, 4rem) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(19rem, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12rem;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.kicker,
.section-label {
  margin: 0 0 1rem;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(5.2rem, 16vw, 15rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 6.3vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.hero-copy p:not(.kicker),
.intro-band > p,
.service-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.hero-stage {
  position: relative;
  min-height: min(72vh, 58rem);
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.55);
  will-change: transform;
}

.hero-photo img,
.gallery-item img,
.strip-item img {
  filter: saturate(1.08) contrast(1.12);
  transform: scale(1.045);
}

.hero-photo-large {
  right: 9%;
  top: 4%;
  width: min(33vw, 28rem);
  aspect-ratio: 0.78;
  z-index: 2;
}

.hero-photo-wide {
  left: 0;
  bottom: 12%;
  width: min(36vw, 34rem);
  aspect-ratio: 1.5;
  z-index: 3;
}

.hero-photo-tall {
  right: 0;
  bottom: 0;
  width: min(21vw, 18rem);
  aspect-ratio: 0.72;
  z-index: 1;
}

.hero-meta {
  position: absolute;
  left: clamp(1rem, 4vw, 4rem);
  right: clamp(1rem, 4vw, 4rem);
  bottom: 2rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kinetic-strip {
  overflow: hidden;
  padding: 2rem 0 5rem;
}

.strip-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0.5rem 0;
  will-change: transform;
}

.strip-track-left {
  animation: driftLeft 42s linear infinite;
}

.strip-track-right {
  animation: driftRight 48s linear infinite;
}

.strip-item {
  flex: 0 0 auto;
  width: clamp(11rem, 22vw, 26rem);
  aspect-ratio: 1.4;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}

.strip-item:nth-child(3n) {
  aspect-ratio: 0.82;
  width: clamp(9rem, 15vw, 17rem);
}

@keyframes driftLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes driftRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.intro-band,
.showcase,
.services,
.clients,
.contact {
  padding: clamp(4.5rem, 9vw, 9rem) clamp(1rem, 4vw, 4rem);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.filter-button {
  min-height: 2.6rem;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
  background: var(--ink);
  color: var(--bg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.55rem, 1.2vw, 1rem);
}

.gallery-item {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  cursor: zoom-in;
  isolation: isolate;
  opacity: 0;
  transform: translateY(4rem) scale(0.94);
  transition: opacity 700ms ease, transform 700ms ease, border-color 220ms ease;
}

.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.gallery-item::after {
  content: attr(data-title);
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  max-width: calc(100% - 1.7rem);
  padding: 0.38rem 0.55rem;
  background: rgba(3, 3, 3, 0.58);
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  transition: transform 700ms ease, filter 700ms ease;
}

.gallery-item:hover img {
  transform: scale(1.11);
  filter: saturate(1.22) contrast(1.2);
}

.span-2x2 { grid-column: span 4; grid-row: span 2; aspect-ratio: 1; }
.span-wide { grid-column: span 6; grid-row: span 2; aspect-ratio: 1.75; }
.span-tall { grid-column: span 3; grid-row: span 3; aspect-ratio: 0.72; }
.span-small { grid-column: span 3; grid-row: span 1; aspect-ratio: 1.15; }
.span-huge { grid-column: span 7; grid-row: span 3; aspect-ratio: 1.2; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-panel {
  min-height: 25rem;
  padding: clamp(1.2rem, 3vw, 2.25rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 36%),
    rgba(3, 3, 3, 0.88);
}

.service-panel span {
  display: block;
  margin-bottom: 7rem;
  color: var(--hot);
  font-weight: 900;
}

.clients {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-marquee {
  overflow: hidden;
  margin: 1rem calc(clamp(1rem, 4vw, 4rem) * -1);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: logoFlow 38s linear infinite;
}

.logo-marquee-reverse .logo-track {
  animation-direction: reverse;
  animation-duration: 45s;
}

.logo {
  display: grid;
  place-items: center;
  min-width: clamp(10rem, 15vw, 15rem);
  min-height: 6rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 244, 236, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes logoFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.contact h2 {
  max-width: 14ch;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.site-content {
  position: relative;
  z-index: 2;
}

.image-world {
  position: relative;
  height: calc(100svh - 0.2rem);
  overflow: hidden;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
}

.image-world.is-dragging {
  cursor: grabbing;
}

.ideas-wordfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  color: rgba(242, 242, 242, 0.28);
  font-family: Arial Black, Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-transform: uppercase;
}

.ideas-wordfield span {
  position: absolute;
  display: block;
  white-space: nowrap;
  mix-blend-mode: screen;
  text-shadow: 0 0 4rem rgba(255, 255, 255, 0.08);
}

.ideas-wordfield span:nth-child(1) {
  left: 50%;
  top: 2%;
  font-size: clamp(5.5rem, 22vw, 26rem);
  opacity: 0.36;
  transform: translateX(-50%) rotate(-2deg);
}

.ideas-wordfield span:nth-child(2) {
  left: 52%;
  top: 31%;
  font-size: clamp(7rem, 31vw, 34rem);
  opacity: 0.48;
  transform: translateX(-50%) rotate(1.2deg);
}

.ideas-wordfield span:nth-child(3) {
  left: 46%;
  top: 63%;
  font-size: clamp(6rem, 25vw, 29rem);
  opacity: 0.42;
  transform: translateX(-50%) rotate(-1.4deg);
}

.ideas-wordfield span:nth-child(4) {
  left: -4%;
  top: 51%;
  font-size: clamp(4rem, 16vw, 17rem);
  opacity: 0.3;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: left center;
}

.ideas-wordfield span:nth-child(5) {
  right: -5%;
  top: 54%;
  font-size: clamp(4rem, 16vw, 17rem);
  opacity: 0.3;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
}

.ideas-wordfield span:nth-child(6) {
  left: 9%;
  top: 18%;
  font-size: clamp(2.8rem, 10vw, 12rem);
  opacity: 0.22;
  transform: rotate(2deg);
}

.ideas-wordfield span:nth-child(7) {
  right: 7%;
  bottom: -3%;
  font-size: clamp(3.4rem, 13vw, 14rem);
  opacity: 0.26;
  transform: rotate(-2deg);
}

.image-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
}

.world-photo,
.project-card {
  position: absolute;
  display: block;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(247, 244, 236, 0.2);
  background: transparent;
  box-shadow: 0 1.4rem 5rem rgba(0, 0, 0, 0.62);
  cursor: grab;
  opacity: 0.9;
  transform-origin: center center;
  transition: opacity 240ms ease, filter 240ms ease;
  will-change: transform;
}

.world-photo:active,
.project-card:active {
  cursor: grabbing;
}

.world-photo.is-closing {
  opacity: 0;
  pointer-events: none;
  filter: blur(0.25rem);
}

.world-photo img {
  width: 100%;
  height: auto;
  filter: saturate(1.08) contrast(1.14);
  object-fit: unset;
  transform: none;
  pointer-events: none;
}

.project-card {
  overflow: visible;
  cursor: pointer;
  opacity: 0.96;
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 244, 236, 0.14);
  background: rgba(247, 244, 236, 0.035);
  pointer-events: none;
}

.project-card::before {
  transform: translate(1.1rem, 1rem) rotate(2.3deg);
}

.project-card::after {
  transform: translate(2rem, 1.8rem) rotate(4.8deg);
  opacity: 0.62;
}

.project-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border: 1px solid rgba(247, 244, 236, 0.22);
  filter: saturate(1.08) contrast(1.15);
  pointer-events: none;
}

.project-meta {
  position: absolute;
  left: 0;
  bottom: -2.85rem;
  z-index: 3;
  display: grid;
  gap: 0.25rem;
  color: rgba(247, 244, 236, 0.78);
  font: 700 0.74rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  text-align: left;
  text-transform: lowercase;
}

.project-meta strong,
.project-meta small {
  font: inherit;
}

.project-meta small {
  color: rgba(247, 244, 236, 0.45);
}

.photo-close {
  position: absolute;
  top: 0.42rem;
  left: 0.42rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 0.92rem;
  height: 0.92rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ff5f57;
  color: rgba(80, 0, 0, 0.72);
  cursor: pointer;
  font: 800 0.72rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  opacity: 0.88;
  transform: scale(0.92);
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease;
}

.world-photo:hover .photo-close,
.photo-close:focus-visible {
  opacity: 1;
  transform: scale(1);
  color: rgba(80, 0, 0, 0.95);
}

.terminal-chat-section {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: end;
  justify-items: center;
  margin-top: calc(var(--chat-strip-height) * -1);
  min-height: var(--chat-strip-height);
  padding: 0.55rem clamp(1rem, 5vw, 5rem) clamp(4.7rem, 7.5svh, 5.7rem);
  background: transparent;
  pointer-events: none;
}

.chat-lead {
  min-height: 1.35em;
  margin: 0;
  color: rgba(247, 244, 236, 0.92);
  font: 500 clamp(1rem, 1.45vw, 1.45rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  text-shadow:
    0 0.08rem 0.9rem rgba(0, 0, 0, 0.86),
    0 0 2.2rem rgba(0, 0, 0, 0.72);
}

.chat-lead::after {
  content: "_";
  display: inline-block;
  margin-left: 0.15em;
  animation: terminalBlink 820ms steps(1) infinite;
}

.terminal-chat-section.is-ready .chat-lead::after,
.terminal-chat-section.is-chat-open .chat-lead::after {
  opacity: 0;
  animation: none;
}

.chat-start {
  margin-top: 1.15rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(247, 244, 236, 0.22);
  border-radius: 0;
  background: rgba(247, 244, 236, 0.055);
  color: rgba(247, 244, 236, 0.82);
  font: 500 0.72rem ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 420ms ease, transform 420ms ease, background 160ms ease, color 160ms ease;
}

.terminal-chat-section.is-ready .chat-start {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.terminal-chat-section.is-chat-open .chat-start {
  display: none;
}

.chat-start:hover {
  background: rgba(247, 244, 236, 0.12);
  color: #fff;
}

.chat-terminal {
  display: none;
  width: min(100%, 42rem);
  margin-top: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: #050505;
  box-shadow:
    0 2.2rem 7rem rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.2rem) scale(0.985);
  transition: opacity 520ms ease, visibility 520ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.terminal-chat-section.is-chat-open .chat-terminal {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-screen {
  min-height: 23rem;
  padding: 0.8rem;
  background: #050505;
  color: #f4f1e9;
  font: 500 clamp(0.78rem, 1.05vw, 0.9rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.45;
}

.terminal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(244, 241, 233, 0.11);
  color: rgba(244, 241, 233, 0.5);
  font: inherit;
}

.terminal-nav span {
  flex: 1 1 100%;
  color: rgba(244, 241, 233, 0.42);
}

.terminal-nav button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 241, 233, 0.84);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.terminal-nav button::before {
  content: "./";
  color: rgba(244, 241, 233, 0.36);
}

.terminal-nav button:hover,
.terminal-nav button:focus-visible {
  color: #fff;
  outline: none;
}

.terminal-nav-end {
  margin: 0.75rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(244, 241, 233, 0.11);
  border-bottom: 0;
}

.chat-log {
  display: grid;
  gap: 0.22rem;
}

.chat-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  margin: 0;
  color: rgba(244, 241, 233, 0.9);
}

.chat-line span:first-child {
  color: rgba(244, 241, 233, 0.48);
}

.chat-line.is-user {
  color: rgba(244, 241, 233, 0.72);
}

.chat-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  margin-top: 0.22rem;
}

.chat-form[hidden] {
  display: none;
}

.chat-form label {
  color: rgba(244, 241, 233, 0.48);
}

.chat-form input {
  min-width: 0;
  height: 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4f1e9;
  caret-color: #f4f1e9;
  font: inherit;
  outline: none;
}

.chat-ascii {
  margin: 1.4rem 0 0;
  color: rgba(244, 241, 233, 0.86);
  font: 500 clamp(0.9rem, 1.2vw, 1.1rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.05;
  white-space: pre;
}

.about-section {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 3.8rem);
  padding: clamp(5rem, 12svh, 8rem) clamp(1rem, 5vw, 5rem) clamp(7rem, 12svh, 9rem);
  overflow: hidden;
}

.imprint-section {
  min-height: calc(76svh - 3.8rem);
  padding-top: clamp(3rem, 8svh, 6rem);
}

.about-wordfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  color: rgba(242, 242, 242, 0.18);
  font-family: Arial Black, Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-transform: uppercase;
}

.about-wordfield span {
  position: absolute;
  display: block;
  white-space: nowrap;
  mix-blend-mode: screen;
  text-shadow: 0 0 4rem rgba(255, 255, 255, 0.06);
}

.about-wordfield span:nth-child(1) {
  left: 50%;
  top: 7%;
  font-size: clamp(6rem, 28vw, 32rem);
  opacity: 0.36;
  transform: translateX(-50%) rotate(-1.5deg);
}

.about-wordfield span:nth-child(2) {
  left: 5%;
  bottom: 3%;
  font-size: clamp(4rem, 16vw, 18rem);
  opacity: 0.28;
  transform: rotate(2deg);
}

.about-wordfield span:nth-child(3) {
  right: -5%;
  top: 45%;
  font-size: clamp(4rem, 18vw, 20rem);
  opacity: 0.22;
  transform: rotate(-90deg);
  transform-origin: right center;
}

.about-terminal {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(5, 5, 5, 0.82);
  box-shadow:
    0 2.4rem 8rem rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

#about .about-terminal {
  width: min(100%, 68rem);
}

.about-screen {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.6vw, 1.8rem);
  color: rgba(244, 241, 233, 0.84);
  font: 500 clamp(0.82rem, 1.1vw, 0.98rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.58;
}

.about-screen h1 {
  margin: 0.2rem 0 0;
  color: rgba(247, 244, 236, 0.96);
  font: 600 clamp(2.4rem, 8vw, 6rem)/0.9 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: lowercase;
}

.about-perspective-headline span {
  display: inline-block;
  min-width: 2.72em;
}

.about-perspective-headline span::after {
  content: "_";
  display: inline-block;
  color: rgba(244, 241, 233, 0.54);
  animation: terminalBlink 1s steps(1, end) infinite;
}

.about-screen p,
.about-screen ul {
  margin: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.78fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.2rem);
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-ascii-portrait {
  position: relative;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
}

.about-ascii-portrait canvas {
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 360 / 430;
  height: auto;
  border: 1px solid rgba(244, 241, 233, 0.16);
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 1.8rem 5rem rgba(0, 0, 0, 0.34);
}

.about-ascii-portrait figcaption {
  color: rgba(244, 241, 233, 0.42);
  font-size: 0.74rem;
}

.about-screen p:first-child {
  color: rgba(244, 241, 233, 0.7);
}

.about-screen p:first-child span {
  display: block;
  color: rgba(244, 241, 233, 0.4);
}

.about-screen ul {
  display: grid;
  gap: 0.32rem;
  padding: 0;
  list-style: none;
  color: rgba(244, 241, 233, 0.72);
}

.about-screen li::before {
  content: "> ";
  color: rgba(244, 241, 233, 0.36);
}

.perspectives-section {
  min-height: calc(104svh - 3.8rem);
}

.perspectives-terminal {
  width: min(100%, 70rem);
}

.perspectives-screen {
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.perspectives-screen h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 7.4vw, 6.4rem);
}

.perspectives-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 4.5vw, 4rem);
}

.perspectives-cube {
  min-height: clamp(16rem, 36vw, 25rem);
  margin: 0;
  display: grid;
  place-items: center;
  color: rgba(244, 241, 233, 0.9);
  overflow: hidden;
  font: 700 clamp(0.78rem, 1.8vw, 1.38rem)/0.94 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  white-space: pre;
  text-shadow:
    0 0 1.4rem rgba(244, 241, 233, 0.16),
    0 0 4.2rem rgba(244, 241, 233, 0.08);
  transform-origin: center;
  animation: cubeBreathe 7s ease-in-out infinite;
}

.perspectives-copy {
  display: grid;
  gap: 0.9rem;
  color: rgba(244, 241, 233, 0.78);
}

.perspectives-copy p {
  max-width: 54ch;
}

.perspectives-copy ul {
  margin-top: 0.1rem;
}

.imprint-screen {
  gap: 1.15rem;
}

.imprint-screen h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.imprint-screen address {
  margin: 0;
  color: rgba(244, 241, 233, 0.86);
  font: inherit;
  line-height: 1.7;
}

.imprint-screen address::before {
  content: "> ";
  color: rgba(244, 241, 233, 0.36);
}

.game-section {
  min-height: calc(92svh - 3.8rem);
  padding-top: clamp(3.5rem, 9svh, 7rem);
}

.game-terminal {
  width: min(100%, 48rem);
}

.game-screen {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.6vw, 1.8rem);
  color: rgba(244, 241, 233, 0.84);
  font: 500 clamp(0.82rem, 1.1vw, 0.98rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.5;
}

.game-command,
.game-question,
.game-hint {
  margin: 0;
}

.game-command {
  color: rgba(244, 241, 233, 0.5);
}

.game-question {
  color: rgba(247, 244, 236, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.game-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.game-choices button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 241, 233, 0.84);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.game-choices button::before {
  content: "[";
  color: rgba(244, 241, 233, 0.38);
}

.game-choices button::after {
  content: "]";
  color: rgba(244, 241, 233, 0.38);
}

.game-choices button:hover,
.game-choices button:focus-visible {
  color: #fff;
  outline: none;
}

.game-ascii {
  margin: 0;
  color: rgba(244, 241, 233, 0.78);
  font: 500 clamp(0.9rem, 1.2vw, 1.1rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.08;
  white-space: pre;
}

.game-canvas {
  width: 100%;
  max-width: 42rem;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 1px solid rgba(244, 241, 233, 0.2);
  background: #030303;
  image-rendering: pixelated;
}

.game-hint {
  color: rgba(244, 241, 233, 0.54);
  font-size: 0.78rem;
}

@keyframes terminalBlink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes cubeBreathe {
  0%,
  100% {
    opacity: 0.74;
    transform: translate3d(0, 0, 0) scale(0.98);
  }

  50% {
    opacity: 1;
    transform: translate3d(0, -0.32rem, 0) scale(1.02);
  }
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  padding: 0 clamp(1rem, 4vw, 4rem) 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(3, 3, 3, 0.9) 42%, #030303);
  pointer-events: none;
}

.footer-player {
  display: grid;
  grid-template-columns: auto auto minmax(9rem, 18rem) auto minmax(8rem, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.4rem;
  border-top: 1px solid rgba(247, 244, 236, 0.14);
  padding-top: 0.8rem;
  color: rgba(247, 244, 236, 0.68);
  font: 700 0.68rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  pointer-events: auto;
}

.music-toggle,
.music-skip {
  min-width: 3.1rem;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.music-toggle:hover,
.music-toggle.is-playing,
.music-skip:hover,
.music-skip:focus-visible {
  color: #fff;
}

.music-skip {
  min-width: auto;
  color: rgba(247, 244, 236, 0.58);
  text-align: center;
}

.music-title,
.music-time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-title {
  cursor: pointer;
}

.music-progress {
  width: 100%;
  height: 1px;
  accent-color: var(--ink);
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 4.5rem clamp(1rem, 4vw, 4rem) 2rem;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: auto;
  max-width: min(100%, 86rem);
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(247, 244, 236, 0.18);
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.82);
}

.lightbox p {
  margin: 1rem 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  min-width: 4.2rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(247, 244, 236, 0.2);
  background: rgba(3, 3, 3, 0.72);
  color: rgba(247, 244, 236, 0.82);
  cursor: pointer;
  font: 700 clamp(0.82rem, 1.15vw, 1rem) ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.lightbox-prev {
  left: clamp(0.7rem, 2vw, 2.2rem);
}

.lightbox-next {
  right: clamp(0.7rem, 2vw, 2.2rem);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(247, 244, 236, 0.12);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .intro-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-stage {
    min-height: 36rem;
  }

  .hero-photo-large {
    width: min(62vw, 25rem);
  }

  .hero-photo-wide {
    width: min(72vw, 31rem);
  }

  .hero-photo-tall {
    width: min(34vw, 16rem);
  }

  .section-heading {
    display: block;
  }

  .filter-bar {
    justify-content: flex-start;
    margin-top: 1.5rem;
  }

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

  .span-2x2,
  .span-wide,
  .span-huge {
    grid-column: span 6;
  }

  .span-tall,
  .span-small {
    grid-column: span 3;
  }

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

  .service-panel {
    min-height: 18rem;
  }

  .service-panel span {
    margin-bottom: 3rem;
  }

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

  .perspectives-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-ascii-portrait {
    justify-items: start;
  }

  .about-ascii-portrait canvas {
    max-width: min(100%, 26rem);
  }

  .perspectives-cube {
    min-height: clamp(14rem, 42vw, 21rem);
    justify-items: start;
  }

  .music-progress {
    grid-column: 1 / -2;
  }

  .music-time {
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .cursor {
    display: none;
  }

  .site-header {
    min-height: 64px;
  }

  .header-action {
    padding: 0.65rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-stage {
    min-height: 28rem;
  }

  .hero-meta {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid;
    padding: 0 clamp(1rem, 4vw, 4rem) 2rem;
  }

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

  .span-2x2,
  .span-wide,
  .span-tall,
  .span-small,
  .span-huge {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 0.92;
  }

  .perspectives-screen h1 {
    max-width: 10ch;
  }

  .perspectives-cube {
    min-height: 12.5rem;
    font-size: clamp(0.52rem, 2.35vw, 0.78rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ascii-intro {
    display: none;
  }

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