/* Le Lutin Malin : token layer. Deep fir night for the film, snow-white pages for the guides. */
.lm-page, .lm-home {
  --lm-fir: #0f2a22; --lm-fir-2: #1d4636; --lm-fir-soft: #e3ece6; --lm-berry: #c2364a; --lm-berry-deep: #9e2638;
  --lm-snow: #f4f6f3; --lm-paper: #ffffff; --lm-ink: #1b231f; --lm-muted: #56645c; --lm-line: #d9e1dc; --lm-frost: #a8d5c2;
  --lm-display: "Young Serif", Georgia, "Times New Roman", serif;
  --lm-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--lm-body); font-size: 16px; line-height: 1.6;
}
.lm-page { background: var(--lm-snow); color: var(--lm-ink); min-height: 100dvh; color-scheme: light; }
.lm-home { background: var(--lm-fir); color: var(--lm-ink); color-scheme: light; }
.lm-page h1, .lm-page h2, .lm-page h3, .lm-home h2, .lm-home h3 { font-family: var(--lm-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
.lm-wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lm-main { padding-block: 8px 64px; }
.lm-page a, .lm-home a { color: inherit; }
.lm-page a:focus-visible, .lm-home a:focus-visible { outline: 3px solid var(--lm-berry); outline-offset: 3px; border-radius: 6px; }

.lm-header { position: sticky; top: 0; z-index: 30; background: var(--lm-fir); color: var(--lm-snow); }
.lm-header--overlay { position: fixed; inset: 0 0 auto; background: linear-gradient(to bottom, rgb(15 42 34 / 0.92), rgb(15 42 34 / 0)); }
.lm-header__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-block: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lm-brand { font-family: var(--lm-display); font-size: 1.45rem; text-decoration: none; color: var(--lm-snow); }
.lm-brand span { color: var(--lm-frost); }
.lm-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.lm-nav__link { text-decoration: none; font-weight: 600; font-size: .9rem; color: rgb(244 246 243 / .8); padding-block: 4px; border-bottom: 2px solid transparent; }
.lm-nav__link:hover { color: var(--lm-snow); }
.lm-nav__link[data-status="active"] { color: var(--lm-snow); border-bottom-color: var(--lm-berry); }

.lm-hero-cta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; background: var(--lm-berry); color: var(--lm-snow); padding: 13px 22px; border-radius: 999px; box-shadow: 0 10px 30px rgb(194 54 74 / .35); transition: transform .2s ease, background .2s ease; }
.lm-hero-cta:hover { transform: translateY(-2px); background: var(--lm-berry-deep); }
.lm-hero-cta::after { content: "→"; transition: transform .2s ease; }
.lm-hero-cta:hover::after { transform: translateX(4px); }
.lm-ribbon-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-ribbon-link { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--lm-snow); border: 1px solid rgb(168 213 194 / .55); padding: 8px 14px; border-radius: 10px; backdrop-filter: blur(6px); background: rgb(15 42 34 / .35); transition: border-color .2s ease, background .2s ease; }
.lm-ribbon-link:hover { border-color: var(--lm-frost); background: rgb(15 42 34 / .6); }

.lm-after { background: var(--lm-snow); padding-block: 56px 24px; }
.lm-section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: var(--lm-ink); }
.lm-section-sub { color: var(--lm-muted); margin: 8px 0 0; max-width: 62ch; }
.lm-section + .lm-section { margin-top: 56px; }
.lm-rubrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
.lm-rubric { display: grid; gap: 8px; align-content: start; text-decoration: none; padding: 24px; border-radius: 18px; background: var(--lm-fir); color: var(--lm-snow); transition: transform .2s ease; }
.lm-rubric:hover { transform: translateY(-3px); }
.lm-rubric h3 { font-size: 1.35rem; color: var(--lm-snow); }
.lm-rubric p { margin: 0; color: var(--lm-frost); font-size: .95rem; }
.lm-rubric__go { font-weight: 700; font-size: .85rem; color: var(--lm-snow); margin-top: 6px; }

