/* Tyler Bunn's portfolio. Plain HTML and CSS, no frameworks.
   Design: "Flight deck". Deep-space navy, a quiet starfield and a faint
   engineering grid drawn in pure CSS. Hairline panels with corner ticks,
   instrument cyan for action, amber for caution, coral for problems.
   Inter for reading, JetBrains Mono for telemetry-style labels.
   Text contrast on --bg: --fg 17:1, --muted 7.4:1, cyan/amber/coral text 9:1 or better.
   Primary button: near-black text on cyan, 12:1. */

:root {
  --bg: #050814;
  --bg-2: #0a0f1f;
  --surface: rgba(13, 19, 38, 0.78);
  --surface-2: #121a30;
  --line: #1b2540;
  --line-2: #2a3758;
  --fg: #e8edf8;
  --muted: #98a4bd;

  --cyan: #22d3ee;   --cyan-t: #7fe7f5;
  --amber: #f5a524;  --amber-t: #fcd27a;
  --coral: #fb6f7d;  --coral-t: #ffa9b1;
  --indigo: #6d7cff; --indigo-t: #aab3ff;
  --green: #34d399;  --green-t: #8ff0c6;
  --link: #8fe3ef;
  --ink: #04101a;

  --radius: 14px;
  --radius-sm: 10px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 4.5rem; }
body {
  margin: 0; min-height: 100vh; color: var(--fg); position: relative;
  background:
    radial-gradient(ellipse 70% 40% at 80% -10%, rgba(109, 124, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 35% at 10% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 40%);
  background-attachment: fixed;
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
}
/* Starfield: three layers of tiny radial dots, no images. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 72%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 57% 36%, rgba(200,230,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 83%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 22%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 90%, rgba(180,220,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 67% 58%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 44%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 92%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 50%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(2px 2px at 36% 8%, rgba(255,255,255,0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 62%, rgba(255,255,255,0.6) 50%, transparent 51%);
  background-size: 900px 700px, 700px 900px, 1100px 800px, 800px 1000px, 1000px 600px, 1200px 900px,
    650px 750px, 950px 850px, 850px 950px, 750px 650px, 1300px 1100px, 1050px 700px;
  opacity: 0.55;
}
/* Engineering grid, fading out below the first screen. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 227, 239, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 227, 239, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 100%);
}

.page { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem 4rem; position: relative; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(143, 227, 239, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Telemetry labels (mono, small caps, tracked) ---------- */
.hello, .pc-tags, .when, .chart-note, .legend, .hbar-label, .dots-label, .dots-value, .hbar-value,
.pill, .mini span, .intro + * .pc-tags, figcaption { font-family: var(--mono); }
.hello, .pc-tags, .when, .chart-note, .legend, .hbar-label, .dots-label, .mini span {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Nav ---------- */
nav.site {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 0 -1.25rem 2.2rem; padding: 0.85rem 1.25rem;
  background: rgba(5, 8, 20, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 100vmax rgba(5, 8, 20, 0.82), 0 1px 0 100vmax var(--line);
  clip-path: inset(0 -100vmax -1px);
}
nav.site .brand { font-family: var(--mono); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; }
nav.site .brand::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.nav-links { display: flex; gap: 1.2rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
nav.site .nav-links a { color: var(--muted); text-decoration: none; padding: 0.2rem 0; border-bottom: 1px solid transparent; }
nav.site .nav-links a:hover, nav.site .nav-links a[aria-current="page"] { color: var(--cyan-t); border-bottom-color: var(--cyan); }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 0.9rem; display: flex; align-items: center; gap: 0.75rem; }
.section > h2::after, h2.sub::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
h2.sub { margin-top: 2.8rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
strong { font-weight: 650; }
.muted { color: var(--muted); }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--cyan); }
.section { margin-top: 3.4rem; }
.intro { color: var(--muted); font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero { padding: 1.2rem 0 0.4rem; position: relative; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 1.2rem;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, conic-gradient(from 200deg, var(--cyan), var(--indigo), var(--amber), var(--cyan)) border-box;
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08), 0 0 40px -10px rgba(34, 211, 238, 0.5);
}
.hello { margin: 0 0 0.2rem; color: var(--cyan-t); display: inline-flex; align-items: center; gap: 0.6rem; }
.hello::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 3.6rem); margin: 0 0 0.8rem; letter-spacing: -0.04em;
  background: linear-gradient(100deg, #fff 35%, var(--cyan-t) 75%, var(--indigo-t)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.role { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.status { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.38rem 0.85rem 0.38rem 0.7rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--green-t);
  background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.45); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2), 0 0 10px var(--green); }

