:root{--ink:#10233c;--accent:#ef6c35;--paper:#fffaf5;--muted:#64748b}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;background:var(--paper);color:var(--ink)}header,main,footer{max-width:1120px;margin:auto;padding-left:24px;padding-right:24px}header{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:800;font-size:1.3rem;text-decoration:none;color:var(--ink)}.brand span,.tag,.eyebrow{color:var(--accent)}nav a{margin-left:24px;color:var(--ink);text-decoration:none}.hero{padding:90px 0 70px;max-width:760px}.hero h1{font-size:clamp(2.4rem,6vw,5.2rem);line-height:1.04;letter-spacing:-.05em;margin:.2em 0}.eyebrow,.tag{font-weight:800;letter-spacing:.1em;font-size:.75rem;text-transform:uppercase}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;padding:18px 0 70px}.card{background:#fff;padding:26px;border:1px solid #f0e8df;border-radius:16px;box-shadow:0 8px 28px #10233c0b}.card h3{font-size:1.35rem;line-height:1.25}.card a{color:var(--ink)}.read{font-weight:700}.empty{color:var(--muted)}.article{max-width:800px;padding-top:70px;padding-bottom:70px}.article h1{font-size:clamp(2.4rem,5vw,4.3rem);line-height:1.05;letter-spacing:-.045em}.lead{font-size:1.25rem;color:var(--muted)}.article h2{margin-top:2em}.article aside{border-left:4px solid var(--accent);padding:14px 18px;background:#fff;margin-top:48px}footer{border-top:1px solid #eadfd4;padding-top:28px;padding-bottom:28px;color:var(--muted);font-size:.9rem}@media(max-width:600px){nav{display:none}.hero{padding-top:50px}}
.map-link{color:#176b56;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:.18em;font-weight:600}.map-link:hover{color:#0d493b;text-decoration-style:solid}
.place-photo{margin:1.4rem 0 2rem}.place-photo img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#edf1f3;border-radius:16px}.place-photo--hero{margin-top:0}.place-photo--hero img{max-height:680px}.place-photo figcaption{margin-top:.55rem;color:#68736f;font-size:.82rem}.place-photo figcaption a{color:inherit}
.article{max-width:900px;padding-top:64px;padding-bottom:84px}.article-header{max-width:820px;margin:0 auto 34px}.article-content{font-family:Georgia,Cambria,"Times New Roman",serif;font-size:1.08rem;line-height:1.82}.article-content>p,.article-content>ul,.article-content>ol{max-width:760px;margin-left:auto;margin-right:auto}.article-intro{font-size:1.24rem;line-height:1.7;color:#263b4d}.article-section-title{scroll-margin-top:24px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.16;letter-spacing:-.025em;margin:2.8em auto .8em;max-width:760px;padding-top:.7em;border-top:1px solid #e8ded3}.article-content ul,.article-content ol{padding-left:1.4em}.article-content li{margin:.55em 0}.article-content li::marker{color:var(--accent);font-weight:700}.article-content strong{color:#142f43}.article-toc{max-width:760px;margin:2.4rem auto 3rem;padding:1.5rem 1.7rem;background:#fff;border:1px solid #eadfd4;border-radius:18px;box-shadow:0 10px 32px #10233c0a;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.article-toc__title{font-weight:800;margin:0 0 .8rem}.article-toc ol{columns:2;column-gap:2rem;margin:0;padding-left:1.25rem}.article-toc li{break-inside:avoid;margin:.45rem 0}.article-toc a{color:#27455b;text-decoration:none}.article-toc a:hover{text-decoration:underline;color:var(--accent)}.editorial-note{border-left:4px solid var(--accent);padding:16px 20px;background:#fff;margin:54px auto 0;max-width:760px}.back-to-top{position:fixed;right:22px;bottom:22px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;text-decoration:none;box-shadow:0 8px 24px #10233c33}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;background:#fff;padding:10px;z-index:10}@media(max-width:600px){.article{padding-top:38px;padding-left:18px;padding-right:18px}.article-toc ol{columns:1}.article-content{font-size:1rem}.back-to-top{right:14px;bottom:14px}}
.article-gallery{max-width:900px;margin:3rem auto}.article-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gallery-card{margin:0;background:#fff;border:1px solid #eadfd4;border-radius:14px;overflow:hidden}.gallery-card img{width:100%;height:auto;max-height:430px;object-fit:contain;background:#edf1f3;display:block}.gallery-card figcaption{padding:10px 13px;color:var(--muted);font:12px/1.45 system-ui,sans-serif}@media(max-width:650px){.article-gallery__grid{grid-template-columns:1fr}.gallery-card img{max-height:360px}}
.article-photo{max-width:860px;margin:1.8rem auto 2.4rem;padding:0;background:#fff;border:1px solid #eadfd4;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px #10233c0a}.article-photo img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#edf1f3}.article-photo figcaption{padding:10px 14px;color:var(--muted);font:12px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}.article-photo figcaption a{color:inherit}.article-photo figcaption a:hover{color:var(--accent)}
/* ========================================================================== */
/* TDW CYBERPUNK ARTICLE EXPERIENCE                                           */
/* Scoped to .article-page so the rest of the public site keeps its identity. */
/* ========================================================================== */

.article-page {
    --cyber-bg: #05070d;
    --cyber-bg-2: #080d16;
    --cyber-panel: rgba(11, 17, 29, .78);
    --cyber-panel-strong: rgba(7, 12, 22, .94);
    --cyber-line: rgba(99, 246, 255, .18);
    --cyber-line-hot: rgba(99, 246, 255, .46);
    --cyber-cyan: #63f6ff;
    --cyber-cyan-soft: #b7fbff;
    --cyber-magenta: #ff4fd8;
    --cyber-lime: #b6ff4f;
    --cyber-amber: #ffc85c;
    --cyber-text: #ecf9ff;
    --cyber-copy: #c6d7e1;
    --cyber-muted: #8295a6;
    --cyber-danger: #ff5f7a;
    --cyber-radius: 18px;
    --cyber-shadow: 0 24px 80px rgba(0, 0, 0, .36);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--cyber-copy);
    background:
        radial-gradient(circle at 8% 10%, rgba(70, 255, 245, .11), transparent 28rem),
        radial-gradient(circle at 92% 18%, rgba(255, 79, 216, .10), transparent 30rem),
        radial-gradient(circle at 55% 75%, rgba(88, 119, 255, .08), transparent 34rem),
        linear-gradient(180deg, #04060b 0%, var(--cyber-bg) 36%, #050912 100%);
    color-scheme: dark;
}

.article-page.category-tecnologia {
    --cyber-cyan: #84ff7a;
    --cyber-cyan-soft: #d5ffd1;
    --cyber-line: rgba(132, 255, 122, .18);
    --cyber-line-hot: rgba(132, 255, 122, .46);
}

.article-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .36;
    background-image:
        linear-gradient(rgba(99, 246, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 246, 255, .035) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
}

.article-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: .055;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(255,255,255,.16) 4px
    );
    mix-blend-mode: overlay;
}

.article-page a {
    color: var(--cyber-cyan);
}

.article-page ::selection {
    color: #031014;
    background: var(--cyber-cyan);
}

.article-page .skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 12px 16px;
    border: 1px solid var(--cyber-cyan);
    color: var(--cyber-text);
    background: #08111b;
    border-radius: 8px;
    text-decoration: none;
    transition: top .2s ease;
}

.article-page .skip-link:focus {
    top: 16px;
}

/* Reading progress --------------------------------------------------------- */

.reading-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 999;
    height: 2px;
    background: rgba(255,255,255,.04);
}

.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--cyber-cyan), #7c9dff 52%, var(--cyber-magenta));
    box-shadow: 0 0 16px rgba(99, 246, 255, .75);
    will-change: transform;
}

