/*
 * EdgeVenture public site (2026-11 refresh; the ink-and-amber look of 2026-11-10;
 * the hacker and street pass of 2026-11-11: terminal green as the second colour,
 * the prompt skull, the slap, terminal panels, stencil numbers, the shop).
 *
 * Loaded by includes/public-nav.php, so only pages with the public nav get it:
 * the customer portal and the admin manager never load this file. Every token
 * override below is scoped to body.ev-site for the same reason: app.css keeps
 * the indigo theme for the portal and the manager, the public pages get
 * EdgeVenture's own: Bricolage Grotesque and Instrument Sans (the faces Sofa
 * wears too), warm paper and ink, one amber accent, grain, tinted light.
 */

/* ─── Tokens (public pages only) ──────────────────────────────── */
body.ev-site {
    --ev-display: 'Bricolage Grotesque', 'Playfair Display', Georgia, serif;
    --ev-sans: 'Instrument Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --ev-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --ev-wrap: 1280px;
    --ev-gutter: 16px;
    --ev-section: clamp(72px, 10vw, 136px);

    /* paper: the light mode, for those who ask for it */
    --bg: #EDEFF6;
    --surface: #F7F8FC;
    --surface-2: #E2E5F0;
    --surface-3: #D6DAE8;
    --text: #0A0E1A;
    --text-secondary: #3A4055;
    --text-muted: #6B7188;
    --text-subtle: #9AA0B5;
    --border: #CDD2E2;
    --border-subtle: #DCE0EC;
    --border-strong: #B5BBD0;

    --accent: #D99A1E;
    --accent-dark: #B8862B;
    --accent-dim: rgba(217, 154, 30, 0.14);
    --primary: #8A5E12;
    --primary-light: #A8761C;
    --primary-dark: #6E4A0C;
    --primary-dim: rgba(138, 94, 18, 0.10);
    --grad-primary: linear-gradient(135deg, #0A0E1A 0%, #1A2033 100%);
    --ev-heat: #C0392B;
    --ev-cyan: #1A8EA0;

    --ev-gold-text: #8A5E12;
    --ev-ink: #0A0E1A;
    --ev-paper: #EDEFF6;
    --ev-ok: #1F7A4D;
    --ev-warn: #B0661A;
    --ev-info: #1A8EA0;
    --ev-open: #6B4FBB;
    --ev-card: var(--surface);
    --ev-line: var(--border);
    --ev-glow: rgba(217, 154, 30, 0.22);
    --ev-shadow: 0 1px 2px rgba(10, 14, 26, 0.06), 0 14px 34px -14px rgba(10, 14, 26, 0.25);
    --ev-shadow-lg: 0 2px 6px rgba(10, 14, 26, 0.07), 0 36px 72px -26px rgba(10, 14, 26, 0.4);
    --shadow-pri: 0 10px 28px -10px rgba(10, 14, 26, 0.45);

    background: var(--bg);
    color: var(--text);
    font-family: var(--ev-sans);
    font-feature-settings: 'ss01', 'cv11';
}
[data-theme="dark"] body.ev-site {
    --bg: #07080E;
    --surface: #0E1018;
    --surface-2: #121521;
    --surface-3: #1A1E2C;
    --text: #EDEFF6;
    --text-secondary: #B6BACB;
    --text-muted: #7D8299;
    --text-subtle: #545A70;
    --border: #232839;
    --border-subtle: #1A1E2C;
    --border-strong: #343A50;

    --accent: #F4B740;
    --accent-dark: #D99A1E;
    --accent-dim: rgba(244, 183, 64, 0.14);
    --primary: #FFC85C;
    --primary-light: #FFD98A;
    --primary-dark: #F4B740;
    --primary-dim: rgba(244, 183, 64, 0.12);
    --grad-primary: linear-gradient(135deg, #FFC85C 0%, #F4B740 100%);
    --ev-heat: #FF5A52;
    --ev-cyan: #3CC8D8;

    --ev-gold-text: #F4B740;
    --ev-ink: #07080E;
    --ev-paper: #EDEFF6;
    --ev-ok: #39FF88;
    --ev-warn: #FFB454;
    --ev-info: #3CC8D8;
    --ev-open: #C792FF;
    --ev-card: #0C0E16;
    --ev-line: #20253A;
    --ev-glow: rgba(244, 183, 64, 0.20);
    --ev-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 40px -18px rgba(0, 0, 0, 0.85);
    --ev-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.55), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
    --shadow-pri: 0 10px 28px -10px rgba(244, 183, 64, 0.5);
}
@media (min-width: 640px) { body.ev-site { --ev-gutter: 24px; } }
@media (min-width: 1024px) { body.ev-site { --ev-gutter: 36px; } }

/* ─── Base ────────────────────────────────────────────────────── */
body.ev-site { background-image: none; -webkit-font-smoothing: antialiased; }
body.ev-site ::selection { background: var(--accent); color: var(--ev-ink); }
[data-theme="dark"] body.ev-site { color-scheme: dark; }
body.ev-site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
body.ev-site h1, body.ev-site h2, body.ev-site h3, body.ev-site h4, body.ev-site .font-display,
body.ev-site .ev-display { font-family: var(--ev-display); font-variation-settings: 'opsz' 96; }
body.ev-site h3, body.ev-site h4 { font-variation-settings: 'opsz' 40; }
body.ev-site .font-display { letter-spacing: -0.025em; }
body.ev-site .ev-mono, body.ev-site code, body.ev-site kbd, body.ev-site pre { font-family: var(--ev-mono); }
body.ev-site .text-primary { color: var(--primary) !important; }
body.ev-site .bg-primary { background-color: var(--ev-ink) !important; }
[data-theme="dark"] body.ev-site .bg-primary { background-color: var(--accent) !important; }
body.ev-site .border-primary { border-color: var(--accent) !important; }
body.ev-site .ring-primary { --tw-ring-color: var(--accent) !important; }

/* Grain over everything, light and still: the digital flatness breaker. */
body.ev-site::before {
    content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none;
    opacity: 0.06; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] body.ev-site::before { opacity: 0.13; mix-blend-mode: screen; }
[data-theme="dark"] .ev-section--tint::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px); }
[data-theme="dark"] .ev-section--tint > * { position: relative; z-index: 1; }

/* Buttons: pills, ink on paper, amber in the dark */
body.ev-site .btn { font-family: var(--ev-sans); font-weight: 600; letter-spacing: 0; border-radius: 999px; }
body.ev-site .btn-primary { background: var(--ev-ink); color: var(--ev-paper); border: 1px solid var(--ev-ink); box-shadow: var(--shadow-pri); }
body.ev-site .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--ev-ink); box-shadow: 0 12px 32px -10px var(--ev-glow); }
[data-theme="dark"] body.ev-site .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ev-ink); }
[data-theme="dark"] body.ev-site .btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); }
body.ev-site .btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border-strong); box-shadow: none; }
body.ev-site .btn-secondary:hover { border-color: var(--text); background: var(--surface); color: var(--text); box-shadow: none; }
body.ev-site .btn:focus-visible { box-shadow: 0 0 0 3px var(--ev-glow); }

/* ─── Layout primitives ───────────────────────────────────────── */
.ev-wrap { max-width: var(--ev-wrap); margin: 0 auto; padding-left: var(--ev-gutter); padding-right: var(--ev-gutter); }
.ev-section { padding: var(--ev-section) 0 calc(var(--ev-section) + 12px); counter-increment: evsec; }
.ev-section--tint { background: var(--surface-2); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); position: relative; }
[data-theme="dark"] .ev-section--tint { background: #0E0D10; }
main#main-content { counter-reset: evsec; }

.ev-display {
    font-family: var(--ev-display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.96;
    color: var(--text); text-wrap: balance; font-variation-settings: 'opsz' 96;
}
.ev-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--ev-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ev-gold-text);
}
.ev-eyebrow::before { content: '// ' counter(evsec, decimal-leading-zero); font-weight: 500; opacity: 0.8; }
.ev-page-hero .ev-eyebrow::before, .ev-hero .ev-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.ev-lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-secondary); max-width: 58ch; text-wrap: pretty; }
.ev-muted { color: var(--text-muted); }
.ev-mono { font-family: var(--ev-mono); font-size: 0.8125rem; letter-spacing: 0; }
.ev-ico { flex-shrink: 0; transition: transform 240ms var(--ease-smooth); }

.ev-section-head { max-width: 780px; margin-bottom: clamp(40px, 5.5vw, 64px); }
.ev-section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 16px; }
.ev-section-head p { margin-top: 18px; color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.65; max-width: 60ch; }

/* Older public pages' eyebrow labels, restyled to match */
body.ev-site .text-sm.font-semibold.text-primary.uppercase.tracking-wider {
    display: inline-flex; align-items: center; gap: 12px; font-family: var(--ev-mono);
    font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ev-gold-text) !important;
}
body.ev-site .text-sm.font-semibold.text-primary.uppercase.tracking-wider::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }

/* ─── Links ───────────────────────────────────────────────────── */
.ev-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 0.9375rem; color: var(--text);
    text-decoration: none; border-bottom: 1px solid var(--border-strong);
    transition: color 160ms ease, border-color 160ms ease;
}
.ev-link:hover { color: var(--primary); border-bottom-color: var(--accent); }
.ev-link:hover .ev-ico { transform: translate(2px, 0); }
.ev-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ev-actions .btn { min-height: 48px; padding-left: 1.6rem; padding-right: 1.6rem; }
@media (max-width: 480px) { .ev-actions .btn { width: 100%; } }

/* ─── Status chips: a square dot and mono text ────────────────── */
.ev-statuses { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ev-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--ev-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em;
    color: var(--text-secondary); white-space: nowrap;
}
.ev-status-dot { width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.ev-status--live .ev-status-dot, .ev-status--production .ev-status-dot, .ev-status--store .ev-status-dot,
.ev-status--demo .ev-status-dot { background: var(--ev-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-ok) 18%, transparent); }
.ev-status--beta .ev-status-dot { background: var(--ev-warn); }
.ev-status--review .ev-status-dot { background: var(--ev-info); }
.ev-status--open .ev-status-dot, .ev-status--source .ev-status-dot, .ev-status--available .ev-status-dot { background: var(--ev-open); }
.ev-status--new .ev-status-dot { background: var(--accent); }
.ev-status--untested .ev-status-dot { background: var(--text-muted); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-muted) 18%, transparent); }
@media (max-width: 640px) { .ev-page-hero .ev-status, .ev-statuses--wrap .ev-status { white-space: normal; } }

/* ─── Screenshot frames ───────────────────────────────────────── */
.ev-shot {
    margin: 0; position: relative; overflow: hidden;
    border-radius: 14px; background: #0D0C10;
    border: 1px solid rgba(21, 19, 15, 0.12);
    box-shadow: var(--ev-shadow-lg);
}
[data-theme="dark"] .ev-shot { border-color: rgba(255, 255, 255, 0.08); }
.ev-shot img { display: block; width: 100%; height: auto; }
.ev-shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #17161B; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ev-shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #3A3842; }
.ev-shot-bar em { margin-left: 10px; font-style: normal; font-family: var(--ev-mono); font-size: 11px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-shot--tv { border-radius: 10px; border: 8px solid #0E0D12; outline: 1px solid rgba(0, 0, 0, 0.3); }
[data-theme="dark"] .ev-shot--tv { border-color: #050507; outline-color: rgba(255, 255, 255, 0.08); }
.ev-shot--phone { border-radius: 28px; border: 7px solid #0E0D12; max-width: 220px; }

/* ─── Home hero ───────────────────────────────────────────────── */
.ev-hero {
    position: relative; overflow: hidden;
    padding: calc(64px + clamp(48px, 8vw, 112px)) 0 clamp(40px, 6vw, 72px);
    background:
        radial-gradient(1100px 600px at 82% -10%, var(--ev-glow), transparent 62%),
        radial-gradient(700px 500px at -10% 110%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
        var(--bg);
}
.ev-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 75% 65% at 70% 25%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 25%, #000 0%, transparent 75%);
}
.ev-hero > * { position: relative; z-index: 1; }
.ev-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1024px) { .ev-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }
.ev-hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); margin-top: 26px; letter-spacing: -0.045em; line-height: 0.94; }
.ev-hero h1 span { display: block; color: var(--ev-heat); font-weight: 700; letter-spacing: -0.04em; }
.ev-hero .ev-lede { margin-top: 28px; }
.ev-hero .ev-actions { margin-top: 36px; }
.ev-hero-aside { margin-top: 20px; font-size: 0.9375rem; color: var(--text-muted); }
.ev-hero-aside a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.ev-hero-aside a:hover { color: var(--primary); }

/* Stacked screenshots: the front one straight, two behind it offset */
.ev-stack { position: relative; padding: 0 0 12% 0; }
.ev-stack .ev-shot { transition: transform 600ms var(--ease-smooth); }
.ev-stack .ev-stack-back { position: absolute; width: 62%; z-index: 0; }
.ev-stack .ev-stack-back--a { top: -6%; right: -4%; transform: rotate(3deg); }
.ev-stack .ev-stack-back--b { bottom: 0; left: -5%; transform: rotate(-3deg); }
.ev-stack .ev-stack-front { position: relative; z-index: 1; width: 86%; margin: 6% 0 0 7%; }
.ev-stack:hover .ev-stack-back--a { transform: rotate(4.5deg) translate(8px, -8px); }
.ev-stack:hover .ev-stack-back--b { transform: rotate(-4.5deg) translate(-8px, 8px); }
.ev-stack:hover .ev-stack-front { transform: translateY(-4px); }
@media (max-width: 640px) {
    .ev-stack { padding: 0; }
    .ev-stack .ev-stack-back { display: none; }
    .ev-stack .ev-stack-front { width: 100%; margin: 0; }
}

/* Hostnames served: a slow marquee under the hero */
.ev-served { margin-top: clamp(48px, 7vw, 88px); padding-top: 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 18px; overflow: hidden; }
.ev-served-label { flex-shrink: 0; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ev-served-track { display: flex; gap: 40px; white-space: nowrap; animation: evMarquee 38s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ev-served:hover .ev-served-track { animation-play-state: paused; }
.ev-served a { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ev-mono); font-size: 0.8125rem; color: var(--text-secondary); text-decoration: none; }
.ev-served a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ev-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-ok) 16%, transparent); }
.ev-served a:hover { color: var(--primary); }
@keyframes evMarquee { to { transform: translateX(-50%); } }

