/*
 * The guides' Night Atlas (resources/views/guides/show.blade.php): every guide a
 * constellation, falling onto a map of the places it names. Inside the site's layout: all of it
 * under .na. The light theme is a celestial atlas's engraved plate (navy ink on blue paper); the
 * dark theme the night sky. Fonts self-hosted: Fraunces italic, Inter (the site's), JetBrains Mono.
 */
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(/assets/vendor/fraunces-5.3.0/fraunces-latin-opsz-italic.woff2) format('woff2');
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url(/assets/vendor/jetbrains-mono-5.3.0/jetbrains-mono-latin-wght-normal.woff2) format('woff2');
}

/* ---------- tokens: the light atlas, then the night ---------- */
.na {
    --na-bg: #f3f5f9;
    --na-plate: #eef2f8;
    --na-ink: #14213d;
    --na-text: #1d2843;
    --na-ink2: #3b4766;
    --na-ink3: #5a6582;
    --na-rule: rgba(20, 33, 61, .17);
    --na-rule2: rgba(20, 33, 61, .09);
    --na-gold: #875c0c;
    --na-hot: #b3261e;
    --na-card: #f8fafd;
    --na-line: rgba(20, 33, 61, .62);
    --na-sea: #e6ecf5;
    --na-landc: #f7f4ec;
    --na-coast: #14213d;
    --na-wlc: #14213d;
    --na-gratc: rgba(20, 33, 61, .2);
    --na-tipbg: #fffdf8;
    --na-stage-h: calc(100vh - var(--m-top));
    --na-stage-h: calc(100svh - var(--m-top));
    --na-mono: 'JetBrains Mono', ui-monospace, monospace;
    --na-serif: 'Fraunces', Georgia, serif;
    position: relative;
    margin: -10px -10px 0;
    background: var(--na-bg);
    color: var(--na-text);
    font-family: Inter, system-ui, sans-serif;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.dark .na {
    --na-bg: #0a0f1d;
    --na-plate: #070b17;
    --na-ink: #f1f3f9;
    --na-text: #d3d9e6;
    --na-ink2: #aeb7cc;
    --na-ink3: #8b95ae;
    --na-rule: rgba(170, 190, 240, .17);
    --na-rule2: rgba(170, 190, 240, .08);
    --na-gold: #f5c46a;
    --na-hot: #ff4d4d;
    --na-card: rgba(140, 165, 230, .045);
    --na-line: rgba(200, 214, 255, .4);
    --na-sea: transparent;
    --na-landc: rgba(15, 24, 52, .9);
    --na-coast: rgba(160, 190, 255, .6);
    --na-wlc: #6f8fe0;
    --na-gratc: rgba(150, 175, 240, .1);
    --na-tipbg: rgba(9, 14, 30, .92);
}
@media (max-width: 767.98px) {
    body:has(.nw-tabbar) .na { --na-stage-h: calc(100svh - var(--m-top) - 56px - env(safe-area-inset-bottom)); }
}
.na *, .na *::before, .na *::after { box-sizing: border-box; }
.na-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- the first screen ---------- */
.na-stage {
    position: relative;
    background: radial-gradient(90% 70% at 72% 18%, #f6f8fc 0%, var(--na-plate) 70%);
}
.dark .na-stage { background: radial-gradient(110% 80% at 70% 0%, #111a35 0%, #070b17 62%, #0b1226 100%); }
/* without scripts the canvas stays empty: a still field of stars instead */
html:not(.na-js) .na-stage::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .7;
    background-image: radial-gradient(1.2px 1.2px at 23px 41px, #14213d 50%, transparent 51%), radial-gradient(1px 1px at 131px 97px, #14213d 50%, transparent 51%),
        radial-gradient(.8px .8px at 77px 160px, #14213d 50%, transparent 51%), radial-gradient(1.4px 1.4px at 190px 22px, #14213d 50%, transparent 51%),
        radial-gradient(.8px .8px at 211px 141px, #14213d 50%, transparent 51%);
    background-size: 240px 190px;
}
.dark html:not(.na-js) .na-stage::before, html:not(.na-js) .dark .na-stage::before { filter: invert(1); }
.na-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

.na-hero {
    position: relative; z-index: 1;
    min-height: var(--na-stage-h);
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
    gap: clamp(12px, 3vw, 48px);
    padding: clamp(28px, 4vw, 64px) clamp(22px, 4.5vw, 72px);
}
.na-head { align-self: end; max-width: 36rem; padding-bottom: clamp(8px, 5vh, 56px); }
.na-back {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; margin-left: -2px;
    font: 600 12px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase;
    color: var(--nw-link); text-decoration: none;
}
.na-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.na-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.na-kicker { margin: clamp(18px, 4vh, 40px) 0 14px; font: 600 12px/1.2 Inter, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--na-gold); }
.na-title {
    margin: 0; color: var(--na-ink);
    font-family: var(--na-serif); font-style: italic; font-weight: 380; font-variation-settings: 'opsz' 144;
    font-size: clamp(42px, 4.6vw, 80px); line-height: 1.02; letter-spacing: -.018em;
    text-wrap: balance;
}
.na-title.is-long { font-size: clamp(36px, 3.7vw, 62px); }
.na-meta { margin: 24px 0 0; font: 500 12px/1.5 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--na-ink2); }
.na-meta time { white-space: nowrap; }
/* a draft: staff's only until the owner approves it */
.na-draft { display: inline-block; margin: 16px 0 0; padding: 8px 12px; border-radius: 10px; font: 500 14px/1.4 Inter, sans-serif; background: #fef3c7; color: #92400e; }
.dark .na-draft { background: rgba(245, 158, 11, .15); color: #fcd34d; }

.na-con-wrap { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 0; transform-origin: 0 0; }
.na-con { display: block; overflow: visible; }
.na-con--hero { width: 100%; height: 100%; max-height: calc(var(--na-stage-h) - 96px); --na-cu: .95; }
.na-cue {
    position: absolute; left: 50%; bottom: 18px; width: 1px; height: 44px; margin-left: -.5px;
    background: linear-gradient(var(--na-ink3), transparent); opacity: .7; pointer-events: none;
}

/* the stars (hero, panel, end, other guides): light first, an engraving */
.na-seg { fill: none; stroke: var(--na-line); stroke-width: calc(var(--na-cu, 1) * .9px); stroke-linecap: round; }
.na-core { fill: var(--cl); stroke: var(--na-ink); stroke-width: calc(var(--na-cu, 1) * 1.15px); }
.na-halo, .na-spike { display: none; }
.na-rays { fill: none; stroke: var(--na-ink); stroke-width: calc(var(--na-cu, 1) * .9px); stroke-linecap: round; }
.na-num { font: 500 calc(var(--na-cu, 1) * 12px) var(--na-serif); font-style: italic; fill: var(--na-ink2); }
.na-hit { fill: transparent; }
.na-focus { fill: none; stroke: var(--nw-link); stroke-width: calc(var(--na-cu, 1) * 1.5px); opacity: 0; }
.na-star { cursor: pointer; outline: none; }
.na-star .na-core, .na-star .na-halo, .na-star .na-rays { transform-box: fill-box; transform-origin: center; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.na-star:focus-visible .na-focus { opacity: 1; }
.na-star:hover .na-core, .na-star:focus-visible .na-core, .na-star.is-hot .na-core { transform: scale(1.4); }
.na-star:hover .na-halo, .na-star:focus-visible .na-halo, .na-star.is-hot .na-halo { transform: scale(1.25); }
.na-star:hover .na-num, .na-star.is-hot .na-num { fill: var(--na-ink); }
/* the night: glowing stars, faint diffraction spikes, no ink */
.dark .na .na-core { fill: var(--c); stroke: none; }
.dark .na .na-halo { display: inline; }
.dark .na .na-spike { display: inline; fill: none; stroke: var(--c); stroke-width: calc(var(--na-cu, 1) * .7px); opacity: .32; }
.dark .na .na-rays { display: none; }
.dark .na .na-num { fill: var(--na-ink3); font-family: Inter, sans-serif; font-style: normal; font-size: calc(var(--na-cu, 1) * 11px); letter-spacing: .04em; }

/* the hero's tooltip */
.na-tip {
    position: absolute; left: 0; top: 0; z-index: 3; margin: 0; pointer-events: none;
    max-width: min(280px, 70vw); padding: 8px 12px; border-radius: 10px;
    background: var(--na-tipbg); border: 1px solid var(--na-rule); box-shadow: 0 10px 30px rgba(10, 18, 40, .18);
    font: 500 14px/1.35 Inter, sans-serif; color: var(--na-ink);
}
.na-tip b, .na-maptip b { font: 500 12px var(--na-mono); color: var(--na-gold); margin-right: 8px; }
.na-tip[hidden], .na-maptip[hidden] { display: none; }

/* the arrival: lines draw from star to star, each star coming out as its line reaches it */
@media (prefers-reduced-motion: no-preference) {
    .na-live .na-con--hero .na-seg { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: na-draw .26s cubic-bezier(.45, 0, .55, 1) forwards; animation-delay: calc(.55s + var(--i) * .26s); }
    .na-live .na-con--hero .na-star { opacity: 0; animation: na-appear .5s ease-out forwards; animation-delay: calc(.4s + var(--i) * .26s); }
    .na-live .na-con--hero .na-core { animation: na-pop .7s cubic-bezier(.3, 1.7, .5, 1) backwards; animation-delay: calc(.4s + var(--i) * .26s); }
    .na-live .na-con--hero .na-halo { animation: na-flare 1.2s ease-out backwards; animation-delay: calc(.4s + var(--i) * .26s); }
    .na-live .na-cue { animation: na-cue 2.4s ease-in-out 4.2s infinite both; }
    /* the end's sky draws its constellation again, complete, as it comes into view */
    .na-live .na-endsky .na-seg { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
    .na-live .na-endsky .na-star { opacity: 0; }
    .na-live .na-endsky.is-seen .na-seg { animation: na-draw .2s cubic-bezier(.45, 0, .55, 1) forwards; animation-delay: calc(.35s + var(--i) * .17s); }
    .na-live .na-endsky.is-seen .na-star { animation: na-appear .5s ease-out forwards; animation-delay: calc(.25s + var(--i) * .17s); }
}
@keyframes na-draw { to { stroke-dashoffset: 0; } }
@keyframes na-appear { to { opacity: 1; } }
@keyframes na-pop { from { transform: scale(0); } }
@keyframes na-flare { from { transform: scale(2.2); opacity: 0; } 30% { opacity: 1; } }
@keyframes na-cue { 0%, 100% { transform: scaleY(.3); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); opacity: .8; } 80% { transform: scaleY(1); transform-origin: top; opacity: 0; } }

/* ---------- the map ---------- */
.na-mapfig { position: relative; z-index: 1; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px) clamp(40px, 6vw, 72px); max-width: 1180px; }
.na-mapbox { position: relative; width: min(100%, calc(78vh * var(--na-aspect, 1.5))); margin: 0 auto; }
.na-map { display: block; width: 100%; height: auto; overflow: hidden; }
.na-mapcap { margin: 14px 0 0; text-align: center; font: 600 11.5px/1.3 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--na-ink2); }
.na-sea { fill: var(--na-sea); }
.na-grat { fill: none; stroke: var(--na-gratc); stroke-width: .7px; vector-effect: non-scaling-stroke; }
.na-wl { fill: none; stroke: var(--na-wlc); vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.na-wl-gap { fill: none; stroke: var(--na-sea); vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.na-wl1 { stroke-width: 15px; opacity: .1; } .na-wl1g { stroke-width: 12.5px; }
.na-wl2 { stroke-width: 9.5px; opacity: .16; } .na-wl2g { stroke-width: 7px; }
.na-wl3 { stroke-width: 4.2px; opacity: .3; } .na-wl3g { stroke-width: 2.2px; }
.na-land { fill: var(--na-landc); }
.na-shore { fill: none; stroke: var(--na-coast); stroke-width: 1.1px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
/* a land border, drawn as atlases do: dashes and dots */
.na-intl { fill: none; stroke: var(--na-coast); stroke-width: 1px; stroke-dasharray: 7 2.5 1.5 2.5; vector-effect: non-scaling-stroke; opacity: .8; }
.na-states { fill: none; stroke: var(--na-coast); stroke-width: .7px; stroke-dasharray: 1.5 3; opacity: .55; vector-effect: non-scaling-stroke; }
.na-inset { fill: none; stroke: var(--na-coast); stroke-width: .8px; opacity: .5; vector-effect: non-scaling-stroke; }
.na-neat { fill: none; stroke: var(--na-ink); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.na-glab { font: 400 calc(var(--na-pu) * 11px) var(--na-serif); font-style: italic; fill: var(--na-ink3); }
.na-pt-glow { display: none; }
.na-pt-core { r: calc(var(--na-pu) * 2.8px); fill: var(--na-hot); stroke: var(--na-landc); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.na-pt-ring { r: calc(var(--na-pu) * 6px); fill: none; stroke: var(--na-ink); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.na-town {
    font: 600 calc(var(--na-pu) * 10.5px) Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase;
    fill: var(--na-ink); paint-order: stroke; stroke: var(--na-landc); stroke-width: calc(var(--na-pu) * 3.4px); stroke-linejoin: round;
}
.na-town.is-off { display: none; }
.na-maptip {
    position: absolute; left: 0; top: 0; z-index: 3; margin: 0; pointer-events: none;
    width: max-content; max-width: min(300px, 80vw); padding: 9px 12px; border-radius: 10px;
    background: var(--na-tipbg); border: 1px solid var(--na-rule); box-shadow: 0 10px 30px rgba(10, 18, 40, .2);
    font: 500 13.5px/1.4 Inter, sans-serif; color: var(--na-ink);
}
.na-maptip span { display: block; }
.na-maptip small { display: block; margin-top: 2px; font: 500 11px var(--na-mono); color: var(--na-ink3); letter-spacing: .02em; }
/* the night map: no plate, its edges melting into the sky, the places glowing */
.dark .na .na-map--main {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 6%, #000 94%, transparent);
    mask-composite: intersect;
}
.dark .na .na-neat { display: none; }
/* (on the night the water-lines are a glow off the coast, the sky showing through the sea) */
.dark .na .na-wl-gap { display: none; }
.dark .na .na-wl1 { opacity: .035; } .dark .na .na-wl2 { opacity: .05; } .dark .na .na-wl3 { opacity: .09; }
.dark .na .na-pt-glow { display: inline; r: calc(var(--na-pu) * 14px); }
.dark .na .na-pt-core { fill: #fff3d6; stroke: none; }
.dark .na .na-pt-ring { stroke: var(--na-gold); opacity: .55; }
.dark .na .na-town { fill: #e9edf7; stroke: #0b1226; }
.dark .na .na-glab { fill: rgba(170, 185, 225, .55); }

/* ---------- with scripts and motion: the first screen holds while the stars fall onto the map ---------- */
.na-motion .na-block.has-map { height: calc(var(--na-stage-h) * 1.8); }
.na-motion .na-block.is-settle { height: calc(var(--na-stage-h) * 1.45); }
.na-motion .na-block.is-settle.is-short { height: calc(var(--na-stage-h) * 1.2); }
.na-lead:empty, .na-lead[hidden] { display: none; }
.na-motion .has-map .na-stage, .na-motion .is-settle .na-stage { position: sticky; top: var(--m-top); height: var(--na-stage-h); overflow: hidden; }
.na-motion .has-map .na-hero, .na-motion .is-settle .na-hero { position: absolute; inset: 0; }
/* (no places: the lead comes up under the settled constellation) */
.na-lead.is-staged { position: absolute; z-index: 2; left: 50%; width: min(640px, calc(100% - 56px)); opacity: 0; transform: translate(-50%, 28px); will-change: transform, opacity; }
.na-motion .has-map .na-mapfig {
    position: absolute; left: 0; right: 0; bottom: 0; top: 0; max-width: none; padding: 0; margin: 0;
    opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.na-motion .has-map .na-mapfig.is-up { pointer-events: auto; }
.na-motion .has-map .na-mapbox { position: absolute; margin: 0; }
.na-motion .has-map .na-mapcap { position: absolute; left: 0; right: 0; margin: 0; opacity: var(--na-labels, 0); }
.na-motion .na-map--main .na-towns, .na-motion .na-map--main .na-glabs { opacity: var(--na-labels, 0); }
.na-motion .na-map--main .na-pt:not(.is-lit) { opacity: 0; }
.na-motion .na-con--hero .na-star > * { transition: opacity .35s; }
.na-motion .na-con--hero .na-star.is-gone > :not(.na-focus):not(.na-hit) { opacity: .26; }
.na-motion .na-con--hero .na-star.is-gone > .na-halo { opacity: 0; }
.na-motion .na-head, .na-motion .na-con-wrap { will-change: transform, opacity; }
.na-pt-burst { fill: none; stroke: var(--na-hot); stroke-width: 1.4px; vector-effect: non-scaling-stroke; opacity: 0; r: calc(var(--na-pu) * 6px); transform-box: fill-box; transform-origin: center; }
.dark .na .na-pt-burst { stroke: #ffe2a6; }
@media (prefers-reduced-motion: no-preference) {
    .na-motion .na-map--main .na-pt.is-lit .na-pt-burst { animation: na-burst 1s cubic-bezier(.2, .7, .3, 1); }
    .na-motion .na-map--main .na-pt.is-lit .na-pt-core { animation: na-land .6s cubic-bezier(.3, 1.8, .5, 1); transform-box: fill-box; transform-origin: center; }
}
@keyframes na-burst { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(4.2); } }
@keyframes na-land { from { transform: scale(2.4); } }

/* ---------- the guide ---------- */
.na-read { container: na-read / inline-size; padding: clamp(48px, 7vw, 104px) 16px 24px; }
.na-grid { max-width: 680px; margin: 0 auto; }
.na-panel { display: none; }
@container na-read (min-width: 950px) {
    .na-grid { display: grid; grid-template-columns: minmax(0, 680px) 232px; justify-content: center; gap: clamp(40px, 5cqi, 88px); max-width: none; }
    .na-panel { display: block; position: sticky; top: calc(var(--m-top) + 12px); align-self: start; margin-top: 6px; }
    .na-strip { display: none !important; }
}

.na-lead p { margin: 0 0 1em; font-family: var(--na-serif); font-style: italic; font-weight: 370; font-variation-settings: 'opsz' 36; font-size: clamp(21px, 2.1vw, 25px); line-height: 1.5; color: var(--na-ink); }
.na-lead p + p { font-size: clamp(19px, 1.8vw, 21px); color: var(--na-ink2); }

.na-sec { scroll-margin-top: calc(var(--m-top) + 70px); margin-top: clamp(72px, 9vw, 120px); }
.na-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.na-mark::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--na-rule), transparent); }
.na-glyph { width: 40px; height: 40px; margin: 0 -2px 0 -8px; overflow: visible; flex: none; --na-cu: 1; }
.na-glyph .na-rays { stroke-width: 1px; }
.dark .na .na-glyph .na-rays { display: inline; stroke: var(--c); opacity: .55; stroke-width: .9px; }
.dark .na .na-glyph .na-halo { opacity: 1; }
.na-mark-n { font: 500 13px/1 var(--na-mono); letter-spacing: .04em; color: var(--na-ink); }
.na-mark-of { font: 400 13px/1 var(--na-mono); color: var(--na-ink3); }
.na-text h2 {
    margin: 0 0 24px; color: var(--na-ink);
    font-family: var(--na-serif); font-style: italic; font-weight: 400; font-variation-settings: 'opsz' 100;
    font-size: clamp(31px, 3.5vw, 44px); line-height: 1.08; letter-spacing: -.012em; text-wrap: balance;
}
.na-text h3 { margin: 44px 0 12px; font-family: var(--na-serif); font-style: italic; font-weight: 450; font-variation-settings: 'opsz' 40; font-size: 25px; line-height: 1.2; color: var(--na-ink); }
.na-text p, .na-text li { font-size: 18px; line-height: 1.7; }
.na-text p { margin: 0 0 1.1em; }
.na-text strong { color: var(--na-ink); font-weight: 650; }
.na-text a:not(.gl-place), .na-lead a { color: var(--nw-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.na-text a:not(.gl-place):hover { text-decoration-thickness: 2px; }
.na-text ul:not(.gl-places), .na-text ol { list-style: none; margin: 0 0 1.3em; padding: 0; }
.na-text ul:not(.gl-places) > li { position: relative; margin: .5em 0; padding-left: 28px; }
.na-text ul:not(.gl-places) > li::before {
    content: ''; position: absolute; left: 3px; top: .58em; width: 11px; height: 11px; background: var(--na-gold);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.na-text ol { counter-reset: na-ol; }
.na-text ol > li { position: relative; margin: .5em 0; padding-left: 36px; counter-increment: na-ol; }
.na-text ol > li::before { content: counter(na-ol, decimal-leading-zero); position: absolute; left: 0; top: .35em; font: 500 13px/1.4 var(--na-mono); color: var(--na-gold); }

/* the short version: a chart's key */
.na-sec--short ul:not(.gl-places) { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--na-rule); counter-reset: na-key; }
.na-sec--short ul:not(.gl-places) > li { margin: 0; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--na-rule); counter-increment: na-key; }
.na-sec--short ul:not(.gl-places) > li::before {
    content: counter(na-key, decimal-leading-zero); clip-path: none; background: none; width: auto; height: auto;
    left: 0; top: 19px; font: 500 13px/1.4 var(--na-mono); color: var(--na-gold);
}
@container na-read (min-width: 600px) {
    .na-sec--short ul:not(.gl-places) { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* questions people ask */
.na-sec--faq p { margin: 0; padding: 20px 0; border-top: 1px solid var(--na-rule2); }
.na-sec--faq p > strong:first-child { display: block; margin-bottom: 6px; font-family: var(--na-serif); font-style: italic; font-weight: 480; font-variation-settings: 'opsz' 36; font-size: 22px; line-height: 1.3; color: var(--na-ink); }

/* tables: hairlines, small caps, scrolling in their box */
.na .nw-guide-table-wrap { overflow-x: auto; margin: 1.6em 0 2em; border-top: 1.5px solid var(--na-ink); border-bottom: 1px solid var(--na-ink); overscroll-behavior-x: contain; }
.na-text table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.na-text th { padding: 13px 16px 10px 0; text-align: left; vertical-align: bottom; white-space: nowrap; border-bottom: 1px solid var(--na-rule); font: 600 11.5px/1.3 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--na-ink2); }
.na-text td { padding: 12px 16px 12px 0; vertical-align: top; border-bottom: 1px solid var(--na-rule2); }
.na-text tr:last-child td { border-bottom: 0; }
.na-text td:first-child { color: var(--na-ink); font-weight: 600; }

/* places: cards with their real coordinates */
.na .gl-places { list-style: none; margin: 1.4em 0 2.2em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 206px), 1fr)); gap: 10px; }
.na .gl-places li { margin: 0; padding: 0; }
.na .gl-place {
    position: relative; display: block; height: 100%;
    padding: 14px 16px 15px; border: 1px solid var(--na-rule); border-radius: 12px; background: var(--na-card);
    color: var(--na-text); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.na .gl-place:hover, .na .gl-place:focus-visible { border-color: var(--na-gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 20, 50, .1); }
.na .gl-place:focus-visible { outline: 2px solid var(--nw-link); outline-offset: 2px; }
.na-coord { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; font: 500 11.5px/1.3 var(--na-mono); letter-spacing: .01em; color: var(--na-ink3); white-space: nowrap; }
.na-coord::before { content: ''; flex: none; width: 9px; height: 9px; background: var(--na-gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.na .gl-place-name { display: block; margin-bottom: 3px; font: 600 16.5px/1.3 Inter, sans-serif; color: var(--na-ink); }
.na .gl-place-kind, .na .gl-place-where { font-size: 14px; line-height: 1.4; color: var(--na-ink2); }
.na .gl-place-where::before { content: '· '; }

/* ---------- where you are: the panel (wide), the strip (narrow) ---------- */
.na-card { position: relative; overflow: hidden; border: 1px solid var(--na-rule); border-radius: 16px; background: var(--na-plate); }
.dark .na .na-card { background: radial-gradient(120% 90% at 70% 0%, #101935, #070b17 70%); }
.na-card--sky { padding: 10px 12px 14px; }
.na-card--map { margin-top: 12px; padding: 6px; }
.na-con--mini { width: 100%; height: auto; --na-cu: 2.7; }
.na-con--mini .na-seg { opacity: .3; }
.na-con--mini .na-trace .na-seg { opacity: 1; stroke: var(--na-gold); stroke-dasharray: 1 1; stroke-dashoffset: var(--t, 1); }
.na-con--mini .na-star { opacity: .5; transition: opacity .3s; }
.na-con--mini .na-star.is-past { opacity: 1; }
.na-con--mini .na-star.is-now { opacity: 1; }
.na-con--mini .na-star.is-now .na-core { transform: scale(1.7); }
.na-con--mini .na-star.is-now .na-halo { transform: scale(1.5); }
.na-con--mini .na-focus { stroke-width: calc(var(--na-cu) * 1.5px); }
.na-now { display: flex; gap: 10px; align-items: baseline; margin: 6px 2px 0; font: 500 14px/1.35 Inter, sans-serif; color: var(--na-ink); }
.na-now b { flex: none; font: 500 12px var(--na-mono); color: var(--na-gold); }
.na-map--mini .na-sea { fill: transparent; }
.na-map--mini .na-wl, .na-map--mini .na-wl-gap, .na-map--mini .na-neat, .na-map--mini .na-grat { display: none; }
.na-map--mini .na-shore, .na-map--mini .na-intl { stroke-width: .8px; stroke-dasharray: none; }
.na-map--mini .na-pt { opacity: .35; transition: opacity .3s; }
.na-map--mini .na-pt-ring { opacity: 0; transition: opacity .3s; }
.na-map--mini .na-pt.is-lit { opacity: 1; }
.na-map--mini .na-pt.is-lit .na-pt-ring { opacity: 1; }

.na-strip { display: flex; align-items: center; gap: 14px; max-width: 680px; margin: 0 auto 8px; padding: 8px 0; border-bottom: 1px solid var(--na-rule); }
.na-js .na-strip {
    position: sticky; top: var(--m-top); z-index: 20; margin: -8px -16px 8px; max-width: none; padding: 8px 16px;
    background: color-mix(in srgb, var(--na-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: transform .3s ease;
}
.na-strip.is-tucked { transform: translateY(-112%); }
.na-dots { position: relative; display: flex; align-items: center; flex: none; margin: 0; padding: 0; list-style: none; }
.na-dots::before, .na-dots::after { content: ''; position: absolute; left: 9px; top: 50%; height: 1px; background: var(--na-rule); right: 9px; }
.na-dots::after { right: auto; width: var(--na-prog, 0px); background: var(--na-gold); transition: width .3s; }
.na-dots li { position: relative; z-index: 1; display: flex; }
.na-dots a { display: grid; place-items: center; width: 18px; height: 30px; }
.na-dots i { display: block; width: var(--s); height: var(--s); border-radius: 50%; background: var(--cl); box-shadow: 0 0 0 1px var(--na-ink); opacity: .5; transition: opacity .3s, transform .3s; }
.na-dots a.is-past i { opacity: .9; }
.na-dots a.is-now i { opacity: 1; transform: scale(1.5); }
.na-dots a:focus-visible { outline: 2px solid var(--nw-link); outline-offset: -2px; border-radius: 4px; }
.dark .na .na-dots i { background: var(--c); box-shadow: none; }
.dark .na .na-dots a.is-now i { box-shadow: 0 0 10px 2px var(--c); }
.na-strip-now { flex: 1; min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 14px/1.3 Inter, sans-serif; color: var(--na-ink2); }
.na-strip-now b { margin-right: 6px; font: 500 12px var(--na-mono); color: var(--na-gold); }
@media (max-width: 420px) { .na-dots a { width: 15px; } .na-dots::before, .na-dots::after { left: 7px; right: 7px; } .na-strip { gap: 10px; } }

/* ---------- the end ---------- */
.na-end { padding: 0 0 clamp(80px, 10vw, 120px); }
.na-endsky { position: relative; display: grid; place-items: center; height: clamp(320px, 42vw, 460px); margin-top: clamp(72px, 9vw, 120px); overflow: hidden; background: var(--na-plate); }
.dark .na .na-endsky { background: radial-gradient(100% 90% at 50% 0%, #101935, #070b17 70%); }
.na-con--end { position: relative; z-index: 1; width: min(540px, 88%); height: auto; max-height: 76%; --na-cu: 1.1; }
.na-endname { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(14px, 3vw, 28px); margin: 0; padding: 0 16px; text-align: center; font: italic 400 19px/1.3 var(--na-serif); color: var(--na-ink2); }
.na-join { margin: 40px 0 0; text-align: center; }
.na-join a { display: inline-block; padding: 14px 30px; border-radius: 999px; background: var(--na-ink); color: var(--na-bg); font: 600 16px/1 Inter, sans-serif; letter-spacing: .02em; text-decoration: none; }
.na-join a:hover { background: var(--nw-link); color: #fff; }
.na-join a:focus-visible { outline: 2px solid var(--nw-link); outline-offset: 3px; }
.na-more { max-width: 1160px; margin: clamp(56px, 7vw, 88px) auto 0; padding: 0 16px; }
.na-more h2 { margin: 0 0 28px; text-align: center; font: italic 400 clamp(30px, 3.4vw, 40px)/1.1 var(--na-serif); color: var(--na-ink); }
.na-more ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.na-more a {
    display: flex; flex-direction: column; height: 100%; padding: 10px 14px 18px; border: 1px solid var(--na-rule); border-radius: 16px;
    background: var(--na-plate); color: var(--na-ink); text-decoration: none; transition: border-color .2s, transform .2s;
}
.dark .na .na-more a { background: radial-gradient(120% 100% at 50% 0%, #0f1832, #070b17 75%); }
.na-more a:hover, .na-more a:focus-visible { border-color: var(--na-gold); transform: translateY(-2px); }
.na-more a:focus-visible { outline: 2px solid var(--nw-link); outline-offset: 2px; }
.na-more .na-con { width: 100%; height: auto; aspect-ratio: 240 / 150; --na-cu: 1; }
.na-more a span { display: block; margin-top: 6px; text-align: center; font: italic 400 19px/1.25 var(--na-serif); text-wrap: balance; }

/* ---------- phones and narrower screens ---------- */
@media (max-width: 860px) {
    .na-hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; padding: 22px 20px 40px; gap: 4px; }
    .na-head { align-self: start; padding-bottom: 0; }
    .na-kicker { margin: 14px 0 10px; }
    .na-title { font-size: clamp(36px, 9.6vw, 56px); }
    .na-title.is-long { font-size: clamp(32px, 8.2vw, 48px); }
    .na-meta { margin-top: 14px; }
    .na-con--hero { --na-cu: 1.6; max-height: none; }
    .na-cue { bottom: 10px; height: 30px; }
}
@media (max-width: 560px) {
    .na-more ul { grid-template-columns: 1fr 1fr; gap: 10px; }
    .na-more a { padding: 8px 8px 14px; border-radius: 14px; }
    .na-more a span { font-size: 16px; }
    .na-text p, .na-text li { font-size: 17.5px; }
    .na-text h2 { margin-bottom: 18px; }
    .na-text table { font-size: 16.5px; }
    .na-endname { font-size: 17px; }
}
@media print {
    .na-sky, .na-strip, .na-panel, .na-cue, .na-mapfig { display: none !important; }
}

/* ---------- the guides' list (guides/index): their constellations sharing one sky, then the catalog ---------- */
.na-sky-head { padding: clamp(36px, 5vw, 72px) clamp(20px, 4.5vw, 72px) clamp(40px, 6vw, 88px); overflow: hidden; }
.na-sky-words { position: relative; z-index: 1; max-width: 40rem; margin: 0 auto; text-align: center; }
.na-sky-words .na-kicker { margin-top: 0; }
.na-index .na-title { font-size: clamp(56px, 7vw, 112px); }
.na-intro { margin: 18px auto 0; max-width: 34rem; font-size: 18px; line-height: 1.6; color: var(--na-text); }
.na-intro a, .na-entry-about a { color: var(--nw-link); text-decoration: underline; text-underline-offset: 3px; }
.na-sky-words .na-meta { margin-top: 16px; }
/* the chart: rows of up to five, each nudged off the grid */
.na-chart {
    position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 2vw, 28px) clamp(10px, 2.4vw, 36px);
    max-width: 1320px; margin: clamp(28px, 4vw, 52px) auto 0;
}
.na-chart-one { flex: 0 0 clamp(150px, 16vw, 220px); display: block; text-align: center; text-decoration: none; transform: translate(var(--dx), var(--dy)); border-radius: 18px; }
.na-chart-one .na-con { width: 100%; height: auto; aspect-ratio: 240 / 150; --na-cu: 1.25; }
.na-chart-one span { display: block; margin-top: 2px; font: italic 400 clamp(14px, 1.15vw, 17px)/1.25 var(--na-serif); color: var(--na-ink2); text-wrap: balance; transition: color .2s; }
.na-chart-one:hover span { color: var(--na-ink); }
.na-chart-one:hover .na-seg { stroke: var(--na-gold); }
/* the empty sky */
.na-sky-head.is-empty { min-height: min(68vh, 620px); display: grid; align-content: center; }
.na-empty { position: relative; z-index: 1; margin: clamp(36px, 6vw, 72px) auto 0; text-align: center; font: italic 400 clamp(26px, 3vw, 38px)/1.2 var(--na-serif); color: var(--na-ink2); }
/* the catalog */
.na-catalog { max-width: 1160px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px) clamp(48px, 6vw, 88px); }
.na-catalog-h { margin: 0 0 clamp(20px, 3vw, 32px); text-align: center; font: italic 400 clamp(30px, 3.4vw, 40px)/1.1 var(--na-serif); color: var(--na-ink); }
.na-catalog ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.na-entry {
    display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 18px; align-items: center;
    padding: 16px 20px 16px 12px; border: 1px solid var(--na-rule); border-radius: 18px; background: var(--na-card);
    transition: border-color .2s, transform .2s;
}
.dark .na .na-entry { background: radial-gradient(120% 140% at 0% 0%, #111a35, #090e1c 70%); }
.na-entry:hover, .na-entry:focus-within { border-color: var(--na-gold); }
.na-entry:hover .na-seg { stroke: var(--na-gold); }
.na-entry-sky { display: block; border-radius: 12px; }
.na-entry-sky .na-con { width: 100%; height: auto; aspect-ratio: 240 / 150; --na-cu: 1.1; }
.na-entry-words { min-width: 0; }
.na-entry-meta { margin: 0 0 6px; font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--na-gold); }
.na-entry h3 { margin: 0; font: italic 400 clamp(22px, 2vw, 27px)/1.15 var(--na-serif); text-wrap: balance; }
.na-entry h3 a { color: var(--na-ink); text-decoration: none; }
.na-entry h3 a:hover { text-decoration: underline; text-decoration-color: var(--na-gold); text-underline-offset: 4px; }
.na-entry h3 a:focus-visible { outline: 2px solid var(--nw-link); outline-offset: 3px; border-radius: 4px; }
/* (the whole card takes the click; the name is the link) */
.na-entry { position: relative; }
.na-entry h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.na-entry-about { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--na-text); }
.na-entry .na-draft { position: relative; z-index: 1; margin-top: 10px; font-size: 13px; padding: 5px 10px; }
/* arriving: the chart's lines draw and its stars come out, one constellation after another */
@media (prefers-reduced-motion: no-preference) {
    .na-live .na-chart .na-seg { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: na-draw .3s cubic-bezier(.45, 0, .55, 1) forwards; animation-delay: calc(.3s + var(--k) * .09s + var(--i) * .05s); }
    .na-live .na-chart .na-star { opacity: 0; animation: na-appear .5s ease-out forwards; animation-delay: calc(.2s + var(--k) * .09s + var(--i) * .05s); }
}
@media (max-width: 1023.98px) {
    .na-catalog ol { grid-template-columns: minmax(0, 1fr); }
}
/* phones: the catalog carries every constellation; the shared sky keeps the heading */
@media (max-width: 639.98px) {
    .na-chart { display: none; }
    .na-sky-head:not(.is-empty) { padding-bottom: 36px; }
    .na-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 16px 18px; }
    .na-entry-sky { max-width: 260px; }
}

/* "Near you" (App\Guides\NearYou): after the guide's last part, a few of its kind where the reader is */
.na-near { margin: clamp(40px, 5vw, 64px) 0 0; padding: 22px 24px 20px; border: 1px solid var(--na-rule); border-radius: 18px; background: var(--na-card); }
.dark .na .na-near { background: radial-gradient(120% 140% at 0% 0%, #111a35, #090e1c 70%); }
.na-near-kicker { margin: 0 0 6px; font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--na-gold); }
.na-near h2 { margin: 0; font: italic 400 clamp(24px, 2.4vw, 30px)/1.15 var(--na-serif); color: var(--na-ink); text-wrap: balance; }
.na-near .gl-places { margin: 16px 0 0; }
.na-near-all { display: inline-block; margin-top: 12px; font: 600 15px/1.3 Inter, sans-serif; color: var(--nw-link); text-decoration: underline; text-underline-offset: 3px; }
