/* ═══════════════════════════════════════════════════════
   FACING MY SHADOW — style.css
   Concept: Brutalist Dark Zine / Case File
   Palette: #070F2B | #1B1A55 | #535C91 | #9290C3
   Fonts:   Archivo Black (display) | Syne (UI) | Syne Mono (code/labels)
═══════════════════════════════════════════════════════ */

:root {
  --c-void:    #070F2B;
  --c-deep:    #1B1A55;
  --c-mid:     #535C91;
  --c-signal:  #9290C3;
  --c-ink:     #03060f;
  --c-body:    #9e9ccc;
  --c-muted:   #5a5885;

  --f-display: 'Archivo Black', 'Arial Black', sans-serif;
  --f-ui:      'Syne', sans-serif;
  --f-mono:    'Syne Mono', 'Courier New', monospace;

  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.35s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-void);
  color: var(--c-body);
  font-family: var(--f-ui);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

/* ── SCANLINES ── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(7, 15, 43, 0.07) 3px,
    rgba(7, 15, 43, 0.07) 4px
  );
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  border-bottom: 1px solid transparent;
  transition: border-color var(--speed), background var(--speed);
}
.nav.scrolled {
  background: rgba(3, 6, 15, 0.92);
  backdrop-filter: blur(12px);
  border-color: var(--c-deep);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--c-signal);
  transition: color var(--speed);
}
.nav__logo:hover { color: #fff; }
.nav__logo-mark {
  color: var(--c-mid);
  font-size: 0.9rem;
}
.nav__links {
  display: flex;
  gap: 2.8rem;
}
.nav__links a {
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  transition: color var(--speed);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  height: 1px; width: 0;
  background: var(--c-signal);
  transition: width var(--speed) var(--ease);
}
.nav__links a:hover { color: var(--c-signal); }
.nav__links a:hover::after { width: 100%; }
.nav__num {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  color: var(--c-mid);
  margin-right: 0.15rem;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--c-mid);
  transition: transform var(--speed), opacity var(--speed);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--c-deep);
}
.hero__canvas {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem 4rem;
}
.radar-svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Radar sweep spin */
.radar-sweep {
  transform-origin: 450px 450px;
  animation: radarSpin 4s linear infinite;
}
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Blip fade pulse */
.blips circle:first-child { animation: blipPulse 4s 0s   ease-in-out infinite; }
.blips circle:nth-child(3) { animation: blipPulse 4s 1.2s ease-in-out infinite; }
.blips circle:nth-child(5) { animation: blipPulse 4s 2.5s ease-in-out infinite; }
.blips circle:nth-child(7) { animation: blipPulse 4s 3.1s ease-in-out infinite; }
@keyframes blipPulse {
  0%,100% { opacity: 0.2; }
  50%      { opacity: 1; }
}

.hero__text {
  padding: 6rem 4rem 4rem 2rem;
  position: relative;
  z-index: 10;
  animation: fadeUp 1s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__tag {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--c-mid);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s 0.1s var(--ease) both;
}
.hero__title {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.2s var(--ease) both;
}
.hero__line {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
}
.hero__line--accent {
  color: var(--c-signal);
  -webkit-text-stroke: 0px;
  text-shadow: 0 0 40px rgba(146,144,195,0.25);
}
.hero__desc {
  font-family: var(--f-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-body);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s 0.35s var(--ease) both;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--c-signal);
  border: 1px solid var(--c-mid);
  padding: 0.75rem 2rem;
  position: relative;
  overflow: hidden;
  transition: color var(--speed), border-color var(--speed);
  animation: fadeUp 1s 0.5s var(--ease) both;
}
.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-deep);
  transform: translateX(-100%);
  transition: transform var(--speed) var(--ease);
  z-index: -1;
}
.hero__cta:hover { border-color: var(--c-signal); color: #fff; }
.hero__cta:hover::before { transform: translateX(0); }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1s 0.8s var(--ease) both;
}
.hero__scroll span {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  writing-mode: vertical-rl;
}
.hero__scroll-track {
  width: 1px;
  height: 48px;
  background: var(--c-deep);
  position: relative;
  overflow: hidden;
}
.hero__scroll-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 40%;
  background: var(--c-signal);
  animation: scrollBar 2s ease-in-out infinite;
}
@keyframes scrollBar {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ── TICKER ── */
.ticker {
  background: var(--c-deep);
  border-top: 1px solid var(--c-mid);
  border-bottom: 1px solid var(--c-mid);
  padding: 0.75rem 0;
  overflow: hidden;
}
.ticker__inner {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker__inner span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--c-mid);
  flex-shrink: 0;
  padding-right: 2rem;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker:hover .ticker__inner { animation-play-state: paused; }

/* ── SECTION LABEL ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.section-label__line {
  flex: 1;
  height: 1px;
  background: var(--c-deep);
}
.section-label__text {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--c-mid);
  white-space: nowrap;
}
.section-label--flush { margin-bottom: 2rem; }
.section-label--flush .section-label__line:first-child { display: none; }

/* ── MAIN / ENTRIES ── */
.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.entries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--c-deep);
  border: 1px solid var(--c-deep);
}

