/* Wall Muse — wallmuse.tv
   One ink gallery wall for every page. The page stands still like a
   gallery: the only motion is the picture light coming on and the
   hero artwork changing. 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;
  --oak: #6e5335;
  --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;
}

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

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

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

h1, h2 {
  font-family: var(--display);
  font-weight: 440;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 9.5vw, 118px); }
h2 { font-size: clamp(30px, 4.6vw, 54px); }

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

/* The one brushstroke on the page. */
.swiped { position: relative; white-space: nowrap; }
.swiped::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -5%;
  bottom: -0.1em;
  height: 0.24em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.1 0.45' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='9'/%3E%3C/filter%3E%3Cg filter='url(%23r)' fill='%23e04416'%3E%3Cpath d='M6 18 Q80 8 150 13 T294 11 L292 27 Q220 32 150 28 T8 30 Z'/%3E%3Crect x='238' y='26' width='34' height='5' rx='2.5' opacity='.65'/%3E%3Crect x='18' y='30' width='20' height='4' rx='2' opacity='.45'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-block;
  background: var(--cream);
  color: var(--label-ink);
  padding: 14px 24px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.8);
}
.btn:hover { background: #fff2d8; }

.quiet-link {
  font-size: 14.5px;
  color: var(--cream-dim);
  text-decoration: underline;
  text-decoration-color: var(--verm);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.quiet-link:hover { color: var(--cream); }

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

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

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 520;
  font-size: 24px;
  text-decoration: none;
  white-space: nowrap;
}

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

.wordmark img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  outline: 1px solid var(--hairline);
  display: block;
  margin-right: 11px;
}

/* The app icon as an app icon: the moment the gallery becomes a download. */
.app-icon-tile {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  outline: 1px solid var(--hairline);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.8);
  margin-bottom: 26px;
}

nav.site-links {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2.5vw, 30px);
}

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

.opening-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 15.5px;
  color: var(--cream-dim);
  white-space: nowrap;
}

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

section, .page-body { padding: clamp(56px, 9vw, 132px) 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(24px, 4vw, 56px);
  text-align: center;
}

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

.hero h1 { margin: 0 auto 22px; max-width: 12ch; }

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

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: clamp(56px, 8vw, 110px);
}

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

/* Museum picture light: a warm cone falling on the frame from above.
   It comes on when you arrive; the artwork brightens under it. */
.gallery-wall::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22%;
  width: 150%;
  height: 160%;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 50% 16%, rgba(248, 233, 200, 0.20), transparent 68%),
    radial-gradient(60% 52% at 50% 22%, rgba(241, 228, 199, 0.09), transparent 72%);
  animation: lamp-on 1.8s ease-out 0.35s both;
}

@keyframes lamp-on {
  from { opacity: 0; }
  55%  { opacity: 0.35; }
  to   { opacity: 1; }
}

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

.hero .frame-tv { animation: art-lit 1.8s ease-out 0.35s both; }

@keyframes art-lit {
  from { filter: brightness(0.4); }
  to   { filter: brightness(1); }
}

.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. The hero one settles in after the light. */
.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: 430px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
  transition: opacity 0.45s ease;
}
.hero .plaque { animation: plaque-up 0.9s ease-out 1.3s both; }

@keyframes plaque-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.plaque.swapping { opacity: 0; }

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

@media (prefers-reduced-motion: reduce) {
  .gallery-wall::before, .hero .frame-tv, .hero .plaque { animation: none; }
  .frame-tv img { transition: none; }
  .plaque { transition: none; }
}

/* ---------- the salon hang ---------- */

.salon {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(20px, 3vw, 44px);
  max-width: 1200px;
  margin: 0 auto;
}

.work { text-decoration: none; display: block; }

.work .canvas {
  overflow: hidden;
  border: 7px solid #14181f;
  outline: 1px solid rgba(241, 228, 199, 0.08);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.85);
}

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

.work .label {
  background: var(--cream);
  color: var(--label-ink);
  padding: 13px 16px 11px;
  width: min(88%, 300px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.65);
}
.work .label .artist { font-size: 10.5px; margin-bottom: 4px; }
.work .label .title { font-size: 15px; margin-bottom: 6px; }
.work .label .medium { font-size: 11.5px; }

