@charset "UTF-8";
/* ==========================================================================
   FIBIOS - MASTER STYLESHEET
   --------------------------------------------------------------------------
   Surfaces : FibiOS (default navy), light, dark, plus print.
   Pages    : 19 static pages sharing this one sheet.
   Type     : Inter for UI, Merriweather 700 for headlines only.

   ORDER
   Rule order is source order and is preserved deliberately. Once the
   superseded declarations and unused selectors were removed, what remained
   still collides on specificity, so reordering it for tidiness would change
   the cascade. Consequence: components interleave. `.hero` appears in a
   dozen separate stretches, `.site-header` in nine. That is the residue of
   four stylesheets stacked over each other, and it is stated here rather
   than hidden behind headings that would not be true. One ordering slip
   survived the rebuild and is corrected at the `body` rule below, where a
   transition had been lifted ahead of the rule that used to override it.

   PROVENANCE
   Every value below was resolved from the shipped sheet by keeping the last
   declaration for each property under each selector, so these are the values
   that were actually reaching the screen. What went: 987 declarations that a
   later duplicate already overrode, 175 selectors naming classes no page
   uses, one invalid property (`align-text`, restored below as `text-align`).
   No value was invented.

   WHAT A MARKUP SCAN MISSES
   main.js builds part of the page itself, so a scan of the HTML alone calls
   live components unused. The card internals (.card-body, .card-title,
   .card-text), the telemetry HUD (.hero-hud, .hero-hud-right, .hud-val) and
   .decrypting appear in no page and exist only once a script has run. Eight
   of those rules had been pruned and are restored here, each flagged with a
   comment at its site; .decrypting had survived. Treat a class as dead only
   when no page and no script assigns it.

   PALETTE - DISCREPANCY LEFT STANDING, THE SWITCH IS TWO LINES
   The design system specifies navy #0a192f and card #112240. The shipped
   sheet was rendering #0a202f for the body and #0d101d for cards instead.
   Those live values are kept: they are what every page has been showing, and
   moving to the documented pair is a visual decision, not a cleanup. To adopt
   the design-system pair, edit these two lines and nothing else:
     --bg-body: #0a202f;   ->   --bg-body: #0a192f;
     --bg-card: #0d101d;   ->   --bg-card: #112240;
   Every surface reads these tokens, so no other line needs to change. The
   hero is the exception and is unaffected either way: it hardcodes #0A192F
   in its own gradient rather than reading --bg-body.

   THEME MATCHING
   The markup spells the theme three ways: "FibiOS" on index and about,
   "fibios" on the article pages, and the switcher buttons follow the page.
   The attribute selectors therefore carry the `i` flag. Without it, fifteen
   of the nineteen pages lose selected-state styling on the theme switcher.

   OPEN ITEM - not changed here, a colour decision rather than a cleanup
   --bg-input on the light surface is #1e354b, a dark navy, while the text
   typed into that field is --text-main #000000. Measured contrast is 1.67:1
   against a 4.5:1 minimum. Three values that clear it, on #ffffff cards:
     #eef2f7   18.7:1 against body text   12.4:1 against muted text
     #dfe9f3   17.1:1                     11.4:1
     #e6f4f1   18.6:1                     12.4:1   pale mint, ties to accent
   All three keep the existing 1px #000000 field border, so the field edge
   stays visible against the card. Ratios are WCAG 2.1 relative luminance.

   ROLLBACK
   assets/css/_archive/styles.20261119-004758.css is the pre-cleanup sheet,
   byte for byte (160,753 bytes, sha256 9574eca2...). No version control
   exists on this machine.
   ========================================================================== */


:root,
[data-theme="fibios" i] {
  --bg-body: #0a202f;
  --bg-card: #0d101d;
  --bg-input: #0A192F;
  --text-main: #CCD6F6;
  --text-muted: #8892B0;
  --border-color: #233554;
  --accent: #64FFDA;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --measure: 68ch;
  --gutter: 1.5rem;
  --section-y: clamp(3rem, 1.6rem + 6vw, 6rem);
  --color-success: #22C55E;
  --color-neutral: #94A3B8;
  --color-warning: #F59E0B;
  --color-danger: #cf3b15;
}

[data-theme="light"] {
  --bg-body: #ebebeb;
  --bg-card: #ffffff;
  --bg-input: #1e354b;
  --text-main: #000000;
  --text-muted: #2c2c2c;
  --border-color: #000000;
  --accent: #116466;
  --color-success: #16A34A;
  --color-neutral: #64748B;
  --color-warning: #ff8800;
  --color-danger: #ff3300;
}

[data-theme="dark"] {
  --bg-body: #000000;
  --bg-card: #050101;
  --bg-input: #050505;
  --text-main: #F8F9FA;
  --text-muted: #A0A0A0;
  --border-color: #333333;
  --accent: #64FFDA;
  --color-success: #22C55E;
  --color-neutral: #94A3B8;
  --color-warning: #F59E0B;
  --color-danger: #cf3b15;
}

@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 2.5rem;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

blockquote,
body,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
ol,
p,
ul {
  margin: 0;
}

ol[role="list"],
ul[role="list"] {
  list-style: none;
  padding: 0;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.page-article,
body {
  background-color: var(--bg-body);
  color: var(--text-main);
  background-image: radial-gradient(var(--border-color) 1px, transparent 1.6px);
  background-size: 24px 24px;
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: 0 0;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.3s ease, color 0.3s ease;
  animation: dot-drift 5s linear infinite;
}

[data-theme="light"] .page-article,
[data-theme="light"] body {
  background-image: radial-gradient(
    color-mix(in srgb, var(--text-muted) 44%, transparent) 1px,
    transparent 0.6px
  );
}

/* No transition declared here on purpose: the `.page-article, body` rule above
   sets it, and in the pre-cleanup sheet that rule came after this one and won.
   Re-adding a transition here would silently take the cascade back. */
body {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: var(--text-main);
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 0.15s;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

b,
strong {
  font-weight: 600;
  color: var(--text-main);
}

em,
i {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 2.5rem 0;
}

::selection {
  background: var(--accent);
  color: var(--bg-body);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 1px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-120%);
  background: var(--accent);
  color: var(--bg-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 2px 0;
}

.skip-link:focus {
  transform: translateY(0);
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100;
  width: 100%;
  background-color: var(--bg-body);
  background-image: none;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: var(--text-main);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-ui);
  font-size: 0;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: none;
  color: var(--text-main);
}

.brand-name::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--accent);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--text-main);
}

.nav-toggle-bars::after,
.nav-toggle-bars::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1.125rem;
  height: 2px;
  background: var(--text-main);
  transition: 0.2s;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--accent);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--accent);
}

