/* ============================================
   Chris Teceno, Portfolio
   Live since 2026-09-04 (was Option E: The Brief)
   Sticky identity column, one scrolling column of proof.
   Built for a recruiter who gives the page twenty seconds.
   Same palette as the live site; no cards, no hover theater.
   ============================================ */

:root {
    --bg: #1a1c24;
    --bg-card: #20232c;
    --border: #2e323c;
    --border-hover: #3e4450;
    --text: #eae8e4;
    --text-muted: #a3a6ae;
    --text-dim: #878b96;
    --accent: #6db0e6;
    --accent-light: #98cdf0;
    --green: #66c496;
    --serif: "Instrument Serif", Georgia, serif;
    --sans: "Outfit", system-ui, sans-serif;
    --mono: "JetBrains Mono", monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 2rem; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; display: block; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }

.page {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 340px 1fr; gap: 5rem;
    padding: 0 2.5rem;
}

/* --- Side --- */

.side { position: relative; }
.side-inner {
    position: sticky; top: 0;
    padding: 4.5rem 0 3rem;
    min-height: 100vh;
    display: flex; flex-direction: column;
}
.side-photo {
    width: 220px; height: 220px; border-radius: 10px; object-fit: cover; object-position: center 20%;
    filter: grayscale(15%) contrast(1.04);
    outline: 1px solid var(--border-hover); outline-offset: 4px;
    margin-bottom: 1.75rem;
}
.side-name { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.side-role { font-family: var(--mono); font-size: 0.76rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.side-summary { color: var(--text-muted); font-size: 0.98rem; line-height: 1.6; margin-bottom: 1.75rem; max-width: 30ch; }

.side-nav { display: flex; flex-direction: column; gap: 0.35rem; margin: 2.5rem 0; }
.side-nav a {
    display: flex; align-items: baseline; gap: 0.9rem;
    font-size: 0.9rem; font-weight: 500; color: var(--text-dim); padding: 0.2rem 0;
}
.side-nav a span { font-family: var(--mono); font-size: 0.68rem; color: var(--text-dim); width: 1.6rem; }
.side-nav a:hover { color: var(--text); }
.side-nav a:hover span { color: var(--accent); }

.side-links { display: flex; flex-direction: column; gap: 0.3rem; margin-top: auto; }
.side-links a { font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted); }
.side-links a:hover { color: var(--accent); }
.side-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 1rem; }

/* Buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.7rem 1.3rem; border-radius: 6px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
    border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s;
    align-self: flex-start;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-light); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }

/* --- Main --- */

.main { padding: 4.5rem 0 2rem; min-width: 0; }
.block { padding: 0 0 4.5rem; margin-bottom: 4.5rem; border-bottom: 1px solid var(--border); }
.block:last-of-type { border-bottom: none; }
.block-title {
    font-family: var(--serif); font-size: 1.9rem; font-weight: 400; letter-spacing: -0.01em;
    display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.75rem;
}
.block-title span { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.05em; }
.lede { font-size: 1.15rem; color: var(--text); line-height: 1.55; max-width: 62ch; text-wrap: pretty; }

.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; margin-top: 2.5rem; }
.proof dt { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.proof dt i { font-style: normal; font-size: 1.4rem; color: var(--text-dim); }
.proof dd { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; margin-top: 0.5rem; max-width: 30ch; }

/* Work rows */

.work { padding: 1.75rem 0; border-top: 1px solid var(--border); }
.work:first-of-type { border-top: none; padding-top: 0; }
.work-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.work h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.work-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.work-meta a { color: var(--accent); }
.work p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; max-width: 70ch; }
.work-tags { font-family: var(--mono); font-size: 0.74rem; color: var(--text-dim); margin-top: 0.85rem; letter-spacing: 0.01em; }

.chain { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 1.1rem 0 0.25rem; }
.chain li {
    position: relative;
    font-family: var(--mono); font-size: 0.74rem; color: var(--text);
    padding: 0.3rem 0.65rem; border: 1px solid var(--border-hover); border-radius: 4px;
}
.chain li.is-human { border-color: rgba(102, 196, 150, 0.55); color: var(--green); }
.chain li:not(:last-child)::after {
    content: "\2192"; color: var(--text-dim);
    position: absolute; right: -1.25rem; top: 50%; transform: translateY(-50%);
}

/* Path */

