/* morais.co V2.10 · "Deep Alpine" design (from Google Stitch), rebuilt as plain CSS.
   Dark first, full light theme, all fonts self-hosted. */
@font-face { font-family: "Space Grotesk"; font-weight: 300 700; font-style: normal; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-var.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-style: normal; font-display: swap; src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2"); }

:root {
  --bg: #090f0d; --bg-2: #0f1513; --surface: #171d1b; --surface-2: #1d2421; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --em: #10b981; --mint: #34d399; --gold: #e2c475; --glow: rgba(16,185,129,.16); --em-line: rgba(16,185,129,.35);
  --text: #e6edea; --muted: #8b9994; --faint: #8d9b96; --on-em: #04130d; --on-aurora: #d0dad6;
  --land: #22302b; --land-line: #3a4a44; --sea: #070b0a; --route-old: rgba(52,211,153,.45);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px rgba(0,0,0,.35);
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 14px; --max: 1180px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f6f4; --bg-2: #eaf0ed; --surface: #ffffff; --surface-2: #f6f9f7; --line: rgba(9,40,30,.10); --line-2: rgba(9,40,30,.18);
  --em: #047857; --mint: #03694a; --gold: #7a5a0c; --glow: rgba(16,185,129,.10); --em-line: rgba(4,120,87,.30);
  --text: #0f1f1a; --muted: #4c5e57; --faint: #5b6b65; --on-em: #ffffff; --on-aurora: #3c4d47;
  --land: #d6e3dc; --land-line: #aebfb6; --sea: #f4f8fa; --route-old: rgba(4,120,87,.40);
  --shadow: 0 1px 2px rgba(9,40,30,.05), 0 14px 36px rgba(9,40,30,.08);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; transition: background-color .3s, color .3s; }
.site-head, main, .site-foot, .preview-bar { position: relative; z-index: 1; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--em); color: var(--on-em); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--em); display: grid; place-items: center; font: 700 18px/1 var(--sans); color: var(--mint); position: relative; box-shadow: 0 0 18px var(--glow); }
.mark i { position: absolute; left: 11px; bottom: 7px; width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-bottom: 5px solid var(--gold); }
.brand b { display: block; font: 600 15px/1.1 var(--mono); letter-spacing: .06em; }
.brand small { display: block; font: 400 10.5px/1.3 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a { font: 500 13px/1 var(--mono); text-decoration: none; color: var(--muted); padding: 9px 12px; border-radius: 8px; letter-spacing: .02em; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--on-em); background: var(--em); }
.theme { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.theme:hover { border-color: var(--em-line); color: var(--mint); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme .sun { display: none; } :root[data-theme="light"] .theme .sun { display: block; } :root[data-theme="light"] .theme .moon { display: none; }

/* ---------- bits ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); border: 1px solid var(--em-line); padding: 9px 14px; border-radius: 999px; background: color-mix(in srgb, var(--em) 7%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 0 var(--em-line); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--em-line); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.label { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--mint); }
.gold { color: var(--gold); }
.chip { display: inline-block; font: 400 12.5px/1 var(--mono); color: var(--mint); border: 1px solid var(--em-line); padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--em) 6%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-decoration: none; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--em-line); color: var(--mint); background: transparent; }
.btn:hover { background: color-mix(in srgb, var(--em) 10%, transparent); }
.btn.solid { background: var(--em); color: var(--on-em); border-color: var(--em); }
.btn.solid:hover { filter: brightness(1.08); }
.arrow { transition: transform .2s; } a:hover .arrow { transform: translateX(3px); }
section { padding-block: clamp(40px, 7vw, 72px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.section-head h2 { font: 600 clamp(24px, 3.4vw, 34px)/1.15 var(--sans); letter-spacing: -.01em; margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 460px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 88px); padding-bottom: 20px; }
.hero h1 { font: 700 clamp(40px, 7.2vw, 78px)/1.02 var(--sans); letter-spacing: -.03em; margin-top: 26px; }
.hero h1 .accent { display: block; background: linear-gradient(90deg, var(--em), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--muted); max-width: none; margin-top: 22px; line-height: 1.6; }
.hero .lead b { color: var(--text); font-weight: 500; }

/* ---------- two people ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; transition: border-color .25s, transform .25s; }
.person::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--em), var(--mint), transparent); }
.person::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.person:hover { border-color: var(--em-line); transform: translateY(-2px); }
.person .who { display: flex; gap: 16px; align-items: center; }
.mono-badge { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--em-line); background: var(--bg-2); display: grid; place-items: center; font: 600 18px/1 var(--mono); color: var(--mint); flex: none; }
.person h3 { font: 600 26px/1.1 var(--sans); letter-spacing: -.01em; }
.person .host { font: 400 13px/1.4 var(--mono); color: var(--mint); text-decoration: none; }
.person p { color: var(--muted); }
.person .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.person .preview-link { font: 400 12px/1 var(--mono); color: var(--muted); text-decoration: none; align-self: center; margin-left: 4px; border-bottom: 1px dashed var(--line-2); padding-bottom: 3px; }
.person .preview-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- photo placeholders ---------- */
.ph { position: relative; border-radius: 12px; border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--bg-2) 14px 28px); display: grid; place-items: center; color: var(--faint); overflow: hidden; aspect-ratio: 16 / 10; }
.ph span { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--line); padding: 7px 11px; border-radius: 8px; text-align: center; max-width: 80%; }
.ph svg { position: absolute; width: 34px; height: 34px; top: 14px; left: 14px; stroke: var(--faint); fill: none; stroke-width: 1.5; }

