/* DivArtis — cinematic minimal homepage */

/*
 * Licensed display faces — drop the licensed font files into
 * assets/fonts/ using these filenames and they will be picked up
 * automatically. Until then, the fallbacks declared below render.
 */
@font-face {
  font-family: "The Seasons";
  src:
    url("../assets/fonts/TheSeasons-Regular.woff2") format("woff2"),
    url("../assets/fonts/TheSeasons-Regular.woff") format("woff"),
    url("../assets/fonts/TheSeasons-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src:
    url("../assets/fonts/TheSeasons-Light.woff2") format("woff2"),
    url("../assets/fonts/TheSeasons-Light.woff") format("woff"),
    url("../assets/fonts/TheSeasons-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "The Youngest";
  src:
    url("../assets/fonts/TheYoungest-Regular.woff2") format("woff2"),
    url("../assets/fonts/TheYoungest-Regular.woff") format("woff"),
    url("../assets/fonts/TheYoungest-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --burgundy: #702944;
  --burgundy-dark: #5a1f36;
  --burgundy-muted: rgba(107, 39, 53, 0.12);
  --grey-ink: #1c1c1c;
  --grey-dark: #3d3d3d;
  --grey-mid: #7a7a7a;
  --grey-light: #e8e8e8;
  --grey-fog: #f4f3f2;
  --white: #ffffff;

  --font-heading: "Lora", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-seasons: "The Seasons", "Cormorant Garamond", Georgia, serif;

  --max-width: 1080px;
  --max-wide: 1400px;
  --header-height: 4.25rem;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--grey-dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color var(--transition);
}

a:hover {
  color: var(--burgundy-dark);
}

a:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--burgundy);
  color: var(--white);
  text-decoration: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 3rem, var(--max-wide));
  margin-inline: auto;
}

.rule {
  width: 3rem;
  height: 1px;
  background: var(--burgundy);
  margin: 0 0 2.5rem;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--grey-light);
}

.site-header:not(.site-header--solid) {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, var(--max-wide));
  margin-inline: auto;
  min-height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition);
}

.site-header--solid .logo {
  filter: none;
}

.logo.is-placeholder {
  display: none;
}

.logo-text {
  display: none;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  transition: color var(--transition);
}

.logo-link:has(.logo.is-placeholder) .logo-text {
  display: block;
}

/* Nav toggle */

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: var(--grey-dark);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Navigation */

.site-nav {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-ink);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity var(--transition), visibility var(--transition);
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-list li + li {
  margin-top: 2rem;
}

.nav-list a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  text-align: center;
}

.nav-list a:hover {
  color: var(--grey-light);
}

.nav-list .nav-en {
  display: block;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: inherit;
}

.nav-list .nav-de {
  display: block;
  font-size: 0.72em;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero — cinematic full viewport */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--grey-fog);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 70% 60% at 32% 48%,
      transparent 0%,
      transparent 38%,
      rgba(50, 20, 35, 0.28) 78%,
      rgba(35, 14, 25, 0.55) 100%
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.12) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100vh;
  min-height: 100dvh;
  transform: scale(1.04);
  transition: transform 9s var(--ease-out), filter 1.6s var(--ease-out);
  filter:
    contrast(1.14)
    saturate(1.18)
    brightness(0.94)
    sepia(0.08)
    blur(0.6px);
}

.hero:hover .hero-image:not(.is-placeholder) {
  transform: scale(1.07);
  filter:
    contrast(1.18)
    saturate(1.22)
    brightness(0.92)
    sepia(0.1)
    blur(1px);
}

.hero-image.is-placeholder {
  opacity: 0;
}

.hero-media:has(.hero-image.is-placeholder)::after {
  content: "Add hero.jpg to assets/ or flyers/";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.55) 0%, transparent 35%),
    linear-gradient(0deg, rgba(28, 28, 28, 0.82) 0%, rgba(28, 28, 28, 0.35) 50%, transparent 100%);
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-height) + 2rem) 0 clamp(4rem, 12vh, 7rem);
  color: var(--burgundy);
  text-align: center;
}

