*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #000;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.85);
    min-height: 100vh;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #04001a;
    overflow: hidden;
}

#bg::before,
#bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: drift 18s ease-in-out infinite alternate;
}

#bg::before {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(180, 0, 80, 0.30) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 20s;
}

#bg::after {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(80, 0, 160, 0.25) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(8vw, 6vh) scale(1.08); }
    66%  { transform: translate(-4vw, 12vh) scale(0.94); }
    100% { transform: translate(12vw, -4vh) scale(1.04); }
}

.page {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 56px;
}

.logo-diamond {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: contain;
}

.header-text h1 {
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    font-weight: normal;
    margin-bottom: 4px;
}

.header-text h2 {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
}

.back-link {
    margin-left: auto;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.back-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.45);
}

.section-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(201, 36, 39, 0.9);
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(201, 36, 39, 0.5);
}

.footer {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.15);
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Blog post layout ───────────────────────────────────────────── */

.blog-page {
    font-size: 18px;
}

.blog-page .page {
    max-width: 1000px;
}

.article-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: #fff;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    letter-spacing: 0;
}

.article-byline {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 2.5rem;
}

.counter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    margin: 0 auto 3rem;
    max-width: 720px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    overflow: hidden;
}

.counter-item {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(10, 2, 40, 0.7);
}

.counter-item .num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #C92427;
    display: block;
    line-height: 1;
}

.counter-item .lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    margin-top: 0.5rem;
    display: block;
}

article {
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Source Serif 4', Georgia, serif;
}

article h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    margin: 3rem 0 1rem;
    line-height: 1.2;
}

article p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
}

article p.lead {
    color: rgba(255,255,255,0.6);
    border-left: 3px solid rgba(201, 36, 39, 0.6);
    padding-left: 1.25rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
}

article strong {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
}

article em {
    font-style: italic;
}

.pullquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.6rem;
    text-align: center;
    color: #C92427;
    padding: 2.5rem 1rem;
    margin: 2.5rem 0;
    border-top: 1px solid rgba(201, 36, 39, 0.25);
    border-bottom: 1px solid rgba(201, 36, 39, 0.25);
    line-height: 1.35;
}

.breach-ticker {
    background: rgba(10, 2, 40, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.breach-ticker .ticker-label {
    color: #C92427;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    font-weight: bold;
    font-size: 13px;
}

.breach-ticker .ticker-list {
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    line-height: 1.9;
}

.breach-ticker .ticker-list span {
    color: rgba(255,255,255,0.82);
}

.stage-list {
    margin: 2rem 0;
    counter-reset: stage;
}

.stage-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: baseline;
}

.stage-item::before {
    counter-increment: stage;
    content: counter(stage, decimal-leading-zero);
    font-size: 10px;
    color: #C92427;
    flex-shrink: 0;
    width: 2rem;
    letter-spacing: 0.1em;
}

.stage-item .stage-title {
    font-weight: bold;
    color: rgba(255,255,255,0.9);
    display: block;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
}

.stage-item .stage-desc {
    color: rgba(255,255,255,0.5);
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.75;
}

.sign-off {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 15px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.9;
    letter-spacing: 0.05em;
}

.sign-off .author {
    color: rgba(255,255,255,0.85);
    font-weight: bold;
}

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 520px) {
    .back-link { display: none; }
    .counter-item .num { font-size: 1.5rem; }
}
