/* ==========================================================================
   ZIMMERSTIMMUNG — Minimalist Noir Editorial Gallery
   Strictly 2 Fonts:
     1) Heavy Swiss Grotesque: 'Archivo' (500, 700, 800, 900)
     2) Crisp Catalog Mono:    'Space Mono' (400, 700)
   Zero bubbles, zero pills, zero rounded bloat. Pure gallery black + oil color.
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-elevated: #0e0e0e;
  --ink: #f3f2ee;
  --ink-dim: #8a8882;
  --ink-faint: #55544f;
  --grid-line: rgba(243, 242, 238, 0.085);
  --grid-line-inner: rgba(243, 242, 238, 0.06);
  --line: rgba(243, 242, 238, 0.14);
  --line-strong: rgba(243, 242, 238, 0.34);

  --font-main: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max-w: 1440px;
  --grid-inset: clamp(0.75rem, 1.6vw, 1.75rem);
  --gutter: clamp(2.25rem, 4.4vw, 4.25rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: clip;
}

/* Strengthened architectural vertical grid lines framed outside the content gutter */
.bg-columns {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--grid-inset);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bg-columns span {
  border-left: 1px solid var(--grid-line-inner);
}

.bg-columns span:first-child {
  border-left: 1px solid var(--grid-line);
}

.bg-columns span:last-child {
  border-right: 1px solid var(--grid-line);
}

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

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  border-radius: 0;
}

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

.container {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ==========================================================================
   SWISS EDITORIAL HEADER (No bubbles, razor-sharp typography)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  isolation: isolate;
  background: rgba(7, 7, 7, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.05rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand-word {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.5vw, 2.6rem);
  list-style: none;
}

.nav-mobile-only {
  display: none;
}

.nav-link {
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--ink);
}

.header-right {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.header-right:hover {
  opacity: 0.65;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

/* ==========================================================================
   VIEWS
   ========================================================================== */
.view-section {
  display: none;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.35s var(--ease);
}

.view-section.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sharp Rectangular Action Links (NO Bubbles) */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 0.8rem 1.4rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.action-btn:hover {
  background: transparent;
  color: var(--ink);
}

.action-btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.action-btn.ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.action-btn:disabled,
.action-btn.is-disabled {
  background: transparent;
  color: var(--ink-faint);
  border-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}

.text-link {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.65;
}

/* ==========================================================================
   VIEW 1: START & WERKE (MINIMALIST NOIR EDITORIAL)
   ========================================================================== */
.hero-noir {
  padding-top: clamp(2.5rem, 5.5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.hero-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--grid-line);
}

/* Single unbroken wordmark — NEVER breaks G onto its own line */
.hero-wordmark {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(2.25rem, 7.4vw, 7.2rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  white-space: nowrap;
}

.hero-year {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 2.2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.hero-subrow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.hero-quiet-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2.25rem;
  color: var(--ink-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.hero-arrow-mark {
  font-size: 1.65rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 300;
}

.hero-stage-image {
  width: 100%;
  max-height: 64vh;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
  cursor: pointer;
}

.hero-stage-image img {
  width: 100%;
  height: 100%;
  max-height: 64vh;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.9s var(--ease);
}

.hero-stage-image:hover img {
  transform: scale(1.025);
}

.hero-caption-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.85rem;
  color: var(--ink-dim);
}

/* Minimal Editorial Works Grid (noir. asymmetric dark rhythm) */
.works-section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 5rem;
}

.section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(1.85rem, 3.8vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-subline {
  color: var(--ink-dim);
  margin-top: 0.6rem;
}

.minimal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
}

.tab-text {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.tab-text:hover,
.tab-text.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.noir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2rem;
  align-items: start;
}

/* Subtle asymmetric offset like noir. dark gallery */
.noir-card:nth-child(3n + 2) {
  margin-top: 2.5rem;
}

.noir-card {
  cursor: pointer;
}

.noir-card-media {
  background: #0d0d0d;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s;
}

.noir-card:hover .noir-card-media {
  border-color: var(--line-strong);
}

.noir-card-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease);
}

.noir-card:hover .noir-card-media img {
  transform: scale(1.03);
}

.noir-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.85rem;
}

