/* Night Camp Game Wiki: the Level Trail theme.
   One idea runs through the site: a lantern-lit path from Lv 1 to Lv 99. It is the home hero, the article table of contents and the page dividers. */

/* ===== tokens ===== */
:root {
  --night: #0d1511;
  --pine: #131f19;
  --moss: #1b2b23;
  --bark: #2c3f33;
  --mist: #e8eddf;
  --fog: #9fb2a3;
  --glow: #c9e265;
  --glow-ink: #14200c;
  --ember: #ff8a4c;
  --moon: #ef6277;
  --link: #d3ec7c;
  --head: "Zilla Slab", Rockwell, "Roboto Slab", "Palatino Linotype", Georgia, serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1180px;
  --r: 10px;
  color-scheme: dark;
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--night); color: var(--mist); font: 400 1rem/1.7 var(--body); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; color: var(--glow); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.18; margin: 0; letter-spacing: 0; }
p { margin: 0 0 1rem; }
.nc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nc-skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 0.6rem 1rem; background: var(--glow); color: var(--glow-ink); font-weight: 700; }
.nc-skip:focus { left: 0; }
.nc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.nc-narrow { max-width: 50rem; }
.nc-page { display: flex; flex-direction: column; min-height: 100vh; }
.nc-main { flex: 1; }
.nc-muted { color: var(--fog); }

/* ===== top: brand row and signposts ===== */
.nc-top { position: sticky; top: 0; z-index: 30; background: var(--night); border-bottom: 1px solid var(--bark); }
.nc-bar { display: flex; align-items: center; gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.4rem; }
.nc-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--mist); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.3rem; white-space: nowrap; }
.nc-brand:hover { color: var(--glow); }
.nc-brand svg { width: 1.75rem; height: 2.1rem; flex: none; }
.nc-search { position: relative; margin-left: auto; flex: 0 1 19rem; }
.nc-search[hidden] { display: none; }
.nc-search input { width: 100%; padding: 0.5rem 0.9rem 0.5rem 2.2rem; border: 1px solid var(--bark); border-radius: 999px; background: var(--pine); color: var(--mist); font: inherit; font-size: 0.95rem; }
.nc-search::before { content: ""; position: absolute; left: 0.85rem; top: 50%; width: 0.62rem; height: 0.62rem; margin-top: -0.4rem; border: 2px solid var(--fog); border-radius: 50%; }
.nc-search::after { content: ""; position: absolute; left: 1.42rem; top: 50%; width: 2px; height: 0.4rem; margin-top: 0.1rem; background: var(--fog); transform: rotate(-45deg); }
.nc-search input::placeholder { color: var(--fog); }
.nc-search input:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px var(--moss); }
.nc-results { position: absolute; right: 0; top: calc(100% + 0.4rem); width: min(26rem, 92vw); max-height: 70vh; overflow: auto; background: var(--pine); border: 1px solid var(--bark); border-radius: var(--r); padding: 0.4rem; z-index: 40; }
.nc-results[hidden] { display: none; }
.nc-results a { display: block; padding: 0.55rem 0.7rem; border-radius: 6px; color: var(--mist); text-decoration: none; }
.nc-results a:hover, .nc-results a[data-on] { background: var(--moss); }
.nc-results .nc-r-t { display: block; font-weight: 600; }
.nc-results .nc-r-s { display: block; font-size: 0.85rem; color: var(--fog); }
.nc-results .nc-r-note { padding: 0.7rem; color: var(--fog); font-size: 0.9rem; margin: 0; }
.nc-signs { display: flex; gap: 0.35rem; padding-top: 0.15rem; padding-bottom: 0.65rem; overflow-x: auto; scrollbar-width: none; }
.nc-signs::-webkit-scrollbar { display: none; }
.nc-sign { position: relative; padding: 0.38rem 1.35rem 0.38rem 0.95rem; color: var(--fog); background: var(--pine); text-decoration: none; font-weight: 600; font-size: 0.93rem; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 0.7rem) 0, 100% 50%, calc(100% - 0.7rem) 100%, 0 100%); }
.nc-sign:hover { color: var(--mist); background: var(--moss); }
.nc-sign[aria-current] { background: var(--glow); color: var(--glow-ink); }