.hero-credit {
  margin: 0 0 0.75rem;
  font-family: var(--font-seasons);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--grey-mid);
}

.hero-eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-seasons);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--burgundy);
}

.hero-eyebrow-de {
  margin: 0.2rem 0 clamp(2rem, 4vh, 3rem);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.5vw, 0.92rem);
  font-style: normal;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--grey-mid);
}

.hero-title {
  margin: 0;
  font-family: var(--font-seasons);
  font-size: clamp(3rem, 11vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  font-feature-settings: "liga", "calt", "dlig";
  color: var(--burgundy);
}

.hero-intro {
  margin: clamp(1.25rem, 2.75vh, 2rem) auto 0;
  max-width: 28rem;
  font-family: var(--font-seasons);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--grey-dark);
}

.hero-pillars {
  list-style: none;
  margin: clamp(2.5rem, 5.5vh, 3.5rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.9rem, 2.2vh, 1.6rem);
  font-family: var(--font-seasons);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--burgundy);
}

.hero-pillars li {
  display: block;
  padding: 0;
  text-align: center;
}

.hero-pillar-en {
  display: block;
}

.hero-pillar-de {
  display: block;
  margin-top: 0.22em;
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--grey-mid);
  opacity: 0.85;
}

.hero-pillars--de {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.hero-cta {
  display: inline-block;
  margin-top: clamp(3rem, 6vh, 4rem);
  padding: 0 0 0.55rem;
  border: 0;
  border-bottom: 1.5px solid currentColor;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color var(--transition), letter-spacing var(--transition), border-color var(--transition);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
  letter-spacing: 0.34em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--grey-mid);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.hero-scroll:hover {
  color: var(--burgundy);
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: currentColor;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Sections */

.section {
  padding: clamp(5rem, 12vh, 8rem) 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.section-head--center {
  justify-content: center;
}

.section-index {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--grey-mid);
}

.section-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.section-label span {
  color: var(--grey-mid);
  font-weight: 300;
}

.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.section-lead {
  margin: 0 0 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  font-weight: 300;
}

.section-lead[lang="de"] {
  margin-top: -1.5rem;
  font-size: 0.64rem;
  color: #6f6f6f;
}

.section-title + .section-lead[lang="de"] {
  margin-top: 0.35rem;
}

.section--dark {
  background: var(--grey-ink);
  color: var(--grey-light);
}

.disciplines.section--dark {
  background: var(--burgundy);
}

.section--dark .section-index,
.section--dark .section-label span {
  color: rgba(255, 255, 255, 0.4);
}

.section--dark .section-label {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .section-title {
  color: var(--white);
}

.disciplines .section-lead[lang="de"] {
  color: var(--grey-light);
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* About */

.about {
  background: var(--grey-fog);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-col p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey-dark);
}

.about-col[lang="de"] p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #6f6f6f;
}

/* Disciplines */

.card-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.card {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.card-sub {
  margin: 0.35rem 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8c8c8;
  font-weight: 300;
}

.card-text {
  margin: 0;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e0e0e0;
  font-weight: 300;
}

.card-text[lang="de"] {
  margin-top: 1.5rem;
  font-size: 0.76rem;
  color: #b0b0b0;
}

/* Gallery — cinematic wides */

.featured {
  background: var(--white);
  padding-top: clamp(2rem, 4vh, 3rem);
  padding-bottom: clamp(4rem, 10vh, 6rem);
}

.featured .section-title,
.featured .section-lead {
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 3rem, var(--max-width));
}

.gallery-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.gallery-item figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--grey-ink);
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), opacity 0.6s ease;
}

.gallery-item:hover .gallery-image:not(.is-placeholder) {
  transform: scale(1.03);
}

.gallery-image.is-placeholder {
  opacity: 0;
}