/* ---------- Tone helpers (semantic colors reused across cards) ---------- */
.teal   { --tone: var(--cyan);   --tone-t: var(--cyan-t);   --tone-bg: rgba(34, 211, 238, 0.1); }
.pink   { --tone: var(--coral);  --tone-t: var(--coral-t);  --tone-bg: rgba(251, 111, 125, 0.12); }
.violet { --tone: var(--indigo); --tone-t: var(--indigo-t); --tone-bg: rgba(109, 124, 255, 0.14); }
.amber  { --tone: var(--amber);  --tone-t: var(--amber-t);  --tone-bg: rgba(245, 165, 36, 0.12); }
.blue   { --tone: var(--indigo); --tone-t: var(--indigo-t); --tone-bg: rgba(109, 124, 255, 0.14); }

/* ---------- Panel: hairline card with corner ticks ---------- */
.project-card, .mini-card, .timeline li, ol.how li, .chart, details, .mini, .email-card, .result, .found li, .flow-step {
  background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.project-card, .chart {
  position: relative; border-radius: var(--radius);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 40%);
}
.project-card::before, .project-card::after, .chart::before, .chart::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--tone, var(--cyan)); border-style: solid; opacity: 0.9;
}
.project-card::before, .chart::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.project-card::after, .chart::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }
.chart { --tone: var(--cyan); }

/* ---------- Project cards ---------- */
.project-card { margin-top: 1.1rem; padding: 1.4rem 1.3rem 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.project-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 60%, var(--line));
  box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--tone) 55%, transparent), 0 0 0 1px rgba(255,255,255,0.02) inset; }
.pc-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.85rem; }
.pc-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex: none;
  color: var(--tone-t); background: var(--tone-bg); border: 1px solid color-mix(in srgb, var(--tone) 60%, transparent);
  box-shadow: 0 0 24px -8px var(--tone); }
.pc-icon .icon { width: 24px; height: 24px; }
.pc-icon.big { width: 58px; height: 58px; border-radius: 16px; }
.pc-icon.big .icon { width: 30px; height: 30px; }
.pc-tags { margin: 0.2rem 0 0; }

/* ---------- Problem -> Tool -> Result ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0.35rem; margin: 1rem 0 1.15rem; }
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
  padding: 0.9rem 0.4rem; border-radius: var(--radius-sm); background: var(--tone-bg);
  border-color: color-mix(in srgb, var(--tone) 45%, transparent); position: relative; }
.flow-step::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40%; height: 2px; transform: translateX(-50%); background: var(--tone); border-radius: 2px 2px 0 0; opacity: 0.8; }
.flow-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg); color: var(--tone-t);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tone) 60%, transparent), 0 0 16px -4px var(--tone); }
.flow-icon .icon { width: 20px; height: 20px; }
.flow-label { font-size: 0.82rem; font-weight: 600; line-height: 1.25; }
.flow-arrow { align-self: center; color: var(--cyan); opacity: 0.7; }
.flow-arrow .icon { width: 16px; height: 16px; }
.flow.small .flow-step { padding: 0.65rem 0.3rem; }
.flow.small .flow-icon { width: 32px; height: 32px; }
.flow.small .flow-label { font-size: 0.76rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chip { margin: 0; padding: 0.38rem 0.8rem; border-radius: 6px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.02em; color: var(--muted);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); }
.chip b { color: var(--cyan-t); font-weight: 700; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.4rem 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.65rem 1.2rem;
  border-radius: 8px; font-size: 0.92rem; font-weight: 650; text-decoration: none; line-height: 1.2; letter-spacing: 0.01em;
  color: var(--fg); background: rgba(255,255,255,0.03); border: 1px solid var(--line-2);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { border-color: var(--cyan); color: var(--cyan-t); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(34,211,238,0.25), 0 10px 30px -16px var(--cyan); }
.btn.primary { color: var(--ink); border-color: transparent; background: linear-gradient(100deg, var(--cyan-t), var(--cyan) 60%, #0ea5c9);
  box-shadow: 0 10px 30px -14px var(--cyan), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn.primary:hover { color: var(--ink); filter: brightness(1.06); box-shadow: 0 14px 36px -14px var(--cyan), inset 0 1px 0 rgba(255,255,255,0.45); }

/* ---------- Paseo mini cards ---------- */
.cards3 { display: grid; gap: 0.7rem; }
.mini-card { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease; }
.mini-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--tone); border-radius: 2px; box-shadow: 0 0 10px var(--tone); }
.mini-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tone) 55%, var(--line)); }
.mini-card .icon { color: var(--tone-t); width: 22px; height: 22px; margin-top: 0.15rem; }
.mini-card p { margin: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; position: relative; }
.timeline li { display: flex; gap: 0.9rem; margin: 0; padding: 0.95rem 1rem; border-radius: var(--radius-sm); }
.t-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; flex: none; color: var(--tone-t); background: var(--tone-bg);
  border: 1px solid color-mix(in srgb, var(--tone) 50%, transparent); }
