@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --background: 60 10% 5%;
  --foreground: 54 47% 92%;
  --primary: 55 100% 59%;
  --primary-foreground: 60 10% 5%;
  --muted: 60 7% 12%;
  --muted-foreground: 56 10% 63%;
  --border: 57 13% 23%;
  --yellow: var(--pub-yellow, #fff12e);
  --ink: var(--pub-bg, #10110d);
  --paper: var(--pub-text, #f3f0dc);
  --font-display: var(--pub-font-display, 'Barlow Condensed', sans-serif);
  --font-body: var(--pub-font-body, 'DM Sans', sans-serif);
}
.dark { --background: 60 10% 5%; --foreground: 54 47% 92%; --primary: 55 100% 59%; --primary-foreground: 60 10% 5%; --muted: 60 7% 12%; --muted-foreground: 56 10% 63%; --border: 57 13% 23%; }
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; background: var(--ink); color: var(--paper); font: 14px/1.5 var(--font-body); }
button, textarea, a { -webkit-tap-highlight-color: transparent; }
button, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button, a, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
.skip { position: fixed; left: 24px; top: -100px; z-index: 100; padding: 14px 24px; background: var(--yellow); color: var(--ink); }
.skip:focus { top: 18px; }
.ambient { position: absolute; inset: 0; height: 970px; overflow: hidden; pointer-events: none; z-index: 0; contain: paint; isolation: isolate; mask-image: linear-gradient(transparent, #10110d 9%, #10110d 77%, transparent); }
.ambient *, .ambient::before, .ambient::after { pointer-events: none; }
.mist-fallback { position: absolute; inset: -8%; background: radial-gradient(ellipse at 9% 38%, #a4932440, transparent 43%), radial-gradient(ellipse at 82% 28%, #bd9e2940, transparent 39%), radial-gradient(ellipse at 72% 72%, #bba52b30, transparent 42%), radial-gradient(ellipse at 26% 64%, #70692138, transparent 37%); filter: blur(35px); }
.ambient canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mist-field { opacity: .93; mix-blend-mode: screen; }
.mist-particles { opacity: .8; mix-blend-mode: screen; }
.ambient::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 41%, #10110d4d, transparent 44%), linear-gradient(#10110d3b, transparent 28%, transparent 70%, #10110d); }
.ambient.atmosphere-failed canvas { display: none; }
body.atmosphere-suspended *, body.atmosphere-suspended *::before, body.atmosphere-suspended *::after { animation-play-state: paused !important; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 4.5vw; }
.wordmark { font: 800 32px/.9 var(--font-display); letter-spacing: -.04em; color: var(--yellow); display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.wordmark span { max-width: 90px; font: 500 9px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 28px; min-width: 0; }
.motion-toggle { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 9px; border: 0; background: none; color: #b5b5a3; padding: 12px 0; font-size: 11px; }
.motion-symbol { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-paused .motion-symbol { border: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.account-link { font-size: 12px; border-bottom: 1px solid #716d3c; padding: 9px 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-link span { color: var(--yellow); padding-left: 10px; }
main { position: relative; z-index: 1; }
.intro { text-align: center; padding: 24px 20px 0; }
.eyebrow { margin: 0 0 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .23em; color: #b9b69c; }
.eyebrow::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; margin: 0 10px 1px 0; }
h1 { font: 700 clamp(42px, 5.2vw, 76px)/.98 var(--font-display); text-transform: uppercase; letter-spacing: -.025em; margin: 0; }
h1 em { font-style: normal; color: var(--yellow); }
.intro-copy { color: #aaa995; margin: 16px 0 0; font-size: 13px; }
.universe { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.route-cloud { position: relative; height: 390px; margin-top: 9px; }
.pub-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pub-logo { width: 330px; max-width: 40vw; height: auto; mix-blend-mode: screen; position: relative; z-index: 1; animation: breathe 8s ease-in-out infinite; }
.core-caption { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); width: 240px; text-align: center; font-size: 9px; color: #96987e; letter-spacing: .24em; text-transform: uppercase; }
.route-pill { position: absolute; min-height: 68px; width: 226px; display: grid; grid-template-columns: 1fr 20px; align-content: center; column-gap: 10px; padding: 14px 19px; border: 1px solid #6f70434d; border-radius: 8px; background: #191b13e8; box-shadow: 0 8px 26px #08090430; transition: border-color .2s, background-color .2s, color .2s; animation: drift 8s ease-in-out infinite; }
.route-pill strong { font-weight: 600; font-size: 14px; }
.route-pill small { grid-column: 1; color: #9b9e85; font-size: 10px; margin-top: 3px; }
.route-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 21px; color: var(--yellow); }
.route-index { color: #7f835e; font: 500 9px var(--font-body); margin-right: 7px; }
.route-pill:hover, .route-pill:focus-visible, .route-pill.is-suggested { background: #302f12; border-color: var(--yellow); }
.route-pill.is-suggested { box-shadow: inset 3px 0 var(--yellow); }
.route-pill:hover, .route-pill:focus-visible { animation-play-state: paused; }
.route-tournaments { left: 7%; top: 37px; transform: rotate(-3deg); }
.route-proof { right: 6%; top: 29px; animation-delay: -3s; }
.route-predictions { left: 0; top: 154px; animation-delay: -5s; }
.route-suggest { right: 0; top: 150px; animation-delay: -2s; }
.route-judging { left: 9%; top: 275px; animation-delay: -4s; }
.route-support { right: 8%; top: 270px; animation-delay: -6s; }
.intent-dock { max-width: 650px; margin: 6px auto 0; position: relative; }
.composer-label { display: block; text-align: center; color: #d0cfb6; margin-bottom: 12px; font-size: 12px; }
.composer { border: 1px solid #777744; border-radius: 16px; background: #1b1d14; padding: 9px; box-shadow: 0 16px 50px #05060340; }
.composer:focus-within { border-color: var(--yellow); }
.input-row { display: flex; align-items: center; gap: 8px; }
#intent { min-width: 0; width: 100%; height: 45px; min-height: 45px; max-height: 130px; resize: vertical; border: 0; color: var(--paper); background: transparent; padding: 12px 10px; font-size: 13px; line-height: 21px; }
#intent::placeholder { color: #969983; }
#intent:focus { outline: none; }
#mic { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 50%; border: 1px solid #72754a; color: var(--yellow); background: #26291b; display: grid; place-items: center; }
#mic svg { width: 19px; height: 19px; }
#send { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; border-radius: 10px; background: var(--yellow); color: var(--ink); border: 0; font-weight: 700; font-size: 12px; min-height: 45px; padding: 0 17px; }
#send:hover { background: #fff781; }
.composer-note { text-align: center; margin: 12px 10px 0; color: #a1a38a; font-size: 10px; line-height: 1.7; }
.voice-strip { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 13px; color: var(--yellow); font-size: 11px; }
.voice-strip.active, .voice-strip.is-active, body[data-state="listening"] .voice-strip { display: flex; }
#voice-strip[hidden] { display: none; }
body[data-state="listening"] #mic { background: var(--yellow); color: var(--ink); }
body[data-state="listening"] .composer { border-color: var(--yellow); }
#intent-activity { display: none; text-align: center; font-size: 11px; letter-spacing: .04em; color: var(--yellow); margin: 10px 0; }
body[data-state="thinking"] #intent-activity { display: block; animation: thinking 1.4s ease-in-out infinite alternate; }
body[data-state="thinking"] .pub-logo { animation-duration: 2s; }
#intent-state { max-width: 650px; margin: 12px auto; color: #d0c787; text-align: center; font-size: 12px; }
#intent-state:empty { display: none; }
.conversation { max-width: 650px; margin: 22px auto 0; }
.conversation:empty { display: none; }
.utterance { padding: 14px 17px; border-left: 1px solid #777744; margin: 12px 0; color: #dedec8; font-size: 13px; overflow-wrap: anywhere; }
.utterance .meta { display: block; margin-bottom: 5px; color: #a3a782; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
nav.results { display: flex; flex-wrap: wrap; gap: 8px; padding: 7px 0; }
nav.results a { display: block; border: 1px solid #9d9e43; border-radius: 6px; background: #292d16; color: var(--yellow); padding: 12px 16px; min-height: 44px; font-size: 12px; }
nav.results a:hover { background: #41431c; }
.below-orbit { max-width: 1064px; margin: 50px auto 0; border-top: 1px solid #393c28; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.culture-line { margin: 0; font: 600 24px/1.1 var(--font-display); text-transform: uppercase; }
.culture-line span { color: var(--yellow); }
.culture-detail { margin: 7px 0 0; color: #969b7f; font-size: 11px; }
.event-directory { display: flex; flex-wrap: wrap; gap: 6px 17px; max-width: 420px; justify-content: flex-end; }
.event-directory a { color: #b7b9a4; font-size: 10px; padding: 8px 0; }
.event-directory a:hover { color: var(--yellow); }
.site-footer { max-width: 1064px; margin: 0 auto; border-top: 1px solid #303323; padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; color: #878c70; }
.site-footer a:hover { color: var(--yellow); }
.entry-veil { position: fixed; z-index: 30; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--entry-x, 50%) var(--entry-y, 50%), #fff12e3b, #10110df5 65%); transition: opacity .35s ease; }
body.is-entering .entry-veil { opacity: 1; }
body.is-entering main { opacity: .25; transform: scale(.985); transition: opacity .3s ease, transform .35s ease; }
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-play-state: paused !important; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); opacity: .9; } 50% { transform: translateY(-4px) scale(1.018); opacity: 1; } }
@keyframes thinking { from { opacity: .45; } to { opacity: 1; } }
@media (min-width: 1450px) { .intro { padding-top: 42px; } .route-cloud { height: 440px; } .pub-logo { width: 375px; } .route-judging, .route-support { top: 315px; } .route-predictions, .route-suggest { top: 180px; } .core-caption { bottom: 17px; } }
@media (max-width: 900px) and (min-width: 701px) { .route-pill { width: 190px; padding: 12px; } .route-tournaments, .route-judging { left: 1%; } .route-proof, .route-support { right: 1%; } .pub-logo { width: 300px; } .route-pill strong { font-size: 12px; } }
@media (max-width: 1100px) { .below-orbit, .site-footer { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 700px) {
  .site-header { padding: 18px 20px; gap: 10px; }
  .wordmark { font-size: 29px; gap: 9px; }
  .wordmark span { font-size: 7px; max-width: 70px; }
  .header-actions { gap: 17px; }
  .motion-toggle { font-size: 10px; gap: 7px; }
  .account-link { font-size: 11px; }
  .account-link span { padding-left: 3px; }
  .intro { padding-top: 22px; }
  h1 { font-size: clamp(43px, 10.5vw, 67px); }
  .eyebrow { font-size: 8px; letter-spacing: .18em; }
  .intro-copy { font-size: 11px; max-width: 290px; margin: 13px auto 0; }
  .universe { padding: 0 18px; }
  .route-cloud { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; height: auto; margin-top: 0; }
  .pub-core { position: relative; grid-column: 1 / -1; height: 227px; margin-bottom: 5px; }
  .pub-logo { max-width: none; width: 242px; }
  .core-caption { bottom: -1px; font-size: 8px; }
  .route-pill { position: relative; inset: auto; width: auto; min-width: 0; min-height: 66px; padding: 12px; border-radius: 8px; gap: 3px; animation: none; transform: none; grid-template-columns: 1fr 14px; }
  .route-pill strong { font-size: 12px; }
  .route-pill small { font-size: 9px; }
  .route-index { display: none; }
  .route-arrow { font-size: 17px; }
  .intent-dock { margin-top: 26px; }
  .composer-label { font-size: 11px; margin-bottom: 9px; }
  .composer { border-radius: 12px; padding: 7px; }
  .input-row { flex-wrap: wrap; gap: 6px; }
  #intent { flex: 1 1 calc(100% - 55px); font-size: 16px; padding: 10px 6px; }
  #mic { flex-basis: 44px; width: 44px; height: 44px; }
  #send { width: 100%; justify-content: space-between; min-height: 42px; }
  .composer-note { font-size: 9px; }
  .below-orbit { margin: 32px 18px 0; align-items: flex-start; flex-direction: column; padding: 22px 0 16px; gap: 14px; }
  .culture-line { font-size: 26px; }
  .event-directory { justify-content: flex-start; gap: 0 18px; }
  .site-footer { margin: 0 18px; font-size: 8px; line-height: 1.8; }
  .ambient { height: 1000px; }
}
@media (max-width: 370px) { .wordmark span { display: none; } .route-pill { padding: 10px; } .route-pill strong { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body.is-entering main { transform: none; }
}