.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding-inline: var(--gutter);
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1rem 2rem rgba(2,12,27,0.55);
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  list-style: none;
  padding: 0.5rem 0 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
}

.primary-nav li {
  margin: 0;
}

.primary-nav a {
  display: block;
  padding: 0.7rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.primary-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--border-color);
}

@media (min-width: 640px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: block;
    position: static;
    padding-inline: 0;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    margin-left: auto;
    padding: 0;
    border: 0;
  }

  .primary-nav ul {
    flex-direction: row;
    gap: 1.25rem;
    border-top: 0;
    padding-block: 0;
  }

  .primary-nav a {
    padding: 0.35rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 900px) {
  .primary-nav ul {
    gap: 2rem;
  }
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background-color: var(--bg-card);
  flex: 0 0 auto;
}

.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2rem;
  min-height: 2.5rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: transparent;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.15s;
  background: transparent;
}

.theme-switch-btn:hover {
  color: var(--text-main);
}

[data-theme="dark"] .theme-switch-btn[data-set-theme="dark"],
[data-theme="fibios" i] .theme-switch-btn[data-set-theme="fibios" i],
[data-theme="light"] .theme-switch-btn[data-set-theme="light"],
html:not([data-theme]) .theme-switch-btn[data-set-theme="fibios" i] {
  color: var(--text-main);
  background-color: var(--bg-body);
  border-color: var(--border-color);
}

.theme-swatch {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.theme-swatch--light {
  background-color: #F8F9FA;
}

.theme-swatch--FibiOS,
.theme-swatch--fibios {
  background-color: #64FFDA;
}

.theme-swatch--dark {
  background-color: #050505;
}

.theme-switch-label {
  display: none;
}

@media (max-width: 639px) {
  .theme-switch {
    margin-left: auto;
    order: 2;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex !important;
  }
}

@media (min-width: 640px) {
  .theme-switch {
    margin-left: 1rem;
  }

  .theme-switch-btn {
    min-height: 1.75rem;
  }
}

@media (min-width: 768px) {
  .theme-switch-btn {
    min-width: 0;
    padding: 0 0.6rem;
  }

  .theme-switch-label {
    display: inline;
  }
}

/* Telemetry HUD. Built by main.js (hero-hud, hero-hud-right, hud-val) and
   appended to .hero; no page carries this markup, so a markup-only scan sees
   no user and prunes it. Without these rules the HUD renders as plain text. */
.hero-hud {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.6;
  z-index: 10;
  pointer-events: none;
  line-height: 1.6;
}

.hero-hud-right {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.6;
  z-index: 10;
  pointer-events: none;
  text-align: right;
  line-height: 1.6;
}

.hud-val {
  color: #FFFFFF;
  font-weight: bold;
}

.hero {
  width: 100%;
  padding-block: 6rem;
  background-color: #0A192F;
  border-bottom: 1px solid var(--border-color);
  background-image: linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
    url("../img/hero-mobile.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: normal;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: 5rem;
}

@media (min-width: 900px) {
  .hero {
    background-image: linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
      url("../img/hero.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(100, 255, 218, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 255, 218, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: hero-grid-drift 5s linear infinite alternate;
  pointer-events: none;
}

@keyframes hero-grid-drift {
  to {
    background-position: 12px 12px, 12px 12px;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  background: rgba(10, 25, 47, 0.5);
  backdrop-filter: blur(4px);
}

.hero-kicker::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1px;
  background: rgba(100, 255, 218, 0.32);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 2rem;
  max-width: none;
  text-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 30%, transparent),
    0 3px 5px rgba(0, 0, 0, 0.8),
    0 10px 20px rgba(0, 0, 0, 0.9);
  -webkit-text-stroke: 1px rgba(10, 25, 47, 0.6);
}

@supports (text-wrap: balance) {
  .hero-title {
    text-wrap: balance;
  }
}

.hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: #CCD6F6;
  max-width: 65ch;
  margin-bottom: 3.5rem;
  margin-inline: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1),       
    0 3px 8px rgba(0, 0, 0, 0.9),     
    0 6px 15px rgba(0, 0, 0, 0.7);
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: 2px;
  text-decoration: none;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid rgba(204, 214, 246, 0.3);
  transition: 0.2s;
}

.hero-cta:hover {
  color: #64FFDA;
  border-color: #64FFDA;
  background-color: rgba(100, 255, 218, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-latest {
  margin-top: 3.5rem;
}

.prose {
  max-width: 35rem;
}

.prose > p {
  margin-bottom: 1.35em;
  color: var(--text-main);
}

.prose > p:last-child {
  margin-bottom: 0;
}

.lede {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  line-height: 1.55;
  color: var(--text-main);
  font-weight: 400;
  margin-bottom: 1.5em;
}

.cta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.cta-line strong {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 100%;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--bg-body);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  min-height: 2.75rem;
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s;
  background: var(--accent);
}

.btn:hover {
  background-color: var(--bg-card);
  border-color: var(--accent);
  color: var(--text-main);
  transform: translateY(-1px);
  text-decoration: none;
  background: var(--bg-card);
}

.btn:focus-visible {
  outline-color: var(--accent);
  outline-offset: 3px;
}

.text-link {
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid var(--accent);
}

.text-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--border-color);
  scroll-margin-top: 5.5rem;
}

.page-home #hero,
.page-home #architecture,
.page-home #mission,
.page-home #articles {
  scroll-margin-top: 0;
}

#main > .hero + .section,
#main > .section:first-child {
  border-top: 0;
}

.section-head {
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.section-lead {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: var(--measure);
  margin-bottom: 1.5rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  background-image: none;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  box-shadow: none;
  transition: 0.2s;
}

.card:focus-within,
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}

/* Card internals. These classes never appear in the HTML: main.js builds each
   card with className assignments (card-body, card-title, card-text), so a
   scan of the markup alone reports them as unused and prunes them. They are
   live, and removing them leaves the generated card list unstyled. */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.75rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1 1 auto;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.card-meta > * + *::before {
  content: "\00b7";
  margin-right: 0.5rem;
  color: var(--accent);
}

.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  color: var(--text-muted);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

.card:focus-within .tag,
.card:hover .tag {
  color: var(--accent);
  border-color: var(--accent);
}

