@charset "UTF-8";
/* _sass/aero2/_index.scss */
/* =========================================================
   aero2 bundle — module-safe barrel file
   ========================================================= */
/* _sass/aero2/_core.scss */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--paper); /* fallback behind rf-bg */
}

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

a {
  color: inherit;
}

/* _sass/aero2/_base.scss */
html {
  min-width: 350px;
}

/* =========================================================
   iOS / Safari browser chrome + color scheme
   Fixes light URL bar in dark mode
   ========================================================= */
/* Let the UA know we support both schemes */
:root {
  color-scheme: light dark;
}

/* Safari paints behind the URL / home bar from html/body */
html,
body {
  background-color: var(--browser-chrome, #f2f0ea);
}

/* Body stays transparent — rf-bg paints the page */
body {
  background: transparent;
}

/* =========================================================
   Retro Food / Newspaper Menu UI — THEME TOKENS
   ========================================================= */
.rf {
  /* Fonts */
  --font-main: "Source Sans 3",
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  --font-mono: "IBM Plex Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  /* Core surfaces */
  --ink: #111;
  --paper: #f2f0ea;
  --paper2: #fbfaf6;
  --rule: #121212;
  --muted: rgba(17,17,17,.68);
  --shadow: rgba(0,0,0,.18);
  /* Accents */
  --accent: #f2c34a;
  --accent2: #e1a93a;
  /* Semantics */
  --ink-strong: rgba(17,17,17,.92);
  --ink-body: rgba(17,17,17,.90);
  --ink-soft: rgba(17,17,17,.78);
  --ink-faint: rgba(17,17,17,.62);
  --ui-hi: rgba(255,255,255,.85);
  --ui-lo: rgba(0,0,0,.08);
  /* Code theme */
  --code-bg: #f7f5ef;
  --code-ink: #1a1a1a;
  --code-inline-bg: rgba(255,255,255,.65);
  --code-inline-bd: rgba(0,0,0,.25);
  --code-sel: rgba(242,195,74,.6);
  --tok-c: #6b6b6b;
  --tok-k: #000;
  --tok-s: #8b1e1e;
  --tok-nf: #003366;
  --tok-nt: #004b3a;
  --tok-na: #5a2e00;
  --tok-m: #7a5200;
  /* Paper texture colors (used in _layout.scss) */
  --tex-a: rgba(0,0,0,.03);
  --tex-b: rgba(0,0,0,.025);
  --tex-c: rgba(0,0,0,.02);
  --tex-d: rgba(0,0,0,.04);
  --tex-e: rgba(0,0,0,.035);
  /* Browser chrome color (light) */
  --browser-chrome: var(--paper);
  font-family: var(--font-main);
  color: var(--ink);
}

/* =========================================================
   Dark theme override (drives EVERYTHING via vars)
   ========================================================= */
html[data-theme=dark] .rf {
  --ink: rgba(255,255,255,.92);
  --paper: #0f1114;
  --paper2: #151a22;
  --rule: rgba(255,255,255,.22);
  --muted: rgba(255,255,255,.62);
  --shadow: rgba(0,0,0,.55);
  --accent: #7dd3fc;
  --accent2: #38bdf8;
  --ink-strong: rgba(255,255,255,.92);
  --ink-body: rgba(255,255,255,.86);
  --ink-soft: rgba(255,255,255,.74);
  --ink-faint: rgba(255,255,255,.58);
  --ui-hi: rgba(255,255,255,.10);
  --ui-lo: rgba(0,0,0,.35);
  --code-bg: #0f131a;
  --code-ink: rgba(255,255,255,.88);
  --code-inline-bg: rgba(255,255,255,.08);
  --code-inline-bd: rgba(255,255,255,.18);
  --code-sel: rgba(125,211,252,.35);
  --tok-c: rgba(255,255,255,.55);
  --tok-k: rgba(255,255,255,.92);
  --tok-s: #ff9aa2;
  --tok-nf: #93c5fd;
  --tok-nt: #86efac;
  --tok-na: #fcd34d;
  --tok-m: #fbbf24;
  --tex-a: rgba(255,255,255,.04);
  --tex-b: rgba(255,255,255,.03);
  --tex-c: rgba(255,255,255,.025);
  --tex-d: rgba(255,255,255,.05);
  --tex-e: rgba(255,255,255,.04);
  /* Browser chrome color (dark) */
  --browser-chrome: var(--paper);
}

/* =========================================================
   Optional explicit light mode (debug / force)
   ========================================================= */
html[data-theme=light] .rf {
  --browser-chrome: var(--paper);
}

/* _sass/aero2/_layout.scss (entire updated file) */
/* Paper texture (no image needed) */
.rf-bg {
  min-height: 100vh;
  background: radial-gradient(1200px 900px at 20% 15%, var(--tex-a), transparent 55%), radial-gradient(900px 700px at 80% 30%, var(--tex-b), transparent 55%), repeating-linear-gradient(0deg, var(--tex-c) 0 1px, transparent 1px 6px), var(--paper);
  /* don’t repeat the entire multi-layer stack */
  background-repeat: no-repeat;
  background-size: auto;
  /* if you want the “paper stays put” feel, keep it; otherwise remove */
  background-attachment: fixed;
  padding: 28px 14px 60px;
}

/* =========================================================
   Stage: left rail + site shell
   ========================================================= */
.rf-stage {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rf-leftrail {
  position: sticky;
  top: 28px;
  align-self: start;
  z-index: 40;
}

.rf-leftrail-inner {
  display: grid;
  gap: 10px;
}

/* the actual control */
.rf-railbtn {
  width: 56px;
  min-height: 56px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 2px solid var(--rule);
  background: var(--paper2);
  color: inherit;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 10px 22px var(--shadow);
}

.rf-railbtn-ico {
  font-size: 18px;
  line-height: 1;
}

.rf-railbtn-txt {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.rf-railbtn:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-railbtn:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 6px 14px var(--shadow);
}

.rf-railbtn:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--ink), transparent 45%);
  outline-offset: 2px;
}

