@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Design tokens: Obscura Flow design system (obscuraflow.app) */
:root {
  --bg: #f3f3f1;
  --surface: #fff;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e2e2dd;
  --line-strong: #cfcfc8;
  --accent-soft: #ededea;
  --dark: #0a0a0a;
  --dark-surface: #141414;
  --dark-line: #262626;
  --dark-muted: #a3a3a3;
  --radius: 4px;
  --card-shadow: 0 1px 0 #0a0a0a08;
  --shadow: 0 26px 80px #0a0a0a1a;
  --accent: #0a0a0a;
  --font-body: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-body);
  --measure: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.hero :focus-visible, .footer :focus-visible { outline-color: #fff; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
}
.skip:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--measure), 100% - 48px); margin-inline: auto; }

/* Header: floating translucent bar */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, 100% - 32px);
  min-height: 66px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f3f1d1;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: var(--radius); }
.brand-mark rect { fill: var(--dark); }
.brand-mark circle { fill: none; stroke: #fff; stroke-width: 2; }
.brand-mark .pupil { fill: #fff; stroke: none; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a, .mobile-menu nav a {
  padding: 10px 13px;
  border-radius: 3px;
  color: #4a4a4a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .mobile-menu nav a:hover { color: var(--text); background: #0a0a0a0f; }
.nav-links a[aria-current="page"], .mobile-menu nav a[aria-current="page"] {
  color: var(--text);
  background: #0a0a0a14;
  font-weight: 700;
}

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 4px;
  width: min(280px, 100vw - 28px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f3f1f5;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px #0a0a0a24;
}
.mobile-menu nav a { padding: 12px; font-size: 0.95rem; color: #444; }

/* Hero: dark band with grid */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background: var(--dark);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, #ffffff0a 1px, #0000 1px), linear-gradient(#ffffff0a 1px, #0000 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 72% 38%, #000, #0000 78%);
  mask-image: radial-gradient(circle at 72% 38%, #000, #0000 78%);
}
.hero-compact { padding: 136px 0 72px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-grid > div:first-child { min-width: 0; }
.hero-grid > div:only-child { grid-column: 1 / -1; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 28px; font-size: 0.8rem; font-weight: 600; }
.crumbs li { display: flex; align-items: center; gap: 12px; color: #ffffffb8; }
.crumbs li + li::before { content: "›"; color: #ffffff66; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.hero .eyebrow::before { background: currentColor; }
.hero .eyebrow { color: #fff; }

.headline {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-compact .headline { font-size: clamp(2.3rem, 5vw, 4.4rem); }

.lead {
  max-width: 56ch;
  margin: 28px 0 0;
  color: #ffffffb8;
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  line-height: 1.6;
}
.alt-titles { display: block; margin-bottom: 6px; color: #fff; font-style: italic; }

.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.button:hover { border-color: var(--text); }
.button.primary { border-color: var(--text); background: var(--text); color: var(--bg); }
.button.primary:hover { background: #262626; border-color: #262626; }
.hero .button { color: #fff; border-color: #ffffff3d; }
.hero .button:hover { border-color: #fff; }
.hero .button.primary { color: var(--dark); background: #fff; border-color: #fff; }
.hero .button.primary:hover { background: #e4e4df; border-color: #e4e4df; }

.hero-panel {
  justify-self: end;
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 300px;
  padding: 26px;
  border: 1px solid #ffffff29;
  border-radius: var(--radius);
  background: #ffffff0a;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-panel span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  justify-self: start;
  border-radius: var(--radius);
  background: #fff;
  color: var(--dark);
  font-weight: 800;
}
.hero-panel strong { font-size: 1.2rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; text-transform: uppercase; }
.hero-panel p { color: #ffffffa8; line-height: 1.6; }

/* Cards & sections */

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
  margin-top: -36px;
}
.stat { display: flex; align-items: center; gap: 16px; padding: 22px 24px; font-size: 1.1rem; }
.stat strong {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}

.section { padding-block: clamp(64px, 8vw, 120px); }
.section + .section { padding-top: 0; }
.hero + .section { padding-top: clamp(28px, 4vw, 48px); }

.section-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 4vw, 46px);
}
.section-title {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  hyphens: auto;
}
.section-lead { max-width: 780px; margin-top: 12px; color: var(--muted); font-size: clamp(1.04rem, 1.35vw, 1.24rem); line-height: 1.6; }

.prose { max-width: 46rem; color: #2a2a2a; font-size: 1.12rem; line-height: 1.7; }
.prose p + p { margin-top: 1em; }
.prose p { white-space: pre-line; }

.cover img { width: 100%; border-radius: var(--radius); margin-top: clamp(48px, 6vw, 80px); }

/* Work grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}
.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.card .media { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.card-body { display: grid; gap: 4px; padding: 18px 20px 22px; }
.card-id { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.card-date { color: var(--muted); font-size: 0.9rem; }

.placeholder { display: block; background: var(--accent-soft); }
.placeholder svg { width: 100%; height: 100%; }
.placeholder circle { fill: none; stroke: var(--line-strong); stroke-width: 2; }

.catalogue-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px 24px;
  margin-bottom: 28px;
  padding: 20px 24px;
}
.catalogue-tools[hidden] { display: none; }
.catalogue-tools label { display: grid; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.catalogue-tools input, .catalogue-tools select {
  min-height: 48px;
  min-width: min(100%, 16rem);
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
}
.catalogue-tools input:focus, .catalogue-tools select:focus { border-color: var(--text); }
.catalogue-tools p { margin-left: auto; color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; font-weight: 600; }

/* Notice */

.notice { display: grid; gap: 20px; padding-top: clamp(28px, 4vw, 48px); }
.notice-media { overflow: hidden; }
.media-large { width: 100%; max-height: 82vh; object-fit: contain; }
.media-large.placeholder { aspect-ratio: 16 / 9; max-height: 62vh; }
.notice-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.notice-section { padding: 26px 28px; }
.notice-section .eyebrow { margin-bottom: 20px; }

.facts { display: grid; }
.facts div { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; }
.facts a, .rows a strong { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
.facts a:hover, .rows a:hover strong { text-decoration-color: var(--text); }

.rows { display: grid; }
.rows li { padding: 12px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows li, .rows a { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.rows a { flex-direction: column; }
.row-key { min-width: 9rem; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bibliography li { display: block; color: #2a2a2a; line-height: 1.6; }
.source { margin-top: 16px; font-size: 0.85rem; }

.prev-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 28px; }

/* Exhibitions */

.exhibitions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.exhibitions a { display: grid; gap: 8px; height: 100%; padding: 26px; }
.exhibitions h2, .exhibitions h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; text-transform: uppercase; }

.about { display: grid; gap: 40px; }

/* Footer */

.footer { background: var(--dark); color: #fff; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(2, minmax(0, 1fr)); gap: 36px; }
.footer-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.footer-muted { margin-top: 8px; color: var(--dark-muted); line-height: 1.6; }
.footer nav { display: grid; gap: 12px; align-content: start; }
.footer h2 { margin-bottom: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.footer nav a { color: var(--dark-muted); }
.footer nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 0.85rem;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .button, .card a, .exhibitions a { transition: transform 0.18s, border-color 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s; }
  .button:hover { transform: translateY(-1px); }
  .card a:hover, .exhibitions a:hover { transform: translateY(-3px); }
}
.card a:hover, .exhibitions a:hover { border-color: var(--text); box-shadow: var(--shadow); }

/* Responsive */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .site-header { width: calc(100% - 28px); min-height: 62px; top: 10px; padding: 9px 9px 9px 14px; }
  .hero { padding: 116px 0 64px; }
  .hero-compact { padding: 112px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .hero-panel { justify-self: start; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1240px); }
  .hero { padding: 100px 0 56px; }
  .headline { font-size: clamp(2.3rem, 12vw, 3.4rem); line-height: 0.94; }
  .hero-compact .headline { font-size: clamp(2rem, 10vw, 3rem); }
  .section { padding-block: 52px; }
  .section-title { font-size: clamp(2rem, 9vw, 3rem); line-height: 1; }
  .button-row .button { flex: auto; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .notice-section { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .catalogue-tools p { margin-left: 0; }
}