/* Top HUD ------------------------------------------------------------------ */

.article-page .article-topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0 22px;
    border-bottom: 1px solid rgba(99, 246, 255, .12);
    background: rgba(4, 7, 13, .76);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
}

.article-topbar__inner {
    width: min(1380px, 100%);
    min-height: 68px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.cyber-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cyber-text) !important;
    text-decoration: none;
    font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .14em;
}

.cyber-brand__mark {
    display: inline-grid;
    place-items: center;
    min-width: 46px;
    height: 31px;
    padding: 0 8px;
    color: #021013;
    background: var(--cyber-cyan);
    clip-path: polygon(0 0, 86% 0, 100% 35%, 100% 100%, 14% 100%, 0 66%);
    box-shadow: 0 0 22px rgba(99, 246, 255, .28);
}

.cyber-brand__text {
    color: var(--cyber-muted);
}

.article-topbar__status {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: min(480px, 42vw);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #8ca0af;
    font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .14em;
}

.status-pulse,
.hero-state i,
.meta-chip--live i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--cyber-lime);
    box-shadow: 0 0 0 4px rgba(182,255,79,.07), 0 0 16px rgba(182,255,79,.8);
    animation: cyberPulse 2.1s ease-in-out infinite;
}

.article-page .article-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-page .article-nav a,
.focus-toggle {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0 11px;
    border: 1px solid rgba(99,246,255,.12);
    border-radius: 8px;
    color: #9fb4c3;
    background: rgba(255,255,255,.025);
    text-decoration: none;
    text-transform: uppercase;
    font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.article-page .article-nav a:hover,
.focus-toggle:hover,
.focus-toggle[aria-pressed="true"] {
    color: var(--cyber-text);
    border-color: var(--cyber-line-hot);
    background: rgba(99,246,255,.07);
}

.focus-toggle {
    cursor: pointer;
}

.focus-toggle span:first-child {
    color: var(--cyber-cyan);
}

/* Article shell ------------------------------------------------------------ */

.article-page .article.article-shell {
    width: min(1380px, 100%);
    max-width: none;
    margin: 0 auto;
    padding: 0 26px 110px;
}

.article-document {
    width: 100%;
}

/* Hero --------------------------------------------------------------------- */

.article-page .article-header.cyber-hero {
    position: relative;
    max-width: 1180px;
    min-height: min(680px, calc(100vh - 69px));
    margin: 0 auto;
    padding: clamp(84px, 11vw, 150px) clamp(0px, 2vw, 24px) 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
}

.cyber-hero::before {
    content: "";
    position: absolute;
    inset: 9% -8% 8% 34%;
    z-index: -2;
    border: 1px solid rgba(99,246,255,.08);
    background:
        linear-gradient(135deg, rgba(99,246,255,.045), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(255,79,216,.11), transparent 34%);
    clip-path: polygon(7% 0, 100% 0, 100% 86%, 93% 100%, 0 100%, 0 8%);
}

.cyber-hero::after {
    content: "";
    position: absolute;
    width: 38vw;
    max-width: 560px;
    aspect-ratio: 1;
    right: -4vw;
    top: 10%;
    z-index: -3;
    opacity: .42;
    background:
        repeating-radial-gradient(circle, transparent 0 14px, rgba(99,246,255,.08) 15px 16px),
        conic-gradient(from 180deg, transparent, rgba(99,246,255,.16), transparent 40%, rgba(255,79,216,.14), transparent 75%);
    border-radius: 50%;
    filter: blur(.2px);
    animation: cyberOrbit 34s linear infinite;
}

.cyber-hero__signal {
    position: absolute;
    right: 1%;
    top: 31%;
    width: min(300px, 25vw);
    height: 90px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
    opacity: .42;
    pointer-events: none;
}

.cyber-hero__signal span {
    width: 3px;
    background: linear-gradient(to top, transparent, var(--cyber-cyan));
    box-shadow: 0 0 12px rgba(99,246,255,.42);
    animation: signalBars 1.8s ease-in-out infinite alternate;
}

.cyber-hero__signal span:nth-child(1) { height: 30%; animation-delay: -.2s; }
.cyber-hero__signal span:nth-child(2) { height: 74%; animation-delay: -.8s; }
.cyber-hero__signal span:nth-child(3) { height: 48%; animation-delay: -.4s; }
.cyber-hero__signal span:nth-child(4) { height: 90%; animation-delay: -1.1s; }
.cyber-hero__signal span:nth-child(5) { height: 58%; animation-delay: -.6s; }

.cyber-hero__kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 24px;
}