.path li { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--border); }
.path li:first-child { border-top: none; padding-top: 0; }
.path .when { font-family: var(--mono); font-size: 0.76rem; color: var(--text-dim); padding-top: 0.25rem; white-space: nowrap; }
.path strong { font-weight: 500; color: var(--text); font-size: 1rem; }
.path div { color: var(--text-muted); font-size: 0.95rem; }
.path p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-top: 0.25rem; max-width: 64ch; }
.path .pivot { padding: 0.75rem 0; }
.pivot-label {
    font-family: var(--mono); font-size: 0.68rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.2rem 0.65rem; border: 1px dashed rgba(109, 176, 230, 0.4); border-radius: 4px; display: inline-block;
}

/* Stack */

.stack div { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 0.9rem 0; border-top: 1px solid var(--border); }
.stack div:first-child { border-top: none; padding-top: 0; }
.stack dt { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 0.3rem; }
.stack dd { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Contact */

.contact-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }

.foot { padding: 2rem 0 3rem; border-top: 1px solid var(--border); }
.foot p { font-family: var(--mono); font-size: 0.74rem; color: var(--text-dim); letter-spacing: 0.03em; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
    .page { grid-template-columns: 1fr; gap: 0; padding: 0 1.5rem; }
    .side-inner { position: static; min-height: 0; padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); }
    .side-photo { width: 140px; height: 140px; margin-bottom: 1.25rem; }
    .side-name { font-size: 2.2rem; }
    .side-summary { max-width: 60ch; }
    .side-nav { display: none; }
    .side-links { margin-top: 1.5rem; }
    .main { padding-top: 3rem; }
    .block { padding-bottom: 3rem; margin-bottom: 3rem; }
    .proof { gap: 1.5rem 2rem; }
    .proof dt { font-size: 2.4rem; }
}

@media (max-width: 560px) {
    .path li, .stack div { grid-template-columns: 1fr; gap: 0.25rem; }
    .path .when, .stack dt { padding-top: 0; }
    .work-head { flex-direction: column; gap: 0.25rem; }
    .contact-row .btn { flex: 1 1 100%; }
    .chain { gap: 0.4rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ============================================
   Now: factory animation, local vs cloud, human gates
   ============================================ */

:root { --local: #e0b46b; }

.factory {
    margin-top: 2.5rem; padding: 1.5rem 1.6rem 1.35rem;
    border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card);
}
.factory-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.factory-title {
    display: flex; align-items: center; gap: 0.55rem;
    font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em;
}
.factory-state { color: var(--accent); }
.factory-state::before { content: "\00b7\00a0"; color: var(--text-dim); }
.factory-state.is-human { color: var(--green); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(102, 196, 150, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(102, 196, 150, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 196, 150, 0); }
}
.factory-task { font-size: 0.95rem; color: var(--text); }
.factory-task span { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-right: 0.4rem; }
.factory-task b { font-weight: 500; }

.stages { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.5rem; }
.stages li {
    position: relative; display: flex; flex-direction: column; gap: 0.15rem;
    padding: 0.6rem 0.65rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg);
    font-family: var(--mono); font-size: 0.74rem; color: var(--text-dim);
    transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.stages li span { font-size: 0.6rem; color: var(--text-dim); letter-spacing: 0.06em; }
.stages li.is-done { color: var(--text-muted); border-color: var(--border-hover); }
.stages li.is-done::after { content: "\2713"; position: absolute; right: 0.55rem; top: 0.5rem; font-size: 0.66rem; color: var(--green); }
.stages li.is-active { color: var(--text); border-color: var(--accent); background: rgba(109, 176, 230, 0.08); box-shadow: 0 0 0 3px rgba(109, 176, 230, 0.12); }
.stages li.is-active span { color: var(--accent); }
.stages li[data-kind="human"].is-active {
    border-color: var(--green); background: rgba(102, 196, 150, 0.08); box-shadow: 0 0 0 3px rgba(102, 196, 150, 0.14);
    animation: breathe 1.3s ease-in-out infinite;
}
.stages li[data-kind="human"].is-active span { color: var(--green); }
@keyframes breathe { 50% { box-shadow: 0 0 0 6px rgba(102, 196, 150, 0.06); } }

.factory-progress { height: 2px; margin-top: 1rem; background: var(--border); border-radius: 1px; overflow: hidden; }
.factory-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.6s ease; }
.factory-log { font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted); margin-top: 0.9rem; min-height: 1.4em; }
.factory-log.is-human { color: var(--green); }
.factory-log.is-human::before { content: "\25CF\00a0"; }
.factory-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1rem; font-family: var(--mono); font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.factory-legend li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 0.45rem; vertical-align: -1px; }
.lg-agent::before { background: var(--accent); }
.lg-human::before { background: var(--green); }
.lg-check::before { background: transparent; border: 1px solid var(--border-hover); border-radius: 50%; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.panel { padding: 1.5rem 1.6rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); display: flex; flex-direction: column; }
.panel-kicker { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.panel h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; line-height: 1.25; margin: 0.5rem 0 1.1rem; text-wrap: balance; }