/* ── ENTRY CARD ── */
.entry {
  background: var(--c-void);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--speed);
  overflow: hidden;
}
.entry:hover { background: #0b1035; }

.entry--featured {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.entry--featured .entry__number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}
.entry--featured .entry__body {
  padding: 3rem 2.5rem;
  border-left: 1px solid var(--c-deep);
}

.entry__number {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: var(--c-mid);
  letter-spacing: 0.12em;
  padding: 1rem 1.2rem;
}

.entry__image {
  overflow: hidden;
  flex-shrink: 0;
}
.entry__image svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s var(--ease);
}
.entry:hover .entry__image svg { transform: scale(1.025); }

.entry__image--sm svg { aspect-ratio: 500/240; }

.entry__body {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--c-deep);
}
.entry--featured .entry__body { border-top: none; }

.entry__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.entry__category {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--c-signal);
  background: rgba(146,144,195,0.08);
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(146,144,195,0.2);
}
.entry__date,
.entry__read {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.entry__date::before { content: '// '; }

.entry__title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  transition: color var(--speed);
}
.entry--featured .entry__title { font-size: 1.8rem; line-height: 1.1; }
.entry:hover .entry__title { color: var(--c-signal); }

.entry__excerpt {
  font-family: var(--f-ui);
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.entry__link {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-mid);
  transition: color var(--speed);
  width: fit-content;
  position: relative;
}
.entry__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--c-signal);
  transition: width var(--speed) var(--ease);
}
.entry:hover .entry__link { color: var(--c-signal); }
.entry:hover .entry__link::after { width: 100%; }

/* Glitch effect on hover */
.entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(146,144,195,0.03) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.entry:hover::before { transform: translateX(100%); }

/* ── TOPICS ── */
.topics {
  background: var(--c-ink);
  border-top: 1px solid var(--c-deep);
  border-bottom: 1px solid var(--c-deep);
  padding: 3.5rem 2.5rem;
}
.topics > .section-label { max-width: 1400px; margin: 0 auto 2.5rem; }
.topics__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.topic-btn {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  border: 1px solid var(--c-deep);
  padding: 0.55rem 1.2rem;
  transition: color var(--speed), border-color var(--speed), background var(--speed);
}
.topic-btn:hover,
.topic-btn.active {
  color: var(--c-signal);
  border-color: var(--c-mid);
  background: rgba(83,92,145,0.1);
}

