:root {
  --ink: #11100e;
  --muted: #64605a;
  --paper: #f6f3ee;
  --paper-soft: #ebe6df;
  --line: rgba(17, 16, 14, 0.13);
  --white: #fffdf9;
  --shadow: 0 24px 70px rgba(17, 16, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 3vw, 44px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 16, 14, 0.78), rgba(17, 16, 14, 0));
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(7px, 0.9vw, 14px);
  font-size: 0.76rem;
  font-weight: 400;
}

.site-nav a,
.nav-dropdown-toggle {
  text-decoration: none;
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.5em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 230px;
  display: grid;
  gap: 2px;
  padding: 10px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.07), rgba(255, 253, 249, 0.025)),
    #120820;
  border: 1px solid rgba(214, 208, 223, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-dropdown-separator {
  display: block;
  height: 1px;
  margin: 7px 10px;
  background: rgba(255, 253, 249, 0.18);
}

.nav-dropdown-menu a.nav-subitem {
  padding-left: 26px;
  color: rgba(255, 253, 249, 0.72);
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    #11100e url("assets/hero.png") center center / cover no-repeat;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 8, 35, 0.78), rgba(45, 23, 78, 0.32) 52%, rgba(20, 10, 38, 0.24)),
    linear-gradient(0deg, rgba(11, 7, 24, 0.78), rgba(58, 30, 94, 0.06) 55%);
}

.hero-content {
  position: relative;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 14vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0.72;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(4.1rem, 10vw, 8.8rem);
  line-height: 0.92;
  font-weight: 760;
  overflow-wrap: normal;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 720;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 253, 249, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-subheading {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 253, 249, 0.48);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.section {
  padding: clamp(72px, 11vw, 132px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.intro-section {
  background: var(--white);
}

.intro-section p:not(.eyebrow),
.section-heading p,
.release-panel p,
.text-stack p,
.update-card p {
  color: var(--muted);
}

.intro-section strong {
  color: var(--ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.emergence-intro-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 208, 223, 0.08), transparent 30%),
    linear-gradient(180deg, var(--white), var(--paper) 92%);
}

.research-matters-section {
  padding-top: clamp(18px, 2.5vw, 33px);
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 208, 223, 0.06), transparent 30%),
    linear-gradient(180deg, var(--paper), var(--white) 72%);
}

.emergence-intro-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.emergence-intro-inner h2 {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.emergence-intro-copy {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  line-height: 1.78;
}

.emergence-intro-copy p {
  max-width: 850px;
  margin: 0 auto;
}

.emergence-intro-copy p + p {
  margin-top: 22px;
}

.research-question {
  max-width: 820px;
  padding: clamp(18px, 3vw, 28px) 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.research-callout {
  padding: clamp(34px, 5vw, 60px) 0 clamp(12px, 2vw, 20px);
  color: var(--ink);
  font-size: clamp(1.22rem, 2.3vw, 1.86rem);
  line-height: 1.45;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.doorway-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(214, 208, 223, 0.16), transparent 28%),
    linear-gradient(180deg, #100822, #170b2f 48%, #120820);
  color: var(--white);
}

.doorway-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 249, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.18;
}

.doorway-section .section-inner {
  position: relative;
}

.doorway-heading p:last-child {
  color: #d6d0df;
}

.doorway-heading p {
  color: rgba(214, 208, 223, 0.78);
}

.doorway-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 40px);
}

.doorway-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 24vw, 340px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid rgba(214, 208, 223, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.055), rgba(255, 253, 249, 0.02)),
    rgba(255, 253, 249, 0.025);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16), 0 0 20px rgba(104, 73, 148, 0.08), inset 0 1px 0 rgba(255, 253, 249, 0.06);
  color: var(--white);
  text-decoration: none;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.doorway-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border-radius: 6px;
  opacity: 0.18;
  transition: opacity 280ms ease;
}

.doorway-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 26% 14%, rgba(214, 208, 223, 0.12), transparent 32%);
  opacity: 0;
  transition: opacity 280ms ease;
}

.doorway-card:nth-child(1)::before {
  border: 1px solid rgba(255, 253, 249, 0.14);
  box-shadow: inset 0 0 22px rgba(214, 208, 223, 0.1), 0 0 18px rgba(214, 208, 223, 0.05);
}

.doorway-card:nth-child(1) .doorway-icon {
  text-shadow: 0 14px 22px rgba(214, 208, 223, 0.24);
}

.doorway-card:nth-child(2)::before {
  background:
    radial-gradient(circle, transparent 0 28%, rgba(214, 208, 223, 0.13) 29%, transparent 30%),
    radial-gradient(circle, transparent 0 45%, rgba(214, 208, 223, 0.08) 46%, transparent 47%);
  background-position: 50% 28%;
  background-size: 190px 190px;
}

