/* kenichi/explorer: a personal block explorer */
:root {
    --bg: #faf8f4;
    --surface: #ffffff;
    --surface-2: #f4efe7;
    --ink: #121014;
    --ink-2: #4d4850;
    --ink-3: #8a838c;
    --line: #e9e2d6;
    --accent: #c2410c;
    --accent-ink: #ffffff;
    --brand: #ff6a1f;
    --brand-ink: #121014;
    --mark: #ffd9c2;
    --ok: #0f8a5f;    --ok-bg: #e3f5ec;
    --test: #8a5a00;  --test-bg: #fbf0d9;
    --wip: #6b4bd1;   --wip-bg: #ede8fb;
    --vol: #a33a3a;   --vol-bg: #f9e5e5;
    --radius: 14px;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --display: 'Nunito', 'Inter', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #121014; --surface: #1c1a1f; --surface-2: #24212a; --ink: #faf8f4; --ink-2: #bdb7c0; --ink-3: #857f88;
        --line: #322e38; --accent: #ff8a4c; --accent-ink: #121014; --mark: #5c2a0e;
        --ok: #4cd29a; --ok-bg: #12291f; --test: #e8b75a; --test-bg: #2c2312; --wip: #a995ff; --wip-bg: #221c3a; --vol: #ff8c8c; --vol-bg: #331818;
    }
}
:root[data-theme="dark"] {
    --bg: #121014; --surface: #1c1a1f; --surface-2: #24212a; --ink: #faf8f4; --ink-2: #bdb7c0; --ink-3: #857f88;
    --line: #322e38; --accent: #ff8a4c; --accent-ink: #121014; --mark: #5c2a0e;
    --ok: #4cd29a; --ok-bg: #12291f; --test: #e8b75a; --test-bg: #2c2312; --wip: #a995ff; --wip-bg: #221c3a; --vol: #ff8c8c; --vol-bg: #331818;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mono, code, kbd { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-dim { color: var(--ink-3); font-weight: 500; }
.brand-mark { width: 18px; height: 18px; background: var(--ink); transform: rotate(45deg); border-radius: 3px; box-shadow: inset 0 0 0 4px var(--bg); outline: 2px solid var(--ink); outline-offset: -2px; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 40px; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 2; flex: none; }
.search input { flex: 1; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; min-width: 0; }
.search input::placeholder { color: var(--ink-3); }
.search kbd { font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.topbar-actions { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: var(--ink-3); }
.btn-solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.chip-btn { font: 500 12px var(--mono); color: var(--ink-3); background: transparent; border: 1px dashed var(--line); border-radius: 6px; padding: 2px 8px; cursor: pointer; }
.chip-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.tag { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tag-strong { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); font-weight: 700; }
.pill { display: inline-block; font: 600 11.5px var(--sans); letter-spacing: 0.01em; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.pill-ok { color: var(--ok); background: var(--ok-bg); }
.pill-live { color: var(--ok); background: var(--ok-bg); }
.pill-live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.pill-test { color: var(--test); background: var(--test-bg); }
.pill-wip { color: var(--wip); background: var(--wip-bg); }
.pill-vol { color: var(--vol); background: var(--vol-bg); }
.pill-com { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.eyebrow { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }

/* Address header */
.address { display: flex; gap: 20px; align-items: center; padding-top: 40px; }
.avatar { width: 72px; height: 72px; border-radius: 16px; border: 1px solid var(--line); image-rendering: pixelated; flex: none; }
.address h1 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.025em; line-height: 1.15; margin: 4px 0 10px; }
.address-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.address-line code { font-size: 14px; color: var(--ink-2); }

.pitch { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-top: 28px; padding-bottom: 28px; }
.pitch-text { font-size: clamp(20px, 2.3vw, 27px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.pitch-text mark { background: linear-gradient(transparent 58%, var(--mark) 58%); color: inherit; }
.status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.pitch-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Overview cards */
.overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card-title { font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; }
.kv dt, .kv dd { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.kv dt:nth-last-of-type(1), .kv dd:last-of-type { border-bottom: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { text-align: right; font-weight: 500; }
.kv-num dd { font: 600 15px var(--mono); }

/* Sticky section tabs */
.tabs-bar { position: sticky; top: 64px; z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); margin-top: 36px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 14px 12px; color: var(--ink-3); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--ink); text-decoration: none; }
.tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.count { font: 500 11px var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; margin-left: 4px; color: var(--ink-2); }

/* Blocks */
.block { padding-top: 56px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.block-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.block-head p { color: var(--ink-2); max-width: 620px; }

/* Case studies: transaction detail cards */
.tx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.tx-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tx-head h3 { font-size: 17px; letter-spacing: -0.01em; }
.tx-org { font: 500 12.5px var(--mono); color: var(--ink-3); text-align: right; }
.tx-body { display: grid; grid-template-columns: 140px 1fr; }
.tx-body dt, .tx-body dd { padding: 14px 22px; border-bottom: 1px solid var(--line); }
.tx-body dt:last-of-type, .tx-body dd:last-of-type { border-bottom: 0; }
.tx-body dt { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.tx-body dd { color: var(--ink-2); }
.tx-body dd b { color: var(--ink); }
.tx-body dd a { margin-right: 16px; font-weight: 500; }

/* Tables (div-based so they stack on phones) */
.table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: grid; gap: 18px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-head { background: var(--surface-2); font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding-top: 11px; padding-bottom: 11px; }
.builds-table .row { grid-template-columns: 1.15fr 2fr 0.9fr 0.8fr 0.8fr; }
.b-name { display: flex; flex-direction: column; gap: 2px; }
.b-name b { font-size: 15px; }
.b-name small { color: var(--ink-3); font-size: 12px; }
.ref { font-size: 11px; color: var(--ink-3); }
.b-what { color: var(--ink-2); font-size: 14px; }
.b-chain { display: flex; flex-wrap: wrap; gap: 6px; }
.chain { font: 500 11.5px var(--mono); font-style: normal; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.b-links { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 13.5px; }
.build:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter { font: 600 13px var(--sans); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.filter:hover { border-color: var(--ink-3); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.work-table .row-head, .work-table summary { display: grid; grid-template-columns: 110px 1.4fr 1.3fr 1fr 130px; gap: 18px; align-items: center; }
.work-table details.row { display: block; padding: 0; }
.work-table summary { padding: 15px 20px; cursor: pointer; list-style: none; }
.work-table summary::-webkit-details-marker { display: none; }
.work-table summary:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.work-table summary b { font-weight: 600; }
.work-table details[open] summary { background: var(--surface-2); }
.work-table details p { padding: 4px 20px 18px calc(110px + 38px); color: var(--ink-2); background: var(--surface-2); }
.method { font: 500 11.5px var(--mono); color: var(--ink-2); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; justify-self: start; background: var(--surface); }
.org { color: var(--accent); font-weight: 500; }
.when { font: 400 13px var(--mono); color: var(--ink-3); }
.work-table .pill { justify-self: start; }

/* Services as contract functions */
.fns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fn { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fn-main { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.fn-sig { font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.fn-sig b { color: var(--ink); }
.fn-sig i { color: var(--accent); font-style: normal; }
.fn-n { font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 0 6px; margin-right: 8px; }
.fn p { color: var(--ink-2); flex: 1; }
.fn-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fn-meta { font: 500 12px var(--mono); color: var(--ink-3); }

/* Data */
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; }
.dash:hover { text-decoration: none; border-color: var(--ink-3); }
.dash img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--surface-2); border-bottom: 1px solid var(--line); display: block; }
.dash span { padding: 12px 14px; display: flex; flex-direction: column; }
.dash b { font-size: 14px; }
.dash small { color: var(--ink-3); font-size: 12.5px; }

/* Writing as event logs */
.logs { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logs li { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.logs li:last-child { border-bottom: 0; }
.log-kind { font: 500 11.5px var(--mono); color: var(--ink-3); }
.logs a { font-weight: 500; }
.log-where { font-size: 12.5px; color: var(--ink-3); }
.small-print { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* Contact and footer */
.contact { margin-top: 72px; padding: 36px; border-radius: 20px; background: var(--ink); color: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 6px 0 8px; }
.contact p { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.contact .eyebrow { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, var(--ink)); }
.contact .btn-solid { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.contact .btn:hover { border-color: var(--bg); }
.footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 40px; color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; }
.empty { padding-top: 40px; color: var(--ink-3); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 13.5px; opacity: 0; transition: 0.2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.is-hidden { display: none !important; }

/* Responsive */
@media (max-width: 1000px) {
    .builds-table .row { grid-template-columns: 1.2fr 2fr 1fr 0.9fr; }
    .builds-table .row > :nth-child(3) { display: none; }
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .pitch { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
    body { font-size: 14.5px; }
    .wrap { padding: 0 16px; }
    .topbar-inner { gap: 10px; }
    .brand-dim, .search kbd, .topbar-actions .btn { display: none; }
    .address { align-items: flex-start; padding-top: 28px; }
    .avatar { width: 56px; height: 56px; }
    .overview, .fns { grid-template-columns: 1fr; }
    .row-head { display: none !important; }
    .builds-table .row { grid-template-columns: 1fr auto; gap: 8px 12px; }
    .builds-table .row > :nth-child(3) { display: flex; }
    .b-name { grid-column: 1; }
    .b-status { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
    .b-what, .b-chain { grid-column: 1 / -1; }
    .b-links { grid-column: 1 / -1; flex-direction: row; gap: 16px; }
    .work-table summary { grid-template-columns: 1fr auto; gap: 4px 12px; }
    .work-table summary .method { display: none; }
    .work-table summary b { grid-column: 1; }
    .work-table summary .pill { grid-column: 2; grid-row: 1; justify-self: end; }
    .work-table summary .org { grid-column: 1; }
    .work-table summary .when { grid-column: 2; grid-row: 2; justify-self: end; }
    .work-table details p { padding: 4px 20px 18px; }
    .tx-head { grid-template-columns: 1fr; gap: 8px; }
    .tx-head .pill { justify-self: start; }
    .tx-org { text-align: left; }
    .tx-body { grid-template-columns: 1fr; }
    .tx-body dt { border-bottom: 0; padding-bottom: 2px; }
    .tx-body dd { padding-top: 0; }
    .dash-grid { grid-template-columns: 1fr; }
    .logs li { grid-template-columns: 1fr; gap: 2px; }
    .contact { padding: 26px 20px; }
    .pitch { padding-top: 22px; padding-bottom: 24px; }
}


/* ---- Motion refresh: warm, chunky, alive ---- */
h1, h2, h3, .brand, .btn, .filter, .tab, .card-title, .b-name b { font-family: var(--display); }
h1, h2 { font-weight: 900; }
h3, .b-name b { font-weight: 800; }
.btn, .filter, .tab, .brand { font-weight: 800; }
:root { --radius: 18px; }
::selection { background: var(--brand); color: var(--brand-ink); }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); z-index: 30; }

/* Hero with the 3D block */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero .pitch { grid-template-columns: 1fr; gap: 22px; align-items: start; }
.hero-scene { position: relative; height: 400px; cursor: pointer; touch-action: pan-y; }
.hero-scene::before { content: ''; position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 34%, transparent), transparent 72%); filter: blur(18px); animation: breathe 6s ease-in-out infinite; }
.hero-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-scene.no-gl { display: none; }
.scene-hint { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-size: 11px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.75; } }

/* Sticker buttons */
.btn { border-radius: 12px; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s, border-color 0.15s; }
.btn-solid { background: var(--brand); border-color: var(--ink); color: var(--brand-ink); box-shadow: 0 3px 0 var(--ink); }
.btn-solid:hover { background: var(--brand); border-color: var(--ink); color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.btn-solid:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn:not(.btn-solid):hover { transform: translateY(-2px); }
.contact .btn-solid { background: var(--brand); color: var(--brand-ink); border-color: var(--bg); box-shadow: 0 3px 0 var(--bg); }
.contact .btn-solid:hover { box-shadow: 0 5px 0 var(--bg); border-color: var(--bg); }
.filter { transition: transform 0.15s, background 0.15s, color 0.15s; }
.filter:hover { transform: translateY(-1px); }
.filter.is-on { background: var(--brand); border-color: var(--ink); color: var(--brand-ink); box-shadow: 0 2px 0 var(--ink); }
.tab.is-on { border-bottom-color: var(--brand); }
.brand-mark { background: var(--brand); outline-color: var(--ink); transition: transform 0.5s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand-mark { transform: rotate(225deg); }
.avatar { transition: transform 0.4s cubic-bezier(.34,1.56,.64,1); box-shadow: 4px 4px 0 var(--brand); }
.avatar:hover { transform: rotate(-6deg) scale(1.06); }

/* Cards lift */
.card, .fn, .dash, .tx { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s; }
.card:hover, .fn:hover, .dash:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--brand); }
.fn-main { box-shadow: 5px 5px 0 var(--brand); }
.dash img { transition: transform 0.5s ease; }
.dash:hover img { transform: scale(1.04); }
.build, .work-table summary, .logs li { transition: background 0.2s, box-shadow 0.2s; }
.build:hover, .work-table summary:hover, .logs li:hover { box-shadow: inset 4px 0 0 var(--brand); }
.b-links a, .tx-body dd a { display: inline-block; transition: transform 0.15s; }
.b-links a:hover, .tx-body dd a:hover { transform: translateX(3px); }
.kv-num dd { color: var(--accent); font-variant-numeric: tabular-nums; }

/* Entrance and scroll reveal (classes are added by main.js, so no-JS still shows everything) */
.hero-copy > * > *, .hero-copy .address { animation: rise 0.7s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy .pitch-text { animation-delay: 0.12s; }
.hero-copy .pitch-side { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover, .fn.reveal.in:hover, .dash.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.pitch-text mark { background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 88% / 0% 42%; animation: swipe 0.9s 0.7s ease forwards; }
@keyframes swipe { to { background-size: 100% 42%; } }

@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; gap: 0; }
    .hero-scene { height: 260px; order: -1; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .pitch-text mark { background-size: 100% 42%; }
    html { scroll-behavior: auto; }
}