.pillar-card {
  display: flex;
  padding: clamp(3rem, 5vw, 6rem) clamp(2rem, 4vw, 5rem);
  background-color: color-mix(in srgb, var(--bg-card) 34%, transparent);
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
              background-color 0.3s ease;
  position: relative;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, background-color;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
  background-color: color-mix(in srgb, var(--bg-card) 45%, transparent);
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.pillar-card .tag {
  margin-bottom: 1.5rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  color: var(--text-muted);
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  position: relative;
  align-self: flex-start;
  z-index: 1;
}

.pillar-card p {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  margin: 0;
}

.sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
    top: 5rem;
  }
}

.feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feed-item {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
  margin-inline: 0;
  border-top: 1px solid var(--border-color);
  transition: background-color 180ms ease, border-color 180ms ease;
  border-bottom: 0;
}

.feed-item:focus-within {
  outline: 1px solid var(--accent);
  outline-offset: 0.35rem;
}

.feed-item:nth-child(odd) {
  background-color: var(--bg-card);
}

.feed-item:nth-child(even) {
  background-color: color-mix(in srgb, var(--bg-card) 88%, transparent);
}

.feed-item[data-status="published"] {
  cursor: pointer;
}

.feed-item[data-status="published"]:hover {
  background-color: color-mix(in srgb, var(--accent) 22%, var(--bg-card)) !important;
  border-top-color: var(--accent) !important;
}

.feed-item .feed-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.feed-item .feed-title a:focus-visible {
  outline: none;
}

.feed-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.feed-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.feed-item:hover .feed-title a {
  border-bottom-color: var(--accent) !important;
  color: var(--accent) !important;
}

.feed-title a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.feed-dek {
  color: var(--text-muted);
  margin-top: 0.35rem;
}

@supports (text-wrap: pretty) {
  .feed-dek {
    text-wrap: pretty;
  }
}

.sidebar-block {
  position: relative;
  padding: 1.75rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  text-align: justify;
  box-sizing: border-box;
}

.sidebar-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
}

.sidebar-block + .sidebar-block {
  margin-top: 2rem;
}

.board-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.board-text {
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.newsletter {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
}

.form {
  margin-top: 1.75rem;
  max-width: 34rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
}

.field {
  margin-bottom: 1.25rem;
}

.field:last-of-type {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.field .req {
  color: var(--accent);
  margin-left: 0.15rem;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  background-color: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 2.75rem;
  transition: border-color 0.15s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364FFDA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.field select option {
  background-color: var(--bg-input);
  color: var(--text-main);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field input:hover,
.field select:focus,
.field textarea:focus,
.field textarea:hover {
  border-color: var(--accent);
}

.field-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form .btn {
  cursor: pointer;
  width: 100%;
}

@media (min-width: 480px) {
  .form .btn {
    width: auto;
    min-width: 12rem;
  }
}

.site-footer {
  position: relative;
  isolation: isolate;
  background-color: color-mix(in srgb, var(--bg-card) 35%, transparent);
  background-image: none;
  border-top: 1px solid var(--border-color);
  padding-block: 4rem 2rem;
  margin-top: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(100, 255, 218, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 255, 218, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: hero-grid-drift 5s linear infinite alternate;
  pointer-events: none;
}

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

[data-theme="light"] .site-footer::before {
  background-image:
    linear-gradient(to right, rgba(17, 100, 102, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 100, 102, 0.15) 1px, transparent 1px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.7fr);
    gap: 2.5rem;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--text-main);
  text-decoration: none;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 2rem;
  height: 2rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34ch;
}

.footer-metrics {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}

.footer-metrics-heading {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
}

.footer-metric {
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
  border-radius: 2px;
  background-color: color-mix(in srgb, var(--bg-card) 78%, transparent);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.4);
}

.footer-metric dt {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-metric dd {
  margin: 0.3rem 0 0;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-metric dd span {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.4;
}

.footer-metrics-note {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6rem;
  line-height: 1.5;
}

.footer-metrics-method {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.65rem;
  line-height: 1.45;
}

.footer-law {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--border-color) 45%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--accent) 80%, transparent);
  border-radius: 2px;
  background-color: color-mix(in srgb, var(--bg-card) 78%, transparent);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.4);
}

.footer-law-heading {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-law blockquote {
  color: var(--text-main);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.55;
}

.footer-law p {
  margin: 0;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.footer-ledger {
  margin-block: 0.5rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-list a {
  color: var(--text-main);
  font-size: 0.875rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-list a:hover {
  color: var(--accent);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.footer-list a[aria-current="page"] {
  color: var(--accent);
}

.footer-ledger-list[role="list"] {
  max-height: min(65vh, 32rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border: 0;
  border-radius: 2px;
  background-color: color-mix(in srgb, var(--bg-card) 78%, transparent);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.4);
  gap: 1.25rem;
  scrollbar-color: var(--accent) transparent;
  scrollbar-width: thin;
}

.footer-ledger-item {
  display: grid;
  gap: 0.25rem;
}

.footer-ledger-list a {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.footer-ledger-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.footer-ledger-list:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer-ledger-list::-webkit-scrollbar {
  width: 0.4rem;
}

.footer-ledger-list::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 999px;
}

.footer-ledger-list::-webkit-scrollbar-track {
  background: transparent;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer-newsletter {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 2.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.footer-newsletter-label {
  display: block;
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 32rem;
}

.footer-newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 2px;
  background-color: transparent !important;
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  transition: border-color 180ms;
  background: transparent;
}

.footer-newsletter-input::placeholder {
  color: var(--text-muted);
}

.footer-newsletter-input:hover {
  border-color: var(--accent);
}

.footer-newsletter-input:focus-visible {
  outline: none;
  outline-offset: 2px;
  border-color: var(--accent);
}

.footer-newsletter-button {
  flex: 0 0 auto;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-left-color 0.2s ease;
  border-left: 1px solid var(--border-color);
}

.footer-newsletter-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-body);
  background-color: var(--accent);
  border-left-color: var(--accent);
}

.footer-newsletter-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.footer-newsletter-status {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0.6rem;
  min-height: 1.2em;
  font-family: var(--font-ui);
}

.page-article {
  background-color: var(--bg-body);
  color: var(--text-main);
}

.article-head {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--border-color);
}

.article-head-inner {
  max-width: var(--measure);
  margin-inline: auto;
  text-align: initial;
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  justify-content: initial;
}

.article-kicker::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  flex: 0 0 auto;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-wrap: balance;
}

.article-standfirst {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  text-align: justify;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: var(--measure);
}

.article-head .card-meta {
  margin-top: 1.75rem;
  justify-content: initial;
}

.article-body {
  padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem);
  text-align: justify;
}

.article-body .prose {
  max-width: var(--measure);
  margin-inline: auto;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.97rem + 0.25vw, 1.0625rem);
  line-height: 1.8;
  color: var(--text-main);
}

.article-body .prose > p {
  color: var(--text-main);
}

.article-body .lede {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.05rem + 0.45vw, 1.25rem);
  line-height: 1.72;
  color: var(--text-main);
}

