/* ============ NEXOWA — Ethereal Glass ============ */
:root {
  --bg: #050505;
  --bg-soft: #0a0a0c;
  --fg: #f4f4f2;
  --fg-dim: rgba(244, 244, 242, 0.55);
  --fg-faint: rgba(244, 244, 242, 0.32);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --accent: #8b7bff;
  --accent-2: #4fd8b8;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font-display: "Clash Display", sans-serif;
  --font-body: "Switzer", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(139, 123, 255, 0.35); color: #fff; }

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

.container {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.section { padding-block: clamp(6rem, 12vw, 11rem); position: relative; }

em { font-style: italic; font-weight: 400; }

/* ---------- Liquid background ---------- */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.liquid-blob {
  position: absolute;
  will-change: transform, border-radius;
  filter: blur(min(9vw, 90px));
  mix-blend-mode: screen;
  opacity: 0.65;
}
.liquid-blob--a {
  top: -18%;
  left: -12%;
  width: 62vw;
  height: 62vw;
  background: radial-gradient(circle at 35% 35%, rgba(139, 123, 255, 0.85), rgba(139, 123, 255, 0) 70%);
  animation: liquid-drift-a 26s ease-in-out infinite alternate, liquid-morph-a 17s ease-in-out infinite alternate;
}
.liquid-blob--b {
  bottom: -22%;
  right: -14%;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle at 60% 40%, rgba(79, 216, 184, 0.75), rgba(79, 216, 184, 0) 70%);
  animation: liquid-drift-b 31s ease-in-out infinite alternate, liquid-morph-b 21s ease-in-out infinite alternate;
}
.liquid-blob--c {
  top: 28%;
  left: 38%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at 50% 50%, rgba(191, 180, 255, 0.5), rgba(191, 180, 255, 0) 70%);
  opacity: 0.45;
  animation: liquid-drift-c 23s ease-in-out infinite alternate, liquid-morph-b 28s ease-in-out infinite alternate-reverse;
}

@keyframes liquid-drift-a {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(8vw, 10vh) scale(1.12) rotate(8deg); }
  100% { transform: translate(-4vw, 14vh) scale(0.96) rotate(-6deg); }
}
@keyframes liquid-drift-b {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-10vw, -8vh) scale(1.08) rotate(-10deg); }
  100% { transform: translate(-2vw, -14vh) scale(0.94) rotate(6deg); }
}
@keyframes liquid-drift-c {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 8vh) scale(1.15); }
  100% { transform: translate(7vw, -6vh) scale(0.9); }
}
@keyframes liquid-morph-a {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 40% 60% 65% 35% / 45% 55% 45% 55%; }
  100% { border-radius: 55% 45% 40% 60% / 35% 65% 35% 65%; }
}
@keyframes liquid-morph-b {
  0% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; }
  50% { border-radius: 65% 35% 40% 60% / 40% 60% 40% 60%; }
  100% { border-radius: 50% 50% 55% 45% / 60% 40% 60% 40%; }
}

@media (max-width: 768px) {
  .liquid-blob--a, .liquid-blob--b { width: 90vw; height: 90vw; }
  .liquid-blob--c { display: none; }
}

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

/* ---------- Scroll progress hairline ---------- */
.progressbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 85;
  pointer-events: none;
}

/* ---------- Char-split (headline reveals) ---------- */
.line .wd { display: inline-block; white-space: nowrap; }
.line .ch {
  display: inline-block;
  transform: translateY(115%) rotate(5deg);
  transform-origin: 0% 100%;
  will-change: transform;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.22em; font-weight: 500;
  font-family: var(--font-mono);
  color: var(--fg-dim);
}
.eyebrow__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  font-size: 0.92rem; font-weight: 500;
  transition: transform 0.6s var(--ease), background 0.6s var(--ease), border-color 0.6s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn__icon {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn__icon { transform: translate(2px, -2px) scale(1.05); }

.btn--primary {
  background: var(--fg); color: #0a0a0a;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 20px 50px -20px rgba(244, 244, 242, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary .btn__icon { background: rgba(0, 0, 0, 0.07); }

.btn--ghost {
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  padding: 0.65rem 1.4rem;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, 0.08); }

.btn--nav { background: var(--fg); color: #0a0a0a; font-size: 0.85rem; padding: 0.3rem 0.3rem 0.3rem 1.1rem; }
.btn--nav .btn__icon { width: 1.8rem; height: 1.8rem; background: rgba(0, 0, 0, 0.07); }

.btn--lg { font-size: 1.05rem; padding: 0.55rem 0.55rem 0.55rem 1.7rem; }
.btn--lg.btn--ghost { padding: 0.85rem 1.7rem; }
.btn--lg .btn__icon { width: 2.5rem; height: 2.5rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: center;
  padding-top: 1.4rem;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 2rem;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.nav--hidden .nav__pill { transform: translateY(-140%); opacity: 0; }
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.14em;
}
.nav__dot { color: var(--accent); }
.nav__links { display: flex; gap: 1.6rem; }
.nav__link {
  font-size: 0.88rem; color: var(--fg-dim);
  transition: color 0.5s var(--ease);
}
.nav__link:hover { color: var(--fg); }

.nav__burger {
  display: none;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; background: var(--fg);
  transition: transform 0.6s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 3px)); }