.gallery-item figure:has(.gallery-image.is-placeholder)::after {
  content: "Add image";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

/* Contact */

.contact {
  background: var(--white);
  text-align: center;
}

.contact .rule {
  margin-inline: auto;
}

.contact .section-title {
  margin-bottom: 0.25rem;
  color: var(--burgundy);
  text-transform: none;
  letter-spacing: 0.01em;
}

.contact .section-title [lang="de"] {
  color: var(--burgundy);
  font-weight: 300;
  opacity: 0.75;
}

.section-title-sep {
  color: var(--burgundy);
  opacity: 0.55;
  font-weight: 300;
  margin: 0 0.35em;
}

.contact-artist-lead {
  margin: 0.35rem 0 2.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--burgundy);
}

.contact-artist-aka {
  color: var(--burgundy);
  opacity: 0.65;
  font-weight: 300;
  font-style: normal;
}

.contact-collaborators {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-collaborator {
  text-align: left;
}

.contact-collaborator-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--grey-dark);
}

.contact-collaborator-role {
  margin: 0.25rem 0 0;
  min-height: 0.95rem;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.contact-collaborator-bio {
  margin: 0.4rem 0 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--grey-dark);
  text-align: justify;
}

.contact-collaborator-bio[lang="de"] {
  font-size: 0.64rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--grey-light);
  color: var(--grey-mid);
}

.contact-intro {
  margin: 0;
  color: var(--grey-mid);
  font-weight: 300;
}

.contact-intro-de {
  margin: 0.35rem 0 2rem;
  font-size: 0.9rem;
  color: var(--grey-mid);
  letter-spacing: 0.02em;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  text-decoration: none;
  color: var(--burgundy);
  letter-spacing: 0.03em;
}

.contact-email:hover {
  text-decoration: underline;
}

.social-links {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.social-links a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey-mid);
}

.social-links a:hover {
  color: var(--burgundy);
}

/* Footer */

.site-footer {
  padding: 4rem 0 3rem;
  background: var(--grey-ink);
  color: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.footer-location {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-fields {
  margin: 0 0 2rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  line-height: 2;
  max-width: 52rem;
}

.footer-rule {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 0 2rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.2);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.75rem;
  margin-bottom: 2.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  transition: color var(--transition);
}

.footer-social a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.22);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */

@media (min-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

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

  .card {
    padding: 0 1.5rem;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .card:first-child {
    border-left: none;
    padding-left: 0;
  }

  .card:last-child {
    border-bottom: none;
    padding-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Rita */

.rita {
  background: var(--white);
  padding-bottom: clamp(2rem, 4vh, 3rem);
}

.rita-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-light);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.rita-focus span {
  font-weight: 400;
}

/* Workshops & Events */

.workshops {
  background: var(--grey-fog);
}

/* Top-align image and text so the horizontal row reads as one cohesive block
   (the title sits on the same baseline as the top of the photograph).
   Applies whenever the 2-column layout is in effect (≥ 720px). */
@media (min-width: 720px) {
  .workshops .project-block,
  .featured .project-block,
  #research .project-block {
    align-items: start;
  }
}

/* Workshops text — compact so it fits the height of the landscape image */
.workshops .format-title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.workshops .format-sub {
  font-size: 0.6rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.workshops .format-sub-de {
  font-size: 0.48rem;
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
}

.workshops .project-credit {
  margin-top: 0.3rem !important;
  margin-bottom: 0.5rem !important;
}

.workshops .project-copy p {
  font-size: 0.82rem;
  margin-top: 0.35rem;
  line-height: 1.55;
}

.workshops .event-upcoming {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
}

.workshops .event-info-date {
  font-size: 0.78rem;
}

.workshops .event-info-place {
  font-size: 0.72rem;
}

.workshops .event-date-contact {
  font-size: 0.68rem;
  margin-top: 0.35rem;
}

.format-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--burgundy);
}

.format-title-full {
  margin: 0.25rem 0 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--grey-mid);
}

.format-title-full[lang="de"] {
  margin-top: 0.1rem;
  font-size: clamp(0.75rem, 1.2vw, 0.87rem);
  color: #6f6f6f;
}

