/* Hallmark · shape: custom, a walk-through world · genre: atmospheric · theme: custom (by request, grown from Kiln: near-black, cream ink, ember) · job: join
 * hero: a full-screen WebGL world, the text on its calm left third · nav: edge-aligned over the canvas, a room rail on the right · footer: inside the last room · imagery: the stage render on an LED wall, SkinRunners art and the real studio as screens inside the world · signature: a burning portal you fly through on scroll into a 3D arena
 * axes: dark/high-contrast-serif/warm · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 29 · an ember drop-shadow outlines the roadmap guitar · the old rocknverse.com roadmap guitar glowed this way and the founder asked to bring it back */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5 · weakest: R, a 3D world tempts effects everywhere; the type stays on one quiet left column and only the world moves */

:root {
  color-scheme: dark;
  --paper: oklch(9% 0.012 40);
  --paper-2: oklch(14% 0.016 40);
  --ink: oklch(95% 0.02 80);
  --ink-2: oklch(84% 0.025 70);
  --muted: oklch(72% 0.03 60);
  --rule: oklch(96% 0.01 80 / 0.14);
  --ember: oklch(70% 0.2 45);
  --ember-hot: oklch(78% 0.18 58);
  --ember-ink: oklch(14% 0.02 40);
  --focus: oklch(80% 0.17 60);
  --scrim: oklch(9% 0.012 40 / 0.72);
  --font-display: "Bodoni Moda", "Iowan Old Style", Georgia, serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --text-sm: 0.875rem; --text-md: 1rem; --text-lead: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  --text-display: clamp(3rem, 6vw + 0.5rem, 7rem); --text-section: clamp(2.25rem, 3.6vw + 0.5rem, 4.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-short: 220ms; --dur-long: 600ms;
  --gutter: clamp(16px, 4vw, 64px);
  --z-canvas: 0; --z-veil: 1; --z-content: 2; --z-nav: 10; --z-skip: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: color-mix(in oklab, var(--ember) 40%, transparent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--text-display); max-width: 11ch; }
h2 { font-size: var(--text-section); max-width: 14ch; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-skip); padding: var(--space-xs) var(--space-md); background: var(--ink); color: var(--paper); }
.skip:focus-visible { top: var(--space-md); }

