:root {
  color-scheme: dark;
  --field: #333333;
  --ink: #ffffff;
  --soft: rgba(255, 255, 255, 0.76);
  --rule: rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--field);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    "DM Sans", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--field);
}

.site-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) 24px clamp(68px, 8vw, 104px);
}

/* ---- Hero ---- */

.hero {
  padding: 0 0 clamp(42px, 6vw, 64px);
}

.identity {
  display: grid;
  justify-items: start;
  gap: 12px;
}

h1,
.brand-meta,
.tagline,
.prose p {
  margin: 0;
}

.brand-name {
  font-size: clamp(2.95rem, 7vw, 3.75rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2.6vw, 22px);
  color: var(--ink);
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.divider {
  width: clamp(44px, 8vw, 78px);
  height: 0.68em;
  display: inline-block;
  background: rgba(255, 255, 255, 0.82);
}

.tagline {
  margin-top: clamp(28px, 5vw, 48px);
  color: var(--soft);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  text-transform: lowercase;
}

/* ---- Story ---- */

.story {
  padding: clamp(40px, 5vw, 58px) 0;
  border-top: 1px solid var(--rule);
}

.prose {
  max-width: 690px;
  display: grid;
  gap: 16px;
  color: var(--soft);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.58;
}

/* ---- Exhibitions ---- */

.exhibitions {
  padding: clamp(34px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--rule);
}

.exhibitions table {
  width: 100%;
  border-collapse: collapse;
}

.exhibitions thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.exhibitions td {
  padding: 10px 16px 10px 0;
  vertical-align: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.4;
}

.exhibitions tr:last-child td {
  border-bottom: none;
}

.exhibitions .year {
  width: 3.6rem;
  white-space: nowrap;
  font-weight: 700;
}

.exhibitions .title {
  white-space: nowrap;
  padding-right: clamp(16px, 3vw, 28px);
}

.exhibitions .venue {
  color: var(--soft);
}

/* ---- Mobile ---- */

@media (max-width: 640px) {
  .site-shell {
    padding: 34px 20px 72px;
  }

  .brand-meta {
    gap: 10px;
  }

  .divider {
    width: 48px;
    height: 9px;
  }

  .tagline {
    margin-top: 28px;
  }

  .exhibitions table,
  .exhibitions tbody {
    display: block;
  }

  .exhibitions tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.6em;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .exhibitions tr:last-child {
    border-bottom: none;
  }

  .exhibitions td {
    display: block;
    padding: 0;
    border: none;
  }

  .exhibitions .year {
    width: auto;
  }

  .exhibitions .title {
    padding-right: 0;
  }

  .exhibitions .venue {
    flex-basis: 100%;
    margin-top: 2px;
    font-size: 0.9rem;
  }
}
