:root {
  --navy: #0d1640; --navy-2: #121d52; --ink: #f6f3ff; --ink-2: #cfc9f2; --muted: #a9a3d6;
  --peach: #ffd9bf; --peach-ink: #2a1f3d; --lav: #bba8ff; --line: rgba(255,255,255,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }

/* ---------- hero: full-bleed 16:9 video ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,16,52,.55) 0%, rgba(10,16,52,.25) 38%, transparent 60%),
              linear-gradient(180deg, rgba(10,16,52,.35) 0%, transparent 18%); }

.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1280px, 100% - 10vw); margin: 0 auto; padding: 28px 0; }
.brand { font-family: 'DM Serif Display', Georgia, serif; font-size: 28px; text-decoration: none; letter-spacing: .005em; }
.nav ul { display: flex; gap: 44px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 15px; color: var(--ink); opacity: .9; }
.nav ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 16px 28px; border-radius: 999px; transition: transform .2s ease, background .2s ease; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); }
.pill svg { width: 14px; height: 14px; }
.pill.small { padding: 12px 22px; font-size: 15px; }
.pill-peach { background: var(--peach); color: var(--peach-ink); box-shadow: 0 12px 30px -12px rgba(255,190,150,.6); }
.pill-glass { background: rgba(255,255,255,.12); border: 1px solid var(--line); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.hero-copy { position: relative; z-index: 2; margin: auto auto; padding: 0 0 6vh; width: min(1280px, 100% - 10vw); }
.hero-copy h1 { white-space: nowrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 0 0 22px; }
.eyebrow span { opacity: .6; margin: 0 .3em; }
h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; margin: 0;
  text-shadow: 0 2px 30px rgba(10,16,52,.35); }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink); max-width: 26em; margin: 26px 0 38px; opacity: .92; }
.ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* music player pill (mockup 3) + a separate small control that pauses the moving background */
.player { position: absolute; z-index: 2; left: max(5vw, (100% - 1280px) / 2); bottom: 5vh; display: flex; align-items: center; gap: 10px; }
.np, .scene { border: 1px solid var(--line); background: rgba(13,22,64,.55); color: var(--ink); cursor: pointer; font: inherit;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.np { display: flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border-radius: 999px; text-align: left; }
.np-icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.np-icon svg { width: 13px; height: 13px; }
.np .i-pause, .np[aria-pressed="true"] .i-play { display: none; }
.np[aria-pressed="true"] .i-pause { display: block; }
.np-text small { display: block; font-size: 12px; color: var(--muted); }
.np-text b { font-weight: 600; font-size: 15px; }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-left: 8px; }
.wave i { width: 3px; border-radius: 3px; background: var(--ink); opacity: .8; height: 35%; animation: wv 1.4s ease-in-out infinite paused; }
.wave i:nth-child(3n) { animation-delay: -.4s; } .wave i:nth-child(3n+1) { animation-delay: -.9s; } .wave i:nth-child(4n) { animation-duration: 1.9s; }
.np[aria-pressed="true"] .wave i { animation-play-state: running; }
@keyframes wv { 50% { height: 95%; } }
.scene { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.scene svg { width: 20px; height: 20px; }
.scene[aria-pressed="true"] { background: rgba(255,217,191,.3); }

/* live sky + portal layer, positioned in video coordinates by site.js */
.sky { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.bright { position: absolute; width: 34px; height: 34px; translate: -50% -50%; animation: tw 3.2s ease-in-out infinite;
  background: radial-gradient(circle, #fff 0 6%, rgba(255,255,255,.75) 10%, transparent 34%),
              linear-gradient(90deg, transparent 47%, rgba(255,255,255,.9) 50%, transparent 53%),
              linear-gradient(0deg, transparent 47%, rgba(255,255,255,.9) 50%, transparent 53%); }
.bright.b2 { width: 22px; height: 22px; animation-delay: -1.6s; animation-duration: 4.1s; }
@keyframes tw { 0%, 100% { opacity: .55; scale: .8; } 50% { opacity: 1; scale: 1.15; } }
.shoot { position: absolute; width: 160px; height: 2px; opacity: 0; border-radius: 2px; transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95)); filter: drop-shadow(0 0 4px rgba(255,255,255,.8)); }
.shoot.go { animation: shoot 1.1s ease-out forwards; }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 12% { opacity: 1; } 100% { opacity: 0; translate: var(--dx) var(--dy); } }
.portal-fx { position: absolute; overflow: hidden; mix-blend-mode: screen; opacity: .9; }
.plasma { width: 100%; height: 100%; display: block; }
.still-scene .bright, .still-scene .shoot { animation: none; }
body:has(.still-scene) .below::before { animation-play-state: paused; }

/* ---------- below the hero: slight gradient over a slow painted-water surface ---------- */
.below { position: relative; isolation: isolate; overflow: hidden; }
.below::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(water.webp?v=2) center top / 1920px auto repeat; animation: drift 90s linear infinite; }
.below::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #0b1440 0%, rgba(11,20,64,.82) 18%, rgba(16,24,72,.55) 55%, rgba(20,22,70,.72) 85%, #0b1238 100%); }
@keyframes drift { 0%, 100% { background-position: center top; } 50% { background-position: calc(50% + 140px) top; } }
.eyebrow { color: var(--peach); }
h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.06; margin: 0; }
.s2 { width: min(1280px, 100% - 10vw); margin: 0 auto; padding: 140px 0 110px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 9vw; align-items: start; }
.s2 .body { color: var(--ink-2); font-size: 18px; line-height: 1.7; max-width: 30em; margin: 26px 0 0; }
.tracks { list-style: none; padding: 0; margin: 18px 0 0; }
.tracks li { display: grid; grid-template-columns: 54px 1fr auto; align-items: baseline; padding: 20px 2px; border-bottom: 1px solid rgba(255,255,255,.14); }
.tracks li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.tracks .n { color: var(--peach); font-size: 14px; letter-spacing: .08em; }
.tracks .t { font-size: 18px; } .tracks .m { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.more { display: inline-block; margin-top: 26px; color: var(--peach); text-decoration: none; font-weight: 600; font-size: 15px; }
.more:hover { text-decoration: underline; text-underline-offset: 5px; }
.note { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.quote { width: min(1280px, 100% - 10vw); margin: 0 auto; padding: 60px 0 120px; text-align: center; }
.quote blockquote { margin: 0 0 90px; }
.quote blockquote p { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(42px, 5.6vw, 80px); line-height: 1.08; margin: 0; }
.quote cite { display: block; margin-top: 22px; font-style: normal; color: var(--muted); font-size: 14px; letter-spacing: .1em; }
.quote cite::before { content: "— "; }
.moon { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); text-align: left; }
.moon label { font-family: 'DM Serif Display', Georgia, serif; font-size: 26px; }
.field { display: flex; gap: 10px; align-items: center; }
.field input { width: min(320px, 50vw); padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: var(--ink); font: inherit; }
.field input::placeholder { color: var(--muted); }
.field input:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.foot { width: min(1280px, 100% - 10vw); margin: 0 auto; padding: 30px 0 40px; color: var(--muted); font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 34px; }
.foot .brand { font-size: 26px; color: var(--ink); }
.foot p { margin: 8px 0 0; }
.foot nav { display: flex; gap: 70px; }
.foot nav div { display: grid; gap: 9px; align-content: start; }
.foot h4 { margin: 0 0 4px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .wave i, .below::before { animation: none; } }
@media (max-width: 900px) {
  .nav ul { display: none; }
  .brand { font-size: 22px; }
  .hero-copy h1 { white-space: normal; }
  .hero-copy { width: calc(100% - 12vw); padding: 0 0 18vh; }
  .hero-bg { object-position: 70% 50%; }
  .scrim { background: linear-gradient(180deg, rgba(10,16,52,.55), rgba(10,16,52,.2) 50%, rgba(10,16,52,.5)); }
  .s2 { grid-template-columns: 1fr; gap: 50px; padding-top: 90px; }
  .moon, .foot-top { flex-direction: column; align-items: flex-start; }
  .foot nav { gap: 36px; flex-wrap: wrap; }
  .wave { display: none; }
}

/* back to top (Adam's reference button, site colours): appears after scrolling, glides up slowly */
.to-top { position: fixed; right: 32px; bottom: 32px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,217,191,.55); background-color: transparent; color: #ffd9bf; padding: 0;
  opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s, background-color .18s, border-color .18s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background-color: rgba(255,217,191,.14); border-color: #ffd9bf; }
.to-top svg { width: 20px; height: 20px; }