.lm-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 22px; }
.lm-tag { position: relative; display: grid; gap: 6px; text-decoration: none; color: var(--lm-ink); background: var(--lm-paper); border: 1px solid var(--lm-line); border-radius: 4px 14px 14px 4px; padding: 20px 20px 18px 36px; transition: transform .15s ease, border-color .15s ease; }
.lm-tag::before { content: ""; position: absolute; left: 13px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--lm-berry); background: var(--lm-snow); }
.lm-tag:hover { transform: translateY(-2px); border-color: var(--lm-fir-2); }
.lm-tag h3 { font-size: 1.2rem; color: var(--lm-fir-2); }
.lm-tag p { margin: 0; color: var(--lm-muted); font-size: .92rem; }
.lm-tag__count { font-size: .8rem; font-weight: 700; color: var(--lm-berry); }

.lm-intro { padding-block: 36px 8px; display: grid; gap: 12px; max-width: 46rem; }
.lm-back { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--lm-fir-2); }
.lm-eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lm-berry); font-weight: 700; }
.lm-intro h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); color: var(--lm-ink); }
.lm-intro p { margin: 0; color: var(--lm-muted); }
.lm-h2 { font-size: 1.55rem; margin-top: 48px; color: var(--lm-ink); }
.lm-sub { color: var(--lm-muted); margin: 6px 0 0; max-width: 62ch; }
.lm-sub a { color: var(--lm-fir-2); font-weight: 600; }

.lm-items { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; counter-reset: lm; }
.lm-item { counter-increment: lm; background: var(--lm-paper); border: 1px solid var(--lm-line); border-radius: 12px; padding: 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-width: 0; }
.lm-item__num { font-family: var(--lm-display); color: var(--lm-berry); font-size: 1.05rem; }
.lm-item__num::before { content: "N° " counter(lm); }
.lm-item h3 { font-size: 1.15rem; color: var(--lm-ink); }
.lm-item p { margin: 4px 0 0; color: var(--lm-muted); font-size: .94rem; }
.lm-item__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--lm-line); }
.lm-item__meta:empty, .lm-item__meta:has(> .lm-item__price:empty:only-child) { display: none; }
.lm-item__price { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .92rem; color: var(--lm-fir-2); }
.lm-amazon { display: inline-block; text-decoration: none; font-weight: 700; font-size: .9rem; background: var(--lm-fir-2); color: var(--lm-snow); padding: 9px 15px; border-radius: 8px 8px 8px 2px; transition: background .2s ease; }
.lm-amazon:hover { background: var(--lm-fir); }

.lm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 22px; }
.lm-card { background: var(--lm-paper); border: 1px solid var(--lm-line); border-radius: 14px; padding: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.lm-card h3 { font-size: 1.15rem; color: var(--lm-ink); }
.lm-card p { margin: 0; color: var(--lm-muted); font-size: .94rem; }
.lm-card b { color: var(--lm-ink); font-weight: 700; }
.lm-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.lm-fact { font-size: .78rem; font-weight: 700; background: var(--lm-fir-soft); color: var(--lm-fir-2); padding: 3px 10px; border-radius: 999px; }
.lm-songs { margin: 0; padding-left: 18px; font-size: .92rem; display: grid; gap: 2px; color: var(--lm-ink); }
.lm-stream-row { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.lm-stream { text-decoration: none; font-weight: 600; font-size: .86rem; color: var(--lm-fir-2); border-bottom: 2px solid var(--lm-frost); padding-bottom: 1px; }
.lm-stream:hover { border-bottom-color: var(--lm-berry); }
.lm-card-link { text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--lm-berry); }
.lm-swatches { display: flex; gap: 6px; }
.lm-swatches i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--lm-line); }

.lm-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; max-width: 46rem; counter-reset: st; }
.lm-steps li { counter-increment: st; display: grid; grid-template-columns: 2.3rem 1fr; gap: 14px; align-items: start; }
.lm-steps li::before { content: counter(st); font-family: var(--lm-display); color: var(--lm-snow); background: var(--lm-berry); width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; }
.lm-steps b { display: block; }
.lm-steps span { color: var(--lm-muted); font-size: .94rem; }

.lm-footer { background: var(--lm-fir); color: var(--lm-frost); padding-block: 32px 40px; margin-top: 24px; }
.lm-disclose { margin: 0; max-width: 62ch; font-size: .86rem; }
.lm-footer__brand { margin: 14px 0 0; font-family: var(--lm-display); color: var(--lm-snow); }