/* Each piece hangs at its own height, its own frame, its own label spot. */
.work-a { grid-column: 1 / 8; grid-row: 1; }
.work-a .canvas { border-color: var(--oak); aspect-ratio: 16 / 10; }
.work-a .label { margin: 16px 0 0 6%; }

.work-b { grid-column: 8 / 13; grid-row: 1; margin-top: clamp(48px, 8vw, 120px); }
.work-b .canvas { aspect-ratio: 4 / 3; }
.work-b .label { margin: 16px 0 0 auto; }

.work-c { grid-column: 4 / 11; grid-row: 2; margin-top: clamp(36px, 6vw, 88px); }
.work-c .canvas { aspect-ratio: 16 / 9; }
.work-c .label { margin: 16px auto 0 38%; }

.salon-note {
  max-width: 1200px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  color: var(--cream-faint);
  font-size: 14px;
}

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

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

.act .numeral {
  font-family: var(--display);
  font-style: italic;
  font-weight: 440;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
  color: var(--verm);
  display: block;
  margin-bottom: 14px;
}

.act h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  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.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.photos-hang { text-align: right; }
.photos-hang .frame-tv { max-width: 540px; margin-left: auto; }
.photos-hang .plaque { margin-top: 20px; max-width: 340px; padding: 14px 18px 12px; }
.photos-hang .plaque .title { font-size: 15.5px; }

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

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

.board-wrap { text-align: center; }
.board-wrap h2 { margin-bottom: 10px; }
.board-wrap .lede { margin: 0 auto clamp(36px, 5vw, 56px); }

.board {
  max-width: 700px;
  margin: 0 auto;
  background: var(--cream);
  color: var(--label-ink);
  text-align: left;
  padding: clamp(30px, 5vw, 56px) clamp(24px, 5vw, 60px);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8);
}

.board-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(23, 19, 16, 0.55);
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(23, 19, 16, 0.2);
}

.fare { padding: 22px 0 20px; border-bottom: 1px solid rgba(23, 19, 16, 0.14); }
.fare:last-of-type { border-bottom: none; }

.fare-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.fare-name {
  font-family: var(--display);
  font-weight: 520;
  font-size: clamp(20px, 2.4vw, 26px);
  white-space: nowrap;
}
.fare-name small {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.5);
  margin-left: 8px;
}

.fare-dots {
  flex: 1;
  min-width: 30px;
  border-bottom: 2px dotted rgba(23, 19, 16, 0.35);
  transform: translateY(-5px);
}

.fare-price {
  font-family: var(--display);
  font-weight: 520;
  font-size: clamp(20px, 2.4vw, 26px);
  white-space: nowrap;
}
.fare-price small {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(23, 19, 16, 0.55);
}
.fare.patron .fare-price { color: var(--verm); }

.fare-desc {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(23, 19, 16, 0.72);
  max-width: 54ch;
}

.board-foot {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 19, 16, 0.2);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(23, 19, 16, 0.55);
  text-align: center;
}
.board-foot a { color: rgba(23, 19, 16, 0.75); }

/* ---------- visitor information ---------- */

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

.faq .qa { margin-bottom: clamp(30px, 4vw, 44px); }
.faq .qa:last-child { margin-bottom: 0; }

.faq .q {
  font-family: var(--display);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(20px, 2.2vw, 24px);
  margin-bottom: 8px;
}

.faq .a { color: var(--cream-dim); max-width: var(--measure); }
.faq .a a { color: var(--cream); text-decoration-color: var(--verm); text-underline-offset: 3px; }

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

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

/* ---------- 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; }

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

@media (max-width: 900px) {
  .acts { grid-template-columns: 1fr; }
  .photos-band .section-inner { grid-template-columns: 1fr; }
  .photos-hang { text-align: left; }
  .photos-hang .frame-tv { margin-left: 0; }

  .salon { display: block; }
  .work { margin-bottom: clamp(36px, 8vw, 56px); }
  .work-b, .work-c { margin-top: 0; }
  .work-a .label, .work-b .label, .work-c .label { margin: 14px 0 0 8%; }
}

@media (max-width: 560px) {
  nav.site-links a.hide-mobile, .hide-mobile-inline { display: none; }
  body { font-size: 16px; }
  .wordmark { font-size: 20px; }
  .wordmark img { width: 24px; height: 24px; }
  .opening-note { font-size: 14px; }
  .fare-name small { display: block; margin: 2px 0 0; }
}