/* ===== hero and the Level Trail ===== */
.nc-hero { position: relative; overflow: hidden; padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(2.4rem, 5vw, 3.5rem); border-bottom: 1px solid var(--bark); background: var(--night); }
.nc-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; background: linear-gradient(to top, var(--pine), var(--night)); }
.nc-hero-grid { position: relative; display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.nc-kicker { margin: 0 0 0.7rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glow); }
.nc-h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); margin-bottom: 1.1rem; }
.nc-lede { font-size: 1.18rem; color: var(--fog); max-width: 38rem; margin-bottom: 1.6rem; }
.nc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.nc-btn { display: inline-flex; align-items: center; padding: 0.7rem 1.25rem; border: 1px solid var(--bark); border-radius: 999px; background: var(--pine); color: var(--mist); text-decoration: none; font-weight: 650; }
.nc-btn:hover { border-color: var(--glow); color: var(--glow); }
.nc-btn--go { background: var(--glow); border-color: var(--glow); color: var(--glow-ink); }
.nc-btn--go:hover { background: var(--mist); border-color: var(--mist); color: var(--glow-ink); }
.nc-stamp { font-size: 0.9rem; color: var(--fog); margin: 0; border-left: 3px solid var(--ember); padding-left: 0.75rem; max-width: 36rem; }

.nc-fireflies { position: absolute; inset: 0; pointer-events: none; }
.nc-fireflies i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 2px var(--glow); animation: nc-drift 7s ease-in-out infinite; opacity: 0.8; }
.nc-fireflies i:nth-child(1) { left: 6%; top: 22%; animation-delay: -1s; }
.nc-fireflies i:nth-child(2) { left: 18%; top: 70%; animation-delay: -3s; }
.nc-fireflies i:nth-child(3) { left: 41%; top: 12%; animation-delay: -5s; }
.nc-fireflies i:nth-child(4) { left: 55%; top: 82%; animation-delay: -2s; }
.nc-fireflies i:nth-child(5) { left: 67%; top: 30%; animation-delay: -4s; }
.nc-fireflies i:nth-child(6) { left: 88%; top: 64%; animation-delay: -6s; }
.nc-fireflies i:nth-child(7) { left: 94%; top: 14%; animation-delay: -2.5s; }
@keyframes nc-drift { 0%, 100% { transform: translate(0, 0); opacity: 0.25; } 50% { transform: translate(14px, -18px); opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) { .nc-fireflies i { animation: none; opacity: 0.5; } html { scroll-behavior: auto; } }

.nc-trailcard { background: var(--pine); border: 1px solid var(--bark); border-radius: calc(var(--r) * 1.6); padding: 1.4rem 1.4rem 1.2rem; }
.nc-trail-title { font-size: 1.25rem; margin-bottom: 0.2rem; }
.nc-trail-sub { color: var(--fog); font-size: 0.92rem; margin-bottom: 1rem; }
.nc-trail, .nc-toc ol { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.9rem; }
.nc-trail::before, .nc-toc ol::before { content: ""; position: absolute; left: 0.5rem; top: 0.9rem; bottom: 0.9rem; width: 2px; background: linear-gradient(to bottom, var(--glow), var(--bark)); }
.nc-stop { position: relative; }
.nc-stop::before { content: ""; position: absolute; left: -1.8rem; top: 0.95rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--night); border: 2px solid var(--glow); box-shadow: 0 0 10px 1px var(--glow); }
.nc-stop a { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0 0.6rem; padding: 0.42rem 0.5rem; margin: 0 -0.5rem; border-radius: 6px; color: var(--mist); text-decoration: none; }
.nc-stop a:hover { background: var(--moss); color: var(--mist); }
.nc-stop-lv { grid-row: span 2; font-family: var(--head); font-weight: 700; font-size: 0.98rem; color: var(--glow); white-space: nowrap; }
.nc-stop-name { font-weight: 600; line-height: 1.3; }
.nc-stop-note { font-size: 0.85rem; color: var(--fog); line-height: 1.35; }
.nc-trail-more { display: inline-block; margin-top: 0.8rem; font-weight: 650; }

