@font-face {
  font-family: "Switzer Variable";
  src: url("Switzer_Complete/Fonts/WEB/fonts/Switzer-Variable.woff2") format("woff2"),
    url("Switzer_Complete/Fonts/WEB/fonts/Switzer-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer Variable";
  src: url("Switzer_Complete/Fonts/WEB/fonts/Switzer-VariableItalic.woff2") format("woff2"),
    url("Switzer_Complete/Fonts/WEB/fonts/Switzer-VariableItalic.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #101010;
  --muted: #5f5f5f;
  --max: 1280px;
  --pad-x: clamp(20px, 3vw, 64px);
  --section-label-heading-gap: 12px; /* same spacing between section label and heading across all sections */
  --ease-fast: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-smooth: 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  /* scroll-behavior handled by Lenis smooth scroller */
  scrollbar-gutter: stable; /* reserve scrollbar space so 70% containers stay centered */
  transition: filter 0.4s ease;
}

html.dark {
  filter: invert(1) hue-rotate(180deg);
}

html.dark img,
html.dark video,
html.dark .narrativeOverlay,
html.dark .rightClickLine {
  filter: invert(1) hue-rotate(180deg);
}

.themeSwitcher {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(16, 16, 16, 0.18);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.themeSwitcher:hover {
  opacity: 1;
}

.themeSwitcher__icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #101010;
  transition: background 0.3s;
}

html.dark .themeSwitcher__icon {
  background: #ffffff;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Switzer Variable", "Switzer", sans-serif;
  font-weight: 400;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

input, textarea, [contenteditable="true"] {
  user-select: text;
  -webkit-user-select: text;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.hidden {
  display: none !important;
}

.small {
  font-size: 12px;
}

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

.mono {
  font-family: "Switzer Variable", "Switzer", sans-serif;
  letter-spacing: 0.01em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #101010;
  color: #ffffff;
  padding: 10px 12px;
  text-decoration: none;
  z-index: 200;
}

.skip:focus {
  left: 10px;
}

.wrap {
  width: min(calc(var(--max) + var(--pad-x) * 2), 100%);
  padding-inline: var(--pad-x);
  margin: 0 auto;
}

.wrap--70 {
  width: 70.8%;
  max-width: none;
  box-sizing: border-box;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--ease-smooth), transform var(--ease-smooth);
}

.reveal.isIn {
  opacity: 1;
  transform: translateY(0);
}

.narrativeOverlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000000;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 140;
  transition: opacity 400ms ease;
}

.narrativeOverlay__sentence {
  width: min(900px, calc(100vw - 64px));
  margin: 0;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 38px);
  line-height: 1.16;
  font-weight: 540;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 400ms ease, transform 400ms ease;
}

body.is-intro-playing .narrativeOverlay {
  opacity: 1;
  pointer-events: auto;
}

body.is-intro-playing .narrativeOverlay__sentence {
  opacity: 1;
  transform: translateY(0);
}

body.is-intro-skipped .narrativeOverlay,
body.is-intro-skipped .narrativeOverlay__sentence {
  transition-duration: 300ms;
}

.hero {
  --logo-progress: 0;
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.8vw, 38px) 0 clamp(36px, 5vw, 80px);
  box-sizing: border-box;
  overflow: clip;
}

.hero__top {
  width: 100%;
  z-index: 6;
  position: relative;
}

.hero__top .hero__container,
.hero__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.hero__topRight {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}


.heroContactBtn {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 520;
  color: rgba(16, 16, 16, 0.72);
  transition: color var(--ease-fast), opacity var(--ease-fast);
}

.heroContactBtn:hover,
.heroContactBtn:focus-visible {
  color: rgba(16, 16, 16, 1);
  outline: none;
}

.langSwitch {
  display: flex;
  align-items: center;
  gap: 14px;
}

.langSwitch__btn {
  border: 0;
  background: transparent;
  color: rgba(16, 16, 16, 0.58);
  padding: 0;
  font-size: 11px;
  font-weight: 390;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--ease-fast), font-weight var(--ease-fast);
}

.langSwitch__btn:hover,
.langSwitch__btn:focus-visible {
  color: rgba(16, 16, 16, 0.9);
  font-weight: 570;
  outline: none;
}