/* collapse rail on small screens (no weird overlap) */
@media (max-width: 820px) {
  .rf-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rf-leftrail {
    position: fixed;
    left: auto;
    right: 12px;
    top: auto;
    bottom: 12px;
    z-index: 60;
  }
  .rf-railbtn {
    width: auto;
    min-height: 44px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .rf-railbtn-txt {
    font-size: 10px;
  }
}
.rf-shell {
  max-width: 1040px;
  margin: 0 auto;
}

/* =========================================================
   Frame + Grid
   ========================================================= */
.rf-frame {
  background: var(--paper2);
  border: 2px solid var(--rule);
  box-shadow: 0 14px 40px var(--shadow);
  position: relative;
}

.rf-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--rule);
  pointer-events: none;
}

.rf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 0;
  position: relative;
  padding: 18px;
}

.rf-main,
.rf-side {
  min-width: 0;
}

.rf-main {
  padding: 10px 16px 18px;
  border-right: 2px solid var(--rule);
  position: relative;
}

.rf-side {
  padding: 10px 14px 18px;
  position: sticky;
  top: 16px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* _sass/aero2/_header-tabs.scss */
/* =========================================================
   Header + Tabs
   ========================================================= */
.rf-header {
  position: relative;
  z-index: 20;
}

/* ---------------------------------------------------------
   Header top (sticker area removed, layout locked)
   --------------------------------------------------------- */
.rf-header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  /* hard lock height to prevent CLS / flashing */
  min-height: 88px;
  border: 2px solid var(--rule);
  background: var(--paper2);
  box-shadow: 0 10px 22px var(--shadow);
}

/* ---------------------------------------------------------
   Brand block
   --------------------------------------------------------- */
.rf-brand {
  text-align: center;
  padding: 14px 10px 10px;
}

