*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ink-0); color: var(--text);
  font: 400 var(--step-0) / 1.65 var(--font-body);
}
main { flex: 1; }

/* Stage glow: three soft lights from the stage photos, plus a faint grain. Static. */
body { isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 85% 12%, var(--glow-a), transparent 70%),
    radial-gradient(45% 40% at 4% 40%, var(--glow-b), transparent 72%),
    radial-gradient(60% 50% at 72% 100%, var(--glow-c), transparent 72%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--human-text); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--human-text); outline-offset: 3px; border-radius: 4px; }
p { max-width: 62ch; margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--human); color: var(--human-ink); padding: 0.6rem 1rem; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-3); line-height: 1.08; }
h2 { font-size: var(--step-2); line-height: 1.15; }
h2::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 0.9rem; background: var(--human); border-radius: 2px; }
h3 { font-size: var(--step-1); line-height: 1.25; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 44ch; margin-top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem max(var(--gutter), calc((100% - var(--maxw)) / 2));
  background: var(--glass-header); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px) saturate(130%); -webkit-backdrop-filter: blur(12px) saturate(130%);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.mark { width: 38px; height: 40px; fill: none; stroke: var(--text); stroke-width: 10; stroke-linecap: butt; stroke-linejoin: miter; }
.mark .mark-human { stroke: var(--human-text); }
.mark .mark-verify { stroke: var(--verify); }
.wordmark { display: flex; flex-direction: column; line-height: 0.9; font-family: var(--font-logo); }
.wordmark span:first-child { font-size: 0.82rem; font-stretch: 150%; font-weight: 400; letter-spacing: 0.3em; margin-bottom: 0.15rem; }
.wordmark span:last-child { font-size: 1.5rem; font-stretch: 60%; font-weight: 900; letter-spacing: 0.01em; }

.nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a { position: relative; text-decoration: none; padding: 0.5rem 0; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem; height: 2px; background: var(--human); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; background: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; font: inherit; }
.icon-btn:hover { border-color: var(--human-text); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1rem; background: var(--ink-0); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.9rem 0; font-size: 1.1rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.7rem 1.5rem; border-radius: var(--radius-s); border: 1px solid var(--human); background: var(--human); color: var(--human-ink); font: 600 1rem var(--font-display); text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.btn:hover { background: #a51327; border-color: #a51327; }
:root[data-theme="light"] .btn:hover { background: #9a1225; border-color: #9a1225; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink-1); border-color: var(--muted); }

/* Containers */
.card { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); }

/* Sections */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; gap: 0.25rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: var(--step--1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer p { margin: 0; }