/* ===== home blocks ===== */
.nc-block { padding: 2.6rem 0 0.4rem; }
.nc-h2 { font-size: 1.65rem; margin-bottom: 1.1rem; }
.nc-h2--rule { display: flex; align-items: center; gap: 0.9rem; }
.nc-h2--rule::after { content: ""; flex: 1; height: 2px; background: linear-gradient(to right, var(--bark), var(--night)); }
.nc-asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); counter-reset: ask; }
.nc-ask { counter-increment: ask; display: block; height: 100%; padding: 1.1rem 1.15rem 1.1rem 4rem; position: relative; background: var(--pine); border: 1px solid var(--bark); border-radius: var(--r); color: var(--mist); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.nc-ask::before { content: counter(ask); position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--glow); color: var(--glow-ink); font-family: var(--head); font-weight: 700; }
.nc-ask:hover { border-color: var(--glow); transform: translateY(-2px); color: var(--mist); }
.nc-ask-t { display: block; font-family: var(--head); font-weight: 700; font-size: 1.1rem; line-height: 1.25; margin-bottom: 0.3rem; }
.nc-ask-x { display: block; font-size: 0.93rem; color: var(--fog); line-height: 1.45; }
.nc-camps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.nc-camp { background: var(--pine); border: 1px solid var(--bark); border-top: 4px solid var(--glow); border-radius: var(--r); padding: 1.2rem 1.25rem; }
.nc-camp:nth-child(2) { border-top-color: var(--ember); }
.nc-camp:nth-child(3) { border-top-color: var(--moon); }
.nc-camp-t { font-size: 1.3rem; margin-bottom: 0.3rem; }
.nc-camp-t a { color: var(--mist); text-decoration: none; }
.nc-camp-t a:hover { color: var(--glow); }
.nc-camp-n { font-family: var(--body); font-size: 0.82rem; font-weight: 600; color: var(--glow-ink); background: var(--glow); border-radius: 999px; padding: 0.05rem 0.55rem; vertical-align: 0.15em; margin-left: 0.4rem; }
.nc-camp-d { color: var(--fog); font-size: 0.95rem; }
.nc-camp ul { list-style: none; padding: 0; margin: 0; }
.nc-camp li { border-top: 1px solid var(--bark); }
.nc-camp li a { display: block; padding: 0.5rem 0; color: var(--mist); text-decoration: none; font-size: 0.97rem; line-height: 1.4; }
.nc-camp li a:hover { color: var(--glow); }
.nc-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.nc-tile { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding: 0.7rem 0.7rem 1rem; background: var(--pine); border: 1px solid var(--bark); border-radius: var(--r); color: var(--mist); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.nc-tile:hover { border-color: var(--glow); transform: translateY(-2px); color: var(--mist); }
.nc-tile-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 0.4rem; background: var(--moss); }
.nc-tile-t { font-family: var(--head); font-weight: 700; font-size: 1.08rem; line-height: 1.28; padding: 0 0.3rem; }
.nc-tile-x { font-size: 0.92rem; color: var(--fog); line-height: 1.45; padding: 0 0.3rem; }
.nc-tile-m { font-size: 0.82rem; color: var(--fog); padding: 0 0.3rem; margin-top: auto; }
.nc-about { padding-bottom: 3rem; }
.nc-aboutprose { max-width: 52rem; }
.nc-intro { max-width: 50rem; margin: 0 0 2rem; }

/* ===== page heads ===== */
.nc-pagebody { padding-top: 1.4rem; padding-bottom: 4.5rem; }
.nc-crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center; font-size: 0.88rem; color: var(--fog); margin-bottom: 1.1rem; }
.nc-crumbs a { color: var(--fog); text-decoration: none; }
.nc-crumbs a:hover { color: var(--glow); text-decoration: underline; }
.nc-crumbs [aria-current] { color: var(--mist); }
.nc-head { margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 2px solid var(--bark); position: relative; }
.nc-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 5.5rem; height: 2px; background: var(--glow); }
.nc-title { font-size: clamp(1.95rem, 4.4vw, 3rem); margin-bottom: 0.8rem; }
.nc-sublead { font-size: 1.12rem; color: var(--fog); max-width: 46rem; margin-bottom: 0.6rem; }
.nc-meta { font-size: 0.9rem; color: var(--fog); margin: 0; }

