/* /guides -- generated by execution/site/guides_build.py. THE MIDNIGHT WAR ROOM (Tier A skin,
   extended to the guides; Lane A D54 scope order): the ratified tokens, read from the lander v2
   build, and its two-radial wash over --g1. Typography unchanged: the one self-hosted face
   (Cinzel 600 for display) and the reading serif.
   No external request, no script: the chips filter by CSS :target alone. */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cinzel-latin-600-normal.woff2') format('woff2');
}
:root { --g1: #070B16; --g2: #0D1526; --g3: #131E38;
  --glass: rgba(224,232,255,0.045); --glass-line: rgba(200,163,90,0.16);
  --gold-dim: #9A7B3F; --gold: #C8A35A; --gold-hi: #F0D79E;
  --bone: #F0EADA; --bone-mute: #A9B0C4; --parchment: #F2EAD9;
  --r-panel: 14px; --r-ctrl: 8px;
  --t-fast: 150ms; --t-mid: 280ms; --t-slow: 600ms; --ease: cubic-bezier(.22,1,.36,1);
  --glow: 0 0 0 1px rgba(200,163,90,.6),0 0 20px rgba(200,163,90,.32),0 0 52px rgba(200,163,90,.16);
  --glow-soft: 0 0 0 1px rgba(200,163,90,.38),0 0 14px rgba(200,163,90,.18);
  --body: "Albert Sans", system-ui, sans-serif; --display: 'Cinzel', serif; }
:root {
  --ground: var(--g1);
  --ink: var(--bone-mute);
  --ink-quiet: #8A91A6;
  --measure-doc: 72ch;
  --body: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--ink); font-family: var(--body);
  background: radial-gradient(1200px 700px at 75% -10%, var(--g3), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, var(--g2), transparent 55%), var(--g1);
  background-attachment: fixed;
  line-height: 1.65; padding: clamp(1rem, 5vw, 2.5rem);
}
a { color: var(--gold); }
.bar { font-family: 'Cinzel', serif; letter-spacing: 0.06em; margin-bottom: 1.5rem; }
.bar a { text-decoration: none; }
/* the lander's header (Lane A D64-123): the mark and wordmark home, the nav in the lander's pill */
.lh { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap;
  width: 100%; max-width: 72rem; margin: 0 auto 1.75rem; }
.lh-home { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold); font-size: .9rem;
  letter-spacing: .14em; text-transform: uppercase; }
.lh-mark { width: 34px; height: 34px; flex: none; }
.lh-nav { padding: .45rem 1rem; border-radius: 999px; background-color: #0a0f1d; border: 1px solid rgba(200,163,90,.32);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.9); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; }
.lh-nav a { color: var(--gold); }
.lh-nav a:hover, .lh-nav a:focus-visible { color: var(--gold-hi); }
.lh-nav span { color: var(--ink-quiet); margin: 0 .35rem; }
@media (max-width: 30rem) { .lh { justify-content: center; } .lh-home span { display: none; }
  .lh-nav { font-size: .7rem; letter-spacing: .08em; padding: .4rem .8rem; } }
main { flex: 1; width: 100%; max-width: var(--measure-doc); margin: 0 auto; }
h1, h2, h3 { font-family: 'Cinzel', serif; font-weight: 600; color: var(--parchment); line-height: 1.3; }
h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: 0.04em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
strong { color: var(--parchment); font-weight: 600; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
hr { border: 0; border-top: 1px solid var(--glass-line); margin: 2rem 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { overflow-x: auto; background: var(--glass); border: 1px solid var(--glass-line); padding: 0.9rem; border-radius: var(--r-ctrl); }
blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--gold); }
.tablewrap { overflow-x: auto; margin: 0 0 1.25rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; line-height: 1.45; }
th, td { border-bottom: 1px solid var(--glass-line); padding: 0.45rem 0.6rem; vertical-align: top; }
th { color: var(--parchment); text-align: left; }
.hero { width: 100%; max-width: var(--measure-doc); margin: 0 auto 1.5rem; aspect-ratio: 16 / 9;
        border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--glass-line);
        background: radial-gradient(circle at 50% 45%, rgba(200,163,90,.12), transparent 70%), var(--glass); }