.article-page .cyber-hero .tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--cyber-line-hot);
    border-radius: 4px;
    color: var(--cyber-cyan);
    background: rgba(99,246,255,.055);
    font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-state {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #768c9b;
    font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .13em;
}

.article-page .glitch-title {
    position: relative;
    max-width: 1030px;
    margin: 0;
    color: var(--cyber-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(3.1rem, 7.6vw, 7.9rem);
    font-weight: 880;
    line-height: .91;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 0 44px rgba(99,246,255,.08);
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
}

.glitch-title::before {
    color: var(--cyber-cyan);
    transform: translateX(-2px);
}

.glitch-title::after {
    color: var(--cyber-magenta);
    transform: translateX(2px);
}

.article-page .cyber-hero .lead {
    max-width: 780px;
    margin: 30px 0 0;
    color: #aebfca;
    font: 450 clamp(1.05rem, 2vw, 1.36rem)/1.62 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: -.01em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.meta-chip {
    min-height: 32px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 999px;
    color: #8195a4;
    background: rgba(255,255,255,.025);
    font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .1em;
}

.meta-chip b {
    color: var(--cyber-text);
    font-size: 10px;
}

.meta-chip--live {
    color: #a9c58a;
    border-color: rgba(182,255,79,.14);
}

.hero-jump {
    width: fit-content;
    margin-top: 48px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 14px 16px 14px 18px;
    border-left: 2px solid var(--cyber-cyan);
    color: var(--cyber-cyan) !important;
    background: linear-gradient(90deg, rgba(99,246,255,.075), transparent);
    text-decoration: none;
    font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .15em;
    transition: gap .2s ease, background .2s ease;
}

.hero-jump:hover {
    gap: 34px;
    background: linear-gradient(90deg, rgba(99,246,255,.13), transparent);
}

/* Two-column reading workspace -------------------------------------------- */

.article-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(190px, 248px) minmax(0, 860px);
    gap: clamp(38px, 6vw, 86px);
    align-items: start;
}

.article-rail {
    position: relative;
    min-width: 0;
}

.rail-card {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 124px);
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(99,246,255,.11);
    border-radius: 13px;
    background:
        linear-gradient(180deg, rgba(99,246,255,.025), transparent 18%),
        rgba(7,12,22,.66);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.rail-card::before,
.rail-card::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.rail-card::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid var(--cyber-cyan);
    border-left: 1px solid var(--cyber-cyan);
}