.langSwitch__btn.isActive {
  color: rgba(16, 16, 16, 1);
  font-weight: 650;
}

/* ── Hero intro animations ─────────────────────────────────────────────────── */
@keyframes heroCopyFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__copy {
  animation: heroCopyFadeIn 0.6s ease both;
  animation-delay: 0s;
}

/* ── Nav intro animations ──────────────────────────────────────────────────── */
@keyframes navDeFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes navEnSlide {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes navJaSlide {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes navContactSlide {
  from { opacity: 0; transform: translateX(-60vw); }
  to   { opacity: 1; transform: translateX(0); }
}

.langSwitch__btn[data-lang-btn="de"] {
  animation: navDeFadeIn 0.5s ease both;
  animation-delay: 0.3s;
}
.langSwitch__btn[data-lang-btn="en"] {
  animation: navEnSlide 0.55s ease both;
  animation-delay: 0.72s;
}
.langSwitch__btn[data-lang-btn="ja"] {
  animation: navJaSlide 0.55s ease both;
  animation-delay: 0.72s;
}
.heroContactBtn {
  animation: navContactSlide 0.65s ease both;
  animation-delay: 0.5s;
}

.heroCross {
  position: absolute;
  bottom: 0;
  left: var(--pad-x);
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 5;
  animation: heroCopyFadeIn 0.6s ease both;
  animation-delay: 0.4s;
}
.heroCross::before,
.heroCross::after {
  content: '';
  position: absolute;
  background: rgba(16, 16, 16, 0.22);
}
.heroCross::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}
.heroCross::after {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.heroCross--right {
  left: auto;
  right: var(--pad-x);
}

.heroCoords {
  position: absolute;
  bottom: 22px;
  left: calc(var(--pad-x) + 14px);
  font-family: inherit;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(16, 16, 16, 0.35);
  pointer-events: none;
  z-index: 5;
  animation: heroCopyFadeIn 0.6s ease both;
  animation-delay: 0.4s;
  font-variant-numeric: tabular-nums;
}

.hero__center {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  z-index: 2;
}

/* Hero has its own width (different from section 70.8%); keep previous layout */
.hero__container {
  width: 70%;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  box-sizing: border-box;
}

.hero__titleRow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero__brand {
  display: grid;
  grid-template-columns: 1fr;
  width: max-content;
  max-width: 100%;
  gap: 0;
}

.logo {
  margin: 0 0 -12px 0;
  font-size: clamp(67px, 10vw, 220px);
  line-height: 0.88;
  font-weight: 400;
  transform-origin: 50% 0%;
  transform: translate3d(0, calc(-80px + (-90px * var(--logo-progress))), 0) scale(calc(1 - 0.35 * var(--logo-progress)));
  opacity: calc(1 - var(--logo-progress) * 0.78);
  will-change: transform, opacity;
  flex-shrink: 0;
}

.hero__taglineCrossLink {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  cursor: default;
  z-index: 5;
}

.hero__taglineCross {
  opacity: 0.25;
  display: block;
}

.tagline {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: -44px;
  font-size: clamp(14px, 2.2vw, 30px);
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(16, 16, 16, 0.8);
  padding-left: 10px;
  box-sizing: border-box;
  line-height: 1.2;
}

.hero__object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: multiply;
  z-index: 1;
}

.heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: #111111;
  color: #ffffff;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 620;
  line-height: 1;
  transition: transform var(--ease-fast), background-color var(--ease-fast), color var(--ease-fast), opacity var(--ease-fast);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: #232323;
  outline: none;
}

.btn--ghost {
  background: transparent;
  color: #111111;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(17, 17, 17, 0.07);
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--enter {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: rgba(16, 16, 16, 0.72);
  font-size: clamp(16px, 1.6vw, 26px);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 520;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--ease-fast), opacity var(--ease-fast);
}

.hero__enterBtn {
  position: absolute;
  bottom: clamp(60px, 8vw, 120px);
  right: calc(15% + var(--pad-x));
  z-index: 6;
}

.btn--enter:hover,
.btn--enter:focus-visible {
  color: #101010;
  opacity: 0.72;
  outline: none;
}