/* ─── Feature rows (flagships) ────────────────────────────────── */
.ev-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ev-feature + .ev-feature, .ev-doors + .ev-feature, .ev-doors + .ev-cards { margin-top: clamp(80px, 11vw, 144px); }
@media (min-width: 960px) {
    .ev-feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .ev-feature--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .ev-feature--flip .ev-feature-copy { order: 2; }
}
.ev-feature-kicker { font-family: var(--ev-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-feature h3 { font-family: var(--ev-display); font-weight: 600; font-size: clamp(2.2rem, 4.2vw, 3.3rem); letter-spacing: -0.035em; line-height: 1; margin-top: 10px; font-variation-settings: 'opsz' 96; }
.ev-feature-tagline { margin-top: 12px; font-size: 1.1875rem; font-weight: 500; color: var(--text); }
.ev-feature-summary { margin-top: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 56ch; }
.ev-feature .ev-statuses { margin-top: 22px; }
.ev-feature .ev-links { margin-top: 26px; }

/* Sofa family: the box, Fire TV, Roku, the Imager */
.ev-family { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.ev-family-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ev-family-item strong { font-weight: 600; color: var(--text); }
.ev-family-item p { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.9375rem; }
.ev-family-item .ev-status { justify-self: end; }

.ev-sofa-visual { position: relative; padding-bottom: 18%; }
.ev-sofa-visual .ev-shot--tv { position: absolute; left: -4%; bottom: 0; width: 58%; z-index: 2; }
.ev-sofa-visual .ev-shot--phone { position: absolute; right: -2%; bottom: -4%; width: 22%; z-index: 3; }
@media (max-width: 640px) {
    .ev-sofa-visual { padding-bottom: 0; }
    .ev-sofa-visual > .ev-shot--browser, .ev-sofa-visual .ev-shot--phone { display: none; }
    .ev-sofa-visual .ev-shot--tv { position: static; width: 100%; }
}
.ev-box-visual { position: relative; padding: 0 0 26% 0; }
.ev-box-visual .ev-shot--tv { position: relative; z-index: 1; }
.ev-box-visual .ev-shot--phone { position: absolute; right: 4%; bottom: 0; width: 26%; max-width: 190px; z-index: 2; }
@media (min-width: 960px) { .ev-box-visual { margin-top: 64px; } }

/* IRONGATE: the hostnames it serves, as a console */
.ev-console {
    border-radius: 14px; overflow: hidden; position: relative;
    background: #0B0A0E; color: #D6D2C8;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--ev-shadow-lg);
    font-family: var(--ev-mono); font-size: 0.8125rem; line-height: 1.9;
}
.ev-console::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px); }
.ev-console-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #14121A; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: #8A8798; font-size: 0.75rem; }
.ev-console-head b { color: var(--accent); font-weight: 600; }
.ev-console ol { list-style: none; margin: 0; padding: 14px 18px 6px; columns: 1; }
@media (min-width: 520px) { .ev-console ol { columns: 2; column-gap: 28px; } }
.ev-console li { display: flex; align-items: center; gap: 10px; break-inside: avoid; white-space: nowrap; }
.ev-console li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4FD08E; box-shadow: 0 0 0 3px rgba(79, 208, 142, 0.14); flex-shrink: 0; }
.ev-console-foot { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 12px 18px 16px; color: #8A8798; border-top: 1px dashed rgba(255, 255, 255, 0.08); margin-top: 10px; }
.ev-console-foot span { color: #CFCBC1; }
.ev-console-foot i { font-style: normal; color: #55526A; }

/* ─── Cards: no hard border, a hairline inset, a spotlight under the cursor ── */
.ev-cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.ev-cards--top { align-items: start; }
@media (min-width: 680px) { .ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ev-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-card, .ev-game, .ev-doors a, .ev-next a, .ev-soft-item {
    --mx: 50%; --my: 0%;
    position: relative; isolation: isolate;
    background: var(--ev-card); border: 1px solid transparent; border-radius: 18px; overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--ev-line), 0 1px 2px rgba(42, 33, 14, 0.04);
    transition: box-shadow 300ms var(--ease-smooth), transform 300ms var(--ease-smooth);
}
.ev-card::after, .ev-game::after, .ev-doors a::after, .ev-next a::after, .ev-soft-item::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
    background: radial-gradient(360px 260px at var(--mx) var(--my), var(--ev-glow), transparent 70%);
    transition: opacity 300ms ease;
}
.ev-card:hover, .ev-game:hover, .ev-doors a:hover, .ev-next a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--ev-line)), var(--ev-shadow); }
.ev-card:hover::after, .ev-game:hover::after, .ev-doors a:hover::after, .ev-next a:hover::after, .ev-soft-item:hover::after { opacity: 1; }
.ev-card { display: flex; flex-direction: column; }
.ev-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0D0C10; border-bottom: 1px solid var(--ev-line); }
.ev-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 700ms var(--ease-smooth); }
.ev-card:hover .ev-card-media img { transform: scale(1.03); }
.ev-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.ev-card-kicker { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-card h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ev-card-tagline { font-weight: 500; color: var(--text); }
.ev-card p.ev-card-summary { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-card .ev-links { margin-top: auto; padding-top: 8px; }
.ev-card--text .ev-card-body { padding-top: 26px; }

/* Bento: the smaller tools, uneven on purpose */
@media (min-width: 1040px) {
    .ev-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; }
    .ev-bento > .ev-card { grid-column: span 2; }
    .ev-bento > .ev-card--wide { grid-column: span 4; }
    .ev-bento > .ev-card--wide .ev-card-media { aspect-ratio: 21 / 9; }
    .ev-bento > .ev-card--wide h3 { font-size: 1.75rem; }
}
@media (min-width: 680px) and (max-width: 1039px) { .ev-bento > .ev-card--wide { grid-column: 1 / -1; } }

/* Compact rows (open source list, releases) */
.ev-list { border-top: 1px solid var(--border); }
.ev-list-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 160ms ease; }
@media (min-width: 760px) { .ev-list-row { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; align-items: baseline; } }
.ev-list-row strong { font-family: var(--ev-mono); font-size: 0.875rem; font-weight: 500; color: var(--text); word-break: break-word; }
.ev-list-row span.ev-list-desc { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.55; }
.ev-list-row em { font-style: normal; font-family: var(--ev-mono); font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
a.ev-list-row:hover strong { color: var(--primary); }

/* ─── Offer (work with us) ────────────────────────────────────── */
.ev-offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; background: var(--ev-card); box-shadow: inset 0 0 0 1px var(--ev-line); }
@media (min-width: 900px) { .ev-offer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-offer-item { padding: clamp(26px, 3.2vw, 38px); display: flex; flex-direction: column; gap: 10px; }
.ev-offer-item + .ev-offer-item { border-top: 1px solid var(--border); }
@media (min-width: 900px) { .ev-offer-item + .ev-offer-item { border-top: 0; border-left: 1px solid var(--border); } }
.ev-offer-item h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.ev-offer-item p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-offer-price { font-family: var(--ev-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-offer-item .ev-link { margin-top: auto; padding-top: 6px; }
.ev-services { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-services a {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
    border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
    font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.ev-services a:hover { border-color: var(--text); color: var(--text); }

/* ─── Founder and closing band ────────────────────────────────── */
.ev-founder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 900px) { .ev-founder { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } }
.ev-monogram {
    width: 124px; height: 124px; border-radius: 30px;
    display: grid; place-items: center;
    background: #07090A;
    color: var(--accent); font-family: var(--ev-display); font-size: 3.6rem; font-weight: 600;
    box-shadow: var(--ev-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ev-founder .ev-founder-lead { font-family: var(--ev-display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--text); text-wrap: balance; font-variation-settings: 'opsz' 96; }
.ev-founder .ev-founder-body { margin-top: 18px; color: var(--text-secondary); line-height: 1.7; max-width: 64ch; }
.ev-close {
    border-radius: 24px; padding: clamp(36px, 5.5vw, 64px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden;
    background: var(--ev-ink); color: var(--ev-paper);
    box-shadow: var(--ev-shadow-lg);
}
.ev-close::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 90% 0%, var(--ev-glow), transparent 65%); }
.ev-close > * { position: relative; }
[data-theme="dark"] .ev-close { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--ev-line), var(--ev-shadow-lg); }
@media (min-width: 900px) { .ev-close { grid-template-columns: minmax(0, 1fr) auto; } }
.ev-close h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: inherit; }
.ev-close p { margin-top: 10px; color: inherit; opacity: 0.78; max-width: 56ch; }
.ev-close .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ev-ink); }
.ev-close .btn-primary:hover { background: var(--ev-paper); border-color: var(--ev-paper); }
body.ev-site .ev-close .btn-secondary { color: var(--ev-paper); border-color: rgba(242, 237, 227, 0.4); }
body.ev-site .ev-close .btn-secondary:hover { border-color: var(--ev-paper); background: rgba(242, 237, 227, 0.08); color: var(--ev-paper); }
[data-theme="dark"] body.ev-site .ev-close .btn-secondary { color: var(--text); border-color: var(--border-strong); }
[data-theme="dark"] body.ev-site .ev-close .btn-secondary:hover { border-color: var(--text); background: transparent; color: var(--text); }

/* ─── Project pages ───────────────────────────────────────────── */
.ev-page-hero {
    padding: calc(64px + clamp(44px, 6.5vw, 88px)) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden;
    background: radial-gradient(900px 460px at 92% -10%, var(--ev-glow), transparent 64%), var(--bg);
}
.ev-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--ev-mono); font-size: 0.78rem; color: var(--text-muted); }
.ev-crumbs a { color: var(--text-secondary); text-decoration: none; }
.ev-crumbs a:hover { color: var(--primary); }
.ev-page-hero h1 { font-size: clamp(2.8rem, 6.6vw, 4.8rem); margin-top: 20px; letter-spacing: -0.045em; }
.ev-page-hero .ev-page-tagline { margin-top: 16px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--text); max-width: 34ch; text-wrap: balance; }
.ev-page-hero .ev-lede { margin-top: 16px; }
.ev-page-hero .ev-statuses { margin-top: 24px; }
.ev-page-hero .ev-actions { margin-top: 32px; }
.ev-page-shot { margin-top: clamp(40px, 6vw, 64px); }

.ev-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--border); }
@media (min-width: 760px) { .ev-points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.ev-point { padding: 22px 0; border-bottom: 1px solid var(--border); }
.ev-point h3, .ev-point h4 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.ev-point p { margin-top: 6px; color: var(--text-muted); line-height: 1.65; font-size: 0.9375rem; }

.ev-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .ev-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ev-split h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 14px; }
.ev-split p.ev-split-body { margin-top: 14px; color: var(--text-secondary); line-height: 1.7; }