/* ---------- status strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0; padding: 0; overflow: hidden; }
.strip > div { padding: 22px 24px; border-right: 1px solid var(--line); min-width: 0; }
.strip .v { font: 500 17px/1.3 var(--sans); margin-top: 8px; }
.strip .s { font: 400 12px/1.4 var(--mono); color: var(--mint); margin-top: 5px; }
.strip .go { display: flex; align-items: center; border-right: 0; }

/* ---------- map ---------- */
.map-card { overflow: hidden; }
.map-card .map-head { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.map-card h3 { font: 600 19px/1.2 var(--sans); }
.map-card .map-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.map { display: block; width: 100%; height: auto; background: var(--sea); }
.map .land path { fill: var(--land); stroke: var(--land-line); stroke-width: .8; vector-effect: non-scaling-stroke; }
.map .route { fill: none; stroke: var(--route-old); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map .route.active { stroke: var(--em); stroke-width: 3; filter: drop-shadow(0 0 4px var(--glow)); }
.map .stop { fill: var(--surface); stroke: var(--mint); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map .here-ring { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.map .here { fill: var(--gold); }
.map-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 24px; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); color: var(--muted); }
.legend-line { display: inline-block; width: 22px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; background: var(--route-old); }
.legend-line.active { background: var(--em); }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin-right: 8px; background: var(--gold); }

/* ---------- telemetry ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kpi { padding: 20px 22px; }
.kpi .v { font: 600 clamp(24px, 3.2vw, 34px)/1.1 var(--sans); margin-top: 12px; letter-spacing: -.01em; }
.kpi .v small { font: 400 13px var(--mono); color: var(--muted); margin-left: 4px; }
.kpi .s { font: 400 12.5px/1.45 var(--mono); color: var(--mint); margin-top: 8px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.list { padding: 8px 0; }
.list li { list-style: none; display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); align-items: start; }
.list li:first-child { border-top: 0; }
.list .pin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--mint); margin-top: 7px; }
.list .pin.on { background: var(--em); border-color: var(--em); box-shadow: 0 0 0 4px var(--glow); }
.list b { font-weight: 500; }
.list .meta { font: 400 12px/1.5 var(--mono); color: var(--muted); }
.list .num { font: 500 12.5px/1.4 var(--mono); color: var(--mint); text-align: right; white-space: nowrap; }
.panel-title { padding: 20px 22px 6px; }
.panel-title h3 { font: 600 19px/1.2 var(--sans); margin-top: 8px; }
.rig { padding: 22px; display: grid; gap: 14px; }
.rig h3 { font: 600 19px/1.25 var(--sans); }
.rig dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14.5px; }
.rig dt { font: 400 12px/1.8 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.note { font: 400 12.5px/1.6 var(--mono); color: var(--faint); margin-top: 18px; }
.note a { color: var(--muted); }
.offline { padding: 16px 20px; border: 1px dashed var(--gold); color: var(--gold); border-radius: 10px; font: 400 13px/1.5 var(--mono); }

/* ---------- preview pages ---------- */
.preview-bar { background: color-mix(in srgb, var(--gold) 14%, var(--bg)); border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: var(--text); }
.preview-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; padding: 10px 0; font: 400 13px/1.5 var(--mono); }
.preview-bar b { color: var(--gold); font-weight: 500; letter-spacing: .08em; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.split .ph { aspect-ratio: 4 / 5; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font: 400 13px/1.5 var(--mono); color: var(--muted); }
.facts b { color: var(--text); font-weight: 500; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.tile:hover { border-color: var(--em-line); transform: translateY(-2px); }
.tile h3 { font: 600 19px/1.25 var(--sans); }
.tile p { color: var(--muted); font-size: 15px; }
.tile .foot { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font: 400 12px/1.4 var(--mono); color: var(--muted); padding-top: 8px; }
.tile .foot .accent { white-space: nowrap; }
.post .ph { aspect-ratio: 16 / 9; margin-bottom: 4px; }
.timeline { position: relative; padding-left: 26px; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--em-line); }
.timeline li { list-style: none; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--em); }
.timeline .yr { font: 500 12px/1.4 var(--mono); color: var(--mint); letter-spacing: .08em; }
.timeline b { display: block; font-weight: 600; font-size: 17px; margin-top: 2px; }
.timeline p { color: var(--muted); font-size: 15px; }
.term { overflow: hidden; }
.term .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--muted); }
.term .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.term pre { padding: 18px 20px 22px; font: 400 13.5px/1.75 var(--mono); color: var(--text); white-space: pre-wrap; word-break: break-word; }
.term .p { color: var(--mint); } .term .c { color: var(--muted); } .term .k { color: var(--gold); }
.term a { color: var(--mint); }
.cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--mint); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
blockquote.verse { padding: clamp(24px, 4vw, 40px); border-left: 3px solid var(--gold); }
blockquote.verse p { font: 400 clamp(19px, 2.4vw, 25px)/1.5 var(--sans); }
blockquote.verse cite { display: block; margin-top: 14px; font: 400 13px var(--mono); color: var(--gold); font-style: normal; letter-spacing: .06em; }
.cta { padding: clamp(24px, 4vw, 36px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cta h2 { font: 600 clamp(20px, 2.6vw, 26px)/1.2 var(--sans); }
.cta p { color: var(--muted); margin-top: 6px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding-block: 34px 42px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 26px; }
.site-foot p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 360px; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; font: 400 13px/1.5 var(--mono); }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--mint); }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font: 400 12px var(--mono); color: var(--faint); padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-2, .split { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div { border-bottom: 1px solid var(--line); }
  .strip .go { grid-column: 1 / -1; border-bottom: 0; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split .ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .people, .cols-3, .kpis { grid-template-columns: 1fr; }
  .nav a { padding: 9px 9px; font-size: 12px; }
  .brand small { display: none; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person { padding: 24px; }
}
@media (max-width: 480px) {
  .strip, .cols-4 { grid-template-columns: 1fr; }
  .nav .opt { display: none; }
  .list li { grid-template-columns: 14px 1fr; }
  .list .num { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- V2.1.0: aurora background (two implementations to compare) ---------- */
/* ?aurora=css   : blurred emerald gradients drifting slowly (cheap, default)
   ?aurora=webgl : port of Stitch's WebGL shader, half resolution, 30 fps cap, pauses when hidden */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .85; }
.aurora canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.aurora .grid { position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(to right, rgba(16,185,129,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(16,185,129,.035) 1px, transparent 1px); background-size: 32px 32px; }
:root[data-theme="light"] .aurora .grid { background-image: linear-gradient(to right, rgba(6,78,59,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(6,78,59,.045) 1px, transparent 1px); }
.aurora .b { position: absolute; border-radius: 50%; will-change: transform; }
.aurora .b1 { width: 95vmax; height: 70vmax; left: 50%; top: -18vmax; margin-left: -47.5vmax; background: radial-gradient(closest-side, rgba(16,185,129,.55), rgba(16,185,129,.18) 55%, transparent); animation: drift1 38s ease-in-out infinite alternate; }
.aurora .b2 { width: 70vmax; height: 55vmax; left: 8%; top: -8vmax; background: radial-gradient(closest-side, rgba(20,184,166,.42), transparent 70%); animation: drift2 46s ease-in-out infinite alternate; }
.aurora .b3 { width: 55vmax; height: 45vmax; right: 2%; top: 4vmax; background: radial-gradient(closest-side, rgba(110,231,183,.30), transparent 70%); animation: drift3 52s ease-in-out infinite alternate; }
.aurora .vig { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 30%, transparent 40%, var(--bg) 100%); }
@keyframes drift1 { 0% { transform: translate(-4vmax, 0) scale(1); } 50% { transform: translate(5vmax, 3vmax) scale(1.08); } 100% { transform: translate(-2vmax, 5vmax) scale(.96); } }
@keyframes drift2 { 0% { transform: translate(0, 0) rotate(0); } 100% { transform: translate(12vmax, 6vmax) rotate(20deg); } }
@keyframes drift3 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-14vmax, 8vmax) scale(1.15); } }
:root[data-theme="light"] .aurora { opacity: .55; }
:root[data-theme="light"] .aurora .b1 { background: radial-gradient(closest-side, rgba(16,165,122,.30), rgba(16,165,122,.08) 55%, transparent); }
:root[data-theme="light"] .aurora .b2 { background: radial-gradient(closest-side, rgba(20,184,166,.22), transparent 70%); }
:root[data-theme="light"] .aurora .b3 { background: radial-gradient(closest-side, rgba(52,211,153,.20), transparent 70%); }
:root[data-aurora="webgl"] .aurora canvas { display: block; }
/* the raw shader is bright enough to wash out text; keep it behind a scrim */
:root[data-aurora="webgl"] .aurora { opacity: .5; }
:root[data-aurora="webgl"][data-theme="light"] .aurora { opacity: .45; }
:root[data-aurora="webgl"] .aurora .b, :root[data-aurora="webgl"] .aurora .vig { display: none; }

/* glass cards over the aurora */
.card { background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* header status pill */
.status-pill { display: none; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); padding: 9px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.status-pill .sep { color: var(--faint); }
.status-pill .accent { color: var(--mint); }
.status-pill:hover { border-color: var(--em-line); }
.site-head .status-pill { margin-right: auto; }
@media (min-width: 1100px) { .status-pill { display: inline-flex; } }

/* labelled theme toggle */
.theme { width: auto; padding: 0 12px; gap: 8px; display: inline-flex; align-items: center; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; }
.theme .tl { min-width: 3.6em; text-align: left; }
.hello { font: 600 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--em); color: var(--on-em); padding: 13px 16px; border-radius: 10px; text-decoration: none; box-shadow: 0 0 22px var(--glow); }
.hello:hover { filter: brightness(1.08); }
@media (max-width: 760px) { .theme .tl { display: none; } .theme { padding: 0; width: 40px; justify-content: center; } }
@media (max-width: 480px) { .hello { padding: 12px 11px; font-size: 11px; } }

/* person cards, Stitch-style */
.person .who { align-items: flex-start; }
.person .who > div { flex: 1; min-width: 0; }
.person .name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.person .tag { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); border: 1px solid var(--em-line); padding: 6px 9px; border-radius: 6px; }
.card-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--em-line); display: grid; place-items: center; color: var(--mint); text-decoration: none; flex: none; background: color-mix(in srgb, var(--em) 6%, transparent); transition: background .2s, transform .2s; }
.card-go:hover { background: color-mix(in srgb, var(--em) 16%, transparent); transform: translateX(2px); }
.person hr { border: 0; border-top: 1px solid var(--line); }
.enter { font: 500 13.5px/1 var(--mono); color: var(--mint); text-decoration: none; letter-spacing: .02em; }
.enter:hover { text-decoration: underline; text-underline-offset: 4px; }