.t-icon .icon { width: 18px; height: 18px; }
.timeline div { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.95rem; }
.timeline .when { color: var(--cyan-t); }

/* ---------- Project pages ---------- */
.page-head { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin: 0.4rem 0 0.6rem; }
.page-head h1 { margin: 0; }
.block { margin-top: 2.4rem; }
.block h2 { gap: 0.7rem; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; flex: none;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700; color: var(--ink); background: var(--cyan); box-shadow: 0 0 16px -4px var(--cyan); }
.block h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.block p { font-size: 1.08rem; }

ol.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
ol.how li { display: flex; gap: 0.95rem; align-items: center; margin: 0; padding: 1rem 1rem; border-radius: var(--radius-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
ol.how li:hover { border-color: color-mix(in srgb, var(--tone) 60%, var(--line)); transform: translateY(-2px); box-shadow: 0 16px 30px -20px var(--tone); }
.how-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; flex: none; color: var(--tone-t); background: var(--tone-bg);
  border: 1px solid color-mix(in srgb, var(--tone) 50%, transparent); }
.how-icon .icon { width: 22px; height: 22px; }
ol.how div { display: flex; flex-direction: column; }
ol.how span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Charts (same data, instrument styling) ---------- */
.chart { margin: 0 0 1rem; padding: 1.2rem 1.15rem 1rem; }
.chart figcaption { font-weight: 700; margin-bottom: 1.1rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg);
  display: flex; align-items: center; gap: 0.6rem; }
