:root {
  --ink: #07060f; --ink2: #141027; --paper: #fbf6ee; --text: #241c2e; --muted: #6e6276;
  --orange: #ff7a1a; --orange-soft: #ffb066; --green: #7dff6a; --yellow: #ffe94a; --cyan: #3ff2ff; --teal: #0b8fa3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text);
  font: 19px/1.6 "Source Sans 3", system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Righteous, system-ui, sans-serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.draft { margin: 0; background: var(--yellow); color: #000; text-align: center; font-weight: 700; padding: 8px 16px; font-size: 15px; position: relative; z-index: 2; }

/* Hero: a night sky over OB */
.hero { position: relative; overflow: hidden; color: #fff; padding: 0 16px 56px;
  background:
    radial-gradient(circle at 78% 35%, rgba(255,122,26,.22), transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(63,242,255,.14), transparent 50%),
    linear-gradient(180deg, #0a0820 0%, var(--ink) 100%); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nav, .hero-inner { position: relative; z-index: 1; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; padding: 14px 0 28px; max-width: 1100px; margin: 0 auto; }
.nav a { color: var(--cyan); text-decoration: none; font-family: Righteous, sans-serif; font-size: 17px; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--green); letter-spacing: .3em; font-weight: 700; margin-bottom: .4em; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.2rem);
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--orange)); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(255,122,26,.45)); animation: shimmer 6s linear infinite; }
.tagline { color: var(--yellow); font-size: 1.15rem; }
.welcome { color: #e9e3f2; }
.hero-art { margin: 0; animation: float 7s ease-in-out infinite; }
.hero-art img { border-radius: 10px; max-height: 560px; margin: 0 auto; animation: glow 5s ease-in-out infinite; }
.hero-art figcaption { color: #c9c0d6; font-size: 15px; text-align: center; margin-top: 10px; }


.btn { display: inline-block; background: var(--orange); color: #1a0d00; text-decoration: none; font-weight: 700;
  padding: 14px 22px; border-radius: 999px; min-height: 48px; margin: 4px 8px 4px 0;
  transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(255,122,26,.65); }
.btn.alt { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px var(--orange); }
.btn.alt:hover { box-shadow: inset 0 0 0 2px var(--orange), 0 0 22px rgba(255,122,26,.45); }
.btn.soon { opacity: .6; cursor: default; transform: none; box-shadow: inset 0 0 0 2px var(--orange); }

.band { padding: 64px 16px; max-width: 1100px; margin: 0 auto; }
.band.dark { max-width: none; background: var(--ink); color: #ece6f4; }
.band.dark > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.band.dark h2 { color: var(--green); text-shadow: 0 0 18px rgba(125,255,106,.35); }
.band.dark .btn.alt { color: #fff; }
.lede { font-size: 1.1rem; }

.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--orange); }
.timeline li { padding: 0 0 14px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 8px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 0 rgba(255,122,26,.6); animation: ping 3s ease-out infinite; }
.timeline li:nth-child(2n)::before { animation-delay: 1s; }
.timeline li:nth-child(3n)::before { animation-delay: 2s; }
.timeline b { display: block; color: var(--teal); }
.greg { display: flex; gap: 24px; align-items: flex-start; margin-top: 32px; background: #fdebd8; border-left: 5px solid var(--orange); border-radius: 12px; padding: 22px; }
.greg img { width: 200px; border-radius: 10px; box-shadow: 0 6px 20px rgba(36,28,46,.2); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 24px; }
.card { margin: 0; background: var(--ink2); border-radius: 12px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--orange), 0 12px 34px rgba(255,122,26,.35); }
.card a { display: block; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
.card:hover img { transform: scale(1.05); }
.card figcaption { padding: 12px 16px 16px; font-size: 16px; }
.card b { display: block; color: var(--yellow); font-family: Righteous, sans-serif; font-weight: 400; font-size: 18px; }

.book { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.book img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .4s; transform: rotate(-2deg); }
.book img:hover { transform: rotate(0) scale(1.03); }
.book-title { font-size: 1.6rem; color: var(--ink2); }
.byline { color: var(--muted); font-weight: 700; }

.kw { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.kw img { border-radius: 10px; }
.address { color: var(--cyan); }
.game { margin-top: 40px; padding: 26px; border-radius: 12px; background: linear-gradient(120deg, #3a1a05, #0d3b44);
  box-shadow: inset 0 0 0 1px rgba(255,122,26,.4); }
.game h3 { color: var(--yellow); }

.post { border-bottom: 1px solid #e7dccb; padding: 18px 0; }
.post time { color: var(--muted); font-size: 15px; font-weight: 700; }
.post img { border-radius: 8px; margin: 10px 0; max-height: 420px; }

.foot { background: #040309; color: #a59bb2; text-align: center; padding: 28px 16px; font-size: 15px; }

/* Listen */
.listen { text-align: center; background: radial-gradient(circle at 50% 0, rgba(255,122,26,.18), transparent 60%), var(--ink); }
.listen .lede { max-width: 720px; margin: 0 auto 1em; }

/* Rillispore field guide */
.guide { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.entry { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(36,28,46,.08);
  border-top: 4px solid var(--orange); }
.entry img { width: 100%; height: 200px; object-fit: cover; }
.entry-text { padding: 16px 18px 6px; }
.entry h3 { color: var(--ink2); margin-bottom: .3em; }

/* Space numbers */
.numbers { border-top: 1px solid #e7dccb; }
.numbers h2 { color: var(--orange); }

/* Press, with a tap-to-play video */
.video { max-width: 760px; margin: 8px 0 1.4em; }
.video-play, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; overflow: hidden; }
.video-play { position: relative; padding: 0; cursor: pointer; background: #000; box-shadow: 0 0 0 2px rgba(255,122,26,.6), 0 0 34px rgba(255,122,26,.3); }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  background: var(--orange); color: #1a0d00; font-size: 34px; line-height: 76px; padding-left: 6px; box-shadow: 0 0 24px rgba(255,122,26,.7); }
.video figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Press */
.press { list-style: none; padding: 0; margin: 0; }
.press li { padding: 14px 0; border-bottom: 1px solid #e7dccb; }
.press a { color: var(--ink2); font-weight: 700; font-size: 1.1rem; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.press span { display: block; color: var(--muted); font-size: 16px; }

/* Blacklight / daylight slider */
.compare-wrap { margin: 28px auto 8px; max-width: 760px; text-align: center; }
.compare-wrap h3 { color: var(--orange); }
.compare { --pos: 50%; position: relative; border-radius: 12px; overflow: hidden; touch-action: pan-y;
  box-shadow: 0 0 0 2px rgba(255,122,26,.5), 0 0 40px rgba(63,242,255,.25); user-select: none; }
.compare img { width: 100%; display: block; }
.compare .uv { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 0 0 var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 12px var(--orange); pointer-events: none; }
.cmp-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px;
  border-radius: 50%; background: var(--orange); color: #1a0d00; font-size: 24px; line-height: 44px; font-weight: 700; }
.cmp-tag { position: absolute; bottom: 10px; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(0,0,0,.55); color: #fff; pointer-events: none; }
.cmp-tag.left { left: 10px; } .cmp-tag.right { right: 10px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare.hint .uv, .compare.hint .cmp-line { transition: clip-path 1.2s ease-in-out, left 1.2s ease-in-out; }

/* Scroll reveal (fx.js adds .reveal, then .in) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes shimmer { to { background-position: 200% center; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 30px rgba(255,122,26,.35); } 50% { box-shadow: 0 0 55px rgba(63,242,255,.45); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,122,26,.6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,122,26,0); } }

@media (max-width: 820px) {
  .hero-inner, .story-grid, .book, .kw { grid-template-columns: 1fr; gap: 28px; }
  .book img { max-width: 260px; }
  .hero-art img { max-height: 440px; }
  .greg { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