.ev-note { border-left: 3px solid var(--accent); background: var(--surface-2); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--text-secondary); line-height: 1.65; font-size: 0.9375rem; }
.ev-note strong { color: var(--text); }
.ev-steps { counter-reset: evstep; display: grid; gap: 0; border-top: 1px solid var(--border); }
.ev-steps li { counter-increment: evstep; list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ev-steps li::before { content: counter(evstep, decimal-leading-zero); font-family: var(--ev-mono); font-size: 0.78rem; color: var(--ev-gold-text); padding-top: 3px; }
.ev-steps li strong { font-weight: 600; color: var(--text); }
.ev-steps li p { grid-column: 2; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

.ev-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .ev-next { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-next a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; text-decoration: none; }
.ev-next small { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-next strong { font-size: 1.0625rem; color: var(--text); }
.ev-next span { font-size: 0.875rem; color: var(--text-muted); }

/* ─── Nav ─────────────────────────────────────────────────────── */
body.ev-site #navBar { transition: background 240ms ease, box-shadow 240ms ease; }
body.ev-site #navBar.nav-glass { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border-subtle); box-shadow: none; }
body.ev-site #navBar .ev-nav-link { position: relative; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 6px 2px; transition: color 160ms ease; }
body.ev-site #navBar .ev-nav-link:hover, body.ev-site #navBar .ev-nav-link[aria-current="page"] { color: var(--text); }
body.ev-site #navBar .ev-nav-link[aria-current="page"]::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.ev-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
/* The marks and the wordmark (includes/brand.php): the prompt skull, the slap, the shell prompt */
.ev-logo { width: 28px; height: 30px; display: block; flex-shrink: 0; }
.ev-logo-bone { fill: var(--ev-ink); }
[data-theme="dark"] .ev-logo-bone { fill: var(--ev-paper); }
.ev-logo-eye { fill: var(--ev-term); transition: fill 160ms ease; }
.ev-brand:hover .ev-logo-eye { fill: var(--accent); }
.ev-slap { display: block; width: 96px; height: auto; flex-shrink: 0; }
.ev-word { display: inline-flex; align-items: center; font-family: var(--ev-mono); font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; color: var(--text); }
.ev-w-at { color: var(--ev-term); font-weight: 500; }
.ev-w-h { color: var(--ev-gold-text); }
.ev-w-p { color: var(--text-muted); font-weight: 500; }
.ev-cursor { display: inline-block; width: 0.6em; height: 1.05em; margin-left: 0.3em; vertical-align: -0.15em; background: var(--ev-term); animation: evBlink 1.1s steps(2, start) infinite; }
.ev-nav-tools { display: flex; align-items: center; gap: 6px; }
.ev-iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--text-secondary); background: transparent; border: 0; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.ev-iconbtn:hover { background: var(--surface-3); color: var(--text); }
.ev-lang { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; font-family: var(--ev-mono); font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); text-decoration: none; }
.ev-lang:hover { border-color: var(--text); color: var(--text); }
.ev-login { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 6px 8px; }
.ev-login:hover { color: var(--text); }
body.ev-site #navBar .btn-sm { min-height: 38px; padding: 0 1rem; }
body.ev-site .nav-mobile-drawer { background: var(--bg); }
body.ev-site .nav-mobile-drawer a { color: var(--text); border-color: var(--border); }
.nav-mobile-drawer a.btn-primary { color: var(--ev-paper) !important; }
[data-theme="dark"] .nav-mobile-drawer a.btn-primary { color: var(--ev-ink) !important; }
.nav-mobile-drawer a[aria-current="page"] { color: var(--primary); }
body.ev-site #hamburgerBtn { color: var(--text); }
body.ev-site #hamburgerBtn:hover { background: var(--surface-3); }

/* ─── Footer: ink, with the wordmark set huge and quiet ───────── */
.ev-footer { margin-top: 88px; padding: clamp(56px, 7vw, 88px) 0 28px; background: #0B0A0C; color: #CFC9BE; position: relative; overflow: hidden; }
.ev-footer--flush { margin-top: 0; }
.ev-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.ev-footer > * { position: relative; }
.ev-footer-mark { display: flex; align-items: center; font-family: var(--ev-mono); font-weight: 700; font-size: clamp(1.45rem, 8.2vw, 7.6rem); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: #F2EDE3; margin: 0 0 clamp(40px, 6vw, 72px) 0; user-select: none; }
.ev-footer-mark b { font-weight: 700; }
.ev-footer-mark i { font-style: normal; font-weight: 500; color: #39FF88; }
.ev-footer-mark u { text-decoration: none; color: #F4B740; }
.ev-footer-mark s { text-decoration: none; font-weight: 500; color: #545A70; }
.ev-footer-mark .ev-cursor { background: #39FF88; width: 0.55em; height: 0.95em; margin-left: 0.12em; }
.ev-footer a { color: #ABA597; text-decoration: none; transition: color 160ms ease; }
.ev-footer a:hover { color: #F2EDE3; }
.ev-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.ev-footer-brand { grid-column: 1 / -1; }
@media (min-width: 720px) { .ev-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ev-footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; } .ev-footer-brand { grid-column: auto; } }
.ev-footer-brand p { margin-top: 14px; font-size: 0.9375rem; line-height: 1.65; color: #9E988B; max-width: 36ch; }
.ev-footer h2 { font-family: var(--ev-mono); font-size: 0.72rem; font-weight: 500; color: #39FF88; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.ev-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.9375rem; }
.ev-footer-base { margin-top: clamp(40px, 6vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-family: var(--ev-mono); font-size: 0.75rem; color: #7E786D; }
.ev-footer-base nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ev-footer .ev-brand { color: #F2EDE3; }
.ev-footer .ev-logo-bone { fill: #EDEFF6; }
.ev-footer .ev-logo-eye, .ev-footer .ev-w-at { fill: #39FF88; color: #39FF88; }
.ev-footer .ev-word { color: #F2EDE3; }
.ev-footer .ev-w-h { color: #F4B740; }
.ev-footer .ev-w-p { color: #7E786D; }
.ev-footer .ev-cursor { background: #39FF88; }

/* ─── Sofa in depth: software, advances, engines, games ───────── */
.ev-subnav { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 28px; }
.ev-subnav-label { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); margin-right: 6px; }
.ev-subnav a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: border-color 160ms ease, color 160ms ease; }
.ev-subnav a:hover { border-color: var(--text); color: var(--text); }
.ev-subnav a[aria-current="page"] { background: var(--ev-ink); border-color: var(--ev-ink); color: var(--ev-paper); }
[data-theme="dark"] .ev-subnav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--ev-ink); }

.ev-soft { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.ev-soft-item { display: grid; gap: 18px; padding: clamp(24px, 3.2vw, 36px); }
@media (min-width: 960px) { .ev-soft-item { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); } }
.ev-soft-item h3 { font-family: var(--ev-display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 8px; font-variation-settings: 'opsz' 96; }
.ev-soft-item .ev-statuses { margin-top: 14px; }
.ev-soft-what { margin-top: 14px; color: var(--text-secondary); line-height: 1.7; }
.ev-soft-item ul.ev-soft-does { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ev-soft-item ul.ev-soft-does li { position: relative; padding-left: 18px; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }
.ev-soft-item ul.ev-soft-does li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.ev-soft-item .ev-links { margin-top: 18px; }
.ev-tested { border-left: 3px solid var(--ev-warn); background: var(--surface-2); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--text-secondary); line-height: 1.65; font-size: 0.9375rem; }
.ev-tested--works { border-left-color: var(--ev-ok); }
.ev-tested--beta { border-left-color: var(--accent); }
.ev-tested strong { display: block; color: var(--text); margin-bottom: 4px; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.ev-tl { position: relative; border-top: 1px solid var(--border); }
.ev-tl-day { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 32px; padding: 26px 0 10px; }
@media (min-width: 760px) { .ev-tl-day { grid-template-columns: 11rem minmax(0, 1fr); } }
.ev-tl-date { font-family: var(--ev-mono); font-size: 0.8125rem; color: var(--ev-gold-text); font-weight: 500; padding-top: 4px; }
.ev-tl-rows { display: grid; gap: 0; }
.ev-tl-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
@media (min-width: 640px) { .ev-tl-row { grid-template-columns: 13.5rem minmax(0, 1fr); } }
.ev-tl-row:last-child { border-bottom: 0; }
.ev-tl-ver { font-size: 0.875rem; color: var(--text); font-weight: 600; }
.ev-tl-text { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }
.ev-tl-row--big { margin: 8px 0; padding: 16px 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--border)); }
.ev-tl-row--big .ev-tl-ver::before { content: attr(data-big); display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 4px; background: var(--accent); color: #04120A; font-family: var(--ev-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ev-tl-row--big .ev-tl-ver span { display: block; }
.ev-tl-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ev-tl-legend a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.8125rem; color: var(--text-secondary); text-decoration: none; background: var(--surface); transition: border-color 160ms ease, color 160ms ease; }
.ev-tl-legend a::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.ev-tl-legend a:hover { border-color: var(--text); color: var(--text); }

.ev-engine { display: grid; gap: clamp(20px, 3vw, 40px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--border); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .ev-engine { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.ev-engine h3 { font-family: var(--ev-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.035em; line-height: 1; margin-top: 10px; font-variation-settings: 'opsz' 96; }
.ev-engine-since { margin-top: 12px; font-family: var(--ev-mono); font-size: 0.78rem; color: var(--text-muted); }
.ev-engine-games { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ev-engine-games a { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; background: var(--surface); }
.ev-engine-games a:hover { border-color: var(--text); color: var(--text); }
.ev-engine-summary { color: var(--text-secondary); line-height: 1.7; }
.ev-engine .ev-points { margin-top: 18px; }
@media (min-width: 760px) { .ev-engine .ev-points { grid-template-columns: minmax(0, 1fr); } }
.ev-engine .ev-links { margin-top: 20px; }

.ev-games { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .ev-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ev-games { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ev-games > .ev-game:first-child { grid-column: span 2; } .ev-games > .ev-game:first-child .ev-game-shot { aspect-ratio: 2 / 1; } }
.ev-game { display: flex; flex-direction: column; }
.ev-game-shot { margin: 0; aspect-ratio: 16 / 9; background: #0D0C10; border-bottom: 1px solid var(--ev-line); overflow: hidden; }
.ev-game-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-smooth); }
.ev-game:hover .ev-game-shot img { transform: scale(1.03); }
.ev-game-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.ev-game h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ev-game-about { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-game-facts { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--border-subtle); display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 8px 16px; }
.ev-game-facts div { min-width: 0; }
.ev-game-facts dt { font-family: var(--ev-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-game-facts dd { margin: 3px 0 0; font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.4; }

.ev-doors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 640px) { .ev-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ev-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ev-doors a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; text-decoration: none; }
.ev-doors small { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-doors strong { font-size: 1.0625rem; color: var(--text); }
.ev-doors span { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Motion ──────────────────────────────────────────────────── */
body.ev-site .reveal { transform: translateY(22px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
body.ev-site .reveal.revealed { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .ev-stack .ev-shot, .ev-card, .ev-game, .ev-card-media img, .ev-game-shot img, .ev-next a, .ev-doors a, .ev-ico { transition: none !important; }
    .ev-stack:hover .ev-stack-back--a, .ev-stack:hover .ev-stack-back--b, .ev-stack:hover .ev-stack-front { transform: none; }
    .ev-served-track { animation: none; }
    body.ev-site::before { display: none; }
}

/* Older pages' Tailwind colour utilities, pulled onto the amber-and-ink palette */
[data-theme="dark"] body.ev-site .bg-primary.text-white { color: var(--ev-ink) !important; }
body.ev-site .text-indigo-500, body.ev-site .text-indigo-600 { color: var(--primary) !important; }
body.ev-site .bg-indigo-50, body.ev-site .bg-indigo-100 { background-color: var(--accent-dim) !important; }
body.ev-site .from-primary { --tw-gradient-from: var(--ev-ink) !important; --tw-gradient-to: rgba(21, 19, 15, 0) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.ev-site .to-accent { --tw-gradient-to: var(--accent-dark) !important; }
body.ev-site .hover\:bg-primary-dark:hover { background-color: var(--accent) !important; color: var(--ev-ink) !important; }
body.ev-site .hover\:text-primary:hover { color: var(--primary) !important; }
body.ev-site .text-primary-dark { color: var(--primary-dark) !important; }
body.ev-site .bg-primary-dim, body.ev-site .bg-primary\/10, body.ev-site .bg-primary\/5 { background-color: var(--accent-dim) !important; }
body.ev-site .bg-indigo-500\/10, body.ev-site .bg-primary\/10 { background-color: var(--accent-dim) !important; }
body.ev-site .from-blue-50 { --tw-gradient-from: var(--surface-2) !important; --tw-gradient-to: rgba(236, 231, 219, 0) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.ev-site .to-indigo-50 { --tw-gradient-to: var(--accent-dim) !important; }

/* ─── The arcade ──────────────────────────────────────────────── */
.ev-arcade-hero { background: radial-gradient(900px 500px at 85% -10%, var(--ev-glow), transparent 62%), radial-gradient(600px 400px at 0% 100%, color-mix(in srgb, var(--ev-open) 14%, transparent), transparent 70%), var(--bg); }
.ev-game-play { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 14px; }
.ev-game-play .btn-sm { min-height: 36px; padding: 0 1.1rem; }
@media (min-width: 1100px) {
    .ev-games--arcade > .ev-game:first-child { grid-column: auto; }
    .ev-games--arcade > .ev-game:first-child .ev-game-shot { aspect-ratio: 16 / 9; }
    .ev-games--arcade > .ev-game--wide { grid-column: span 2; }
    .ev-games--arcade > .ev-game--wide .ev-game-shot { aspect-ratio: 2 / 1; }
}

/* ─── The badass bits: tags, the boot line, corner brackets ──── */
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ev-tags span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border)); border-radius: 6px; font-family: var(--ev-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ev-gold-text); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.ev-tags span:nth-child(2n) { border-color: color-mix(in srgb, var(--ev-cyan) 55%, var(--border)); color: var(--ev-cyan); background: color-mix(in srgb, var(--ev-cyan) 8%, transparent); }
.ev-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-jumps a { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border)); border-radius: 6px; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ev-gold-text); background: color-mix(in srgb, var(--accent) 8%, transparent); text-decoration: none; transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
.ev-jumps a:hover { background: var(--accent); border-color: var(--accent); color: var(--ev-ink); }
.ev-boot { margin-top: 30px; font-family: var(--ev-mono); font-size: 0.78rem; line-height: 1.8; color: var(--text-muted); display: grid; gap: 2px; }
.ev-boot b { font-weight: 500; color: var(--ev-ok); }
.ev-boot i { font-style: normal; color: var(--text-secondary); }
.ev-boot .ev-cursor { display: inline-block; width: 0.6em; height: 1em; vertical-align: -0.15em; margin-left: 4px; background: var(--accent); animation: evBlink 1.1s steps(2, start) infinite; }
@keyframes evBlink { to { visibility: hidden; } }
.ev-card::before, .ev-game::before, .ev-doors a::before, .ev-next a::before, .ev-soft-item::before {
    content: ''; position: absolute; inset: 8px; pointer-events: none; z-index: 2; opacity: 0;
    background:
        linear-gradient(var(--accent), var(--accent)) top left / 14px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) top left / 1px 14px no-repeat,
        linear-gradient(var(--accent), var(--accent)) top right / 14px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) top right / 1px 14px no-repeat,
        linear-gradient(var(--accent), var(--accent)) bottom left / 14px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom left / 1px 14px no-repeat,
        linear-gradient(var(--accent), var(--accent)) bottom right / 14px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom right / 1px 14px no-repeat;
    transition: opacity 240ms ease, inset 240ms var(--ease-smooth);
}
.ev-card:hover::before, .ev-game:hover::before, .ev-doors a:hover::before, .ev-next a:hover::before, .ev-soft-item:hover::before { opacity: 1; inset: 6px; }
[data-theme="dark"] .ev-hero { background: radial-gradient(1100px 600px at 82% -10%, var(--ev-glow), transparent 62%), radial-gradient(700px 500px at -10% 110%, rgba(60, 200, 216, 0.10), transparent 70%), var(--bg); }
[data-theme="dark"] .ev-hero::after { opacity: 0.7; }
[data-theme="dark"] .ev-page-hero { background: radial-gradient(900px 460px at 92% -10%, var(--ev-glow), transparent 64%), radial-gradient(600px 400px at 0% 100%, rgba(60, 200, 216, 0.08), transparent 70%), var(--bg); }
[data-theme="dark"] .ev-footer { background: #05060A; }
.ev-status--live .ev-status-dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-ok) 18%, transparent), 0 0 10px color-mix(in srgb, var(--ev-ok) 55%, transparent); }

/* ─── Page parts: stats, chips, faq, forms, prose ─────────────── */
.ev-about-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .ev-about-hero { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); } }
.ev-about-hero h1 span { display: block; color: var(--ev-heat); font-weight: 700; margin-top: 4px; font-size: 0.62em; letter-spacing: -0.03em; }
.ev-about-card { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--ev-card); box-shadow: inset 0 0 0 1px var(--ev-line), var(--ev-shadow); display: grid; gap: 20px; }
.ev-about-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px 260px at 80% -20%, var(--ev-glow), transparent 70%); }
.ev-about-card > * { position: relative; }
.ev-about-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--text-muted); }
.ev-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.ev-stat strong { display: block; font-family: var(--ev-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; color: var(--text); font-variation-settings: 'opsz' 96; }
.ev-stat span { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.4; }
.ev-prose { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.75; display: grid; gap: 18px; max-width: 62ch; }
.ev-prose p:first-child { font-size: 1.1875rem; color: var(--text); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-chip { display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ev-line); min-width: 160px; }
.ev-chip strong { font-size: 0.9375rem; color: var(--text); }
.ev-chip span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.ev-faqs { display: grid; gap: 0; border-top: 1px solid var(--border); }
.ev-faq { border-bottom: 1px solid var(--border); }
.ev-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; color: var(--text); letter-spacing: -0.01em; }
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary:hover { color: var(--primary); }
.ev-faq[open] summary .ev-ico { transform: rotate(180deg); }
.ev-faq p { margin: 0; padding: 0 0 20px; color: var(--text-secondary); line-height: 1.7; max-width: 66ch; }
.ev-form { display: grid; gap: 18px; }
.ev-form label { display: block; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.ev-form .form-input, .ev-form .form-textarea, .ev-form input[type="text"], .ev-form input[type="email"], .ev-form textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--surface); color: var(--text);
    border: 1px solid var(--border-strong); box-shadow: none; font: inherit; font-size: 1rem; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.ev-form .form-input:focus, .ev-form .form-textarea:focus, .ev-form input:focus, .ev-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ev-glow); }
.ev-form .form-hint { margin-top: 8px; font-size: 0.8125rem; color: var(--text-muted); }
.ev-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-pills button { padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-secondary); transition: border-color 160ms ease, color 160ms ease, background 160ms ease; }
.ev-pills button:hover { border-color: var(--text); color: var(--text); }
.ev-pills button[aria-pressed="true"], .ev-pills button.bg-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--ev-ink) !important; }
.ev-alert { border-left: 3px solid var(--ev-heat); background: color-mix(in srgb, var(--ev-heat) 10%, var(--surface)); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--text); font-size: 0.9375rem; display: grid; gap: 4px; }
.ev-contact-card { padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--ev-card); box-shadow: inset 0 0 0 1px var(--ev-line), var(--ev-shadow); }
.ev-rows { display: grid; gap: 0; border-top: 1px solid var(--border); }
.ev-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ev-row i { grid-row: span 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-dim); color: var(--ev-gold-text); font-style: normal; }
.ev-row strong { font-weight: 600; color: var(--text); }
.ev-row span { color: var(--text-secondary); font-size: 0.9375rem; }
.ev-row small { color: var(--text-muted); font-size: 0.8125rem; }
.ev-row a { color: var(--primary); text-decoration: none; font-weight: 600; }
.ev-tl-row .ev-tl-ver small { display: block; color: var(--text-muted); font-size: 0.78rem; font-weight: 500; margin-top: 2px; }
.ev-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; font-family: var(--ev-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-dim); color: var(--ev-gold-text); }
.ev-404 { min-height: 70dvh; display: grid; place-items: center; text-align: center; padding: calc(64px + 40px) 0 60px; }
.ev-404-code { font-family: var(--ev-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: 0.85; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--accent); font-variation-settings: 'opsz' 96; }

/* ─── The hacker and street pass (2026-11-11) ─────────────────────
   Ink and gold stay; terminal green is the second colour. Mono type and
   terminal panels up front, stencil numbers, hazard tape, sticker cards,
   sharp corners with hard offset shadows. The feel lives in the design:
   no word chips. Everything is still scoped to the public pages. */
body.ev-site {
    --ev-term: #0B7A41;
    --ev-pink: #D81B72;
    --ev-stencil: 'Big Shoulders Stencil', 'Bricolage Grotesque', Impact, sans-serif;
    --ev-r: 6px;
    --ev-brk: 22px;
}
[data-theme="dark"] body.ev-site { --ev-term: #39FF88; --ev-pink: #FF2E88; }
body.ev-site ::selection { background: var(--ev-term); color: var(--ev-ink); }
body.ev-site :focus-visible { outline-color: var(--ev-term); border-radius: 2px; }

/* Corners: square them off */
.ev-card, .ev-game, .ev-doors a, .ev-next a, .ev-soft-item, .ev-close, .ev-offer, .ev-about-card, .ev-contact-card, .ev-chip, .ev-tl-row--big { border-radius: var(--ev-r); }
.ev-shot, .ev-console { border-radius: 8px; }
.ev-shot--tv { border-radius: 6px; }
.ev-subnav a, .ev-services a, .ev-tl-legend a, .ev-engine-games a, .ev-lang, .ev-pills button, .ev-iconbtn { border-radius: 4px; }
.ev-note, .ev-tested, .ev-alert { border-radius: 0 var(--ev-r) var(--ev-r) 0; }
.ev-monogram { border-radius: 8px; font-family: var(--ev-stencil); font-weight: 800; }
.ev-form .form-input, .ev-form .form-textarea, .ev-form input[type="text"], .ev-form input[type="email"], .ev-form textarea { border-radius: var(--ev-r); }
.ev-row i { border-radius: 4px; }

/* Buttons: mono capitals, a hard shadow that grows when you reach for it */
body.ev-site .btn { font-family: var(--ev-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 4px; transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease; }
body.ev-site .btn-lg { font-size: 0.84rem; }
body.ev-site .btn-primary { box-shadow: 4px 4px 0 var(--accent); }
body.ev-site .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ev-term); background: var(--ev-ink); border-color: var(--ev-ink); color: var(--ev-paper); }
[data-theme="dark"] body.ev-site .btn-primary { box-shadow: 4px 4px 0 var(--ev-term); }
[data-theme="dark"] body.ev-site .btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--ev-ink); box-shadow: 6px 6px 0 var(--ev-term); }
body.ev-site .btn-secondary:hover { border-color: var(--ev-term); color: var(--ev-term); background: transparent; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 color-mix(in srgb, var(--ev-term) 55%, transparent); }
.ev-close .btn-primary { box-shadow: 4px 4px 0 #39FF88; }
body.ev-site .ev-close .btn-primary:hover { background: var(--ev-paper); border-color: var(--ev-paper); color: #07080E; box-shadow: 6px 6px 0 #39FF88; }
[data-theme="dark"] body.ev-site .ev-close .btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); }
body.ev-site .btn:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-term) 40%, transparent); }

/* Cards: the lift is a hard green shadow, not a soft one */
.ev-card:hover, .ev-game:hover, .ev-doors a:hover, .ev-next a:hover, .ev-drop:hover {
    transform: translate(-3px, -3px);
    box-shadow: inset 0 0 0 1px var(--accent), 6px 6px 0 color-mix(in srgb, var(--ev-term) 70%, transparent);
}
.ev-link:hover { color: var(--ev-term); border-bottom-color: var(--ev-term); }