/* ── PULL QUOTE ── */
.pull-quote {
  padding: 5rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.pull-quote__inner {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.pull-quote__bar {
  width: 6px;
  height: 100%;
  min-height: 80px;
  background: var(--c-mid);
}
.pull-quote__text {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  transition: opacity 0.5s ease;
}
.pull-quote__cite {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--c-mid);
}

/* ── ABOUT ── */
.about {
  border-top: 1px solid var(--c-deep);
  padding: 5rem 2.5rem;
}
.about__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 6rem;
  align-items: center;
}
.about__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}
.about__body {
  font-family: var(--f-ui);
  font-size: 1rem;
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about__cta {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-mid);
  margin-top: 1.2rem;
  transition: color var(--speed);
  position: relative;
}
.about__cta::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--c-signal);
  transition: width var(--speed) var(--ease);
}
.about__cta:hover { color: var(--c-signal); }
.about__cta:hover::after { width: 100%; }

/* Pulse animation on about SVG corner rect */
.pulse-rect { animation: pulseBorder 2.5s ease-in-out infinite; }
@keyframes pulseBorder {
  0%,100% { opacity: 0.15; transform: scale(1); transform-origin: 373px 373px; }
  50%      { opacity: 0.7;  transform: scale(1.08); transform-origin: 373px 373px; }
}

/* ── SIGNAL ── */
.signal {
  position: relative;
  background: var(--c-ink);
  border-top: 1px solid var(--c-deep);
  padding: 6rem 2.5rem;
  text-align: center;
  overflow: hidden;
}
.signal__bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.signal__bg svg { width: 100%; height: 100%; }
.signal__inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}
.signal > .section-label { max-width: 620px; margin: 0 auto 0; }
.signal__title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 1.2rem 0 1rem;
}
.signal__sub {
  font-family: var(--f-ui);
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.signal__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}
.signal__input {
  flex: 1;
  background: rgba(7,15,43,0.9);
  border: 1px solid var(--c-deep);
  border-right: none;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.9rem 1.2rem;
  outline: none;
  transition: border-color var(--speed);
}
.signal__input::placeholder { color: var(--c-muted); }
.signal__input:focus { border-color: var(--c-mid); }
.signal__btn {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  background: var(--c-mid);
  color: #fff;
  border: 1px solid var(--c-mid);
  padding: 0.9rem 1.6rem;
  white-space: nowrap;
  transition: background var(--speed), border-color var(--speed);
}
.signal__btn:hover {
  background: var(--c-signal);
  border-color: var(--c-signal);
  color: var(--c-void);
}
.signal__note {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c-mid);
  margin-top: 1rem;
  min-height: 1.2em;
  transition: opacity 0.4s;
}

/* ── FOOTER ── */
.footer {
  background: var(--c-ink);
  border-top: 1px solid var(--c-deep);
  padding: 2.5rem;
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer__mark {
  font-size: 0.8rem;
  color: var(--c-mid);
}
.footer__name {
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--c-signal);
}
.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__nav a {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  transition: color var(--speed);
}
.footer__nav a:hover { color: var(--c-signal); }
.footer__copy {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--c-deep);
  width: 100%;
  text-align: center;
  border-top: 1px solid var(--c-deep);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-ink); }
::-webkit-scrollbar-thumb { background: var(--c-deep); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-mid); }

/* ── SELECTION ── */
::selection { background: rgba(83,92,145,0.5); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__canvas { padding: 7rem 2rem 2rem; max-width: 420px; margin: 0 auto; }
  .hero__text { padding: 1rem 2rem 4rem; }
  .hero__line { font-size: clamp(3.5rem, 10vw, 6rem); }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__right { max-width: 320px; }
}

