/* ════════════════════════════════════════════════════
   C10:OS — intro site
   pure mono, Berlin-techno minimalism
   ════════════════════════════════════════════════════ */

:root {
  --bg:           #050505;
  --bg-2:         #0c0c0c;
  --bg-card:      #0a0a0a;
  --fg:           #ededed;
  --fg-dim:       #8a8a8a;
  --fg-muted:     #4a4a4a;
  --fg-faint:     #2a2a2a;
  --accent:       #3aff87;
  --accent-dim:   #1f9c52;
  --accent-alt:   #ff3aa0;
  --warn:         #ffcb3a;
  --line:         rgba(255, 255, 255, 0.08);
  --line-strong:  rgba(255, 255, 255, 0.18);
  --grid:         rgba(255, 255, 255, 0.022);
  --selection:    rgba(58, 255, 135, 0.25);
  --max:          1280px;
  --pad:          clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--selection); color: var(--fg); }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--fg);
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ─── Header ────────────────────────────────────── */

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

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 56px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.brand .brand-name { color: var(--accent); }
.brand .brand-sep { color: #fff; }

.brand .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.nav {
  display: flex;
  gap: 28px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  font-size: 11px;
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 160ms ease;
}

.nav a.active { color: var(--fg); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.status-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ─── Hero ──────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(64px, 12vh, 160px) 0 clamp(64px, 10vh, 120px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero .bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 48px;
}

.hero .bar span::before {
  content: "▸ ";
  color: var(--accent);
}

.wordmark {
  font-size: clamp(72px, 18vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 700;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 0;
  color: var(--accent-dim);   /* C10 and OS letters in darker accent green */
}

.wordmark .colon {
  color: #fff;
  display: inline-block;
  align-self: center;       /* vertically centered with the letters */
  transform: translateY(-0.09em);  /* lift onto the caps' optical centerline */
  margin: 0 -0.14em;        /* halve the empty space on each side of the colon */
  opacity: 0.55;            /* solid, dimmed white — no animation */
}

@keyframes colon-glow {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.2; }
}

.wordmark .cursor {
  color: #fff;              /* white underscore — matches the colon */
  margin-left: 0.04em;
  align-self: baseline;
  animation: colon-glow 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wordmark .cursor { animation: none; opacity: 0.7; }
}

.tagline {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg);
  max-width: 60ch;
  margin-bottom: 12px;
}

.tagline em {
  color: var(--accent);
  font-style: normal;
}

.subtag {
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ─── Section primitives ───────────────────────── */

section { padding: clamp(64px, 8vh, 120px) 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head .meta {
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  display: inline-block;
}
.eyebrow::before { content: "// "; color: var(--fg-muted); }

/* ─── Manifesto ─────────────────────────────────── */

.manifesto {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}
.manifesto h2 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.manifesto-body p {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--fg);
}
.manifesto-body p + p { color: var(--fg-dim); }
.manifesto-body strong {
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 720px) {
  .manifesto { grid-template-columns: 1fr; }
}

/* ─── Stats row ─────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .num .accent { color: var(--accent); }
.stat .label {
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.stat .sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--fg-muted);
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ─── Quadrants nav ─────────────────────────────── */

.quad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}
.quad a {
  position: relative;
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  transition: background 200ms ease, color 200ms ease;
}
.quad a:nth-child(2n) { border-right: none; }
.quad a:nth-last-child(-n+2) { border-bottom: none; }
.quad a:hover { background: var(--bg-2); color: var(--fg); }
.quad a:hover .arrow { color: var(--accent); transform: translateX(4px); }

.quad .num {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.18em;
}
.quad h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.quad p {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: auto;
}
.quad .arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 18px;
  color: var(--fg-muted);
  transition: color 200ms ease, transform 200ms ease;
}

@media (max-width: 720px) {
  .quad { grid-template-columns: 1fr; }
  .quad a { border-right: none; }
  .quad a:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* ─── Cards (halls, services) ───────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: background 200ms ease;
}
.card:hover { background: var(--bg-2); }

