/* theunicornsassembly.com — YC-inspired editorial rhythm, dark purple + neon accents */
:root {
  --bg: #0a0612;
  --bg-elevated: #120a1c;
  --purple-deep: #1e0f2e;
  --purple-mid: #2d1f42;
  --text: #f4f2f8;
  --text-muted: #a89bb8;
  --white: #ffffff;
  --neon-blue: #2ee6ff;
  --neon-pink: #ff3d9a;
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --header-h: 72px;
  --ad-leader-max: 728px;
  --ad-leader-h: 90px;
  --section-gap: clamp(3.25rem, 5vw, 5.5rem);
  --section-gap-inner: clamp(2rem, 3.5vw, 2.85rem);
  /* Extra air between major vertical bands (stacks with section padding) */
  --section-band-gap: clamp(1rem, 2.5vw, 1.75rem);
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.35);
  --glow-cyan: 0 0 40px rgba(46, 230, 255, 0.12);
  --glow-pink: 0 0 40px rgba(255, 61, 154, 0.1);
  /* Horizontal inset for all content — use with vertical-only padding rules so .wrap keeps sides */
  --page-gutter: clamp(1rem, 4vw, 1.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(46, 230, 255, 0.07), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(255, 61, 154, 0.05), transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--neon-blue);
}

a:hover {
  color: var(--neon-pink);
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--purple-mid);
  z-index: 9999;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 18, 0.88);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(46, 230, 255, 0.25), rgba(255, 61, 154, 0.2), transparent) 1;
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: var(--white);
}

.logo img {
  height: 3.06rem;
  width: auto;
  max-width: min(317px, 74vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}

.logo:hover img {
  opacity: 0.92;
}

/* Full-color PNG in header; footer keeps logo-white.png */
.site-header .logo--header img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-main a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.nav-main a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-main a.is-active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
}

.nav-pill {
  border: 1px solid var(--border);
}

.ad-leader {
  max-width: min(100%, calc(var(--ad-leader-max) + 2 * var(--page-gutter)));
  margin: var(--section-band-gap) auto var(--section-band-gap);
  min-height: var(--ad-leader-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem var(--page-gutter) 0.85rem;
  box-sizing: border-box;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ad-leader ins,
.ad-inline ins,
.ad-sky ins,
.ad-square-float ins {
  display: inline-block;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  width: 100%;
  box-sizing: border-box;
}

/* Breadcrumb — blog & article only, left aligned */
.breadcrumb {
  padding: 0.65rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(10, 6, 18, 0.55);
  box-sizing: border-box;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.22);
  margin: 0 0.5rem;
  font-weight: 400;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--neon-blue);
}

.breadcrumb li[aria-current="page"] {
  color: var(--white);
  max-width: min(100%, 42ch);
}

.hero {
  /* Vertical only — keeps horizontal padding from .wrap */
  padding-top: var(--section-gap);
  padding-bottom: calc(var(--section-gap) + var(--section-band-gap) * 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(46, 230, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 61, 154, 0.08), transparent 50%),
    var(--bg);
}

.hero--mesh {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(18, 10, 32, 0.95) 0%, var(--bg) 45%, #0d0818 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero--mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(46, 230, 255, 0.15) 0%, transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(255, 61, 154, 0.12) 0%, transparent 38%),
    linear-gradient(105deg, transparent 40%, rgba(46, 230, 255, 0.04) 50%, transparent 60%);
  pointer-events: none;
}

.hero--mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero--mesh .hero-split,
.hero--mesh .topic-strip {
  position: relative;
  z-index: 1;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 40%);
  gap: 2rem 2.75rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(46, 230, 255, 0.1);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(46, 230, 255, 0.06), transparent 42%, rgba(255, 61, 154, 0.05));
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  max-height: min(520px, 72vh);
}