/* Nav: mono capitals; the desktop links start at 1024 px (the classes in public-nav.php are lg:) */
body.ev-site #navBar .ev-nav-link { font-family: var(--ev-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
body.ev-site #navBar .ev-nav-link:hover { color: var(--ev-term); }
body.ev-site #navBar .ev-nav-link[aria-current="page"]::after { background: var(--ev-term); border-radius: 0; }
.ev-login { font-family: var(--ev-mono); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; }
@media (max-width: 1239px) {
    body.ev-site #navBar .gap-7 { gap: 1.05rem; }
    body.ev-site #navBar .ev-w-p, body.ev-site #navBar .ev-word .ev-cursor, body.ev-site #navBar .ev-login { display: none; }
}
@media (max-width: 380px) { body.ev-site #navBar .ev-w-p, body.ev-site #navBar .ev-word .ev-cursor { display: none; } }

/* HUD brackets */
.ev-hud::before, .ev-feature-visual::before, .ev-stands::after {
    content: ''; position: absolute; inset: -14px; pointer-events: none; z-index: 3;
    --b: color-mix(in srgb, var(--ev-term) 85%, transparent);
    background:
        linear-gradient(var(--b), var(--b)) top left / var(--ev-brk) 1px no-repeat, linear-gradient(var(--b), var(--b)) top left / 1px var(--ev-brk) no-repeat,
        linear-gradient(var(--b), var(--b)) top right / var(--ev-brk) 1px no-repeat, linear-gradient(var(--b), var(--b)) top right / 1px var(--ev-brk) no-repeat,
        linear-gradient(var(--b), var(--b)) bottom left / var(--ev-brk) 1px no-repeat, linear-gradient(var(--b), var(--b)) bottom left / 1px var(--ev-brk) no-repeat,
        linear-gradient(var(--b), var(--b)) bottom right / var(--ev-brk) 1px no-repeat, linear-gradient(var(--b), var(--b)) bottom right / 1px var(--ev-brk) no-repeat;
}
@media (max-width: 640px) { .ev-hud::before, .ev-feature-visual::before { inset: -8px; --ev-brk: 14px; } }
.ev-card::before, .ev-game::before, .ev-doors a::before, .ev-next a::before, .ev-soft-item::before { display: none; }

/* Terminal windows (ev_term() in includes/brand.php) */
.ev-term { border-radius: 8px; overflow: hidden; background: #05060A; color: #B6BACB; border: 1px solid #232839; box-shadow: var(--ev-shadow-lg), 6px 6px 0 color-mix(in srgb, #39FF88 26%, transparent); font-family: var(--ev-mono); font-size: 0.78rem; line-height: 1.75; text-align: left; position: relative; }
.ev-term::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px); }
.ev-term-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #0E1018; border-bottom: 1px solid #1A1E2C; }
.ev-term-bar i { width: 8px; height: 8px; border-radius: 1px; background: #343A50; }
.ev-term-bar i:first-child { background: #39FF88; }
.ev-term-bar span { margin-left: 8px; font-size: 0.68rem; color: #7D8299; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-term-body { padding: 12px 14px 14px; }
.ev-term-body p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #EDEFF6; }
.ev-term-ps { color: #39FF88; }
.ev-term-body p.ev-term-out { color: #8A90A6; }
.ev-term-out b { font-weight: 500; color: #39FF88; }
.ev-term-out i { font-style: normal; color: #39FF88; }
.ev-term-out u { text-decoration: none; color: #3CC8D8; }
.ev-term .ev-cursor { background: #39FF88; margin-left: 0; }
.ev-boot .ev-cursor { background: var(--ev-term); }
.ev-boot b { color: var(--ev-term); }

/* Home hero: scanlines, a framed stack with a live terminal, the slap stuck on its corner */
[data-theme="dark"] .ev-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.017) 0 1px, transparent 1px 4px); }
.ev-hero { background: radial-gradient(1100px 600px at 82% -10%, var(--ev-glow), transparent 62%), radial-gradient(700px 500px at -10% 110%, color-mix(in srgb, var(--ev-term) 9%, transparent), transparent 70%), var(--bg); }
[data-theme="dark"] .ev-hero { background: radial-gradient(1100px 600px at 82% -10%, var(--ev-glow), transparent 62%), radial-gradient(700px 500px at -10% 110%, rgba(57, 255, 136, 0.07), transparent 70%), var(--bg); }
[data-theme="dark"] .ev-page-hero { background: radial-gradient(900px 460px at 92% -10%, var(--ev-glow), transparent 64%), radial-gradient(600px 400px at 0% 100%, rgba(57, 255, 136, 0.055), transparent 70%), var(--bg); }
.ev-hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); font-weight: 800; }
.ev-hero h1 span, .ev-about-hero h1 span { font-weight: 800; color: var(--ev-gold-text); }
.ev-hero h1 .ev-cursor { width: 0.34em; height: 0.74em; margin-left: 0.1em; vertical-align: -0.02em; }
.ev-hero .ev-eyebrow::before, .ev-page-hero .ev-eyebrow::before { content: '>'; width: auto; height: auto; background: none; color: var(--ev-term); opacity: 1; font-weight: 700; }
.ev-eyebrow::before { color: var(--ev-term); opacity: 1; }
.ev-hud { position: relative; padding: 34px 6px 30px; }
.ev-hud-tag { position: absolute; z-index: 4; font-family: var(--ev-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.ev-hud-tag--tl { left: 12px; top: -4px; }
.ev-hud-tag--br { right: 12px; bottom: -4px; color: var(--ev-term); }
.ev-hud-slap { position: absolute; z-index: 5; right: -10px; top: -22px; width: 108px; transform: rotate(9deg); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.ev-hud .ev-stack { padding-bottom: 26%; }
.ev-stack .ev-stack-term { position: absolute; z-index: 2; left: -7%; bottom: 0; width: 70%; transition: transform 600ms var(--ease-smooth); }
.ev-stack:hover .ev-stack-term { transform: translate(-6px, 6px); }
.ev-stack .ev-stack-back--a { top: -4%; right: -2%; }
@media (max-width: 640px) {
    .ev-hud { padding: 26px 0 26px; }
    .ev-hud-tag--tl { left: 6px; top: -2px; } .ev-hud-tag--br { right: 6px; bottom: -2px; }
    .ev-hud .ev-stack { padding-bottom: 0; }
    .ev-stack .ev-stack-term { position: relative; left: 0; width: 100%; margin-top: 14px; }
    .ev-hud-slap { width: 84px; right: 0; top: -26px; }
}
.ev-served { border-top: 1px dashed var(--border-strong); }
.ev-served a::before { border-radius: 1px; }

/* Section heads: the number is terminal green */
.ev-section-head h2, .ev-split h2 { font-weight: 800; }

/* Feature rows: a stencil number, a dashed rule between them, brackets round the picture */
main#main-content { counter-reset: evsec evfeat; }
.ev-feature { position: relative; counter-increment: evfeat; }
.ev-feature-copy::before {
    content: counter(evfeat, decimal-leading-zero); display: block; width: max-content; margin-bottom: 14px;
    font-family: var(--ev-stencil); font-weight: 800; font-size: clamp(3.6rem, 6.6vw, 5.8rem); line-height: 0.82; letter-spacing: 0.01em;
    color: var(--ev-gold-text);
}
.ev-feature + .ev-feature::after, .ev-doors + .ev-feature::after {
    content: ''; position: absolute; left: 0; right: 0; top: calc(clamp(80px, 11vw, 144px) / -2); height: 1px; pointer-events: none;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 14px);
}
.ev-feature-visual { position: relative; }
.ev-feature-kicker::before { content: '// '; color: var(--ev-term); }
.ev-doors small::before, .ev-next small::before { content: './'; color: var(--ev-term); letter-spacing: 0; }
.ev-doors small, .ev-next small { text-transform: lowercase; letter-spacing: 0.02em; font-size: 0.78rem; }

/* Where it stands: one calm line per page, with the way to tell us */
.ev-stands-wrap { padding: clamp(56px, 7vw, 96px) 0 0; }
.ev-section--tint + .ev-stands-wrap { padding-top: clamp(64px, 8vw, 104px); }
.ev-stands { position: relative; display: grid; gap: 22px 48px; align-items: center; padding: clamp(26px, 3.6vw, 44px); border-radius: 2px; background: var(--ev-card); box-shadow: inset 0 0 0 1px var(--ev-line); }
.ev-stands::after { inset: -1px; }
@media (min-width: 900px) { .ev-stands { grid-template-columns: minmax(0, 1fr) auto; } }
.ev-stands-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-stands-label::before { content: ''; width: 8px; height: 8px; border-radius: 1px; background: var(--ev-term); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-term) 18%, transparent); }
.ev-stands h2 { margin-top: 12px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.ev-stands-text { margin-top: 12px; color: var(--text-secondary); line-height: 1.7; max-width: 66ch; }
.ev-stands .ev-actions { flex-direction: column; align-items: stretch; }
.ev-stands .ev-actions .btn { justify-content: center; }

/* The arcade hero: a marquee title, a neon floor, a reel of the games */
.ev-arcade-hero { padding-bottom: 0; }
.ev-arcade-hero > * { position: relative; z-index: 1; }
.ev-arcade-hero::after {
    content: ''; position: absolute; z-index: 0; left: -25%; right: -25%; bottom: 0; height: 300px; pointer-events: none; opacity: 0.42;
    background-image: linear-gradient(color-mix(in srgb, var(--ev-term) 60%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ev-term) 60%, transparent) 1px, transparent 1px);
    background-size: 64px 30px; transform: perspective(380px) rotateX(64deg); transform-origin: bottom center;
    mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.ev-arcade-hero h1 { font-size: clamp(3.2rem, 9.4vw, 7.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; transform: skewX(-8deg); transform-origin: left bottom; text-shadow: 0.05em 0.05em 0 var(--ev-pink); }
.ev-arcade-term { margin-top: 30px; max-width: 34rem; }
.ev-reel { margin-top: clamp(40px, 6vw, 64px); padding: 0 0 clamp(40px, 6vw, 64px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ev-reel-track { display: flex; width: max-content; animation: evMarquee 90s linear infinite; }
.ev-reel:hover .ev-reel-track { animation-play-state: paused; }
.ev-reel a { position: relative; display: block; flex-shrink: 0; width: 240px; margin-right: 14px; border-radius: 4px; overflow: hidden; background: #0D0C10; box-shadow: inset 0 0 0 1px var(--ev-line), var(--ev-shadow); text-decoration: none; }
.ev-reel a::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); border-radius: inherit; }
.ev-reel img { display: block; width: 240px; height: 135px; object-fit: cover; }
.ev-reel span { position: absolute; left: 8px; bottom: 7px; z-index: 1; padding: 3px 7px; border-radius: 2px; background: rgba(7, 8, 14, 0.85); color: #39FF88; font-family: var(--ev-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ev-reel a:hover { box-shadow: inset 0 0 0 1px var(--ev-term), var(--ev-shadow); }

/* The shop: drop cards with blueprint art and a stencil stamp */
.ev-status--soon .ev-status-dot { background: var(--ev-cyan); }
.ev-shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .ev-shop-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.ev-shop-hero h1 { font-size: clamp(3.2rem, 9vw, 6.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; transform: skewX(-8deg); transform-origin: left bottom; text-shadow: 0.05em 0.05em 0 var(--ev-term); }
.ev-shop-hero-side { position: relative; padding-top: 118px; }
.ev-shop-hero-slap { position: absolute; z-index: 2; right: 2%; top: 0; width: min(44%, 200px); transform: rotate(8deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); }
.ev-drops { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ev-drops { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ev-drops { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ev-drops--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ev-drop {
    --mx: 50%; --my: 0%;
    position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
    background: var(--ev-card); border-radius: var(--ev-r); box-shadow: inset 0 0 0 1px var(--ev-line), 0 1px 2px rgba(42, 33, 14, 0.04);
    transition: box-shadow 200ms ease, transform 200ms ease;
}
.ev-drop-art {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 1px solid #1A1E2C;
    background-color: #05060A;
    background-image: linear-gradient(rgba(57, 255, 136, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 255, 136, 0.07) 1px, transparent 1px), radial-gradient(60% 60% at 50% 45%, rgba(57, 255, 136, 0.12), transparent 70%);
    background-size: 22px 22px, 22px 22px, auto;
}
.ev-drops--4 .ev-drop-art { aspect-ratio: 4 / 3.4; }
.ev-art { display: block; width: 100%; height: 100%; }
.ev-art-cloth { fill: #12141C; stroke: #39FF88; stroke-width: 1.6; stroke-linejoin: round; }
.ev-art-line { fill: none; stroke: #39FF88; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.ev-art-stencil { font-family: 'Big Shoulders Stencil', Impact, sans-serif; font-weight: 800; fill: #39FF88; letter-spacing: 0.04em; }
.ev-art-no { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; fill: #39FF88; }
.ev-art--posters { position: relative; }
.ev-art--posters span { position: absolute; width: 56%; padding: 5px 5px 0; background: #EDEFF6; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55); }
.ev-art--posters img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ev-art--posters b { display: block; padding: 4px 2px 5px; font-family: 'Big Shoulders Stencil', Impact, sans-serif; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: #07080E; }
.ev-drop-stamp {
    position: absolute; left: 12px; bottom: 12px; padding: 3px 10px 2px; transform: rotate(-4deg);
    border: 2px solid #39FF88; color: #39FF88; background: rgba(5, 6, 10, 0.72);
    font-family: var(--ev-stencil); font-weight: 800; font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.15;
}
.ev-drop-body { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 20px; flex: 1; }
.ev-drop-sku { display: flex; justify-content: space-between; gap: 12px; font-family: var(--ev-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ev-drop-sku span:first-child { color: var(--ev-term); }
.ev-drop h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.ev-drop-text { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-drop-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.ev-drop-price { font-family: var(--ev-mono); font-size: 0.8rem; font-weight: 500; color: var(--ev-gold-text); }
.ev-drop--now { border-left: 0; }
.ev-drop--now::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ev-term); }
.ev-shop-fine { margin-top: 26px; max-width: 78ch; font-size: 0.875rem; line-height: 1.65; color: var(--text-muted); }

/* 404: the slap, stuck over the number */
.ev-404 .ev-wrap { position: relative; }
.ev-404-slap { margin: -34px auto 0; width: 132px; transform: rotate(-7deg); position: relative; }

/* The footer: hazard tape on top, scanlines, a faint skull, the prompt set huge, a last terminal line */
.ev-footer::before { background: radial-gradient(900px 420px at 0% 100%, rgba(57, 255, 136, 0.07), transparent 65%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 4px); }
.ev-footer::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, #39FF88 0 14px, #07080E 14px 28px); }
.ev-footer > .ev-wrap { position: relative; }
.ev-footer .ev-footer-ghost { position: absolute; right: -6px; bottom: -34px; width: auto; height: min(42vw, 390px); opacity: 0.07; pointer-events: none; }
.ev-footer .ev-footer-ghost .ev-logo-eye { fill: #EDEFF6; }
.ev-footer-grid, .ev-footer-base, .ev-footer-boot, .ev-footer-mark { position: relative; }
body.ev-site .ev-footer h2 { font-family: var(--ev-mono); color: #39FF88; }
.ev-footer h2::before { content: '// '; opacity: 0.6; }
.ev-footer a:hover { color: #39FF88; }
.ev-footer-slap { width: 84px; margin-top: 18px; transform: rotate(-6deg); transform-origin: left center; }
.ev-footer-boot { margin-top: clamp(36px, 5vw, 56px); color: #7E786D; }
.ev-footer-boot i { color: #ABA597; }
.ev-footer-boot b { color: #39FF88; }
.ev-footer-boot + .ev-footer-base { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
    .ev-reel-track { animation: none; }
    .ev-reel { overflow-x: auto; }
    .ev-cursor { animation: none; }
    .ev-drop, body.ev-site .btn, .ev-stack .ev-stack-term { transition: none !important; }
}

/* ─── Round 3 (2026-11-11): the mothership ───────────────────────
   Gold is out. The palette is ink, bone, phosphor green and hot pink: green
   is the system colour (links, prompts, buttons, live things), pink is the
   one loud accent (shadows, numbers, the cursor in the mark). Headlines are
   Big Shoulders in poster capitals. Plus the console (assets/js/console.js)
   and the fleet map on the home page. These tokens replace the ones at the
   top of this file; --ev-gold-text keeps its old name and now means "label". */
body.ev-site {
    --ev-display: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
    --bg: #ECEFEA; --surface: #F6F8F4; --surface-2: #E1E6DF; --surface-3: #D3DAD1;
    --text: #070A09; --text-secondary: #333C37; --text-muted: #647069; --text-subtle: #8F9A93;
    --border: #C7CFC6; --border-subtle: #D8DED6; --border-strong: #A9B4AB;
    --accent: #16C46A; --accent-dark: #0E9A52; --accent-dim: rgba(22, 196, 106, 0.14);
    --primary: #0A6B3A; --primary-light: #0E8A4A; --primary-dark: #07522C; --primary-dim: rgba(10, 107, 58, 0.10);
    --grad-primary: linear-gradient(135deg, #070A09 0%, #17201B 100%);
    --ev-gold-text: #0A6B3A;
    --ev-term: #0A7A40; --ev-pink: #D81B72;
    --ev-ink: #070A09; --ev-paper: #ECEFEA;
    --ev-ok: #0E9A52; --ev-info: #1A8EA0;
    --ev-card: var(--surface); --ev-line: var(--border);
    --ev-glow: rgba(22, 196, 106, 0.18);
    --ev-shadow: 0 1px 2px rgba(7, 10, 9, 0.06), 0 14px 34px -14px rgba(7, 10, 9, 0.25);
    --ev-shadow-lg: 0 2px 6px rgba(7, 10, 9, 0.07), 0 36px 72px -26px rgba(7, 10, 9, 0.4);
    --shadow-pri: 0 10px 28px -10px rgba(7, 10, 9, 0.45);
}
[data-theme="dark"] body.ev-site {
    --bg: #050706; --surface: #0A0D0C; --surface-2: #0D1110; --surface-3: #161C19;
    --text: #E9EDE8; --text-secondary: #AEB7B1; --text-muted: #76817A; --text-subtle: #4C5650;
    --border: #1E2622; --border-subtle: #151B18; --border-strong: #2F3A34;
    --accent: #39FF88; --accent-dark: #1FD96C; --accent-dim: rgba(57, 255, 136, 0.12);
    --primary: #5CFFA0; --primary-light: #9BFFC4; --primary-dark: #39FF88; --primary-dim: rgba(57, 255, 136, 0.10);
    --grad-primary: linear-gradient(135deg, #5CFFA0 0%, #39FF88 100%);
    --ev-gold-text: #39FF88;
    --ev-term: #39FF88; --ev-pink: #FF2E88;
    --ev-ink: #050706; --ev-paper: #E9EDE8;
    --ev-ok: #39FF88; --ev-info: #3CC8D8;
    --ev-card: #090C0B; --ev-line: #1B2320;
    --ev-glow: rgba(57, 255, 136, 0.12);
    --ev-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 40px -18px rgba(0, 0, 0, 0.85);
    --ev-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.55), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
    --shadow-pri: 0 10px 28px -10px rgba(57, 255, 136, 0.35);
}
[data-theme="dark"] .ev-section--tint { background: #080B0A; }
[data-theme="dark"] .ev-footer { background: #030504; }
.ev-footer { background: #050706; color: #AEB7B1; }
.ev-footer a { color: #8E9891; }
.ev-footer-brand p { color: #7C867F; }
.ev-footer-base { color: #5F6963; }
.ev-footer .ev-brand, .ev-footer .ev-word { color: #E9EDE8; }
body.ev-site ::selection { background: var(--ev-pink); color: #fff; }

/* Type: poster capitals for the big lines, condensed bold for the small ones */
body.ev-site h1, body.ev-site h2, body.ev-site .ev-display, body.ev-site .font-display {
    font-family: var(--ev-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.004em; line-height: 0.92; font-variation-settings: normal;
}
body.ev-site h3, body.ev-site h4 { font-family: var(--ev-display); font-weight: 800; letter-spacing: 0.012em; font-variation-settings: normal; }
body.ev-site .ev-founder .ev-founder-lead { letter-spacing: 0.004em; line-height: 0.96; font-size: clamp(2rem, 4.2vw, 3.4rem); font-variation-settings: normal; }
body.ev-site .ev-stat strong, body.ev-site .ev-404-code { letter-spacing: 0.01em; font-weight: 900; font-variation-settings: normal; }
.ev-section-head h2 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); margin-top: 14px; }
.ev-split h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.ev-close h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.ev-stands h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.ev-page-hero h1 { font-size: clamp(3.4rem, 9vw, 7rem); letter-spacing: 0.004em; }
.ev-feature h3 { font-size: clamp(3rem, 5.8vw, 4.8rem); font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.004em; }
.ev-card h3, .ev-game h3 { font-size: 1.7rem; line-height: 1.05; }
.ev-drop h3 { font-size: 1.65rem; line-height: 1.05; font-weight: 800; }
.ev-soft-item h3, .ev-engine h3 { font-size: clamp(2rem, 3.6vw, 3rem); text-transform: uppercase; font-weight: 900; }
.ev-offer-item h3 { font-size: 1.7rem; }
.ev-point h3, .ev-point h4 { font-size: 1.35rem; }
.ev-bento > .ev-card--wide h3 { font-size: 2.1rem; }
.ev-faq summary { font-family: var(--ev-sans); }
.ev-arcade-hero h1, .ev-shop-hero h1 { font-weight: 900; letter-spacing: 0.004em; font-size: clamp(3.8rem, 12vw, 9.4rem); }

/* Home hero: the headline runs the full width, like a poster */
.ev-hero { padding-top: calc(64px + clamp(40px, 6vw, 84px)); background: radial-gradient(1000px 560px at 88% -8%, var(--ev-glow), transparent 62%), radial-gradient(760px 520px at -8% 108%, color-mix(in srgb, var(--ev-pink) 9%, transparent), transparent 70%), var(--bg); }
[data-theme="dark"] .ev-hero { background: radial-gradient(1000px 560px at 88% -8%, rgba(57, 255, 136, 0.11), transparent 62%), radial-gradient(760px 520px at -8% 108%, rgba(255, 46, 136, 0.09), transparent 70%), var(--bg); }
[data-theme="dark"] .ev-page-hero { background: radial-gradient(900px 460px at 92% -10%, rgba(57, 255, 136, 0.10), transparent 64%), radial-gradient(600px 400px at 0% 100%, rgba(255, 46, 136, 0.07), transparent 70%), var(--bg); }
.ev-hero-top { margin-bottom: clamp(28px, 4vw, 52px); }
.ev-hero h1 { font-size: clamp(3.1rem, 9.5vw, 7.7rem); line-height: 0.86; margin-top: 18px; text-wrap: balance; }
.ev-hero h1 span, .ev-about-hero h1 span { color: var(--ev-term); font-weight: 900; letter-spacing: 0.004em; }
.ev-hero h1 .ev-cursor { background: var(--ev-pink); width: 0.3em; height: 0.72em; margin-left: 0.08em; vertical-align: 0; }
.ev-hero .ev-lede { margin-top: 0; }
@media (min-width: 1024px) { .ev-hero-grid { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); align-items: start; } }
.ev-hud-tag--br { color: var(--ev-pink); }

/* The accents: pink where gold used to shout */
.ev-eyebrow::before { color: var(--ev-pink); }
.ev-hero .ev-eyebrow::before, .ev-page-hero .ev-eyebrow::before { color: var(--ev-pink); }
.ev-feature-kicker::before, .ev-doors small::before, .ev-next small::before { color: var(--ev-pink); }
.ev-feature-copy::before { color: var(--ev-pink); }
body.ev-site #navBar .ev-nav-link[aria-current="page"]::after { background: var(--ev-pink); }
.ev-w-at { color: var(--ev-pink); }
.ev-w-h { color: var(--ev-term); }
.ev-footer .ev-w-at, .ev-footer-mark i { color: #FF2E88; fill: #FF2E88; }
.ev-footer .ev-w-h, .ev-footer-mark u { color: #39FF88; }
.ev-footer .ev-logo-eye { fill: #39FF88; }
.ev-footer-mark { color: #E9EDE8; }
.ev-footer-mark s { color: #3F4944; }
.ev-drop-stamp { border-color: #FF2E88; color: #FF2E88; }
.ev-steps li::before, .ev-tl-date { color: var(--ev-pink); }
body.ev-site .btn-primary { background: var(--ev-ink); color: var(--ev-paper); border-color: var(--ev-ink); box-shadow: 4px 4px 0 var(--ev-pink); }
body.ev-site .btn-primary:hover { background: var(--ev-ink); border-color: var(--ev-ink); color: var(--ev-paper); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ev-pink); }
[data-theme="dark"] body.ev-site .btn-primary { background: #39FF88; border-color: #39FF88; color: #04120A; box-shadow: 4px 4px 0 #FF2E88; }
[data-theme="dark"] body.ev-site .btn-primary:hover { background: #7DFFB1; border-color: #7DFFB1; color: #04120A; box-shadow: 7px 7px 0 #FF2E88; }
.ev-close .btn-primary, body.ev-site .ev-close .btn-primary { background: #39FF88; border-color: #39FF88; color: #04120A; box-shadow: 4px 4px 0 #FF2E88; }
body.ev-site .ev-close .btn-primary:hover, [data-theme="dark"] body.ev-site .ev-close .btn-primary:hover { background: #7DFFB1; border-color: #7DFFB1; color: #04120A; box-shadow: 7px 7px 0 #FF2E88; }
.nav-mobile-drawer a.btn-primary { color: var(--ev-paper) !important; }
[data-theme="dark"] .nav-mobile-drawer a.btn-primary { color: #04120A !important; }
.ev-card:hover, .ev-game:hover, .ev-doors a:hover, .ev-next a:hover, .ev-drop:hover { box-shadow: inset 0 0 0 1px var(--ev-term), 6px 6px 0 color-mix(in srgb, var(--ev-pink) 85%, transparent); }
.ev-term { box-shadow: var(--ev-shadow-lg), 6px 6px 0 color-mix(in srgb, #FF2E88 55%, transparent); }
.ev-subnav a[aria-current="page"], [data-theme="dark"] .ev-subnav a[aria-current="page"] { background: var(--ev-term); border-color: var(--ev-term); color: var(--bg); }
.ev-tl-row--big .ev-tl-ver::before { background: var(--ev-term); color: var(--bg); }
.ev-monogram { color: var(--ev-term); background: #07090A; box-shadow: inset 0 0 0 1px #1B2320, 6px 6px 0 var(--ev-pink); font-family: var(--ev-stencil); }
.ev-art-cloth { fill: #0C100E; }
.ev-drop-art { background-color: #040605; }
.ev-reel span { color: #39FF88; }

/* The console button in the header, and the way in from the footer */
.ev-conbtn { display: inline-grid; place-items: center; height: 32px; padding: 0 9px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--ev-term) 60%, var(--border)); background: color-mix(in srgb, var(--ev-term) 8%, transparent); color: var(--ev-term); font-family: var(--ev-mono); font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease; }
.ev-conbtn:hover, .ev-conbtn[aria-expanded="true"] { background: var(--ev-term); color: var(--bg); box-shadow: 3px 3px 0 var(--ev-pink); }
.ev-footer-con { margin-left: 10px; padding: 3px 9px; border: 1px solid rgba(57, 255, 136, 0.5); border-radius: 3px; background: none; color: #39FF88; font: inherit; cursor: pointer; }
.ev-footer-con:hover { background: #39FF88; color: #04120A; }
.ev-footer-boot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; }
button.ev-link { background: none; border: 0; border-bottom: 1px solid var(--border-strong); padding: 0; cursor: pointer; font-family: inherit; }

/* The console: drops from the top like a game's, runs like a shell */
.ev-shell { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 3, 0.6); opacity: 0; transition: opacity 200ms ease; }
.ev-shell[hidden] { display: none; }
.ev-shell.is-open { opacity: 1; }
.ev-shell-win { position: absolute; left: 0; right: 0; top: 0; height: min(58vh, 540px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(4, 6, 5, 0.97); color: #E9EDE8; border-bottom: 2px solid #39FF88; box-shadow: 0 7px 0 #FF2E88, 0 40px 90px rgba(0, 0, 0, 0.7); font-family: var(--ev-mono); transform: translateY(-104%); transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.ev-shell.is-open .ev-shell-win { transform: none; }
.ev-shell-win::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px); }
.ev-shell-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; background: #0A0D0C; border-bottom: 1px solid #151B18; }
.ev-shell-bar i { width: 9px; height: 9px; border-radius: 1px; background: #2F3A34; }
.ev-shell-bar i:first-child { background: #39FF88; }
.ev-shell-bar i:nth-child(2) { background: #FF2E88; }
.ev-shell-bar span { margin-left: 8px; font-size: 0.72rem; color: #76817A; }
.ev-shell-bar button { position: relative; z-index: 1; margin-left: auto; padding: 2px 9px; border: 1px solid #2F3A34; border-radius: 3px; background: none; color: #AEB7B1; font: inherit; font-size: 0.7rem; cursor: pointer; }
.ev-shell-bar button:hover { border-color: #39FF88; color: #39FF88; }
.ev-shell-out { overflow-y: auto; padding: 14px max(18px, calc((100vw - 1280px) / 2 + 36px)) 8px; font-size: 0.86rem; line-height: 1.75; }
.ev-shell-out p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ev-con-ps { color: #39FF88; }
.ev-con-out { color: #9AA59E; }
.ev-con-out b { font-weight: 700; color: #FF2E88; }
.ev-con-out i { font-style: normal; color: #39FF88; }
.ev-shell-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px max(18px, calc((100vw - 1280px) / 2 + 36px)) 16px; border-top: 1px solid #151B18; font-size: 0.9rem; }
.ev-shell-in span { color: #39FF88; white-space: nowrap; }
.ev-shell-in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #E9EDE8; font: inherit; caret-color: #FF2E88; }
body.ev-site .ev-shell-in input:focus-visible { outline: none; }
@media (max-width: 640px) { .ev-shell-win { height: min(72vh, 560px); } .ev-shell-in span { display: none; } .ev-shell-in::before { content: '#'; color: #39FF88; } }

/* The fleet map: the house in the middle, everything it ships around it */
.ev-fleet-section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(8px, 2vw, 28px); }
.ev-fleet { position: relative; border-radius: 4px; padding: clamp(6px, 1.4vw, 18px); background-color: var(--ev-card); box-shadow: inset 0 0 0 1px var(--ev-line);
    background-image: linear-gradient(color-mix(in srgb, var(--ev-term) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ev-term) 7%, transparent) 1px, transparent 1px); background-size: 28px 28px; }
.ev-fleet-map { display: block; width: 100%; height: auto; overflow: visible; }
.ev-fleet-traces path { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.ev-fleet-traces path.ev-fleet-pulse { stroke: var(--ev-term); stroke-width: 2.5; stroke-dasharray: 28 640; stroke-dashoffset: 668; animation: evFleetPulse 3.6s linear infinite; }
@keyframes evFleetPulse { to { stroke-dashoffset: 0; } }
.ev-fleet-core rect { fill: var(--bg); stroke: var(--ev-term); stroke-width: 2; }
.ev-fleet-core > path { fill: none; stroke: var(--ev-pink); stroke-width: 2.5; }
.ev-fleet-core .ev-logo-bone { fill: var(--text); }
.ev-fleet-host { font-family: var(--ev-mono); font-weight: 700; font-size: 17px; fill: var(--text); }
.ev-fleet-sub { font-family: var(--ev-mono); font-size: 12.5px; letter-spacing: 0.04em; fill: var(--text-muted); text-transform: uppercase; }
.ev-fleet-name { font-family: var(--ev-display); font-weight: 900; font-size: 34px; letter-spacing: 0.01em; text-transform: uppercase; fill: var(--text); transition: fill 140ms ease; }
.ev-fleet-dot { fill: var(--ev-term); transition: fill 140ms ease; }
.ev-fleet-hit { fill: transparent; }
.ev-fleet-node { cursor: pointer; }
.ev-fleet-node:hover .ev-fleet-name, .ev-fleet-node:focus-visible .ev-fleet-name { fill: var(--ev-term); }
.ev-fleet-node:hover .ev-fleet-dot, .ev-fleet-node:focus-visible .ev-fleet-dot { fill: var(--ev-pink); }
.ev-fleet-node:focus-visible { outline: none; }
.ev-fleet-node:focus-visible .ev-fleet-hit { stroke: var(--ev-term); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ev-fleet-list { display: none; list-style: none; margin: 0; padding: 6px 8px; }
.ev-fleet-list a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 11px 6px; border-bottom: 1px dashed var(--border); text-decoration: none; }
.ev-fleet-list li:last-child a { border-bottom: 0; }
.ev-fleet-list span { font-family: var(--ev-mono); font-size: 0.68rem; color: var(--ev-term); }
.ev-fleet-list strong { font-family: var(--ev-display); font-weight: 900; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--text); }
.ev-fleet-list em { grid-column: 2; font-style: normal; font-family: var(--ev-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 759px) { .ev-fleet-map { display: none; } .ev-fleet-list { display: block; } }
.ev-fleet-hint { margin-top: 18px; font-family: var(--ev-mono); font-size: 0.78rem; color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
    .ev-fleet-traces path.ev-fleet-pulse { animation: none; stroke-dashoffset: 300; }
    .ev-shell, .ev-shell-win { transition: none; }
}

/* Older pages' amber and yellow utilities (services, pricing, the sign-in pages): onto the green */
body.ev-site [class*="text-amber-"], body.ev-site [class*="text-yellow-"] { color: var(--ev-term) !important; }
body.ev-site [class*="bg-amber-"], body.ev-site [class*="bg-yellow-"] { background-color: var(--accent-dim) !important; }
body.ev-site [class*="border-amber-"], body.ev-site [class*="border-yellow-"] { border-color: color-mix(in srgb, var(--ev-term) 45%, transparent) !important; }
body.ev-site [class*="from-amber-"], body.ev-site [class*="from-yellow-"] { --tw-gradient-from: var(--ev-term) !important; --tw-gradient-to: transparent !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.ev-site [class*="to-amber-"], body.ev-site [class*="to-yellow-"] { --tw-gradient-to: var(--accent-dark) !important; }

/* ─── Round 4 (2026-11-11): quieter type, and the EV sticker as the business mark ──
   The poster headline was "in your face": the home hero is two columns again and
   every big size comes down. The capitals, the palette and the rest stay. */
.ev-hero { padding-top: calc(64px + clamp(44px, 7vw, 96px)); }
@media (min-width: 1024px) { .ev-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.ev-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4.05rem); line-height: 0.94; margin-top: 22px; font-weight: 800; }
.ev-hero h1 span, .ev-about-hero h1 span { font-weight: 800; }
.ev-hero .ev-lede { margin-top: 24px; }
.ev-page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
.ev-arcade-hero h1, .ev-shop-hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.8rem); font-weight: 800; }
.ev-section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 0.96; }
.ev-split h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 0.98; }
.ev-close h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
.ev-stands h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
body.ev-site .ev-founder .ev-founder-lead { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; }
.ev-feature h3 { font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 800; line-height: 0.95; }
.ev-feature-copy::before { font-size: clamp(2.4rem, 3.8vw, 3.2rem); margin-bottom: 12px; }
.ev-soft-item h3, .ev-engine h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; }
.ev-card h3, .ev-game h3, .ev-offer-item h3 { font-size: 1.5rem; }
.ev-drop h3 { font-size: 1.45rem; }
.ev-bento > .ev-card--wide h3 { font-size: 1.8rem; }
.ev-fleet-name { font-size: 27px; font-weight: 800; }
.ev-fleet-list strong { font-size: 1.3rem; font-weight: 800; }
.ev-footer-mark { font-size: clamp(1.25rem, 5.2vw, 4.4rem); }
/* The EV sticker in the header and footer of the business pages */
.ev-slap--mark { width: 40px; margin: -3px -2px -7px 0; }
.ev-brand:hover .ev-slap--mark { transform: rotate(-4deg); }
.ev-slap--mark { transition: transform 200ms var(--ease-smooth); }
/* The header in Spanish: its words run longer, so it is always the compact one and keeps the menu button up to 1280 px */
body.ev-site #navBar .ev-nav-link, .ev-login, body.ev-site #navBar .btn { white-space: nowrap; }
html[lang="es"] body.ev-site #navBar .gap-7 { gap: 1.05rem; }
html[lang="es"] body.ev-site #navBar .ev-w-p, html[lang="es"] body.ev-site #navBar .ev-word .ev-cursor, html[lang="es"] body.ev-site #navBar .ev-login { display: none; }
@media (min-width: 1024px) and (max-width: 1279px) {
    html[lang="es"] body.ev-site #navBar .lg\:flex { display: none !important; }
    html[lang="es"] body.ev-site #hamburgerBtn { display: block !important; }
    html[lang="es"] #mobileDrawer, html[lang="es"] #mobileBackdrop { display: block !important; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
    body.ev-site #navBar .gap-7 { gap: 0.8rem; }
    body.ev-site #navBar .gap-6 { gap: 0.9rem; }
    body.ev-site #navBar .btn-sm { padding: 0 0.7rem; }
}

/* Eight links since Downloads joined (2026-11-12): below 1560 px the wordmark loses its ":~#" and "Log in" steps back
   (it stays in the drawer), and below 1200 px the menu button takes over, as the Spanish header already did */
@media (min-width: 1024px) and (max-width: 1559px) {
    body.ev-site #navBar .ev-w-p, body.ev-site #navBar .ev-word .ev-cursor, body.ev-site #navBar .ev-login { display: none; }
    body.ev-site #navBar .gap-7 { gap: 1.05rem; }
}
@media (min-width: 1560px) { body.ev-site #navBar .gap-7 { gap: 1.05rem; } }
@media (min-width: 1024px) and (max-width: 1199px) {
    body.ev-site #navBar .lg\:flex { display: none !important; }
    body.ev-site #hamburgerBtn { display: block !important; }
    #mobileDrawer, #mobileBackdrop { display: block !important; }
}
/* The founder's initial gave way to the studio's mark (2026-11-11) */
.ev-monogram--mark .ev-slap { width: 84px; margin-top: 6px; }

/* ── Downloads (2026-11-12): one card per thing we publish, the newest build of each ───────── */
.ev-dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.ev-dl {
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px;
    background: var(--ev-card); border-radius: var(--ev-r); box-shadow: inset 0 0 0 1px var(--ev-line);
}
.ev-dl::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ev-term); border-radius: var(--ev-r) 0 0 var(--ev-r); }
.ev-dl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.ev-dl h2 { font-family: var(--ev-display); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1; letter-spacing: 0.01em; }
.ev-dl-for { margin-top: 6px; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.ev-dl-ver { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; text-align: right; }
.ev-dl-ver span { font-family: var(--ev-mono); font-size: 0.8rem; font-weight: 700; color: var(--ev-term); border: 1px solid color-mix(in srgb, var(--ev-term) 50%, transparent); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.ev-dl-ver small { font-family: var(--ev-mono); font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; }
.ev-dl-note { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-dl-files { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.ev-dl-btn { gap: 9px; }
.ev-dl-btn small, .ev-dl-small small { font-family: var(--ev-mono); font-size: 0.72rem; opacity: 0.75; font-weight: 500; }
.ev-dl-small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ev-mono); font-size: 0.78rem; color: var(--text-secondary); text-decoration: none; padding: 4px 2px; }
.ev-dl-small:hover { color: var(--ev-term); }
.ev-dl-small svg { width: 13px; height: 13px; }
.ev-dl-empty { font-size: 0.875rem; color: var(--text-muted); padding: 10px 12px; border: 1px dashed var(--border); border-radius: 6px; }
.ev-dl-copy p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.ev-dl-copy div { display: flex; align-items: stretch; border-radius: 6px; overflow: hidden; background: #050706; border: 1px solid #1E2622; }
.ev-dl-copy code { flex: 1; min-width: 0; padding: 9px 12px; font-family: var(--ev-mono); font-size: 0.74rem; line-height: 1.5; color: #39FF88; white-space: nowrap; overflow-x: auto; scrollbar-width: thin; }
.ev-dl-copybtn { flex-shrink: 0; padding: 0 14px; font-family: var(--ev-mono); font-size: 0.72rem; font-weight: 700; color: #050706; background: #39FF88; border: 0; cursor: pointer; }
.ev-dl-copybtn:hover { background: #7DFFB1; }
.ev-dl-more { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 480px) { .ev-dl { padding: 18px 16px; } .ev-dl-head { flex-direction: column; } .ev-dl-ver { align-items: flex-start; flex-direction: row; gap: 8px; } }

/* Downloads on a phone (2026-11-12): a button's label wraps inside its card instead of widening the page
   (a 375 px screen had "Download for Windows · 1.5.10 88.5 MB" running 28 px past its edge). */
.ev-dl-btn { max-width: 100%; white-space: normal; text-align: left; }
.ev-dl-btn span { min-width: 0; }
.ev-dl-btn small { white-space: nowrap; }

/* Downloads, a card with two ways in (2026-11-14): the PC's USB stick and DVD, each named in green, and the SHA-256
   of each file as sha256sum prints it. A line too long for the card wraps under itself, the file's name indented
   (on a phone the hash wraps too), so nothing hides behind a scroll bar; Copy gives the lines exactly. */
.ev-dl-ways { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; align-items: baseline; margin: 0; }
.ev-dl-ways dt { font-family: var(--ev-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ev-term); }
.ev-dl-ways dt::before { content: '> '; opacity: 0.6; }
.ev-dl-ways dd { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.ev-dl-ways > div { display: contents; }
.ev-dl-ways dd > span { display: block; }
.ev-dl-ways dd .ev-link { display: flex; width: fit-content; margin-bottom: 4px; font-size: 0.875rem; }
.ev-dl-sums code { white-space: normal; overflow-x: visible; font-size: 0.7rem; }
.ev-dl-sums code span { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 2ch; text-indent: -2ch; }
@media (max-width: 480px) { .ev-dl-ways { grid-template-columns: 1fr; row-gap: 2px; } .ev-dl-ways > div + div dt { margin-top: 8px; } }

/* Downloads, Sofa Box Imager first (2026-11-14): it writes the Pi's card, the PC's stick and the PC's DVD, so it is a
   full-width card above the rest, its three targets side by side; the other cards lead with it, and the tools for
   Windows and Linux are one small dashed line under that. */
.ev-dl-alt { font-family: var(--ev-mono); font-size: 0.74rem; line-height: 1.6; color: var(--text-muted); padding: 8px 12px; border: 1px dashed var(--border); border-radius: 6px; }
.ev-dl-alt b { color: var(--text-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.ev-dl-alt .ev-dl-small { padding: 0; font-size: inherit; }
.ev-dl-fine { list-style: none; margin: 0; padding: 0; font-family: var(--ev-mono); font-size: 0.72rem; line-height: 1.6; color: var(--text-muted); }
.ev-dl-fine li::before { content: '# '; color: var(--ev-term); opacity: 0.7; }
.ev-dl--lead { grid-column: 1 / -1; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ev-term) 55%, transparent), 6px 6px 0 color-mix(in srgb, var(--ev-term) 22%, transparent); }
.ev-dl--lead h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.ev-dl--lead .ev-dl-note { font-size: 1.05rem; color: var(--text); max-width: 68ch; }
@media (min-width: 720px) {
    .ev-dl--lead .ev-dl-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
    .ev-dl--lead .ev-dl-ways > div { display: block; padding: 12px 14px; border: 1px solid var(--ev-line); border-radius: 6px; }
    .ev-dl--lead .ev-dl-ways dd { margin-top: 4px; }
}

/* ── Hosting (2026-11-13): /hosting/, for sites people already have ─────────────────────────────── */
.ev-host-hero h1 span { color: var(--ev-term); }
.ev-host-price-line { margin-top: 22px; font-family: var(--ev-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-muted); }
.ev-host-price-line b { color: var(--ev-term); font-weight: 700; font-size: 0.95rem; }
.ev-host-hero-side { position: relative; padding-top: 34px; }
.ev-host-stamp {
    position: absolute; z-index: 3; right: 4%; top: 0; padding: 6px 16px 4px; transform: rotate(6deg);
    border: 3px solid var(--ev-pink); color: var(--ev-pink); background: color-mix(in srgb, var(--bg) 82%, transparent);
    font-family: var(--ev-stencil); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.05;
    box-shadow: 4px 4px 0 color-mix(in srgb, var(--ev-pink) 30%, transparent);
}
.ev-host-hero-side .ev-term-out { white-space: pre; overflow-x: hidden; text-overflow: clip; }
@media (max-width: 480px) { .ev-host-hero-side .ev-term { font-size: 0.7rem; } .ev-host-stamp { right: 0; } }

/* Will it fit: one card per kind of site, with a stamp */
.ev-fits { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ev-fits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ev-fits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ev-fit { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; background: var(--ev-card); border-radius: var(--ev-r); box-shadow: inset 0 0 0 1px var(--ev-line); --st: var(--ev-term); }
.ev-fit--ask { --st: var(--ev-cyan); }
.ev-fit--no { --st: var(--ev-pink); }
.ev-fit::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--st); border-radius: var(--ev-r) 0 0 var(--ev-r); }
.ev-fit-stamp { align-self: flex-start; padding: 2px 10px 1px; transform: rotate(-3deg); border: 2px solid var(--st); color: var(--st);
    font-family: var(--ev-stencil); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.15; }
.ev-fit h3 { font-size: 1.35rem; line-height: 1.05; margin-top: 6px; }
.ev-fit-what { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.55; }
.ev-fit-why { color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; padding-top: 8px; border-top: 1px dashed var(--border); }
.ev-fit .ev-link { margin-top: auto; align-self: flex-start; padding-top: 6px; font-size: 0.875rem; }
.ev-fit--no { background: color-mix(in srgb, var(--ev-pink) 4%, var(--ev-card)); }

/* What you get: a spec sheet beside the price */
.ev-host-get { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1024px) { .ev-host-get { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.ev-spec { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--border); margin: 0; }
@media (min-width: 720px) { .ev-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.ev-spec div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ev-spec dt { font-family: var(--ev-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); padding-top: 3px; }
.ev-spec dd { margin: 0; color: var(--text-secondary); line-height: 1.55; font-size: 0.9375rem; }
.ev-host-plan { position: relative; padding: clamp(24px, 3vw, 32px); border-radius: var(--ev-r); background: var(--ev-card); box-shadow: inset 0 0 0 1px var(--ev-line), 6px 6px 0 color-mix(in srgb, var(--ev-pink) 70%, transparent); }
.ev-host-plan-kicker { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-gold-text); }
.ev-host-plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.ev-host-plan-price b { font-family: var(--ev-stencil); font-weight: 800; font-size: clamp(3rem, 5vw, 4rem); line-height: 0.9; color: var(--text); letter-spacing: 0.01em; }
.ev-host-plan-price span { font-family: var(--ev-mono); font-size: 0.8rem; color: var(--text-muted); }
.ev-host-plan ul { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ev-host-plan li { display: flex; gap: 10px; color: var(--text-secondary); font-size: 0.9375rem; }
.ev-host-plan li::before { content: '>'; font-family: var(--ev-mono); color: var(--ev-term); font-weight: 700; }
.ev-host-plan .btn { width: 100%; justify-content: center; min-height: 48px; display: inline-flex; align-items: center; }
.ev-host-plan-alt { margin-top: 16px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.ev-host-plan-alt a { color: var(--ev-term); text-decoration: none; border-bottom: 1px solid currentColor; }
/* The yearly plan under the monthly price: the figure, and the saving as a stamp */
.ev-host-plan-year { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--ev-mono); font-size: 0.8rem; color: var(--text-muted); }
.ev-host-plan-year b { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.ev-host-plan-year span { font-family: var(--ev-stencil); font-weight: 800; font-size: 0.9rem; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ev-pink); border: 2px solid var(--ev-pink); padding: 5px 7px 3px; transform: rotate(-3deg); }
/* Claim your account: how fast a paused site comes back, by how it is paid */
.ev-claim-speed dl { margin: 14px 0 16px; }
.ev-claim-speed dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid var(--ev-line); }
.ev-claim-speed dl div:last-child { border-bottom: 1px solid var(--ev-line); }
.ev-claim-speed dt { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); line-height: 1.4; }
.ev-claim-speed dd { margin: 0; flex: none; font-family: var(--ev-display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; line-height: 1; letter-spacing: 0.02em; }
.ev-claim-speed dd.is-fast { color: var(--ev-term); }
.ev-claim-speed dd.is-slow { color: var(--ev-pink); }
.ev-claim-speed > p:last-child { color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }

/* Move-in: a route of stencil numbers */
.ev-route { counter-reset: evroute; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 760px) { .ev-route { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1100px) { .ev-route { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-route li { counter-increment: evroute; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; padding: 22px 0; border-top: 1px dashed var(--border-strong); }
.ev-route li::before { content: counter(evroute, decimal-leading-zero); grid-row: span 2; font-family: var(--ev-stencil); font-weight: 800; font-size: 2.9rem; line-height: 0.85; color: var(--ev-pink); }
.ev-route li:last-child::before { color: var(--ev-term); }
.ev-route strong { font-family: var(--ev-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.01em; color: var(--text); }
.ev-route p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* What we don't take on */
.ev-nope { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.ev-nope li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ev-nope li::before { content: '×'; grid-row: span 2; font-family: var(--ev-mono); font-weight: 700; color: var(--ev-pink); font-size: 1.05rem; line-height: 1.3; }
.ev-nope strong { font-weight: 600; color: var(--text); }
.ev-nope span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }

/* The order form */
.ev-host-order { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 1024px) { .ev-host-order { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } .ev-host-order-side { position: sticky; top: 96px; } }
.ev-host-form { gap: 0; }
.ev-host-form fieldset { border: 0; margin: 0; padding: 26px 0; border-top: 1px solid var(--border); display: grid; gap: 16px; min-width: 0; }
.ev-host-form legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; font-family: var(--ev-display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; color: var(--text); }
.ev-host-form legend span { font-family: var(--ev-stencil); font-size: 1.5rem; color: var(--ev-pink); }
.ev-host-form legend + * { clear: both; }
.ev-host-label { display: block; font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.ev-form input[type="password"] { width: 100%; padding: 13px 16px; border-radius: var(--ev-r); background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); font: inherit; font-size: 1rem; }
.ev-form input[type="password"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ev-glow); }
.ev-form .form-hint a { color: var(--ev-term); }
.ev-host-pick { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .ev-host-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ev-host-pick--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ev-host-pick:not(.ev-host-pick--row) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-host-opt { position: relative; display: block; margin: 0 !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--ev-sans) !important; font-size: 1rem !important; color: var(--text) !important; }
.ev-host-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ev-host-opt > span { display: grid; gap: 3px; height: 100%; padding: 14px 16px 14px 40px; border-radius: var(--ev-r); background: var(--surface); border: 1px solid var(--border-strong); transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease; }
.ev-host-opt > span::before { content: ''; position: absolute; left: 15px; top: 17px; width: 12px; height: 12px; border: 2px solid var(--border-strong); border-radius: 2px; }
.ev-host-opt strong { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.ev-host-opt small { font-family: var(--ev-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--text-muted); }
.ev-host-opt:hover > span { border-color: var(--text); }
.ev-host-opt input:checked + span { border-color: var(--ev-term); box-shadow: 4px 4px 0 color-mix(in srgb, var(--ev-pink) 75%, transparent); transform: translate(-2px, -2px); }
.ev-host-opt input:checked + span::before { background: var(--ev-term); border-color: var(--ev-term); }
.ev-host-opt input:focus-visible + span { outline: 2px solid var(--ev-term); outline-offset: 2px; }
.ev-host-two { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .ev-host-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ev-host-submit { padding-top: 26px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ev-host-submit .btn { min-height: 52px; padding: 0 2rem; }
.ev-host-submit p { font-size: 0.875rem; color: var(--text-muted); max-width: 40ch; }
@media (max-width: 480px) { .ev-host-submit .btn { width: 100%; } }
.ev-host-order-side { display: grid; gap: 28px; }
.ev-host-order-hero h1 { margin-top: 18px; }
.ev-host-sent { max-width: 640px; }
.ev-host-sent-note { margin-top: 18px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; max-width: 56ch; }
.ev-host-form .ev-alert a, .ev-host-form .form-hint a { color: var(--ev-term); }
.ev-host-form button[disabled] { opacity: 0.45; pointer-events: none; }
.ev-host-slug { display: flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: var(--ev-r); background: var(--surface); overflow: hidden; }
.ev-host-slug:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ev-glow); }
.ev-form .ev-host-slug input[type="text"] { border: 0; border-radius: 0; box-shadow: none; min-width: 0; flex: 1; }
.ev-host-slug span { display: flex; align-items: center; padding: 0 14px; font-family: var(--ev-mono); font-size: 0.85rem; color: var(--ev-term); border-left: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
/* Nine links since Hosting joined (2026-11-13): the header row is 1,208 px wide at most, and the ninth link pushed
   Spanish (always the compact header) and English with "Log in" past it. Closer links and a touch less tracking win
   back about 75 px; the breakpoints above stay as they were. */
@media (min-width: 1024px) {
    body.ev-site #navBar .gap-7, html[lang="es"] body.ev-site #navBar .gap-7 { gap: 0.7rem; }
    body.ev-site #navBar .ev-nav-link { letter-spacing: 0.05em; }
    body.ev-site #navBar .ev-wrap > .gap-6 { gap: 1rem; }
}

/* ── Sofa on GitHub (2026-11-13): the star button and its count, the line on Downloads, the band with four doors ── */
.ev-gh { display: inline-flex; align-items: center; gap: 10px; }
.ev-gh svg { flex: none; }
.ev-gh-count { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 3px 8px 3px 7px; font-family: var(--ev-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; color: var(--ev-ink); background: var(--ev-pink); border-radius: 2px; }
[data-theme="dark"] .ev-gh-count { color: #050706; }
.ev-gh-count i { font-style: normal; font-size: 0.85em; }
.ev-gh-line { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--ev-mono); font-size: 0.8125rem; color: var(--text-muted); }
.ev-gh-line svg { color: var(--text-secondary); }
.ev-open-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .ev-open-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.ev-open-head .ev-section-head { margin-bottom: 0; }
.ev-open-head .ev-actions { margin-top: 28px; }
.ev-open-term { max-width: 560px; width: 100%; justify-self: end; }
@media (max-width: 1023px) { .ev-open-term { justify-self: start; } }
.ev-doors--open { margin-top: clamp(36px, 5vw, 56px); }

/* ── Tools (2026-11-12): the studio's own tools, one card each (projects/tools.php), and their strip on engines.php ── */
.ev-tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 18px; }
.ev-tool {
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 20px; min-width: 0;
    background: var(--ev-card); border-radius: var(--ev-r); box-shadow: inset 0 0 0 1px var(--ev-line); scroll-margin-top: 96px;
}
.ev-tool::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ev-term); border-radius: var(--ev-r) 0 0 var(--ev-r); }
.ev-tool h3 { font-family: var(--ev-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; letter-spacing: 0.01em; margin-top: 6px; }
.ev-tool-path { margin-top: 8px; font-family: var(--ev-mono); font-size: 0.78rem; color: var(--ev-term); overflow-wrap: anywhere; }
.ev-tool-what { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; }
.ev-tool-cmd { margin: 0; padding: 10px 14px; border-radius: 6px; background: #050706; border: 1px solid #1E2622; font-family: var(--ev-mono); font-size: 0.75rem; line-height: 1.6; color: #39FF88; white-space: pre; overflow-x: auto; scrollbar-width: thin; }
.ev-tool-cmd code { font: inherit; color: inherit; background: none; padding: 0; }
.ev-tool-ps { color: #FF2E88; user-select: none; }
.ev-tool-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--ev-mono); font-size: 0.72rem; line-height: 1.5; color: var(--text-muted); }
.ev-tool-meta span::before { content: '> '; color: var(--ev-pink); }
.ev-tool .ev-tested { font-size: 0.875rem; padding: 12px 16px; }
.ev-tool .ev-engine-games { margin-top: 0; }
.ev-tool .ev-links { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); }
.ev-tool-parts { border-top: 1px dashed var(--border); padding-top: 12px; }
.ev-tool-parts-title { font-family: var(--ev-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.ev-tool-parts dl { display: grid; gap: 10px; margin: 0; }
.ev-tool-parts dl div { display: grid; gap: 2px; }
.ev-tool-parts dt code { font-family: var(--ev-mono); font-size: 0.78rem; color: var(--ev-term); }
.ev-tool-parts dd { margin: 0; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.55; }
.ev-tool-one .ev-section-head { margin-bottom: 0; }
.ev-tool-one .ev-tool-grid { grid-template-columns: minmax(0, 1fr); }
.ev-tool-strip .ev-point h3 a { color: inherit; text-decoration: none; }
.ev-tool-strip .ev-point h3 a:hover { color: var(--ev-term); }
.ev-tool-strip .ev-point code { font-family: var(--ev-mono); font-size: 0.78rem; color: var(--ev-term); }
@media (max-width: 480px) { .ev-tool { padding: 20px 16px 18px; } .ev-tool h3 { font-size: 1.5rem; } }

/* ── Round 5 (2026-11-26): the wow pass ──────────────────────────────────────────────────────────
   The hero's last-shipped line and a terminal that boots, a readout of where things stand whose
   numbers decode, the fleet map at six a side, In the works (cards and the bench board), and
   "start from an app we already run" under the offers. Delete this block to undo it. */
.ev-status--works .ev-status-dot { background: var(--ev-pink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-pink) 20%, transparent); animation: evPulse 1.8s ease-in-out infinite; }
.ev-status--build .ev-status-dot { background: var(--text-muted); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-muted) 18%, transparent); }
@keyframes evPulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ev-pink) 0%, transparent); } }

/* Last shipped */
.ev-shipped { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 26px; padding: 9px 14px; font-family: var(--ev-mono); font-size: 0.75rem; color: var(--text-secondary); text-decoration: none; border: 1px solid var(--border); border-radius: var(--ev-r); background: color-mix(in srgb, var(--surface) 70%, transparent); transition: border-color 160ms ease, transform 160ms ease; }
.ev-shipped:hover { border-color: var(--ev-term); transform: translateX(3px); color: var(--text); }
.ev-shipped-dot { width: 7px; height: 7px; background: var(--ev-term); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-term) 22%, transparent), 0 0 12px var(--ev-term); animation: evBlink 1.4s steps(2, start) infinite; }
.ev-shipped-k { text-transform: uppercase; letter-spacing: 0.08em; color: var(--ev-term); }
.ev-shipped strong { color: var(--text); font-weight: 600; }
.ev-shipped .ev-ico { color: var(--ev-term); }

/* The hero terminal boots: each line lands in turn, commands type themselves */
.ev-term--boot .ev-term-body p { opacity: 0; animation: evLine 0.01s linear forwards; }
.ev-term--boot .ev-term-body p:not(.ev-term-out) { clip-path: inset(0 100% 0 0); animation: evLine 0.01s linear forwards, evType 0.55s steps(24, end) forwards; }
.ev-term--boot .ev-term-body p:nth-child(1) { animation-delay: 0.5s; }
.ev-term--boot .ev-term-body p:nth-child(2) { animation-delay: 1.15s; }
.ev-term--boot .ev-term-body p:nth-child(3) { animation-delay: 1.5s; }
.ev-term--boot .ev-term-body p:nth-child(4) { animation-delay: 2.1s; }
.ev-term--boot .ev-term-body p:nth-child(5) { animation-delay: 2.45s; }
.ev-term--boot .ev-term-body p:nth-child(6) { animation-delay: 3.05s; }
.ev-term--boot .ev-term-body p:nth-child(7) { animation-delay: 3.4s; }
@keyframes evLine { to { opacity: 1; } }
@keyframes evType { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* One RGB split on the hero's second line as the page lands */
.ev-hero h1 span { animation: evGlitch 0.9s steps(1) 0.35s 1 both; }
@keyframes evGlitch {
    0%   { text-shadow: 3px 0 var(--ev-pink), -3px 0 var(--ev-term); transform: translateX(2px); }
    12%  { text-shadow: -4px 0 var(--ev-pink), 4px 0 var(--ev-term); transform: translateX(-3px); clip-path: inset(10% 0 45% 0); }
    24%  { text-shadow: 2px 0 var(--ev-pink), -2px 0 var(--ev-term); transform: none; clip-path: inset(55% 0 5% 0); }
    36%  { text-shadow: none; clip-path: none; }
    100% { text-shadow: none; transform: none; clip-path: none; }
}

/* The readout */
.ev-readout { margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
@media (min-width: 720px) { .ev-readout { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ev-readout > div { padding: 18px 20px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; }
.ev-readout > div::before { content: ''; position: absolute; top: -1px; left: -1px; width: 9px; height: 9px; border-top: 2px solid var(--ev-term); border-left: 2px solid var(--ev-term); }
.ev-readout dt { font-family: var(--ev-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ev-readout dd { margin: 6px 0 0; font-family: var(--ev-stencil); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: 0.02em; color: var(--ev-pink); font-variant-numeric: tabular-nums; display: inline-block; }
.ev-readout > div:nth-child(odd) dd { color: var(--text); }
.ev-readout-note { margin-top: 10px; font-family: var(--ev-mono); font-size: 0.68rem; color: var(--text-subtle); letter-spacing: 0.04em; }
@media (max-width: 719px) { .ev-readout > div:last-child { grid-column: 1 / -1; } }

/* In the works: a bench under a faint blueprint grid */
.ev-works { position: relative; overflow: hidden; }
.ev-works::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 32px 32px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); }
.ev-works > .ev-wrap { position: relative; }
.ev-works-cards .ev-card-media { position: relative; }
.ev-works-cards .ev-card-media::after { content: 'WIP'; position: absolute; top: 12px; right: 12px; padding: 3px 8px 4px; font-family: var(--ev-stencil); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; color: #07080E; background: var(--ev-pink); transform: rotate(3deg); box-shadow: 3px 3px 0 #07080E; }

.ev-bench { margin-top: clamp(36px, 5vw, 56px); border-radius: 8px; overflow: hidden; background: #05060A; border: 1px solid #232839; box-shadow: var(--ev-shadow-lg), 6px 6px 0 color-mix(in srgb, #FF2E88 30%, transparent); font-family: var(--ev-mono); position: relative; }
.ev-bench::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 3px); }
.ev-bench-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #0E1018; border-bottom: 1px solid #1A1E2C; font-size: 0.68rem; color: #7D8299; }
.ev-bench-bar i { width: 8px; height: 8px; border-radius: 1px; background: #343A50; }
.ev-bench-bar i:first-child { background: #FF2E88; }
.ev-bench-bar span { margin-left: 8px; }
.ev-bench-bar .ev-bench-asof { margin-left: auto; color: #4E546A; }
.ev-bench-cmd { margin: 0; padding: 14px 18px 6px; font-size: 0.78rem; color: #EDEFF6; }
.ev-bench-cmd span { color: #39FF88; }
.ev-bench-list { list-style: none; margin: 0; padding: 4px 0 10px; }
.ev-bench-list a { display: grid; grid-template-columns: 96px minmax(0, 220px) minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 11px 18px; font-size: 0.78rem; line-height: 1.55; color: #8A90A6; text-decoration: none; border-left: 2px solid transparent; transition: background 140ms ease, border-color 140ms ease; }
.ev-bench-list a:hover, .ev-bench-list a:focus-visible { background: rgba(57, 255, 136, 0.05); border-left-color: #39FF88; }
.ev-bench-list time { color: #FF2E88; }
.ev-bench-list strong { color: #EDEFF6; font-weight: 600; }
.ev-bench-list em { font-style: normal; color: #39FF88; white-space: nowrap; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ev-bench-list em::before { content: '[ '; color: #4E546A; } .ev-bench-list em::after { content: ' ]'; color: #4E546A; }
@media (max-width: 860px) {
    .ev-bench-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; }
    .ev-bench-list time { grid-column: 1; grid-row: 1; }
    .ev-bench-list em { grid-column: 2; grid-row: 1; }
    .ev-bench-list strong { grid-column: 1 / -1; }
    .ev-bench-what { grid-column: 1 / -1; }
}

/* Start from an app we already run */
.ev-starts { margin-top: clamp(28px, 4vw, 40px); }
.ev-starts-head { font-family: var(--ev-mono); font-size: 0.8125rem; color: var(--text-secondary); }
.ev-starts-head span { color: var(--ev-term); }
.ev-starts .ev-starts-grid { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
    .ev-term--boot .ev-term-body p { opacity: 1; clip-path: none; animation: none; }
    .ev-hero h1 span, .ev-status--works .ev-status-dot, .ev-shipped-dot { animation: none; }
}

/* ─── Round 6 (2026-11-26): project avatars, and Downloads as a character select ──────────────────────────
   ev_avatar() in includes/brand.php prints .ev-av: a dark tile with scan lines and green corner ticks round a
   32-pixel bust. The tile stays dark in light mode too, like a sticker. Pixels stay square (image-rendering). */
.ev-av {
    --av: 72px; position: relative; flex-shrink: 0; display: block; width: var(--av); height: var(--av);
    background: #0b120f repeating-linear-gradient(0deg, rgba(57, 255, 136, 0.07) 0 1px, transparent 1px 4px);
    box-shadow: inset 0 0 0 1px #1E2A24;
}
.ev-av img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.ev-av::before, .ev-av::after { content: ''; position: absolute; width: 9px; height: 9px; border: 2px solid #39FF88; pointer-events: none; }
.ev-av::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.ev-av::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }

/* The select panel in the Downloads hero: every build as a tile, three across */
body.ev-site .ev-pick { padding-top: 0; border-radius: 8px; overflow: hidden; background: #05060A; border: 1px solid #1E2622;
    box-shadow: var(--ev-shadow-lg), 6px 6px 0 color-mix(in srgb, #FF2E88 35%, transparent); }
.ev-pick-bar { display: flex; align-items: center; gap: 6px; height: 30px; margin: 0; padding: 0 14px; background: #0C110F; border-bottom: 1px solid #1A221E;
    font-family: var(--ev-mono); font-size: 0.68rem; color: #6F7C75; }
.ev-pick-bar i { width: 8px; height: 8px; border-radius: 1px; background: #2A332F; }
.ev-pick-bar i:first-child { background: #FF2E88; }
.ev-pick-bar span { margin-left: 8px; }
.ev-pick-bar b { margin-left: auto; font-weight: 500; color: #39FF88; }
.ev-pick ul { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ev-pick a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px 10px; text-decoration: none; text-align: center;
    border: 1px solid transparent; border-radius: 4px; transition: background 140ms ease, border-color 140ms ease; }
.ev-pick a .ev-av { --av: 72px; transition: transform 160ms var(--ease-smooth, ease); }
.ev-pick a .ev-av::before, .ev-pick a .ev-av::after { opacity: 0; transition: opacity 140ms ease; }
.ev-pick-name { font-family: var(--ev-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #E9EDE8; line-height: 1.2; }
.ev-pick small { font-family: var(--ev-mono); font-size: 0.66rem; color: #39FF88; opacity: 0.8; }
.ev-pick a:hover, .ev-pick a:focus-visible { background: rgba(57, 255, 136, 0.06); border-color: rgba(57, 255, 136, 0.35); }
.ev-pick a:hover .ev-av, .ev-pick a:focus-visible .ev-av { transform: translateY(-3px); }
.ev-pick a:hover .ev-av::before, .ev-pick a:hover .ev-av::after, .ev-pick a:focus-visible .ev-av::before, .ev-pick a:focus-visible .ev-av::after { opacity: 1; }
.ev-pick a:hover .ev-pick-name { color: #39FF88; }
@media (max-width: 1023px) { body.ev-site .ev-pick { max-width: 560px; } }
@media (max-width: 420px) { .ev-pick ul { padding: 8px; gap: 4px; } .ev-pick a .ev-av { --av: 60px; } .ev-pick-name { font-size: 0.66rem; } }

/* Each download card opens with its avatar */
.ev-dl-head { align-items: center; }
.ev-dl-title { flex: 1; min-width: 0; }
.ev-dl-head .ev-dl-ver { align-self: flex-start; }
.ev-av--dl { --av: 80px; margin: 2px 4px 2px 2px; box-shadow: inset 0 0 0 1px #1E2A24, 4px 4px 0 rgba(255, 46, 136, 0.35); }
.ev-dl--lead .ev-av--dl { --av: 112px; }
.ev-dl--lead h2 { font-size: 2.1rem; }
@media (max-width: 480px) {
    .ev-dl-head { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .ev-av--dl, .ev-dl--lead .ev-av--dl { --av: 64px; }
    .ev-dl-head .ev-dl-ver { flex-basis: 100%; }
}

/* Cards pack into two columns instead of stretching to their neighbour's height (the short cards were half empty).
   The full-width lead card spans both. Reading order runs down the first column, then the second. */
@media (min-width: 900px) {
    .ev-dl-grid { display: block; columns: 2; column-gap: 18px; }
    .ev-dl-grid > .ev-dl { break-inside: avoid; margin-bottom: 18px; }
    .ev-dl-grid > .ev-dl--lead { column-span: all; }
}
@media (prefers-reduced-motion: reduce) { .ev-pick a .ev-av { transition: none; } .ev-pick a:hover .ev-av { transform: none; } }

/* Project cards (ev_card): the avatar sits on the screenshot's bottom edge, half over it; a card without a
   screenshot opens with it, larger. */
.ev-card-body { position: relative; }
.ev-av--card { --av: 76px; z-index: 2; margin: calc(-22px - 38px) 0 4px; box-shadow: inset 0 0 0 1px #1E2A24, 4px 4px 0 rgba(255, 46, 136, 0.45), 0 0 0 4px var(--ev-card); }
.ev-card--text .ev-av--card { --av: 96px; margin-top: 0; box-shadow: inset 0 0 0 1px #1E2A24, 4px 4px 0 rgba(255, 46, 136, 0.45); }
.ev-bento > .ev-card--wide .ev-av--card { --av: 88px; margin-top: calc(-22px - 44px); }

/* Feature rows (Sofa, Edge Music, IRONGATE on the home page and /projects/): the avatar at the top right of the
   copy, level with the stencil number; the Sofa family list gets each member's gear. */
.ev-feature-copy { position: relative; }
.ev-av--feature { --av: 88px; position: absolute; top: 0; right: 0; box-shadow: inset 0 0 0 1px #1E2A24, 5px 5px 0 rgba(255, 46, 136, 0.45); }
.ev-family-item:has(.ev-av--mini) { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; }
.ev-family-item:has(.ev-av--mini) p { grid-column: 2 / -1; }
.ev-av--mini { --av: 44px; grid-row: span 2; align-self: start; }
.ev-av--mini::before, .ev-av--mini::after { width: 6px; height: 6px; border-width: 1.5px; }
@media (max-width: 480px) { .ev-av--feature { --av: 64px; } }

/* Flagship heroes (2026-11-26): text on the left, the project's fetch card (ev_fetch) on the right; the full-width
   screenshot and doors stay below. IRONGATE stacks the card over its sites console. */
.ev-hero-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .ev-hero-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.ev-hero-stack { display: grid; gap: 18px; }
.ev-hero-split > .ev-pick { width: 100%; }

.ev-fetch { border-radius: 8px; overflow: hidden; background: #05060A; border: 1px solid #1E2622; font-family: var(--ev-mono);
    box-shadow: var(--ev-shadow-lg), 6px 6px 0 color-mix(in srgb, #FF2E88 35%, transparent); position: relative; }
.ev-fetch::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 3px); }
.ev-fetch-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #0C110F; border-bottom: 1px solid #1A221E; font-size: 0.68rem; color: #6F7C75; }
.ev-fetch-bar i { width: 8px; height: 8px; border-radius: 1px; background: #2A332F; }
.ev-fetch-bar i:first-child { background: #FF2E88; }
.ev-fetch-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-fetch-body { display: flex; gap: 20px; align-items: flex-start; padding: 20px 20px 18px; }
.ev-av--fetch { --av: 112px; margin: 3px; }
.ev-fetch-info { min-width: 0; flex: 1; font-size: 0.75rem; line-height: 1.65; }
.ev-fetch-id { margin: 0; font-size: 0.85rem; }
.ev-fetch-id b { color: #39FF88; font-weight: 700; } .ev-fetch-id span { color: #E9EDE8; } .ev-fetch-id i { font-style: normal; color: #FF2E88; font-weight: 700; }
.ev-fetch-rule { margin: 0 0 4px; color: #3A4640; letter-spacing: 0.02em; overflow: hidden; white-space: nowrap; }
.ev-fetch dl { margin: 0; }
.ev-fetch dl div { display: flex; gap: 8px; }
.ev-fetch dt { color: #39FF88; font-weight: 700; white-space: nowrap; }
.ev-fetch dt::after { content: ':'; color: #6F7C75; }
.ev-fetch dd { margin: 0; color: #C9D2CC; min-width: 0; }
.ev-fetch-swatch { display: flex; gap: 0; margin: 10px 0 0; }
.ev-fetch-swatch i { width: 18px; height: 10px; }
.ev-fetch-swatch i:nth-child(1) { background: #050706; box-shadow: inset 0 0 0 1px #2A332F; } .ev-fetch-swatch i:nth-child(2) { background: #FF2E88; }
.ev-fetch-swatch i:nth-child(3) { background: #39FF88; } .ev-fetch-swatch i:nth-child(4) { background: #0F7A43; }
.ev-fetch-swatch i:nth-child(5) { background: #A3175A; } .ev-fetch-swatch i:nth-child(6) { background: #E9EDE8; }
@media (max-width: 1023px) { .ev-fetch, .ev-hero-stack { max-width: 560px; } }
@media (max-width: 480px) { .ev-fetch-body { flex-direction: column; gap: 14px; } .ev-av--fetch { --av: 96px; } }

/* A section that wears its avatar (Software's pieces, Lowforge on Engines) */
.ev-av--section { --av: 88px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px #1E2A24, 4px 4px 0 rgba(255, 46, 136, 0.45); }
.ev-soft-item .ev-av--section { float: right; margin: 0 4px 12px 18px; }
@media (max-width: 480px) { .ev-av--section { --av: 64px; } }

/* Shop: the "open now" drops for our own products wear their avatar, to the right of the name and text */
.ev-drop-body:has(.ev-av--drop) { position: relative; }
.ev-av--drop { --av: 64px; position: absolute; top: 48px; right: 20px; box-shadow: inset 0 0 0 1px #1E2A24, 3px 3px 0 rgba(255, 46, 136, 0.45); }
.ev-av--drop::before, .ev-av--drop::after { width: 7px; height: 7px; }
.ev-drop-body:has(.ev-av--drop) h3, .ev-drop-body:has(.ev-av--drop) .ev-drop-text { padding-right: 84px; }

/* A jump index as a terminal listing (ev_index, the FAQ's topics), and a fetch card with no avatar (Contact) */
.ev-index { border-radius: 8px; overflow: hidden; background: #05060A; border: 1px solid #1E2622; font-family: var(--ev-mono);
    box-shadow: var(--ev-shadow-lg), 6px 6px 0 color-mix(in srgb, #FF2E88 35%, transparent); }
.ev-index ol { list-style: none; margin: 0; padding: 8px 0 10px; }
.ev-index a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 18px; text-decoration: none;
    font-size: 0.8rem; color: #C9D2CC; border-left: 2px solid transparent; transition: background 140ms ease, border-color 140ms ease; }
.ev-index a:hover, .ev-index a:focus-visible { background: rgba(57, 255, 136, 0.05); border-left-color: #39FF88; color: #E9EDE8; }
.ev-index-n { color: #FF2E88; }
.ev-index a small { font-size: 0.68rem; color: #39FF88; opacity: 0.8; white-space: nowrap; }
@media (max-width: 1023px) { .ev-index { max-width: 560px; } }
.ev-fetch--plain .ev-fetch-body { padding-left: 22px; }
.ev-fetch--plain .ev-fetch-info { font-size: 0.8rem; }

/* Contact (2026-11-26): the form and the side column sit side by side only from 960 px. An inline style had kept two
   columns on phones too, squeezing the side to 126 px and pushing the page 80 px past a 375 px screen. */
@media (min-width: 960px) { .ev-split--contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }

/* Round 7 (2026-11-27): the rest of the pages. A jump list can lead each row with an avatar (the Changelog's log;
   a ">_" tile stands in where a product has none), and About's card lists our software as a lineup of avatars. */
.ev-index a:has(.ev-av--log) { grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.ev-av--log { --av: 34px; }
.ev-av--log::before, .ev-av--log::after { width: 5px; height: 5px; border-width: 1.5px; }
.ev-av--prompt { display: grid; place-items: center; color: #39FF88; font-size: 0.72rem; font-weight: 700; }
.ev-crew { padding-top: 18px; border-top: 1px solid var(--border); }
.ev-crew-h { display: flex; justify-content: space-between; margin: 0 0 12px; font-family: var(--ev-mono); font-size: 0.72rem; color: var(--text-muted); }
.ev-crew-h span::before { content: '$ '; color: #FF2E88; }
.ev-crew-h b { color: var(--ev-term, #39FF88); font-weight: 600; }
.ev-crew ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 14px 10px; }
.ev-crew a { display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--text-muted); font-family: var(--ev-mono); font-size: 0.62rem; }
.ev-crew a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-av--crew { --av: 52px; transition: transform 140ms ease, box-shadow 140ms ease; }
.ev-av--crew::before, .ev-av--crew::after { width: 6px; height: 6px; border-width: 1.5px; }
.ev-crew a:hover .ev-av--crew, .ev-crew a:focus-visible .ev-av--crew { transform: translate(-2px, -2px); box-shadow: inset 0 0 0 1px #1E2A24, 3px 3px 0 #FF2E88; }
.ev-crew a:hover, .ev-crew a:focus-visible { color: var(--text-primary, #E9EDE8); }
@media (prefers-reduced-motion: reduce) { .ev-av--crew { transition: none; } }
.ev-cp-hero h1 span { display: block; color: var(--ev-term); }
/* Long notes (the Services prices) wrap at the right on wide screens and drop under the name on phones. */
.ev-index a small { max-width: 24ch; text-align: right; white-space: normal; line-height: 1.35; }
@media (max-width: 599px) {
    .ev-index a, .ev-index a:has(.ev-av--log) { grid-template-columns: 34px minmax(0, 1fr); row-gap: 2px; }
    .ev-index a small { grid-column: 2; max-width: none; text-align: left; }
    .ev-index a:has(.ev-av--log) .ev-av--log { grid-row: span 2; }
    .ev-index .ev-pick-bar b { display: none; }
}

/* ── Makers (2026-11-28): /makers/, the developer page for sending games ── */
body.ev-site .ev-makers-code { margin: 0; padding: 18px 20px; background: var(--ev-ink, #050706); color: #E9EDE8; border: 1px solid rgba(57,255,136,.35); box-shadow: 6px 6px 0 #FF2E88; font-family: var(--ev-mono); font-size: 0.8rem; line-height: 1.6; overflow-x: auto; white-space: pre; min-width: 0; align-self: start; }
body.ev-site .ev-makers-code .c { color: #39FF88; }
body.ev-site .ev-makers-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
body.ev-site .ev-makers-list li { position: relative; padding-left: 20px; }
body.ev-site .ev-makers-list li::before { content: ">"; position: absolute; left: 0; color: #FF2E88; font-family: var(--ev-mono); }
body.ev-site .ev-makers-now { font-family: var(--ev-mono); font-size: 0.65rem; letter-spacing: .1em; text-transform: uppercase; background: #39FF88; color: #050706; padding: 2px 6px; vertical-align: middle; }
body.ev-site #makers .ev-section-head a { color: #39FF88; text-underline-offset: 3px; }
body.ev-site .ev-mk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 860px; }
body.ev-site .ev-mk-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid rgba(57,255,136,.18); }
body.ev-site .ev-mk-step:first-child { border-top: 0; padding-top: 0; }
body.ev-site .ev-mk-n { font-family: var(--ev-display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: #FF2E88; }
body.ev-site .ev-mk-step h3 { font-family: var(--ev-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 8px; }
body.ev-site .ev-mk-step > div { display: grid; gap: 12px; min-width: 0; }
body.ev-site .ev-mk-step .ev-makers-list { margin-top: 0; }
body.ev-site .ev-mk-small { font-size: .9rem; opacity: .8; }
body.ev-site .ev-makers-prompt { white-space: pre-wrap; }
@media (max-width: 599px) { body.ev-site .ev-mk-step { grid-template-columns: 1fr; gap: 6px; } body.ev-site .ev-mk-n { font-size: 1.6rem; } }
body.ev-site .ev-mk-steps { grid-template-columns: minmax(0, 1fr); }
body.ev-site .ev-mk-step { min-width: 0; }
body.ev-site .ev-mk-step .ev-makers-code { max-width: 100%; }
body.ev-site .ev-makers-prompt { overflow-wrap: anywhere; }
body.ev-site .ev-makers .ev-split > * { min-width: 0; }
body.ev-site .ev-mk-steps a { color: #39FF88; text-underline-offset: 3px; }

/* An odd last card in "In the works" spans both columns with its picture beside the words, so it never
   sits alone in a half-empty row (CALLTIME made five, 2026-11-28). */
@media (min-width: 680px) { .ev-works-cards > .ev-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
    .ev-works-cards > .ev-card:last-child:nth-child(odd) { flex-direction: row; }
    .ev-works-cards > .ev-card:last-child:nth-child(odd) .ev-card-media { flex: 0 0 56%; align-self: flex-start; border-bottom: 0; border-right: 1px solid var(--ev-line); }
    .ev-works-cards > .ev-card:last-child:nth-child(odd) .ev-card-body { min-width: 0; justify-content: center; }
}

/* EdgeVenture OS guide (downloads/edgeventure-os.php, 2026-11-29): a heading per system, cards per app, small numbered steps. */
.ev-guide-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 34px 0 12px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.ev-guide-h:first-of-type { margin-top: 8px; }
.ev-guide-h small { font-family: var(--ev-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-muted); }
.ev-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ev-guide-card { padding: 18px 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface, transparent); min-width: 0; }
.ev-guide-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.ev-guide-card p { margin: 0 0 8px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-guide-card p:last-child { margin-bottom: 0; }
.ev-mini-steps { margin: 0 0 8px; padding-left: 20px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.ev-mini-steps li { margin: 3px 0; }
.ev-mini-note { font-family: var(--ev-mono); font-size: 0.74rem !important; }
.ev-steps li .ev-dl-copy { grid-column: 2; margin-top: 6px; }
.ev-guide-lead { max-width: 68ch; margin: 0 0 24px; color: var(--text); font-size: 1.0625rem; line-height: 1.65; }
.ev-layers { display: grid; gap: 6px; max-width: 760px; }
.ev-layer { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 18px; align-items: baseline; padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface, transparent); }
.ev-layer b { font-family: var(--ev-mono); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.ev-layer span { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; }
.ev-layer.is-ours { border-color: color-mix(in srgb, var(--ev-term) 45%, var(--border)); }
.ev-layer.is-ours b { color: var(--ev-term); }
.ev-guide-card p a { color: var(--ev-term); text-decoration: underline; text-underline-offset: 3px; }
.ev-guide-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); max-width: 1000px; }
@media (max-width: 560px) { .ev-layer { grid-template-columns: 1fr; } }