@media (prefers-reduced-motion: reduce) {
  .lm-hero-cta, .lm-hero-cta::after, .lm-rubric, .lm-tag, .lm-amazon, .lm-ribbon-link { transition: none; }
  .lm-hero-cta:hover, .lm-rubric:hover, .lm-tag:hover { transform: none; }
}

/* Static site additions */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
img { max-width: 100%; }
.lm-lead { max-width: 62ch; color: var(--lm-ink); font-size: 1.04rem; margin: 18px 0 0; }
.lm-faq { display: grid; gap: 10px; margin-top: 18px; max-width: 46rem; }
.lm-faq__item { background: var(--lm-paper); border: 1px solid var(--lm-line); border-radius: 12px; padding: 14px 18px; }
.lm-faq__item summary { cursor: pointer; font-weight: 700; color: var(--lm-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lm-faq__item summary::-webkit-details-marker { display: none; }
.lm-faq__item summary::after { content: "+"; color: var(--lm-berry); font-weight: 700; }
.lm-faq__item[open] summary::after { content: "−"; }
.lm-faq__item p { margin: 10px 0 0; color: var(--lm-muted); }

/* Scroll film */
.lm-film { position: relative; background: var(--lm-fir); color: var(--lm-snow); }
.lm-film__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.lm-film__poster, .lm-film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-film__video { opacity: 0; transition: opacity .4s ease; }
.lm-film__video.is-ready { opacity: 1; }
.lm-film__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(15 42 34 / .78) 0%, rgb(15 42 34 / .35) 50%, rgb(15 42 34 / .1) 100%); }
.lm-film__chapters { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100dvh; }
.lm-chapter { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; max-width: 1180px; margin: 0 auto; padding-block: 96px 64px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lm-chapter[data-align="right"] { justify-content: flex-end; }
.lm-chapter__copy { max-width: 34rem; display: grid; gap: 14px; }
.lm-chapter__kicker { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--lm-frost); }
.lm-chapter__title { margin: 0; font-family: var(--lm-display); font-weight: 400; font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.08; text-wrap: balance; color: var(--lm-snow); text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.lm-chapter__body { margin: 0; font-size: 1.08rem; color: rgb(244 246 243 / .9); max-width: 46ch; }
.lm-chapter__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lm-chapter__tags li { font-size: .8rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: rgb(194 54 74 / .9); color: var(--lm-snow); }
@media (max-width: 720px) {
  .lm-film__shade { background: linear-gradient(0deg, rgb(15 42 34 / .85) 0%, rgb(15 42 34 / .45) 55%, rgb(15 42 34 / .25) 100%); }
  .lm-chapter { align-items: flex-end; }
  .lm-chapter[data-align="right"] { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .lm-film__video { display: none; } }
@media (max-width: 720px) {
  .lm-header { position: relative; }
  .lm-header--overlay { position: absolute; }
  .lm-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; gap: 4px 16px; }
  .lm-nav::-webkit-scrollbar { display: none; }
  .lm-nav__link { white-space: nowrap; }
}
.lm-chapter__copy > .lm-hero-cta { justify-self: start; }
.lm-page a.lm-amazon { color: var(--lm-snow); }
.lm-page a.lm-back, .lm-page a.lm-stream { color: var(--lm-fir-2); }
.lm-page a.lm-card-link { color: var(--lm-berry); }
.lm-pin { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 28px; align-items: center; margin-top: 56px; padding: 24px; background: var(--lm-paper); border: 1px solid var(--lm-line); border-radius: 16px; }
.lm-pin img { width: 100%; height: auto; border-radius: 12px; display: block; }
.lm-pin .lm-h2 { margin-top: 0; }
@media (max-width: 640px) { .lm-pin { grid-template-columns: 1fr; } .lm-pin img { max-width: 260px; } }
.lm-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lm-page a.lm-jump__a, .lm-jump a { text-decoration: none; font-weight: 700; font-size: .88rem; padding: 7px 14px; border-radius: 999px; background: var(--lm-fir-soft); color: var(--lm-fir-2); }
.lm-jump a:hover { background: var(--lm-fir); color: var(--lm-snow); }
.lm-page h2[id^="budget-"] { scroll-margin-top: 90px; }
.lm-page .lm-h2 { margin-top: 48px; } .lm-page .lm-pin .lm-h2 { margin-top: 0; }