@media (max-width: 800px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-visual {
    order: 1;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy {
    order: 0;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 22ch;
  color: var(--white);
}

@media (min-width: 801px) {
  .hero h1 {
    max-width: 26ch;
  }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero .hero-copy .hero-lead {
  margin-bottom: 0;
}

.hero .topic-strip {
  margin-top: 2rem;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.topic-strip span {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.topic-strip a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.topic-strip a:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.topic-strip--floating {
  padding: 0.65rem 1rem;
  background: rgba(18, 10, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

section[id] {
  scroll-margin-top: 80px;
}

/* Home page: separate hero, content stripes, and FAQ without crowding */
.page-home main > .hero + .section-block,
.page-home main > .section-block + .section-block,
.page-home main > .section-block + .faq {
  margin-top: var(--section-band-gap);
}

.page-home main {
  padding-bottom: var(--section-band-gap);
}

.section-block {
  position: relative;
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin: 0 0 0.75rem;
}

.section-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--white);
  max-width: 28ch;
}

.section-block .lead {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 1.35rem;
  font-size: 1.0625rem;
}

.section-block--cyan {
  background: linear-gradient(180deg, rgba(46, 230, 255, 0.04) 0%, transparent 55%);
}

.section-block--cyan::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: min(70%, 320px);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--neon-blue), rgba(46, 230, 255, 0.15));
  opacity: 0.85;
}

.section-block--ticker {
  background: linear-gradient(135deg, rgba(45, 31, 66, 0.55) 0%, var(--bg) 48%, rgba(18, 10, 28, 0.9) 100%);
}

.section-block--ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 80px,
    rgba(255, 255, 255, 0.02) 80px,
    rgba(255, 255, 255, 0.02) 81px
  );
  pointer-events: none;
}

.section-block--ticker .section-eyebrow {
  color: var(--neon-pink);
}

.section-block--violet {
  background: radial-gradient(ellipse 100% 80% at 100% 20%, rgba(255, 61, 154, 0.08), transparent 55%),
    linear-gradient(180deg, transparent, rgba(30, 15, 46, 0.5));
}

.section-block--violet::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: 15%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 154, 0.12), transparent 70%);
  pointer-events: none;
}

.section-block--violet .section-eyebrow {
  color: var(--neon-pink);
}

@media (max-width: 640px) {
  .section-block--cyan::before {
    display: none;
  }
}

.rss-block {
  margin-top: var(--section-gap-inner);
  padding-top: var(--section-gap-inner);
  border-top: 1px dashed var(--border);
}

.rss-block--panel {
  margin-top: var(--section-gap-inner);
  padding: 1.35rem 1.35rem 1.25rem;
  border: 1px solid rgba(46, 230, 255, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(18, 10, 28, 0.9), rgba(26, 14, 40, 0.65));
  box-shadow: var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(46, 230, 255, 0.15);
}

.rss-block--panel-rose {
  border-color: rgba(255, 61, 154, 0.22);
  box-shadow: var(--glow-pink), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background: linear-gradient(155deg, rgba(30, 15, 46, 0.85), rgba(18, 10, 28, 0.75));
}

.rss-block--ticker-shell {
  margin-top: var(--section-gap-inner);
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 6, 18, 0.6);
  box-shadow: inset 0 0 0 1px rgba(46, 230, 255, 0.08), var(--shadow-soft);
}