.article-body h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--text-main);
  margin-block: 2.5rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  scroll-margin-top: 5rem;
}

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

.article-body a {
  color: var(--text-main);
  border-bottom: 1px solid var(--accent);
}

.article-body a:hover {
  text-decoration: none;
  border-bottom-color: var(--text-main);
}

.article-body strong {
  color: var(--text-main);
  font-weight: 700;
}

.article-body em {
  font-style: italic;
}

.article-body hr {
  border-top-color: var(--border-color);
  margin-block: 2.5rem;
}

.takeaway {
  margin-block: 2.75rem 0;
  background-color: var(--bg-card);
  background-image: none;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

.takeaway h2 {
  margin: 0 0 1rem;
  padding-top: 0;
  border-top: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.25rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.takeaway ul {
  margin: 0;
  padding-left: 1.15rem;
  list-style: none;
}

.takeaway li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 0.35rem;
  color: var(--text-main);
  font-size: 0.9375rem;
  line-height: 1.72;
}

.takeaway li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
  border-radius: 50%;
}

.takeaway li:last-child {
  margin-bottom: 0;
}

.takeaway-close {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.sources {
  margin-block: 2.75rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.sources h2 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-top: 0;
  border-top: 0;
}

.sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.sources li {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  overflow-wrap: anywhere;
}

.sources li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 0.4rem;
  height: 1px;
  background: color-mix(in srgb, var(--bg-body) 30%, transparent);
}

.sources a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--accent);
  word-break: break-word;
}

.sources a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.article-body .prose > .article-review-note {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.5;
  text-align: left;
}

.article-review-note + .sources {
  margin-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::after,
  *::before {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .btn:hover,
  .card:focus-within,
  .card:hover,
  .hero-cta:hover {
    transform: none;
  }
}

@media print {
  .cta-line,
  .site-footer,
  .site-header,
  .skip-link {
    display: none !important;
  }

  .article-body .prose,
  .page-article,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .article-body a,
  .sources a {
    color: #000 !important;
    border-bottom: 0 !important;
  }

  .takeaway {
    border: 1px solid #999 !important;
    border-left: 3px solid #000 !important;
  }

  .article-body h2 {
    break-after: avoid;
  }

  .sources li {
    break-inside: avoid;
  }
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem);
}

.article-layout .article-body {
  padding-block: 0;
}

.article-layout .prose {
  margin-inline: 0;
  max-width: var(--measure);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.toc-list a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.toc-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.toc-list a.active {
  color: var(--text-main);
  font-weight: 600;
  border-left: 2px solid var(--accent);
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}

.article-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.article-index-list a {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--text-main);
}

.article-index-list a:hover {
  color: var(--accent) !important;
  text-decoration: none;
  background-color: color-mix(in srgb, var(--accent) 8%, transparent);
  padding-left: 0.5rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.article-index-list span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 4rem;
  }

  .article-layout .sidebar {
    position: sticky;
    top: 6rem;
  }
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-radius: 0 2px 2px 0;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  text-align: left;
  width: 100%;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.filter-btn.active {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: var(--accent);
  color: var(--accent);
  border-left-color: var(--accent);
}

#dev-panel input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 100%;
  height: 28px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#dev-panel input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

#dev-panel input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 3px;
}

#dev-panel input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 3px;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  user-select: none;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  width: 38px;
  height: 22px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  position: relative;
  transition: 0.3s;
  flex-shrink: 0;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  top: 3px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(16px);
  background-color: var(--bg-body);
}

.dev-color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.dev-color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dev-color-item span {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.1;
}

.dev-color-item input[type="color"] {
  width: 100%;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.dev-color-item input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.dev-color-item input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 3px;
}

.dev-color-item input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 3px;
}

.typo-btn {
  flex: 1;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typo-btn.active,
.typo-btn:hover {
  background: var(--accent);
  color: var(--bg-body);
  border-color: var(--accent);
}

.size-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 26px;
}

.typo-btn-mini {
  flex: 1;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typo-btn-mini:hover {
  background: var(--accent);
  color: var(--bg-body);
  border-color: var(--accent);
}

.js-enabled .reveal {
  opacity: 0;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    translate 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  translate: 0 30px;
}

.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
  translate: 0 0;
}

.js-enabled .reveal-delay-1 {
  transition-delay: 0.1s;
}

.js-enabled .reveal-delay-2 {
  transition-delay: 0.2s;
}

.about-hero-glow {
  position: relative;
}

.about-hero-glow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 5%, transparent) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.about-page .section {
  padding-block: clamp(2rem, 1rem + 4vw, 4rem);
}

.about-page #main > .section:first-child {
  border-top: 0;
}

.about-magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-magazine-grid {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 4rem;
    align-items: stretch;
  }

  .about-magazine-grid .about-sidebar-column {
    justify-content: space-between;
    gap: 1rem;
  }

  .about-magazine-grid .about-taxonomy {
    padding: 1.5rem;
  }

  .about-magazine-grid .about-taxonomy h3 {
    margin-bottom: 1.25rem;
  }

  .about-magazine-grid .taxonomy-item {
    margin-bottom: 1.25rem;
  }

  .about-magazine-grid .taxonomy-item p:not(.about-pillar-index):not(.about-pillar-subtitle) {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .about-magazine-grid .about-sidebar-column .about-statement {
    padding: 1.5rem;
  }

  .about-magazine-grid .about-statement p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

.about-narrative {
  max-width: 65ch;
}

.about-narrative p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-main);
}

.about-narrative .lede {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 2rem;
  font-style: italic;
}

.about-taxonomy {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent);
  padding: 2.5rem;
  border-radius: 2px;
}

.about-taxonomy h3 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.taxonomy-item {
  margin-bottom: 2rem;
}

.taxonomy-item:last-child {
  margin-bottom: 0;
}

.taxonomy-item h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.taxonomy-item h4::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.taxonomy-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-left: 1rem;
}

.about-statement {
  background: color-mix(in srgb, var(--bg-card) 50%, transparent);
  border-left: 2px solid var(--accent);
  padding: 2rem;
  margin-top: 3rem;
}

.about-statement p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.about-statement p:last-child {
  margin-bottom: 0;
}

.about-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-sidebar-column .about-statement {
  margin-top: 0;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
}

