/* Beauty Exhibit — quiet gallery wall. System fonts only. */

:root {
  --bg: #0c0b0a;
  --bg-raised: #141311;
  --ink: #efe9dc;
  --ink-dim: #9d9688;
  --line: #2a2723;
  --gold: #d7c4a0;
  --gold-deep: #b9a37c;
  --focus: #efe3c4;
  --serif: Palatino, "Palatino Linotype", "Iowan Old Style", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 38rem;
  --page: 72rem;
}

* { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover, a:focus-visible { color: var(--focus); }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 20;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.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;
}

.wrap {
  width: min(var(--page), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.1rem 0 1rem;
}

.wordmark {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:hover, .wordmark:focus-visible { color: var(--gold); }

.site-nav {
  display: flex;
  gap: 1.15rem;
  font-family: var(--sans);
  font-size: 0.82rem;
}

.site-nav a {
  color: var(--ink-dim);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Main */

main {
  flex: 1;
  padding-bottom: 4.5rem;
}

/* Hero */

.hero {
  padding-top: 0;
}

.kicker {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 40rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.hero-art {
  margin: 0 0 1.85rem;
}

.hero-art img,
.hero-art svg {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 4;
  object-fit: cover;
  object-position: center 80%;
  background: #0a0908;
}

.caption {
  margin: 0.55rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.facts > div:first-child { border-top: 0; }

.facts dt,
.fact-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 0.2rem;
}

.facts dd,
.fact-value {
  margin: 0;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin: 0 0 3.25rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  line-height: 1.2;
}

.btn:hover, .btn:focus-visible {
  background: var(--focus);
  border-color: var(--focus);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  background: transparent;
  color: var(--focus);
  border-color: var(--focus);
}

.cta-note {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-dim);
}

/* Sections */

.section {
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.section + .section { margin-top: 2.6rem; }

.section h2 {
  margin: 0 0 1rem;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose {
  max-width: var(--measure);
}

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.prose ul, .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose li { margin: 0 0 0.45rem; }
.prose li:last-child { margin-bottom: 0; }

/* Rubric */

.rubric {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.rubric-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.rubric-item h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rubric-item .scale {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

.rubric-item p {
  margin: 0;
  max-width: var(--measure);
}

/* FAQ */

.faq {
  max-width: 42rem;
}

.faq h2 {
  /* used as question */
}

.qa {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.qa:first-of-type { border-top: 1px solid var(--line); }

.qa h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.qa p { margin: 0 0 0.7rem; }
.qa p:last-child { margin-bottom: 0; }

/* Page titles (rules, faq, 404, submit) */

.page-head {
  padding: 2.5rem 0 1.5rem;
}

.page-head h1 {
  margin: 0 0 0.6rem;
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-head .deck {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-dim);
}

.not-found { padding-top: 3rem; }
.not-found h1 { margin-bottom: 0.75rem; }

/* Submit page */

.submit-box {
  max-width: var(--measure);
}

.submit-box ol { padding-left: 1.2rem; }
.submit-box li { margin: 0 0 0.5rem; }

.mail-block {
  margin: 1.4rem 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mail-block a {
  font-size: 1.2rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 1.4rem;
  margin-top: auto;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-dim);
}

.site-footer a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold); }

/* Desktop */

@media (min-width: 720px) {
  .hero { padding-top: 0; }
  .hero-art { margin-bottom: 2.1rem; }

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

  .facts > div {
    border-top: 0;
    padding: 1rem 1.25rem 1rem 0;
  }

  .facts > div:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 1.5rem;
  }

  .facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .rubric-item {
    grid-template-columns: 14rem 1fr;
    gap: 0.35rem 2rem;
    align-items: start;
  }

  .rubric-head { display: flex; flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 719px) {
  .hero-art img,
  .hero-art svg {
    aspect-ratio: 16 / 6.5;
    object-position: center 78%;
  }
}

@media (max-width: 419px) {
  .wrap { width: calc(100% - 2rem); }

  .site-header .wrap {
    padding: 0.95rem 0 0.9rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.65rem 0;
  }
}

.opening-box {
  margin: 0 0 3.25rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--gold);
  max-width: 36rem;
}

.opening-title {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.opening-box p {
  margin: 0 0 0.9rem;
}

.opening-box p:last-child {
  margin-bottom: 0;
}