.doorway-card:nth-child(3)::before {
  background:
    linear-gradient(0deg, transparent 0 27px, rgba(255, 253, 249, 0.08) 28px),
    linear-gradient(90deg, rgba(255, 253, 249, 0.055) 1px, transparent 1px);
  background-size: 100% 28px, 36px 100%;
}

.doorway-card:nth-child(4)::before {
  background:
    radial-gradient(circle at 25% 32%, rgba(255, 253, 249, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 45%, rgba(255, 253, 249, 0.16) 0 1px, transparent 2px),
    linear-gradient(34deg, transparent 0 38%, rgba(255, 253, 249, 0.07) 39%, transparent 40%);
}

.doorway-card:nth-child(5)::before {
  border: 1px dashed rgba(255, 253, 249, 0.14);
  background:
    repeating-linear-gradient(0deg, rgba(255, 253, 249, 0.045) 0 1px, transparent 1px 13px),
    linear-gradient(0deg, rgba(255, 253, 249, 0.035), rgba(255, 253, 249, 0.035));
}

.doorway-card:nth-child(5)::after {
  background:
    linear-gradient(145deg, rgba(168, 54, 46, 0.14), transparent 28%),
    radial-gradient(circle at 30% 15%, rgba(255, 253, 249, 0.08), transparent 34%);
}

.doorway-card:nth-child(6)::before {
  background:
    radial-gradient(circle at 50% 42%, transparent 0 30%, rgba(255, 253, 249, 0.11) 31%, transparent 32%),
    radial-gradient(circle at 50% 42%, transparent 0 48%, rgba(255, 253, 249, 0.07) 49%, transparent 50%),
    linear-gradient(30deg, transparent 0 49%, rgba(255, 253, 249, 0.06) 50%, transparent 51%),
    linear-gradient(150deg, transparent 0 49%, rgba(255, 253, 249, 0.05) 50%, transparent 51%);
}

.doorway-music-card::before {
  background:
    radial-gradient(circle, transparent 0 28%, rgba(245, 183, 90, 0.14) 29%, transparent 30%),
    radial-gradient(circle, transparent 0 46%, rgba(245, 183, 90, 0.08) 47%, transparent 48%);
  background-position: 50% 30%;
  background-size: 190px 190px;
}

.doorway-story-card::before {
  background:
    linear-gradient(0deg, transparent 0 27px, rgba(150, 174, 210, 0.08) 28px),
    linear-gradient(90deg, rgba(150, 174, 210, 0.055) 1px, transparent 1px);
  background-size: 100% 28px, 36px 100%;
}

.doorway-gallery-card::before {
  border: 1px solid rgba(255, 253, 249, 0.16);
  box-shadow: inset 0 0 22px rgba(255, 253, 249, 0.09), 0 0 18px rgba(255, 253, 249, 0.05);
}

.doorway-research-card::before {
  background:
    radial-gradient(circle at 50% 42%, transparent 0 30%, rgba(177, 188, 198, 0.11) 31%, transparent 32%),
    radial-gradient(circle at 50% 42%, transparent 0 48%, rgba(177, 188, 198, 0.07) 49%, transparent 50%),
    linear-gradient(30deg, transparent 0 49%, rgba(177, 188, 198, 0.06) 50%, transparent 51%),
    linear-gradient(150deg, transparent 0 49%, rgba(177, 188, 198, 0.05) 50%, transparent 51%);
}

.doorway-termite-card::before {
  border: 1px dashed rgba(246, 228, 191, 0.16);
  background:
    repeating-linear-gradient(0deg, rgba(246, 228, 191, 0.045) 0 1px, transparent 1px 13px),
    linear-gradient(0deg, rgba(246, 228, 191, 0.035), rgba(246, 228, 191, 0.035));
}

.doorway-card:hover,
.doorway-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(214, 208, 223, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.075), rgba(255, 253, 249, 0.028)),
    rgba(255, 253, 249, 0.04);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.22), 0 0 34px rgba(104, 73, 148, 0.18);
}

.doorway-music-card:hover,
.doorway-music-card:focus-visible {
  border-color: rgba(245, 183, 90, 0.34);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.22), 0 0 34px rgba(245, 183, 90, 0.12);
}

.doorway-story-card:hover,
.doorway-story-card:focus-visible {
  border-color: rgba(150, 174, 210, 0.34);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.22), 0 0 34px rgba(80, 111, 164, 0.14);
}

.doorway-gallery-card:hover,
.doorway-gallery-card:focus-visible {
  border-color: rgba(255, 253, 249, 0.36);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.22), 0 0 34px rgba(255, 253, 249, 0.1);
}

.doorway-research-card:hover,
.doorway-research-card:focus-visible {
  border-color: rgba(177, 188, 198, 0.34);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.22), 0 0 34px rgba(177, 188, 198, 0.11);
}