.about-sidebar-column .cta-line {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.about-sidebar-column .btn {
  width: 100%;
  text-align: center;
}

.about-sidebar-column .text-link {
  padding-left: 0 !important;
}

.about-standards-wrap {
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.standards-heading {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  perspective: 900px;
}

@media (min-width: 640px) {
  .standards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.standard-card {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 2px;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--bg-card) var(--surface-alpha, 35%), transparent);
}

.standard-card:hover {
  transform: translateY(-2px) rotateX(1.5deg) rotateY(-2deg);
}

.standard-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.standard-card p {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

.standard-card.is-hold:hover {
  border-color: var(--accent);
  background-color: color-mix(
    in srgb,
    var(--accent) 10%,
    color-mix(in srgb, var(--bg-card) var(--surface-alpha, 35%), transparent)
  );
}

.standard-card.is-hold h4::before {
  content: "✓";
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: bold;
}

.standards-heading.is-chora {
  color: var(--color-warning);
}

.standard-card.is-chora:hover {
  border-color: var(--color-warning);
  background-color: color-mix(
    in srgb,
    var(--color-warning) 10%,
    color-mix(in srgb, var(--bg-card) var(--surface-alpha, 35%), transparent)
  );
}

.standard-card.is-chora h4::before {
  content: "◆";
  color: var(--color-warning);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: normal;
}

.standard-card.is-refuse:hover {
  border-color: var(--color-danger);
  background-color: color-mix(
    in srgb,
    var(--color-danger) 10%,
    color-mix(in srgb, var(--bg-card) var(--surface-alpha, 35%), transparent)
  );
}

.standard-card.is-refuse h4::before {
  content: "✕";
  color: var(--color-danger);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: bold;
}

.about-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-hero-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
  }
}

.about-hero-left .hero-title {
  font-size: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-main);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.about-hero-left .hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 50ch;
}

.about-manifesto-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  padding: 2.5rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.5);
  text-align: justify;
}

.about-manifesto-box p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

[data-theme="dark"] .theme-switch-btn[data-set-theme="dark"],
[data-theme="fibios" i] .theme-switch-btn[data-set-theme="fibios" i],
[data-theme="light"] .theme-switch-btn[data-set-theme="light"] {
  color: var(--text-main);
  background-color: var(--bg-body);
  border-color: var(--border-color);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -30px rgba(0,0,0,0.6);
}

.feed-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 1023px) {
  .article-layout > .sidebar {
    display: contents;
  }

  .article-layout > .sidebar > .sidebar-block:first-child {
    order: -1;
  }

  .article-layout > .article-main {
    order: 0;
  }

  .article-layout > .sidebar > .sidebar-block {
    order: 1;
  }

  .article-layout > .sidebar > .sidebar-block + .sidebar-block {
    margin-top: 0;
  }
}

.article-hero {
  position: relative;
  border-bottom: 1px solid #233554;
  background-color: #0A192F;
  overflow: hidden;
  isolation: isolate;
  overflow-x: clip;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(100, 255, 218, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

.article-hero > .wrap {
  position: relative;
  z-index: 2;
}

.article-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .article-hero-split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 5rem;
  }
}

.article-hero-text .hero-title {
  font-size: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-main);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 
    0 1px 3px rgba(0, 0, 0, 1);
}

.article-hero-text .hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
  color: #FFFFFF;
  line-height: 1.6;
  max-width: 55ch;
  text-align: justify;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 
    0 1px 3px rgba(0, 0, 0, 1);
  margin-bottom: 2rem;
  margin-inline: auto;
}

.article-hero-quote {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  padding: clamp(0.75rem, 0.7rem + 0.9vw, 1.5rem);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.5);
}

.article-hero-quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-main);
  text-align: left;
}

.article-hero .card-meta {
  margin-top: 1.0rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

@media (max-width: 899px) {
  .article-hero-text {
    order: -1;
  }
}

.article-hero-quotes {
  display: grid;
  gap: .5rem;
  align-content: start;
}

[data-theme="fibios" i] .theme-switch-btn[data-set-theme="fibios" i],
html:not([data-theme]) .theme-switch-btn[data-set-theme="fibios" i] {
  color: #0A192F;
  background-color: #64FFDA;
  border-color: #64FFDA;
  font-weight: 700;
}

.js-enabled .standard-card.reveal {
  transition: opacity    0.8s cubic-bezier(0.25, 0.8, 0.25, 1) var(--d, 0s),
    translate  0.8s cubic-bezier(0.25, 0.8, 0.25, 1) var(--d, 0s),
    border-color     0.2s ease 0s,
    background-color 0.2s ease 0s,
    transform        0.2s ease 0s;
}

.js-enabled .standards-grid > .reveal:nth-child(2) {
  --d: 0.07s;
}

.js-enabled .standards-grid > .reveal:nth-child(3) {
  --d: 0.14s;
}

.js-enabled .standards-grid > .reveal:nth-child(4) {
  --d: 0.21s;
}

.standard-card > * {
  position: relative;
  z-index: 1;
}

.standard-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 22%, transparent) 45%,
    transparent 100%
  );
  transform: skewX(-18deg);
  opacity: 0;
  transition: left 0.65s ease, opacity 0.2s ease;
  pointer-events: none;
}

.standard-card:focus-within::after,
.standard-card:hover::after {
  left: 120%;
  opacity: 1;
}

@keyframes glow-spin {
  to {
    --glow-angle: 360deg;
  }
}

.article-hero-quote,
.standard-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.article-hero-quote::before,
.standard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--glow-angle),
    transparent     0deg,
    transparent   200deg,
    var(--accent) 260deg,
    transparent   320deg,
    transparent   360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  animation: glow-spin 3s linear infinite;
  z-index: 0;
}

.article-hero-quote:focus-within::before,
.article-hero-quote:hover::before,
.standard-card:focus-within::before,
.standard-card:hover::before {
  opacity: 1;
}

.article-hero-quote:focus-within,
.article-hero-quote:hover,
.standard-card:focus-within,
.standard-card:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent),
    0 0 24px -2px color-mix(in srgb, var(--accent) 40%, transparent),
    0 18px 40px -30px rgba(0, 0, 0, 0.6);
}

.article-hero-quote::after,
.standard-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 10%, transparent) 30%,
    color-mix(in srgb, var(--accent) 40%, transparent) 50%,
    color-mix(in srgb, var(--accent) 10%, transparent) 70%,
    transparent 100%
  );
  transform: skewX(-18deg);
  opacity: 0;
  transition: left 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.article-hero-quote:focus-within::after,
.article-hero-quote:hover::after,
.standard-card:focus-within::after,
.standard-card:hover::after {
  left: 120%;
  opacity: 1;
}

.article-hero-quote > *,
.standard-card > * {
  position: relative;
  z-index: 1;
}

