html, body { margin: 0; height: 100%; background: #0e0e0e; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
a { color: #1c1c1c; }
a:hover { color: #b87400; }
::selection { background: #ffa200; color: #1c1c1c; }
input { font-family: inherit; }

.stage { position: fixed; inset: 0; background: #0e0e0e; overflow: hidden; }
.fill { position: absolute; inset: 0; }
.pano { position: absolute; inset: 0; background: #0e0e0e; z-index: 0; }

/* Art view */
.memorial { position: absolute; inset: 0; background: #0e0e0e; display: flex; align-items: center; justify-content: center; z-index: 1; }
.memorial-inner { text-align: center; color: #ddd; padding: 0 44px; max-width: 420px; }
.memorial-by { display: flex; justify-content: center; align-items: baseline; gap: 9px; }
.memorial-artist { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.memorial-loc { font-size: 10.5px; opacity: .5; }
.memorial-title { font-size: 23px; font-weight: 500; margin: 10px 0 12px; letter-spacing: -.01em; font-style: italic; }
.memorial-meta { font-size: 11.5px; line-height: 1.7; opacity: .7; }
.memorial-nums { font: 11px ui-monospace, Menlo, monospace; color: rgba(255,255,255,.4); margin: 18px 0; line-height: 1.8; }
.memorial-rule { width: 26px; height: 2px; background: #ffa200; margin: 0 auto 14px; }
.memorial-note { font-size: 12px; opacity: .85; }
.memorial-n { font-size: 10.5px; opacity: .45; margin-top: 6px; }

/* The wall label: hidden on load, fades in after the viewer has looked. */
.label { position: absolute; left: 32px; bottom: 32px; background: #fbfaf8; color: #1c1c1c; padding: 26px 30px 22px; width: 280px; box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity 3s ease; z-index: 2; }
.label.shown { opacity: 1; visibility: visible; }
.label-artist { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.label-loc { font-size: 11px; color: rgba(0,0,0,.55); margin-top: 2px; }
.label-title { font-size: 15px; font-style: italic; margin: 14px 0 2px; line-height: 1.35; }
.label-medium { font-size: 11px; line-height: 1.6; color: rgba(0,0,0,.72); }
.label-dates { font-size: 10.5px; line-height: 1.7; color: rgba(0,0,0,.5); margin-top: 14px; }
.label-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.label-n { font-size: 10px; letter-spacing: .08em; color: rgba(0,0,0,.4); }
.recompose { font-size: 10px; letter-spacing: .08em; color: #b87400; cursor: pointer; visibility: hidden; background: none; border: 0; padding: 0; font-family: inherit; }
.recompose:hover { text-decoration: underline; }
.recompose.on { visibility: visible; }

.corner-tr { position: absolute; top: 22px; right: 28px; display: flex; gap: 20px; font-size: 12px; z-index: 2; }
.corner-br { position: absolute; bottom: 32px; right: 28px; display: flex; gap: 16px; align-items: baseline; font-size: 13px; z-index: 2; }
.overlay-link { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); text-decoration: none; cursor: pointer; }
.overlay-link:hover { color: #ffa200; }
.corner-br .overlay-link { padding: 4px; }
.step-n { font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
/* Hidden until reveal; visibility rides along so invisible links can't be
   tabbed to or clicked while the curtain is up. */
.reveal { opacity: 0; visibility: hidden; transition: opacity 3s ease; }
.revealed { opacity: 1; visibility: visible; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Paper views */
.paper { position: absolute; inset: 0; background: #fbfaf8; overflow-y: auto; }
.paper-col { max-width: 560px; margin: 0 auto; padding: 90px 32px; color: #1c1c1c; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(0,0,0,.45); }
.lede { font-size: 19px; line-height: 1.7; margin-top: 26px; font-weight: 500; }
.body-lg { font-size: 15px; line-height: 1.8; margin-top: 20px; color: rgba(0,0,0,.8); }
.body-sm { font-size: 13.5px; line-height: 1.8; margin-top: 22px; color: rgba(0,0,0,.75); }
.rule { height: 1px; background: rgba(0,0,0,.12); margin: 52px 0; }
.backlink { display: inline-block; margin-top: 48px; font-size: 12px; cursor: pointer; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.25); }
em { font-style: italic; }

/* Index */
.index-wrap { position: absolute; inset: 0; background: #fbfaf8; display: flex; flex-direction: column; }
.index-head { max-width: 680px; width: 100%; margin: 0 auto; padding: 76px 32px 0; box-sizing: border-box; color: #1c1c1c; flex: none; }
.index-title { font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin: 8px 0 10px; }
.index-sub { font-size: 12px; color: rgba(0,0,0,.55); line-height: 1.6; }
.index-rule { height: 1px; background: rgba(0,0,0,.12); margin: 34px 0 0; }
.index-scroll { flex: 1; overflow-y: auto; min-height: 0; }
.index-list { max-width: 680px; margin: 0 auto; padding: 8px 32px 24px; box-sizing: border-box; color: #1c1c1c; }
.row { display: flex; align-items: baseline; gap: 18px; padding: 11px 6px; border-bottom: 1px solid rgba(0,0,0,.07); cursor: pointer; text-decoration: none; color: inherit; }
.row:hover { background: rgba(255,162,0,.06); color: inherit; }
.row-n { font: 11px ui-monospace, Menlo, monospace; color: rgba(0,0,0,.35); width: 22px; flex: none; text-align: right; }
.row-title { font-size: 15px; font-style: italic; flex: none; }
.row-artist { font-size: 11px; color: rgba(0,0,0,.7); flex: none; white-space: nowrap; }
.row-meta { font-size: 11px; color: rgba(0,0,0,.45); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-hint { font: 10.5px ui-monospace, Menlo, monospace; color: #b87400; flex: none; opacity: 0; }
.row:hover .row-hint { opacity: 1; }
.index-foot { flex: none; border-top: 1px solid rgba(0,0,0,.12); background: #fbfaf8; }
.index-foot-in { max-width: 680px; margin: 0 auto; padding: 16px 32px 20px; box-sizing: border-box; display: flex; gap: 22px; font-size: 12px; }
.index-foot-in a { cursor: pointer; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.25); }

/* Map */
.map-wrap { position: absolute; inset: 0; background: #fbfaf8; }
.map-el { position: absolute; inset: 0; z-index: 0; }
.map-card { position: absolute; top: 22px; left: 28px; background: #fbfaf8; padding: 14px 18px; box-shadow: 0 2px 6px rgba(0,0,0,.18); z-index: 2; color: #1c1c1c; }
.map-card-t { font-size: 12.5px; font-weight: 600; }
.map-card-s { font-size: 10.5px; color: rgba(0,0,0,.5); margin-top: 3px; }
.map-nav { position: absolute; top: 22px; right: 28px; display: flex; gap: 20px; font-size: 12px; color: #1c1c1c; z-index: 2; }
.map-nav a { cursor: pointer; background: #fbfaf8; padding: 6px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.18); text-decoration: none; }
.map-nav a:hover { color: #b87400; }
.map-fallback { position: absolute; inset: 0; background: #f4f2ee; z-index: 1; overflow: hidden; }
.grat { position: absolute; background: rgba(0,0,0,.05); }
.mark { position: absolute; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; background: #ffa200; border: 1.5px solid #fbfaf8; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: #1c1c1c; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.2); text-decoration: none; }
.mark:hover { transform: translate(-50%, -50%) scale(1.3); color: #1c1c1c; }

/* Contribute */
.cta { display: inline-block; margin-top: 34px; padding: 11px 22px; background: #1c1c1c; color: #fbfaf8; font-size: 12.5px; letter-spacing: .06em; cursor: pointer; border: 0; font-family: inherit; }
.cta:hover { background: #b87400; }
.ct-note { font-size: 13px; line-height: 1.8; color: rgba(0,0,0,.6); }
.ct-blue { font-style: italic; cursor: pointer; color: #b87400; text-decoration: none; }
.ct-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(14,14,14,.82); z-index: 2; }
.ct-bar input { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.3); color: #fff; padding: 6px 2px; outline: none; }
#ctTitle { flex: 2; min-width: 120px; font-size: 14px; font-style: italic; }
#ctName, #ctLoc { flex: 1; min-width: 80px; font-size: 12px; }
.ct-act { font-size: 11.5px; cursor: pointer; flex: none; background: none; border: 0; font-family: inherit; }
.ct-else { color: rgba(255,255,255,.75); }
.ct-else:hover { color: #ffa200; }
.ct-go { color: #ffa200; letter-spacing: .06em; }
.ct-go:hover { text-decoration: underline; }
.ct-back { color: rgba(255,255,255,.5); }
.ct-back:hover { color: #fff; }
.ct-searching { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 12px; z-index: 1; background: #0e0e0e; }
.ct-card { position: absolute; left: 28px; bottom: 76px; background: #fbfaf8; color: #1c1c1c; padding: 20px 24px; max-width: 300px; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 2; }
.ct-card-by { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.ct-card-t { font-size: 15px; font-style: italic; margin-top: 6px; }
.ct-card-m { font-size: 11px; line-height: 1.6; color: rgba(0,0,0,.72); margin-top: 2px; }
.ct-card-f { font-size: 10.5px; line-height: 1.7; color: rgba(0,0,0,.5); margin-top: 12px; }
.ct-card-f a { color: #b87400; }
.hidden { display: none; }

@media (max-width: 600px) {
  /* Wall label spans the bottom instead of a fixed 280px card that would eat
     the artwork and collide with the corner nav. */
  .label { left: 0; right: 0; bottom: 0; width: auto; box-sizing: border-box; padding: 18px 22px; }
  /* Move prev/next to the top-left so they never paint over the label. */
  .corner-br { top: 22px; left: 22px; right: auto; bottom: auto; }
  .corner-tr { top: 22px; right: 22px; }
  /* On phones the row squeezes origin/hint to an orphan letter — drop both;
     the hover hint is meaningless on touch anyway. */
  .row-meta, .row-hint { display: none; }
  .row-title { flex: 1; }
  /* The contribute bar's inputs+buttons don't fit one 375px row — wrap them,
     or TITLE IT/back get clipped off-screen and the flow dead-ends. */
  .ct-bar { flex-wrap: wrap; gap: 10px 14px; }
  .ct-bar input { flex: 1 1 100%; min-width: 0; }
  .ct-act { flex: 1 1 auto; text-align: center; padding: 8px 0; }
  .ct-card { left: 16px; right: 16px; bottom: auto; top: 16px; max-width: none; }
}
