
/* WordPress isolation for the public Runcible Resources review route. */
body.runcible-public-resources {
  margin: 0 !important;
  font-family: var(--sans) !important;
}

body.runcible-public-resources > .wp-site-blocks > header.wp-block-template-part,
body.runcible-public-resources > .wp-site-blocks > footer.wp-block-template-part,
body.runcible-public-resources .wp-block-post-title {
  display: none !important;
}

body.runcible-public-resources .wp-site-blocks,
body.runcible-public-resources .wp-block-post-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.runcible-public-resources #wp--skip-link--target > .wp-block-group {
  padding: 0 !important;
}

html body.runcible-public-resources #wp--skip-link--target .entry-content.alignfull.wp-block-post-content {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-inline: calc(50% - 50vw) !important;
}

body.runcible-public-resources.admin-bar .site-head {
  top: 32px;
}

body.runcible-public-resources.admin-bar .story-rail {
  top: 106px;
}

@media (max-width: 782px) {
  body.runcible-public-resources.admin-bar .site-head {
    top: 46px;
  }

  body.runcible-public-resources.admin-bar .story-rail {
    top: 112px;
  }
}

:root {
      --ink: #101211;
      --coal: #191c1b;
      --paper: #f2ecdf;
      --paper-2: #e8dfcf;
      --white: #fffdf7;
      --muted: #666a66;
      --gold: #d4a63d;
      --red: #b63830;
      --teal: #2d6670;
      --rule: rgba(16, 18, 17, .16);
      --rule-dark: rgba(255, 253, 247, .16);
      --sans: "Source Sans 3", sans-serif;
      --slab: "Roboto Slab", Georgia, serif;
      --mono: "IBM Plex Mono", monospace;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; }
    a { color: inherit; }
    p { max-width: 70ch; }
    h1, h2, h3, p { text-wrap: balance; }
    code { padding: .08em .32em; background: rgba(16,18,17,.08); font-family: var(--mono); font-size: .84em; }

    .site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 12px clamp(20px,5vw,72px); border-bottom: 1px solid var(--rule-dark); color: var(--white); background: rgba(16,18,17,.97); backdrop-filter: blur(14px); }
    .brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--slab); font-size: 1.68rem; font-weight: 800; text-decoration: none; }
    .brand img { width: 20px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); }
    .main-nav { display: flex; gap: clamp(12px,1.8vw,26px); align-items: center; font-family: var(--mono); font-size: .63rem; letter-spacing: .06em; text-transform: uppercase; }
    .main-nav a { color: #d7d5cf; text-decoration: none; }
    .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
    .review-tag { padding: 8px 11px; border: 1px solid rgba(212,166,61,.7); color: var(--gold); }

    .story-rail { position: sticky; top: 74px; z-index: 15; display: grid; grid-template-columns: 1.25fr repeat(6,1fr); border-bottom: 1px solid #cfc3af; background: rgba(242,236,223,.97); backdrop-filter: blur(10px); }
    .story-rail span { padding: 10px 11px; border-right: 1px solid #d7cdbc; color: #6d675c; font-family: var(--mono); font-size: .54rem; font-weight: 600; letter-spacing: .07em; text-align: center; text-transform: uppercase; }
    .story-rail .rail-title { padding-left: clamp(20px,5vw,72px); color: var(--red); text-align: left; }
    .story-rail .active { color: var(--white); background: var(--ink); box-shadow: inset 0 -4px 0 var(--gold); }

    .section { position: relative; padding: clamp(66px,7vw,108px) clamp(22px,8vw,128px); }
    .inner { width: min(1060px,100%); margin: 0 auto; }
    .measure { width: min(860px,100%); }
    .coordinate, .eyebrow, .meta-label { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
    .coordinate { color: var(--gold); }
    .eyebrow { margin: 30px 0 18px; color: var(--red); }
    .frame { max-width: 760px; margin: 0 0 28px; padding-left: 20px; border-left: 4px solid var(--red); font-family: var(--slab); font-size: clamp(1.15rem,1.8vw,1.55rem); font-style: italic; font-weight: 600; line-height: 1.42; }
    h1, h2, h3 { margin: 0; font-family: var(--slab); letter-spacing: -.032em; }
    h1 { max-width: 930px; font-size: clamp(3rem,5.4vw,5.25rem); line-height: 1.04; }
    h2 { max-width: 880px; font-size: clamp(2.05rem,3.55vw,3.55rem); line-height: 1.08; }
    h3 { font-size: clamp(1.3rem,1.9vw,1.75rem); line-height: 1.18; }
    .kicker { max-width: 850px; margin-top: 25px; color: var(--gold); font-family: var(--slab); font-size: clamp(1.25rem,2vw,1.72rem); font-weight: 600; }
    .lede { max-width: 780px; margin-top: 27px; font-size: clamp(1.04rem,1.2vw,1.18rem); line-height: 1.65; }
    .actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
    .button { display: inline-flex; align-items: center; min-height: 45px; padding: 10px 16px; border: 1px solid currentColor; font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
    .button.primary { color: var(--ink); background: var(--gold); border-color: var(--gold); }

    .hero { color: var(--white); background: radial-gradient(circle at 88% 14%,rgba(182,56,48,.16),transparent 27rem),var(--ink); }
    .hero .frame { color: #eee7da; }
    .hero .lede { color: #d7d7d1; }
    .hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px,6vw,82px); align-items: end; }
    .recommended { padding: 25px; border: 1px solid var(--rule-dark); background: rgba(255,255,255,.035); }
    .recommended > span { color: var(--gold); font-family: var(--mono); font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; }
    .recommended h3 { margin-top: 13px; }
    .recommended ol { margin: 25px 0 0; padding: 0; list-style: none; counter-reset: path; }
    .recommended li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--rule-dark); counter-increment: path; }
    .recommended li::before { content: "0" counter(path); color: var(--gold); font-family: var(--mono); font-size: .62rem; }
    .recommended strong { display: block; font-family: var(--slab); font-size: 1.05rem; }
    .recommended small { display: block; margin-top: 3px; color: #bebfba; line-height: 1.4; }
    .recommended a { display: inline-block; margin-top: 17px; color: var(--gold); font-family: var(--mono); font-size: .64rem; font-weight: 600; text-decoration: none; text-transform: uppercase; }

    .products { background: var(--white); }
    .product-list { margin-top: 42px; border-top: 1px solid var(--rule); }
    .product-row { display: grid; grid-template-columns: 180px 1fr 170px; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: start; }
    .product-row .identity span { color: var(--red); font-family: var(--mono); font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; }
    .product-row .identity h3 { margin-top: 8px; }
    .product-row .copy p { margin: 0 0 11px; }
    .product-row .copy small { display: block; color: var(--muted); line-height: 1.5; }
    .product-row .route { justify-self: end; padding: 10px 12px; border: 1px solid var(--rule); font-family: var(--mono); font-size: .61rem; font-weight: 600; text-decoration: none; text-transform: uppercase; }

    .object { background: var(--paper-2); }
    .claim { display: grid; grid-template-columns: 150px 1fr; gap: 28px; margin-top: 38px; padding: 24px; color: var(--white); background: var(--ink); }
    .claim span { color: var(--gold); font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
    .claim strong { font-family: var(--slab); font-size: clamp(1.5rem,2.4vw,2.2rem); }
    .object-trace { display: grid; grid-template-columns: repeat(4,1fr); margin: 38px 0 0; padding: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); list-style: none; }
    .object-trace li { min-height: 170px; padding: 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .object-trace span { color: var(--red); font-family: var(--mono); font-size: .58rem; letter-spacing: .09em; }
    .object-trace strong { display: block; margin-top: 10px; font-family: var(--slab); font-size: 1.15rem; }
    .object-trace small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.45; }
    .inspection-paths { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 38px; }
    .inspection-paths a { padding: 22px; border: 1px solid var(--rule); background: var(--white); text-decoration: none; }
    .inspection-paths span { color: var(--red); font-family: var(--mono); font-size: .59rem; letter-spacing: .07em; text-transform: uppercase; }
    .inspection-paths strong { display: block; margin-top: 11px; font-family: var(--slab); font-size: 1.18rem; line-height: 1.25; }
    .inspection-paths small { display: block; margin-top: 9px; color: var(--muted); line-height: 1.45; }
    .limit { margin-top: 30px; padding: 20px 23px; border-left: 4px solid var(--red); background: rgba(255,255,255,.45); }
    .limit p { margin: 0; }

    .questions { background: var(--white); }
    .question-list { margin-top: 40px; border-top: 1px solid var(--rule); }
    .question-row { display: grid; grid-template-columns: 145px 1fr 220px 32px; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
    .question-row .route-type { color: var(--red); font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
    .question-row strong { font-family: var(--slab); font-size: clamp(1.2rem,1.7vw,1.5rem); line-height: 1.25; }
    .question-row small { color: var(--muted); line-height: 1.45; }
    .question-row b { color: var(--red); font-size: 1.25rem; }
    .question-row:hover strong { color: var(--red); }

    .evidence { color: var(--white); background: var(--teal); }
    .evidence .coordinate, .evidence .eyebrow { color: #f1c961; }
    .status-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 42px; }
    .status-card { padding: 24px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
    .status-card .meta-label { color: #f1c961; }
    .status-card h3 { margin-top: 12px; }
    .status-card ul, .status-card ol { margin: 20px 0 0; padding-left: 1.25em; }
    .status-card li { margin: 8px 0; color: #e5eeea; font-size: .93rem; }
    .status-card li strong { color: var(--white); }
    .record-integrity { margin-top: 38px; padding: 26px; border: 1px solid rgba(255,255,255,.28); }
    .record-integrity h3 { color: #f1c961; }
    .record-integrity p:last-child { margin-bottom: 0; }
    .evidence .seal { max-width: 850px; margin-top: 34px; padding-left: 21px; border-left: 4px solid #f1c961; font-family: var(--slab); font-size: clamp(1.15rem,1.8vw,1.5rem); font-weight: 600; }

    .action { background: var(--paper); }
    .action-list { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 42px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
    .action-list a { min-height: 170px; padding: 25px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; }
    .action-list span { color: var(--red); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
    .action-list strong { display: block; margin-top: 12px; font-family: var(--slab); font-size: 1.45rem; line-height: 1.2; }
    .action-list small { display: block; margin-top: 10px; color: var(--muted); }
    .coda { max-width: 900px; margin-top: 46px; padding-left: 24px; border-left: 5px solid var(--red); font-family: var(--slab); font-size: clamp(1.25rem,2.1vw,1.85rem); font-style: italic; font-weight: 600; line-height: 1.42; }
    .signature { display: flex; align-items: center; gap: 12px; margin-top: 62px; font-family: var(--slab); font-size: 1.45rem; font-weight: 800; }
    .signature img { width: 18px; height: 39px; object-fit: contain; }
    .signature small { margin-left: 8px; color: var(--muted); font-family: var(--mono); font-size: .57rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

    @media (max-width: 1030px) {
      .main-nav a:nth-child(n+5):not(.review-tag) { display: none; }
      .story-rail span { padding-inline: 6px; font-size: .47rem; }
      .hero-grid { grid-template-columns: 1fr; }
      .recommended { max-width: 620px; }
      .product-row { grid-template-columns: 150px 1fr; }
      .product-row .route { grid-column: 2; justify-self: start; }
      .object-trace { grid-template-columns: repeat(2,1fr); }
      .inspection-paths, .status-grid { grid-template-columns: 1fr; }
      .question-row { grid-template-columns: 125px 1fr 32px; }
      .question-row small { grid-column: 2; }
    }
    @media (max-width: 720px) {
      body { font-size: 16px; }
      .site-head { min-height: 66px; }
      .brand { font-size: 1.43rem; }
      .brand img { width: 18px; height: 34px; }
      .main-nav a:not(.review-tag) { display: none; }
      .story-rail { top: 66px; display: flex; overflow-x: auto; }
      .story-rail span { flex: 0 0 auto; min-width: 90px; }
      .story-rail .rail-title { padding-left: 18px; }
      .section { padding: 60px 20px; }
      h1 { font-size: clamp(2.55rem,12vw,3.25rem); }
      h2 { font-size: clamp(1.85rem,8.3vw,2.55rem); }
      .product-row { grid-template-columns: 1fr; gap: 14px; }
      .product-row .route { grid-column: 1; }
      .claim { grid-template-columns: 1fr; gap: 10px; }
      .object-trace { grid-template-columns: 1fr; }
      .object-trace li { min-height: 0; }
      .question-row { grid-template-columns: 1fr 30px; gap: 8px 16px; }
      .question-row .route-type, .question-row small { grid-column: 1; }
      .question-row strong { grid-column: 1; }
      .question-row b { grid-column: 2; grid-row: 1 / span 3; }
      .action-list { grid-template-columns: 1fr; }
      .signature { align-items: flex-start; flex-wrap: wrap; }
      .signature small { width: 100%; margin-left: 30px; }
    }


/* Public navigation keeps the current route visible when space becomes constrained. */
@media (max-width: 1050px) {
  body.runcible-public-resources .main-nav a { display: none !important; }
  body.runcible-public-resources .main-nav a.active-nav { display: block !important; color: var(--gold) !important; }
}