@keyframes dot-drift {
  to {
    background-position: 24px 24px;
  }
}

.contact-doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-doors {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .contact-doors {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-door {
  --door-accent: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  background-color: color-mix(in srgb, var(--bg-card) var(--surface-alpha, 66%), transparent);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--door-accent);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-door:focus-within,
.contact-door:hover {
  transform: translateY(-3px);
  border-color: var(--door-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--door-accent) 40%, transparent),
    0 0 26px -8px color-mix(in srgb, var(--door-accent) 55%, transparent),
    0 18px 40px -30px rgba(0, 0, 0, 0.6);
}

.contact-door--correction {
  --door-accent: var(--color-danger);
}

.contact-door--research {
  --door-accent: var(--accent);
}

.contact-door--press {
  --door-accent: var(--color-warning);
}

.contact-door--reader {
  --door-accent: var(--text-muted);
}

.contact-door-num {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--door-accent);
  margin-bottom: 0.75rem;
}

.contact-door .tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--door-accent);
  border-color: color-mix(in srgb, var(--door-accent) 45%, var(--border-color));
  background-color: transparent;
}

.contact-door h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0.5rem 0 0.75rem;
}

.contact-door p {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1 1 auto;
  margin-bottom: 1.25rem;
}

.contact-door-link {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--door-accent);
  align-self: center;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.contact-door-link:hover {
  border-bottom-color: var(--door-accent);
  text-decoration: none;
  color: var(--door-accent);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.contact-split .contact-doors {
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .contact-split .contact-doors {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-split-right .form {
  max-width: none;
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.contact-split-right .form .field input,
.contact-split-right .form .field select,
.contact-split-right .form .field textarea {
  background-color: color-mix(in srgb, var(--bg-input) 55%, transparent);
}

@media (min-width: 768px) {
  .footer-newsletter {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.footer-newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.footer-newsletter-desc {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0;
}

.footer-newsletter-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background-color: color-mix(in srgb, var(--bg-input) 55%, transparent);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.footer-newsletter-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.footer-newsletter-trust {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.brand-name::before {
  content: "FibiOS";
  font-size: 1.0625rem;
}

.contact-door h3,
.contact-door p {
  text-align: center;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to left, 
      rgba(10, 25, 47, 0.95) 0%,    
      rgba(10, 25, 47, 0.6) 50%,     
      rgba(10, 25, 47, 0) 100%       
    ),
    url("../img/style-tests/style-c-glossy-v1-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.66;
  z-index: 0;
  pointer-events: none;
}

:root {
  --surface-alpha: 60%;
}

.article-hero .hero-title {
  color: #FFFFFF;
}

.article-hero .card-meta,
.article-hero .card-meta span,
.article-hero .card-meta time,
.article-hero .hero-sub {
  color: #CCD6F6;
}

.article-hero .eyebrow {
  color: #64FFDA;
}

.article-hero .card-meta > * + *::before {
  color: #64FFDA;
}

.article-hero .article-hero-quote {
  background-color: rgba(17, 34, 64, 0.85);
  border-color: #233554;
  border-left-color: #64FFDA;
  border: 1px solid #233554;
  border-left: 3px solid #64FFDA;
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.5);
}

.article-hero .article-hero-quote p {
  color: #CCD6F6;
}

.article-hero .hero-sub {
  color: #CCD6F6;
}

.article-hero .card-meta,
.article-hero .card-meta span,
.article-hero .card-meta time {
  color: #8892B0;
}

.article-hero .article-hero-quote:hover {
  border-color: #64FFDA;
}

.article-hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-hero-text .card-meta {
  justify-content: center;
}

@media (min-width: 900px) {
  .article-hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .article-hero-text .hero-sub {
    margin-inline: auto;
  }

  .article-hero-text .card-meta {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .footer-newsletter {
    grid-template-columns: 1fr 1.2fr auto;
    align-items: start;
  }
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .footer-socials {
    justify-content: flex-end;
    padding-top: 0.5rem;
  }
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
}

.footer-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

[data-theme="light"] .footer-newsletter-field {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
}

[data-theme="light"] .footer-newsletter-input {
  color: #0A192F;
}

[data-theme="light"] .footer-newsletter-input::placeholder {
  color: #64748B;
}

[data-theme="light"] .footer-newsletter-button {
  border-left-color: #CBD5E1;
}

.theme-switch-btn[data-set-theme="fibios" i]:hover {
  color: #64FFDA;
  border-color: #64FFDA;
}

.about-statement,
.about-taxonomy,
.article-hero-quote,
.card,
.contact-door,
.form,
.pillar-card,
.sidebar-block,
.standard-card,
.takeaway {
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), 0 4px 10px -5px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .about-statement,
[data-theme="light"] .about-taxonomy,
[data-theme="light"] .card,
[data-theme="light"] .contact-door,
[data-theme="light"] .form,
[data-theme="light"] .pillar-card,
[data-theme="light"] .sidebar-block,
[data-theme="light"] .standard-card,
[data-theme="light"] .takeaway {
  box-shadow: 0 12px 30px -10px rgba(10, 25, 47, 0.08), 0 4px 10px -5px rgba(10, 25, 47, 0.04);
}

[data-theme="light"] .article-hero-quote {
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), 0 4px 10px -5px rgba(0, 0, 0, 0.4);
}

.article-index-list a:hover + span,
.article-index-list li:hover span {
  color: var(--accent);
  transition: color 0.2s ease;
}

.pillars-section {
  padding-block: 0 !important;
  border-top: none !important;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
}

.page-home #architecture {
  background-image:
    linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
    url("../img/hero-architecture.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 899px) {
  .page-home #architecture {
    background-image:
      linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
      url("../img/hero-architecture.png");
  }
}

.page-home #mission {
  background-image:
    linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
    url("../img/hero-mission.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-home #mission .about-hero-left .hero-title,
.page-home #mission .about-hero-left .prose > p {
  color: #F8F9FA;
}

.page-home #mission .about-manifesto-box {
  background-color: color-mix(in srgb, var(--bg-card) 80%, transparent);
}

@media (max-width: 899px) {
  .page-home #mission {
    background-image:
      linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
      url("../img/hero-mission-mobile.png");
  }
}

.page-home #articles {
  background-image:
    linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
    url("../img/hero-articles.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 899px) {
  .page-home #articles {
    background-image:
      linear-gradient(to bottom, rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)),
      url("../img/hero-articles-mobile.png");
  }
}

.page-home #architecture,
.page-home #mission,
.page-home #articles {
  position: relative;
  isolation: isolate;
}

