/* =============================================================
   Reuben Cullum-Hall — personal site
   Dark monochrome. Black base, white text, white buttons.
   Colour + type live in the :root variables below.
   To re-introduce a brand colour later: change --accent in one place.
   ============================================================= */

:root {
  /* Palette — dark monochrome, one neutral 'accent' (white for now) */
  --bg:         #050505;   /* near-black base */
  --bg-panel:   #111111;   /* elevated surface */
  --bg-float:   #191919;   /* floating surface */
  --ink:        #F4F3F0;   /* near-white text (a touch warm, less glare) */
  --ink-soft:   #A6A29B;   /* muted body / captions */
  --ink-faint:  #6E6A64;   /* hairline labels */
  --line:       #262524;   /* borders / rules */
  --line-strong:#3A3836;
  --accent:     #FFFFFF;   /* the one 'accent' — swap this to re-theme */
  --accent-ink: #FFFFFF;   /* accent used as text colour */

  /* Status accents — used only on the home status card */
  --live:       #E5605E;   /* faint red — the 'Live' indicator */
  --active:     #57C08A;   /* soft green — the 'Active' state */

  /* Elevation — subtle on a dark base: hairline highlight + soft drop */
  --shadow-elevated:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 22px 45px -30px rgba(0,0,0,0.9);

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 11vw, 9rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1, "ss01" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.divider { border: 0; border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); letter-spacing: -0.02em; }

.serif-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }

.accent { color: var(--accent-ink); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
}
.nav-menu { display: contents; } /* nav links + socials flow into the header grid */
.brand {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.28rem 0.8rem 0.28rem 0.32rem;
  border-radius: 999px;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.brand:hover {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
}
.brand:active { transform: translateY(1px); }
.brand-avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  flex: none; filter: grayscale(1) contrast(1.03);
  border: 1px solid var(--line-strong);
}
.brand-name { font-weight: 600; letter-spacing: -0.02em; font-size: 1rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); justify-self: center; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.95rem; font-weight: 500;
  padding: 4px 0; position: relative;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
}

/* Social cluster — right side of the header, balances the brand */
.nav-social { display: inline-flex; align-items: center; gap: 0.3rem; justify-self: end; }
.nav-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  color: var(--ink-soft); border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .12s ease;
}
.nav-social a:hover { color: var(--ink); background: rgba(255,255,255,0.05); border-color: var(--line); }
.nav-social a:active { transform: translateY(1px); }
.nav-social svg { width: 17px; height: 17px; display: block; fill: currentColor; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; margin-right: -8px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
/* Primary = white button, black text */
.btn-primary { background: var(--ink); color: #0A0A0A; }
.btn-primary:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(255,255,255,0.35);
}
.btn-primary:active { transform: translateY(0); }
/* Ghost = outlined on dark */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* text link with animated underline */
.tlink {
  color: var(--ink); text-decoration: none; font-weight: 500;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .25s ease;
  padding-bottom: 2px;
}
.tlink:hover { background-size: 100% 1.5px; }
.tlink .arrow { color: var(--accent); }

/* ---------- Hero (split) ---------- */
.hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero h1 { margin-top: 1.4rem; }
.hero .serif-line { font-size: clamp(1.35rem, 2.8vw, 1.9rem); color: var(--ink-soft); margin-top: 1.5rem; }
.hero .serif-line em { color: var(--accent-ink); font-style: italic; }
.hero .mission { margin-top: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.2rem; }

/* typewriter caret for the anchor line */
.type-caret {
  display: inline-block; width: 2px; height: 1em;
  margin-left: 3px; vertical-align: -0.12em;
  background: var(--accent);
  animation: caret-blink 1.05s steps(1) infinite;
}
.type-caret.done { animation: none; opacity: 0; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { display: none; } }
/* anchor line is hidden until JS types it (prevents a flash of full text) */
.js .type-target { visibility: hidden; }

/* status card */
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-panel);
  padding: clamp(1.25rem, 2vw, 1.6rem);
  box-shadow: var(--shadow-elevated);
}
/* The whole status card is a link through to the Currently Building page */
a.status-card { display: block; text-decoration: none; cursor: pointer; }
.js a.status-card {
  transition:
    opacity .6s cubic-bezier(.2,.7,.2,1),
    transform .6s cubic-bezier(.2,.7,.2,1),
    border-color .22s ease,
    box-shadow .22s ease;
}
a.status-card:hover {
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 30px 55px -32px rgba(0,0,0,0.95);
}
a.status-card:active { box-shadow: var(--shadow-elevated); }
.status-card .card-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem;
}
.pulse { display: inline-flex; align-items: center; gap: 0.4rem; color: color-mix(in srgb, var(--live) 62%, var(--ink-faint)); }
.pulse .live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); position: relative; }
.pulse .live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--live); opacity: .5;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity:.6 } 100% { transform: scale(1.6); opacity: 0 } }

.status-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 0; border-top: 1px solid var(--line);
}
.status-row:first-of-type { border-top: 0; }
.status-row .name { font-weight: 600; letter-spacing: -0.01em; }
.status-row .sub { font-size: 0.85rem; color: var(--ink-soft); }
.tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.55rem; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
}
/* Active = soft green, with a bright point of light orbiting the edge */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tag.active {
  position: relative; isolation: isolate;
  color: color-mix(in srgb, var(--active) 58%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--active) 30%, var(--line));
  background: color-mix(in srgb, var(--active) 12%, transparent);
}
.tag.active::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--spin),
    transparent 0deg,
    transparent 288deg,
    color-mix(in srgb, var(--active) 80%, #FFFFFF) 330deg,
    #FFFFFF 346deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: spin-edge 3.4s linear infinite;
}
@keyframes spin-edge { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) { .tag.active::before { animation: none; } }