.rss-block--ticker-shell .feed-label {
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.25rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-block--cyan .rss-block--panel .rss-cards a:hover {
  border-color: rgba(46, 230, 255, 0.45);
  box-shadow: 0 8px 24px rgba(46, 230, 255, 0.08);
}

.section-block--violet .rss-block--panel-rose .rss-cards a:hover {
  border-color: rgba(255, 61, 154, 0.4);
  box-shadow: 0 8px 24px rgba(255, 61, 154, 0.08);
}

.feed-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.rss-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rss-cards a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.rss-cards a:hover {
  border-color: rgba(46, 230, 255, 0.35);
  transform: translateY(-1px);
}

.rss-cards .rss-title {
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.35;
}

.rss-cards .rss-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.rss-fallback {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 1rem;
  background: var(--purple-deep);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.ticker-wrap {
  overflow: hidden;
  margin-top: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
}

.rss-block--ticker-shell .ticker-wrap {
  margin-top: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(46, 230, 255, 0.18);
  background: linear-gradient(180deg, rgba(26, 14, 40, 0.95), rgba(10, 6, 18, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding: 0.95rem 1.35rem;
  animation: ticker 40s linear infinite;
  width: max-content;
  min-height: 2.75rem;
  box-sizing: border-box;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  flex: 0 0 auto;
  font-size: 0.875rem;
  line-height: 1.45;
  white-space: nowrap;
  padding: 0.15rem 0;
}

.ticker-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.1rem 0;
}

.ticker-item a:hover {
  color: var(--neon-pink);
}

.ticker-item .src {
  color: var(--neon-blue);
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.faq {
  padding-top: var(--section-gap);
  padding-bottom: calc(var(--section-gap) + 0.5rem);
}

.faq h2 {
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  background: var(--bg-elevated);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--white);
}

.faq details[open] summary {
  margin-bottom: 0.75rem;
  color: var(--neon-blue);
}

.faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq--modern {
  background: linear-gradient(180deg, rgba(30, 15, 46, 0.35), transparent 40%);
  border-radius: var(--radius-lg);
  padding-top: calc(var(--section-gap) + 0.35rem);
  padding-bottom: calc(var(--section-gap) + 1rem);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.faq--modern h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.faq--modern .faq-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .faq--modern .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.faq--modern details {
  border-radius: var(--radius-sm);
  background: rgba(10, 6, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem 1.2rem 1rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq--modern details:hover {
  border-color: rgba(46, 230, 255, 0.2);
}

.faq--modern details[open] {
  border-color: rgba(46, 230, 255, 0.35);
  box-shadow: var(--glow-cyan);
  background: linear-gradient(165deg, rgba(26, 14, 40, 0.9), rgba(10, 6, 18, 0.85));
}

.faq--modern summary {
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq--modern summary::-webkit-details-marker {
  display: none;
}

.faq--modern summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--neon-blue);
  transition: transform 0.2s;
}

.faq--modern details[open] summary::after {
  content: "−";
  color: var(--neon-pink);
}

.faq--modern details[open] summary {
  color: var(--neon-blue);
}

.site-footer {
  padding: 0;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(46, 230, 255, 0.2), rgba(255, 61, 154, 0.15), transparent) 1;
  background: linear-gradient(185deg, var(--bg) 0%, #150a22 38%, var(--purple-deep) 100%);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 20% 0%, rgba(46, 230, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 2.5rem;
  align-items: start;
  padding: var(--section-gap) var(--page-gutter) calc(var(--section-gap) - 0.5rem);
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-self: end;
}

.footer-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--neon-blue);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-nav {
    justify-self: start;
  }
}

/* Blog layout */
.blog-hero {
  padding-bottom: calc(var(--section-gap-inner) + 0.35rem);
  margin-bottom: var(--section-band-gap);
}

.blog-hero--feature {
  padding: 1.75rem min(1.75rem, var(--page-gutter)) 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, rgba(45, 31, 66, 0.6) 0%, rgba(18, 10, 28, 0.85) 50%, rgba(10, 6, 18, 0.95) 100%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.blog-hero--feature::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 61, 154, 0.12), transparent 65%);
  pointer-events: none;
}

.blog-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin: 0 0 0.65rem;
  position: relative;
  z-index: 1;
}

.blog-hero__lead {
  margin: 0 !important;
  max-width: 52ch;
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.own-posts-panel {
  margin-bottom: 0.5rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
  padding-bottom: calc(var(--section-gap) + var(--section-band-gap));
  padding-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 6, 18, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.blog-main {
  min-width: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-bar button:hover,
.filter-bar button.is-on {
  color: var(--bg);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
  border-color: transparent;
}

.filter-bar--segmented {
  padding: 0.35rem;
  gap: 0.35rem;
  background: rgba(10, 6, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.filter-bar--segmented button {
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
}

.filter-bar--segmented button:hover:not(.is-on) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.post-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card {
  display: block;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.post-card:hover {
  border-color: rgba(255, 61, 154, 0.4);
}

.post-card--feature {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(36, 22, 58, 0.95), rgba(18, 10, 28, 0.9));
  padding: 1.5rem 1.5rem 1.45rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.post-card--feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  opacity: 0.95;
}

.post-card--feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft), var(--glow-pink);
  border-color: rgba(255, 61, 154, 0.35);
}

.post-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-pink);
  margin-bottom: 0.5rem;
}

.post-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--white);
}

.post-card .excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.post-card .meta {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mixed-feed .feed-card {
  display: block;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.65rem;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
}

.mixed-feed .feed-card:hover {
  border-color: rgba(46, 230, 255, 0.3);
}

.mixed-feed .cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 0.35rem;
}

.mixed-feed h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--white);
}