.page-home #architecture::before,
.page-home #mission::before,
.page-home #articles::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1.6px);
  background-size: 24px 24px;
  animation: dot-drift 5s linear infinite;
  pointer-events: none;
}

.page-home #architecture > .wrap,
.page-home #mission > .wrap,
.page-home #articles > .wrap {
  position: relative;
  z-index: 1;
}

.page-home #hero,
.page-home #architecture,
.page-home #mission,
.page-home #articles {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
}

.page-home #mission {
  display: flex;
  align-items: center;
}

.page-home #hero,
.page-home #architecture,
.page-home #mission,
.page-home #articles {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.page-home #articles .feed-item {
  border-top: 0;
  border-bottom: 0;
}

.pillar-card:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .pillar-card {
    border-bottom: 0;
    border-right: 1px solid var(--border-color);
  }

  .pillar-card:last-child {
    border-right: 0;
  }
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent);
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.pillar-card:hover::before {
  width: 100%;
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    color-mix(in srgb, var(--accent) 12%, transparent),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.pillar-card > * {
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
}

[data-theme="light"] .pillar-card {
  background-color: color-mix(in srgb, var(--bg-card) 50%, transparent);
}

[data-theme="light"] .pillar-card:hover {
  background-color: color-mix(in srgb, var(--bg-card) 70%, transparent);
}

.hero-masthead {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
  transform: perspective(1000px) 
             rotateX(var(--rx, 0deg)) 
             rotateY(var(--ry, 0deg)) 
             translate3d(var(--tx, 0), var(--ty, 0), 0);
  transition: transform 0.1s ease-out;
  will-change: transform;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes scan {
  0% {
    top: -10%;
  }

  100% {
    top: 110%;
  }
}

[data-theme="light"] .hero {
  background-image: linear-gradient(to bottom, rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.95)),
    url("../img/hero-mobile.png");
}

.decrypting {
  color: var(--accent) !important;
  text-shadow: 0 0 8px var(--accent);
}

.ledger-header {
  margin-bottom: 3rem;
}

.ledger-header .section-title {
  margin-bottom: 0.5rem;
}

.ledger-header .section-lead {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

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

.feed-item:first-child {
  border-top: 0;
}

.feed-item > * {
  max-width: var(--measure);
}

@media (max-width: 899px) {
  .page-home #articles .feed-title {
    font-size: 1rem;
  }
}

@media (min-width: 900px) {
  .feed-item {
    padding-inline: clamp(3rem, 5vw, 5rem);
  }
}

.ledger-main .sidebar {
  padding: 3rem var(--gutter);
  border-top: 1px solid var(--border-color);
}

.ledger-main .sidebar-block {
  max-width: var(--measure);
  margin-inline: 0;
}

@media (min-width: 900px) {
  .ledger-main .sidebar {
    padding-inline: clamp(3rem, 5vw, 5rem);
  }
}

.about-pillars-section {
  width: 100%;
  box-sizing: border-box;
  border-top: none !important;
  border-bottom: none !important;
  padding: 3rem 1.5rem 1.5rem;
}

.about-pillars-section + .section {
  border-top: none !important;
  padding-top: 1.5rem;
}

.about-pillars-section .wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .about-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
}

.about-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
}

.about-pillar-index {
  margin: 0;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-pillar-item h4 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.8rem);
  line-height: 1.2;
  margin: 0;
  color: var(--text-main);
  text-align: center;
}

.about-pillar-item p {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.about-pillar-item .about-pillar-subtitle,
.about-taxonomy .about-pillar-subtitle {
  padding: 0.45rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.taxonomy-item .about-pillar-index {
  margin: 0 0 0.45rem 1rem;
}

.taxonomy-item h4 {
  margin-left: 1rem;
}

.taxonomy-item h4::before {
  content: none;
  display: none;
}

.taxonomy-item .about-pillar-subtitle {
  display: inline-block;
  margin: 0 0 0.75rem 1rem;
}

.taxonomy-item p:not(.about-pillar-index):not(.about-pillar-subtitle) {
  margin-left: 1rem;
}

.about-pillar-item > p:not(.about-pillar-index):not(.about-pillar-subtitle) {
  width: 100%;
  max-width: 34ch;
}

.about-pillar-item h4::before,
.about-pillar-item::before {
  content: none !important;
  display: none !important;
}

.ledger-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 0;
  margin-bottom: 2rem;
  border-bottom: none !important;
}

.ledger-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ledger-pills .filter-btn {
  width: auto;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ledger-pills .filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
}

.ledger-pills .filter-btn.active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: var(--accent);
  color: var(--accent);
}

.ledger-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .ledger-columns {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 4rem;
  }

  .ledger-columns .sidebar {
    position: sticky;
    top: 6rem;
  }
}

.section:has(+ #articles) {
  border-bottom: none !important;
  padding-bottom: 1.5rem;
}

#articles {
  border-top: none !important;
  padding-top: 1.5rem;
}

.standard-card.is-hold.about-pillar-item {
  text-align: center;
}

/* Home pillar cards - no fill, no shadow or divider borders.
   index.html nests its three pillars in .about-pillars-grid, a container no
   other page uses, so .standard-card keeps its surface everywhere else.
   Removed here is the RESTING surface: the translucent card fill, any
   background image, and the drop shadow. The shadow has to go with the fill,
   because a shadow around an empty panel still paints three dark smudges on
   the navy section. Hover cannot bring the fill back - .is-hold, .is-chora
   and .is-refuse each set a tinted background at (0,3,0) - so those three are
   re-stated at (0,4,0) below. Hover feedback survives through the conic ring
   drawn by ::before, the shine sweep in ::after, and the outer glow.
   The outer glow is re-declared because the rule that draws it matches at the
   same specificity as the removal and would otherwise lose on source order. */
.about-pillars-grid .standard-card {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  border: 0;
}