.doorway-termite-card:hover,
.doorway-termite-card:focus-visible {
  border-color: rgba(246, 228, 191, 0.34);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.22), 0 0 34px rgba(246, 228, 191, 0.1);
}

.doorway-card:hover::after,
.doorway-card:focus-visible::after {
  opacity: 1;
}

.doorway-card:hover::before,
.doorway-card:focus-visible::before {
  opacity: 0.34;
}

.doorway-icon {
  margin-bottom: clamp(24px, 4vw, 42px);
  color: rgba(214, 208, 223, 0.7);
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(214, 208, 223, 0.22));
}

.doorway-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(92px, 10vw, 126px);
  display: block;
  margin-bottom: auto;
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.doorway-card h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.12;
}

.doorway-room-number {
  margin: 0 0 12px;
  color: rgba(214, 208, 223, 0.58);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doorway-card p {
  margin: 12px 0 0;
  color: rgba(214, 208, 223, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.doorway-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 26px;
  color: #fffdf9;
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.82;
}

.doorway-stamp {
  position: absolute;
  top: 18px;
  right: 16px;
  color: rgba(255, 253, 249, 0.38);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gallery-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 253, 249, 0.9), transparent 34%),
    linear-gradient(180deg, #f7f2e8, #fffdf9 48%, #f5efe4);
  color: var(--ink);
}

.gallery-exhibition {
  display: grid;
  gap: clamp(54px, 9vw, 120px);
}

.gallery-intro {
  width: min(840px, 100%);
}

.gallery-intro .text-stack {
  margin: 24px 0 0;
  color: var(--muted);
}

.gallery-intro .button {
  margin-top: 4px;
}

.gallery-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-entrance {
  display: grid;
  gap: clamp(30px, 5vw, 58px);
  justify-items: center;
}

.gallery-entrance-artwork {
  width: min(96%, 1160px);
  margin: 0;
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid rgba(17, 16, 14, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(246, 243, 238, 0.88));
  box-shadow: 0 26px 70px rgba(52, 42, 30, 0.11);
  line-height: 0;
}

.artwork-view-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-entrance-artwork img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 18px 46px rgba(17, 16, 14, 0.14);
}

.artwork-view-trigger:focus-visible {
  outline: 2px solid rgba(17, 16, 14, 0.62);
  outline-offset: 8px;
}

.artwork-label {
  width: min(90%, 760px);
  color: var(--ink);
  text-align: center;
}

.artwork-label h3 {
  margin-bottom: 14px;
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  font-weight: 650;
}

.artwork-label p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.artwork-label blockquote {
  margin: clamp(32px, 5vw, 54px) 0 0;
  color: var(--ink);
  font-style: italic;
}

.artwork-label blockquote p {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.8;
}

.artwork-label blockquote cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 650;
}

.edition-note {
  display: inline-flex;
  margin-top: 28px;
  padding: 7px 11px;
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-archive,
.artwork-detail,
.collection-groups,
.edition-framework,
.archive-philosophy {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.collection-section-heading {
  max-width: 720px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.collection-section-heading h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

.archive-entry-card,
.artwork-detail,
.collection-card,
.edition-grid article {
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.08);
}

.archive-entry-card,
.artwork-detail {
  padding: clamp(24px, 4vw, 44px);
}

.archive-entry-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.archive-entry-heading .eyebrow {
  margin: 0;
  color: var(--muted);
}

.archive-entry-heading h4,
.collection-card h4,
.edition-grid h4,
.artwork-detail-notes h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.archive-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.archive-meta-grid div {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 16, 14, 0.1);
}

.archive-meta-grid dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.archive-meta-grid dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 0.96rem;
}

.artwork-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(26px, 5vw, 58px);
}

.artwork-detail-notes {
  color: var(--muted);
}

.artwork-detail-notes h4:not(:first-child) {
  margin-top: 32px;
}

.artwork-detail-notes p {
  margin: 12px 0 0;
}

.collection-card-grid,
.edition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.collection-card,
.edition-grid article {
  padding: clamp(20px, 2.6vw, 28px);
}

.collection-card-featured {
  grid-column: span 2;
}

.collection-card p,
.edition-grid p,
.archive-protection-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.collection-card .gallery-card-link {
  margin-top: 22px;
}

.archive-protection-note {
  max-width: 620px;
  margin-top: 28px;
  font-size: 0.92rem;
}

.archive-philosophy {
  padding: clamp(18px, 3vw, 34px) 0 0;
}

.archive-philosophy h3 {
  max-width: 720px;
  margin: 0 0 clamp(24px, 4vw, 42px);
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

.archive-philosophy .text-stack {
  max-width: 760px;
  color: var(--muted);
}

.archive-philosophy-closing {
  max-width: 760px;
  margin: clamp(46px, 7vw, 82px) 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-style: italic;
}

.archive-philosophy-mark {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.artwork-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 253, 249, 0.9), transparent 34%),
    linear-gradient(180deg, #f7f2e8, #fffdf9 48%, #f5efe4);
  color: var(--ink);
}