.rail-card::after {
    right: -1px;
    bottom: -1px;
    border-right: 1px solid var(--cyber-magenta);
    border-bottom: 1px solid var(--cyber-magenta);
}

.rail-card__head {
    padding: 1px 2px 13px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: #748795;
    font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .13em;
}

.rail-card__code {
    color: var(--cyber-cyan);
}

.dynamic-toc {
    margin: 0;
    padding: 13px 0;
}

.dynamic-toc ol {
    margin: 0;
    padding: 0;
    columns: initial;
    list-style: none;
}

.dynamic-toc li {
    margin: 0;
    padding: 0;
}

.dynamic-toc a {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0,1fr);
    gap: 8px;
    align-items: start;
    padding: 8px 6px;
    color: #718696 !important;
    text-decoration: none !important;
    border-radius: 6px;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}

.dynamic-toc a span {
    color: #49616f;
    font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dynamic-toc a em {
    overflow: hidden;
    font: 650 11px/1.35 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-style: normal;
    text-overflow: ellipsis;
}

.dynamic-toc a:hover,
.dynamic-toc a.is-active {
    color: var(--cyber-cyan-soft) !important;
    background: rgba(99,246,255,.055);
    transform: translateX(2px);
}

.dynamic-toc a.is-active::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--cyber-cyan);
    box-shadow: 0 0 10px rgba(99,246,255,.8);
}

.dynamic-toc a.is-active span {
    color: var(--cyber-cyan);
}

#desktopToc {
    max-height: min(56vh, 540px);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(99,246,255,.24) transparent;
}

