:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #67635b;
  --line: #ddd7cc;
  --blue: #1f5f8b;
  --red: #b03a2e;
  --green: #3d7057;
  --gold: #9b7a32;
  --max: 1180px;
  --gutter: clamp(18px, 3vw, 44px);
  --header: 72px;
  --sans: Arial, Helvetica, "Neue Haas Grotesk Text", sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body[data-lang="de"] .en,
body[data-lang="en"] .de {
  display: none !important;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 100;
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: var(--header);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.primary-nav a,
.index-strip a,
.text-link {
  background-image: linear-gradient(var(--red), var(--red));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 180ms ease, color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.index-strip a:hover,
.index-strip a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  background-size: 100% 1px;
  color: var(--red);
}

.language-toggle,
.nav-toggle,
.image-button,
.lightbox-close,
.newsletter-form button,
.work-categories button {
  border: 1px solid var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.language-toggle {
  justify-self: end;
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 8px 0;
  background: var(--ink);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 108px) var(--gutter);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 7vw, 92px);
  min-height: calc(100vh - var(--header));
  padding-top: clamp(36px, 6vw, 84px);
}

.hero-copy,
.hero-image,
.work-meta,
.text-column,
.portrait {
  min-width: 0;
}

.hero-copy {
  padding-bottom: clamp(12px, 4vw, 48px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8vw, 7.2rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.6vw, 5.6rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.lead {
  max-width: 44rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.22;
}

.hero-image {
  margin: 0;
}

.hero-image img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--surface);
}

figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.index-strip {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  padding: 22px var(--gutter);
  border-block: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-header p:not(.eyebrow),
.text-column p,
.press-grid p,
.archive-list p,
.contact-section p,
.chapter-grid p {
  max-width: 64ch;
  color: var(--muted);
}

.compact {
  margin-bottom: 30px;
}

.work-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.work-categories button {
  min-height: 38px;
  padding: 8px 12px;
  border-color: var(--line);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.work-categories button:hover,
.work-categories button:focus-visible,
.work-categories button.is-active {
  border-color: var(--red);
  color: var(--red);
}

.work-grid {
  display: grid;
  gap: clamp(30px, 5vw, 68px);
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.55fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.work-card:nth-child(even) {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.95fr);
}

.work-card:nth-child(even) .image-button {
  order: 2;
}

.image-button {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border-color: var(--line);
  background: var(--surface);
}

.image-button img {
  aspect-ratio: 4 / 3;
  transition: transform 260ms ease;
}

.image-button:hover img,
.image-button:focus-visible img {
  transform: scale(1.015);
}

.work-meta {
  padding-bottom: 8px;
}

.work-meta .subline {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.92rem;
}

.tags {
  color: var(--green);
  font-size: 0.82rem;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.portrait {
  margin: 0;
}

.portrait img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--surface);
}

.exhibition-section,
.text-archive,
.press-section,
.contact-section {
  border-top: 1px solid var(--line);
}

.chapter-grid,
.press-grid,
.archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

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

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

.chapter-grid article,
.archive-list article,
.press-grid article {
  min-height: 220px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.chapter-grid span,
.archive-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vita-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.text-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.press-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.press-grid a {
  color: var(--blue);
}

.newsletter-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.newsletter-form input,
.newsletter-form button {
  min-height: 44px;
  border-radius: 0;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: var(--surface);
}

.newsletter-form button {
  padding: 0 14px;
  background: var(--ink);
  color: var(--surface);
}

.form-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 0.86rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(250px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

address a {
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.lightbox {
  width: min(92vw, 980px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(21, 21, 21, 0.76);
}

.lightbox img {
  aspect-ratio: 4 / 3;
  background: var(--paper);
}

.lightbox p {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-color: var(--line);
  background: var(--surface);
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 1040px) {
  .chapter-grid,
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header) 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-toggle {
    grid-column: 3;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .work-card,
  .work-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .work-card:nth-child(even) .image-button {
    order: 0;
  }

  .archive-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header: 64px;
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    font-size: 1.32rem;
  }

  .language-toggle {
    min-height: 34px;
    padding-inline: 9px;
    font-size: 0.72rem;
  }

  .index-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .section {
    padding-block: 46px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.6rem);
  }

  figcaption,
  .chapter-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .vita-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