.chart figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hbar { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.hbar-track { display: grid; grid-template-columns: 1fr 5.2rem; align-items: center; gap: 0.6rem; }
.hbar-area { display: block; position: relative; height: 22px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 10%); }
.hbar-fill { display: block; height: 100%; min-width: 6px; border-radius: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 70%, #000), var(--tone)); box-shadow: 0 0 18px -4px var(--tone); }
.hbar-value { font-weight: 700; font-size: 1.05rem; white-space: nowrap; color: var(--tone-t); }
.chart-note { margin: 0.5rem 0 0 !important; font-size: 0.78rem !important; }
.hbar-row-plain { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; padding-top: 0.75rem; margin-top: 0.2rem; border-top: 1px dashed var(--line-2); --tone: var(--cyan); --tone-t: var(--cyan-t); }

.dots-row { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 0.8rem; align-items: center; margin-bottom: 1.1rem; }
.dots-label { grid-column: 1 / -1; }
.dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dots-value { font-weight: 700; white-space: nowrap; color: var(--cyan-t); font-size: 0.95rem; }
.dots-row.worse .dots-value { color: var(--coral-t); }
.d { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.d.ok { background: var(--cyan); box-shadow: 0 0 8px -1px var(--cyan); }
.d.bad { background: var(--coral); box-shadow: 0 0 8px -1px var(--coral); }
.d.bad.extra { background: transparent; border: 2px solid var(--coral); box-shadow: none; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0 !important; font-size: 0.78rem !important; }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend .d { width: 10px; height: 10px; }

/* ---------- Collapsible ---------- */
details { margin-top: 2.8rem; border-radius: var(--radius-sm); padding: 0 1.1rem; }
summary { cursor: pointer; list-style: none; padding: 0.95rem 0; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.2rem; }
details[open] summary::after { content: "\2212"; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 0.8rem; }
details ul { color: var(--muted); }

/* ---------- Footer ---------- */
footer { margin-top: 4.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
footer p { margin-bottom: 0.4rem; }
footer p:last-child { font-family: var(--mono); font-size: 0.76rem; }

/* ---------- Code pages ---------- */
pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; overflow-x: auto;
  color: #d6dcf0; font: 0.78rem/1.6 var(--mono); margin: 0.6rem 0 1.6rem; max-height: 34rem; }
code { font-family: var(--mono); }
pre + h2, ul + h2 { margin-top: 2rem; }

/* ---------- Demo ---------- */
.tabs { display: flex; gap: 0.3rem; margin: 1.4rem 0 1.2rem; padding: 0.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.tabs button { flex: 1 1 0; background: none; border: 0; border-radius: 7px; padding: 0.55rem 0.4rem; min-height: 42px;
  font: 650 0.84rem var(--sans); color: var(--muted); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: var(--ink); background: linear-gradient(100deg, var(--cyan-t), var(--cyan)); box-shadow: 0 6px 20px -10px var(--cyan); }
[role="tabpanel"] h2 { margin-top: 1.8rem; font-size: 1.1rem; }
[role="tabpanel"] h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.view-note { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.07); border: 1px solid rgba(34, 211, 238, 0.35); font-size: 0.95rem; }
.view-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); margin-top: 0.55rem; flex: none; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin: 1rem 0; }
.mini { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0.8rem; border-radius: var(--radius-sm); }
.mini b { font-family: var(--mono); font-size: 1.4rem; line-height: 1.1; color: var(--fg); }
.mini.warn b { color: var(--coral-t); }
.mini.ok b { color: var(--cyan-t); }
.found { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.found li { margin: 0; padding: 0.7rem 0.95rem; border-radius: 8px; border-left: 2px solid var(--cyan); }
.bar { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr 4.6rem; gap: 0.6rem 0.8rem; align-items: center; font-size: 0.9rem; margin: 0.6rem 0 1.4rem; }
.bar .track { height: 12px; border-radius: 3px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 10%); }
.bar .track span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #3845a8, var(--indigo)); border-radius: 3px; }
.bar .track.hi span { background: linear-gradient(90deg, #b3404d, var(--coral)); }
.bar .v { text-align: right; font-family: var(--mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.email-list { display: grid; gap: 0.55rem; margin: 0.8rem 0 1rem; }
.email-card { padding: 0.9rem 1rem; border-radius: var(--radius-sm); border-left: 2px solid var(--coral); }
.email-card.owned { border-left-color: var(--cyan); }
.email-top { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; }
.email-card .muted { font-size: 0.85rem; margin: 0.15rem 0 0.5rem; }
.owner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--muted); }
.pill { font-size: 0.7rem; letter-spacing: 0.04em; padding: 0.22rem 0.55rem; border-radius: 4px; white-space: nowrap; }
.pill.late { color: var(--coral-t); background: rgba(251, 111, 125, 0.12); border: 1px solid rgba(251, 111, 125, 0.35); }
.pill.ok { color: var(--cyan-t); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
select, textarea, button.plain { font: inherit; font-size: 0.9rem; color: var(--fg); background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 0.45rem 0.65rem; max-width: 100%; }
textarea { width: 100%; min-height: 6rem; line-height: 1.5; }
button.plain { cursor: pointer; min-height: 42px; }
button.plain:hover, select:hover { border-color: var(--cyan); }
.result { padding: 0.9rem 1.1rem; margin: 0.8rem 0 1.4rem; border-radius: var(--radius-sm); border-color: rgba(34, 211, 238, 0.45); }

/* ---------- Retired project page (one screen) ---------- */
.retired { padding: 1.5rem 0 0.5rem; }
.retired .lead { font-size: 1.15rem; color: var(--muted); max-width: 32rem; margin: 0.4rem 0 1.4rem; }
.small-link { margin-top: 1rem; font-size: 0.9rem; }

/* ---------- Hero orbit graphic (decorative, slow, pauses for reduced motion) ---------- */
.hero { overflow: visible; }
.orbit { position: absolute; top: -18px; right: -20px; width: 230px; height: 230px; pointer-events: none; opacity: 0.85; }
.orbit .ring { stroke: rgba(143, 227, 239, 0.28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.orbit .halo { stroke: rgba(34, 211, 238, 0.35); stroke-width: 1; stroke-dasharray: 3 6; }
.orbit .core { filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.8)); }
.orbit .sat.c1 { fill: var(--cyan); } .orbit .sat.c2 { fill: var(--amber); } .orbit .sat.c3 { fill: var(--coral); }
.orbit-spin { transform-origin: 0 0; animation: orbit 26s linear infinite; }
.orbit-spin.s1 { animation-duration: 44s; animation-direction: reverse; }
.orbit-spin.s2 { animation-duration: 70s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero > :not(.orbit) { position: relative; }

/* ---------- Hub quick links ---------- */
.hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; margin-top: 1.6rem; }
.hub-tile { display: flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0.7rem 0.85rem; border-radius: var(--radius-sm); text-decoration: none;
  font-weight: 650; font-size: 0.92rem; color: var(--fg); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.hub-tile .icon { width: 20px; height: 20px; color: var(--tone-t); }
.hub-tile:hover { transform: translateY(-2px); border-color: var(--tone); box-shadow: 0 14px 28px -18px var(--tone); }

/* ---------- Process strip: how both projects were made ---------- */
ol.process { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0; position: relative; }
ol.process li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 0.9rem; margin: 0; padding: 0 0 1.1rem; }
ol.process li:last-child { padding-bottom: 0; }
ol.process li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(var(--cyan), var(--indigo)); opacity: 0.5; }
ol.process li:last-child::before { display: none; }
.p-dot { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cyan-t);
  background: var(--bg); border: 1px solid rgba(34, 211, 238, 0.6); box-shadow: 0 0 18px -6px var(--cyan); }
.p-dot .icon { width: 20px; height: 20px; }
ol.process strong { align-self: end; }
ol.process li > span:last-child { color: var(--muted); font-size: 0.92rem; }

/* ---------- "A peek" mock panels ---------- */
.peek { position: relative; margin: 1.2rem 0 0; padding: 1.1rem 1rem 0.9rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.peek figcaption { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.6rem; }
.peek figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.peek-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0; border-top: 1px solid var(--line); }
.peek-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.peek-row strong { font-size: 0.95rem; }
.peek-row strong i { font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); font-weight: 500; margin-left: 0.3rem; }
.peek-row div span { font-size: 0.82rem; color: var(--muted); }
.act { flex: none; width: 6.3rem; text-align: center; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; padding: 0.35rem 0.3rem; border-radius: 6px; }
.a-call { color: var(--indigo-t); background: rgba(109, 124, 255, 0.14); border: 1px solid rgba(109, 124, 255, 0.5); }
.a-retry { color: var(--amber-t); background: rgba(245, 165, 36, 0.12); border: 1px solid rgba(245, 165, 36, 0.5); }
.a-refund { color: var(--coral-t); background: rgba(251, 111, 125, 0.12); border: 1px solid rgba(251, 111, 125, 0.5); }
.amt { font-family: var(--mono); font-weight: 700; font-size: 0.9rem; }
.own { flex: none; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--cyan-t); padding: 0.3rem 0.55rem; border-radius: 999px; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.45); }
.peek .chart-note { padding-top: 0.6rem; border-top: 1px solid var(--line); }