.aboutIntro {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 12vw, 160px);
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spaces {
  position: relative;
  height: 100vh;
  height: 100dvh;
}

.spaces,
.sceneSwitcher,
.manifestoSection {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding: clamp(52px, 6vw, 92px) 0;
  box-sizing: border-box;
}

/* Grid fills viewport minus section padding so section is one full screen */
.manifestoSection .about__grid {
  height: calc(100vh - clamp(52px, 6vw, 92px) * 2);
  height: calc(100dvh - clamp(52px, 6vw, 92px) * 2);
}

.galleryBand,
.capabilitySection,
.readyPrompt,
.contact {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding: clamp(52px, 6vw, 92px) 0 clamp(16px, 2vw, 28px);
  box-sizing: border-box;
}

.contact {
  padding: 0;
  overflow: clip;
  margin-top: -100vh;
  margin-top: -100dvh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 2;
}

.contact.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.contact > .wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.label {
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
}

.h2 {
  margin: var(--section-label-heading-gap) 0 0;
  font-size: clamp(21px, 2.15vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 620;
}

.aboutIntro__inner {
  max-width: none;
  will-change: transform;
}

.aboutLead {
  margin: var(--section-label-heading-gap) 0 0;
  max-width: 70%;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.08;
  font-weight: 600;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Same tight spacing as scene switcher: label to heading/lead */
.aboutIntro__inner .aboutLead {
  margin-top: 4px;
}
.manifestoSection .about__left .h2 {
  margin-top: 4px;
}
.galleryBand__head .h2 {
  margin-top: 4px;
}

.aboutFull {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  max-width: 100%;
}

.aboutFull p {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 32px);
  line-height: 1.25;
  font-weight: 400;
  max-width: 70%;
  text-align: justify;
  text-justify: inter-word;
}

/* ── Section corner crosses (scroll with each section) ────────────────────── */
.section__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.section__cross {
  position: absolute;
  opacity: 0.25;
  width: 76px;
  height: 76px;
}

.section__cross--tl { top: 0; left: 0; transform: translateY(-50%); }
.section__cross--tr { top: 0; right: 0; transform: translateY(-50%); }
.section__cross--bl { bottom: 0; left: 0; transform: translateY(50%); }
.section__cross--br { bottom: 0; right: 0; transform: translateY(50%); }

@media (max-width: 820px) {
  .section__cross {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .section__cross {
    width: 36px;
    height: 36px;
  }
}

.spacesBlock {
  margin: 20px 0 0;
  width: 100%;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 300;
  color: var(--fg);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.room {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(20px, 3vw, 40px);
  isolation: isolate;
}

.floor {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: min(920px, 94vw);
  padding: 28px 0 76px;
}

.floorItem {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  line-height: 0.93;
  transition: opacity var(--ease-fast), transform var(--ease-fast);
  text-wrap: balance;
}

.floorItem:hover,
.floorItem:focus-visible {
  transform: translateY(-2px);
  opacity: 0.68;
  outline: none;
}

.floorItem.isActive {
  opacity: 0.45;
}

.preview {
  position: absolute;
  width: min(700px, 58vw);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: transparent;
  pointer-events: none;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity var(--ease-fast), filter var(--ease-fast);
}

.preview.isActive {
  opacity: 0.95;
}

.preview.isTouchBackdrop {
  left: 50% !important;
  top: 50% !important;
  width: min(680px, 88vw);
  opacity: 0.22;
  box-shadow: none;
  background: transparent;
  filter: saturate(0.92);
}

.optionUnfold {
  width: min(920px, 92vw);
  margin: 6px auto 12px;
  background: transparent;
  opacity: 0;
  transform: translateY(-8px) scaleY(0.95);
  transform-origin: top center;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--ease-fast), transform var(--ease-fast), max-height var(--ease-smooth);
}

.optionUnfold.isOpen {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  max-height: 520px;
}

.optionUnfold__title {
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 10px;
}

.optionUnfold__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  line-height: 1.34;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.optionUnfold__body p {
  margin: 0;
}

.optionUnfold__body strong {
  font-weight: 680;
}

.sceneSwitcher {
  position: relative;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.sceneSwitcher__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sceneSwitcher__head .h2 {
  margin-top: 4px;
}

.sceneCinema {
  margin-top: 12px;
  flex: 1;
  min-height: 0;
  position: relative;
}

.sceneCinema__sticky {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sceneCinema__sticky .sceneSwitcher__head {
  flex-shrink: 0;
  padding-bottom: 12px;
}

.sceneCinema__sticky .sceneSwitcher__frameWrap {
  flex: 1;
  min-height: 0;
  margin-top: 0;
}

.sceneSwitcher__frameWrap {
  width: min(100vw, 1920px);
  margin: 0 auto;
  margin-top: -11vh; /* shift 3D view up when not in column layout */
  height: 100%;
  max-height: min(94vh, 1040px);
  position: relative;
}

.sceneSwitcher__frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  outline: none;
  background: #ffffff;
}

.sceneStepper {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.42);
  pointer-events: none;
  user-select: none;
}

.sceneStepper span {
  opacity: 0.5;
  transition: color var(--ease-fast), opacity var(--ease-fast);
}

.sceneStepper span.isActive {
  opacity: 1;
  color: var(--fg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  overflow: hidden;
}

.about__left {
  padding: clamp(28px, 3.2vw, 56px);
  background: var(--bg);
}

/* Align manifesto label/title with other sections: no extra horizontal padding in left column */
.manifestoSection .about__left {
  padding-inline: 0;
  padding-top: clamp(28px, 3.2vw, 56px);
  padding-bottom: clamp(28px, 3.2vw, 56px);
}

/* Manifesto section container a bit wider than default 70.8% */
.manifestoSection__wrap.wrap--70 {
  width: 76%;
}

/* "KINEZE is a way to feel..." text container uses full left column width */
.manifestoSection .about__left .wrap {
  width: 100%;
  max-width: none;
}

.about__right {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.manifesto__vizWrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2%;
}

.manifesto__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  transform: scale(1.5);
  transform-origin: center center;
}

.manifesto {
  margin: 18px 0 0;
  padding-left: 20px;
  line-height: 1.34;
}

.manifesto li {
  margin: 8px 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.team {
  margin-top: 34px;
  padding-top: 8px;
}

.team__label {
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.56);
  font-weight: 600;
  line-height: 1.06;
}

.team__list {
  margin-top: 16px;
}

.team__row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
}

.team__name {
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 610;
  line-height: 1.1;
}

.team__role {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 430;
  color: rgba(17, 17, 17, 0.62);
  line-height: 1.2;
}

.viz {
  width: min(560px, 94%);
  position: relative;
  padding: 20px;
}

.pointSvg {
  width: 100%;
  height: auto;
  display: block;
}

.points circle {
  fill: rgba(232, 229, 223, 0.86);
  animation: pulse 3.2s ease-in-out infinite;
}

.points circle:nth-child(2n) {
  animation-delay: 0.35s;
}

.points circle:nth-child(3n) {
  animation-delay: 0.65s;
}

.mesh path {
  fill: none;
  stroke: rgba(232, 229, 223, 0.55);
  stroke-width: 1.1;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

.overlay {
  position: absolute;
  right: 12px;
  bottom: 10px;
  text-align: right;
}

.galleryBand {
  position: relative;
  background: #ffffff;
  padding-top: clamp(48px, 5vw, 80px);
}

.galleryBand__head {
  margin-bottom: 18px;
}

.galleryStrip {
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 0;
  cursor: grab;
  user-select: none;
}

.galleryStrip.is-dragging {
  cursor: grabbing;
}

.galleryStrip::-webkit-scrollbar {
  display: none;
}

.galleryCard {
  flex: 0 0 auto;
  min-width: auto;
  height: clamp(260px, 58vh, 720px);
  margin: 0;
  display: flex;
  align-items: stretch;
}

.galleryCard img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}

.galleryConceptLine {
  margin-top: 8px;
  padding: 12px var(--pad-x) 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.5em;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.galleryConcept {
  color: rgba(17, 17, 17, 0.5);
  font-weight: 450;
  transition: color var(--ease-fast), font-weight var(--ease-fast);
  cursor: pointer;
}

.galleryConcept::after {
  content: "";
}

.galleryConcept.isActive {
  color: rgba(17, 17, 17, 0.98);
  font-weight: 680;
}

.faqSection__body {
  margin-top: 20px;
  width: 100%;
}

.faqSection__body p {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.7vw, 30px);
  line-height: 1.26;
  font-weight: 500;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.readyPrompt {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
  z-index: 3;
  background: #ffffff;
}

.readyPrompt.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.readyPrompt.reveal:not(.is-hidden) {
  transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.readyPrompt__text {
  margin: 0;
  font-size: clamp(18px, 3vw, 42px);
  line-height: 1.04;
  font-weight: 620;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

.readyPrompt__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3vw, 48px);
}

.form {
  margin-top: 18px;
}

.contactFormEmbed {
  margin-top: 0;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 4px;
  overflow: hidden;
}

.contact .label {
  display: none;
}

.contactFormIframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.formWizard {
  margin-top: 8px;
  padding: clamp(18px, 2.2vw, 34px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0));
}

.formStep {
  display: none;
}

.formStep.isActive {
  display: block;
}

.formStep__title {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 620;
}

.formStep__subtitle {
  margin: 12px 0 0;
  width: 100%;
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.42;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.contact .muted {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.formFields {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.formFields label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.86);
  font-weight: 600;
}

.formFields input,
.formFields textarea {
  border: 0;
  padding: 14px 14px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(17, 17, 17, 0.92);
  font: inherit;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 420;
  text-transform: none;
  line-height: 1.2;
  transition: box-shadow var(--ease-fast), background-color var(--ease-fast);
}

.formFields textarea {
  min-height: 180px;
  resize: vertical;
}

.formFields input::placeholder,
.formFields textarea::placeholder {
  color: rgba(17, 17, 17, 0.42);
}

.formFields input:focus,
.formFields textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.07);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.roleBubbles {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roleBubble {
  border: 0;
  background: rgba(0, 0, 0, 0.06);
  color: var(--fg);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1;
  letter-spacing: 0.03em;
  padding: 11px 15px;
  cursor: pointer;
  transition: background-color var(--ease-fast), color var(--ease-fast), transform var(--ease-fast);
}

.roleBubble:hover,
.roleBubble:focus-visible {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.12);
  outline: none;
}

.roleBubble.isSelected {
  background: #111111;
  color: #ffffff;
}

.formActionsRow {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

#formStatus {
  margin-top: 12px;
  min-height: 1.2em;
  color: rgba(17, 17, 17, 0.72);
}

.micro {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: rgba(17, 17, 17, 0.48);
}

.footer {
  margin-top: auto;
  padding: 12px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.footer__right {
  text-align: right;
}

@media (max-width: 1180px) {
  .hero__center {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }

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

  .sceneSwitcher__frameWrap {
    width: min(100%, calc(100% - 16px));
    height: min(82vh, 840px);
  }

  .galleryCard {
    height: min(52vh, 500px);
  }


}

@media (max-width: 820px) {
  :root {
    --pad-x: 18px;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
  }

  .tagline {
    white-space: normal;
  }

  .logo {
    font-size: clamp(54px, 20vw, 120px);
  }

  .hero__top {
    align-items: center;
  }

  .heroContactBtn,
  .langSwitch__btn {
    font-size: 10px;
  }

  .floor {
    padding: 20px 0 72px;
  }

  .floorItem {
    font-size: clamp(34px, 13vw, 56px);
  }

  .preview {
    width: min(420px, 86vw);
  }

  .optionUnfold__body {
    font-size: 13px;
  }

  .sceneCinema {
    height: 100%;
  }

  .sceneCinema__sticky {
    position: static;
    height: 100%;
  }

  .sceneSwitcher__frameWrap {
    height: min(70vh, 660px);
  }

  .sceneStepper {
    left: 10px;
    bottom: 8px;
    gap: 10px;
    font-size: 10px;
  }

  .galleryCard {
    height: min(44vh, 390px);
  }

  .galleryConceptLine {
    justify-content: flex-start;
    row-gap: 6px;
  }

  .aboutLead {
    font-size: clamp(22px, 3.6vw, 36px);
    max-width: 100%;
    hyphens: none;
  }

  .aboutFull p {
    max-width: 100%;
  }

  .formWizard {
    padding: 18px;
  }

  .formActionsRow .btn {
    width: 100%;
  }

  .formStep__subtitle {
    max-width: none;
  }

  .footer__right {
    text-align: left;
  }
}

@media (hover: none), (pointer: coarse) {
  .floorItem:hover,
  .floorItem:focus-visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Shader debug panel ───────────────────────────────────────────────────── */
.shaderDot {
  position: absolute;
  bottom: 24px;
  right: var(--pad-x);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #101010;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
  opacity: 0.35;
  transition: opacity 200ms ease, transform 200ms ease;
}

.shaderDot:hover {
  opacity: 1;
  transform: scale(1.5);
}

.shaderPanel {
  position: absolute;
  bottom: 44px;
  right: var(--pad-x);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 18px 18px;
  width: 210px;
  max-height: min(82vh, 560px);
  overflow-y: auto;
  z-index: 21;
  display: none;
  flex-direction: column;
  gap: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.shaderPanel.isOpen {
  display: flex;
}

.shaderPanel__row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.shaderPanel__lbl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 9px;
  font-weight: 640;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

.shaderPanel__lbl span {
  font-weight: 420;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.shaderPanel input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  outline: none;
  border: none;
  padding: 0;
}

.shaderPanel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #101010;
  cursor: pointer;
}

.shaderPanel input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #101010;
  border: none;
  cursor: pointer;
}

.shaderPanel__select {
  width: 100%;
  margin-top: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 5px 24px 5px 8px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23101010'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  outline: none;
}

.shaderPanel__select:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

.shaderPanel__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 -2px;
}

.shaderPanel__section {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: -4px;
}

.shaderPanel__row--inline {
  display: flex;
  gap: 6px;
  align-items: center;
}

.shaderPanel__btn {
  flex-shrink: 0;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 4px 8px;
  font-family: inherit;
  font-size: 8px;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
}

.shaderPanel__btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.shaderPanel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.shaderPanel__btn--del {
  padding: 4px 6px;
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--muted);
}