.format-sub {
  margin: 0.4rem 0 1rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.format-sub:has(+ .format-sub-de) {
  margin-bottom: 0;
}

.format-sub-de {
  margin: 0.2rem 0 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f6f6f;
  line-height: 1.5;
}

.format-title-full + .format-sub-de {
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.project-copy p.format-title-full + p.format-sub-de {
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.wdytmay-sub {
  margin: 0.15rem 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: #8a8a8a;
  line-height: 1.5;
}

.format-meta {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.project-block {
  display: grid;
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.project-block + .project-block {
  margin-top: 5rem;
}

.project-visual {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: none;
  background: var(--grey-fog);
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease-out);
}

/* IM KREIS — photographic depth enhancement */

/* 1. Slightly more contrast, deeper tones on the base image */
.project-visual--im-kreis img {
  filter: contrast(1.10) brightness(0.94) saturate(0.96);
}

/* 2. Vignette: darken outer edges, keep centre bright */
.project-visual--im-kreis::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 66% 60% at 50% 47%,
    transparent 0%,
    rgba(0, 0, 0, 0.10) 60%,
    rgba(0, 0, 0, 0.32) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 3. Film grain overlay */
.im-kreis-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}

/* Dervish Lab Practice — movement research trace overlay */
.dervish-motion-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: blur(0.3px);
}

/* Dervish Lab — brain overlay (screen blend, mirrors story) */
.project-visual--neuro-overlay .project-visual-brain {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  mix-blend-mode: screen;
  object-position: center 30%;
}

/* Research & Practice — optical figure balance within shared 4:3 frames */
.featured .project-visual--neuro img {
  object-position: 50% 52%;
}

.featured .project-visual--wdytmay img {
  object-position: 50% 50%;
}

.project-visual--wdytmay {
  aspect-ratio: unset;
  overflow: visible;
}

.project-visual--wdytmay img {
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: unset;
}

.project-visual--portrait {
  aspect-ratio: 4 / 3;
  max-height: none;
  margin-inline: 0;
}

.project-block:hover .project-visual img {
  transform: scale(1.03);
}

.project-block:hover .project-visual--portrait img {
  transform: scale(1.02);
}

.project-copy p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--grey-dark);
}

.project-copy p.format-sub {
  margin-top: 0.4rem;
  font-size: 0.7rem;
}

.project-copy p.format-sub-de {
  font-size: 0.7rem;
}

.project-copy p.project-copy-de {
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1.7;
  color: #6f6f6f;
}

/* IM KREIS — compact German block so text height matches image height */
.project-block--im-kreis .project-figure-wrap {
  margin-top: 10px;
}

.project-block--im-kreis .project-copy p.project-copy-de + p.project-copy-de {
  margin-top: 0.2rem;
}

.project-block--im-kreis .event-upcoming {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
}

/* ── Dervish Lab — intro sentence hierarchy ── */
.project-block--dervish-lab .format-sub {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--grey-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.project-block--dervish-lab .format-sub-de {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.78rem;
  font-weight: 300;
  color: #7a7a7a;
  margin-top: 0.1rem;
  margin-bottom: 1.1rem;
}

/* Reusable "Upcoming" event module — sits under a project/event text block,
   visually separated by a thin rule. Update label + info text directly in HTML. */
.event-upcoming {
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
  padding-top: clamp(0.85rem, 2vh, 1.25rem);
  border-top: 1px solid var(--grey-light);
}

.event-upcoming-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--burgundy);
}

.event-upcoming-info {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--grey-dark);
}

.event-info-block {
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  padding: clamp(1.25rem, 3vh, 2rem) 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}

.event-edition {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--burgundy);
}

.event-info-series {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.event-info-date {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--grey-dark);
}

.event-info-place {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--grey-mid);
}

.event-info-price {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--burgundy);
}

.event-upcoming-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.event-upcoming-toggle:hover {
  color: var(--burgundy);
}