/* ---------- Section heading pattern ---------- */
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .h2 { max-width: 20ch; }

/* ---------- About ---------- */
.prose p { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.7; max-width: 60ch; }
.prose p + p { margin-top: 1.4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 6vw, 5rem); }
.about-block + .about-block { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.about-block .kicker {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
  position: sticky; top: 100px;
}
.topics { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 0; max-width: 60ch; }
.topics li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.topics li .num { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-ink); flex: none; width: 2ch; }

/* Who-I-am: prose beside a rotating photo deck */
.who-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 260px);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
}
.photo-deck {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  perspective: 1000px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.photo-card {
  position: absolute; inset: 0; margin: 0;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-panel);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 30px 55px -28px rgba(0,0,0,0.95);
  transform-origin: 50% 100%;
  backface-visibility: hidden;
}
.js .photo-card {
  transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.photo-card img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(1.02);
  transition: filter .55s ease;
}
/* The front shot warms to colour while you hover the deck */
.photo-deck:hover .photo-card[data-depth="0"] img { filter: grayscale(0) contrast(1.02); }
.photo-deck:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 18px; }

@media (max-width: 720px) {
  .who-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .photo-deck { max-width: 240px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-card img { transition: none; }
}

/* ---------- Currently Building ---------- */
.project {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-elevated);
  transition: border-color .25s ease, transform .25s ease;
}
.project + .project { margin-top: 1.5rem; }
.project:hover { border-color: var(--line-strong); }
.project-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.project-head .h3 { display: flex; align-items: center; gap: 0.75rem; }
.project .role { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.5rem; }
.project p { color: var(--ink-soft); max-width: 62ch; }
.project .stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.chip {
  font-size: 0.8rem; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.7rem;
}

/* numbers strip */
/* Single highlighted stat — the one honest metric, ticks up on its own */
.stat-solo {
  display: inline-block; text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(2.25rem, 6vw, 3.75rem);
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-elevated);
  min-width: min(20rem, 100%);
}
.stat-solo-val {
  font-size: clamp(2.8rem, 7vw, 4.25rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-solo-key {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 0.75rem;
}
/* Centres the counter when it leads a page */
.stat-solo-wrap { text-align: center; margin-bottom: clamp(2.75rem, 7vw, 4.5rem); }

/* ---------- Content ---------- */
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
/* triangle layout: one card centered on top, two beneath it */
.channel--top { grid-column: 1 / -1; width: 100%; max-width: calc(50% - 0.75rem); margin-inline: auto; }
.channel {
  border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 260px;
  text-decoration: none; color: inherit;
  background: var(--bg-panel);
  box-shadow: var(--shadow-elevated);
  transition: border-color .25s ease, transform .25s ease;
}
.channel:hover { border-color: var(--ink); transform: translateY(-3px); }
.channel .platform { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 1.15rem; }
.channel .platform svg { width: 24px; height: 24px; }
.channel .format { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.channel p { color: var(--ink-soft); }
.channel .go { margin-top: auto; color: var(--accent-ink); font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; }
.channel .go .arrow { transition: transform .2s ease; }
.channel:hover .go .arrow { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-panel); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 0.8rem 0.95rem; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); }
.form-status { font-size: 0.95rem; color: var(--accent-ink); min-height: 1.2em; font-weight: 500; }
/* Direct contact — email + Telegram: matched size, animated underline + arrow */
.direct-links { display: grid; gap: 0.85rem; justify-items: start; }
.contact-link {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .25s ease;
  padding-bottom: 3px;
}
.contact-link:hover { background-size: 100% 1.5px; }
.contact-link .arrow { color: var(--accent); font-weight: 500; transition: transform .2s ease; }
.contact-link:hover .arrow { transform: translateX(3px); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem); margin-top: var(--section); }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-grid .foot-brand { font-weight: 600; letter-spacing: -0.02em; font-size: 1.15rem; }
.footer-grid .foot-tag { color: var(--ink-soft); font-family: var(--serif); font-style: italic; margin-top: 0.3rem; }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--ink); }
.copyright { color: var(--ink-faint); font-size: 0.85rem; margin-top: 1.5rem; }

/* ---------- Reveal on scroll (rise-up + fade, with stagger) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
.js .reveal.in { opacity: 1; transform: none; }
/* slide-in variant (used by the hero status card) */
.js .reveal-x { transform: translateX(26px); }
.js .reveal-x.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-x { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-block .kicker { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .channel--top { grid-column: auto; max-width: none; margin-inline: 0; }

  .nav { display: flex; align-items: center; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: block;
    position: fixed; inset: 68px 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.25rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links {
    flex-direction: column; align-items: flex-start; gap: 0; justify-self: auto;
  }
  .nav-links a { width: 100%; padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:first-child { border-top: 0; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-social {
    justify-self: auto; margin-top: 0.9rem; gap: 0.4rem;
    padding-top: 1rem; border-top: 1px solid var(--line); width: 100%;
  }

  /* Homepage status card reads a touch smaller / tidier on phones */
  .hero .status-card { max-width: 360px; margin-inline: auto; padding: 1.15rem 1.25rem; }
  .hero .status-card .card-label { font-size: 0.66rem; }
  .hero .status-card .status-row { padding: 0.8rem 0; }
  .hero .status-card .status-row .name { font-size: 0.98rem; }
  .hero .status-card .status-row .sub { font-size: 0.8rem; }
}