.rf-kicker {
  font-weight: 700;
  font-size: 12px;
  line-height: 14px; /* stable line box */
  min-height: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rf-logo {
  display: inline-block;
  margin-top: 6px;
  font-weight: 900;
  font-size: 44px;
  line-height: 44px; /* exact px lock */
  min-height: 44px; /* prevents font swap reflow */
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 0 10px;
  text-transform: uppercase;
}

.rf-logo::after {
  content: "";
  position: absolute;
  inset: 8px 8px 6px 8px;
  background: linear-gradient(180deg, rgba(242, 195, 74, 0.95), rgba(225, 169, 58, 0.92));
  z-index: -1;
  opacity: 0.85;
  border: 2px solid var(--rule);
  transform: skewX(-6deg);
}

/* =========================================================
   Header tabs — desktop strip
   ========================================================= */
.rf-nav {
  background: var(--paper2);
  border-left: 2px solid var(--rule);
  border-right: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  position: relative;
}

.rf-tab {
  padding: 12px 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 2px solid var(--rule);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--ui-hi), transparent 40%);
}

.rf-tab:last-child {
  border-right: 0;
}

.rf-tab:hover {
  background: color-mix(in oklab, var(--ink), transparent 96%);
}

/* =========================================================
   Responsive: mobile nav toggle + open/close state
   ========================================================= */
.rf-nav-toggle {
  display: none;
  width: 100%;
  padding: 10px 12px;
  margin: 0;
  border: 1px solid var(--rule);
  border-top: 0;
  background: var(--paper2);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px var(--shadow);
}

/* =========================================================
   Theme toggle row + button (stable layout)
   ========================================================= */
.rf-theme-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 10px 0 8px;
}

.rf-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 2px solid var(--rule);
  background: var(--paper2);
  color: inherit;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 10px 22px var(--shadow);
}

.rf-theme-ico {
  display: inline-grid;
  place-items: center;
  width: 16px;
}

.rf-theme-toggle:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-theme-toggle:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 6px 14px var(--shadow);
}

.rf-theme-toggle:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--ink), transparent 45%);
  outline-offset: 2px;
}

/* =========================================================
   Mobile adjustments
   ========================================================= */
@media (max-width: 560px) {
  .rf-theme-row {
    justify-content: stretch;
    margin: 8px 0;
  }
  .rf-theme-toggle {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .rf-nav-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }
  .rf-nav {
    position: relative;
    z-index: 25;
    display: none !important;
    overflow: visible;
    border-left: 2px solid var(--rule);
    border-right: 2px solid var(--rule);
    border-bottom: 2px solid var(--rule);
    border-top: 0;
    background: var(--paper2);
  }
  .rf-nav.is-open {
    display: block !important;
  }
  .rf-tab {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 2px solid var(--rule);
  }
  .rf-tab:last-child {
    border-bottom: 0;
  }
}
/* _sass/aero2/_typography.scss */
/* =========================================================
   Article typography
   ========================================================= */