@media (max-width: 900px) {
  .entry--featured {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .entry--featured .entry__body { border-left: none; border-top: 1px solid var(--c-deep); }
  .entries-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__inner { padding: 1rem 1.5rem; }
  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 85vw);
    background: rgba(3, 6, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem 2.5rem;
    border-left: 1px solid var(--c-deep);
    transform: translateX(100%);
    transition: transform var(--speed) var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__hamburger { display: flex; }

  .main { padding: 3rem 1.5rem; }
  .topics, .about { padding: 3rem 1.5rem; }
  .signal { padding: 4rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  .signal__form { flex-direction: column; }
  .signal__input { border-right: 1px solid var(--c-deep); border-bottom: none; }

  .pull-quote { padding: 3.5rem 1.5rem; }
  .pull-quote__text { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero__line { font-size: 3rem; }
  .entry--featured .entry__title { font-size: 1.4rem; }
}

/* ── OPTIMIZED POST LAYOUT ── */

.post-page {
  padding-top: 120px;
  padding-bottom: 90px;
  background:
    radial-gradient(circle at top, rgba(83, 92, 145, 0.08), transparent 35%),
    linear-gradient(to bottom, rgba(3, 6, 15, 0.18), transparent 180px),
    #070F2B;
}

.post-shell {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
}

.post-article {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(10, 16, 53, 0.58);
  border: 1px solid rgba(83, 92, 145, 0.20);
  padding: 56px 42px;
  box-shadow:
    0 0 0 1px rgba(27, 26, 85, 0.28) inset,
    0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
  text-align: left;
}

.post-article::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(83, 92, 145, 0.08);
  pointer-events: none;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  font-family: "Syne Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: #9290C3;
  text-transform: uppercase;
}

.post-meta__dot {
  opacity: 0.4;
}

.post-title {
  margin: 0 0 18px;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #F5F7FF;
  max-width: 16ch;
}

.post-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  background: rgba(146, 144, 195, 0.9);
  margin-top: 18px;
}

.post-intro {
  max-width: 62ch;
  font-family: "Syne", sans-serif;
  font-size: 1.12rem;
  line-height: 1.9;
  color: #EEF1FF;
  margin-bottom: 34px;
}

.post-section {
  margin-top: 34px;
}

.post-section h2 {
  margin: 0 0 14px;
  font-family: "Syne", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #C0BEFF;
}

.post-section p,
.post-intro {
  max-width: 66ch;
}

.post-section p {
  margin: 0 0 18px;
  font-family: "Syne", sans-serif;
  font-size: 1.04rem;
  line-height: 1.95;
  color: #D7DBF1;
}

.post-back {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(83, 92, 145, 0.22);
}

.post-back__link {
  display: inline-block;
  font-family: "Syne Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9290C3;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-back__link:hover {
  color: #F5F7FF;
  transform: translateX(-2px);
}

/* Slightly soften scanlines on article pages */
.post-page + .footer,
.post-page ~ .footer {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .post-page {
    padding-top: 100px;
    padding-bottom: 56px;
  }

  .post-shell {
    width: min(100% - 20px, 860px);
  }

  .post-article {
    padding: 30px 20px;
  }

  .post-title {
    max-width: none;
    font-size: clamp(1.95rem, 8vw, 2.7rem);
    line-height: 1.06;
  }

  .post-title::after {
    margin-top: 14px;
    width: 56px;
  }

  .post-intro {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 26px;
  }

  .post-section {
    margin-top: 28px;
  }

  .post-section h2 {
    font-size: 1.08rem;
  }

  .post-section p {
    font-size: 1rem;
    line-height: 1.85;
  }
}

.post-section {
  margin-top: 42px;
}

.post-section h2 {
  margin-bottom: 16px;
}

.post-section p {
  margin-bottom: 20px;
}

/* ── REDESIGNED HOMEPAGE FEED ── */

.home-featured {
  margin-bottom: 48px;
}

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: rgba(10, 16, 53, 0.5);
  border: 1px solid var(--c-deep);
  overflow: hidden;
}

.featured-post__media {
  border-right: 1px solid var(--c-deep);
}

.featured-post__media svg {
  width: 100%;
  height: 100%;
  display: block;
}

.featured-post__content {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}

.featured-post__tag {
  color: var(--c-signal);
}

.featured-post__title {
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.featured-post__title a {
  color: #fff;
  text-decoration: none;
}

.featured-post__title a:hover {
  color: var(--c-signal);
}

.featured-post__excerpt {
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-body);
}

.featured-post__link {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--c-signal);
  text-decoration: none;
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feed-card {
  background: rgba(10, 16, 53, 0.42);
  border: 1px solid var(--c-deep);
  padding: 24px;
  transition: transform var(--speed), border-color var(--speed), background var(--speed);
}

