/* Shared by the blog pages (index, post, submit): the Vivid page hero,
   breadcrumb and the per-post colour tones. Page rules live in index.css,
   post.css and submit.css. Tokens and components: /css/style.css. */

/* ── Page hero: a tone block under the fixed nav, with static shapes ── */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(48px, 7vw, 96px);
  --focus: var(--sun);
}
.page-hero.t-coral, .page-hero.t-sun, .page-hero.t-emerald { --focus: var(--ink); }
.page-hero-inner { position: relative; }
.page-hero-copy { max-width: 56rem; }
.page-hero-desc { margin-top: 22px; max-width: 48ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; }

.hero-art { position: absolute; z-index: -1; right: calc(var(--gutter) * -1); top: 50%; width: clamp(220px, 28vw, 380px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.hero-art span { position: absolute; display: block; border: var(--line); }
.ha-circle { width: 52%; height: 52%; left: 4%; top: 6%; border-radius: 50%; background: var(--sun); }
.ha-quarter { width: 50%; height: 50%; right: 4%; bottom: 4%; border-radius: 100% 0 0 0; background: var(--coral); }
.ha-pill { width: 22%; height: 64%; left: 58%; top: 2%; border-radius: var(--pill); background: var(--emerald); transform: rotate(28deg); }
.t-sun .ha-circle { background: var(--blue); }
.t-coral .ha-quarter { background: var(--violet); }
.t-emerald .ha-pill { background: var(--sun); }

/* ── Breadcrumb ── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 26px; font-size: .88rem; font-weight: 500; }
.crumbs a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.crumbs a:hover { text-decoration-thickness: 2px; }
.crumbs-sep { opacity: .8; }
.crumbs-here { min-width: 0; overflow-wrap: anywhere; }

/* Chips on a tone inherit its paired text colour. */
.page-hero .chips { margin-bottom: 18px; }
.page-hero .chip { font-size: .8rem; padding: 4px 12px; }

@media (max-width: 860px) {
  .hero-art { width: 150px; top: auto; bottom: -36px; right: -30px; transform: none; opacity: .9; }
}
@media (max-width: 620px) {
  .hero-art { width: 110px; bottom: -40px; right: -34px; }
}
