/* Wall Muse — wallmuse.tv
   One ink gallery wall for every page. Tokens up top, components below. */

:root {
  --ink: #0e1218;
  --ink-raised: #151b24;
  --cream: #f1e4c7;
  --cream-dim: rgba(241, 228, 199, 0.64);
  --cream-faint: rgba(241, 228, 199, 0.38);
  --verm: #e04416;
  --cobalt: #2b48d9;
  --hairline: rgba(241, 228, 199, 0.16);
  --label-ink: #171310;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 56px);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(43, 72, 217, 0.10), transparent 55%),
    radial-gradient(110% 80% at 85% 100%, rgba(224, 68, 22, 0.07), transparent 60%),
    var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Faint plaster grain so the wall reads as a wall, not a void. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  z-index: 1;
}

main, header.site, footer.site { position: relative; z-index: 2; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--verm);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--verm); color: var(--cream); }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

h1, h2 {
  font-family: var(--display);
  font-weight: 480;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 8.5vw, 104px); }
h2 { font-size: clamp(30px, 4.6vw, 52px); }

.lede {
  max-width: var(--measure);
  color: var(--cream-dim);
  font-size: clamp(17px, 1.4vw, 19px);
}

/* ---------- chrome ---------- */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
}

.wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 520;
  font-size: 24px;
  text-decoration: none;
  letter-spacing: 0.005em;
}

.wordmark .tv-dot {
  color: var(--verm);
  font-style: normal;
}

nav.site-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
}

nav.site-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-dim);
  text-decoration: none;
}
nav.site-links a:hover { color: var(--cream); }

