/* ============================================================================
   Halo — a NIGHT-MODE, GLASS-FORWARD technology & digital-culture magazine. Deep-space
   canvas, glowing violet/cyan/magenta aurora blobs, heavy frosted-glass chrome (nav, hero,
   cards, panels, TOC, footer — glass genuinely everywhere) so the blur reads against a rich,
   saturated backdrop. Space Grotesk display + Inter body. Executed to stay CRAFTED, not
   AI-generic: one deliberate colour story, one consistent glass language, and — crucially —
   the reading surface stays a darker, higher-opacity glass so white body text keeps real
   contrast even over the busiest blob backdrop. Article wrapper = .hl-rt.
   ========================================================================== */
:root {
  --hl-bg: #05060f;              /* near-black deep space */
  --hl-bg-2: #0a0c1c;
  --hl-ink: #f3f4fc;
  --hl-ink-2: #b9bcdd;
  --hl-ink-3: #82869f;
  --hl-accent: #8b5cf6;          /* electric violet */
  --hl-accent-2: #22d3ee;        /* signal cyan */
  --hl-accent-3: #f472b6;        /* magenta glow */
  --hl-glass: rgba(255,255,255,.065);       /* chrome glass — very transparent, blur does the work */
  --hl-glass-2: rgba(255,255,255,.1);
  --hl-glass-solid: rgba(11,13,26,.62);     /* reading panels — dark, still readable */
  --hl-border: rgba(255,255,255,.14);
  --hl-line: rgba(255,255,255,.1);
  --hl-shadow: rgba(0,0,0,.6);
  --hl-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hl-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hl-maxw: 1180px;
  --hl-gut: 26px;
  --hl-r: 26px;
  --hl-r-lg: 34px;
  --hl-blur: blur(34px) saturate(1.7);      /* heavy — the defining trait of this base */
  --hl-blur-lg: blur(46px) saturate(1.8);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--hl-ink); background: var(--hl-bg);
  font-family: var(--hl-body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(120% 70% at 50% -10%, #14112c 0%, var(--hl-bg) 62%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--hl-accent-2); } /* Space Grotesk has no real italic — accent colour carries the emphasis instead */
.hl-wrap { max-width: var(--hl-maxw); margin: 0 auto; padding: 0 var(--hl-gut); position: relative; z-index: 1; }

/* floating aurora blobs — bigger, more saturated, more of them, so heavy blur genuinely tints
   every glass surface that passes over it (the whole point of a glass-forward base). */
.hl-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hl-blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; will-change: transform; }
.hl-blob.b1 { width: 620px; height: 620px; background: #7c3aed; top: -140px; left: -120px; }
.hl-blob.b2 { width: 700px; height: 700px; background: #06b6d4; top: 60px; right: -180px; opacity: .4; }
.hl-blob.b3 { width: 560px; height: 560px; background: #ec4899; top: 760px; left: -100px; opacity: .38; }
.hl-blob.b4 { width: 640px; height: 640px; background: #3b82f6; top: 1260px; right: -160px; opacity: .42; }
.hl-blob.b5 { width: 520px; height: 520px; background: #a855f7; top: 1900px; left: 24%; opacity: .36; }

/* placeholder — deep gradient tint (real images come later) */
.hl-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #2c1a5c, #0e2a4a); position: relative; }
.hl-ph.c1 { background: linear-gradient(135deg, #3b1a6b, #7c2a8a); }
.hl-ph.c2 { background: linear-gradient(135deg, #142a6b, #1b6b8a); }
.hl-ph.c3 { background: linear-gradient(135deg, #0e3a4a, #147a6e); }
.hl-ph.c4 { background: linear-gradient(135deg, #5a1a4a, #8a2a5a); }
.hl-ph.c5 { background: linear-gradient(135deg, #241a6b, #4a1a8a); }
.hl-ph.c6 { background: linear-gradient(135deg, #0a2a5a, #2a4a8a); }
.hl-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 30% 25%, rgba(255,255,255,.14), transparent 60%); }

/* glass utility — the heavy blur + very-low-opacity fill is what makes this base read as
   "more glassy" than a chrome-only glass theme: cards, hero, nav, TOC, footer all use it. */
.hl-glass { background: var(--hl-glass); backdrop-filter: var(--hl-blur); -webkit-backdrop-filter: var(--hl-blur); border: 1px solid var(--hl-border); box-shadow: 0 24px 60px -28px var(--hl-shadow), inset 0 1px 0 rgba(255,255,255,.06); border-radius: var(--hl-r); }
.hl-glass-lg { backdrop-filter: var(--hl-blur-lg); -webkit-backdrop-filter: var(--hl-blur-lg); }

/* ---------- pills, buttons ---------- */
.hl-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--hl-body); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; background: var(--hl-glass-2); backdrop-filter: blur(10px); border: 1px solid var(--hl-border); color: var(--hl-ink); }
.hl-chip.accent { background: rgba(139,92,246,.18); color: #c9b3ff; border-color: rgba(139,92,246,.34); }
.hl-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--hl-body); font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(135deg, var(--hl-accent), #6d28d9); color: #fff; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(139,92,246,.65); transition: transform .18s ease, box-shadow .18s ease; }
.hl-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(139,92,246,.75); }
.hl-btn.glass { background: var(--hl-glass-2); backdrop-filter: var(--hl-blur); -webkit-backdrop-filter: var(--hl-blur); border: 1px solid var(--hl-border); color: var(--hl-ink); box-shadow: 0 12px 26px -14px var(--hl-shadow); }
.hl-btn.glass:hover { background: rgba(255,255,255,.16); }
.hl-btn .ar { transition: transform .2s ease; }
.hl-btn:hover .ar { transform: translateX(3px); }

/* ---------- nav ---------- */
.hl-nav-outer { position: sticky; top: 14px; z-index: 50; padding: 0 var(--hl-gut); margin-top: 16px; }
.hl-nav { max-width: var(--hl-maxw); margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 10px 12px 10px 22px; border-radius: 999px; background: var(--hl-glass); backdrop-filter: var(--hl-blur); -webkit-backdrop-filter: var(--hl-blur); border: 1px solid var(--hl-border); box-shadow: 0 16px 44px -22px var(--hl-shadow), inset 0 1px 0 rgba(255,255,255,.07); transition: box-shadow .2s, background .2s; }
.hl-nav.is-stuck { background: var(--hl-glass-2); box-shadow: 0 20px 50px -20px var(--hl-shadow); }
.hl-brand { display: flex; align-items: center; gap: 10px; font-family: var(--hl-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--hl-ink); }
.hl-brand .hl-logo { width: 28px; height: 28px; }
.hl-nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.hl-nav-links a { font-weight: 600; font-size: 14.5px; padding: 9px 15px; border-radius: 999px; color: var(--hl-ink-2); transition: color .14s, background .14s; }
.hl-nav-links a:hover { color: var(--hl-ink); background: rgba(255,255,255,.08); }
.hl-nav-links a.is-active { color: #c9b3ff; background: rgba(139,92,246,.16); }
.hl-nav-cta { margin-left: 6px; }
.hl-nav .hl-btn { padding: 10px 20px; font-size: 14px; }

/* ---------- shared bits ---------- */
.hl-kicker { display: inline-block; font-family: var(--hl-body); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hl-accent-2); }
.hl-meta { font-weight: 500; font-size: 13px; color: var(--hl-ink-3); }
.hl-more { font-weight: 700; font-size: 14px; color: var(--hl-accent-2); display: inline-flex; align-items: center; gap: 8px; }
.hl-more .ar { transition: transform .2s ease; }
.hl-more:hover .ar { transform: translateX(4px); }

/* ---------- section frame ---------- */
.hl-sec { padding: 58px 0; position: relative; }
.hl-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.hl-sec-head h2 { font-family: var(--hl-display); font-size: clamp(28px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.02em; margin: 0; line-height: 1.04; }
.hl-sec-head .hl-sub { color: var(--hl-ink-3); font-weight: 500; margin: 8px 0 0; }

/* ---------- hero — sits inside its OWN large glass panel over the aurora backdrop ---------- */
.hl-hero { padding: 40px 0; position: relative; }
.hl-hero-panel { padding: 64px 40px 46px; text-align: center; }
.hl-hero-inner { max-width: 820px; margin: 0 auto; }
.hl-hero .hl-chip { margin-bottom: 22px; }
.hl-hero h1 { font-family: var(--hl-display); font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 500; margin: 0; }
.hl-hero .hl-lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--hl-ink-2); margin: 22px auto 0; max-width: 48ch; line-height: 1.55; }
.hl-hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hl-hero-card { max-width: 980px; margin: 34px auto 0; padding: 14px; background: var(--hl-glass-2); }
.hl-hero-card-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4px; border-radius: 18px; overflow: hidden; }
.hl-hero-card-fig { aspect-ratio: 16/11; overflow: hidden; border-radius: 16px; position: relative; }
.hl-hero-card-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,15,.5), transparent 50%); }
.hl-hero-card-fig .hl-ph, .hl-hero-card-fig img { width: 100%; height: 100%; object-fit: cover; }
.hl-hero-card-body { padding: 26px 26px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.hl-hero-card-body .hl-chip { align-self: flex-start; margin-bottom: 14px; }
.hl-hero-card-body h3 { font-family: var(--hl-display); font-size: clamp(21px, 2.4vw, 28px); font-weight: 500; line-height: 1.14; letter-spacing: -0.015em; margin: 0 0 12px; }
.hl-hero-card-body p { color: var(--hl-ink-2); font-size: 14.5px; margin: 0 0 16px; }
.hl-hero-card-body .hl-meta { margin-top: auto; }
@media (max-width: 760px) { .hl-hero-card-in { grid-template-columns: 1fr; } .hl-hero-card-fig { aspect-ratio: 16/9; } .hl-hero-card-body { text-align: center; } .hl-hero-card-body .hl-chip { align-self: center; } .hl-hero-panel { padding: 44px 22px 34px; } }

/* ---------- featured grid ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hl-card { display: flex; flex-direction: column; overflow: hidden; padding: 12px; position: relative; background: var(--hl-glass); transition: transform .22s ease, box-shadow .22s ease, background .22s; }
.hl-card:hover { transform: translateY(-5px); background: var(--hl-glass-2); box-shadow: 0 30px 60px -26px var(--hl-shadow); }
.hl-card-fig { position: relative; aspect-ratio: 16/11; overflow: hidden; border-radius: 16px; }
.hl-card-fig .hl-ph, .hl-card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hl-card:hover .hl-card-fig .hl-ph, .hl-card:hover .hl-card-fig img { transform: scale(1.05); }
.hl-card-fig .hl-chip { position: absolute; top: 12px; left: 12px; }
.hl-card-body { padding: 16px 12px 10px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.hl-card h3 { font-family: var(--hl-display); font-size: 19px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; margin: 0; color: var(--hl-ink); }
.hl-card:hover h3 { color: var(--hl-accent-2); }
.hl-card .hl-meta { margin-top: auto; }
@media (max-width: 900px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hl-grid { grid-template-columns: 1fr; } }

/* ---------- collections (glass chips) ---------- */
.hl-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hl-coll { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--hl-glass); transition: transform .2s ease, box-shadow .2s ease, background .2s; }
.hl-coll:hover { transform: translateY(-3px); background: var(--hl-glass-2); box-shadow: 0 24px 50px -26px var(--hl-shadow); }
.hl-coll-ic { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.hl-coll h4 { font-family: var(--hl-display); font-size: 18px; font-weight: 500; margin: 0; color: var(--hl-ink); }
.hl-coll span { font-size: 13px; color: var(--hl-ink-3); font-weight: 500; }
@media (max-width: 820px) { .hl-collections { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hl-collections { grid-template-columns: 1fr; } }

/* ---------- map ---------- */
.hl-mapwrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.hl-mapwrap .hl-intro h2 { font-family: var(--hl-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; letter-spacing: -0.02em; margin: 14px 0 0; line-height: 1.08; }
.hl-mapwrap .hl-intro p { color: var(--hl-ink-2); margin: 16px 0 0; max-width: 34ch; }
@media (max-width: 860px) { .hl-mapwrap { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- CTA ---------- */
.hl-cta-box { padding: 54px 40px; text-align: center; position: relative; overflow: hidden; background: var(--hl-glass-2); }
.hl-cta-box h2 { font-family: var(--hl-display); font-size: clamp(28px, 3.8vw, 46px); font-weight: 500; letter-spacing: -0.02em; margin: 0; line-height: 1.06; }
.hl-cta-box p { color: var(--hl-ink-2); margin: 14px auto 0; max-width: 42ch; font-weight: 500; }
.hl-cta-form { margin: 26px auto 0; display: flex; gap: 12px; max-width: 460px; flex-wrap: wrap; justify-content: center; }
.hl-cta-form input { flex: 1; min-width: 200px; font-family: var(--hl-body); font-size: 15px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--hl-border); background: rgba(255,255,255,.06); color: var(--hl-ink); outline: none; }
.hl-cta-form input::placeholder { color: var(--hl-ink-3); }
.hl-cta-form input:focus { border-color: var(--hl-accent); }

/* ---------- footer ---------- */
.hl-foot { margin-top: 40px; padding: 20px var(--hl-gut) 40px; position: relative; z-index: 1; }
.hl-foot-in { max-width: var(--hl-maxw); margin: 0 auto; padding: 44px; background: var(--hl-glass); }
.hl-foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.hl-foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--hl-display); font-weight: 500; font-size: 24px; color: var(--hl-ink); }
.hl-foot-brand + p { color: var(--hl-ink-3); font-size: 14px; margin: 14px 0 0; max-width: 30ch; font-weight: 500; }
.hl-foot h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hl-ink-3); margin: 0 0 14px; }
.hl-foot a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--hl-ink-2); font-weight: 500; transition: color .14s; }
.hl-foot a:hover { color: var(--hl-accent-2); }
.hl-foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--hl-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--hl-ink-3); font-weight: 500; }
@media (max-width: 820px) { .hl-foot-top { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ============================================================
   Single post — universal post layout: TOC (mandatory) + readable glass reading sheet
   ============================================================ */
.hl-article { padding-top: 34px; }
.hl-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 13px; color: var(--hl-ink-3); }
.hl-crumb a:hover { color: var(--hl-accent-2); }
.hl-art-head { max-width: 820px; margin: 20px auto 0; text-align: center; }
.hl-art-head h1 { font-family: var(--hl-display); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 500; margin: 16px 0 0; color: var(--hl-ink); }
.hl-art-head .hl-standfirst { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--hl-ink-2); margin: 20px auto 0; max-width: 56ch; }
.hl-art-meta { margin: 22px 0 0; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hl-art-meta .who { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.hl-art-meta .hl-ava { width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg, var(--hl-accent), var(--hl-accent-3)); }
.hl-art-meta .sep { color: var(--hl-ink-3); }
.hl-art-fig { margin: 30px 0 0; padding: 12px; background: var(--hl-glass-2); }
.hl-art-fig .hl-ph, .hl-art-fig img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 16px; }

.hl-art-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px; margin: 44px 0 0; align-items: start; }

/* Table of contents — REQUIRED (heavy glass card) */
.hl-toc { position: sticky; top: 96px; align-self: start; padding: 20px 20px; }
.hl-toc-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hl-ink-3); margin-bottom: 12px; }
.hl-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.hl-toc li { counter-increment: toc; }
.hl-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 8px 10px; margin: 2px 0; border-radius: 10px; font-weight: 600; font-size: 13.5px; line-height: 1.3; color: var(--hl-ink-2); transition: color .14s, background .14s; }
.hl-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; color: var(--hl-ink-3); font-weight: 700; }
.hl-toc a:hover { color: var(--hl-ink); background: rgba(255,255,255,.08); }
.hl-toc a.is-active { color: #c9b3ff; background: rgba(139,92,246,.18); }

/* article richtext (.hl-rt) — sits on a readable, dark-glass sheet for real contrast */
.hl-rt { background: var(--hl-glass-solid); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); border: 1px solid var(--hl-border); border-radius: var(--hl-r); box-shadow: 0 24px 56px -30px var(--hl-shadow); padding: 34px 40px; font-size: 18px; line-height: 1.78; color: var(--hl-ink); }
.hl-rt > *:first-child { margin-top: 0; }
.hl-rt p { margin: 0 0 1.25em; color: var(--hl-ink-2); }
.hl-rt > p:first-of-type { font-size: 19px; color: var(--hl-ink); }
.hl-rt h2 { font-family: var(--hl-display); font-size: 25px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; margin: 1.6em 0 .5em; color: var(--hl-ink); }
.hl-rt h3 { font-family: var(--hl-display); font-size: 19px; font-weight: 500; margin: 1.5em 0 .4em; color: var(--hl-ink); }
.hl-rt a { color: var(--hl-accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.hl-rt ul, .hl-rt ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.hl-rt ul li, .hl-rt ol li { margin: .5em 0; padding-left: 1.8em; position: relative; color: var(--hl-ink-2); }
.hl-rt ul li::before { content: ""; position: absolute; left: 0; top: .58em; width: 11px; height: 11px; border-radius: 4px; background: linear-gradient(135deg, var(--hl-accent), var(--hl-accent-2)); }
.hl-rt ol { counter-reset: li; }
.hl-rt ol li { counter-increment: li; }
.hl-rt ol li::before { content: counter(li); position: absolute; left: 0; top: .02em; width: 1.4em; height: 1.4em; display: grid; place-items: center; font-family: var(--hl-body); font-weight: 700; font-size: .7em; color: #05060f; background: var(--hl-accent-2); border-radius: 8px; }
.hl-rt blockquote { margin: 1.7em 0; padding: 22px 26px; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.24); border-radius: 16px; font-family: var(--hl-display); font-size: 20px; line-height: 1.36; font-weight: 500; color: var(--hl-ink); }
.hl-rt blockquote p { margin: 0; }
.hl-rt img { margin: 1.7em 0; border-radius: 14px; }
.hl-rt figure { margin: 1.7em 0; }
.hl-rt figcaption { font-weight: 600; font-size: 13.5px; color: var(--hl-ink-3); margin-top: 10px; text-align: center; }
.hl-rt code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; background: rgba(255,255,255,.08); padding: 2px 7px; border-radius: 6px; color: var(--hl-accent-2); }
.hl-rt hr { border: 0; height: 1px; background: var(--hl-line); margin: 2.2em 0; }

.hl-endmark { max-width: 820px; margin: 34px auto 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hl-share { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hl-share .lbl { font-weight: 700; font-size: 13px; color: var(--hl-ink-3); }
.hl-share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: var(--hl-glass-2); backdrop-filter: blur(10px); border: 1px solid var(--hl-border); font-weight: 700; font-size: 13px; transition: transform .16s ease, color .16s; }
.hl-share a:hover { transform: translateY(-3px); color: var(--hl-accent-2); }

.hl-art-body.no-toc { grid-template-columns: minmax(0, 780px); justify-content: center; }
@media (max-width: 880px) { .hl-art-body { grid-template-columns: 1fr; gap: 22px; } .hl-toc { position: static; } .hl-rt { padding: 26px 22px; } }

.hl-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .hl-related { grid-template-columns: 1fr; } }

/* ---------- archive / blog — a "signal list": stacked full-width glass rows, NOT a card
   grid. Deliberately distinct from the front-page featured grid + from Lumen/Verre. ---------- */
.hl-arch-head { padding: 46px 0 0; text-align: center; }
.hl-arch-head .hl-chip { margin-bottom: 16px; }
.hl-arch-head h1 { font-family: var(--hl-display); font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -0.025em; line-height: 1.04; font-weight: 500; margin: 0; color: var(--hl-ink); }
.hl-arch-head p { color: var(--hl-ink-2); max-width: 50ch; margin: 18px auto 0; font-size: 18px; }
.hl-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 30px 0 4px; }
.hl-filter a { font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: 999px; background: var(--hl-glass); backdrop-filter: blur(10px); border: 1px solid var(--hl-border); color: var(--hl-ink-2); transition: color .14s, transform .14s, background .14s; }
.hl-filter a:hover { transform: translateY(-2px); color: var(--hl-ink); }
.hl-filter a.on { background: linear-gradient(135deg, var(--hl-accent), #6d28d9); color: #fff; border-color: transparent; }

.hl-row-list { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.hl-row { display: grid; grid-template-columns: 180px minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 14px; background: var(--hl-glass); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.hl-row:hover { transform: translateX(6px); background: var(--hl-glass-2); box-shadow: 0 24px 50px -28px var(--hl-shadow); }
.hl-row-fig { aspect-ratio: 16/11; border-radius: 16px; overflow: hidden; position: relative; }
.hl-row-fig .hl-ph, .hl-row-fig img { width: 100%; height: 100%; object-fit: cover; }
.hl-row-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hl-row-body .hl-chip { align-self: flex-start; }
.hl-row h3 { font-family: var(--hl-display); font-size: clamp(18px,2vw,22px); font-weight: 500; line-height: 1.24; margin: 0; color: var(--hl-ink); }
.hl-row:hover h3 { color: var(--hl-accent-2); }
.hl-row-cta { display: none; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--hl-glass-2); border: 1px solid var(--hl-border); flex: none; }
@media (min-width: 620px) { .hl-row-cta { display: grid; } }
@media (max-width: 620px) { .hl-row { grid-template-columns: 96px minmax(0,1fr); } .hl-row-fig { aspect-ratio: 1/1; } }

.hl-pagination { display: flex; gap: 8px; justify-content: center; margin: 46px 0 0; flex-wrap: wrap; }
.hl-pagination .page-numbers { min-width: 44px; text-align: center; padding: 11px 15px; border-radius: 999px; background: var(--hl-glass); backdrop-filter: blur(10px); border: 1px solid var(--hl-border); font-weight: 700; font-size: 14px; color: var(--hl-ink-2); }
.hl-pagination .page-numbers.current { background: linear-gradient(135deg, var(--hl-accent), #6d28d9); color: #fff; }
.hl-pagination a.page-numbers:hover { color: var(--hl-ink); }
.hl-empty { padding: 60px 0; text-align: center; color: var(--hl-ink-3); font-weight: 600; }

/* ---------- pages ---------- */
.hl-page { padding: 44px 0 20px; }
.hl-page-lead { max-width: 780px; margin: 0 auto; text-align: center; }
.hl-page-lead .hl-chip { margin-bottom: 14px; }
.hl-page-lead h1 { font-family: var(--hl-display); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 500; margin: 0; color: var(--hl-ink); }
.hl-page-body { max-width: 780px; margin: 30px auto 0; padding: 34px 40px; font-size: 18px; line-height: 1.78; background: var(--hl-glass-solid); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); border: 1px solid var(--hl-border); border-radius: var(--hl-r); }
.hl-page-body .blj-lead, .hl-page-body > p:first-child { font-size: 19px; color: var(--hl-ink); }
.hl-page-body p { color: var(--hl-ink-2); margin: 0 0 1.1em; }
.hl-page-body h2 { font-family: var(--hl-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; margin: 1.6em 0 .5em; color: var(--hl-ink); }
.hl-page-body h3 { font-family: var(--hl-display); font-size: 18px; font-weight: 500; margin: 1.4em 0 .4em; color: var(--hl-ink); }
.hl-page-body ul { padding-left: 0; list-style: none; }
.hl-page-body li { margin: .5em 0; padding-left: 1.7em; position: relative; color: var(--hl-ink-2); }
.hl-page-body ul li::before { content: ""; position: absolute; left: 0; top: .58em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--hl-accent), var(--hl-accent-2)); }
.hl-page-body a { color: var(--hl-accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hl-page-body strong { font-weight: 700; color: var(--hl-ink); }
.blj-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 6px 0 1.4em; }
.blj-chips span { font-weight: 600; font-size: 12.5px; padding: 8px 15px; border-radius: 999px; background: var(--hl-glass-2); border: 1px solid var(--hl-border); color: var(--hl-ink-2); }
.blj-info-card { margin: 1.6em 0; padding: 24px; border-radius: 16px; background: rgba(139,92,246,.09); border: 1px solid rgba(139,92,246,.22); }
.blj-info-card h3 { margin: 0 0 6px; color: var(--hl-ink); }
.blj-info-card a { font-weight: 700; font-size: 17px; color: var(--hl-accent-2); }
.blj-note { color: var(--hl-ink-3); }

/* ---------- The Map (heavy glass) ---------- */
.blj-map { padding: 24px; background: var(--hl-glass-solid); backdrop-filter: var(--hl-blur); -webkit-backdrop-filter: var(--hl-blur); border: 1px solid var(--hl-border); border-radius: var(--hl-r-lg); box-shadow: 0 24px 56px -28px var(--hl-shadow); }
.blj-map-title { font-family: var(--hl-display); font-size: 17px; font-weight: 500; margin: 0 0 14px; color: var(--hl-ink); }
.blj-map-search { position: relative; margin: 0 0 14px; }
.blj-map-search input { width: 100%; padding: 12px 42px 12px 16px; border: 1px solid var(--hl-border); background: rgba(255,255,255,.06); font-family: var(--hl-body); font-size: 14px; color: var(--hl-ink); outline: none; border-radius: 999px; }
.blj-map-search input::placeholder { color: var(--hl-ink-3); }
.blj-map-search input:focus { border-color: var(--hl-accent); }
.blj-map-search svg { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--hl-ink-3); }
.blj-map-list { display: flex; flex-direction: column; gap: 8px; max-height: 440px; overflow: auto; }
.blj-map-dir { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: linear-gradient(135deg, var(--hl-accent), #6d28d9); color: #fff; border-radius: 14px; font-weight: 700; font-size: 14px; }
.blj-map-entry { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .16s ease, background .16s; }
.blj-map-entry:hover { transform: translateX(3px); background: rgba(255,255,255,.1); }
.blj-map-anchor { font-family: var(--hl-display); font-weight: 500; font-size: 15px; color: var(--hl-ink); }
.blj-map-anchor:hover { color: var(--hl-accent-2); }
.blj-map-host { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12.5px; color: var(--hl-accent-2); }
.blj-map-src { font-size: 12.5px; color: var(--hl-ink-3); font-weight: 500; }
.blj-map-src:hover { color: var(--hl-ink); }
.blj-map-empty { color: var(--hl-ink-3); padding: 16px 4px; font-weight: 600; }

/* ============================================================
   Motion — soft reveal, blob parallax, glass hover. Gated on reduced-motion + ?noanim.
   ============================================================ */
.js-reveal .hl-reveal, .js-reveal .hl-sec-head, .js-reveal .hl-card, .js-reveal .hl-coll,
.js-reveal .hl-mapwrap > *, .js-reveal .hl-cta-box, .js-reveal .hl-hero-card,
.js-reveal .hl-arch-head, .js-reveal .hl-filter, .js-reveal .hl-art-head, .js-reveal .hl-art-fig,
.js-reveal .hl-row {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js-reveal .is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .hl-reveal, .js-reveal .hl-sec-head, .js-reveal .hl-card, .js-reveal .hl-coll,
  .js-reveal .hl-mapwrap > *, .js-reveal .hl-cta-box, .js-reveal .hl-hero-card,
  .js-reveal .hl-arch-head, .js-reveal .hl-filter, .js-reveal .hl-art-head, .js-reveal .hl-art-fig,
  .js-reveal .hl-row { opacity: 1; transform: none; transition: none; }
  .hl-card:hover, .hl-coll:hover, .hl-row:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  :root { --hl-gut: 16px; }
  .hl-nav-links { display: none; }
  .hl-sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