/* ===== article ===== */
.nc-art { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr) 17rem; align-items: start; }
.nc-art-main { min-width: 0; }
.nc-cover { margin: 0 0 1.5rem; }
.nc-cover img { display: block; width: 100%; border-radius: calc(var(--r) * 1.4); border: 1px solid var(--bark); }
.nc-note { margin: 0 0 1.8rem; padding: 1rem 1.2rem; background: var(--pine); border: 1px solid var(--bark); border-left: 5px solid var(--glow); border-radius: var(--r); }
.nc-note-l { margin: 0 0 0.25rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow); }
.nc-note p:last-child { margin-bottom: 0; font-size: 1.06rem; }
.nc-prose { overflow-wrap: anywhere; }
.nc-prose h2 { font-size: 1.65rem; margin: 2.4rem 0 0.9rem; padding-top: 0.2rem; }
.nc-prose h3 { font-size: 1.28rem; margin: 1.8rem 0 0.6rem; color: var(--glow); }
.nc-prose h4 { font-size: 1.08rem; margin: 1.4rem 0 0.4rem; }
.nc-prose > :first-child { margin-top: 0; }
.nc-prose ul, .nc-prose ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.nc-prose li { margin-bottom: 0.4rem; }
.nc-prose li::marker { color: var(--glow); }
.nc-prose img { display: block; margin: 1.5rem auto; border-radius: var(--r); border: 1px solid var(--bark); }
.nc-prose blockquote { margin: 1.2rem 0; padding: 0.4rem 1.1rem; border-left: 4px solid var(--ember); background: var(--pine); border-radius: 0 var(--r) var(--r) 0; color: var(--fog); }
.nc-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--moss); padding: 0.1em 0.4em; border-radius: 4px; }
.nc-prose hr { border: 0; height: 2px; background: var(--bark); margin: 2rem 0; }
.nc-prose p > em:only-child { color: var(--fog); font-size: 0.92rem; }
.nc-scroll { overflow-x: auto; margin: 1.3rem 0; border: 1px solid var(--bark); border-radius: var(--r); }
.nc-prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; }
.nc-scroll table { min-width: 34rem; margin: 0; }
.nc-prose th, .nc-prose td { padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bark); }
.nc-prose thead th { background: var(--moss); color: var(--glow); font-weight: 700; position: sticky; top: 0; white-space: nowrap; }
.nc-prose tbody tr:nth-child(even) td { background: var(--pine); }
.nc-prose tbody tr:last-child td { border-bottom: 0; }
.nc-faq { margin-top: 2.6rem; }
.nc-faq details { border: 1px solid var(--bark); border-radius: var(--r); background: var(--pine); margin-bottom: 0.6rem; }
.nc-faq summary { cursor: pointer; padding: 0.8rem 1rem; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.nc-faq summary::-webkit-details-marker { display: none; }
.nc-faq summary::after { content: "+"; color: var(--glow); font-family: var(--head); font-size: 1.3rem; line-height: 1; }
.nc-faq details[open] summary::after { content: "\2212"; }
.nc-faq summary:hover { color: var(--glow); }
.nc-faq details p { margin: 0; padding: 0 1rem 1rem; color: var(--fog); }
.nc-more { margin-top: 3rem; }
.nc-side { position: sticky; top: 7.2rem; display: grid; gap: 1.2rem; }
.nc-side-t { margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog); }
.nc-facts { background: var(--pine); border: 1px solid var(--bark); border-radius: var(--r); padding: 1rem 1.1rem; }
.nc-facts dl { margin: 0; }
.nc-facts dl > div { padding: 0.45rem 0; border-top: 1px solid var(--bark); }
.nc-facts dl > div:first-child { border-top: 0; padding-top: 0; }
.nc-facts dt { font-size: 0.82rem; color: var(--fog); }
.nc-facts dd { margin: 0; font-weight: 600; }
.nc-toc[hidden] { display: none; }
.nc-toc { padding: 0.2rem 0 0.4rem; }
.nc-toc li { position: relative; }
.nc-toc li::before { content: ""; position: absolute; left: -1.62rem; top: 0.75rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--night); border: 2px solid var(--bark); }
.nc-toc li:has(a[data-on])::before { border-color: var(--glow); background: var(--glow); box-shadow: 0 0 9px 1px var(--glow); }
.nc-toc a { display: block; padding: 0.3rem 0; color: var(--fog); text-decoration: none; font-size: 0.92rem; line-height: 1.35; }
.nc-toc a:hover { color: var(--mist); }
.nc-toc a[data-on] { color: var(--glow); font-weight: 600; }
.nc-toc .nc-toc-sub a { padding-left: 0.8rem; font-size: 0.88rem; }
.nc-toc .nc-toc-sub::before { display: none; }

