/* 963hz.com — static shell */
:root {
  --bg: #000000;
  --bg-elevated: #000000;
  --text: #e6e4df;
  --text-muted: #8a8880;
  --accent: #d4a84b;
  --accent-dim: #9a7a35;
  --border: #2a2a30;
  --radius: 10px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Georgia", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 120% 80% at 50% -40%,
    rgba(212, 168, 75, 0.1),
    transparent 55%
  );
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e8c066;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 5rem;
  width: auto;
}

.logo:hover img {
  opacity: 0.88;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: var(--measure);
  margin: 0;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.embed-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.embed-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.embed-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.embed-frame {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: #000;
  min-height: 152px;
}

.embed-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.embed-placeholder {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.embed-placeholder code {
  font-size: 0.85em;
  color: var(--accent-dim);
  word-break: break-all;
}

.prose {
  max-width: var(--measure);
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}
