/* Cheatsheet header (hero + phase tabs), shared by the MCP and RAG sheets so
   both open identically.
   Core-page construction (About, Culture): rounded card, starfield
   (partials/cheatsheet-hero-universe.njk), mesh grid, Fragment Mono square
   eyebrow, Geist headline with a Newsreader italic line, one sentence, one
   pill button. Loads after publications.css; every selector carries
   `.ryv-editorial .ryv-mcp` so it outranks the editorial flattening. */

@media screen {
  .ryv-editorial .ryv-mcp .ryv-mcp-hero .ryv-uni-overlay,
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-grid { display: block; }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-grid {
    background-image: url("/assets/images/vLikCLnzwwcHeQgCk9IbnE9w0.png");
    background-size: 1482px auto; opacity: .55;
  }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-bg {
    background-image:
      radial-gradient(ellipse at 55% 50%, rgba(20,28,32,0) 0%, rgba(15,20,24,.55) 70%, rgba(10,14,18,.8) 100%),
      linear-gradient(180deg, rgba(20,30,34,.4) 0%, rgba(14,20,24,.62) 100%);
    filter: saturate(.6) brightness(.82);
  }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-card { min-height: 520px; }
  /* 1144 = 1080 content + 2 x 32 padding, so hero text lines up with the sections. */
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-inner { max-width: 1144px; padding: 150px 32px 72px; }

  .ryv-editorial .ryv-mcp .ryv-mcp-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px;
    font: 500 13px/1.4 "Fragment Mono", "Fragment Mono Placeholder", ui-monospace, monospace;
    letter-spacing: .18em; text-transform: uppercase; color: #f5f3ec;
  }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-eyebrow::before { content: ""; width: 9px; height: 9px; background: #f5f3ec; flex: none; }

  .ryv-editorial .ryv-mcp .ryv-mcp-hero-title {
    max-width: 900px; margin: 0; font-size: clamp(44px,5.6vw,76px); font-weight: 500;
    line-height: 1.04; letter-spacing: -.03em; color: #f5f3ec; text-wrap: balance;
  }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-title em {
    display: block; font-family: "Newsreader", "Newsreader Placeholder", ui-serif, Georgia, serif;
    font-style: italic; font-weight: 400; letter-spacing: -.01em;
  }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-sub {
    max-width: 620px; margin: 24px 0 0; font-size: 18px; line-height: 1.6; letter-spacing: -.005em;
    color: rgba(245,243,236,.78);
  }

  .ryv-editorial .ryv-mcp .ryv-mcp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-cta .ryv-mcp-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 0; padding: 14px 22px; border-radius: 999px;
    border: 1px solid #f5f3ec; background: #f5f3ec; color: #0d1416;
    font: 600 13px/1 "Geist", "Geist Placeholder", sans-serif; letter-spacing: .14em; text-transform: uppercase;
    white-space: nowrap; box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  }
  .ryv-editorial .ryv-mcp .ryv-mcp-hero-cta .ryv-mcp-btn:hover { background: #fff; border-color: #fff; color: #0d1416; transform: translateY(-1px); }

  /* Phase tabs under the hero. Accent follows each sheet's --mint. */
  .ryv-editorial .ryv-mcp .ryv-mcp-rail { width: calc(100% - 64px); max-width: 1080px; padding: 6px 0; }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-list { gap: 28px; }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-item { gap: 9px; color: rgba(245,243,236,.66); }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-item:is(:hover,.active) { color: #f5f3ec; }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-n { width: auto; font: 400 11px/1.5 "Fragment Mono", "Fragment Mono Placeholder", ui-monospace, monospace; letter-spacing: .06em; color: rgba(245,243,236,.55); }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-item.active .ryv-mcp-rail-n { color: var(--mint); }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-t { font: 400 14px/1.5 "Geist", "Geist Placeholder", sans-serif; letter-spacing: -.005em; }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-item::before { background: var(--mint); }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-head .k { font: 400 11px/1.5 "Fragment Mono", "Fragment Mono Placeholder", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,243,236,.55); }
  .ryv-editorial .ryv-mcp .ryv-mcp-rail-head .pc { font: 400 12px/1.5 "Fragment Mono", "Fragment Mono Placeholder", ui-monospace, monospace; color: #f5f3ec; }

  @media (max-width: 809px) {
    .ryv-editorial .ryv-mcp .ryv-mcp-hero-card { min-height: 0; }
    .ryv-editorial .ryv-mcp .ryv-mcp-hero-inner { padding: 112px 24px 48px; }
    .ryv-editorial .ryv-mcp .ryv-mcp-hero-title { font-size: 40px; line-height: 1.06; }
    .ryv-editorial .ryv-mcp .ryv-mcp-hero-sub { font-size: 17px; }
    .ryv-editorial .ryv-mcp .ryv-mcp-rail { width: calc(100% - 48px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .ryv-editorial .ryv-mcp .ryv-mcp-hero-cta .ryv-mcp-btn { transition: none; }
    .ryv-editorial .ryv-mcp .ryv-mcp-hero-cta .ryv-mcp-btn:hover { transform: none; }
  }
}