/* ===== section list and feed ===== */
.nc-filter { margin: 0 0 1.4rem; }
.nc-filter input { width: 100%; max-width: 24rem; padding: 0.55rem 0.9rem; border: 1px solid var(--bark); border-radius: 999px; background: var(--pine); color: var(--mist); font: inherit; font-size: 0.95rem; }
.nc-filter input:focus { outline: none; border-color: var(--glow); }
.nc-rows { display: grid; gap: 0.9rem; }
.nc-row { display: grid; grid-template-columns: 13rem 1fr; gap: 1.1rem; padding: 0.7rem; background: var(--pine); border: 1px solid var(--bark); border-radius: var(--r); color: var(--mist); text-decoration: none; transition: border-color 0.15s; }
.nc-row:hover { border-color: var(--glow); color: var(--mist); }
.nc-row[hidden], .nc-group[hidden] { display: none; }
.nc-row-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--moss); }
.nc-row-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.2rem 0.2rem 0.2rem 0; min-width: 0; }
.nc-row-t { font-family: var(--head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.nc-row-x { color: var(--fog); font-size: 0.96rem; line-height: 1.5; }
.nc-row-m { font-size: 0.82rem; color: var(--fog); margin-top: auto; }
.nc-group { margin-bottom: 2rem; }
.nc-feed { list-style: none; margin: 0; padding: 0 0 0 1.9rem; position: relative; }
.nc-feed::before { content: ""; position: absolute; left: 0.5rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--bark); }
.nc-feed li { position: relative; margin-bottom: 0.9rem; }
.nc-feed li::before { content: ""; position: absolute; left: -1.8rem; top: 1.2rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--night); border: 2px solid var(--glow); }
.nc-feed-item { display: block; padding: 0.9rem 1.1rem; background: var(--pine); border: 1px solid var(--bark); border-radius: var(--r); color: var(--mist); text-decoration: none; }
.nc-feed-item:hover { border-color: var(--glow); color: var(--mist); }
.nc-feed-d { display: block; font-size: 0.82rem; color: var(--glow); font-weight: 700; margin-bottom: 0.15rem; }
.nc-feed-t { display: block; font-family: var(--head); font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.nc-feed-x { display: block; color: var(--fog); font-size: 0.93rem; margin-top: 0.2rem; }

/* ===== 404 and legal ===== */
.nc-lost { padding-top: 4rem; text-align: left; }
.nc-legal h2 { font-size: 1.4rem; }

/* ===== footer ===== */
.nc-foot { margin-top: auto; background: var(--pine); border-top: 1px solid var(--bark); position: relative; }
.nc-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(to right, var(--night), var(--glow), var(--night)); }
.nc-foot-grid { display: grid; gap: 1.8rem 2rem; grid-template-columns: 1.3fr 1fr 1fr; padding-top: 2.2rem; padding-bottom: 1.2rem; }
.nc-foot-name { font-family: var(--head); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.4rem; }
.nc-foot-h { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog); }
.nc-foot nav a { display: block; padding: 0.2rem 0; color: var(--mist); text-decoration: none; font-size: 0.95rem; }
.nc-foot nav a:hover { color: var(--glow); text-decoration: underline; }
.nc-foot-copy { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid var(--bark); font-size: 0.85rem; color: var(--fog); }

/* ===== responsive ===== */
@media (max-width: 900px) {
  .nc-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .nc-art { grid-template-columns: minmax(0, 1fr); }
  .nc-side { position: static; }
  .nc-toc { display: none; }
  .nc-foot-grid { grid-template-columns: 1fr 1fr; }
  .nc-foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 1rem; }
  .nc-top { position: static; }
  .nc-bar { flex-wrap: wrap; gap: 0.5rem 0.8rem; }
  .nc-search { order: 3; flex: 1 0 100%; margin-left: 0; }
  .nc-row { grid-template-columns: 1fr; }
  .nc-prose h2 { font-size: 1.42rem; }
  .nc-foot-grid { grid-template-columns: 1fr; }
  .nc-stop a { grid-template-columns: 4.6rem 1fr; }
}