.artwork-page-main {
  padding-top: 96px;
}

.artwork-hero-section {
  padding-top: clamp(72px, 10vw, 124px);
}

.artwork-page-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.artwork-page .artwork-page-inner {
  max-width: 100%;
}

.artwork-page-hero {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  justify-items: center;
}

.artwork-page-frame {
  width: min(96%, 1160px);
  margin: 0;
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid rgba(17, 16, 14, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(246, 243, 238, 0.88));
  box-shadow: 0 26px 70px rgba(52, 42, 30, 0.11);
  line-height: 0;
}

.artwork-page-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 18px 46px rgba(17, 16, 14, 0.14);
}

.artwork-page-label {
  width: min(90%, 760px);
  margin: 0 auto;
  text-align: center;
}

.artwork-page-label h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  white-space: normal;
}

.artwork-page-label p {
  margin: 8px 0 0;
  color: var(--muted);
}

.artwork-page-label dl {
  margin: 24px auto 0;
  text-align: center;
}

.artwork-page-label dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.artwork-page-label dd {
  margin: 8px 0 0;
  color: var(--ink);
}

.artwork-page-section {
  padding: clamp(72px, 10vw, 118px) 0;
}

.artwork-page-section + .artwork-page-section {
  border-top: 1px solid rgba(17, 16, 14, 0.08);
}

.artwork-page-section h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.artwork-page-section .text-stack {
  max-width: 760px;
  color: var(--muted);
}

.buy-music-inner {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
}

.buy-music-inner h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  white-space: normal;
}

.buy-music-subheading {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.16rem, 2vw, 1.5rem);
}

.buy-music-inner .text-stack {
  max-width: 740px;
  margin: 36px auto 0;
  color: var(--muted);
}

.buy-music-list {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  list-style-position: inside;
}

.buy-music-thanks {
  margin: clamp(46px, 7vw, 76px) 0 0;
  color: var(--muted);
}

.buy-music-inner .button {
  margin-top: 34px;
}

.artwork-record-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.08);
}

.collection-landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

.artwork-page-inner.collection-landing-grid {
  width: min(1100px, calc(100% - 36px));
}

.collection-landing-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.08);
}

.collection-landing-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 36px rgba(52, 42, 30, 0.1);
}

.collection-landing-card h2,
.collection-landing-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
}

.collection-landing-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

div.artwork-page-inner.collection-landing-card {
  width: min(560px, calc(100% - 36px));
}

.gallery-landing {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
}

.gallery-collection-hero {
  padding-top: clamp(42px, 6.5vw, 82px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.gallery-artworks-section {
  padding-top: clamp(32px, 4.6vw, 56px);
  padding-bottom: clamp(48px, 6vw, 74px);
}

.gallery-landing .button {
  margin-top: clamp(8px, 1.8vw, 18px);
}

.gallery-intro h1 {
  font-size: clamp(2.55rem, 6.4vw, 6.2rem);
  line-height: 0.96;
  white-space: normal;
}

.edition-page-intro h1 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.gallery-landing-title span {
  display: inline;
}

.gallery-landing-title span + span::before {
  content: " ";
}

@media (max-width: 760px) {
  .gallery-landing-title span {
    display: block;
  }

  .gallery-landing-title span + span::before {
    content: "";
  }
}

.gallery-landing-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 0.42fr);
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.08);
}

.gallery-landing-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 36px rgba(52, 42, 30, 0.1);
}

.gallery-landing-feature h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.gallery-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.gallery-links-section {
  padding-top: clamp(34px, 4.8vw, 58px);
  padding-bottom: clamp(46px, 5.8vw, 72px);
}

.gallery-links-section .gallery-entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.gallery-entry-card {
  min-height: 150px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.62);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.gallery-entry-card:hover,
.gallery-entry-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(17, 16, 14, 0.2);
  background: rgba(255, 253, 249, 0.82);
}

.gallery-entry-card span {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-entry-card p {
  margin: 0;
  color: var(--muted);
}

.artwork-page-section[aria-labelledby="reflection-title"] .artwork-page-inner,
.artwork-page-section[aria-labelledby="record-title"] .artwork-page-inner,
.artwork-page-section[aria-labelledby="story-title"] .artwork-page-inner,
.artwork-page-section[aria-labelledby="related-title"] .artwork-page-inner,
.artwork-page-section[aria-labelledby="editions-title"] .artwork-page-inner,
.artwork-page-section[aria-labelledby="print-options-title"] .artwork-page-inner,
.artwork-page-section[aria-labelledby="chronology-title"] .artwork-page-inner {
  width: min(760px, calc(100% - 36px));
}

.artwork-page-section[aria-labelledby="reflection-title"] .split,
.artwork-page-section[aria-labelledby="story-title"] .split,
.artwork-page-section[aria-labelledby="related-title"] .split {
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 30px);
}

