:root {
  --beacon-ink: #111827;
  --beacon-ink-soft: #334155;
  --beacon-muted: #667085;
  --beacon-line: #e4e7ec;
  --beacon-line-strong: #d0d5dd;
  --beacon-surface: #ffffff;
  --beacon-surface-soft: #f7f9fc;
  --beacon-surface-warm: #fbfaf7;
  --beacon-night: #0b1220;
  --beacon-night-soft: #131d31;
  --beacon-primary: #2457e6;
  --beacon-primary-dark: #173eaf;
  --beacon-primary-soft: #eaf0ff;
  --beacon-accent: #f4b740;
  --beacon-accent-soft: #fff5d7;
  --beacon-radius-sm: 12px;
  --beacon-radius: 22px;
  --beacon-radius-lg: 30px;
  --beacon-shadow-sm: 0 12px 30px rgba(15, 23, 42, .07);
  --beacon-shadow: 0 28px 70px rgba(15, 23, 42, .13);
  --beacon-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beacon-surface);
  color: var(--beacon-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.mobile-nav-open { overflow: hidden; }
a { color: var(--beacon-primary); text-underline-offset: .16em; text-decoration-thickness: 1px; }
a:hover { color: var(--beacon-primary-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--beacon-max)); margin-inline: auto; }
.site-shell { overflow: clip; background: var(--beacon-surface); }