.noir-card-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.noir-card-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.noir-card-price {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.35rem;
}

.noir-card-price.is-muted {
  color: var(--ink-dim);
}

.noir-card-price.is-sold {
  color: var(--ink-faint);
  text-decoration: line-through;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  text-align: center;
}

/* ==========================================================================
   VIEW 2: VIRTUELLE AUSSTELLUNG — EIN DURCHGEHENDER RAUM (MASSSTAB 1:1)
   Dark matte wall, vertical architectural grid softly visible behind wall,
   NO native grey scrollbar, sleek architectural progress rail below.
   ========================================================================== */
.exhibition-wrap {
  padding-top: 2.25rem;
  padding-bottom: 0;
}

.exhibition-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-bottom: 1.35rem;
}

.exhibition-meta {
  color: var(--ink-dim);
}

.gallery-viewport {
  position: relative;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

/* Native browser scrollbar completely hidden */
.gallery-scroll {
  width: 100%;
  height: clamp(500px, 68vh, 660px);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.gallery-scroll:active {
  cursor: grabbing;
}

.gallery-wall-track {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  min-width: 100%;
  height: 100%;
}

/* Semi-translucent matte dark gallery wall so .bg-columns grid lines continue subtly behind */
.gallery-dark-wall {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 96px;
  background: linear-gradient(
    180deg,
    rgba(24, 24, 24, 0.58) 0%,
    rgba(15, 15, 15, 0.66) 68%,
    rgba(9, 9, 9, 0.8) 100%
  );
  overflow: hidden;
}

/* Subtle architectural baseboard */
.gallery-dark-wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(243, 242, 238, 0.09);
  pointer-events: none;
}

/* Dark matte museum floor */
.gallery-dark-floor {
  height: 60px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.88) 0%, rgba(5, 5, 5, 0.94) 100%);
  border-top: 1px solid rgba(243, 242, 238, 0.06);
}

/* Opening Wall Title printed directly on the dark wall */
.wall-title-block {
  align-self: center;
  flex-shrink: 0;
  width: 240px;
  margin-right: 92px;
  padding-bottom: 34px;
}

.wall-title-block .mono {
  color: var(--ink-dim);
  margin-bottom: 0.45rem;
}

.wall-title-block h3 {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.wall-title-sub {
  margin-top: 0.75rem;
  color: var(--ink-faint);
}

/* Each painting slot — full wall height so ceiling spotlights never clip or step */
.wall-slot {
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-right: 92px;
}

/* Smooth ceiling-down overhead museum spotlight cone — 0% alpha well before bounds */
.wall-slot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(360px, 260%);
  height: 100%;
  background: radial-gradient(
    ellipse 42% 66% at 50% 0%,
    rgba(255, 248, 236, 0.14) 0%,
    rgba(255, 248, 236, 0.05) 42%,
    rgba(255, 248, 236, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.wall-painting {
  position: relative;
  z-index: 2;
  cursor: pointer;
  background: #141414;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.78),
    0 6px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.wall-painting:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 30px 58px rgba(0, 0, 0, 0.88),
    0 0 0 1px rgba(243, 242, 238, 0.45);
}

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

/* Printed DIRECTLY on the dark wall beneath painting — NO bubble, NO box, cm ONCE */
.wall-caption {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  text-align: center;
  cursor: pointer;
  max-width: 260px;
}

.wall-caption-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  color: rgba(243, 242, 238, 0.9);
  line-height: 1.25;
}

.wall-caption-cm {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(243, 242, 238, 0.5);
  margin-top: 3px;
}

/* Sleek Custom Architectural Progress Bar + Minimal Arrows (Zero native scrollbar) */
.exhibition-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 0 3.75rem;
}

.exhibition-scale-label {
  color: var(--ink-dim);
  white-space: nowrap;
}

.exhibition-progress-track {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  outline: none;
}

.exhibition-progress-rail {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(243, 242, 238, 0.2);
}

.exhibition-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--ink);
  will-change: left, width;
  transition: height 0.15s var(--ease);
}