/* ---------- Next project link ---------- */
a.next { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: 2.8rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); text-decoration: none;
  color: var(--fg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s ease, transform 0.2s ease; }
a.next span { grid-column: 1; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
a.next strong { grid-column: 1; font-size: 1.1rem; }
a.next .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--cyan); width: 22px; height: 22px; transition: transform 0.2s ease; }
a.next:hover { border-color: var(--cyan); transform: translateY(-2px); }
a.next:hover .icon { transform: translateX(4px); }
a.next + details { margin-top: 1rem; }

/* ---------- 404 ---------- */
.lost { position: relative; min-height: 46vh; padding-top: 3rem; }
.lost .orbit { top: 0; right: 0; }
.lost h1 { margin: 0.3rem 0 0.6rem; }

/* ---------- Homepage project cards are whole links ---------- */
.project-grid { display: grid; gap: 0.9rem; margin-top: 1.1rem; }
a.project-card { display: block; margin-top: 0; text-decoration: none; color: var(--fg); padding: 1.2rem 1.2rem 1.1rem; }
a.project-card p { margin-bottom: 0.8rem; }
a.project-card .chips { margin-bottom: 0.9rem; }
.more { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; font-size: 0.92rem; color: var(--tone-t); }
.more .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
a.project-card:hover .more .icon { transform: translateX(4px); }
a.project-card .chip b { color: var(--tone-t); }
#work > .pc-tags { margin: -0.3rem 0 0.9rem; }