.gallery-artwork-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.gallery-artwork-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(9px, 1.3vw, 13px);
  padding: clamp(13px, 1.8vw, 18px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.08);
}

.gallery-artwork-card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 36px rgba(52, 42, 30, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.gallery-artwork-card a:first-child {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
}

.gallery-artwork-card > div {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  align-content: start;
}

.gallery-artwork-card a:first-child:hover img,
.gallery-artwork-card a:first-child:focus-visible img {
  transform: scale(1.025);
  box-shadow: 0 20px 42px rgba(52, 42, 30, 0.14);
}

.gallery-artwork-card h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.gallery-artwork-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.gallery-artwork-card .gallery-card-link {
  align-self: end;
  justify-self: start;
  margin-top: 12px;
}

.gallery-footer {
  padding-top: clamp(34px, 4.8vw, 58px);
  padding-bottom: clamp(42px, 5.8vw, 72px);
}

.collection-hero-copy {
  max-width: 720px;
}

.collection-hero-copy p {
  color: var(--muted);
}

.collection-hero-title h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
  line-height: 0.96;
  white-space: normal;
}

.gallery-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-trail {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.gallery-breadcrumbs a:hover,
.gallery-breadcrumbs a:focus-visible {
  color: var(--ink);
}

.artwork-page-label .gallery-breadcrumbs {
  justify-content: center;
  text-align: center;
  margin-bottom: 28px;
}

.gallery-breadcrumbs span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.48;
}

.print-availability-note {
  max-width: 560px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 16, 14, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.print-availability-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.archive-record-list {
  display: grid;
  gap: 14px;
}

.archive-record {
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 20px 58px rgba(52, 42, 30, 0.08);
}

.archive-record summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.archive-record summary::-webkit-details-marker {
  display: none;
}

.archive-record summary::after {
  content: "▼";
  color: var(--muted);
  font-size: 0.78rem;
}

.archive-record[open] summary::after {
  transform: rotate(180deg);
}

.archive-record-body {
  padding: 0 clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 26px);
}

.edition-option-grid,
.print-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.edition-option,
.print-option {
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.66);
}

.edition-option h3,
.print-option h3 {
  margin: 0;
  font-size: 1.05rem;
}

.edition-option p,
.print-option p {
  margin: 10px 0 0;
  color: var(--muted);
}

.artwork-chronology {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.chronology-link {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(17, 16, 14, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.56);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.chronology-link:hover,
.chronology-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(17, 16, 14, 0.2);
  background: rgba(255, 253, 249, 0.78);
}

.chronology-link.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.chronology-link span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chronology-link strong {
  font-size: 1.12rem;
}

.chronology-link em {
  color: var(--muted);
  font-style: normal;
}

.chronology-link .chronology-arrow {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.2rem;
}

.archive-footer {
  padding: clamp(54px, 8vw, 92px) 0;
  border-top: 1px solid rgba(17, 16, 14, 0.08);
  text-align: center;
}

.archive-footer h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-footer p {
  margin: 14px 0 0;
  color: var(--muted);
}

.artwork-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(15, 16, 18, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.artwork-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.artwork-lightbox img {
  max-width: min(94vw, 1480px);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  transform: scale(0.98);
  transition: transform 300ms ease;
}

.artwork-lightbox.is-open img {
  transform: scale(1);
}

.artwork-lightbox-close {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(172, 224, 185, 0.78);
  border-radius: 999px;
  color: rgba(232, 246, 235, 0.9);
  background: rgba(167, 211, 178, 0.04);
  box-shadow:
    0 0 0 1px rgba(172, 224, 185, 0.18),
    0 0 18px rgba(167, 211, 178, 0.2);
  font: inherit;
  font-size: 1.28rem;
  line-height: 1;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease, transform 120ms ease;
}

.artwork-lightbox-close:hover,
.artwork-lightbox-close:focus-visible {
  color: var(--white);
  border-color: rgba(195, 241, 206, 0.92);
  background: rgba(167, 211, 178, 0.055);
  box-shadow:
    0 0 0 1px rgba(195, 241, 206, 0.24),
    0 0 24px rgba(167, 211, 178, 0.3);
}

.artwork-lightbox-close:active {
  animation: closePulse 180ms ease-out;
}

@keyframes closePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(167, 211, 178, 0.16);
  }

  50% {
    transform: scale(0.94);
    box-shadow: 0 0 28px rgba(167, 211, 178, 0.34);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(167, 211, 178, 0.16);
  }
}

.gallery-featured {
  position: relative;
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(255, 253, 249, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.1), rgba(255, 253, 249, 0.04)),
    rgba(255, 253, 249, 0.04);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.26);
}

.gallery-featured img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 8.5;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.gallery-featured figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  color: #d6d0df;
}

