/* Meet Lantern (blog post 19) only. Linked from that post's `stylesheet:` frontmatter, so no other
   post picks these up. Lantern pieces use the Lantern brand gold #E6BA46 and the launch-graphic
   navy glow; body text stays the blog's own (tools/blog/page.html). */

/* hero: replaces the usual label, title and byline for this post */
.post-hero {
  position: relative; z-index: 1; padding: 144px 16px 56px;
  background: radial-gradient(ellipse at 50% 30%, #262046 0%, #0b0916 70%);
  display: flex; justify-content: center; overflow: hidden;
}
.post-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }

/* sparkles falling down the header (owner, October 30, 2026): the landing page's sparkle rain (.follow-sparkles,
   followSparkleFall), started by build-blog.py's HERO_SPARKLES_JS when the post sets `heroSparkles: true` */
.hero-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-sparkles span {
  position: absolute; top: -24px; color: var(--gold2); opacity: 0; line-height: 1;
  text-shadow: 0 0 6px rgba(240, 200, 102, 0.9), 0 0 14px rgba(212, 168, 67, 0.45);
  will-change: transform, opacity; animation-name: heroSparkleFall; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes heroSparkleFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.5); opacity: 0; }
  12% { opacity: 0.95; }
  38% { opacity: 0.25; }
  62% { opacity: 0.9; }
  85% { opacity: 0.3; }
  100% { transform: translate3d(var(--drift, 0px), var(--fall, 320px), 0) rotate(200deg) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-sparkles { display: none; } .post-hero-logo { animation: none; } }
.post-hero-pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #5c4e30; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #e6ba46;
}
/* the header picture is the blog cover, in place of the Lantern lockup (owner, Oct 30: "the cover image should replace this section") */
.post-hero-logo { display: block; width: 100%; max-width: 760px; height: auto; aspect-ratio: 1200 / 630; border-radius: 16px; border: 1px solid #b8923a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(230, 186, 70, 0.35), 0 0 22px rgba(230, 186, 70, 0.30);
  animation: heroCoverGlow 3.2s ease-in-out infinite; }
/* gold outline that glows and pulses (owner, Oct 30: "have this image outline glow and pulsate") */
@keyframes heroCoverGlow {
  0%, 100% { border-color: #8a6d2c; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(230, 186, 70, 0.20), 0 0 12px rgba(230, 186, 70, 0.18); }
  50% { border-color: #e6ba46; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(230, 186, 70, 0.65), 0 0 38px rgba(230, 186, 70, 0.55); }
}
/* the title block in the Lantern gold (owner, October 30, 2026: "the title block text should be yellow"): the
   title in the logo's gold gradient, the deck a softer gold so the long line stays easy to read */
.post-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: clamp(36px, 7vw, 56px); line-height: 1.08; text-wrap: balance;
  color: #e6ba46; background: linear-gradient(180deg, #f6d987 0%, #e6ba46 55%, #c99a33 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.post-hero-deck { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.5; color: #ecd28f; max-width: 680px; }
.post-hero .post-meta { justify-content: center; margin-bottom: 0; }
.blog-main.has-hero { padding-top: 48px; }

/* body pieces */
.post-body .lantern-word { color: #e6ba46; font-weight: 600; }
/* section titles in the Lantern gold, like the card titles (owner, October 30, 2026: "the title text for each section
   shold be yellow not white") */
.post-body h2 { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 36px; line-height: 1.15; color: #e6ba46; margin: 46px 0 14px; }

/* three point cards, and the numbers row on the same grid; three across at every width */
.ml-cards, .ml-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 26px; }
.ml-card { padding: 20px; border-radius: 14px; background: #14102a; border: 1px solid #2a2340; display: flex; flex-direction: column; gap: 6px; }
.ml-card-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 26px; line-height: 1.1; color: #e6ba46; }
.ml-card-line { font-size: 15px; line-height: 1.45; color: var(--gray2); }
.ml-num { padding: 22px 20px; border-radius: 12px; background: #15112a; border: 1px solid #15112a; display: flex; flex-direction: column; gap: 6px; }
.ml-num.is-lantern { background: #1b1526; border-color: #5c4e30; }
.ml-num-big { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 42px; line-height: 1; color: var(--white); }
.ml-num.is-lantern .ml-num-big { color: #e6ba46; }
.ml-num-of { font-size: 22px; color: #9aa8c7; }
.ml-num.is-lantern .ml-num-of { color: var(--gray2); }
.ml-num-label { font-size: 14px; line-height: 1.45; color: var(--gray2); }

/* before and after: two squares, a label over each */
.ml-compare { margin: 8px 0 26px; }
.ml-compare-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ml-compare-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ml-compare-label { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa8c7; }
.ml-compare-label.is-lantern { color: #e6ba46; }
.ml-compare-label img { width: 24px; height: 24px; flex: none; }
.ml-dot { width: 10px; height: 10px; border-radius: 999px; background: #6f84b3; flex: none; }
.ml-compare-side > img { display: block; width: 100%; height: auto; border-radius: 12px; background: #15112a; }
.ml-slot {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; border: 2px dashed #5c4e30; background: #120e22;
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--gray2);
}
.ml-compare figcaption { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--gray); }

/* list with the Lantern mark for bullets */
.ml-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0 0 24px; }
.ml-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.6; color: var(--gray2); }
.ml-list img { width: 26px; height: 26px; flex: none; margin-top: 1px; }

/* the shared CTA card, with the Lantern mark on the left */
.post-cta-icon { width: 56px; height: 56px; flex: none; }
/* the solo-developer line under the card's text (RULE_SOLO_DEVELOPER, Oct 30); same muted style as the line above it */
.post-cta-note { display: block; margin-top: 4px; }

@media (max-width: 640px) {
  .post-hero { padding: 112px 16px 40px; }
  .post-hero-inner { gap: 22px; }
  .post-body h2 { font-size: 30px; margin-top: 38px; }
  .ml-card { padding: 12px 10px; }
  .ml-card-title { font-size: 20px; }
  .ml-card-line { font-size: 13px; }
  .ml-num { padding: 14px 10px; }
  .ml-num-big { font-size: 32px; }
  .ml-num-of { display: block; margin-top: 4px; font-size: 15px; white-space: nowrap; }
  .ml-num-label { font-size: 12.5px; }
  .ml-compare-pair { gap: 10px; }
  .ml-compare-label { font-size: 11px; letter-spacing: 0.04em; }
  .ml-slot { font-size: 12.5px; padding: 10px; }
  .ml-list li { font-size: 16px; }
}