.lanes { display: grid; gap: 0.6rem; }
.lane {
    position: relative; overflow: hidden;
    padding: 0.85rem 0.95rem 0.85rem 1rem; border-left: 2px solid; border-radius: 0 6px 6px 0; background: var(--bg);
    font-size: 0.86rem; line-height: 1.5; color: var(--text-muted);
}
.lane em { display: block; font-style: normal; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.lane i { position: absolute; top: 0; left: 0; height: 2px; width: 30%; background: linear-gradient(90deg, transparent, currentColor); animation: travel linear infinite; opacity: 0.9; }
.lane-cloud { border-color: var(--accent); color: var(--text-muted); }
.lane-cloud em, .lane-cloud i { color: var(--accent); }
.lane-cloud i { animation-duration: 3.4s; }
.lane-local { border-color: var(--local); }
.lane-local em, .lane-local i { color: var(--local); }
.lane-local i { animation-duration: 1.3s; }
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
.mini-stats dt { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.mini-stats dd { font-size: 0.78rem; color: var(--text-dim); line-height: 1.4; margin-top: 0.3rem; }

.gates li { padding: 0.8rem 0; border-top: 1px solid var(--border); font-size: 0.88rem; line-height: 1.55; color: var(--text-muted); }
.gates li:first-child { border-top: none; padding-top: 0; }
.gates b { display: block; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; color: var(--green); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.panel-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.84rem; line-height: 1.55; color: var(--text-dim); }

.proof.is-compact { grid-template-columns: repeat(4, 1fr); gap: 1.25rem 2rem; margin-top: 2.25rem; }
.proof.is-compact dt { font-size: 2.1rem; }
.proof.is-compact dd { font-size: 0.82rem; margin-top: 0.35rem; }

@media (max-width: 960px) {
    .stages { grid-template-columns: repeat(4, 1fr); }
    .duo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .factory { padding: 1.25rem 1.1rem 1.1rem; }
    .stages { grid-template-columns: repeat(2, 1fr); }
    .mini-stats { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
    .mini-stats dt { font-size: 1.4rem; }
    .proof.is-compact { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .live-dot, .lane i, .stages li[data-kind="human"].is-active { animation: none !important; }
    .lane i { display: none; }
}
.gates li.is-check b { color: var(--text-dim); }

/* Intake row and per-stage model tags */
.factory-note { font-size: 0.92rem; color: var(--text-muted); max-width: 46ch; text-align: right; }
.intake {
    display: grid; grid-template-columns: 1fr 64px 1.25fr 64px 1.25fr; gap: 0.75rem; align-items: stretch;
    margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px dashed var(--border-hover);
}
.intake-col { padding: 0.85rem 0.95rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); font-size: 0.84rem; line-height: 1.5; color: var(--text-muted); }
.intake-col em { display: block; font-style: normal; font-family: var(--mono); font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.45rem; }
.intake-col em.c-local { color: var(--local); }
.intake-col em.c-human { color: var(--green); }
.intake-sources { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.intake-sources li { font-family: var(--mono); font-size: 0.7rem; color: var(--text); padding: 0.2rem 0.5rem; border: 1px solid var(--border-hover); border-radius: 4px; }
.intake-flow { position: relative; align-self: center; height: 2px; background: var(--border); }
.intake-flow i {
    position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
    animation: intake-move 2.6s linear infinite;
}
.intake-flow i:nth-child(2) { animation-delay: 0.35s; }
.intake-flow i:nth-child(3) { animation-delay: 0.7s; }
.intake-flow i:nth-child(4) { animation-delay: 1.05s; }
.intake-flow i:nth-child(5) { animation-delay: 1.4s; }
.intake-flow i:nth-child(6) { animation-delay: 1.75s; }
.intake-flow i:nth-child(7) { animation-delay: 2.1s; }
.intake-flow i.drop { animation-name: intake-drop; }
.intake-flow.is-thin i { background: var(--green); animation-duration: 2.6s; }
.intake-flow.is-thin i:nth-child(2) { animation-delay: 1.3s; }
@keyframes intake-move { from { transform: translateX(0); } to { transform: translateX(58px); } }
@keyframes intake-drop { 0% { transform: translateX(0); opacity: 1; } 55% { opacity: 1; } 75% { transform: translateX(44px) translateY(6px); opacity: 0; } 100% { transform: translateX(44px) translateY(6px); opacity: 0; } }

.factory-task { margin-bottom: 0.8rem; }
.stages li em { font-style: normal; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.2rem; color: var(--text-dim); }
.stages li[data-model="local"] em { color: var(--local); }
.stages li[data-model="cloud"] em { color: var(--accent); }
.stages li[data-model="human"] em { color: var(--green); }
.stages li[data-model="local"].is-active { border-color: var(--local); background: rgba(224, 180, 107, 0.08); box-shadow: 0 0 0 3px rgba(224, 180, 107, 0.12); }
.stages li[data-model="local"].is-active span { color: var(--local); }
.stages li[data-model="none"].is-active { border-color: var(--text-muted); background: rgba(163, 166, 174, 0.06); box-shadow: 0 0 0 3px rgba(163, 166, 174, 0.1); }
.stages li[data-model="none"].is-active span { color: var(--text-muted); }
.lg-local::before { background: var(--local); }
.lg-cloud::before { background: var(--accent); }

.lane-none { border-color: var(--border-hover); }
.lane-none em { color: var(--text-dim); }

@media (max-width: 960px) {
    .factory-note { text-align: left; max-width: none; }
    .intake { grid-template-columns: 1fr; gap: 0.5rem; }
    .intake-flow { display: none; }
    .intake-col + .intake-col { position: relative; margin-top: 0.9rem; }
    .intake-col + .intake-col::before { content: "\2193"; position: absolute; top: -1.25rem; left: 0.95rem; font-family: var(--mono); font-size: 0.8rem; color: var(--text-dim); }
    .intake-col + .intake-col + .intake-col + .intake-col::before { color: var(--green); }
}
@media (prefers-reduced-motion: reduce) {
    .intake-flow i { animation: none !important; opacity: 0; }
}
.factory-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.factory-note { text-align: left; max-width: 62ch; }

/* Short viewports: keep the whole sticky sidebar reachable */
.side-inner { max-height: 100vh; overflow-y: auto; scrollbar-width: none; }
.side-inner::-webkit-scrollbar { display: none; }
@media (min-width: 961px) and (max-height: 900px) {
    .side-inner { padding-top: 3rem; padding-bottom: 2rem; }
    .side-photo { width: 150px; height: 150px; margin-bottom: 1.25rem; }
    .side-name { font-size: 2.2rem; }
    .side-summary { margin-bottom: 1.25rem; }
    .side-nav { margin: 1.5rem 0; gap: 0.2rem; }
}

/* Compact intake line for phones */
.intake-compact { display: none; font-family: var(--mono); font-size: 0.74rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px dashed var(--border-hover); }
.intake-compact span { color: var(--green); margin: 0 0.15rem; }
@media (max-width: 560px) {
    .intake { display: none; }
    .intake-compact { display: block; }
}
.factory-note a { color: var(--accent); }
.factory-note a::after { content: " \2192"; }

/* Article pages (factory/) */
.article { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.article-back { display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 2.5rem; }
.article-back:hover { color: var(--accent); }
.article-kicker { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.article h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 1.25rem; text-wrap: balance; }
.article .standfirst { font-size: 1.15rem; line-height: 1.55; color: var(--text); margin-bottom: 2.5rem; }
.article h2 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.2; margin: 3rem 0 1rem; }
.article p, .article li { font-size: 1rem; line-height: 1.7; color: var(--text-muted); }
.article p { margin-bottom: 1.1rem; }
.article ul, .article ol { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 0.35rem; }
.article strong { color: var(--text); font-weight: 500; }
.article code { font-family: var(--mono); font-size: 0.86em; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 0.05em 0.35em; color: var(--text); }
.article .callout { border-left: 2px solid var(--green); background: var(--bg-card); padding: 0.9rem 1.1rem; border-radius: 0 6px 6px 0; margin: 1.25rem 0; }
.article .callout p { margin: 0; color: var(--text); font-size: 0.95rem; }
.article .callout b { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.3rem; font-weight: 500; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1.25rem 0 0.5rem; }
.article th, .article td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
.article th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }
.article td:first-child { color: var(--text); font-family: var(--mono); font-size: 0.8rem; }
.article .table-note { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 1.5rem; }
.article .stage-list li { margin-bottom: 0.6rem; }
.article .stage-list b { color: var(--text); font-weight: 500; }
.article .tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.1rem 0.4rem; border-radius: 3px; border: 1px solid var(--border-hover); margin-left: 0.4rem; vertical-align: 1px; }
.article .tag-local { color: var(--local); } .article .tag-cloud { color: var(--accent); } .article .tag-human { color: var(--green); } .article .tag-det { color: var(--text-dim); }
.article-foot { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 0.76rem; color: var(--text-dim); }
.article-foot a { color: var(--accent); }
@media (max-width: 560px) { .article table { display: block; overflow-x: auto; } }