.rail-metrics {
    padding-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.rail-metrics div {
    min-width: 0;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 7px;
    background: rgba(255,255,255,.018);
}

.rail-metrics span,
.rail-metrics strong {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rail-metrics span {
    color: #526774;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .12em;
}

.rail-metrics strong {
    margin-top: 5px;
    overflow: hidden;
    color: var(--cyber-cyan-soft);
    font-size: 11px;
    text-overflow: ellipsis;
}

.article-body {
    min-width: 0;
}

.mobile-toc {
    display: none;
}

/* Core article typography -------------------------------------------------- */

.article-page .article-content {
    width: 100%;
    color: var(--cyber-copy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.075rem);
    line-height: 1.84;
    counter-reset: cyber-section;
}

.article-page .article-content > p,
.article-page .article-content > ul,
.article-page .article-content > ol,
.article-page .article-content > blockquote,
.article-page .article-content > table,
.article-page .article-content > pre,
.article-page .article-content > div:not(.article-gallery) {
    max-width: 790px;
    margin-left: 0;
    margin-right: auto;
}

.article-page .article-content p {
    color: #bed0da;
    text-wrap: pretty;
}

.article-page .article-content > p {
    margin-top: 1.15em;
    margin-bottom: 1.15em;
}

.article-page .article-intro,
.article-page .article-content > p:first-child {
    color: #d7e8ef;
    font-size: clamp(1.08rem, 1.7vw, 1.28rem);
    line-height: 1.72;
}

.article-page .article-content h2,
.article-page .article-section-title {
    position: relative;
    max-width: 820px;
    margin: clamp(74px, 9vw, 118px) 0 24px;
    padding: 24px 0 0 72px;
    border-top: 1px solid rgba(99,246,255,.12);
    color: var(--cyber-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.25rem);
    font-weight: 790;
    line-height: 1.06;
    letter-spacing: -.045em;
    scroll-margin-top: 104px;
    counter-increment: cyber-section;
    text-wrap: balance;
}

.article-page .article-content h2::before,
.article-page .article-section-title::before {
    content: counter(cyber-section, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 28px;
    min-width: 48px;
    color: var(--cyber-cyan);
    font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em;
    text-shadow: 0 0 12px rgba(99,246,255,.42);
}

.article-page .article-content h2::after,
.article-page .article-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: clamp(54px, 11vw, 112px);
    height: 1px;
    background: linear-gradient(90deg, var(--cyber-cyan), transparent);
    box-shadow: 0 0 10px rgba(99,246,255,.46);
}

.article-page .article-content h3 {
    margin: 46px 0 16px;
    color: #e5f5fa;
    font: 750 clamp(1.2rem, 2vw, 1.55rem)/1.2 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: -.025em;
}

.article-page .article-content h4 {
    margin: 34px 0 12px;
    color: var(--cyber-cyan-soft);
    font: 760 1rem/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .02em;
}

.article-page .article-content strong {
    color: #f0fbff;
    font-weight: 760;
}

.article-page .article-content em {
    color: #d3b8d7;
}

.article-page .article-content a:not(.map-link) {
    color: var(--cyber-cyan);
    text-decoration-color: rgba(99,246,255,.38);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
    transition: color .16s ease, text-decoration-color .16s ease;
}

.article-page .article-content a:not(.map-link):hover {
    color: #fff;
    text-decoration-color: var(--cyber-magenta);
}

.article-page .article-content ul,
.article-page .article-content ol {
    padding-left: 1.35em;
}

.article-page .article-content li {
    margin: .58em 0;
    padding-left: .24em;
    color: #b9ccd6;
}

.article-page .article-content li::marker {
    color: var(--cyber-cyan);
    font-weight: 800;
}

.article-page .article-content blockquote {
    position: relative;
    margin-top: 34px;
    margin-bottom: 34px;
    padding: 22px 24px 22px 28px;
    border: 1px solid rgba(255,79,216,.14);
    border-left: 2px solid var(--cyber-magenta);
    border-radius: 0 12px 12px 0;
    color: #d7c3d8;
    background: linear-gradient(90deg, rgba(255,79,216,.07), rgba(255,255,255,.012));
}

.article-page .article-content blockquote::before {
    content: "SIGNAL";
    position: absolute;
    top: -8px;
    left: 24px;
    padding: 2px 7px;
    color: var(--cyber-magenta);
    background: var(--cyber-bg);
    font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .14em;
}

.article-page .article-content code {
    padding: .12em .38em;
    border: 1px solid rgba(99,246,255,.11);
    border-radius: 5px;
    color: var(--cyber-cyan-soft);
    background: rgba(99,246,255,.055);
    font: .92em/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-page .article-content pre {
    overflow: auto;
    padding: 20px;
    border: 1px solid rgba(99,246,255,.13);
    border-radius: 12px;
    background: #050b12;
    box-shadow: inset 0 0 34px rgba(0,0,0,.28);
}

.article-page .article-content pre code {
    padding: 0;
    border: 0;
    background: transparent;
}

.article-page .article-content hr {
    height: 1px;
    margin: 54px 0;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(99,246,255,.26), transparent);
}

/* Tables ------------------------------------------------------------------- */

.article-page .article-content table {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 34px;
    overflow-x: auto;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(99,246,255,.12);
    border-radius: 12px;
    background: rgba(8,14,24,.72);
    box-shadow: var(--cyber-shadow);
}

.article-page .article-content th,
.article-page .article-content td {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    text-align: left;
    vertical-align: top;
}

.article-page .article-content th {
    color: var(--cyber-cyan-soft);
    background: rgba(99,246,255,.045);
    font: 800 10px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-page .article-content tr:last-child td {
    border-bottom: 0;
}

/* Legacy/generated TOC ----------------------------------------------------- */

.article-page .article-toc {
    position: relative;
    max-width: 790px;
    margin: 34px 0 52px;
    padding: 20px 22px;
    overflow: hidden;
    border: 1px solid rgba(99,246,255,.13);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99,246,255,.055), rgba(7,12,22,.86) 46%, rgba(255,79,216,.025));
    box-shadow: 0 22px 56px rgba(0,0,0,.26);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.article-page .article-toc::before {
    content: "INDEX_NODE";
    position: absolute;
    top: 8px;
    right: 10px;
    color: rgba(99,246,255,.34);
    font: 800 7px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .16em;
}

.article-page .article-toc__title {
    margin: 0 0 12px;
    color: var(--cyber-text);
    font-weight: 800;
}

.article-page .article-toc ol {
    margin: 0;
    padding-left: 1.2em;
    columns: 2;
    column-gap: 30px;
}

.article-page .article-toc li {
    break-inside: avoid;
    margin: .45rem 0;
}

.article-page .article-toc a {
    color: #92a9b7;
    text-decoration: none;
}

.article-page .article-toc a:hover {
    color: var(--cyber-cyan);
}

/* Maps / place links ------------------------------------------------------- */

.article-page .map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0;
    padding: 5px 9px;
    border: 1px solid rgba(99,246,255,.16);
    border-radius: 6px;
    color: var(--cyber-cyan) !important;
    background: rgba(99,246,255,.045);
    text-decoration: none;
    font: 750 .82em/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.article-page .map-link::before {
    content: "MAP ↗";
    color: #557581;
    font-size: .72em;
    letter-spacing: .08em;
}

.article-page .map-link:hover {
    border-color: var(--cyber-line-hot);
    background: rgba(99,246,255,.085);
    transform: translateY(-1px);
}

/* Images ------------------------------------------------------------------- */

.article-page .article-photo,
.article-page .place-photo {
    position: relative;
    max-width: 900px;
    margin: 34px 0 48px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(99,246,255,.12);
    border-radius: 14px;
    background: #050a10;
    box-shadow: 0 26px 70px rgba(0,0,0,.35);
    isolation: isolate;
}

.article-page .article-photo::before,
.article-page .place-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(99,246,255,.5), transparent 23%, transparent 75%, rgba(255,79,216,.38)) 1;
    opacity: .48;
}