.exhibition-progress-track:hover .exhibition-progress-thumb,
.exhibition-progress-track:focus-visible .exhibition-progress-thumb,
.exhibition-progress-track.is-scrubbing .exhibition-progress-thumb {
  height: 3px;
}

.exhibition-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exhibition-nav-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.exhibition-nav-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ==========================================================================
   VIEW 3: AUKTION & ANFRAGEN
   ========================================================================== */
.auction-wrap {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

.auction-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

.lot-row {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.lot-thumb {
  background: #0d0d0d;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}

.lot-thumb img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 0.6rem;
  transition: transform 0.5s var(--ease);
}

.lot-thumb:hover img {
  transform: scale(1.04);
}

.lot-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  gap: 0.9rem;
}

.lot-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0.35rem 0;
}

.lot-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-dim);
  margin-top: 0.55rem;
}

.lot-status-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lot-status-line strong {
  color: var(--ink);
  font-weight: 700;
}

.lot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   VIEW 4: MINIMALIST INSTAGRAM EXPLORE (@zimmerstimmung)
   ========================================================================== */
.explore-wrap {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

.explore-split {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.ig-player-box {
  border: 1px solid var(--line);
  background: #0b0b0b;
  width: 100%;
}

.ig-player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}

.ig-frame-container {
  width: 100%;
  height: 580px;
  background: #0a0a0a;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ig-frame-container iframe {
  display: block;
  width: 100%;
  height: 580px;
  border: none;
  background: #0a0a0a;
}

.ig-player-foot {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
}

.ig-tile {
  cursor: pointer;
}

.ig-tile-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0d0d;
  transition: border-color 0.2s;
}

.ig-tile.active .ig-tile-img,
.ig-tile:hover .ig-tile-img {
  border-color: var(--ink);
}

.ig-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 0.6s var(--ease), filter 0.25s;
}

.ig-tile:hover .ig-tile-img img,
.ig-tile.active .ig-tile-img img {
  transform: scale(1.04);
  filter: brightness(1);
}

.ig-play-glyph {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(7, 7, 7, 0.78);
  padding: 0.2rem 0.45rem;
}

.ig-tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 0.55rem;
}

.ig-tile-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* ==========================================================================
   VIEW 5: ATELIER (ÜBER PAULINE & KONTAKT)
   ========================================================================== */
.atelier-wrap {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.atelier-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.atelier-portrait {
  border: 1px solid var(--line);
  background: #0d0d0d;
}

.atelier-portrait img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 20%;
}

.atelier-quote {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 1.75rem;
}