.nav__burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 3px)); }
.menu-open .nav__burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 0.5rem; }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  font-weight: 500; line-height: 1.15;
  overflow: hidden; display: block;
}
.menu__link span {
  display: block;
  transform: translateY(110%); opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.menu-open .menu__link:nth-child(1) span { transition-delay: 0.1s; }
.menu-open .menu__link:nth-child(2) span { transition-delay: 0.16s; }
.menu-open .menu__link:nth-child(3) span { transition-delay: 0.22s; }
.menu-open .menu__link:nth-child(4) span { transition-delay: 0.28s; }
.menu-open .menu__link span { transform: translateY(0); opacity: 1; }
.menu__footer {
  margin-top: 3rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  color: var(--fg-dim); font-size: 0.9rem;
  opacity: 0; transition: opacity 0.9s var(--ease) 0.35s;
}
.menu-open .menu__footer { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding-top: 7rem;
  padding-bottom: clamp(3rem, 7vh, 6rem);
  overflow: hidden;
}
@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.4rem, 16vw, 3rem); }
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 20%, rgba(139, 123, 255, 0.14), transparent 70%),
    radial-gradient(45% 40% at 15% 80%, rgba(79, 216, 184, 0.08), transparent 70%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.05) 40%, var(--bg) 96%);
  pointer-events: none;
}

/* Construction rings drawn around the 3D core (alche-style draw-in) */
.hero__draw {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-58%);
  width: min(46vw, 680px);
  height: auto;
  pointer-events: none;
}
.hero__draw line, .hero__draw circle { fill: none; }
.hero__draw .d-dot { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; stroke-dasharray: 2 7; }
.hero__draw .d-cross { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
@media (max-width: 900px) {
  .hero__draw { right: -30%; width: 90vw; opacity: 0.5; }
}

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 2rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9.5vw, 8.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__title em { color: var(--accent); font-style: italic; }
.line { display: block; overflow: hidden; }
.line__inner { display: block; transform: translateY(115%); }

.hero__bottom {
  margin-top: 3rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.hero__subwrap { display: flex; flex-direction: column; gap: 1rem; }
.hero__sub {
  max-width: 26rem;
  color: var(--fg-dim);
  font-size: 1.05rem; font-weight: 300;
}
.hero__sub-en {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg-faint);
  max-width: 26rem;
}
.hero__scrollhint {
  position: absolute; right: 2.5rem; bottom: 3rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--fg-faint);
}
.hero__scrollline {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--fg-dim));
  overflow: hidden; position: relative;
}
.hero__scrollline::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bg);
  animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--hairline);
  padding-block: 1.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 400;
  color: var(--fg-dim); white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-style: normal; font-size: 0.8rem; }

/* ---------- Manifest ---------- */
.manifest .container { max-width: 62rem; }
.manifest__label { margin-bottom: 2.5rem; }
.manifest__text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.manifest__text .w { opacity: 0.12; transition: opacity 0.5s var(--ease); }
.manifest__en {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg-faint);
  max-width: 34rem;
}

/* ---------- Section heads ---------- */
.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08; letter-spacing: -0.015em;
}
.section__title .tw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.section__title .tw > span { display: inline-block; will-change: transform; }

/* ---------- Double-Bezel shell / cards ---------- */
.shell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
  border-radius: 2rem;
  padding: 0.45rem;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  position: relative;
}
/* Border draw-in (animated via JS): four edges */
.shell .edge {
  position: absolute;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 2;
}
.shell .edge--t { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; }
.shell .edge--b { bottom: 0; left: 0; right: 0; height: 1px; transform-origin: right; }
.shell .edge--l { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: bottom; }
.shell .edge--r { top: 0; bottom: 0; right: 0; width: 1px; transform-origin: top; }