/* Header */
.theme-ridgefoundry .content-prose :is(h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: var(--article-anchor-offset, 100px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(228, 231, 236, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--beacon-ink);
  text-decoration: none;
}
.brand:hover { color: var(--beacon-ink); }
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}
.brand-mark span {
  position: absolute;
  top: 5px;
  width: 11px;
  border-radius: 4px;
  transform: skewX(-25deg);
  box-shadow: 0 10px 20px rgba(36, 87, 230, .18);
}
.brand-mark span:first-child {
  left: 6px;
  height: 29px;
  background: linear-gradient(180deg, #142c6e 0%, var(--beacon-primary) 100%);
}
.brand-mark span:last-child {
  left: 19px;
  height: 33px;
  background: linear-gradient(180deg, #58a7ff 0%, var(--beacon-primary) 100%);
}
.brand-copy { display: grid; gap: 3px; min-width: 0; }
.brand-copy strong { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.brand-copy small { max-width: 230px; color: var(--beacon-muted); font-size: .72rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.primary-navigation { margin-left: auto; }
.beacon-nav, .beacon-subnav, .footer-nav { list-style: none; margin: 0; padding: 0; }
.beacon-nav { display: flex; align-items: center; gap: 8px; }
.beacon-nav > li { position: relative; display: flex; align-items: center; }
.beacon-nav > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--beacon-ink-soft);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.beacon-nav > li > a:hover,
.beacon-nav > li.is-active > a { background: var(--beacon-primary-soft); color: var(--beacon-primary-dark); }
.beacon-subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 235px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-5px);
  background: rgba(255,255,255,.98);
  border: 1px solid var(--beacon-line);
  border-radius: 16px;
  box-shadow: var(--beacon-shadow-sm);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.beacon-nav li:hover > .beacon-subnav,
.beacon-nav li:focus-within > .beacon-subnav {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.beacon-subnav a { display: block; padding: 9px 11px; border-radius: 10px; color: var(--beacon-ink-soft); font-size: .9rem; font-weight: 650; text-decoration: none; }
.beacon-subnav a:hover { background: var(--beacon-surface-soft); color: var(--beacon-primary); }
.subnav-toggle { display: none; }
.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--beacon-line-strong);
  border-radius: 999px;
  background: var(--beacon-surface);
  color: var(--beacon-ink);
  font-weight: 800;
  cursor: pointer;
}
.mobile-nav-toggle__icon,
.mobile-nav-toggle__icon::before,
.mobile-nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.mobile-nav-toggle__icon { position: relative; }
.mobile-nav-toggle__icon::before,
.mobile-nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.mobile-nav-toggle__icon::before { top: -6px; }
.mobile-nav-toggle__icon::after { top: 6px; }
.mobile-nav-open .mobile-nav-toggle__icon { background: transparent; }
.mobile-nav-open .mobile-nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
.mobile-nav-open .mobile-nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 118px) 0 clamp(72px, 7vw, 104px);
  background:
    radial-gradient(circle at 85% 15%, rgba(36,87,230,.11), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  border-bottom: 1px solid var(--beacon-line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36,87,230,.25), transparent);
}
.page-hero__glow { position: absolute; z-index: -1; border-radius: 999px; filter: blur(6px); opacity: .7; }
.page-hero__glow--one { width: 370px; height: 370px; right: -160px; top: -165px; background: rgba(80, 153, 255, .13); }
.page-hero__glow--two { width: 240px; height: 240px; left: -100px; bottom: -150px; background: rgba(244, 183, 64, .12); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr); gap: clamp(42px, 7vw, 90px); align-items: center; }
.page-hero__content { max-width: 710px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--beacon-primary);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}
.eyebrow-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--beacon-accent); box-shadow: 0 0 0 5px rgba(244,183,64,.14); }
.page-hero h1 {
  max-width: 940px;
  margin: .22em 0 .28em;
  color: var(--beacon-ink);
  font-size: clamp(2.8rem, 6.3vw, 5.75rem);
  font-weight: 780;
  letter-spacing: -.058em;
  line-height: .98;
  text-wrap: balance;
}
.layout-interior .page-hero h1, .layout-blog .page-hero h1, .layout-blog-post .page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); }
.hero-copy { max-width: 760px; margin: 0; color: var(--beacon-muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 19px; border: 1px solid transparent; border-radius: 13px; font-size: .93rem; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #3265ec 0%, var(--beacon-primary) 100%); color: #fff; box-shadow: 0 12px 28px rgba(36,87,230,.22); }
.btn-primary:hover { color: #fff; background: linear-gradient(180deg, var(--beacon-primary) 0%, var(--beacon-primary-dark) 100%); box-shadow: 0 16px 32px rgba(36,87,230,.27); }
.btn-secondary { background: rgba(255,255,255,.82); color: var(--beacon-ink); border-color: var(--beacon-line-strong); }
.btn-secondary:hover { color: var(--beacon-ink); background: #fff; border-color: #b9c0cb; box-shadow: var(--beacon-shadow-sm); }
.btn-arrow { transition: transform .18s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.hero-media { position: relative; padding: 12px 12px 18px 0; }
.hero-media__frame { position: relative; z-index: 2; overflow: hidden; border-radius: var(--beacon-radius-lg); border: 1px solid rgba(255,255,255,.7); background: #fff; box-shadow: var(--beacon-shadow); }
.hero-media__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media__accent { position: absolute; right: -3px; bottom: 1px; width: 76%; height: 72%; border-radius: var(--beacon-radius-lg); background: linear-gradient(145deg, rgba(36,87,230,.15), rgba(244,183,64,.12)); transform: rotate(4deg); }
.hero-visual { position: relative; min-height: 360px; }
.hero-visual__panel { position: absolute; border-radius: 26px; border: 1px solid rgba(255,255,255,.8); box-shadow: var(--beacon-shadow); }
.hero-visual__panel--back { inset: 42px 4px 0 68px; background: linear-gradient(145deg, #dbe7ff, #fff5db); transform: rotate(6deg); opacity: .75; }
.hero-visual__panel--main { inset: 0 42px 38px 0; padding: 24px; background: rgba(255,255,255,.96); }
.hero-visual__chrome { display: flex; gap: 6px; margin-bottom: 34px; }
.hero-visual__chrome i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.hero-visual__line { width: 62%; height: 10px; margin-bottom: 12px; border-radius: 999px; background: #e6eaf0; }
.hero-visual__line--wide { width: 84%; height: 18px; background: #cfdcff; }
.hero-visual__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 44px; }
.hero-visual__grid span { min-height: 94px; border-radius: 15px; background: linear-gradient(180deg, #f4f7fb, #e9eef7); border: 1px solid #e2e8f0; }
.hero-visual__grid span:nth-child(2) { background: linear-gradient(180deg, #edf3ff, #dfe9ff); }

/* Content */
.page-content { padding: clamp(62px, 7vw, 100px) 0 clamp(84px, 9vw, 128px); background: var(--beacon-surface); }
.page-content--home { background: linear-gradient(180deg, #fff 0%, var(--beacon-surface-warm) 100%); }
.content-layout { max-width: 980px; }
.content-prose { color: var(--beacon-ink-soft); font-size: 1.04rem; }
.content-prose > :first-child { margin-top: 0; }
.content-prose > :last-child { margin-bottom: 0; }
.content-prose h2, .content-prose h3, .content-prose h4 { color: var(--beacon-ink); letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.content-prose h2 { margin: 2.2em 0 .7em; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.content-prose h3 { margin: 1.8em 0 .65em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.content-prose p { margin: 0 0 1.25em; }
.content-prose ul, .content-prose ol { padding-left: 1.35em; }
.content-prose li + li { margin-top: .42em; }
.content-prose blockquote { margin: 2em 0; padding: 22px 26px; border-left: 4px solid var(--beacon-accent); border-radius: 0 16px 16px 0; background: var(--beacon-accent-soft); color: var(--beacon-ink-soft); }
.content-prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--beacon-line); }
.content-prose img { border-radius: 18px; }
.content-prose table { width: 100%; border-collapse: collapse; margin: 2em 0; overflow: hidden; border: 1px solid var(--beacon-line); border-radius: 14px; }
.content-prose th, .content-prose td { padding: 13px 15px; border-bottom: 1px solid var(--beacon-line); text-align: left; }
.content-prose th { background: var(--beacon-surface-soft); color: var(--beacon-ink); font-weight: 750; }

/* Generic component primitives for admin-composed pages */
.section { padding: clamp(54px, 7vw, 96px) 0; }
.section--soft { background: var(--beacon-surface-soft); }
.section--dark { background: var(--beacon-night); color: #dbe4f0; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading h2 { margin: 0 0 12px; color: inherit; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 26px; border: 1px solid var(--beacon-line); border-radius: var(--beacon-radius); background: var(--beacon-surface); box-shadow: 0 1px 0 rgba(15,23,42,.02); }
.card:hover { box-shadow: var(--beacon-shadow-sm); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 7vw, 76px); align-items: center; }
.media-rounded { overflow: hidden; border-radius: var(--beacon-radius); box-shadow: var(--beacon-shadow-sm); }

/* Blog */
.layout-blog .page-hero, .layout-blog-post .page-hero { padding-bottom: 72px; }
.blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; align-items: start; }
.blog-list { display: grid; gap: 20px; }
.blog-card { position: relative; padding: clamp(24px, 4vw, 34px); overflow: hidden; border: 1px solid var(--beacon-line); border-radius: var(--beacon-radius); background: var(--beacon-surface); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.blog-card::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 150px; height: 150px; border-radius: 50%; background: rgba(36,87,230,.05); }
.blog-card:hover { transform: translateY(-2px); border-color: #d6dcea; box-shadow: var(--beacon-shadow-sm); }
.blog-card h2 { margin: .35rem 0 .45rem; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.15; letter-spacing: -.03em; }
.blog-card h2 a { color: var(--beacon-ink); text-decoration: none; }
.blog-card p { margin-bottom: 0; color: var(--beacon-muted); }
.blog-meta { color: var(--beacon-muted); font-size: .9rem; }
.blog-sidebar { position: sticky; top: 106px; padding: 24px; border: 1px solid var(--beacon-line); border-radius: var(--beacon-radius); background: var(--beacon-surface-soft); }
.blog-sidebar h2 { margin: 0 0 14px; font-size: 1rem; }
.blog-sidebar ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.blog-sidebar a { display: block; padding: 9px 10px; border-radius: 9px; color: var(--beacon-ink-soft); font-weight: 650; text-decoration: none; }
.blog-sidebar a:hover { background: #fff; color: var(--beacon-primary); }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pagination a { min-width: 40px; padding: 8px 12px; border: 1px solid var(--beacon-line); border-radius: 10px; background: #fff; color: var(--beacon-ink-soft); text-align: center; text-decoration: none; }
.pagination a:hover, .pagination a.is-active { background: var(--beacon-primary); border-color: var(--beacon-primary); color: #fff; }
.blog-main-image { margin: 0 0 38px; }
.blog-main-image img { width: 100%; border-radius: var(--beacon-radius); box-shadow: var(--beacon-shadow-sm); }
.blog-main-image figcaption { margin-top: 9px; color: var(--beacon-muted); font-size: .88rem; }
.layout-blog-post .content-prose { max-width: 860px; }

/* Footer */
.site-footer { background: var(--beacon-night); color: #c7d0df; }
.site-footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-top: 54px; padding-bottom: 44px; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.footer-brand { max-width: 420px; }
.footer-brand p { margin: 13px 0 0; color: #96a3b7; font-size: .94rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; max-width: 560px; }
.footer-nav a { color: #c7d0df; font-size: .9rem; font-weight: 650; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.site-footer__bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.09); color: #8290a5; font-size: .83rem; }
.footer-note { color: #65758e; }

@media (max-width: 980px) {
  .site-header__inner { min-height: 74px; }
  .brand-copy small { display: none; }
  .mobile-nav-toggle { display: inline-flex; margin-left: auto; }
  .primary-navigation {
    position: fixed;
    inset: 74px 16px auto;
    max-height: calc(100vh - 92px);
    overflow: auto;
    margin: 0;
    padding: 12px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    background: rgba(255,255,255,.98);
    border: 1px solid var(--beacon-line);
    border-radius: 18px;
    box-shadow: var(--beacon-shadow);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .mobile-nav-open .primary-navigation { visibility: visible; opacity: 1; transform: translateY(0); }
  .beacon-nav { display: grid; gap: 3px; }
  .beacon-nav > li { display: grid; grid-template-columns: 1fr auto; }
  .beacon-nav > li > a { border-radius: 10px; padding-inline: 12px; }
  .subnav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--beacon-muted); cursor: pointer; }
  .subnav-toggle span { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform .18s ease; }
  .subnav-open > .subnav-toggle span { transform: rotate(225deg) translate(-1px,-1px); }
  .beacon-subnav { position: static; grid-column: 1 / -1; display: none; min-width: 0; padding: 3px 0 8px 16px; visibility: visible; opacity: 1; transform: none; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .subnav-open > .beacon-subnav { display: block; }
  .beacon-nav li:hover > .beacon-subnav { transform: none; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__content { max-width: 800px; }
  .hero-media, .hero-visual { max-width: 720px; }
  .hero-visual { min-height: 320px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .site-footer__top { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--beacon-max)); }
  .site-header__inner { gap: 12px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-copy strong { font-size: .94rem; }
  .mobile-nav-toggle__label { display: none; }
  .mobile-nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .page-hero { padding-top: 58px; padding-bottom: 62px; }
  .page-hero h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .layout-interior .page-hero h1, .layout-blog .page-hero h1, .layout-blog-post .page-hero h1 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-media { padding: 0 8px 10px 0; }
  .hero-media__frame { border-radius: 22px; }
  .hero-visual { min-height: 250px; }
  .hero-visual__panel--back { inset: 28px 0 0 36px; }
  .hero-visual__panel--main { inset: 0 24px 24px 0; padding: 18px; }
  .hero-visual__grid { margin-top: 30px; }
  .hero-visual__grid span { min-height: 65px; }
  .card-grid, .split { grid-template-columns: 1fr; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Page section components */
.component { position: relative; }
.section--default { background: var(--beacon-bg); color: var(--beacon-ink-soft); }
.section--soft { background: var(--beacon-surface-soft); color: var(--beacon-ink-soft); }
.section--dark { background: var(--beacon-night); color: #dbe4f0; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark .content-prose h2, .section--dark .content-prose h3 { color: #fff; }
.section--dark p, .section--dark .content-prose, .section--dark .content-prose p { color: #b8c4d5; }
.component h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.045em; }
.component h3 { margin: 0 0 10px; font-size: 1.18rem; letter-spacing: -.02em; }
.component-lead { max-width: 720px; margin: 20px 0 0; color: var(--beacon-muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.72; }
.section--dark .component-lead { color: #b8c4d5; }
.component-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.component-hero { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(70px, 9vw, 118px); overflow: hidden; }
.component-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -210px; border-radius: 50%; background: rgba(36,87,230,.08); pointer-events: none; }
.component-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: clamp(40px, 7vw, 88px); align-items: center; }
.component-hero__grid--single { grid-template-columns: minmax(0, 850px); }
.component-hero__grid--reverse .component-hero__content { order: 2; }
.component-hero__grid--reverse .component-hero__aside { order: 1; }
.component-hero h1 { margin: 12px 0 0; max-width: 860px; font-size: clamp(3rem, 6.4vw, 6rem); line-height: .96; letter-spacing: -.06em; }
.component-hero-card { padding: clamp(28px, 4vw, 42px); border: 1px solid var(--beacon-line); border-radius: var(--beacon-radius); background: var(--beacon-bg); box-shadow: var(--beacon-shadow); }
.component-hero-card__eyebrow { margin-bottom: 10px; color: var(--beacon-primary); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.component-hero-card h2 { margin: 0; font-size: clamp(1.65rem, 2.8vw, 2.35rem); letter-spacing: -.04em; }
.component-hero-card__intro { margin: 14px 0 0; color: var(--beacon-muted); line-height: 1.65; }
.component-hero-card__items { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--beacon-line); }
.component-hero-card__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--beacon-line); }
.component-hero-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--beacon-surface-soft); color: var(--beacon-primary); font-size: .86rem; font-weight: 800; }
.component-hero-card__icon svg { width: 18px; height: 18px; }
.component-hero-card__item h3 { margin: 1px 0 5px; }
.component-hero-card__body, .component-hero-card__body p { margin: 0; color: var(--beacon-muted); line-height: 1.55; }
.component-hero-card__link { display: inline-flex; margin-top: 22px; }
.section--dark .component-hero-card { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.section--dark .component-hero-card__items, .section--dark .component-hero-card__item { border-color: rgba(255,255,255,.14); }
.section--dark .component-hero-card__icon { background: rgba(255,255,255,.08); color: #fff; }
.section--dark .component-hero-card__intro, .section--dark .component-hero-card__body, .section--dark .component-hero-card__body p { color: #b8c4d5; }
.component-media { overflow: hidden; border-radius: var(--beacon-radius); box-shadow: var(--beacon-shadow); }
.component-media img { display: block; width: 100%; height: auto; }
.component-content { max-width: 900px; }
.component-content--narrow { max-width: 720px; }
.component-content--wide { max-width: 1080px; }
.split--reverse .component-media { order: 2; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.component-card { display: flex; flex-direction: column; min-height: 220px; }
.component-card p { color: var(--beacon-muted); line-height: 1.7; }
.component-link { margin-top: auto; padding-top: 18px; font-weight: 750; text-decoration: none; }
.section--dark .card { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.section--dark .component-card p { color: #b8c4d5; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.process-step { padding: 26px 22px; border-top: 1px solid var(--beacon-line); }
.section--dark .process-step { border-color: rgba(255,255,255,.14); }
.process-step__number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 50%; background: var(--beacon-primary); color: #fff; font-size: .8rem; font-weight: 800; }
.process-step p { margin-bottom: 0; color: var(--beacon-muted); line-height: 1.7; }
.section--dark .process-step p { color: #b8c4d5; }
.faq-component { max-width: 980px; }
.faq-list { border-top: 1px solid var(--beacon-line); }
.faq-item { border-bottom: 1px solid var(--beacon-line); }
.section--dark .faq-list, .section--dark .faq-item { border-color: rgba(255,255,255,.14); }
.faq-item summary { position: relative; padding: 22px 46px 22px 0; cursor: pointer; list-style: none; color: var(--beacon-ink); font-weight: 750; font-size: 1.05rem; }
.section--dark .faq-item summary { color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 19px; color: var(--beacon-primary); font-size: 1.5rem; font-weight: 500; }
.faq-item[open] summary::after { content: "–"; }
.faq-item__answer { padding: 0 42px 24px 0; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.cta-panel > div:first-child { max-width: 760px; }
.cta-panel p { max-width: 700px; margin-bottom: 0; font-size: 1.08rem; line-height: 1.7; }

@media (max-width: 980px) {
  .component-hero__grid { grid-template-columns: 1fr; }
  .component-hero__grid--reverse .component-hero__content, .component-hero__grid--reverse .component-hero__aside { order: initial; }
  .card-grid--4, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .component-hero { padding-top: 58px; }
  .component-hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .component-actions { display: grid; width: 100%; }
  .component-actions .btn { width: 100%; }
  .card-grid--2, .card-grid--3, .card-grid--4, .process-grid { grid-template-columns: 1fr; }
  .split--reverse .component-media { order: 0; }
}

/* ========================================================================== */
/* RidgeFoundry Industrial identity                                           */
/* ========================================================================== */
.theme-ridgefoundry {
  --beacon-ink: #15191d;
  --beacon-ink-soft: #343b40;
  --beacon-muted: #697077;
  --beacon-line: #d7d8d4;
  --beacon-line-strong: #bfc2bd;
  --beacon-surface: #f4f3ee;
  --beacon-surface-soft: #ecebe5;
  --beacon-surface-warm: #e7e4dc;
  --beacon-night: #11171c;
  --beacon-night-soft: #1a2228;
  --beacon-primary: #234f78;
  --beacon-primary-dark: #173650;
  --beacon-primary-soft: #dde7ee;
  --beacon-accent: #b66b36;
  --beacon-accent-soft: #efe2d6;
  --beacon-radius-sm: 3px;
  --beacon-radius: 7px;
  --beacon-radius-lg: 10px;
  --beacon-shadow-sm: 0 5px 16px rgba(17, 23, 28, .08);
  --beacon-shadow: 0 18px 44px rgba(17, 23, 28, .12);
  --beacon-max: 1240px;
  background: var(--beacon-surface);
  color: var(--beacon-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}
.theme-ridgefoundry h1,
.theme-ridgefoundry h2,
.theme-ridgefoundry h3,
.theme-ridgefoundry .section-heading h2,
.theme-ridgefoundry .component-content h2,
.theme-ridgefoundry .component-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.035em;
}
.theme-ridgefoundry .eyebrow,
.theme-ridgefoundry .rf-utility,
.theme-ridgefoundry .footer-note,
.theme-ridgefoundry .process-step__number,
.theme-ridgefoundry .blog-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.theme-ridgefoundry .container { width: min(calc(100% - 48px), var(--beacon-max)); }

/* header */
.theme-ridgefoundry .site-header {
  background: rgba(244, 243, 238, .94);
  border-bottom: 1px solid #c8c9c4;
  backdrop-filter: blur(12px);
}
.theme-ridgefoundry .rf-utility {
  border-bottom: 1px solid #d4d3ce;
  color: #697077;
  font-size: .62rem;
  line-height: 28px;
}
.theme-ridgefoundry .rf-utility .container { display: flex; justify-content: space-between; }
.theme-ridgefoundry .site-header__inner { min-height: 72px; }
.theme-ridgefoundry .brand { gap: 13px; }
.theme-ridgefoundry .brand-mark { width: 52px; height: 34px; flex-basis: 52px; }
.theme-ridgefoundry .brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.theme-ridgefoundry .brand-mark path { fill: none; stroke: var(--beacon-ink); stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.theme-ridgefoundry .brand-mark path:last-child { stroke: var(--beacon-accent); stroke-width: 1.25; }
.theme-ridgefoundry .brand-copy strong { font-size: .98rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.theme-ridgefoundry .brand-copy small { color: var(--beacon-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.theme-ridgefoundry .beacon-nav { gap: 0; }
.theme-ridgefoundry .beacon-nav > li > a {
  min-height: 40px; padding: 0 12px; border-radius: 2px; color: #394146; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.theme-ridgefoundry .beacon-nav > li > a:hover,
.theme-ridgefoundry .beacon-nav > li.is-active > a { background: transparent; color: var(--beacon-primary-dark); box-shadow: inset 0 -2px 0 var(--beacon-accent); }
.theme-ridgefoundry .beacon-subnav { border-radius: 4px; background: #f7f6f1; box-shadow: 0 14px 34px rgba(17,23,28,.12); }
.theme-ridgefoundry .beacon-subnav a { border-radius: 2px; }
.theme-ridgefoundry .mobile-nav-toggle { border-radius: 3px; background: transparent; }

/* hero: drafting grid + Bridger-inspired ridge line */
.theme-ridgefoundry .page-hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(86px, 9vw, 132px) 0 clamp(110px, 11vw, 158px);
  background: #ebe9e1;
  border-bottom: 1px solid #c9c8c2;
}
.theme-ridgefoundry .page-hero::after { display: none; }
.theme-ridgefoundry .page-hero__glow { display: none; }
.theme-ridgefoundry .rf-grid {
  position: absolute; inset: 0; z-index: -3; opacity: .55;
  background-image: linear-gradient(rgba(17,23,28,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,23,28,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 76%);
}
.theme-ridgefoundry .rf-ridge {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: -4px; width: 100%; height: 45%; opacity: .22;
}
.theme-ridgefoundry .rf-ridge path { fill: none; stroke: #25333d; stroke-width: 2; vector-effect: non-scaling-stroke; }
.theme-ridgefoundry .rf-ridge .rf-ridge__base { stroke: var(--beacon-accent); stroke-width: 1; opacity: .9; }
.theme-ridgefoundry .page-hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); align-items: end; }
.theme-ridgefoundry .eyebrow { color: var(--beacon-accent); font-size: .68rem; font-weight: 700; }
.theme-ridgefoundry .eyebrow::before { content: "RF / "; color: #7d817f; }
.theme-ridgefoundry .eyebrow-dot { display: none; }
.theme-ridgefoundry .page-hero h1 { max-width: 850px; margin-top: .28em; font-size: clamp(3.1rem, 6.4vw, 6.15rem); line-height: .94; letter-spacing: -.055em; }
.theme-ridgefoundry .layout-interior .page-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); }
.theme-ridgefoundry .hero-copy { max-width: 680px; color: #495156; font-size: clamp(1.05rem,1.7vw,1.22rem); }
.theme-ridgefoundry .hero-actions { margin-top: 34px; }
.theme-ridgefoundry .btn { min-height: 46px; border-radius: 3px; box-shadow: none; font-size: .82rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.theme-ridgefoundry .btn-primary { background: var(--beacon-night); box-shadow: inset 3px 0 0 var(--beacon-accent); }
.theme-ridgefoundry .btn-primary:hover { background: #1d282f; box-shadow: inset 3px 0 0 var(--beacon-accent); }
.theme-ridgefoundry .btn-secondary { background: transparent; border-color: #aeb1ad; }
.theme-ridgefoundry .hero-media { padding: 0; }
.theme-ridgefoundry .hero-media__frame { border-radius: 4px; border: 1px solid #aeb1ad; box-shadow: 14px 14px 0 rgba(35,79,120,.12); }
.theme-ridgefoundry .hero-media__accent { display: none; }
.theme-ridgefoundry .hero-visual { min-height: 330px; }
.theme-ridgefoundry .hero-visual__panel { border-radius: 4px; box-shadow: 10px 10px 0 rgba(17,23,28,.08); }
.theme-ridgefoundry .hero-visual__panel--back { background: #d7d9d3; transform: translate(16px,16px); }
.theme-ridgefoundry .hero-visual__panel--main { background: #f7f6f1; border-color: #b9bbb6; }
.theme-ridgefoundry .hero-visual__line,
.theme-ridgefoundry .hero-visual__grid span { border-radius: 1px; background: #dfe1dc; }
.theme-ridgefoundry .hero-visual__line--wide { background: #c8d5df; }
.theme-ridgefoundry .hero-visual__grid { grid-template-columns: 1.25fr .8fr .95fr; }
.theme-ridgefoundry .hero-visual__grid span { border-color: #c7c9c3; }

/* content system: fewer floating cards, more structure */
.theme-ridgefoundry .page-content { background: var(--beacon-surface); }
.theme-ridgefoundry .section { position: relative; border-top: 1px solid transparent; }
.theme-ridgefoundry .section:nth-child(even) { background: #ecebe5; border-color: #d7d8d4; border-bottom: 1px solid #d7d8d4; }
.theme-ridgefoundry .section-heading { max-width: 830px; text-align: left; margin-inline: 0; }
.theme-ridgefoundry .section-heading::before { content: "SYSTEM / FIELD NOTE"; display: block; margin-bottom: 12px; color: var(--beacon-accent); font: 700 .64rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .15em; }
.theme-ridgefoundry .section-heading h2 { font-size: clamp(2.25rem,4vw,4rem); }
.theme-ridgefoundry .card-grid { gap: 0; border-top: 1px solid var(--beacon-line-strong); border-left: 1px solid var(--beacon-line-strong); }
.theme-ridgefoundry .card,
.theme-ridgefoundry .component-card { border-radius: 0; border: 0; border-right: 1px solid var(--beacon-line-strong); border-bottom: 1px solid var(--beacon-line-strong); box-shadow: none; background: rgba(255,255,255,.22); }
.theme-ridgefoundry .card:hover,
.theme-ridgefoundry .component-card:hover { transform: none; box-shadow: inset 0 3px 0 var(--beacon-accent); }
.theme-ridgefoundry .component-media img,
.theme-ridgefoundry .content-prose img { border-radius: 3px; }
.theme-ridgefoundry .split { gap: clamp(38px,7vw,96px); }
.theme-ridgefoundry .component-content { max-width: 680px; }
.theme-ridgefoundry .component-lead { border-left: 2px solid var(--beacon-accent); padding-left: 18px; }
.theme-ridgefoundry .process-grid { gap: 0; border-top: 1px solid var(--beacon-line-strong); }
.theme-ridgefoundry .process-step { border-radius: 0; border: 0; border-bottom: 1px solid var(--beacon-line-strong); box-shadow: none; background: transparent; }
.theme-ridgefoundry .process-step__number { color: var(--beacon-accent); }
.theme-ridgefoundry .faq-item { border-radius: 0; border-left: 0; border-right: 0; background: transparent; box-shadow: none; }
.theme-ridgefoundry .cta-panel { border-radius: 4px; background: var(--beacon-night); box-shadow: 12px 12px 0 rgba(182,107,54,.18); }
.theme-ridgefoundry .content-prose { max-width: 850px; }
.theme-ridgefoundry .content-prose blockquote { border-radius: 0; background: #e8e4da; }
.theme-ridgefoundry .content-prose table { border-radius: 0; }

/* blog */
.theme-ridgefoundry .blog-grid { gap: 0; border: 1px solid var(--beacon-line-strong); }
.theme-ridgefoundry .blog-card { border-radius: 0; border: 0; border-right: 1px solid var(--beacon-line-strong); border-bottom: 1px solid var(--beacon-line-strong); box-shadow: none; }
.theme-ridgefoundry .blog-card img,
.theme-ridgefoundry .blog-main-image { border-radius: 2px; }
.theme-ridgefoundry .blog-tags a { border-radius: 2px; }

/* footer */
.theme-ridgefoundry .site-footer { position: relative; background: #11171c; border-top: 3px solid var(--beacon-accent); }
.theme-ridgefoundry .site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 90px; opacity: .08; background-image: linear-gradient(90deg,transparent 49px,#fff 50px); background-size: 50px 100%; }
.theme-ridgefoundry .brand--footer .brand-mark path { stroke: #f4f3ee; }
.theme-ridgefoundry .brand--footer .brand-mark path:last-child { stroke: #c67b45; }
.theme-ridgefoundry .footer-note { font-size: .62rem; }

@media (max-width: 900px) {
  .theme-ridgefoundry .rf-utility { display: none; }
  .theme-ridgefoundry .site-header__inner { min-height: 68px; }
  .theme-ridgefoundry .page-hero { min-height: auto; }
  .theme-ridgefoundry .page-hero__grid { grid-template-columns: 1fr; }
  .theme-ridgefoundry .rf-ridge { height: 32%; opacity: .18; }
  .theme-ridgefoundry .beacon-nav > li > a:hover,
  .theme-ridgefoundry .beacon-nav > li.is-active > a { box-shadow: inset 3px 0 0 var(--beacon-accent); }
}
@media (max-width: 620px) {
  .theme-ridgefoundry .container { width: min(calc(100% - 30px), var(--beacon-max)); }
  .theme-ridgefoundry .page-hero h1 { font-size: clamp(2.65rem, 14vw, 4.25rem); }
  .theme-ridgefoundry .brand-copy small { display: none; }
}

/* Section-builder hero gets the same industrial vocabulary as fallback heroes. */
.theme-ridgefoundry .component-hero {
  isolation: isolate;
  padding-top: clamp(88px, 10vw, 138px);
  padding-bottom: clamp(84px, 10vw, 132px);
  background-color: #ebe9e1;
  background-image: linear-gradient(rgba(17,23,28,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(17,23,28,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.theme-ridgefoundry .component-hero::before {
  z-index: -1; width: 72%; height: 2px; right: -6%; top: auto; bottom: 72px; border-radius: 0;
  background: linear-gradient(90deg, transparent, #263a48 12%, #263a48 28%, transparent 28.2%, transparent 31%, #263a48 31.2%, #263a48 47%, transparent 47.2%, transparent 52%, #b66b36 52.2%, #b66b36 82%, transparent);
  opacity: .36; transform: rotate(-5deg); transform-origin: right center;
}
.theme-ridgefoundry .component-hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.theme-ridgefoundry .component-hero-card { border-radius: 3px; border-color: #bfc2bd; background: rgba(247,246,241,.86); box-shadow: 12px 12px 0 rgba(35,79,120,.10); }
.theme-ridgefoundry .component-hero-card__eyebrow { color: var(--beacon-accent); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .64rem; letter-spacing: .14em; }
.theme-ridgefoundry .component-hero-card__icon { border-radius: 2px; background: #dde2e2; }
.theme-ridgefoundry .component-media { border-radius: 3px; border: 1px solid #bfc2bd; box-shadow: 12px 12px 0 rgba(17,23,28,.08); }
.theme-ridgefoundry .process-step__number { place-items: start; width: auto; height: auto; margin-bottom: 18px; border-radius: 0; background: transparent; font-size: .72rem; }

/* Blog TOC: RidgeFoundry system index ------------------------------------ */
.theme-ridgefoundry .blog-toc {
  --blog-toc-accent: var(--beacon-accent, #b66b36);
  --blog-toc-line: #bfc2bd;
  --blog-toc-surface: transparent;
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  border: 1px solid var(--blog-toc-line);
  border-radius: 2px;
  background:
    linear-gradient(rgba(17,23,28,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,23,28,.028) 1px, transparent 1px),
    #eeede7;
  background-size: 32px 32px;
  box-shadow: 8px 8px 0 rgba(17,23,28,.045);
}
.theme-ridgefoundry .blog-toc::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blog-toc-accent);
}
.theme-ridgefoundry .blog-toc__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin: 0;
  padding: 13px 18px 12px 22px;
  border-bottom: 1px solid var(--blog-toc-line);
  background: rgba(17,23,28,.035);
}
.theme-ridgefoundry .blog-toc__header::after {
  content: "INDEX / ARTICLE";
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: rgba(37,51,61,.32);
  font: 700 .55rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .14em;
}
.theme-ridgefoundry .blog-toc__title {
  color: var(--beacon-night, #11171c);
  font: 800 .68rem/1.1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.theme-ridgefoundry .blog-toc__title::before {
  content: "RF / ";
  color: var(--blog-toc-accent);
}
.theme-ridgefoundry .blog-toc__meta {
  padding-right: 7.7rem;
  color: #6f7472;
  font: 650 .62rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.theme-ridgefoundry .blog-toc__list,
.theme-ridgefoundry .blog-toc-list {
  counter-reset: blog-toc;
  margin: 0;
  padding: 13px 18px 15px 22px;
  list-style: none;
}
.theme-ridgefoundry .blog-toc__item,
.theme-ridgefoundry .blog-toc-list > li {
  counter-increment: blog-toc;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(37,51,61,.10);
}
.theme-ridgefoundry .blog-toc__item:last-child,
.theme-ridgefoundry .blog-toc-list > li:last-child { border-bottom: 0; }
.theme-ridgefoundry .blog-toc__link,
.theme-ridgefoundry .blog-toc-list > li > a {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 18px;
  gap: .8rem;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px 8px 0;
  color: #273139;
  font-size: .97rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
  transition: color .16s ease, padding-left .16s ease, background .16s ease;
}
.theme-ridgefoundry .blog-toc__link::before,
.theme-ridgefoundry .blog-toc-list > li > a::before {
  content: counter(blog-toc, decimal-leading-zero);
  color: #7d817f;
  font: 750 .64rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .08em;
}
.theme-ridgefoundry .blog-toc__link::after,
.theme-ridgefoundry .blog-toc-list > li > a::after {
  content: "↗";
  color: #979b98;
  font: 700 .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  opacity: .42;
  transform: rotate(45deg);
  transition: opacity .16s ease, transform .16s ease, color .16s ease;
}
.theme-ridgefoundry .blog-toc__link:hover,
.theme-ridgefoundry .blog-toc-list > li > a:hover,
.theme-ridgefoundry .blog-toc__link.is-active {
  color: var(--beacon-night, #11171c);
  padding-left: 7px;
}
.theme-ridgefoundry .blog-toc__link:hover::before,
.theme-ridgefoundry .blog-toc__link.is-active::before,
.theme-ridgefoundry .blog-toc__link[aria-current="location"]::before {
  color: var(--blog-toc-accent);
}
.theme-ridgefoundry .blog-toc__link:hover::after,
.theme-ridgefoundry .blog-toc__link.is-active::after {
  color: var(--blog-toc-accent);
  opacity: 1;
  transform: rotate(0deg);
}
.theme-ridgefoundry .blog-toc__link.is-active {
  font-weight: 760;
  background: linear-gradient(90deg, rgba(182,107,54,.07), transparent 72%);
}
.theme-ridgefoundry .blog-toc__item--h3 .blog-toc__link {
  min-height: 42px;
  padding-left: 2.2rem;
  color: #596064;
  font-size: .9rem;
  font-weight: 560;
}
.theme-ridgefoundry .blog-toc__item--h3 .blog-toc__link::before {
  content: "SUB";
  color: #8b8f8c;
  font-size: .52rem;
}
.theme-ridgefoundry .blog-toc__item--h3 .blog-toc__link:hover,
.theme-ridgefoundry .blog-toc__item--h3 .blog-toc__link.is-active { padding-left: 2.55rem; }
@media (max-width: 620px) {
  .theme-ridgefoundry .blog-toc__header { align-items: flex-start; padding-right: 16px; }
  .theme-ridgefoundry .blog-toc__header::after,
  .theme-ridgefoundry .blog-toc__meta { display: none; }
  .theme-ridgefoundry .blog-toc__list,
  .theme-ridgefoundry .blog-toc-list { padding-right: 12px; }
  .theme-ridgefoundry .blog-toc__link,
  .theme-ridgefoundry .blog-toc-list > li > a { grid-template-columns: 2.25rem minmax(0, 1fr) 16px; font-size: .92rem; }
  .theme-ridgefoundry .blog-toc__item--h3 .blog-toc__link { padding-left: 1rem; }
}

/* Legacy generated TOC compatibility. */
.theme-ridgefoundry .blog-toc > .fw-semibold {
  position: relative;
  min-height: 56px;
  margin: 0;
  padding: 21px 18px 16px 22px;
  border-bottom: 1px solid var(--blog-toc-line);
  background: rgba(17,23,28,.035);
  color: var(--beacon-night, #11171c);
  font: 800 .68rem/1.1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.theme-ridgefoundry .blog-toc > .fw-semibold::before { content: "RF / "; color: var(--blog-toc-accent); }
.theme-ridgefoundry .blog-toc-list > li.ms-3 > a { min-height: 42px; padding-left: 2.2rem; color: #596064; font-size: .9rem; font-weight: 560; }
.theme-ridgefoundry .blog-toc-list > li.ms-3 > a::before { content: "SUB"; color: #8b8f8c; font-size: .52rem; }