.event-toggle-icon {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.event-upcoming-toggle[aria-expanded="true"] .event-toggle-icon {
  transform: rotate(180deg);
}

.event-upcoming-dates {
  margin-top: 0.65rem;
}

.event-upcoming-dates[hidden] {
  display: none;
}

.event-date-item {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--grey-dark);
}

.event-info-date,
.event-info-place,
.event-info-price,
.event-info-series,
.event-edition {
  overflow-wrap: break-word;
}

.event-date-contact {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--burgundy);
  text-decoration: none;
}

.event-date-contact:hover {
  text-decoration: underline;
}

.photo-credit {
  margin: 0.5rem 0 0;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--grey-mid);
  opacity: 0.6;
  text-align: left;
}

/* Selected Works — curated constellation */

.selected-works {
  background: var(--white);
  padding-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
}

.works-group {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.works-group + .works-group {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.works-category {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--grey-light);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.works-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3.5rem);
}

.works-grid > li {
  display: contents;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: default;
  text-decoration: none;
  color: inherit;
  position: relative;
  align-self: start;
}

.work-thumb {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--grey-fog);
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.obra-img {
  object-position: center center;
  filter: saturate(0.8) brightness(0.98);
}

.work-thumb--portrait {
  aspect-ratio: 5 / 7;
}

.work-card:hover .work-thumb--portrait img,
.work-card:focus-visible .work-thumb--portrait img {
  transform: scale(1.02);
}

.work-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-fog);
}

.work-thumb--placeholder::after {
  content: "—";
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 300;
  color: var(--grey-mid);
  opacity: 0.55;
  transition: opacity 0.6s var(--ease-out), color 0.6s var(--ease-out);
}

.work-card:hover .work-thumb--placeholder::after,
.work-card:focus-visible .work-thumb--placeholder::after {
  opacity: 0.85;
  color: var(--burgundy);
}

.work-card:hover .work-thumb img,
.work-card:focus-visible .work-thumb img {
  transform: scale(1.04);
}

.work-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-light);
}

.work-meta::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: width 0.6s var(--ease-out);
}

.work-card:hover .work-meta::before,
.work-card:focus-visible .work-meta::before {
  width: 40%;
}

.work-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--grey-ink);
  transition: color 0.4s var(--ease-out);
}

.work-card:hover .work-title,
.work-card:focus-visible .work-title {
  color: var(--burgundy);
}

.work-sub {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--grey-mid);
}

.work-sub-de {
  margin: 0.18rem 0 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #6f6f6f;
}

.work-with {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--grey-mid);
  opacity: 0.78;
  transition: opacity 0.4s var(--ease-out);
}

.work-credit {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--grey-mid);
  opacity: 0.6;
  text-align: left;
  transition: opacity 0.4s var(--ease-out);
}

.work-with + .work-credit {
  margin-top: 0.3rem;
}

.work-card:hover .work-with,
.work-card:focus-visible .work-with,
.work-card:hover .work-credit,
.work-card:focus-visible .work-credit {
  opacity: 0.9;
}

@media (min-width: 720px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .project-block {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }

  .project-block--reverse .project-figure-wrap {
    order: 2;
  }
}

.contact-web {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-web a {
  text-decoration: none;
  color: var(--grey-mid);
}

/* Desktop nav */

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    opacity: 1;
    visibility: visible;
    background: transparent;
  }

  .nav-list {
    display: flex;
    gap: 2.75rem;
  }

  .nav-list li + li {
    margin-top: 0;
  }

  .nav-list a {
    font-size: 0.7rem;
    color: var(--grey-dark);
    gap: 0.15rem;
  }

  .nav-list .nav-en {
    display: block;
  }

  .nav-list .nav-de {
    color: var(--grey-mid);
    opacity: 0.78;
  }

  .nav-list a:hover {
    color: var(--burgundy);
  }

  .nav-list a:hover .nav-de {
    color: var(--burgundy);
    opacity: 1;
  }

  .hero-panel {
    left: 18%;
    top: 50%;
    transform: translate(0, -50%);
    width: min(42vw, 480px);
  }

  .hero-content {
    text-align: left;
    margin-left: max(3rem, calc(18% - 1.5rem));
    max-width: 36rem;
    padding-bottom: clamp(5rem, 14vh, 8rem);
  }

  .hero-intro {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-pillars--de {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero-pillars {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.9rem, 2.2vh, 1.6rem);
  }

  .hero-pillars li {
    display: block;
    text-align: left;
  }

  .hero-pillars li .hero-pillar-en {
    display: block;
  }

  .hero-pillars li .hero-pillar-de {
    display: block;
    margin-top: 0.22em;
  }

  .hero-scroll {
    left: auto;
    right: 3rem;
    transform: none;
  }
}