.card {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--hairline);
  border-radius: calc(2rem - 0.45rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.7s var(--ease), background 0.7s var(--ease);
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 123, 255, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.shell:hover .card::after { opacity: 1; }
.shell:hover .card {
  border-color: var(--hairline-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.card > * { position: relative; z-index: 1; }

.card__num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 500;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em;
}
.card p { color: var(--fg-dim); font-size: 0.96rem; font-weight: 300; }
.card__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; }
.card__tags span {
  font-size: 11px; letter-spacing: 0.08em;
  border: 1px solid var(--hairline);
  border-radius: 999px; padding: 0.3rem 0.8rem;
  color: var(--fg-dim);
}
.card--row {
  flex-direction: row; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.card--row > div { display: flex; flex-direction: column; gap: 1rem; max-width: 34rem; }

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}
.shell--lg { grid-column: span 6; grid-row: span 2; }
.shell { grid-column: span 6; }
.bento .shell:nth-child(3), .bento .shell:nth-child(4) { grid-column: span 3; }
.shell--wide { grid-column: span 12; }

/* ---------- Process ---------- */
.section--process { background: var(--bg-soft); border-block: 1px solid var(--hairline); }
.process { display: flex; flex-direction: column; }
.process__step {
  display: grid; grid-template-columns: 8rem 1fr;
  gap: 2rem; align-items: start;
  padding-block: 2.6rem;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.process__step:last-child { border-bottom: 1px solid var(--hairline); }
/* animated divider line (scaleX from JS) */
.process__step .divider {
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: rgba(255, 255, 255, 0.25);
  transform-origin: left;
  transform: scaleX(0);
}
.process__num {
  font-family: var(--font-mono);
  color: var(--fg-faint); font-size: 0.85rem; letter-spacing: 0.1em;
  padding-top: 0.4rem;
}
.process__step h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.6rem; letter-spacing: -0.01em;
}
.process__step p { color: var(--fg-dim); max-width: 34rem; font-weight: 300; }

/* ---------- Studio ---------- */
.studio {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.studio__text { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; position: sticky; top: 8rem; }
.studio__text p { color: var(--fg-dim); font-weight: 300; max-width: 30rem; }
.studio__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.card--stat { gap: 0.4rem; justify-content: flex-end; min-height: 11rem; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--fg-dim); font-size: 0.85rem; font-weight: 300; }

/* ---------- CTA ---------- */
.section--cta { padding-bottom: clamp(4rem, 8vw, 8rem); }
.cta {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  padding-block: clamp(2rem, 6vw, 4rem);
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1.05; letter-spacing: -0.02em;
}
.cta__title em { color: var(--accent); }
.cta__sub { color: var(--fg-dim); font-weight: 300; max-width: 26rem; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }

/* ---------- "oder" divider ---------- */
.divider-or {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 40rem;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto;
}
.divider-or__line { flex: 1; height: 1px; background: var(--hairline-strong); }
.divider-or__label {
  font-family: var(--font-mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--fg-dim);
}

/* ---------- Kontaktformular ---------- */
.shell--form { max-width: 52rem; margin-inline: auto; display: block; }
.form { text-align: left; gap: 1.6rem; }
.form__head { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.4rem; }
.form__head h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.form__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field__label {
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--fg-dim);
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem; font-weight: 300;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 0.9rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field input:focus, .field textarea:focus {
  border-color: rgba(139, 123, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: rgba(255, 110, 110, 0.6); }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 400;
  color: var(--fg-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.chip:hover { border-color: var(--hairline-strong); color: var(--fg); transform: translateY(-1px); }
.chip.is-selected {
  color: var(--fg);
  border-color: rgba(139, 123, 255, 0.7);
  background: rgba(139, 123, 255, 0.14);
  box-shadow: 0 0 24px -8px rgba(139, 123, 255, 0.5);
}
.chips.is-invalid .chip { border-color: rgba(255, 110, 110, 0.45); }

.form__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-top: 0.4rem;
}
.form__note {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--fg-faint);
}
.form__note.is-error { color: rgba(255, 130, 130, 0.85); }
.form__note.is-success { color: var(--accent-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding-block: 2.5rem; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer__logo { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; }
.footer__meta { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.82rem; color: var(--fg-faint); }
.footer__links { display: flex; gap: 1.4rem; font-size: 0.85rem; color: var(--fg-dim); }
.footer__links a { transition: color 0.5s var(--ease); }
.footer__links a:hover { color: var(--fg); }

.footer__credit {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- Cursor follower ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 24px; height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 48px; height: 48px; border-color: rgba(139, 123, 255, 0.8); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal defaults ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .shell--lg, .shell--wide,
  .bento .shell:nth-child(3), .bento .shell:nth-child(4),
  .bento .shell { grid-column: span 1; }
  .studio { grid-template-columns: 1fr; }
  .studio__text { position: static; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 2rem); }
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: block; }
  .nav__pill { gap: 1rem; padding: 0.45rem 0.45rem 0.45rem 1.2rem; }
  .hero__scrollhint { display: none; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .process__step { grid-template-columns: 1fr; gap: 0.8rem; padding-block: 2rem; }
  .studio__stats { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .card--stat { min-height: 8.5rem; }
  .card--row { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

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