.gallery-featured figcaption span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.gallery-featured figcaption strong {
  color: var(--white);
}

.gallery-card-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.story-section {
  background:
    linear-gradient(180deg, var(--white), var(--paper));
}

.story-section-soft {
  background:
    linear-gradient(180deg, var(--paper), var(--white));
}

.story-section .text-stack {
  max-width: 720px;
}

.section-subtitle {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.about-narrative {
  max-width: 760px;
}

.about-narrative section + section {
  margin-top: clamp(42px, 6vw, 70px);
  padding-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.about-narrative .about-section-break {
  margin-top: clamp(52px, 7vw, 82px);
}

.about-narrative h3 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.story-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-index-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease;
}

.story-index-card:hover,
.story-index-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(17, 16, 14, 0.24);
}

.story-index-card-static {
  cursor: default;
}

.story-index-card-static:hover,
.story-index-card-static:focus-visible {
  transform: none;
  border-color: var(--line);
}

.story-index-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.reflection-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(214, 208, 223, 0.16), transparent 28%),
    linear-gradient(180deg, #f6f3ee, #fffdf9 78%);
}

.reflection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.reflection-card {
  min-height: 280px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow);
}

.reflection-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.reflection-card p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.gallery-info-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 5vw, 54px);
}

.gallery-info {
  padding: 20px;
  border: 1px solid rgba(255, 253, 249, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.055);
}

.gallery-info span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 253, 249, 0.18);
  border-radius: 999px;
  color: #d6d0df;
}

.gallery-info svg {
  width: 18px;
  height: 18px;
}

.gallery-info svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gallery-info h3 {
  color: var(--white);
  font-size: 1rem;
}

.gallery-info p {
  margin: 9px 0 0;
  color: rgba(214, 208, 223, 0.74);
  font-size: 0.92rem;
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.song-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 0.55fr);
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.artwork {
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(235, 230, 223, 0.92)),
    var(--paper-soft);
}

.artwork img {
  width: 92%;
  height: 92%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(17, 16, 14, 0.16));
  transform: scale(1);
  transition: transform 420ms ease, filter 420ms ease;
}

.song-card:hover .artwork img,
.song-card:focus-within .artwork img {
  filter: drop-shadow(0 22px 32px rgba(17, 16, 14, 0.2));
  transform: scale(1.04);
}

/*
  Legacy placeholder artwork styling kept out of use now that real covers are loaded.
  Re-enable a class below only if you temporarily need generated color placeholders again.
*/
.artwork-placeholder {
  display: flex;
  align-items: end;
  padding: 20px;
  color: rgba(255, 253, 249, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 62% 34%, rgba(255, 253, 249, 0.82), transparent 20%),
    linear-gradient(135deg, #11100e, #4d4942 45%, #ddd5ca);
}

.artwork-placeholder-fire {
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 253, 249, 0.92), transparent 18%),
    linear-gradient(145deg, #11100e, #6f6254 48%, #d8d0c5);
}

.artwork-placeholder-moment {
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 253, 249, 0.9), transparent 19%),
    linear-gradient(145deg, #181713, #a9a193 54%, #f7f0e6);
}

.artwork-placeholder-fear {
  background:
    radial-gradient(circle at 74% 32%, rgba(255, 253, 249, 0.88), transparent 18%),
    linear-gradient(145deg, #101010, #555958 45%, #d6d8d1);
}

.artwork-placeholder-matters {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 249, 0.84), transparent 18%),
    linear-gradient(145deg, #11100e, #81776d 46%, #efe9de);
}

.artwork-placeholder-chaos {
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 253, 249, 0.84), transparent 17%),
    repeating-linear-gradient(115deg, rgba(255, 253, 249, 0.08) 0 8px, transparent 8px 19px),
    linear-gradient(145deg, #11100e, #5d5a53 45%, #ded8ce);
}

.song-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.song-body p {
  margin: 0;
  color: var(--muted);
}

.song-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.song-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.1;
}

.song-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.song-actions .button {
  flex: 1 1 140px;
}

.release-section,
.contact-section {
  background: var(--white);
}

