/* RESØNANCE — resonance.komarlabs.dev
 *
 * House palette shared with komarlabs.dev and subsonic.komarlabs.dev: near-black
 * field, one accent, bracket-corner motif from the icon.
 *
 * Fonts are a SYSTEM STACK, deliberately. Subsønic's site pulls Google Fonts
 * over @import while its privacy policy claims two third-party services; that
 * is a contradiction this site does not inherit. The CloudFront response-headers
 * policy in website/template.yaml sets `default-src 'none'` with no font-src
 * exception for off-origin, so a CDN font would be blocked by our own CSP
 * anyway. Self-host or use the system stack; do not weaken the CSP for type.
 */

:root {
  --field: #07070d;
  --field-raised: #0c0c14;
  --ink: #e8e8ef;
  --ink-dim: #9a9aa8;
  --ink-faint: #6a6a78;
  --accent: #c946ff;
  --rule: #1c1c28;

  --measure: 34rem;
  --gap: 1.5rem;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  /* The game is about listening in the dark. The site is dark-only on purpose;
   * there is no light theme to fall back to and no toggle to maintain. */
  color-scheme: dark;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* ---- masthead ------------------------------------------------------------ */

.mark {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 2rem;
}

.title {
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.tagline {
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin: 0 0 3rem;
}

/* ---- content ------------------------------------------------------------- */

h2 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 3rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  margin: 2rem 0 0.5rem;
  color: var(--ink);
}

p { margin: 0 0 1rem; }

ul { padding-left: 1.1rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--ink); font-weight: 600; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--ink); }

/* The bracket motif from icon.svg, reused as a pull-quote frame. */
.brackets {
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  background: var(--field-raised);
  color: var(--ink);
}
.brackets p:last-child { margin-bottom: 0; }

.note {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.stamp {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3.5rem 0 2rem;
}

footer {
  color: var(--ink-faint);
  font-size: 0.85rem;
}
footer a { color: var(--ink-dim); }
footer a:hover { color: var(--accent); }

.nav { margin-bottom: 2.5rem; }
.nav a { color: var(--ink-dim); font-size: 0.9rem; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 120ms ease; }
}