.hero-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--poster { display: flex; align-items: center; justify-content: center; }
.hero-mark { width: clamp(64px, 18%, 128px); height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.chip { font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none;
        border: 1px solid var(--gold); border-radius: 999px; padding: 0.25rem 0.8rem; }
main:has(.cat:target) .cat:not(:target) { display: none; }
.cards { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.card a { display: block; padding: 0.8rem 1rem; border: 1px solid var(--glass-line); border-radius: var(--r-ctrl);
          background: var(--glass);
          text-decoration: none; color: var(--parchment); }
.card a:hover, .card a:focus { border-color: var(--gold); box-shadow: var(--glow-soft); }
.cta { margin: 2.5rem 0 1rem; padding: 1.25rem; border: 1px solid var(--gold); border-radius: var(--r-panel); text-align: center;
       background: var(--glass); box-shadow: var(--glow-soft); }
.cta-line { font-family: 'Cinzel', serif; color: var(--parchment); margin-bottom: 0.75rem; }
.cta-link { display: inline-block; font-family: 'Cinzel', serif; letter-spacing: 0.05em; text-decoration: none;
            background: var(--gold); color: var(--ground); padding: 0.5rem 1.4rem; border-radius: 999px; }
.foot { color: var(--ink-quiet); font-size: 0.85rem; text-align: center; margin-top: 2rem; }

/* GUIDES EMBER -- PROTOTYPE on the EMBER_PAGES pages only (body.ember). ZERO JAVASCRIPT: scroll-
   driven CSS. ONE reading line, 55% down the viewport: view(block 55% 45%) collapses the
   article's view window onto it, so the seam's tip IS the line, and a heading ignites the moment
   it crosses the line -- that is, the moment the seam reaches it. The base state is the settled
   state (seam fully drawn, headings lit), so a browser without scroll timelines, or with motion
   reduced, never shows a half-drawn page. */
body.ember article { position: relative; }
body.ember article::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -0.75rem; width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,163,90,.55));
  box-shadow: 0 0 8px rgba(200,163,90,.45); transform-origin: top; pointer-events: none; }
body.ember article h2 { text-shadow: 0 0 6px rgba(200,163,90,.25); }
.margin-embers { display: none; }
@media (min-width: 64rem) {
  body.ember article::before { left: -1.75rem; }
  body.ember .margin-embers { display: block; position: fixed; inset: 0; pointer-events: none;
    overflow: hidden; z-index: 0; }
  body.ember .margin-embers span { position: absolute; bottom: -8px; width: 3px; height: 3px;
    border-radius: 50%; background: #F0D79E; opacity: 0; filter: blur(.4px);
    animation: margin-ember linear infinite; }
  /* five, in the outer margins, slower than the hero's fourteen (9.4-17.8s): 23-33s */
  body.ember .margin-embers span:nth-child(1) { left: 3vw;  --dx: 10px;  animation-duration: 26s; animation-delay: -3s; }
  body.ember .margin-embers span:nth-child(2) { left: 7vw;  --dx: -14px; animation-duration: 31s; animation-delay: -17s; }
  body.ember .margin-embers span:nth-child(3) { left: 93vw; --dx: 8px;   animation-duration: 23s; animation-delay: -9s; }
  body.ember .margin-embers span:nth-child(4) { left: 96vw; --dx: -12px; animation-duration: 33s; animation-delay: -24s; }
  body.ember .margin-embers span:nth-child(5) { left: 90vw; --dx: 16px;  animation-duration: 28s; animation-delay: -12s; }
}
@keyframes margin-ember { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .7; }
  70% { opacity: .35; } 100% { transform: translate(var(--dx), -92vh); opacity: 0; } }
@keyframes seam-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* the bloom is a filter (transform / opacity / filter only): the heading's settled glow stays put,
   and one gold flare rises over it and falls away */