.feed-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-mid);
  background: rgba(10, 16, 53, 0.6);
}

.feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}

.feed-card__title {
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.15;
}

.feed-card__title a {
  color: #fff;
  text-decoration: none;
}

.feed-card__title a:hover {
  color: var(--c-signal);
}

.feed-card__excerpt {
  margin-bottom: 18px;
  color: var(--c-body);
  line-height: 1.7;
  font-size: 0.96rem;
}

.feed-card__link {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-signal);
  text-decoration: none;
}

.entries-actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.entries-actions__button {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid var(--c-mid);
  color: #fff;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: background var(--speed), border-color var(--speed), color var(--speed);
}

.entries-actions__button:hover {
  background: var(--c-mid);
  border-color: var(--c-signal);
}

@media (max-width: 900px) {
  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post__media {
    border-right: none;
    border-bottom: 1px solid var(--c-deep);
  }

  .post-feed {
    grid-template-columns: 1fr;
  }
}
/* ── ARCHIVE PAGE ── */

.archive-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at top, rgba(83, 92, 145, 0.08), transparent 35%),
    #070F2B;
}

.archive-hero {
  margin-bottom: 36px;
}

.archive-hero__inner {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
}

.archive-title {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  color: #fff;
}

.archive-subtitle {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-body);
}

.archive-list-wrap {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.archive-item {
  padding: 26px 24px;
  border: 1px solid var(--c-deep);
  background: rgba(10, 16, 53, 0.45);
  transition: transform var(--speed), border-color var(--speed), background var(--speed);
}

.archive-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-mid);
  background: rgba(10, 16, 53, 0.62);
}

.archive-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}

.archive-item__number {
  color: var(--c-signal);
}

.archive-item__title {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.1;
}

.archive-item__title a {
  color: #fff;
  text-decoration: none;
}

.archive-item__title a:hover {
  color: var(--c-signal);
}

.archive-item__excerpt {
  margin-bottom: 14px;
  color: var(--c-body);
  line-height: 1.75;
  max-width: 70ch;
}

.archive-item__link {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-signal);
  text-decoration: none;
}

.archive-back {
  margin-top: 34px;
  text-align: center;
}

.archive-back__link {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-signal);
  text-decoration: none;
}

.archive-back__link:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .archive-page {
    padding-top: 100px;
    padding-bottom: 56px;
  }

  .archive-item {
    padding: 20px 18px;
  }

  .archive-item__title {
    font-size: 1.15rem;
  }
}
.featured-post__media {
  overflow: hidden;
  border-right: 1px solid var(--c-deep);
  aspect-ratio: 700 / 420;
}

.featured-post__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feed-card__image {
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--c-deep);
}

.feed-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.archive-item {
  max-width: 720px;
  margin: 0 auto 60px;
  border: 1px solid rgba(83, 92, 145, 0.2);
  background: rgba(7, 15, 43, 0.6);
  overflow: hidden;
}

.archive-item__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(83, 92, 145, 0.2);
}

.archive-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-item__content {
  padding: 24px;
}

.archive-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #535C91;
  letter-spacing: 1px;
  font-family: var(--f-mono);
}

.archive-item__title {
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.archive-item__title a {
  text-decoration: none;
  color: white;
}

.archive-item__title a:hover {
  color: #9290C3;
}

.archive-item__excerpt {
  color: #aaa;
  margin-bottom: 16px;
  line-height: 1.6;
}

.archive-item__link {
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #9290C3;
  font-family: var(--f-mono);
}

.post-feature-image {
  margin: 28px 0 34px;
  border: 1px solid rgba(83, 92, 145, 0.2);
  overflow: hidden;
}

.post-feature-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 460px;
}
.post-inline-image {
  margin: 36px 0;
  overflow: hidden;
  border: 1px solid rgba(83, 92, 145, 0.18);
}

.post-inline-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 380px;
}