/* say hello */
.hello-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .hello-grid { grid-template-columns: 1fr; } }
/* header items keep their size on narrow phones */
.site-head .theme, .site-head .hello, .site-head .mark { flex: none; }
.hello { white-space: nowrap; }
@media (max-width: 420px) { .site-head .wrap { gap: 10px; } .brand b { font-size: 13px; } .nav a { padding: 8px 7px; } }
@media (max-width: 560px) { .site-head .hello { display: none; } }

/* ---------- V2.8: contrast for Le's eyes (WCAG AA, measured in headless Chromium over the aurora) ----------
   Text that sits directly on the aurora uses --on-aurora; text inside cards keeps --muted.
   Light theme accents darkened: the old --mint #059669 was 3.8:1 on white. */
.hero .lead, .facts, .section-head p, .timeline p, .note { color: var(--on-aurora); }
.timeline .yr { color: var(--on-aurora); }
.card { background: color-mix(in srgb, var(--surface) 88%, transparent); }
.site-foot { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* V2.9.1: with the aurora off (no data-webgl-src on <html>) cards and footer sit on a flat colour,
   so their backdrop blur costs GPU time for nothing. The sticky header keeps its blur: content scrolls under it. */
html:not([data-webgl-src]) .card, html:not([data-webgl-src]) .site-foot { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- V2.10: RogerLe.com orange (config 'accent' => 'orange'), chosen by Roger and Le 2026-10-03 ----------
   Dark uses the brand #e67e22 itself for fills, borders, route and headline (5.8 to 6.9:1 on the
   backgrounds) with near-black text on orange buttons (white on #e67e22 is only 2.85:1).
   Light cannot use #e67e22 as text (2.6:1 on the page), so it gets a deeper burnt orange.
   Neutrals move from green-tinted to warm. All text passes WCAG AA; the faint past-route line on the map
   is below 3:1 against land, as it was in green (decorative, the map has a text label).
   Both blocks set the same tokens: the light one must win over the dark one (higher specificity). */
:root[data-accent="orange"] {
  --bg: #0e0c0a; --bg-2: #15120f; --surface: #1c1814; --surface-2: #231e19;
  --em: #e67e22; --mint: #f2a65f; --gold: #f1d39b; --glow: rgba(230,126,34,.16); --em-line: rgba(230,126,34,.38);
  --text: #ede9e5; --muted: #a39a92; --faint: #a0978f; --on-em: #1a0d02; --on-aurora: #ddd6cf;
  --land: #2a2520; --land-line: #463e36; --sea: #0a0807; --route-old: rgba(242,166,95,.45);
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px rgba(0,0,0,.35);
}
:root[data-accent="orange"][data-theme="light"] {
  --bg: #f7f4f1; --bg-2: #efe9e3; --surface: #ffffff; --surface-2: #faf7f4;
  --em: #b85a10; --mint: #9a4a0a; --gold: #6e510a; --glow: rgba(230,126,34,.12); --em-line: rgba(184,90,16,.32);
  --text: #1f1813; --muted: #5e544c; --faint: #675c53; --on-em: #ffffff; --on-aurora: #4a4038;
  --land: #e8ddd2; --land-line: #c4b4a4; --sea: #faf8f6; --route-old: rgba(184,90,16,.42);
  --line: rgba(40,25,10,.10); --line-2: rgba(40,25,10,.18);
  --shadow: 0 1px 2px rgba(40,25,10,.05), 0 14px 36px rgba(40,25,10,.08);
}
:root[data-accent="orange"][data-theme="light"] .btn.solid:hover, :root[data-accent="orange"][data-theme="light"] .hello:hover { filter: brightness(.92); } /* keeps white text above 4.5:1 */