.release-date {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.release-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.release-panel h3 {
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
}

.release-panel p + p {
  margin-top: 14px;
}

.release-panel .button {
  margin-top: 28px;
}

.release-panel .release-status {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 760;
}

.release-quote {
  margin: clamp(22px, 4vw, 34px) 0 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

.release-quote p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.35;
}

.release-quote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.updates-list {
  display: grid;
  gap: 14px;
}

.update-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.update-card:last-child {
  border-bottom: 1px solid var(--line);
}

.update-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.update-card p {
  margin: 0;
}

.update-detail p + p {
  margin-top: 12px;
}

.text-stack p {
  margin: 0;
  font-size: 1.06rem;
}

.text-stack p + p,
.text-stack p + h3,
.text-stack h3 + p {
  margin-top: 18px;
}

.text-stack h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.journal-section {
  background:
    linear-gradient(180deg, #fffdf9, #f6f0e3);
}

.journal-intro {
  max-width: 520px;
  margin-top: clamp(24px, 4vw, 42px);
  color: #6a5f4f;
}

.journal-intro p {
  margin: 0;
}

.journal-intro p + p {
  margin-top: 14px;
}

.journal-paper {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(122, 101, 70, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(122, 101, 70, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf0, #f8f0df);
  background-size: 42px 100%, 100% 100%;
  box-shadow: 0 28px 80px rgba(88, 68, 38, 0.12);
}

.journal-paper::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 28px;
  width: 1px;
  background: rgba(122, 101, 70, 0.18);
}

.journal-paper time {
  display: block;
  margin-bottom: 24px;
  color: #7b6b55;
  font-size: 0.92rem;
  font-weight: 800;
}

.journal-paper p {
  margin: 0;
  color: #2a241c;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.75;
}

.journal-paper p + p {
  margin-top: 16px;
}

.journal-signature {
  font-weight: 800;
}

.journal-paper .button {
  margin-top: 30px;
}

.termite-section {
  background:
    linear-gradient(180deg, #171612, #232018);
  color: #f6f0e3;
}

.termite-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.termite-layout > div > p:not(.eyebrow):not(.classified-stamp) {
  max-width: 520px;
  color: rgba(246, 240, 227, 0.72);
}

.termite-intro,
.termite-department {
  max-width: 560px;
  color: rgba(246, 240, 227, 0.72);
}

.termite-intro {
  margin-top: clamp(24px, 4vw, 42px);
}

.termite-intro h3,
.termite-department h3 {
  color: #f6f0e3;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.termite-intro p {
  margin: 14px 0 0;
}

.termite-department {
  display: grid;
  gap: 16px;
  margin-top: clamp(34px, 5vw, 58px);
}

.termite-department article {
  padding: 18px 0 0;
  border-top: 1px solid rgba(246, 240, 227, 0.16);
}

.termite-department h4,
.termite-department h5 {
  margin: 0;
  color: #f6f0e3;
}

.termite-department h4 {
  font-size: 1.02rem;
}

.termite-department h5 {
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.termite-department p {
  margin: 8px 0 0;
}

.termite-department ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.classified-stamp {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 8px 14px;
  border: 2px solid #b84135;
  color: #d64b3f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  transform: rotate(-4deg);
}

.termite-report {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(246, 240, 227, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 240, 227, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(246, 240, 227, 0.04) 1px, transparent 1px),
    #ede3cf;
  background-size: 28px 28px;
  color: #16130e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.termite-report h3 {
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  text-transform: uppercase;
}

.termite-report time,
.termite-archive time {
  display: block;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 900;
}

.termite-report time {
  color: rgba(22, 19, 14, 0.62);
}

.termite-archive time {
  color: rgba(246, 240, 227, 0.54);
}

.termite-report dl {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.termite-report dl div {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(22, 19, 14, 0.17);
}

.termite-report dt {
  font-weight: 900;
  text-transform: uppercase;
}

.termite-report dd {
  margin: 0;
  font-weight: 700;
}

.termite-report p {
  margin: 0;
  color: #2b251d;
  font-size: 1.02rem;
}

.termite-report p + p {
  margin-top: 12px;
}

.termite-report .button {
  margin-top: 28px;
}

.termite-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 5vw, 54px);
}

.termite-archive article {
  padding: 22px;
  border: 1px solid rgba(246, 240, 227, 0.18);
  border-radius: 8px;
  background: rgba(237, 227, 207, 0.08);
}

.termite-archive h3 {
  margin-top: 10px;
  color: #f6f0e3;
}

.report-number {
  margin: 10px 0 0;
  color: rgba(246, 240, 227, 0.54);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.termite-archive p {
  margin: 12px 0 0;
  color: rgba(246, 240, 227, 0.7);
}

.termite-archive .button {
  margin-top: 18px;
}

.termite-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.termite-categories span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(246, 240, 227, 0.16);
  border-radius: 999px;
  color: rgba(246, 240, 227, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
}

.research-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.05), transparent 42%),
    linear-gradient(180deg, #180b30, #150a2a 55%, #100822);
  color: var(--white);
}

.research-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 249, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.28;
}

.research-section .section-inner {
  position: relative;
}

.research-intro {
  width: min(820px, 100%);
  margin-bottom: clamp(34px, 6vw, 64px);
}

.research-intro .text-stack {
  max-width: 690px;
  color: #d6d0df;
}

.research-intro .text-stack p {
  color: #d6d0df;
}

.research-closing-thought {
  margin-top: 34px;
  color: rgba(255, 253, 249, 0.86);
}

.research-lede {
  margin: 22px 0 20px;
  color: rgba(255, 253, 249, 0.9);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 720;
  line-height: 1.18;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.research-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 253, 249, 0.14);
  background: rgba(255, 253, 249, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  color: inherit;
  text-decoration: none;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.research-card:hover,
.research-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 253, 249, 0.26);
  background: rgba(255, 253, 249, 0.08);
}

.research-card .eyebrow {
  margin-bottom: 22px;
  color: rgba(255, 253, 249, 0.62);
}

.research-card h3 {
  color: var(--white);
}

.research-card p:not(.eyebrow) {
  margin: 12px 0 0;
  color: rgba(255, 253, 249, 0.74);
}

.research-card-status {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 253, 249, 0.12);
}