.mixed-feed .ex {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.mixed-feed--panel {
  margin-top: var(--section-gap-inner);
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 6, 18, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mixed-feed__title {
  font-size: 1.15rem !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem !important;
  color: var(--white);
}

.mixed-feed__intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.15rem;
  line-height: 1.55;
}

.mixed-feed--panel .feed-card {
  border-radius: var(--radius-sm);
  background: rgba(18, 10, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mixed-feed--panel .feed-card:hover {
  background: rgba(26, 14, 40, 0.9);
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 12px);
}

.page-blog .sidebar {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(195deg, rgba(30, 15, 46, 0.5), rgba(10, 6, 18, 0.3));
}

.sidebar .ad-square {
  margin-bottom: 1rem;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-sky {
  display: flex;
  justify-content: center;
  min-height: 600px;
}

@media (max-width: 900px) {
  .sidebar .ad-sky {
    display: none;
  }
}

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: calc(var(--section-gap) + var(--section-band-gap));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 6, 18, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.page-blog-main {
  padding-top: 0.75rem;
  padding-bottom: var(--section-band-gap);
}

.page-blog-main > .breadcrumb {
  margin-bottom: var(--section-band-gap);
}

.article-header {
  padding-bottom: 1rem;
}

.article-header--feature {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: var(--section-band-gap);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 15, 46, 0.5), rgba(10, 6, 18, 0.35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.article-header--feature .label {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 61, 154, 0.35);
  background: rgba(255, 61, 154, 0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-pink);
}

.article-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags span {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}


.article-body {
  font-size: 1.0625rem;
  color: var(--text);
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 0.45rem;
}

.article-body h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--white);
}

.article-body--prose {
  counter-reset: prose-section;
}

.article-body--prose h2 {
  counter-increment: prose-section;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  border-top: none;
  padding-top: 0;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.article-body--prose h2:first-of-type {
  margin-top: 1.35rem;
}

.article-body--prose h2::before {
  content: counter(prose-section, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--bg);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
  border-radius: 9px;
}

.article-body--prose > p:first-of-type {
  font-size: 1.125rem;
  color: var(--text);
}

.article-body--prose .section-rule {
  margin: 2.25rem 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), transparent);
  opacity: 0.55;
  border: none;
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--white);
}

.article-body .section-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--neon-blue), transparent);
  margin: 2rem 0;
  border: none;
}

.pull-quote {
  margin: 2rem 0;
  padding: 1.35rem 1.35rem 1.35rem 1.25rem;
  border-left: 4px solid var(--neon-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(90deg, rgba(255, 61, 154, 0.1), rgba(255, 61, 154, 0.02));
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 61, 154, 0.12);
}

.article-figure {
  margin: 1.75rem 0 2.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(18, 10, 28, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ad-square-float {
  float: right;
  margin: 0 0 1rem 1.25rem;
  max-width: 300px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-body::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 640px) {
  .ad-square-float {
    float: none;
    margin: 1rem auto;
    max-width: 100%;
  }
}

.read-more {
  padding-top: calc(var(--section-gap) + var(--section-band-gap) * 0.5);
  padding-bottom: calc(var(--section-gap) + var(--section-band-gap));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.read-more--bento {
  background: linear-gradient(180deg, rgba(18, 10, 28, 0.55), rgba(10, 6, 18, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding-top: calc(var(--section-gap) + 0.5rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.read-more--bento h2 {
  font-size: 1.25rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.read-more--bento .read-grid {
  gap: 1.15rem;
}

.read-more--bento .read-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(30, 15, 46, 0.6), rgba(10, 6, 18, 0.95));
  padding: 1.2rem 1.15rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.read-more--bento .read-card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 255, 0.25);
  box-shadow: var(--glow-cyan);
}

.section-live-headlines {
  padding: calc(var(--section-gap) + var(--section-band-gap) * 0.35) var(--page-gutter) var(--section-gap);
  margin-top: calc(var(--section-gap-inner) + var(--section-band-gap) * 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 6, 18, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section-live-headlines--strip {
  margin-top: 0;
  padding: 1.75rem var(--page-gutter);
  border: 1px solid rgba(46, 230, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(125deg, rgba(26, 14, 40, 0.85), rgba(10, 6, 18, 0.92));
  box-shadow: var(--glow-cyan);
}

.section-live-headlines--strip .feed-label {
  color: var(--neon-blue);
}

.section-live-headlines--strip .rss-cards a {
  background: rgba(10, 6, 18, 0.55);
}

.article-body .context-bridge {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 1.35rem 1.25rem;
  margin-top: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(30, 15, 46, 0.35);
  line-height: 1.7;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.read-more h2 {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.read-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .read-grid {
    grid-template-columns: 1fr;
  }
}

.read-card {
  display: block;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.read-card:hover {
  border-color: rgba(46, 230, 255, 0.35);
}

.read-card .src-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 0.35rem;
}

.read-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.read-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.45;
}

.read-card .read-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-pink);
}

.loading-shimmer {
  min-height: 4rem;
  background: linear-gradient(
    90deg,
    var(--bg-elevated) 0%,
    var(--purple-mid) 50%,
    var(--bg-elevated) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