@keyframes ignite { 0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(240,215,158,0)) drop-shadow(0 0 0 rgba(200,163,90,0)); }
  30% { filter: brightness(1.15) drop-shadow(0 0 14px rgba(240,215,158,.85)) drop-shadow(0 0 34px rgba(200,163,90,.45)); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.ember article::before { animation: seam-draw linear both;
      animation-timeline: view(block 55% 45%); animation-range: cover 0% cover 100%; }
    /* the bloom: from the heading's top touching the line until it is 20% of the viewport past */
    body.ember article h2 { animation: ignite linear both;
      animation-timeline: view(block 35% 45%); animation-range: cover 0% cover 100%; }
  }
}
@media (prefers-reduced-motion: reduce) { body.ember .margin-embers { display: none; } }

/* THE KITS -- a guide's static figure in the article column (the visual layer): its words are the guide's own,
   and its own scoped style draws it in its own faces (declared in the kit, so this sheet keeps its one face); the
   ring's one fill, as it arrives, is the kit's, static under reduced motion. */
article .kit { display: block; width: 100%; max-width: 26rem; margin: 2rem auto; }
article .kit svg { display: block; width: 100%; height: auto; }

/* GS-1 -- THE INDEX CARDS (the hub; Lane A overnight order 2026-10-18, on the GS-1 mock of
   corpus C-6926): each card is a frame over its title and the guide's own first sentence. The frame is a
   served manifest row's card art or poster (corpus C-6943), else a living page's scene still, else
   the seal (the iron medallion on the midnight plate). The hub holds still: no recipe runs here. */