/* ---------- One accent per page, so pages don't blend together ---------- */
body { --accent: var(--cyan); --accent-t: var(--cyan-t); --accent-d: #0ea5c9; }
body.t-inbox { --accent: var(--green); --accent-t: var(--green-t); --accent-d: #12a373; }
body.t-billing { --accent: var(--indigo); --accent-t: var(--indigo-t); --accent-d: #5a67e8; }
body.t-site { --accent: var(--amber); --accent-t: var(--amber-t); --accent-d: #d98a0a; }
body.t-o2c { --accent: var(--indigo); --accent-t: var(--indigo-t); --accent-d: #5a67e8; }
.num { background: var(--accent); box-shadow: 0 0 16px -4px var(--accent); }
nav.site .brand::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
nav.site .nav-links a:hover, nav.site .nav-links a[aria-current="page"] { color: var(--accent-t); border-bottom-color: var(--accent); }
.btn:hover { border-color: var(--accent); color: var(--accent-t); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), 0 10px 30px -16px var(--accent); }
.btn.primary { background: linear-gradient(100deg, var(--accent-t), var(--accent) 60%, var(--accent-d)); box-shadow: 0 10px 30px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn.primary:hover { color: var(--ink); box-shadow: 0 14px 36px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,0.45); }
.chart { --tone: var(--accent); }
.chart figcaption::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
summary::after, li::marker { color: var(--accent); }
a.next .icon { color: var(--accent); } a.next:hover { border-color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--accent); }
.tabs button[aria-selected="true"] { background: linear-gradient(100deg, var(--accent-t), var(--accent)); box-shadow: 0 6px 20px -10px var(--accent); }

/* Background glow and pattern per page */
body.t-inbox { background:
    radial-gradient(ellipse 70% 40% at 85% -10%, rgba(52, 211, 153, 0.20), transparent 60%),
    radial-gradient(ellipse 60% 35% at 5% 0%, rgba(34, 211, 238, 0.10), transparent 60%),
    linear-gradient(180deg, #07141a 0%, var(--bg) 40%); background-attachment: fixed; }
body.t-inbox::after { background-image: repeating-radial-gradient(circle at 85% 0%, transparent 0 46px, rgba(143, 240, 198, 0.09) 46px 47px); background-size: auto; }
body.t-billing { background:
    radial-gradient(ellipse 70% 40% at 15% -10%, rgba(109, 124, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 30% at 100% 0%, rgba(251, 111, 125, 0.10), transparent 60%),
    linear-gradient(180deg, #0b0c22 0%, var(--bg) 40%); background-attachment: fixed; }
body.t-billing::after { background-image: radial-gradient(rgba(170, 179, 255, 0.22) 1.2px, transparent 1.6px); background-size: 26px 26px; }
body.t-site { background:
    radial-gradient(ellipse 70% 40% at 50% -15%, rgba(245, 165, 36, 0.16), transparent 60%),
    linear-gradient(180deg, #14100a 0%, var(--bg) 40%); background-attachment: fixed; }
body.t-site::after { background-image: linear-gradient(rgba(252, 210, 122, 0.08) 1px, transparent 1px); background-size: 100% 30px; }
body.t-o2c::after { background-image: none; }

/* ---------- Banner graphic on each project page ---------- */
.page-head { position: relative; }
.gfx { position: absolute; top: -6px; right: 0; width: 180px; height: 72px; pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.g-rings { stroke: rgba(143, 240, 198, 0.35); stroke-width: 1; }
.g-sweep { fill: rgba(52, 211, 153, 0.22); transform-origin: 226px 60px; animation: orbit 7s linear infinite; }
.g-blip.late { fill: var(--coral); } .g-blip.ok { fill: var(--green); }
.g-blip { animation: blip 3.5s ease-in-out infinite; } .g-blip.b2 { animation-delay: 1.2s; } .g-blip.ok { animation-delay: 2.2s; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.g-mail { stroke: rgba(143, 240, 198, 0.55); stroke-width: 1.6; } .g-dash { stroke-dasharray: 4 6; }
.g-person { stroke: var(--indigo-t); stroke-width: 2; }
.g-tag { fill: rgba(109, 124, 255, 0.16); stroke: rgba(109, 124, 255, 0.7); stroke-width: 1; }
.g-id { fill: var(--fg); font: 700 10px var(--mono); }
.g-neq { fill: var(--coral-t); font: 700 22px var(--mono); }
.g-grid circle { fill: rgba(170, 179, 255, 0.35); } .g-grid circle:nth-child(8) { fill: var(--coral); }
.g-long rect { fill: rgba(251, 111, 125, 0.4); }
.g-short rect { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(245, 165, 36, 0.6)); }
.g-arrow { stroke: var(--muted); stroke-width: 2; }
.g-win { stroke: rgba(252, 210, 122, 0.7); stroke-width: 1.6; } .g-windots circle { fill: rgba(252, 210, 122, 0.7); }
.gfx-lines .g-long rect { fill: rgba(252, 210, 122, 0.35); }
.g-globe { stroke: var(--amber); stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(245, 165, 36, 0.5)); }
.g-live { fill: var(--green); animation: blip 3s ease-in-out infinite; }
.readout .hbar-row-plain:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.readout .hbar-value { font-size: 1.3rem; }

/* ---------- Minimal pass: fewer boxes, more air ---------- */
.section { margin-top: 4rem; }
.block { margin-top: 2.8rem; }
.project-grid { gap: 0.8rem; }
a.project-card { position: relative; padding: 1.2rem 3rem 1.1rem 1.2rem; }
a.project-card::before, a.project-card::after { display: none; }
a.project-card p { color: var(--muted); }
a.project-card .chips { margin-bottom: 0; }
a.project-card .more { position: absolute; top: 1.35rem; right: 1.1rem; }
.cards3.plain { gap: 0; }
.cards3.plain .mini-card { background: none; border: 0; border-radius: 0; padding: 0.8rem 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid var(--line); }
.cards3.plain .mini-card:first-child { border-top: 0; padding-top: 0.2rem; }
.cards3.plain .mini-card::before { display: none; }
.cards3.plain .mini-card:hover { transform: none; }
.timeline.plain { gap: 0; }
.timeline.plain li { background: none; border: 0; border-radius: 0; padding: 0.9rem 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid var(--line); }
.timeline.plain li:first-child { border-top: 0; padding-top: 0.2rem; }
.page-head { margin-bottom: 0; }
body::after { opacity: 0.7; }

/* ============ Mission control, minimal ============ */
/* Quiet black ground; panels are hairlines, not filled boxes. */
:root { --bg: #04060b; --surface: transparent; }
body, body.t-inbox, body.t-billing, body.t-site { background:
    radial-gradient(ellipse 60% 30% at 80% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%),
    var(--bg); background-attachment: fixed; }
body::before { opacity: 0.3; }
body::after { opacity: 0.45; }
.chart, .peek, ol.how li, details, a.next, .result, .mini, .email-card, .found li, .tabs {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.chart { background-image: none; }
h2 { font-size: 1.2rem; }

/* Homepage: fixed identity panel on the left, one scroll on the right */
.t-home .page { max-width: 66rem; }
.mc { display: grid; gap: 2.5rem; }
.mc-side { position: relative; }
.mc-side .avatar { width: 72px; height: 72px; margin-bottom: 1rem; }
.mc-side h1 { font-size: clamp(2.6rem, 10vw, 3.4rem); letter-spacing: -0.045em; margin-bottom: 0.7rem;
  background: linear-gradient(100deg, #fff 40%, var(--cyan-t)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-side .role { font-size: 1.02rem; }
.mc-side .orbit { top: -24px; right: -16px; width: 190px; height: 190px; opacity: 0.75; }
.mc-side > :not(.orbit) { position: relative; }
.mc-nav { display: none; }
.mc-sec { padding-top: 0.5rem; margin-bottom: 3.6rem; scroll-margin-top: 5rem; }
.mc-label { display: flex; align-items: center; gap: 0.8rem; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.mc-label span { color: var(--cyan-t); }
.mc-label::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.mc-sec > .intro { margin-bottom: 0.6rem; }
.mrow { display: grid; gap: 0.5rem 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--fg); position: relative; transition: padding-left 0.2s ease; }
.mrow::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--tone); transition: width 0.3s ease; }
.mrow:hover::before { width: 100%; }
.mrow h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; }
.mrow h3 .icon { width: 18px; height: 18px; color: var(--tone-t); transition: transform 0.2s ease; }
.mrow:hover h3 .icon { transform: translateX(4px); }
.mrow p { color: var(--muted); margin: 0.25rem 0 0; font-size: 0.98rem; }
.read { display: flex; align-items: baseline; gap: 0.6rem; }
.read b { font-family: var(--mono); font-size: 1.25rem; color: var(--tone-t); white-space: nowrap; }
.read span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mc-sec .chart-note { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.mc-sec .timeline.plain li { padding: 1rem 0; }
.t-home footer { margin-top: 1rem; }

/* ---------- Bigger screens ---------- */
@media (min-width: 640px) {
  .mrow { grid-template-columns: 1fr auto; align-items: center; }
  .read { flex-direction: column; align-items: flex-end; gap: 0.1rem; }
  .read b { font-size: 1.4rem; }
  .cards3.plain { grid-template-columns: 1fr; }
  .cards3.plain .mini-card { flex-direction: row; padding-left: 0; }
  .gfx { width: 300px; height: 120px; top: -14px; }
  .hub { grid-template-columns: repeat(4, 1fr); }
  .orbit { width: 340px; height: 340px; top: -30px; right: -40px; opacity: 1; }
  ol.process { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
  ol.process li { grid-template-columns: 1fr; row-gap: 0.25rem; padding: 0; }
  ol.process li::before { left: 44px; right: -0.8rem; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); }
  .p-dot { grid-row: auto; margin-bottom: 0.5rem; }
  .peek { padding: 1.2rem 1.3rem 1rem; }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
  .mini-card { flex-direction: column; padding-left: 1.3rem; }
  ol.how { grid-template-columns: repeat(3, 1fr); }
  ol.how li { flex-direction: column; align-items: flex-start; }
  .flow-label { font-size: 0.9rem; }
  .flow.small .flow-label { font-size: 0.8rem; }
  .hero { padding-top: 2.2rem; }
}
@media (max-width: 420px) {
  .orbit { width: 190px; height: 190px; right: -16px; top: -10px; opacity: 0.7; }
  .act { width: 5.4rem; font-size: 0.66rem; }
  .peek.teal .peek-row { flex-wrap: wrap; row-gap: 0.4rem; }
  .peek.teal .peek-row > div { flex-basis: 100%; }
  .lost { padding-top: 11rem; }
  .lost .orbit { top: -6px; right: auto; left: -10px; }
  .peek-row { gap: 0.55rem; }
  .pill { font-size: 0.64rem; }
  body { font-size: 16px; }
  .page { padding: 0 1rem 3rem; }
  nav.site { margin: 0 -1rem 1.6rem; padding: 0.75rem 1rem; }
  .nav-links { gap: 0.9rem; font-size: 0.7rem; }
  h1 { font-size: 2rem; }
  .flow { gap: 0.25rem; }
  .flow-label, .flow.small .flow-label { font-size: 0.72rem; }
  .btn { flex: 1 1 100%; }
  .bar { grid-template-columns: 7rem 1fr 3.8rem; }
  .mini b { font-size: 1.15rem; }
  body::after { background-size: 48px 48px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { body { background: #fff; color: #000; } body::before, body::after, nav.site, .tabs { display: none; } }
@media (min-width: 940px) {
  .t-home nav.site .nav-links { display: none; }
  .mc { grid-template-columns: 20rem 1fr; gap: 5rem; align-items: start; }
  .mc-side { position: sticky; top: 5.5rem; padding-top: 0.5rem; }
  .mc-side .orbit { position: relative; display: block; top: 0; right: 0; left: -30px; width: 240px; height: 150px; margin: -10px 0 0.5rem; opacity: 0.9; }
  .mc-nav { display: grid; gap: 0.2rem; margin-top: 2.2rem; }
  .mc-nav a { display: flex; align-items: center; gap: 0.9rem; padding: 0.4rem 0; text-decoration: none; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .mc-nav a i { width: 28px; height: 1px; background: var(--line-2); transition: width 0.2s ease, background 0.2s ease; }
  .mc-nav a:hover, .mc-nav a.on { color: var(--fg); }
  .mc-nav a:hover i, .mc-nav a.on i { width: 56px; background: var(--cyan); }
}
.aside { font-size: 0.92rem !important; color: var(--muted); margin: 0.9rem 0 0; }
.block .actions { margin-top: 1rem; }
.chart-note.made { margin: 0 !important; }
.mrow.minor h3 { font-size: 1.05rem; color: var(--muted); }
.top-cta { margin-top: 1rem; }
.top-cta .btn { flex: 0 0 auto; min-height: 42px; padding: 0.5rem 1rem; }
@media (max-width: 639px) {
  .dots-row { grid-template-columns: 1fr; }
  .dots { flex-wrap: nowrap; gap: 4px; }
  .dots .d { width: 12px; height: 12px; flex: none; }
}
button.plain.go { color: var(--ink); font-weight: 650; border-color: transparent; background: linear-gradient(100deg, var(--accent-t), var(--accent)); }
button.plain.go:hover { filter: brightness(1.06); }