.research-card-status strong {
  color: rgba(255, 253, 249, 0.88);
}

.research-card span {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: #d6d0df;
  font-size: 0.88rem;
  font-weight: 800;
}

.research-institute-note {
  max-width: 760px;
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid rgba(255, 253, 249, 0.14);
  color: rgba(214, 208, 223, 0.82);
}

.research-institute-note p {
  margin: 0;
}

.research-institute-note p + p {
  margin-top: 12px;
}

.guiding-principles-section {
  background: var(--white);
  color: var(--ink);
}

.guiding-principles-inner {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.guiding-principles-inner h2 {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.guiding-principles-statement {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.22rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.principles-list {
  display: grid;
  gap: clamp(16px, 2.7vw, 26px);
  margin: clamp(54px, 8vw, 90px) 0 0;
  padding: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  list-style-position: inside;
}

.principles-list li {
  padding: 0;
}

.research-document-section {
  background: var(--paper);
}

.research-landing-section {
  background: var(--white);
}

.research-document-section:nth-of-type(even) {
  background: var(--white);
}

.contact-panel {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 8px;
}

.form-note,
.form-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status:empty {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 8vw, 84px) clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 253, 249, 0.1);
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 208, 223, 0.12), transparent 26%),
    linear-gradient(180deg, #120820, #0f071d);
  color: #d6d0df;
  font-size: 0.98rem;
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.site-footer small {
  display: block;
  max-width: 560px;
  margin-top: 26px;
  color: rgba(214, 208, 223, 0.62);
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
}

@media (max-width: 1120px) {
  .site-header {
    min-height: 64px;
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 253, 249, 0.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 0.86rem;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 13px 12px;
    text-align: left;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    display: none;
    margin: 0 0 6px;
    padding: 4px 10px 10px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    color: var(--ink);
    background: rgba(246, 243, 238, 0.92);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px 10px 22px;
  }

  .nav-dropdown-separator {
    margin: 7px 12px 7px 22px;
    background: rgba(17, 16, 14, 0.12);
  }

  .nav-dropdown-menu a.nav-subitem {
    padding-left: 34px;
    color: var(--muted);
  }
}

@media (max-width: 980px) {
  .song-grid,
  .termite-layout,
  .split {
    grid-template-columns: 1fr;
  }

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

  .gallery-intro {
    position: static;
  }

  .gallery-info-row,
  .reflection-grid,
  .archive-meta-grid,
  .collection-card-grid,
  .edition-grid,
  .collection-landing-grid,
  .gallery-entry-grid,
  .edition-option-grid,
  .print-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-landing-feature {
    grid-template-columns: 1fr;
  }

  .artwork-detail-grid {
    grid-template-columns: 1fr;
  }

  .artwork-chronology {
    grid-template-columns: 1fr;
  }

  .story-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .song-card {
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 8vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 8, 35, 0.86), rgba(45, 23, 78, 0.44)),
      linear-gradient(0deg, rgba(11, 7, 24, 0.84), rgba(58, 30, 94, 0.1) 62%);
  }

  .gallery-info-row,
  .reflection-grid,
  .story-index-grid,
  .termite-archive,
  .archive-meta-grid,
  .collection-card-grid,
  .edition-grid,
  .collection-landing-grid,
  .gallery-artwork-grid,
  .gallery-entry-grid,
  .edition-option-grid,
  .print-option-grid,
  .doorway-grid {
    grid-template-columns: 1fr;
  }

  .gallery-links-section .gallery-entry-grid {
    grid-template-columns: 1fr;
  }

  .gallery-intro h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    overflow-wrap: break-word;
  }

  .gallery-intro .text-stack {
    max-width: 31ch;
  }

  .collection-card-featured {
    grid-column: auto;
  }

  .collection-landing-card {
    grid-template-columns: 1fr;
  }

  .artwork-page-main {
    padding-top: 76px;
  }

  .gallery-featured img {
    aspect-ratio: 4 / 3;
  }

  .song-card {
    grid-template-columns: 1fr;
  }

  .artwork {
    min-height: 0;
    height: min(82vw, 320px);
  }

  .update-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .research-card {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .brand {
    max-width: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.1rem);
  }
}