.article-page .article-photo img,
.article-page .place-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 660px;
    object-fit: contain;
    background: #050a10;
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s ease;
}

.article-page .article-photo:hover img,
.article-page .place-photo:hover img {
    transform: scale(1.012);
    filter: saturate(1.06) contrast(1.015);
}

.article-page .article-photo figcaption,
.article-page .place-photo figcaption {
    margin: 0;
    padding: 10px 13px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #657c8b;
    background: rgba(6,11,19,.95);
    font: 600 9px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .015em;
}

.article-page .article-photo figcaption a,
.article-page .place-photo figcaption a {
    color: #8ca7b6;
}

/* Gallery ------------------------------------------------------------------ */

.article-page .article-gallery {
    max-width: 900px;
    margin: 84px 0 32px;
}

.article-page .article-gallery > .article-section-title {
    margin-top: 0;
}

.article-page .article-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.article-page.js-enabled .article-content > .article-toc { display: none; }

.article-page .gallery-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(99,246,255,.1);
    border-radius: 12px;
    background: #060b12;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.article-page .gallery-card:hover {
    z-index: 2;
    transform: translateY(-3px);
    border-color: rgba(99,246,255,.32);
    box-shadow: 0 18px 48px rgba(0,0,0,.32), 0 0 32px rgba(99,246,255,.04);
}