.about-pillars-grid .standard-card:hover,
.about-pillars-grid .standard-card:focus-within,
.about-pillars-grid .standard-card.is-hold:hover,
.about-pillars-grid .standard-card.is-chora:hover,
.about-pillars-grid .standard-card.is-refuse:hover {
  background-color: transparent;
  background-image: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent),
    0 0 24px -2px color-mix(in srgb, var(--accent) 40%, transparent);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.sidebar-text {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sidebar-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sidebar-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.dossier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dossier-scroll {
  max-height: min(60vh, 32rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.75rem;
  scrollbar-color: var(--accent) transparent;
  scrollbar-width: thin;
}

.dossier-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dossier-scroll::-webkit-scrollbar {
  width: 0.4rem;
}

.dossier-scroll::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 999px;
}

.dossier-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.dossier-source-group {
  text-align: left;
}

.dossier-source-group + .dossier-source-group {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}

.dossier-source-group h4 {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.dossier-source-group .dossier-list {
  gap: 0.65rem;
}

.dossier-source-group .dossier-list li {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
}

.dossier-source-group .dossier-list a {
  display: block;
  overflow-wrap: anywhere;
}

.dossier-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.dossier-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  flex-shrink: 0;
}

.dossier-list a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dossier-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.board-footer-card .sidebar-text {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-article .article-head,
  .page-article .article-hero {
    padding-top: 5.5rem;
  }
}

.sidebar .article-index-list {
  text-align: left;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-block .article-index-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar .article-index-list::-webkit-scrollbar {
  width: 3px;
}

.sidebar .article-index-list::-webkit-scrollbar-thumb {
  background: var(--border-color, #334155);
  border-radius: 2px;
}

.ledger-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color, #38bdf8);
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--border-color, #334155);
}

.ledger-category:first-of-type {
  margin-top: 0.25rem;
}

.pillars-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding-block: 4rem;
}

@media (min-width: 900px) {
  .pillars-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
  }

  .pillars-header-left {
    flex: 1 1 55%;
  }

  .pillars-header-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.pillars-header-left .eyebrow {
  margin-bottom: 1rem;
}

.pillars-header-left .hero-title {
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  -webkit-text-stroke: 0;
}

.pillars-header-left .hero-sub {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.law-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.law-box:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.page-home #architecture .about-pillars-grid .standard-card,
.page-home #architecture .about-pillars-grid .standard-card:hover,
.page-home #architecture .about-pillars-grid .standard-card:focus-within {
  background-color: color-mix(in srgb, var(--bg-card) 80%, transparent);
}

.page-home #architecture .law-box {
  background-color: color-mix(in srgb, var(--bg-card) 50%, transparent);
}

.law-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.law-desc {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.pillars-cards-wrap {
  flex: 0 0 auto;
  padding-bottom: 4rem;
}

.side-nav {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: color-mix(in srgb, var(--bg-body) 85%, transparent);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  max-width: 90vw;
  overflow-x: auto;
}

.side-nav .pill-label {
  display: none;
}

.side-nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.25rem;
}

.pill-line {
  display: block;
  width: 1.25rem;
  height: 3px;
  background-color: var(--border-color);
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.side-nav-pill.active .pill-line {
  width: 2rem;
  background-color: var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 40%, transparent);
}

@media (min-width: 1024px) {
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: auto;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border: none;
    max-width: none;
    overflow-x: visible;
  }

  .side-nav .pill-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
  }

  .side-nav-pill {
    justify-content: flex-end;
    gap: 1rem;
    padding: 0;
  }

  .pill-line {
    width: 1.5rem;
  }

  .side-nav-pill:hover .pill-label {
    opacity: 1;
    transform: translateX(0);
    color: var(--text-main);
  }

  .side-nav-pill:hover .pill-line {
    background-color: var(--text-muted);
  }

  .side-nav-pill.active .pill-label {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
  }

  .side-nav-pill.active .pill-line {
    width: 2.5rem;
    background-color: var(--accent);
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
  }
}

@media (min-width: 900px) {
  [data-theme="light"] .hero {
    background-image: linear-gradient(to bottom, rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.95)),
      url("../img/hero.png");
  }
}

body.page-home header.site-header {
  position: sticky !important;
  top: 0 !important;
  transform: none !important;
  box-shadow: none !important;
}

[data-theme="light"] .site-header {
  background: var(--bg-body);
}

[data-theme="light"] .page-home #architecture .pillars-header-left .eyebrow {
  color: #64FFDA;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .page-home #architecture .pillars-header-left .hero-sub {
  color: #F8F9FA;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .page-home #architecture .law-box {
  background-color: color-mix(in srgb, var(--bg-card) 80%, transparent);
}

[data-theme="light"] .page-home #articles .ledger-header .section-title,
[data-theme="light"] .page-home #articles .ledger-header .section-lead,
[data-theme="light"] .page-home #articles .ledger-pills .filter-btn {
  color: #F8F9FA;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .page-home #articles .ledger-pills .filter-btn.active,
[data-theme="light"] .page-home #articles .ledger-pills .filter-btn:hover {
  color: #64FFDA;
  border-color: #64FFDA;
}

[data-theme="light"] .article-hero .article-hero-quote p strong {
  color: #F8F9FA;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

[data-theme="light"] :is(
  .theme-switch-btn,
  .cta-line strong,
  .section-lead,
  .card-text,
  .card-meta,
  .tag,
  .pillar-card p,
  .feed-dek,
  .field-hint,
  .footer-tagline,
  .footer-metric dt,
  .footer-metric dd span,
  .footer-metrics-note,
  .footer-metrics-method,
  .footer-heading,
  .footer-ledger-item p,
  .footer-bottom,
  .footer-bottom p,
  .footer-newsletter-status,
  .article-kicker,
  .article-standfirst,
  .takeaway h2,
  .takeaway-close,
  .sources h2,
  .sources li,
  .sources a,
  .toc-list a,
  .article-index-list span,
  .filter-btn,
  .dev-color-item span,
  .typo-btn-mini,
  .about-taxonomy h3,
  .taxonomy-item p,
  .standard-card p,
  .about-hero-left .hero-sub,
  .contact-door p,
  .footer-newsletter-desc,
  .footer-newsletter-trust,
  .footer-socials a,
  .about-pillar-item p,
  .sidebar-text,
  .dossier-source-group h4,
  .law-desc,
  .side-nav .pill-label
) {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .footer-newsletter-input::placeholder {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.footer-ledger .footer-heading {
  color: #64FFDA;
}

[data-theme="light"] .hero-kicker {
  color: #64FFDA;
  border-color: color-mix(in srgb, #64FFDA 50%, transparent);
}

[data-theme="light"] .hero-kicker::before {
  background: rgba(100, 255, 218, 0.6);
}

[data-theme="light"] .footer-metrics-heading,
[data-theme="light"] .footer-law-heading,
[data-theme="light"] .footer-ledger .footer-heading {
  color: var(--accent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .page-home #articles .sidebar-block.standard-card {
  --surface-alpha: 90%;
}

.about-manifesto-box,
.about-taxonomy,
.about-sidebar-column .about-statement {
  background-color: color-mix(in srgb, var(--bg-card) 60%, transparent);
}

[data-theme="light"] .about-manifesto-box,
[data-theme="light"] .about-taxonomy,
[data-theme="light"] .about-sidebar-column .about-statement {
  background-color: color-mix(in srgb, var(--bg-card) 90%, transparent);
}