.rf-h1 {
  margin: 0 0 10px;
  font-weight: 1000;
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rf-prose {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 62ch;
}

.rf-prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-muted {
  color: var(--muted);
}

/* =========================================================
   Post header chrome
   ========================================================= */
.rf-posthead {
  margin: 0 0 12px;
}

.rf-byline {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.rf-author {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-sep {
  margin-top: 12px;
  height: 0;
  border-top: 2px solid var(--rule);
}

/* =========================================================
   Monospace overrides (intentional)
   ========================================================= */
.rf-prose code,
.rf-prose pre,
.highlight pre {
  font-family: var(--font-mono);
}

.rf-meta,
.rf-cal,
.rf-rail-kicker {
  font-family: var(--font-mono);
  font-weight: 500;
}

.rf-tab {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* _sass/aero2/_sidebar.scss */
/* =========================================================
   Sidebar cards (menu items)
   ========================================================= */
.rf-card {
  border: 2px solid var(--rule);
  background: var(--paper2);
  margin: 0 0 12px;
}

.rf-card-head {
  padding: 10px 10px 6px;
  border-bottom: 2px solid var(--rule);
}

.rf-card-head h3 {
  margin: 0;
  font-weight: 1000;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rf-cal {
  margin-top: 4px;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.rf-card-body {
  padding: 10px;
  min-height: 128px;
  display: grid;
  place-items: center;
}

.rf-illu {
  width: 96px;
  height: 96px;
  border: 2px solid var(--rule);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 40%, rgba(0, 0, 0, 0.16) 0 7px, transparent 8px), radial-gradient(circle at 65% 40%, rgba(0, 0, 0, 0.16) 0 7px, transparent 8px), radial-gradient(circle at 50% 63%, rgba(0, 0, 0, 0.16) 0 12px, transparent 13px), repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 7px), #fff;
}

.rf-illu-waffle {
  border-radius: 20px;
}

.rf-illu-ice {
  border-radius: 28px 28px 999px 999px;
}

.rf-pricebar {
  display: grid;
  grid-template-columns: 1fr 44px;
  border-top: 2px solid var(--rule);
  align-items: center;
}

.rf-price {
  padding: 10px 10px;
  font-weight: 1000;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.rf-arrow {
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-left: 2px solid var(--rule);
  text-decoration: none;
}

.rf-arrow::before {
  content: "↗";
  font-weight: 1000;
  font-size: 18px;
  line-height: 1;
}

/* =========================================================
   Sidebar rail (blog)
   ========================================================= */
.rf-rail-head {
  border: 2px solid var(--rule);
  background: var(--paper2);
  margin: 0 0 12px;
  padding: 10px 10px 8px;
}

.rf-rail-kicker {
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rf-rail-title {
  margin: 6px 0 0;
  font-weight: 1000;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rf-card--post .rf-card-head h3 {
  font-size: 18px;
}

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

.rf-card-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-meta {
  margin-top: 6px;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.rf-dot {
  opacity: 0.7;
}

.rf-cat {
  opacity: 0.9;
}

.rf-card-body--post {
  min-height: auto;
  display: block;
}

.rf-excerpt {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-body);
}

.rf-rail-more {
  border: 2px solid var(--rule);
  background: var(--paper2);
  padding: 10px;
}

.rf-morelink {
  font-weight: 1000;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* =========================================================
   Sidebar stack: TOC on top, Latest below, TOC list scrolls
   ========================================================= */
.rf-side-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  /* KEY: do NOT stretch to the sticky column height */
  height: auto;
}

/* Keep TOC from growing; allow internal scroll when long */
.rf-side-stack .rf-toc {
  flex: 0 0 auto;
  max-height: clamp(160px, 38dvh, 520px);
}

/* Optional: make any rail body match your widget look */
.rf-rail-body {
  border: 2px solid var(--rule);
  background: var(--paper2);
  padding: 10px;
}

/* Sticky wrapper stays the same */
.rf-side {
  position: sticky;
  top: 16px;
  max-height: calc(100dvh - 32px);
}

.rf-rail--latest {
  flex: 0 0 auto;
}

/* =========================================================
   Sidebar stack scroll safety (TOC scrolls under zoom)
   ========================================================= */
.rf-side {
  position: sticky;
  top: 16px;
  max-height: calc(100dvh - 32px);
}

@supports (overflow: clip) {
  .rf-toc-list {
    scrollbar-gutter: auto;
  }
}
/* KEY CHANGE:
   TOC should NOT flex-grow (looks bad when short).
   Let it size to content, but cap it so long TOCs scroll.
*/
.rf-side-stack .rf-toc {
  flex: 0 0 auto;
  max-height: clamp(160px, 38dvh, 520px);
}

/* =========================================================
   Recent posts rail pagination — theme-driven widget vibe
   ========================================================= */
.rf-rail-item[hidden] {
  display: none !important;
}

.rf-rail-pager {
  margin: 6px 0 12px;
  padding: 6px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid color-mix(in oklab, var(--rule), transparent 70%);
  background: linear-gradient(var(--paper2), color-mix(in oklab, var(--paper2), var(--paper) 35%));
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 1px 0 var(--ui-lo);
}

.rf-pager-status {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 6px;
  white-space: nowrap;
  user-select: none;
}

.rf-pager-btn {
  appearance: none;
  border: 1px solid color-mix(in oklab, var(--rule), transparent 65%);
  background: linear-gradient(var(--paper2), color-mix(in oklab, var(--paper2), var(--paper) 45%));
  color: var(--ink-body);
  padding: 6px 10px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 var(--ui-hi), inset 0 -1px 0 var(--ui-lo), 0 1px 0 var(--ui-lo);
}

.rf-pager-btn:hover {
  background: linear-gradient(var(--paper2), color-mix(in oklab, var(--paper2), var(--paper) 55%));
  border-color: color-mix(in oklab, var(--rule), transparent 55%);
}

.rf-pager-btn:active {
  background: linear-gradient(color-mix(in oklab, var(--paper2), var(--paper) 55%), var(--paper2));
  box-shadow: inset 0 2px 3px color-mix(in oklab, var(--ui-lo), transparent 30%), 0 1px 0 var(--ui-lo);
  transform: translateY(1px);
}

.rf-pager-btn:disabled {
  opacity: 0.45;
  cursor: default;
  filter: grayscale(0.25);
  transform: none;
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 1px 0 var(--ui-lo);
}

.rf-pager-btn:focus-visible {
  outline: 2px dotted color-mix(in oklab, var(--ink), transparent 25%);
  outline-offset: 2px;
}

/* =========================================================
   Footer
   ========================================================= */
.rf-footer {
  margin-top: 10px;
  padding: 12px 14px;
  border: 2px solid var(--rule);
  background: var(--paper2);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: 0 10px 22px var(--shadow);
}

/* _sass/aero2/_code.scss */
/* =========================================================
   Rouge syntax highlighting (theme-driven)
   ========================================================= */
.highlight {
  margin: 14px 0;
  border: 2px solid var(--rule);
  background: var(--code-bg);
  overflow: auto;
}

.highlight pre {
  margin: 0;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
  color: var(--code-ink);
}

/* inline code (not inside a code block) */
.rf-prose code:not(pre code) {
  background: var(--code-inline-bg);
  border: 1px solid var(--code-inline-bd);
  padding: 0.15em 0.35em;
  font-size: 0.9em;
  font-family: var(--font-mono);
}

/* Rouge tokens */
.highlight .c,
.highlight .cm,
.highlight .c1,
.highlight .cs {
  color: var(--tok-c);
  font-style: italic;
}

.highlight .k,
.highlight .kc,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr {
  color: var(--tok-k);
  font-weight: 700;
}

.highlight .s,
.highlight .sb,
.highlight .sc,
.highlight .sd,
.highlight .s2,
.highlight .sh,
.highlight .si,
.highlight .sx {
  color: var(--tok-s);
}

.highlight .nf {
  color: var(--tok-nf);
  font-weight: 600;
}

.highlight .nt {
  color: var(--tok-nt);
  font-weight: 700;
}

.highlight .na {
  color: var(--tok-na);
}

.highlight .m,
.highlight .mi,
.highlight .mf {
  color: var(--tok-m);
}

.highlight ::selection {
  background: var(--code-sel);
}

/* _sass/c/_alerts.scss */
/* =========================================================
   Alerts (Chirpy-like callouts via kramdown attribute lists)
   ========================================================= */
:root .rf {
  --a-tip: #1f7a5a;
  --a-info: #1b5f9e;
  --a-warn: #9a6a00;
  --a-danger: #a32727;
}

/* Base */
.rf-prose .alert {
  margin: 14px 0;
  padding: 10px 12px;
  border: 2px solid var(--rule);
  background: var(--paper2);
  position: relative;
}

/* left ink bar + subtle tint */
.rf-prose .alert::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  bottom: -2px;
  width: 8px;
  background: var(--a-info);
  border-right: 2px solid var(--rule);
}

.rf-prose .alert > :first-child {
  margin-top: 0;
}

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

.rf-prose .alert strong:first-child {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 1000;
}

.rf-prose .alert-tip::before {
  background: var(--a-tip);
}

.rf-prose .alert-info::before {
  background: var(--a-info);
}

.rf-prose .alert-warning::before {
  background: var(--a-warn);
}

.rf-prose .alert-danger::before {
  background: var(--a-danger);
}

.rf-prose .alert::after {
  content: attr(data-label);
  position: absolute;
  top: 8px;
  right: 10px;
  font-weight: 1000;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 820px) {
  .rf-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }
  .rf-main {
    border-right: 0;
    padding: 10px 12px 14px;
  }
  .rf-side {
    padding: 0;
    margin-top: 2px;
    border-top: 2px solid var(--rule);
    padding-top: 14px;
    position: static;
    top: auto;
    max-height: none;
  }
  /* center rail + cards + rail bodies (tags, etc) */
  .rf-rail-head,
  .rf-rail-body,
  .rf-rail-more,
  .rf-side .rf-card, .rf-rail-pager {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .rf-rail-head {
    margin-top: 0;
  }
  /* optional: keep tag chips from feeling “full-bleed” inside the centered body */
  .rf-rail-body .rf-tagcloud {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .rf-rail-head,
  .rf-rail-body,
  .rf-rail-more,
  .rf-side .rf-card {
    max-width: 100%;
  }
}
/* =========================================================
   TOC (sidebar + article) — compact, newspaper-themed
   ========================================================= */
.rf-toc {
  border: 2px solid var(--rule);
  background: var(--paper2);
  /* KEY: make TOC a column so the list can be the scroll region */
  display: flex;
  flex-direction: column;
  /* hard stop: never paint outside */
  overflow: hidden;
}

/* Header mirrors the rail header, but slimmer */
.rf-toc-head {
  padding: 8px 10px 7px;
  border-bottom: 2px solid var(--rule);
  flex: 0 0 auto;
}

.rf-toc-kicker {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tight list — minimal vertical footprint */
.rf-toc-list {
  margin: 0;
  padding: 8px 10px 10px;
  list-style: none;
  display: grid;
  gap: 2px;
  /* KEY: list becomes the scrollable flex child */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

/* Link rows: compact + underline rule */
.rf-toc-item a {
  display: block;
  min-width: 0;
  padding: 4px 2px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  /* allow wrap without blowing out the box */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.rf-toc-item a:hover {
  border-bottom-color: rgba(0, 0, 0, 0.35);
}

.rf-toc-item a:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.55);
  outline-offset: 2px;
  border-bottom-color: rgba(0, 0, 0, 0.55);
}

/* h3: indented + slightly softer */
.rf-toc-h3 a {
  padding-left: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* Sidebar behavior */
.rf-toc--side {
  margin: 0;
}

/* Desktop: the TOC box itself is height-limited by the sticky sidebar stack;
   list scrolls because it's the flex child. No max-height needed here. */
/* Mobile: sidebar isn’t constrained; let list flow naturally */
@media (max-width: 820px) {
  .rf-toc {
    overflow: visible;
  }
  .rf-toc-list {
    overflow: visible;
  }
}
/* (opinion) Dont show the markdown toc in the post content area */
#markdown-toc {
  display: none;
  visibility: hidden;
}

/* _sass/aero2/_media.scss */
/* =========================================================
   Video embeds — YouTube / Vimeo
   ========================================================= */
.rf-video {
  margin: 18px auto 22px;
  max-width: 100%;
}

/* Paper inset frame */
.rf-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--paper2);
  border: 2px solid var(--rule);
  padding: 6px;
  box-shadow: inset 0 1px 0 var(--ui-hi), 0 1px 0 var(--ui-lo);
}

/* Inner video */
.rf-video-frame iframe {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: 0;
  background: #000;
}

/* Caption matches image captions */
.rf-video .rf-caption {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* _sass/aero2/_contact.scss */
/* =========================================================
   Contact (cards-first, image as a real card)
   ========================================================= */
.rf-contact-head {
  margin-bottom: 12px;
}

/* =========================================================
   Contact grid (cards)
   ========================================================= */
.rf-contact-grid {
  display: grid;
  gap: 12px;
  /* Mobile-first */
  grid-template-columns: 1fr;
}

/* Desktop: 2-column card grid */
@media (min-width: 860px) {
  .rf-contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
/* =========================================================
   Card internal stability (matches recent-post cards)
   ========================================================= */
.rf-contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Let content grow naturally */
.rf-contact-card .rf-card-body {
  min-height: auto;
  display: block;
  flex: 1 1 auto;
}

/* Keep footer visually attached */
.rf-contact-card .rf-pricebar {
  margin-top: auto;
}

/* =========================================================
   Special layout rules
   ========================================================= */
/* Intro card spans full width on desktop */
@media (min-width: 860px) {
  .rf-contact-card--intro {
    grid-column: 1/-1;
  }
}
/* Image card spans two rows ONLY when layout is roomy */
@media (min-width: 980px) {
  .rf-contact-card--image {
    grid-row: span 2;
  }
}
/* =========================================================
   Image / avatar card internals (FIXED + CENTERED)
   ========================================================= */
/* Stable avatar size */
.rf-contact-card--image {
  --avatar: clamp(150px, 18vw, 220px);
}

/* Center media block */
.rf-contact-media {
  margin: 0;
  display: grid;
  gap: 8px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

/* The frame owns size, shape, and border */
.rf-contact-card--image .rf-contact-media > a {
  display: block;
  aspect-ratio: 1/1;
  border: 2px solid var(--rule);
  border-radius: 50%;
  background: var(--paper2);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Image purely fills the frame */
.rf-contact-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

/* Caption styling */
.rf-contact-caption {
  margin: 0;
  max-width: 40ch;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* =========================================================
   Blurb / text styles
   ========================================================= */
.rf-contact-blurb p {
  margin: 0 0 10px;
  max-width: 72ch;
  color: var(--ink-body);
  font-size: 15px;
  line-height: 1.55;
}

.rf-contact-blurb p:last-child {
  margin-bottom: 0;
}

/* Inline primary contact line */
.rf-contact-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 10px 0 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.rf-contact-primary-label {
  font-weight: 900;
  font-size: 11px;
  color: var(--ink-soft);
}

.rf-contact-primary-link {
  font-weight: 900;
  font-size: 11px;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Shared link styling */
.rf-contact-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.rf-contact-note {
  margin: 12px 0 0;
  max-width: 65ch;
  color: var(--ink-soft);
  font-style: italic;
}

/* =========================================================
   Contact page only
   ========================================================= */
.page-contact .rf-posthead,
.page-contact .rf-description {
  display: none;
  visibility: hidden;
}

/* Ensure grid items can stretch and cards can fill that height */
@media (min-width: 860px) {
  .rf-contact-grid {
    align-items: stretch;
  }
}
/* Card must be able to fill row height */
.rf-card.rf-contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* IMPORTANT: .rf-card-body--post is defined elsewhere; re-assert flex growth here */
.rf-card.rf-contact-card > .rf-card-body.rf-card-body--post,
.rf-card.rf-contact-card > .rf-card-body {
  flex: 1 1 auto;
  min-height: 0;
}

/* Footer always sits at the bottom of the card */
.rf-card.rf-contact-card > .rf-pricebar {
  margin-top: auto;
}

/* Better center the avatar block inside the card body */
.rf-contact-card--image > .rf-card-body.rf-card-body--post {
  /* behave like a centered card stage */
  display: grid;
  place-items: center;
  text-align: center;
  /* give it breathing room and prevent caption from pushing awkwardly */
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Keep the figure nicely centered and prevent caption from stretching layout */
.rf-contact-card--image .rf-contact-media {
  width: 100%;
  max-width: 42ch;
  justify-items: center;
}

/* =========================================================
   Tags page
   ========================================================= */
.rf-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.rf-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  border: 2px solid var(--rule);
  background: var(--paper2);
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--rf-tag-size, 13px);
  line-height: 1;
  text-decoration: none;
}

.rf-tag:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-tag-count {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.75;
}

.rf-taggroup {
  padding-top: 12px;
  margin-top: 10px;
  border-top: 2px solid var(--rule);
}

.rf-taggroup-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rf-h2 {
  margin: 0;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 22px;
}

.rf-taggroup-top {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-tag-subhead {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rf-taglist {
  margin: 8px 0 0;
  padding-left: 18px;
}

.rf-taglist li {
  margin: 6px 0;
}

.rf-tagdate {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.65;
}

/* =========================================================
   Tag filtering UI
   ========================================================= */
.rf-tagfilter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0 12px;
  padding: 10px;
  border: 2px solid var(--rule);
  background: var(--paper2);
}

.rf-tagfilter-label {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rf-tagfilter-input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 2px solid var(--rule);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.rf-tagfilter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.rf-tagfilter-clear {
  padding: 8px 10px;
  border: 2px solid var(--rule);
  background: var(--paper);
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.rf-tagfilter-clear:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.rf-tagfilter-status {
  margin: 8px 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* make tags look like clickable chips */
.rf-tagbtn {
  cursor: pointer;
  appearance: none;
}

.rf-tagbtn.is-active {
  background: var(--accent);
}

/* optional: tighten count style inside chip */
.rf-tag-count {
  opacity: 0.8;
  font-weight: 900;
}

/* Tag filtering affordance */
.rf-tag-text {
  cursor: pointer;
}

.rf-tagchip.is-active {
  background: var(--accent);
}

/* =========================================================
   jQuery UI Tooltip — Retro Food Theme
   ========================================================= */
.ui-tooltip {
  /* Layout */
  max-width: 320px;
  padding: 0;
  border-radius: 6px;
  /* Theme */
  background: var(--code-bg);
  color: var(--ink);
  border: 2px solid var(--rule);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.4;
  /* Behavior */
  pointer-events: none;
  /* Fade in/out polish */
  opacity: 0;
  transform: translateY(-4px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* When visible (jQuery UI inserts/removes node) */
.ui-tooltip:not([aria-hidden=true]) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Inner content */
.ui-tooltip-content {
  padding: 8px 10px 9px;
}

/* Kicker / label */
.ui-tooltip-content::before {
  content: "TIP";
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Dark theme adjustments */
html[data-theme=dark] .ui-tooltip {
  background: var(--code-bg);
  color: #f2f0ea;
  border-color: var(--rule);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* =========================================================
   jQuery UI Tooltip — match code blocks exactly
   ========================================================= */
/* jQuery UI often applies .ui-widget-content styles.
   This selector beats it without relying on load order. */
.ui-tooltip.ui-widget.ui-widget-content {
  background: var(--code-bg) !important;
  border: 2px solid var(--rule) !important;
  color: var(--code-ink, var(--ink)) !important;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.4;
  pointer-events: none;
  /* optional polish */
  padding: 0;
}

/* inner content spacing (jQuery UI puts padding here sometimes) */
.ui-tooltip.ui-widget.ui-widget-content .ui-tooltip-content {
  padding: 8px 10px 9px;
}

/* keep your kicker */
.ui-tooltip.ui-widget.ui-widget-content .ui-tooltip-content::before {
  content: "TIP";
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/*# sourceMappingURL=style.css.map */