.article-page .gallery-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    background: #050a10;
}

.article-page .gallery-card figcaption {
    padding: 10px 12px;
    color: #687e8d;
    background: rgba(6,11,19,.96);
    font: 600 9px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Editorial verification -------------------------------------------------- */

.article-page .editorial-note {
    max-width: 790px;
    margin: 78px 0 0;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
    border: 1px solid rgba(182,255,79,.13);
    border-left: 2px solid var(--cyber-lime);
    border-radius: 0 12px 12px 0;
    color: #9db08b;
    background: linear-gradient(90deg, rgba(182,255,79,.055), rgba(255,255,255,.015));
}

.editorial-note__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(182,255,79,.22);
    border-radius: 50%;
    color: var(--cyber-lime);
    background: rgba(182,255,79,.05);
    box-shadow: 0 0 22px rgba(182,255,79,.06);
    font-weight: 900;
}

.article-page .editorial-note strong {
    display: block;
    color: #c8e6a8;
    font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .11em;
}

.article-page .editorial-note p {
    margin: 5px 0 0;
    color: #73856a;
    font-size: .86rem;
    line-height: 1.55;
}

/* Mobile TOC --------------------------------------------------------------- */

.mobile-toc {
    max-width: 790px;
    margin: 0 0 28px;
    border: 1px solid rgba(99,246,255,.12);
    border-radius: 11px;
    background: rgba(8,14,24,.76);
}

.mobile-toc summary {
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: var(--cyber-cyan-soft);
    list-style: none;
    font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .11em;
}

.mobile-toc summary::-webkit-details-marker {
    display: none;
}

.mobile-toc[open] summary span:last-child {
    transform: rotate(45deg);
}

.mobile-toc .dynamic-toc {
    padding: 0 12px 12px;
}

/* Back to top -------------------------------------------------------------- */

.article-page .back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    border: 1px solid rgba(99,246,255,.25);
    border-radius: 11px;
    color: var(--cyber-cyan) !important;
    background: rgba(5,10,17,.78);
    box-shadow: 0 12px 34px rgba(0,0,0,.28), inset 0 0 18px rgba(99,246,255,.025);
    text-decoration: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}

.article-page .back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.article-page .back-to-top:hover {
    border-color: var(--cyber-line-hot);
}

/* Footer ------------------------------------------------------------------- */

.article-page .cyber-footer {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 26px 30px;
    border: 0;
    color: #526674;
    font-size: .78rem;
}

.cyber-footer > div {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(99,246,255,.09);
}

.cyber-footer__signal {
    color: #435c68;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em;
}

/* Focus mode --------------------------------------------------------------- */

.article-page.focus-mode::before,
.article-page.focus-mode::after {
    opacity: 0;
}

.article-page.focus-mode .article-topbar__status,
.article-page.focus-mode .article-rail,
.article-page.focus-mode .cyber-hero__signal,
.article-page.focus-mode .cyber-hero::after {
    display: none;
}

