/* Your Rainbow (/rainbow). Plain CSS. Palette sampled from the rainbow in Regan's photo (same as /music). */
:root {
  --bg: #0b0a0d;
  --ink: #efeaf5;
  --muted: #bcb4c8;
  --gold: #e3ad45;
  --link: #cfaef5;
  --line: rgba(239, 234, 245, .16);
  --title: "Beth Ellen", cursive;
  --mono: "Space Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--mono); overflow-x: hidden; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#starry-background { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
main { max-width: 980px; margin: 0 auto; padding: 28px 20px 24px; text-align: center; }

.rainbow { display: inline-block; font: 400 clamp(2.8rem, 8vw, 4.8rem)/1.45 var(--title); margin: 0 0 -.15em; padding: 0 .2em .4em 0;
  background-image: linear-gradient(90deg, #c8402e 4%, #d9702a 20%, #e2a43c 38%, #5f9a6e 56%, #4a82b8 74%, #8a64c4 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(200, 64, 46, .18)); }
h1, .thesis, .verdict p, .hours { text-wrap: balance; }
.thesis { color: var(--muted); font-style: italic; font-size: .95rem; margin: 0 auto 22px; max-width: 34em; }

.sky { margin: 0 auto 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #08070a; }
.sky canvas { display: block; width: 100%; aspect-ratio: 16 / 9; }

.verdict { margin: 0 auto 26px; max-width: 36em; }
.verdict__head { font-size: clamp(1.15rem, 3.2vw, 1.5rem); line-height: 1.45; margin: 0 0 .4em; color: #fff; }
.verdict__sub { color: var(--muted); margin: 0; }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; text-align: left; }
.tri div { border-top: 1px solid var(--line); padding-top: 10px; }
.tri dt { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.tri dd { margin: 4px 0 0; font-size: .9rem; color: var(--ink); }

.hours { color: var(--muted); font-size: .88rem; margin: 0 auto 24px; max-width: 40em; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.btn { font: inherit; font-size: .9rem; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(22, 19, 28, .74); color: var(--ink); cursor: pointer; }
.btn:hover { border-color: rgba(239, 234, 245, .45); color: #fff; }
.btn--glow { border: 1.5px solid transparent;
  background: linear-gradient(#141118, #141118) padding-box, linear-gradient(90deg, #c8402e, #d9702a, #e2a43c, #5f9a6e, #4a82b8, #8a64c4) border-box; }
.place input { font: inherit; font-size: .9rem; min-height: 46px; width: 15em; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(22, 19, 28, .74); color: var(--ink); }
.place input::placeholder { color: var(--muted); }

.foot { max-width: 980px; margin: 0 auto; padding: 22px 20px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: .78rem; }
.foot p { margin: 0; }
.foot__home { color: var(--gold); text-decoration: none; font-size: .88rem; }

/* phone view */
.ar { position: fixed; inset: 0; z-index: 50; background: #000; }
.ar[hidden] { display: none; }
.ar video, .ar canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar__hint { position: absolute; left: 16px; right: 16px; bottom: max(24px, env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: .9rem; color: #fff; text-shadow: 0 1px 6px #000, 0 0 2px #000; }
.ar__close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.45); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

@media screen and (max-width: 680px) {
  main { padding-top: 18px; }
  .sky canvas { aspect-ratio: 4 / 3; }
  .tri { grid-template-columns: 1fr; gap: 10px; }
  .actions .btn, .place, .place input { width: 100%; }
  .foot { flex-direction: column; align-items: center; text-align: center; }
}