.card .id {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card .id .num {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.card .hall-glyph {
  width: 40px;
  height: 40px;
  color: var(--fg-muted);
  margin: 2px 0 -2px;
  transition: color 200ms ease, transform 200ms ease;
}
.card:hover .hall-glyph {
  color: var(--accent);
  transform: translateY(-1px);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.card .role {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: auto;
}
.card .cli {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.card .cli code {
  color: var(--accent);
  background: rgba(58, 255, 135, 0.06);
  padding: 1px 6px;
  border-radius: 2px;
}

/* ─── Status badges ─────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-dim);
}
.badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.badge.graduated { color: var(--accent); border-color: var(--accent-dim); }
.badge.graduated::before { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.badge.active { color: var(--fg); }
.badge.active::before { background: var(--fg); }
.badge.idea, .badge.available { color: var(--warn); border-color: rgba(255, 203, 58, 0.3); }
.badge.idea::before, .badge.available::before { background: var(--warn); }
.badge.locked { color: var(--accent-alt); border-color: rgba(255, 58, 160, 0.3); }
.badge.locked::before { background: var(--accent-alt); }
.badge.configured, .badge.dumpster { color: var(--fg-muted); }

/* ─── Hall search ───────────────────────────────── */

.hall-search {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 12px 16px;
  margin-bottom: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.hall-search::placeholder { color: var(--fg-muted); }
.hall-search:focus {
  outline: none;
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(58, 255, 135, 0.08);
}

/* ─── Hall filter chips ─────────────────────────── */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 160ms ease;
}
.chip:hover { color: var(--fg); border-color: var(--fg-dim); }
.chip.is-active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ─── Featured strip ────────────────────────────── */

.featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.featured-item {
  background: var(--bg);
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.featured-item .hall-num {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--fg-faint);
  position: absolute;
  right: 16px; top: 12px;
  pointer-events: none;
}
.featured-item .hall-glyph {
  width: 44px;
  height: 44px;
  color: var(--accent-dim);
  z-index: 1;
  transition: color 200ms ease;
}
.featured-item:hover .hall-glyph { color: var(--accent); }

.featured-item .name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  z-index: 1;
}
.featured-item .desc {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: auto;
  z-index: 1;
}

@media (max-width: 880px) {
  .featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .featured { grid-template-columns: 1fr; }
}

/* ─── Rules grid ────────────────────────────────── */

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rule {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}
.rule .num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 600;
}
.rule h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rule p {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: auto;
}

@media (max-width: 880px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

/* ─── Terminal block ────────────────────────────── */

.terminal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.7;
  position: relative;
}
.terminal::before {
  content: "● ● ●";
  position: absolute;
  top: 10px; left: 16px;
  letter-spacing: 4px;
  color: var(--fg-faint);
  font-size: 10px;
}
.terminal .body { padding-top: 16px; }
.terminal .prompt { color: var(--accent); }
.terminal .comment { color: var(--fg-muted); }
.terminal .out { color: var(--fg-dim); }
.terminal .out .ok { color: var(--accent); }

/* ─── Two-col split ─────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.split > * {
  background: var(--bg);
  padding: 32px;
}
.split h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.split .deck {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.split .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.split .row:last-child { border-bottom: none; }
.split .row .key { color: var(--fg-dim); }
.split .row .val { color: var(--fg); font-weight: 500; }
.split .row .val.accent { color: var(--accent); }

@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }

/* ─── Hall glyph showcase (brand) ───────────────── */

.glyph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.glyph-cell {
  background: var(--bg);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: background 200ms ease;
}
.glyph-cell:hover { background: var(--bg-2); }
.glyph-cell .glyph-lg {
  width: 34px;
  height: 34px;
  color: var(--fg-muted);
  transition: color 200ms ease;
}
.glyph-cell:hover .glyph-lg { color: var(--accent); }
.glyph-cell figcaption {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
  line-height: 1.4;
}
.glyph-cell figcaption .gn {
  display: block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.glyph-note {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 16px;
}
@media (max-width: 560px) { .glyph-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── WHY chain teaser ──────────────────────────── */

.why-chain {
  font-size: 12px;
  line-height: 1.8;
  color: var(--fg-dim);
}
.why-chain .entry {
  display: grid;
  grid-template-columns: 88px 110px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.why-chain .entry:last-child { border-bottom: none; }
.why-chain .ts { color: var(--fg-muted); }
.why-chain .svc { color: var(--accent); }
.why-chain .msg { color: var(--fg); }

@media (max-width: 600px) {
  .why-chain .entry { grid-template-columns: 1fr; gap: 2px; }
}

/* ─── Lists ─────────────────────────────────────── */

.list-tight {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.list-tight li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.list-tight li:last-child { border-bottom: none; }
.list-tight .label { color: var(--fg); font-weight: 500; }
.list-tight .desc { color: var(--fg-dim); font-size: 12px; flex: 1; padding-left: 16px; text-align: right; }

/* ─── Contact ───────────────────────────────────── */

.contact {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 0 8px;
}
.contact-eyebrow {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.contact-eyebrow::before { content: "// "; color: var(--fg-muted); }

.contact-email {
  font-size: clamp(36px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--fg);
  display: inline-block;
  position: relative;
  width: max-content;
  max-width: 100%;
  word-break: break-all;
  transition: color 220ms ease;
}
.contact-email .at { color: var(--accent); }
/* Underline track — becomes a dim red rail on hover */
.contact-email::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1),
              background 240ms ease,
              box-shadow 240ms ease;
}
.contact-email:hover::after {
  transform: scaleX(1);
  background: linear-gradient(90deg,
    rgb(255 26 26 / 0.15) 0%,
    rgb(255 26 26 / 0.55) 50%,
    rgb(255 26 26 / 0.15) 100%);
  box-shadow: 0 0 8px rgb(255 26 26 / 0.5);
}

/* Knight Rider / Cylon scanner — pure CSS, no JS.
   1. The text fill is replaced with a gradient (white → red blob → white)
      twice as wide as the element. background-position animates the blob
      across, and `animation-direction: alternate` bounces it back.
   2. ::before is the glowing scanner dot that rolls beneath the text.
   Both animations share the same timing so they stay locked together. */

.contact-email::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 24px;
  height: 14px;
  margin-left: -12px;
  background: radial-gradient(ellipse,
    #ff1a1a 0%,
    #ff5050 22%,
    rgb(255 26 26 / 0.45) 55%,
    transparent 78%);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 1;
}

.contact-email:hover {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
          background-clip: text;
  background-image: linear-gradient(90deg,
    var(--fg)    0%,
    var(--fg)   38%,
    #ff5050     47%,
    #ff1a1a     50%,
    #ff5050     53%,
    var(--fg)   62%,
    var(--fg)  100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0;
  animation: cylon-text 1.5s cubic-bezier(.4,0,.6,1) infinite alternate;
  filter: drop-shadow(0 0 10px rgb(255 26 26 / 0.45));
}

.contact-email:hover::before {
  opacity: 1;
  animation: cylon-dot 1.5s cubic-bezier(.4,0,.6,1) infinite alternate;
}

@keyframes cylon-text {
  from { background-position: 100% 0; }
  to   { background-position:   0% 0; }
}
@keyframes cylon-dot {
  from { left:   0%; }
  to   { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-email:hover { animation: none; background-position: 50% 0; }
  .contact-email:hover::before { animation: none; left: 50%; }
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}
.contact-meta > div {
  background: var(--bg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-meta .key {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
}
.contact-meta .val { font-size: 13px; color: var(--fg); }
.contact-meta .val.accent { color: var(--accent); }

@media (max-width: 720px) { .contact-meta { grid-template-columns: 1fr; } }

/* ─── Footer ────────────────────────────────────── */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-dim);
}
.site-footer .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
/* the trailing copyright row carries a single item — push it to the right edge */
.site-footer .row:last-child { justify-content: flex-end; }
.site-footer .creed {
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.site-footer .creed strong { color: var(--accent); font-weight: 500; }
.site-footer .nav-foot {
  display: flex;
  gap: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}
.site-footer .nav-foot a:hover { color: var(--accent); }
.site-footer .small {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.site-footer hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

/* ─── Page intro ────────────────────────────────── */

.page-intro {
  padding: clamp(48px, 8vh, 96px) 0 clamp(32px, 5vh, 56px);
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.page-intro h1 .accent { color: var(--accent); }
.page-intro p {
  font-size: 15px;
  color: var(--fg-dim);
  max-width: 70ch;
}

/* ─── Utility ───────────────────────────────────── */

.mono { font-family: inherit; }
.fade { color: var(--fg-dim); }
.accent { color: var(--accent); }
.alt { color: var(--accent-alt); }
hr.div {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* hide on small */
@media (max-width: 720px) {
  .nav { display: none; }
  .site-header .inner { gap: 12px; }
}

/* ─── What's new — changelog band ─────────────── */
.whatsnew {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  padding: clamp(20px, 3vw, 30px);
}
.whatsnew .wn-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.whatsnew .wn-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.whatsnew .wn-meta {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--fg-muted);
}
.wn-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.wn-item {
  background: var(--bg-card);
  padding: 16px 18px;
}
.wn-item .wn-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.wn-item .wn-txt {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin-top: 6px;
}
@media (max-width: 820px) { .wn-items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wn-items { grid-template-columns: 1fr; } }