.atelier-text p {
  color: var(--ink-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 56ch;
}

.atelier-text p.atelier-signature {
  color: var(--ink);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.contact-grid {
  padding-top: 3.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-heading {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-links a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, opacity 0.2s;
}

.contact-links a:hover {
  border-bottom-color: var(--line-strong);
}

/* ==========================================================================
   FORMS & MODALS (SHARP EDITORIAL GEOMETRY)
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.65rem 0;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #0c0c0c;
  border: 1px solid var(--line-strong);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.modal-x {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.25rem;
  cursor: pointer;
}

.art-modal-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.art-modal-frame {
  position: relative;
  background: #070707;
  border: 1px solid var(--line);
  padding: 1rem;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 0.2s;
}

.art-modal-frame:hover,
.art-modal-frame:focus-visible {
  border-color: var(--line-strong);
  outline: none;
}

.art-modal-frame img {
  max-height: 64vh;
  object-fit: contain;
  transition: transform 0.55s var(--ease);
}

.art-modal-frame:hover img {
  transform: scale(1.018);
}

.art-modal-zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.55rem;
  background: rgba(7, 7, 7, 0.86);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.2s, border-color 0.2s;
}

.art-modal-frame:hover .art-modal-zoom-hint,
.art-modal-frame:focus-visible .art-modal-zoom-hint {
  opacity: 1;
  border-color: var(--ink);
}

.art-modal-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.art-modal-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-dim);
  margin-bottom: 1.25rem;
}

.art-modal-status {
  color: var(--ink);
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.art-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background: var(--bg);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-copy {
  color: var(--ink-dim);
}

.secret-trigger {
  user-select: none;
  cursor: default;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav button,
.footer-nav a {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
}

.footer-nav button:hover,
.footer-nav a:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TABLET & MEDIUM VIEWPORTS (<= 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .noir-grid { grid-template-columns: repeat(2, 1fr); }
  .noir-card:nth-child(3n + 2) { margin-top: 0; }
  .auction-list { grid-template-columns: 1fr; }
  .explore-split { grid-template-columns: 1fr; }
  .ig-player-box { max-width: 440px; }
  .atelier-grid, .contact-grid, .art-modal-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DEDICATED MOBILE / HANDY VERSION (<= 760px & 390px)
   ========================================================================== */
@media (max-width: 760px) {
  :root {
    --grid-inset: 0.5rem;
    --gutter: 1.4rem;
  }

  /* 2-column Swiss architectural grid for clean mobile balance */
  .bg-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .bg-columns span:nth-child(n + 3) {
    display: none;
  }

  .bg-columns span:nth-child(2) {
    border-right: 1px solid var(--grid-line);
  }

  /* Crisp Mobile Header + Full-width Swiss Dropdown Drawer */
  .header-grid {
    grid-template-columns: 1fr auto;
    gap: 0;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand-word {
    font-size: 1.18rem;
  }

  .header-right {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-top: 0.85rem;
    border-top: 1px solid var(--line);
    background: #070707;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--grid-line);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    width: 100%;
    padding: 0.95rem 0;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active::before {
    content: "—";
    color: var(--ink);
  }

  .nav-mobile-only {
    display: block;
  }

  .nav-mobile-ext {
    display: flex;
    align-items: center;
    padding: 0.95rem 0 0.45rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }

  /* Hero scaled cleanly for 390px — ZERO horizontal overflow */
  .hero-noir {
    padding-top: 1.75rem;
    padding-bottom: 2.25rem;
  }

  .hero-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.15rem;
  }

  .hero-wordmark {
    font-size: clamp(1.8rem, 8.8vw, 3.05rem);
    letter-spacing: -0.055em;
  }

  .hero-year {
    font-size: 0.95rem;
    color: var(--ink-dim);
  }

  .hero-subrow {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: 1.4rem;
  }

  .hero-quiet-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero-arrow-mark {
    display: none;
  }

  .hero-stage-image,
  .hero-stage-image img {
    max-height: 46vh;
  }

  .hero-caption-bar {
    font-size: 0.66rem;
  }

  /* Werke 1-column touch cards */
  .works-section {
    padding-top: 2.25rem;
    padding-bottom: 3.5rem;
  }

  .section-bar {
    padding-bottom: 1.1rem;
    margin-bottom: 1.75rem;
    gap: 0.9rem;
  }

  .noir-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .noir-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  /* Ausstellung touch-swipe wall scaled cleanly for mobile */
  .exhibition-wrap {
    padding-top: 1.5rem;
  }

  .exhibition-topbar {
    padding-bottom: 1rem;
  }

  .gallery-scroll {
    height: clamp(370px, 54vh, 460px);
  }

  .gallery-dark-wall {
    padding: 0 28px;
  }

  .gallery-dark-floor {
    height: 44px;
  }

  .wall-title-block {
    width: 175px;
    margin-right: 44px;
    padding-bottom: 24px;
  }

  .wall-title-block h3 {
    font-size: 1.35rem;
  }

  .wall-slot {
    margin-right: 52px;
  }

  .wall-caption {
    margin-top: 12px;
    max-width: 210px;
  }

  .wall-caption-title {
    font-size: 0.8rem;
  }

  .wall-caption-cm {
    font-size: 0.64rem;
  }

  .exhibition-controls {
    grid-template-columns: 1fr auto;
    gap: 0.85rem 1rem;
    padding: 1.25rem 0 2.75rem;
  }

  .exhibition-progress-track {
    grid-column: 1 / -1;
    order: -1;
    height: 30px;
  }

  .exhibition-nav-btn {
    width: 40px;
    height: 40px;
  }

  /* Auktion stacked lot cards */
  .auction-wrap {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }

  .auction-list {
    gap: 2rem;
  }

  .lot-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
  }

  .lot-thumb img {
    height: auto;
    max-height: 280px;
  }

  .lot-body {
    min-height: auto;
    gap: 0.8rem;
  }

  .lot-title {
    font-size: 1.3rem;
  }

  /* Explore stacked player + crisp 2-col grid */
  .explore-wrap {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }

  .explore-split {
    gap: 1.75rem;
  }

  .ig-player-box {
    max-width: 100%;
  }

  .ig-frame-container,
  .ig-frame-container iframe {
    height: 460px;
  }

  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.85rem;
  }

  .ig-tile-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  /* Atelier & Forms */
  .atelier-wrap {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }

  .atelier-grid {
    padding-bottom: 2.5rem;
  }

  .contact-grid {
    padding-top: 2.25rem;
  }

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

  .field input,
  .field textarea {
    font-size: 16px;
  }

  .modal-box .action-btn,
  .form-grid .action-btn,
  .lot-actions .action-btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  /* Modals & Footer */
  .modal-backdrop {
    padding: 0.75rem;
    align-items: flex-start;
  }

  .modal-box {
    max-height: none;
    margin: auto 0;
    padding: 1.35rem;
  }

  .art-modal-frame {
    padding: 0.65rem;
  }

  .art-modal-frame img {
    max-height: 42vh;
  }

  .site-footer {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-nav {
    gap: 0.85rem 1.25rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   FULLSCREEN ARTWORK VIEWER (PURE NOIR MUSEUM VIEW + DETAIL ZOOM)
   ========================================================================== */
.fs-viewer {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: #040404;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.fs-viewer.open {
  display: flex;
  animation: fsFadeIn 0.22s var(--ease);
}

@keyframes fsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fs-topbar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.25rem);
  background: #040404;
  border-bottom: 1px solid rgba(243, 242, 238, 0.09);
  flex-shrink: 0;
}

.fs-counter {
  color: var(--ink-dim);
}

.fs-top-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fs-ctrl-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.42rem 0.78rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fs-ctrl-btn:hover {
  background: var(--ink);
  color: #040404;
  border-color: var(--ink);
}

.fs-close-btn {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.24rem 0.68rem;
}

.fs-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.75rem clamp(3.75rem, 6vw, 5.5rem);
}

.fs-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.85);
}