main.gs-hub { max-width: 64rem; }
.gs-cards { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.gs-card a { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.gs-frame { display: block; aspect-ratio: 16 / 9; background-color: #0B1122; border-bottom: 1px solid var(--glass-line); }
.gs-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gs-frame--seal { background: url('/guides/media/living/medallion_iron.webp') center / 4.5rem 4.5rem no-repeat,
  radial-gradient(circle at 50% 45%, rgba(200,163,90,.14), transparent 62%), #0B1122; }
.gs-title { display: block; padding: .85rem 1rem .35rem; font-family: 'Cinzel', serif; font-weight: 600;
  color: var(--parchment); line-height: 1.35; }
.gs-hook { display: block; padding: 0 1rem 1rem; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.gs-card a:hover .gs-frame img, .gs-card a:focus-visible .gs-frame img { filter: brightness(1.1); }

/* THE LIVING PORT -- LIVING_PAGES only: every rule is scoped under main.living or an .lv- class. The
   living surface's laws (corpus C-6932): every word on a calm plane (data-calm, opaque), no motion
   under a word, transform / opacity / filter only, idle motion at most 3 % on periods of 4 s or
   more, light only on light. The base is the still page; the recipes run only inside the
   no-preference block at the end, so reduced motion is the still. A served manifest row's loop
   replaces the scene still in the same frame (corpus C-6943). */
.lv-hero { position: relative; width: 100%; max-width: 52rem; margin: 0 auto; }
.lv-hero .hero { position: relative; max-width: none; margin: 0; isolation: isolate; }
.lv-light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(24% 34% at 66% 24%, rgba(255,190,105,.34), transparent 72%); }
.lv-presenter { position: absolute; z-index: 1; right: -2.25rem; bottom: -3.25rem; width: clamp(10rem, 30%, 15.5rem);
  height: auto; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); }
main.living .lv-title { position: relative; z-index: 2; width: min(100%, 34rem); margin: -5.5rem 0 2.5rem;
  padding: 1.1rem 1.4rem 1.25rem; background-color: #0B1122;
  background-image: linear-gradient(180deg, rgba(200,163,90,.08), transparent 55%);
  border: 1px solid rgba(200,163,90,.38); border-radius: var(--r-panel); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
main.living .lv-title h1 { margin: 0; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
.lv-chip { display: inline-block; margin-bottom: .6rem; padding: .12rem .7rem; font-family: 'Cinzel', serif;
  font-size: .78rem; letter-spacing: .04em; text-decoration: none; color: var(--gold-hi);
  border: 1px solid var(--gold-dim); border-radius: 999px; }
main.living article h2 { position: relative; margin: 2.5rem 0 1.6rem; padding: .7rem 1rem .7rem 4rem;
  background-color: #0B1122; background-image: linear-gradient(180deg, rgba(200,163,90,.07), transparent 60%);
  border: 1px solid var(--glass-line); border-radius: var(--r-ctrl); }
main.living article h2::before { content: ""; position: absolute; left: .7rem; top: 50%; width: 2.5rem; height: 2.5rem;
  margin-top: -1.25rem; border-radius: 50%;
  background: url('/guides/media/living/medallion_iron.webp') center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(200,163,90,.55), 0 0 10px rgba(200,163,90,.22); }
main.living article hr { height: 4.5rem; margin: 2.75rem 0; border: 0;
  background: url('/guides/media/living/medallion_bronze.webp') center / 4.5rem 4.5rem no-repeat,
    linear-gradient(90deg, transparent, rgba(200,163,90,.55) 22%, rgba(200,163,90,.55) 78%, transparent) center / 100% 1px no-repeat; }
main.living .tablewrap { padding: .25rem .6rem; background-color: #0B1122; border: 1px solid var(--glass-line);
  border-radius: var(--r-ctrl); }
.lv-invite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center;
  margin-top: 3.25rem; padding: 1.5rem; text-align: left; }
.lv-words { padding: 1.25rem; background-color: #0B1122; border-radius: var(--r-ctrl); }
.lv-words .cta-line { font-size: 1.15rem; }
.lv-window { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--glass-line); border-radius: var(--r-ctrl); }
.lv-window-scene { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-ctrl); }
.lv-fire { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; border-radius: var(--r-ctrl);
  background: radial-gradient(26% 42% at 8% 54%, rgba(255,165,80,.42), transparent 72%); }
.lv-banner { position: absolute; top: -1.5rem; right: -.75rem; width: 4.5rem; height: auto; transform-origin: 50% 0;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
@media (max-width: 56rem) { .lv-presenter { right: -.75rem; } }
@media (max-width: 40rem) {
  .lv-presenter { right: .4rem; bottom: .4rem; width: 36%; }
  main.living .lv-title { width: 100%; margin-top: 1rem; }
  .lv-invite { grid-template-columns: minmax(0, 1fr); }
}
@keyframes ls-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@keyframes ls-sway { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg); } }
@keyframes ls-flicker { 0%, 100% { opacity: 1; filter: brightness(1); } 13% { opacity: .82; filter: brightness(.96); }
  29% { opacity: .97; filter: brightness(1.05); } 47% { opacity: .88; } 63% { opacity: 1; filter: brightness(1.03); }
  81% { opacity: .82; } }
@media (prefers-reduced-motion: no-preference) {
  .lv-light { animation: ls-flicker 4.6s ease-in-out infinite; }
  .lv-fire { animation: ls-flicker 5.3s ease-in-out -1.7s infinite; }
  .lv-presenter { transform-origin: 50% 100%; animation: ls-breathe 7s ease-in-out infinite; }
  .lv-banner { animation: ls-sway 8s ease-in-out infinite; }
}

/* THE PAUSES (G-GUIDES-LIVEOBJ-1 / G-GUIDES-VISUALS-1, the founder, D73) */
body.pz .pz-obj { float: right; position: relative; width: calc(var(--f, 1) * clamp(72px, 28%, 150px));
  aspect-ratio: var(--ar); margin: .3rem -6px .5rem 14px; shape-outside: margin-box; }
body.pz .pz-obj.pz-tall { width: calc(var(--f, 1) * clamp(72px, 22%, 150px)); }
body.pz .pz-obj .pz-v, body.pz .pz-obj .pz-still { position: absolute; inset: 0; display: block; width: 100%;
  height: 100%; object-fit: contain; }
body.pz article > :is(h2, h3, h4, ul, ol, table, .tablewrap, figure, hr, blockquote, pre) { clear: right; }
