/* Neur Culture v4 shared base: the Neur design system tokens plus layout primitives that flow (no card grids). */
@import url('fonts.css');
@import url('colors.css');
@import url('motion.css');
@import url('typography.css');
:root {
  --ink:#0D0D0D; --paper:#F0EDE6; --red:#E2361B; --cobalt:#1D3FBF; --sigil:#3E7BFF; --acid:#E3F23C; --ochre:#D7A033;
  --ease-house: cubic-bezier(.625,.05,0,1); --ease-snap: cubic-bezier(.7,0,.2,1);
  --pad: clamp(18px, 3vw, 44px); --bg: var(--ink); --fg: var(--paper); --accent: var(--red);
}
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.5 var(--font-display); transition: background-color .4s var(--ease-house), color .4s var(--ease-house); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cond { font-family: var(--font-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .82; letter-spacing: -.01em; }
.wide { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .86; letter-spacing: -.03em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.script { font-family: var(--font-script); text-transform: none; }
.pad { padding-left: var(--pad); padding-right: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: -9999px; z-index: 200; } .skip:focus { left: 12px; top: 12px; background: var(--paper); color: var(--ink); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.split-line { overflow: hidden; display: block; }
.rn { display: inline-block; background: var(--acid); color: var(--ink); font: 600 10px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; }
.rn::before { content: "Review note: "; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px; font: 600 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; transition: background-color .3s var(--ease-house), color .3s var(--ease-house); }
.btn.live { background: var(--accent); color: var(--ink); border-color: transparent; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.live:hover { background: var(--fg); color: var(--bg); }
/* Loader */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: var(--loader-bg, var(--ink)); color: var(--loader-fg, var(--paper)); }
.loader[hidden] { display: none; }
.loader .skipload { position: absolute; right: var(--pad); bottom: var(--pad); }
.loader .count { position: absolute; left: var(--pad); bottom: var(--pad); }
/* Companion: Eeky */
.companion { position: fixed; right: 18px; bottom: 14px; z-index: 90; display: flex; align-items: flex-end; gap: 10px; }
.companion > button { width: 92px; height: 132px; background: none; border: 0; padding: 0; cursor: pointer; }
.companion > button img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); animation: eeky-bob 3.2s var(--ease-house) infinite alternate; }
@keyframes eeky-bob { to { transform: translateY(-8px) rotate(-2deg); } }
.codec { position: absolute; right: 96px; bottom: 18px; width: min(360px, 78vw); background: var(--ink); color: var(--paper); border: 1px solid #2a2a2a; border-top: 3px solid var(--accent); padding: 16px 16px 14px; font-size: 14px; }
.codec[hidden] { display: none; }
.codec .freq { font: 600 11px/1 var(--font-mono); letter-spacing: .1em; color: var(--sigil); margin-bottom: 10px; display: flex; justify-content: space-between; }
.codec p { margin: 0 0 12px; }
.codec .opts { display: flex; flex-direction: column; gap: 6px; }
.codec .opts a { font: 600 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 11px 12px; border: 1px solid #333; }
.codec .opts a:hover, .codec .opts a:focus-visible { background: var(--accent); color: var(--ink); border-color: transparent; }
/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--menu-bg, var(--ink)); color: var(--menu-fg, var(--paper)); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); clip-path: circle(0% at calc(100% - 60px) 40px); transition: clip-path .7s var(--ease-house); visibility: hidden; }
.menu.open { clip-path: circle(150% at calc(100% - 60px) 40px); visibility: visible; }
.menu a.big { font: 900 clamp(48px, 9vw, 140px)/.9 var(--font-display); font-stretch: 62%; text-transform: uppercase; display: flex; align-items: baseline; gap: 18px; }
.menu a.big span { font: 600 12px/1 var(--font-mono); letter-spacing: .08em; opacity: .6; }
.menu a.big:hover { color: var(--accent); }
.menu .meta { position: absolute; bottom: var(--pad); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } .menu { transition: none; } }
/* Critic fixes (shared): the loader's skip is a real button; Eeky never covers content on phone */
.loader .skipload { background: var(--loader-fg, var(--paper)); color: var(--loader-bg, var(--ink)); border-color: transparent; }
@media (max-width: 820px) {
  .companion { right: 8px; bottom: 8px; }
  .companion > button { width: 52px; height: 72px; }
  .codec { right: 0; bottom: 80px; width: calc(100vw - 16px); }
  main { padding-bottom: 90px; }
}