.chip {
  display: inline-block;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.chip.solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--label-ink);
}
.chip.solid:hover { background: #fff2d8; }

/* ---------- sections ---------- */

section, .page-body { padding: clamp(56px, 9vw, 128px) var(--gutter); }

.section-head {
  max-width: 1200px;
  margin: 0 auto clamp(32px, 5vw, 64px);
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ---------- the frame tv ---------- */

.hero {
  padding-top: clamp(28px, 5vw, 72px);
  text-align: center;
}

.hero .eyebrow { margin-bottom: 18px; display: block; }

.hero h1 { margin: 0 auto 20px; max-width: 14ch; }

.hero .lede { margin: 0 auto 28px; }

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.gallery-wall {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Museum picture light: a warm cone falling on the frame from above. */
.gallery-wall::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14%;
  width: 130%;
  height: 130%;
  transform: translateX(-50%);
  background: radial-gradient(45% 42% at 50% 18%, rgba(241, 228, 199, 0.13), transparent 70%);
  pointer-events: none;
}

.frame-tv {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050607;
  border: clamp(10px, 1.6vw, 18px) solid #101112;
  outline: 1px solid rgba(241, 228, 199, 0.09);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.55),
    0 30px 70px -18px rgba(0, 0, 0, 0.85);
}

.frame-tv img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.frame-tv img.showing { opacity: 1; }

/* Cream museum label under the hero frame. */
.plaque {
  display: inline-block;
  margin-top: clamp(24px, 4vw, 40px);
  background: var(--cream);
  color: var(--label-ink);
  text-align: left;
  padding: 18px 24px 16px;
  max-width: 420px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
  transition: opacity 0.45s ease;
}
.plaque.swapping { opacity: 0; }

.plaque .artist {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.plaque .title {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
}
.plaque .medium {
  font-size: 12.5px;
  color: rgba(23, 19, 16, 0.62);
}

/* ---------- exhibition strip ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
}

.work { text-decoration: none; }

.work .canvas {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 6px solid #1c222c;
  outline: 1px solid rgba(241, 228, 199, 0.08);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.8);
}

.work .canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work .label {
  background: var(--cream);
  color: var(--label-ink);
  padding: 14px 16px 12px;
  margin: 18px auto 0;
  width: 86%;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.65);
}
.work .label .artist {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.work .label .title {
  font-family: var(--display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.work .label .medium {
  font-size: 11.5px;
  color: rgba(23, 19, 16, 0.62);
}

.works-note {
  max-width: 1200px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  color: var(--cream-faint);
  font-size: 14px;
}

/* ---------- acts ---------- */

.acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
}

.act { border-top: 1px solid var(--hairline); padding-top: 24px; }

.act .numeral {
  font-family: var(--display);
  font-style: italic;
  font-size: 30px;
  color: var(--verm);
  display: block;
  margin-bottom: 12px;
}

.act h3 {
  font-family: var(--display);
  font-weight: 520;
  font-size: 24px;
  margin-bottom: 10px;
}

.act p { color: var(--cream-dim); font-size: 15.5px; }

/* ---------- photos band ---------- */

.photos-band { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.photos-band .section-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.free-stamp {
  display: inline-block;
  transform: rotate(-3deg);
  border: 2px solid var(--verm);
  color: var(--verm);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* ---------- admission ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.tier {
  border: 1px solid var(--hairline);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier.patron {
  background: var(--cream);
  color: var(--label-ink);
  border-color: var(--cream);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.tier .tier-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.tier.patron .tier-name { color: rgba(23, 19, 16, 0.55); }

.tier .price {
  font-family: var(--display);
  font-weight: 520;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
}
.tier .price small {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-faint);
}
.tier.patron .price small { color: rgba(23, 19, 16, 0.55); }

.tier ul { list-style: none; margin-top: 10px; }
.tier li {
  font-size: 15px;
  color: var(--cream-dim);
  padding: 7px 0;
  border-top: 1px solid var(--hairline);
}
.tier.patron li {
  color: rgba(23, 19, 16, 0.82);
  border-top-color: rgba(23, 19, 16, 0.14);
}

.tiers-note {
  max-width: 1200px;
  margin: 24px auto 0;
  color: var(--cream-faint);
  font-size: 13.5px;
}

/* ---------- questions ---------- */

.faq { max-width: 820px; margin: 0 auto; }

.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }

.faq summary {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500;
  padding: 22px 36px 22px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-weight: 300;
  font-size: 26px;
  color: var(--verm);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq .answer {
  padding: 0 4px 26px;
  color: var(--cream-dim);
  max-width: var(--measure);
}

/* ---------- closing ---------- */

.closing { text-align: center; }
.closing h2 { max-width: 16ch; margin: 0 auto 18px; }
.closing .lede { margin: 0 auto 30px; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--hairline);
  padding: clamp(36px, 6vw, 64px) var(--gutter);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px;
  color: var(--cream-dim);
  text-decoration: none;
}
.footer-links a:hover { color: var(--cream); }

.footer-legal {
  margin-top: 26px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--cream-faint);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- prose pages (support, privacy, terms) ---------- */

.page-body { max-width: 860px; margin: 0 auto; }

.page-body h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 10px;
}

.page-body .updated {
  color: var(--cream-faint);
  font-size: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: clamp(32px, 5vw, 52px) 0 12px;
}

.page-body h3 {
  font-family: var(--display);
  font-weight: 520;
  font-size: 20px;
  margin: 28px 0 8px;
}

.page-body p, .page-body li {
  color: var(--cream-dim);
  max-width: var(--measure);
}

.page-body p { margin-bottom: 14px; }

.page-body ul, .page-body ol { padding-left: 22px; margin-bottom: 14px; }
.page-body li { margin-bottom: 8px; }

.page-body a { color: var(--cream); text-decoration-color: var(--verm); }

.page-body .callout {
  border-left: 3px solid var(--verm);
  padding: 14px 18px;
  background: var(--ink-raised);
  margin: 20px 0;
  max-width: var(--measure);
}
.page-body .callout p { margin: 0; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .frame-tv img { transition: none; }
  .plaque { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .works, .acts, .tiers { grid-template-columns: 1fr; }
  .photos-band .section-inner { grid-template-columns: 1fr; }
  .work .label { width: 92%; }
}

@media (max-width: 560px) {
  nav.site-links a.hide-mobile { display: none; }
  body { font-size: 16px; }
}