/* the world */
#verse { position: fixed; inset: 0; width: 100%; height: 100%; z-index: var(--z-canvas); display: block; background: var(--paper) url("assets/fire.jpg") center / cover no-repeat; }
.webgl #verse { background: var(--paper); }
.veil { position: fixed; inset: 0; z-index: var(--z-veil); pointer-events: none; background: linear-gradient(90deg, var(--scrim) 0%, color-mix(in oklab, var(--paper) 30%, transparent) 42%, transparent 62%); }
.src-video { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* chrome */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); background: linear-gradient(to bottom, color-mix(in oklab, var(--paper) 78%, transparent), transparent); display: flex; align-items: center; gap: var(--space-lg); padding: var(--space-md) var(--gutter); }
.nav__home img { display: block; width: 76px; height: auto; }
.nav__links { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav__links a, .motion { color: var(--ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding: var(--space-xs) 0; }
.nav__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.motion { background: none; border: 0; cursor: pointer; font-family: inherit; min-height: 44px; }
.motion:hover { color: var(--ink); }
.motion:active { opacity: 0.8; }

.rail { --node: 10px; position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: var(--z-nav); list-style: none; margin: 0; padding: var(--space-xs) 0; display: grid; gap: var(--space-lg); }
.rail::before, .rail__fill { content: ""; position: absolute; right: calc(var(--node) / 2); top: 22px; bottom: 22px; width: 1px; pointer-events: none; }
.rail::before { background: var(--rule); }
.rail__fill { background: linear-gradient(to bottom, var(--ember-hot), var(--ember)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.rail li { display: flex; justify-content: flex-end; }
.rail a { position: relative; display: flex; align-items: center; gap: var(--space-md); min-height: 28px; color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.01em; text-decoration: none; text-shadow: 0 1px 10px var(--paper), 0 0 2px var(--paper); opacity: 0.7; transition: opacity var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.rail a::after { content: ""; flex: none; width: var(--node); height: var(--node); transform: rotate(45deg); border: 1px solid color-mix(in oklab, var(--ink) 45%, transparent); background: var(--paper); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.rail a[data-passed]::after { border-color: var(--ember); background: color-mix(in oklab, var(--ember) 35%, var(--paper)); }
.rail a:hover { opacity: 1; color: var(--ink); }
.rail a:hover::after { transform: rotate(45deg) scale(1.2); }
.rail a[aria-current="true"] { opacity: 1; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.rail a[aria-current="true"]::after { background: var(--ember-hot); border-color: var(--ember-hot); transform: rotate(45deg) scale(1.35); outline: 1px solid color-mix(in oklab, var(--ember) 55%, transparent); outline-offset: 4px; }
.rail a:active { opacity: 0.85; }

/* rooms */
main { position: relative; z-index: var(--z-content); }
.scene { min-height: 100svh; display: flex; align-items: center; padding: var(--space-3xl) var(--gutter); }
.scene--right { justify-content: flex-end; padding-right: calc(var(--gutter) + 140px); }
.panel { max-width: 34rem; display: grid; gap: var(--space-lg); justify-items: start; }
.panel p { color: var(--ink-2); max-width: 46ch; }
.panel--hero { max-width: 40rem; }
.panel--hero .lead { font-size: var(--text-lead); line-height: 1.45; max-width: 34ch; }
.scene--right .panel:not(.panel--wide) { padding: var(--space-xl); background: var(--scrim); border: 1px solid var(--rule); }
.panel--join { max-width: 40rem; }
.link { color: var(--ink); text-underline-offset: 0.3em; text-decoration-color: var(--ember); }
.link:hover { color: var(--ember-hot); }
.selectable { user-select: all; color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 var(--space-lg); border-radius: 999px; font-weight: 500; white-space: nowrap; text-decoration: none; border: 0; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform 120ms var(--ease-out); }
.btn--primary { background: var(--ember); color: var(--ember-ink); }
.btn--primary:hover { background: var(--ember-hot); }
.btn--ghost { background: color-mix(in oklab, var(--paper) 40%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--ghost:hover { background: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.people { margin: var(--space-md) 0 0; width: 100%; border-top: 1px solid var(--rule); }
.people > div { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--rule); }
.people dt { font-family: var(--font-display); font-size: 1.125rem; }
.people dd { margin: 0; color: var(--muted); font-size: var(--text-sm); align-self: center; text-align: right; }
.social { display: flex; flex-wrap: wrap; gap: var(--space-lg); font-size: var(--text-sm); }
.social a { color: var(--ink-2); }
.social a:hover { color: var(--ink); }

@media (max-width: 60rem) {
  .rail, .nav__links { display: none; }
  .veil { background: linear-gradient(0deg, var(--scrim) 0%, color-mix(in oklab, var(--paper) 40%, transparent) 55%, transparent 80%); }
  .scene { align-items: flex-end; padding-bottom: var(--space-2xl); }
  .scene--right { justify-content: flex-start; padding-right: var(--gutter); }
  .scene--right .panel { padding: var(--space-lg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* room details */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.badge { width: 112px; height: auto; display: block; }
.state, .mail { font-size: var(--text-sm); color: var(--muted); }
.items { margin: 0; width: 100%; border-top: 1px solid var(--rule); }
.items > div { display: grid; gap: var(--space-xs); padding-block: var(--space-md); border-bottom: 1px solid var(--rule); }
.items dt { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.items dd { margin: 0; color: var(--ink-2); max-width: 46ch; }
.panel--wide { max-width: 36rem; padding: var(--space-xl); background: var(--scrim); border: 1px solid var(--rule); }

/* the roadmap on the neck of the old site's flying V */
.roadmap { position: relative; padding: var(--space-3xl) var(--gutter) var(--space-2xl); background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--paper) 82%, transparent) 9%, color-mix(in oklab, var(--paper) 82%, transparent) 91%, transparent); }
.roadmap__head { max-width: 34rem; display: grid; gap: var(--space-md); }
.roadmap__head p { color: var(--ink-2); }
.fret { --cx: 50%; --gh: clamp(1300px, 150vh, 1750px); position: relative; height: var(--gh); max-width: 1200px; margin: calc(-1 * var(--space-2xl)) auto 0; overflow: clip; }
.fret__guitar { position: absolute; top: 0; left: var(--cx); height: 100%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 0 22px color-mix(in oklab, var(--ember) 65%, transparent)) drop-shadow(0 0 3px var(--ember)); }
.fret__nodes { position: absolute; inset: 15.5% 0 auto 0; height: 43%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-rows: repeat(11, minmax(0, 1fr)); }
.node { position: relative; }
.node::before { content: ""; position: absolute; top: 50%; width: 132px; height: 1px; background: color-mix(in oklab, var(--ink) 55%, transparent); }
.node::after { content: ""; position: absolute; top: 50%; left: var(--cx); width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--paper); border: 2px solid var(--ink); }
.node--l::before { right: calc(100% - var(--cx) + 10px); }
.node--r::before { left: calc(var(--cx) + 10px); }
.node--live::after { background: var(--ember-hot); border-color: var(--ember-hot); outline: 1px solid color-mix(in oklab, var(--ember) 60%, transparent); outline-offset: 3px; }
.node--work::after { border-color: var(--ember); }
.node__text { position: absolute; top: 50%; transform: translateY(-50%); width: min(17rem, calc(var(--cx) - 170px)); display: grid; gap: 2px; text-shadow: 0 1px 10px var(--paper); }
.node--l .node__text { right: calc(100% - var(--cx) + 156px); text-align: right; }
.node--r .node__text { left: calc(var(--cx) + 156px); }
.node__text b { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.15; color: var(--ink); }
.node__text span { font-size: var(--text-sm); color: var(--muted); }
.node--live .node__text span { color: var(--ink); }

@media (max-width: 60rem) {
  .fret { --cx: 44px; --gh: 1400px; margin-top: var(--space-xl); }
  .node--l::before { right: auto; left: calc(var(--cx) + 10px); }
  .node::before { width: 28px; }
  .node .node__text, .node--l .node__text { left: calc(var(--cx) + 50px); right: auto; text-align: left; width: auto; }
  .node__text b { font-size: 1.125rem; }
}

/* DAWAI room */
.dawai-mark { width: 64px; height: 64px; display: block; }
.pull { margin: 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--ink); max-width: 24ch; }
.facts { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: var(--space-md); }
@media (max-width: 40rem) { .facts { grid-template-columns: minmax(0, 1fr); } }