.fs-stage.is-zoomed {
  overflow: auto;
  display: block;
  padding: 2rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.fs-stage.is-zoomed:active {
  cursor: grabbing;
}

.fs-stage.is-zoomed img {
  display: block;
  margin: 0 auto;
  max-width: none;
  max-height: none;
  width: min(175vw, 2000px);
  height: auto;
  cursor: zoom-out;
}

.fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  width: 44px;
  height: 44px;
  background: rgba(4, 4, 4, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fs-nav:hover {
  background: var(--ink);
  color: #040404;
  border-color: var(--ink);
}

.fs-prev {
  left: clamp(0.75rem, 2vw, 1.5rem);
}

.fs-next {
  right: clamp(0.75rem, 2vw, 1.5rem);
}

.fs-bottombar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.25rem);
  background: #040404;
  border-top: 1px solid rgba(243, 242, 238, 0.09);
  flex-shrink: 0;
}

.fs-caption {
  color: var(--ink-dim);
  line-height: 1.45;
}

.fs-caption strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 760px) {
  .art-modal-zoom-hint {
    opacity: 0.9;
  }

  .fs-topbar,
  .fs-bottombar {
    padding: 0.75rem 1rem;
  }

  .fs-stage {
    padding: 0.5rem 0.65rem;
  }

  .fs-stage img {
    max-width: 100%;
    max-height: 100%;
  }

  .fs-stage.is-zoomed {
    padding: 1rem;
  }

  .fs-stage.is-zoomed img {
    width: 210vw;
  }

  .fs-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    background: rgba(4, 4, 4, 0.74);
  }

  .fs-prev { left: 0.5rem; }
  .fs-next { right: 0.5rem; }

  .fs-caption {
    font-size: 0.64rem;
  }
}