.article-page.focus-mode .article-grid {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.article-page.focus-mode .article-header.cyber-hero {
    min-height: 54vh;
}

.article-page.focus-mode .article-content {
    font-size: clamp(1.04rem, 1.35vw, 1.12rem);
}

/* Subtle reveal ------------------------------------------------------------ */

.reveal-ready .article-content h2,
.reveal-ready .article-photo,
.reveal-ready .place-photo,
.reveal-ready .article-gallery {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}

.reveal-ready .article-content h2.is-revealed,
.reveal-ready .article-photo.is-revealed,
.reveal-ready .place-photo.is-revealed,
.reveal-ready .article-gallery.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animations --------------------------------------------------------------- */

@keyframes cyberPulse {
    0%, 100% { opacity: .45; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes cyberOrbit {
    to { transform: rotate(360deg); }
}

@keyframes signalBars {
    from { transform: scaleY(.55); opacity: .24; }
    to { transform: scaleY(1); opacity: .8; }
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1040px) {
    .article-grid {
        grid-template-columns: minmax(0, 860px);
        justify-content: center;
    }

    .article-rail {
        display: none;
    }

    .mobile-toc {
        display: block;
    }

    .article-page.focus-mode .mobile-toc {
        display: none;
    }
}

@media (max-width: 780px) {
    .article-page .article-topbar {
        padding: 0 14px;
    }

    .article-topbar__inner {
        grid-template-columns: auto 1fr;
        min-height: 58px;
        gap: 12px;
    }

    .article-topbar__status {
        display: none;
    }

    .article-page .article-nav {
        justify-self: end;
    }

    .article-page .article-nav a:first-child,
    .focus-toggle__label {
        display: none;
    }

    .article-page .article-nav a,
    .focus-toggle {
        min-width: 34px;
        padding: 0 9px;
    }

    .article-page .article.article-shell {
        padding-left: 17px;
        padding-right: 17px;
    }

    .article-page .article-header.cyber-hero {
        min-height: auto;
        padding-top: 92px;
        padding-bottom: 68px;
    }

    .cyber-hero::before {
        inset: 14% -22% 4% 25%;
        opacity: .7;
    }

    .cyber-hero::after,
    .cyber-hero__signal {
        opacity: .25;
    }

    .article-page .glitch-title {
        font-size: clamp(3rem, 14vw, 5.7rem);
        letter-spacing: -.06em;
    }

    .article-meta {
        gap: 6px;
    }

    .meta-chip {
        min-height: 29px;
        font-size: 8px;
    }

    .hero-jump {
        margin-top: 36px;
    }

    .article-page .article-content h2,
    .article-page .article-section-title {
        margin-top: 72px;
        padding-left: 54px;
        font-size: clamp(1.72rem, 8vw, 2.6rem);
    }

    .article-page .article-content h2::before,
    .article-page .article-section-title::before {
        min-width: 38px;
    }

    .article-page .article-gallery__grid {
        grid-template-columns: 1fr;
    }

    .article-page .gallery-card img {
        height: auto;
        max-height: min(72vh, 420px);
    }

    .article-page .article-toc ol {
        columns: 1;
    }

    .article-page .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 520px) {
    .cyber-brand__text {
        display: none;
    }

    .article-page .cyber-hero .lead {
        font-size: 1rem;
    }

    .article-page .article-content {
        font-size: .99rem;
        line-height: 1.78;
    }

    .article-page .article-photo,
    .article-page .place-photo,
    .article-page .article-gallery {
        margin-left: -17px;
        margin-right: -17px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .article-page .article-photo img,
    .article-page .place-photo img {
        max-height: 72vh;
    }

    .article-page .editorial-note {
        grid-template-columns: 32px 1fr;
        padding: 16px;
    }

    .editorial-note__icon {
        width: 30px;
        height: 30px;
    }

    .cyber-footer > div {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-page *,
    .article-page *::before,
    .article-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal-ready .article-content h2,
    .reveal-ready .article-photo,
    .reveal-ready .place-photo,
    .reveal-ready .article-gallery {
        opacity: 1;
        transform: none;
    }
}

.breadcrumbs,.share-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font:700 11px/1.3 ui-monospace,monospace;color:var(--cyber-muted)}.breadcrumbs{margin-bottom:26px}.breadcrumbs a,.share-tools a,.share-tools button{padding:7px 9px;border:1px solid var(--cyber-line);border-radius:6px;background:rgba(99,246,255,.04);color:var(--cyber-cyan);text-decoration:none;font:inherit}.share-tools{margin-top:26px}.share-tools button{cursor:pointer}.article-sources,.article-cta,.related-guides{margin:46px auto 0;padding:24px;border:1px solid var(--cyber-line);border-radius:var(--cyber-radius);background:var(--cyber-panel);max-width:860px}.article-sources h2,.related-guides h2{margin:0 0 12px;color:var(--cyber-text);font:800 1.25rem/1.2 system-ui}.article-sources li{margin:8px 0}.article-sources span{color:var(--cyber-muted)}.article-cta{border-color:rgba(255,79,216,.35);text-align:center}.article-cta strong{display:block;color:var(--cyber-text);font-size:1.2rem}.article-cta a{display:inline-block;padding:10px 14px;border:1px solid var(--cyber-magenta);color:var(--cyber-magenta);text-decoration:none}.related-guides>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.related-guides a{padding:15px;border:1px solid var(--cyber-line);text-decoration:none}.related-guides span{display:block;margin-top:7px;color:var(--cyber-muted);font-size:.85rem}@media(max-width:700px){.related-guides>div{grid-template-columns:1fr}.breadcrumbs{font-size:9px}}