/* ------------------------------------------------------------------
   Responsive refinements
   Mobile-first overrides that tighten typography, spacing and grid
   behavior across breakpoints without altering the editorial design.
   ------------------------------------------------------------------ */

/* Small mobile (≤ 380px) — tightest container, lighter hero scale */
@media (max-width: 380px) {
  .container,
  .container-wide,
  .featured .section-title,
  .featured .section-lead {
    width: min(100% - 2rem, var(--max-width));
  }

  .header-inner {
    width: min(100% - 2rem, var(--max-wide));
  }

  .hero-title {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .hero-content {
    padding-bottom: clamp(3rem, 10vh, 5rem);
  }

  .hero-pillars {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
  }
}

/* Mobile — phones (≤ 639px) */
@media (max-width: 639px) {
  /* Calmer vertical rhythm */
  .section {
    padding: clamp(3.5rem, 9vh, 6rem) 0;
  }

  .section-title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    line-height: 1.18;
  }

  .section-lead {
    margin-bottom: 1.5rem;
  }

  /* Hero — keep dramatic but trim oversized type and respect side padding */
  .hero-eyebrow,
  .hero-eyebrow-de,
  .hero-intro {
    padding-inline: 1rem;
  }

  .hero-pillars {
    gap: 0.5rem;
  }

  .hero-pillars--de {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  /* About — bilingual columns stacked, slight breathing space between */
  .about-grid {
    gap: 2rem;
  }

  .about-col p {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* Disciplines (dark burgundy) — comfortable card spacing on phones */
  .card {
    padding: 2rem 0;
  }

  .card-text {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  /* Research & Practice / Workshops — tighter project block stacking */
  .project-block {
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  .project-block + .project-block {
    margin-top: 3.25rem;
  }

  .project-visual,
  .project-visual--portrait {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .format-title {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
  }

  .project-copy p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  /* Selected Works — single column, smoother card cadence */
  .works-grid {
    gap: clamp(2rem, 6vw, 2.75rem);
  }

  .work-meta {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    gap: 0.3rem;
  }

  .work-title {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
  }

  .work-sub {
    font-size: 0.82rem;
  }

  /* Rita focus chips wrap calmly on phones */
  .rita-focus {
    gap: 0.6rem 1rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  /* Contact — collaborator blocks stack one per row on mobile */
  .contact-collaborators {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-email {
    word-break: break-word;
  }

  .contact-artist-lead {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }

  /* Social links — tighter, allow wrap if needed */
  .social-links {
    margin-top: 2rem;
    gap: 1.5rem 1.75rem;
    flex-wrap: wrap;
  }
}

/* Tablet — small tablet & large phone landscape (640–959px) */
@media (min-width: 640px) and (max-width: 959px) {
  /* Disciplines: keep elegant 2×2 grid instead of cramped 4-in-a-row */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 2.75rem);
  }

  /* Reset the 4-col-row borders/padding so a 2×2 grid breathes cleanly */
  .card,
  .card:first-child,
  .card:last-child {
    padding: 0;
    border-top: none;
    border-left: none;
    border-bottom: none;
  }

  /* Research & Practice / Workshops — comfortable spacing in 2-col mode */
  .project-block {
    gap: clamp(2rem, 4vw, 2.75rem);
  }

  /* Selected Works — slightly larger gap to keep cards from feeling tight */
  .works-grid {
    gap: clamp(2.75rem, 5vw, 3.25rem) clamp(1.75rem, 3vw, 2.5rem);
  }

  /* Section padding sits between mobile and desktop scale */
  .section {
    padding: clamp(4.5rem, 10vh, 7rem) 0;
  }
}

/* Desktop refinements (≥ 960px) — keep 4-col disciplines, dense gallery */
@media (min-width: 960px) {
  /* 4 explicit row bands so subgrid can align card children across columns */
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto auto;
  }

  /* Each card spans 4 parent rows — subgrid syncs title / sub / EN / DE bands */
  .card {
    padding: 0 1.5rem;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }

  .card:first-child {
    border-left: none;
    padding-left: 0;
  }

  .card:last-child {
    border-bottom: none;
    padding-right: 0;
  }

  /* DE text: top-aligned in its shared row band, no extra top margin */
  .card-text[lang="de"] {
    margin-top: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Artists — photo + bio layout */

.artists {
  background: var(--white);
}

.bio-name {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

.project-visual--bio {
  aspect-ratio: 3 / 4;
}

.project-visual--bio img {
  object-position: center 20%;
}

.artists-collab {
  margin-top: clamp(3.5rem, 7vh, 5rem);
  padding-top: clamp(2rem, 4vh, 3rem);
  border-top: 1px solid var(--grey-light);
}

.artists-collab-heading {
  margin: 0 0 2rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
}

@media (min-width: 720px) {
  .project-block--bio {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Rita — top grid: name+roles LEFT · photo RIGHT stretching full height */

.rita-top-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 0 48px;
  align-items: stretch;
}

.rita-top-left {
  display: flex;
  flex-direction: column;
  /* padding-bottom absorbs the space that was rita-focus margin-top,
     so the photo scales up to meet the gray line exactly */
  padding-bottom: 2.5rem;
}

.rita-top-photo {
  align-self: stretch;
}

.rita-top-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* Credit right-aligned under the photo, above the gray line */
.rita-artist-credit {
  text-align: right;
  margin: 6px 0 0;
}

/* Gray line: small gap after photo credit */
.rita .rita-focus {
  margin-top: 0.75rem;
}

/* Remove the gray line between EN bio and DE bio */
.rita .rita-bio-de {
  border-top: none;
  padding-top: 0;
}

.rita-sep {
  height: 1px;
  background: var(--grey-light);
  margin-top: 0;
}

.rita-photo-credit-row {
  display: flex;
  justify-content: flex-end;
  margin: 6px 0 22px;
}

.rita-photo {
  margin: 0;
  width: 100%;
  max-width: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.rita-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}

.rita-bio-en {
  flex: 1;
}

.rita-bio-en p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--grey-dark);
}

.rita-bio-de {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-light);
}

.rita-bio-de p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: #6f6f6f;
}

@media (min-width: 640px) {
  .rita-profile-top {
    flex-direction: row;
    align-items: stretch;
  }

  .rita-photo {
    width: 200px;
    max-width: none;
  }
}

.artists-collab-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.artists-collab-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--grey-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 0.1em;
  transition: color var(--transition), border-color var(--transition);
}

.artists-collab-links a:hover {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

/* Contact — titolo ridotto + riga unica */
.contact-title-small {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-bottom: 0.75rem;
}

.contact-oneline {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--grey-mid);
  line-height: 2;
}

.contact-oneline a {
  color: var(--grey-mid);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-oneline a:hover {
  color: var(--burgundy);
}

.contact.section {
  padding: clamp(3rem, 6vh, 5rem) 0;
}

/* ── DE/EN 80% ratio: fix specificità — queste regole devono stare DOPO
   .rita-bio-en p e .workshops .project-copy p che altrimenti le sovrascrivono ── */

/* rita-bio-en: .rita-bio-en p (0,1,1) sovrascriveva format-sub (0,1,0) */
.rita-bio-en p.format-sub {
  font-size: 0.7rem;
}
.rita-bio-en p.format-sub-de {
  font-size: 0.7rem;
}

/* workshops: .workshops .project-copy p (0,2,1) sovrascriveva .workshops .format-sub-de (0,2,0) */
.workshops p.format-sub {
  font-size: 0.6rem;
}
.workshops p.format-sub-de {
  font-size: 0.6rem;
}

/* ── Rita — refined hierarchy ── */

/* Section label: recedes, lets the name dominate */
.rita .section-title {
  font-size: clamp(0.62rem, 1.1vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}

/* Rule: tighter below the label */
.rita .rita-top-left .rule {
  margin-bottom: 1rem;
}

/* Name: primary visual identity of the section */
.rita .format-title {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--burgundy);
}

/* Roles: compact support line below the name */
.rita .format-sub {
  margin-top: 0.55rem;
  font-size: 0.63rem;
  letter-spacing: 0.17em;
}

.rita .format-sub-de {
  font-size: 0.58rem;
}

/* Photo column: flex column so credit sits directly below the image */
.rita-top-photo {
  display: flex;
  flex-direction: column;
}

.rita-top-photo img {
  flex: 1;
  min-height: 0;
}

.rita-top-photo .rita-artist-credit {
  margin-top: 5px;
  flex-shrink: 0;
}

/* Artistic focus keywords: pillars, not metadata */
.rita .rita-focus {
  margin-top: 1rem;
  padding-top: 2rem;
  padding-bottom: 0.75rem;
  gap: 1rem 2.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}

/* Bio: better readability — constrained width, generous spacing */
.rita-bio-en {
  max-width: 70ch;
  margin-top: 2rem;
}

.rita-bio-en p {
  line-height: 1.9;
  margin: 0 0 1.1rem;
}

.rita-bio-en p:last-child {
  margin-bottom: 0;
}

.rita-bio-de {
  max-width: 70ch;
}

.rita-bio-de p {
  line-height: 1.88;
  margin: 0 0 1rem;
}

.rita-bio-de p:last-child {
  margin-bottom: 0;
}

/* ── Rita — layout redesign ── */

/* Wider portrait, tighter gap, align to top so image shows at natural height */
.rita-top-grid {
  grid-template-columns: 1fr 300px;
  gap: 0 28px;
  align-items: start;
}

/* Left column: no artificial bottom padding needed */
.rita-top-left {
  padding-bottom: 0;
}

/* Remove the burgundy rule — name size alone creates the hierarchy */
.rita .rita-top-left .rule {
  display: none;
}

/* Name: slightly larger than the refined-hierarchy base, margin above */
.rita .format-title {
  font-size: clamp(1.9rem, 4.3vw, 2.8rem);
  margin-top: 0.3rem;
}

/* Focus line now lives inside the left column: no separator, just spacing */
.rita .rita-focus {
  border-top: none;
  margin-top: 1.6rem;
  padding-top: 0;
  padding-bottom: 0;
}

/* Portrait: full figure, no cropping, natural proportions */
.rita-top-photo img {
  object-fit: contain;
  object-position: center top;
  height: auto;
  flex: none;
}

.rita-bio-en {
  max-width: none;
  margin-top: 1.4rem;
}

.rita-bio-de {
  max-width: none;
}

/* ── Mobile / small-tablet responsive fixes (≤ 719px) ──
   1. Rita top grid: stack to single column — on phones the 300px photo
      column alone exceeds the available container width.
   2. WDYTMAY figure: restore overflow:hidden + constrain aspect ratio
      so the transparent-overlay PNG doesn't escape its layout cell.
   ─────────────────────────────────────────────────────────────────── */

@media (max-width: 719px) {
  .rita-top-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rita-top-photo {
    align-self: auto;
    max-width: 200px;
    margin-top: 1.5rem;
  }

  .rita-top-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .project-visual--wdytmay {
    overflow: hidden;
    aspect-ratio: 4 / 3;
  }

  .project-visual--wdytmay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
  }
}

/* Reduced motion */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-image,
  .gallery-image {
    transform: none !important;
  }

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