.shaderPanel__input {
  flex: 1;
  min-width: 0;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 4px 8px;
  font-family: inherit;
  font-size: 9px;
  color: var(--fg);
  outline: none;
}

.shaderPanel__input:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

.shaderPanel__saveList {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 120px;
  overflow-y: auto;
}

.shaderPanel__saveEntry {
  display: flex;
  align-items: center;
  gap: 4px;
}

.shaderPanel__saveName {
  flex: 1;
  min-width: 0;
  font-size: 9px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shaderPanel__fileLabel {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 4px 8px;
  font-family: inherit;
  font-size: 8px;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
}

.shaderPanel__fileLabel:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ── Custom square cursor ── */
*, *::before, *::after { cursor: none !important; }

#customCursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px;
  height: 12px;
  background: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

@keyframes cursorSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

#customCursor.is-spinning {
  animation: cursorSpin 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.word-blur {
  display: inline;
  transition: filter 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.word-blur:hover {
  filter: blur(4px);
}

.word-blur.word-blur-strong {
  filter: blur(10px);
  opacity: 0.4;
  transition: filter 8s ease-in-out, opacity 8s ease-in-out;
}

.word-blur.word-blur-exiting {
  transition: filter 10s ease-in-out, opacity 10s ease-in-out;
}

.rightClickLine {
  position: fixed;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid #101010;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

html.dark .rightClickLine {
  border-color: #e8e8e8;
}

@media (prefers-reduced-motion: reduce) {
  #customCursor.is-spinning { animation: none; }
  .word-blur:hover { filter: none; }
  .word-blur.word-blur-strong,
  .word-blur.word-blur-exiting { filter: none; opacity: 1; }
}

@media (hover: none) {
  body, a, button, [role="button"] { cursor: auto; }
  #customCursor { display: none; }
  .word-blur { transition: none; }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .logo {
    transform: none !important;
    opacity: 1 !important;
  }

  .aboutLead,
  .aboutFull {
    opacity: 1 !important; /* scroll-fade skipped for reduced-motion */
  }
}
