/* Novatwix — vault.css
   Attic pottery: black clay, red-clay terracotta and cream slip. The game is a vase, the page is its shadow. */

@font-face { font-family: 'Fraunces'; src: url(/lantern/type/fraunces.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/lantern/type/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --lm-night: #0c0907;
  --lm-deep: #140e0a;
  --lm-veil: #1c140e;
  --lm-plum: #2b1d14;
  --lm-ink: #f1e6cf;
  --lm-mute: #b8a58e;
  --lm-silver: #e6dccb;
  --lm-gold: #c9643a;
  --lm-gold-hi: #e8895a;
  --lm-ember: #ff6e5a;
  --lm-line: rgba(242, 220, 180, 0.13);
  --lm-line-strong: rgba(242, 220, 180, 0.26);
  --lm-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --lm-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lm-gutter: clamp(16px, 4vw, 40px);
  --lm-max: 1180px;
  --lm-radius: 14px;
  --lm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--lm-night);
  color: var(--lm-ink);
  font: 400 1rem/1.65 var(--lm-sans);
  overflow-x: hidden;
}
body.has-notice { padding-bottom: 120px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lm-gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--lm-gold-hi); }
h1, h2, h3 { font-family: var(--lm-serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--lm-gold-hi); outline-offset: 3px; border-radius: 4px; }

.lm-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lm-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--lm-gold); color: #1a1407; border-radius: 8px; font-weight: 600; }
.lm-skip:focus { top: 12px; }
.lm-ic { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.lm-ic svg { width: 100%; height: 100%; }
.lm-wrap { width: 100%; max-width: var(--lm-max); margin: 0 auto; padding: 0 var(--lm-gutter); }

/* ---------- buttons ---------- */
.lm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font: 600 0.95rem/1 var(--lm-sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--lm-ease);
}
.lm-btn:active { transform: translateY(1px); }
.lm-btn--gold { background: var(--lm-gold); color: #1a1407; }
.lm-btn--gold:hover { background: var(--lm-gold-hi); color: #1a1407; }
.lm-btn--ghost { background: transparent; color: var(--lm-ink); border-color: var(--lm-line-strong); }
.lm-btn--ghost:hover { border-color: var(--lm-gold); color: var(--lm-gold-hi); }
.lm-btn--sm { min-height: 36px; padding: 6px 14px; font-size: .85rem; }

/* ---------- header ---------- */
.lm-nav { position: sticky; top: 0; z-index: 30; background: rgba(12, 9, 6, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--lm-line); }
.lm-nav__inner { max-width: var(--lm-max); margin: 0 auto; padding: 0 var(--lm-gutter); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lm-nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lm-ink); text-decoration: none; font: 600 1.15rem/1 var(--lm-serif); }
.lm-nav__brand .lm-ic { color: var(--lm-gold); width: 22px; height: 22px; }
.lm-nav__links { display: flex; align-items: center; gap: 4px; }
.lm-nav__link { color: var(--lm-mute); text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 999px; }
.lm-nav__link:hover, .lm-nav__link.is-current { color: var(--lm-ink); background: rgba(201, 208, 242, 0.07); }
.lm-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--lm-line-strong); background: transparent; color: var(--lm-ink); border-radius: 12px; cursor: pointer; }
.lm-burger .lm-ic { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .lm-burger { display: inline-flex; }
  .lm-nav__links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--lm-gutter) 16px; background: var(--lm-night); border-bottom: 1px solid var(--lm-line); display: none; }
  .lm-nav__links.is-open { display: flex; }
  .lm-nav__link { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--lm-line); font-size: 1rem; }
}

/* ---------- hero + game ---------- */
.lm-hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); background:
  radial-gradient(1200px 500px at 80% -10%, rgba(242, 184, 75, 0.12), transparent 60%),
  radial-gradient(900px 600px at 0% 100%, rgba(160, 90, 40, 0.14), transparent 60%),
  linear-gradient(180deg, var(--lm-night), var(--lm-deep)); overflow: hidden; }
.lm-hero__inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--lm-gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lm-hero__copy { position: relative; }
.lm-art { width: 100%; max-width: 500px; margin: 0 0 8px -8px; }
.lm-eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lm-gold); margin-bottom: 14px; }
.lm-eyebrow a { color: inherit; text-decoration: none; }
.lm-hero__title { font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 600; line-height: .95; letter-spacing: -0.02em; color: #fdf6e3; }
.lm-hero__sub { display: block; font-style: italic; font-weight: 300; font-size: .52em; color: var(--lm-gold); margin-top: .18em; letter-spacing: 0; }
.lm-hero__lead { margin-top: 22px; font-size: 1.08rem; color: var(--lm-silver); max-width: 34em; }
.lm-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lm-facts li { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--lm-line-strong); border-radius: 999px; color: var(--lm-ink); }

.lm-game { position: relative; background: linear-gradient(180deg, rgba(46, 33, 20, .7), rgba(23, 16, 10, .92)); border: 1px solid var(--lm-line); border-radius: calc(var(--lm-radius) + 6px); padding: 12px; box-shadow: 0 40px 100px -40px rgba(242, 184, 75, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.lm-hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 10px; }
.lm-hud--foot { padding: 10px 6px 2px; min-height: 36px; }
.lm-hud__meta p { margin: 0; }
.lm-hud__chapter { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--lm-mute); }
.lm-hud__level { font: 500 1.15rem/1.3 var(--lm-serif); color: var(--lm-ink); }
.lm-hud__tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lm-hud__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--lm-line-strong); background: rgba(12, 9, 6, 0.5); color: var(--lm-ink); font: 500 .85rem/1 var(--lm-sans); cursor: pointer; transition: border-color .2s, color .2s; }
.lm-hud__btn:hover:not(:disabled) { border-color: var(--lm-gold); color: var(--lm-gold-hi); }
.lm-hud__btn:disabled { opacity: .4; cursor: default; }
.lm-hud__btn[aria-pressed="false"] .lm-wave { opacity: .25; }
.lm-hud__count { margin: 0; font-size: .85rem; color: var(--lm-mute); white-space: nowrap; }
.lm-hint { margin: 0; font-size: .92rem; color: var(--lm-silver); font-style: italic; font-family: var(--lm-serif); }
@media (max-width: 560px) {
  .lm-hud { flex-wrap: wrap; }
  .lm-hud__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lm-hud__btn { padding: 0; width: 44px; height: 44px; justify-content: center; }
}

.lm-board { position: relative; aspect-ratio: 4 / 3; width: 100%; border-radius: var(--lm-radius); overflow: hidden; background: var(--lm-night); box-shadow: 0 0 0 1px var(--lm-line); }
.lm-board canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.lm-board canvas:focus-visible { outline: 2px solid var(--lm-gold-hi); outline-offset: -2px; border-radius: var(--lm-radius); }

.lm-panel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(12, 9, 6, 0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.lm-panel[hidden] { display: none; }
.lm-panel--soft { align-items: flex-end; background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 26, 0.75)); backdrop-filter: none; -webkit-backdrop-filter: none; }
.lm-panel--soft .lm-panel__card { padding: 16px 20px; }
.lm-panel--soft .lm-solved__stars { font-size: 1.8rem; margin: 0 0 4px; }
.lm-panel__card { width: min(420px, 100%); max-height: 100%; overflow: auto; background: rgba(28, 20, 12, 0.95); border: 1px solid var(--lm-line-strong); border-radius: var(--lm-radius); padding: clamp(18px, 3vw, 28px); text-align: center; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .7); }
.lm-panel__card--wide { width: min(560px, 100%); text-align: left; }
.lm-panel__kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lm-gold); margin-bottom: 8px; }
.lm-panel__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.lm-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.lm-panel__head .lm-panel__title { margin: 0; }
.lm-panel__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.lm-solved__stars { font-size: 2.4rem; letter-spacing: .2em; color: var(--lm-gold-hi); margin: 4px 0 8px; text-shadow: 0 0 18px rgba(255, 211, 106, 0.6); }
@media (max-width: 480px) { .lm-panel p { font-size: .9rem; } .lm-panel__actions { margin-top: 10px; } }

.lm-grid__group + .lm-grid__group { margin-top: 12px; }
.lm-grid__title { font: 500 .95rem/1.3 var(--lm-serif); color: var(--lm-silver); margin-bottom: 6px; }
.lm-grid__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lm-grid__cell { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--lm-line-strong); background: rgba(12, 9, 6, 0.5); color: var(--lm-ink); cursor: pointer; font: 600 .95rem/1.1 var(--lm-sans); }
.lm-grid__cell:hover:not(:disabled) { border-color: var(--lm-gold); }
.lm-grid__cell:disabled { opacity: .45; cursor: default; }
.lm-grid__stars { font-size: .8rem; color: var(--lm-gold); letter-spacing: .1em; }
.lm-grid__stars .lm-ic { width: 14px; height: 14px; color: var(--lm-mute); }

/* ---------- sections ---------- */
.lm-section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--lm-line); }
.lm-section--veil { background: linear-gradient(180deg, var(--lm-deep), var(--lm-night)); }
.lm-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 38rem; }
.lm-head__title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 14px; }
.lm-head__intro { color: var(--lm-mute); font-size: 1.05rem; }
.lm-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.lm-split--even { grid-template-columns: 1fr 1fr; }
.lm-split .lm-head { position: sticky; top: 96px; }

.lm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); counter-reset: none; }
.lm-step { padding-top: 20px; border-top: 1px solid var(--lm-line-strong); }
.lm-step__art svg { width: 100%; max-width: 180px; height: auto; margin-bottom: 14px; }
.lm-step__num { font: italic 300 1rem/1 var(--lm-serif); color: var(--lm-gold); margin-bottom: 6px; }
.lm-step__title { font-size: 1.5rem; margin-bottom: 8px; }
.lm-step p:last-child { color: var(--lm-silver); }
.lm-svgnum { font: 700 11px var(--lm-sans); fill: #1a1840; }
.lm-svgsum { font: 600 10px var(--lm-serif); fill: #ffd36a; }

.lm-sky { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--lm-line); border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; }
.lm-sky__card { background: var(--lm-night); padding: 24px 20px 26px; }
.lm-sky__icon svg { width: 48px; height: 48px; margin-bottom: 14px; }
.lm-sky__card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.lm-sky__card p { color: var(--lm-mute); font-size: .93rem; margin: 0; }
.lm-head--side { max-width: 30rem; }

.lm-path { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.lm-path::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--lm-gold), rgba(245, 200, 106, 0.1)); }
.lm-path__stop { position: relative; padding-bottom: 34px; }
.lm-path__stop:last-child { padding-bottom: 0; }
.lm-path__dot { position: absolute; left: -28px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--lm-night); border: 2px solid var(--lm-gold); box-shadow: 0 0 12px rgba(245, 200, 106, 0.5); }
.lm-path__num { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lm-gold); margin-bottom: 4px; }
.lm-path__title { font-size: 1.6rem; margin-bottom: 6px; }
.lm-path__stop > p:not(.lm-path__num) { color: var(--lm-silver); }
.lm-path__levels { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--lm-mute); }

.lm-score { list-style: none; margin: 0; padding: 0; }
.lm-score__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--lm-line); }
.lm-score__row:first-child { border-top: 1px solid var(--lm-line); }
.lm-score__row p { margin: 0; color: var(--lm-silver); }
.lm-score__stars { font-size: 1.25rem; letter-spacing: .12em; color: var(--lm-gold-hi); }
.lm-score__off { color: rgba(201, 208, 242, 0.2); }

.lm-prose { max-width: 46rem; }
.lm-prose p { color: var(--lm-silver); font-size: 1.05rem; }
.lm-prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.lm-prose .lm-head__title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 20px; }
#glow .lm-prose p:first-of-type::first-letter { font-family: var(--lm-serif); font-size: 3.4em; float: left; line-height: .85; padding: 4px 10px 0 0; color: var(--lm-gold); }

.lm-faq__item { border-bottom: 1px solid var(--lm-line); }
.lm-faq__item:first-child { border-top: 1px solid var(--lm-line); }
.lm-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font: 500 1.12rem/1.35 var(--lm-serif); }
.lm-faq__item summary::-webkit-details-marker { display: none; }
.lm-faq__item summary .lm-ic { color: var(--lm-gold); transition: transform .25s var(--lm-ease); }
.lm-faq__item[open] summary .lm-ic { transform: rotate(45deg); }
.lm-faq__item p { color: var(--lm-silver); padding-bottom: 20px; margin: 0; max-width: 40em; }

.lm-maker { text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(245, 200, 106, 0.08), transparent 70%); }
.lm-maker__inner { max-width: 44rem; }
.lm-maker__inner p { color: var(--lm-silver); font-size: 1.08rem; }
.lm-maker__contact { font-size: 1rem; }

/* ---------- inner pages ---------- */
.lm-page { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); background: linear-gradient(180deg, var(--lm-deep), var(--lm-night) 360px); }
.lm-page__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.lm-page__lead { font-size: 1.15rem; color: var(--lm-ink) !important; }
.lm-page--lost { min-height: 60vh; }
.lm-contact { display: grid; gap: 1px; background: var(--lm-line); border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; margin: 28px 0; }
.lm-contact > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 20px; background: var(--lm-night); }
.lm-contact dt { color: var(--lm-mute); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.lm-contact dd { margin: 0; }
.lm-note { font-size: .95rem !important; color: var(--lm-mute) !important; }
.lm-table { overflow-x: auto; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); margin: 16px 0 24px; }
.lm-table table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.lm-table th, .lm-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--lm-line); }
.lm-table thead th { color: var(--lm-mute); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.lm-table tbody tr:last-child > * { border-bottom: 0; }
.lm-table code { color: var(--lm-gold); font-size: .85rem; white-space: nowrap; }
.lm-sitemap { list-style: none; padding: 0; margin: 24px 0 0; }
.lm-sitemap li { border-bottom: 1px solid var(--lm-line); }
.lm-sitemap a { display: block; padding: 14px 0; text-decoration: none; font: 500 1.15rem/1.3 var(--lm-serif); }

/* ---------- footer ---------- */
.lm-foot { border-top: 1px solid var(--lm-line); background: rgba(6, 4, 2, 0.6); padding: 56px 0 24px; font-size: .92rem; }
.lm-foot__inner { max-width: var(--lm-max); margin: 0 auto; padding: 0 var(--lm-gutter); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.lm-foot__brand p { color: var(--lm-mute); margin: 12px 0 0; max-width: 26em; }
.lm-foot__small { font-size: .82rem; }
.lm-foot__contact { font-style: normal; color: var(--lm-silver); line-height: 1.8; }
.lm-foot__links { display: flex; flex-direction: column; gap: 8px; }
.lm-foot__links a { color: var(--lm-silver); text-decoration: none; }
.lm-foot__links a:hover { color: var(--lm-gold-hi); }
.lm-foot__base { max-width: var(--lm-max); margin: 40px auto 0; padding: 20px var(--lm-gutter) 0; border-top: 1px solid var(--lm-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--lm-mute); font-size: .82rem; }
.lm-foot__base p { margin: 0; }
.lm-up { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--lm-line-strong); background: transparent; color: var(--lm-ink); cursor: pointer; flex: none; }
.lm-up:hover { border-color: var(--lm-gold); color: var(--lm-gold-hi); }

/* ---------- storage notice ---------- */
.lm-notice { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; background: rgba(28, 20, 12, 0.97); border: 1px solid var(--lm-line-strong); border-radius: var(--lm-radius); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); font-size: .88rem; }
.lm-notice[hidden] { display: none; }
.lm-notice p { margin: 0; color: var(--lm-silver); }
.lm-notice__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) { .lm-notice { flex-direction: column; align-items: stretch; } .lm-notice__actions { justify-content: flex-end; } body.has-notice { padding-bottom: 190px; } }

/* ---------- layout breakpoints ---------- */
@media (max-width: 1080px) {
  .lm-hero__inner { grid-template-columns: 1fr; }
  .lm-hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); column-gap: 24px; }
  .lm-hero__copy > :not(.lm-art) { grid-column: 1; }
  .lm-art { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
  .lm-sky { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .lm-split, .lm-split--even { grid-template-columns: 1fr; }
  .lm-split .lm-head { position: static; }
  .lm-steps { grid-template-columns: 1fr; }
  .lm-step { display: grid; grid-template-columns: 120px 1fr; column-gap: 20px; }
  .lm-step__art { grid-row: 1 / span 3; }
  .lm-sky { grid-template-columns: repeat(2, 1fr); }
  .lm-foot__inner { grid-template-columns: 1fr 1fr; }
  .lm-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .lm-hero__copy { display: block; }
  .lm-art { display: none; }
  .lm-hero__lead { font-size: 1rem; margin-top: 16px; }
  .lm-facts li { font-size: .8rem; padding: 5px 10px; }
  .lm-game { padding: 8px; margin: 0 calc(var(--lm-gutter) * -0.5); border-radius: var(--lm-radius); }
  .lm-step { grid-template-columns: 88px 1fr; column-gap: 14px; }
}
@media (max-width: 420px) {
  .lm-sky { grid-template-columns: 1fr; }
  .lm-foot__inner { grid-template-columns: 1fr; }
  .lm-contact > div { grid-template-columns: 1fr; gap: 4px; }
  .lm-score__row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- motion (only when welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lm-art__stars circle { animation: lm-twinkle 3.2s ease-in-out infinite; }
  .lm-art__stars circle:nth-child(2n) { animation-delay: -1.1s; animation-duration: 4.1s; }
  .lm-art__stars circle:nth-child(3n) { animation-delay: -2.3s; }
  .lm-art__beams path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: lm-draw 2.4s .4s var(--lm-ease) forwards; }
  .lm-draw { stroke-dasharray: 90; stroke-dashoffset: 90; animation: lm-draw 1.6s .2s var(--lm-ease) forwards; }
  .lm-step:nth-child(1) .lm-draw { animation-iteration-count: 1; }
  .lm-panel:not([hidden]) .lm-panel__card { animation: lm-rise .35s var(--lm-ease); }
}
@keyframes lm-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
@keyframes lm-rise { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Olympus game (Attic vase) ---------- */
.lm-hero__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.vx-game { max-width: 560px; justify-self: center; width: 100%; }
.vx-board { aspect-ratio: 90 / 150; max-height: min(80vh, 760px); margin: 0 auto; background: #0f0c0a; }
.vx-board canvas { cursor: crosshair; }
.vx-score { margin: 2px 0 0; font: 600 1.25rem/1.2 var(--lm-serif); color: var(--lm-gold-hi); font-variant-numeric: tabular-nums; }
.vx-combo { font: 700 .9rem/1 var(--lm-sans); color: #1a1407; background: var(--lm-gold); border-radius: 999px; padding: 2px 8px; vertical-align: 3px; }
.vx-combo:empty { display: none; }
.vx-best { font: 400 .8rem/1 var(--lm-sans); color: var(--lm-mute); margin-left: 4px; }
.lm-panel__actions--stack { flex-direction: column; align-items: stretch; max-width: 240px; margin-left: auto; margin-right: auto; }
.lm-grid__rush { width: 100%; margin-top: 14px; }
.lm-grid__row { grid-template-columns: repeat(3, 1fr); }
.vx-sky { grid-template-columns: repeat(4, 1fr); }
.vx-sky .lm-sky__card:last-child { grid-column: span 2; }
.lm-path__stop--rush .lm-path__dot { background: var(--lm-gold); }
.vx-scoring .lm-score__row { grid-template-columns: 1fr auto; }
.vx-points { font: 600 1.15rem/1.2 var(--lm-serif); color: var(--lm-gold-hi); text-align: right; }
@media (max-width: 1080px) {
  .lm-hero__inner { grid-template-columns: 1fr; }
  .vx-sky { grid-template-columns: repeat(2, 1fr); }
  .vx-sky .lm-sky__card:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .vx-board { max-height: none; }
  .vx-score { font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .vx-sky { grid-template-columns: 1fr; }
  .vx-sky .lm-sky__card:last-child { grid-column: auto; }
  .vx-scoring .lm-score__row { grid-template-columns: 1fr auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .vx-art__balls circle { animation: lm-twinkle 4s ease-in-out infinite; }
  .vx-art__balls circle:nth-child(3n) { animation-delay: -1.3s; }
  .vx-art__balls circle:nth-child(4n) { animation-delay: -2.6s; }
  .vx-art__aim circle { animation: lm-twinkle 1.6s ease-in-out infinite; }
  .vx-pop { transform-origin: 50px 36px; animation: vx-pop 2.4s ease-in-out infinite; }
}
@keyframes vx-pop { 0%, 70%, 100% { transform: scale(1); opacity: 1; } 80% { transform: scale(1.15); opacity: .3; } }

/* ---------- hero without the game; game in its own section ---------- */
.vx-hero .lm-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(76vh, 720px); }
.vx-hero__art .lm-art { max-width: 640px; width: 100%; margin: 0 auto; }
.vx-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.vx-play { background: radial-gradient(900px 500px at 70% 0%, rgba(242, 184, 75, 0.08), transparent 60%), linear-gradient(180deg, var(--lm-night), var(--lm-deep)); }
.vx-play__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.vx-play__side { position: sticky; top: 96px; }
.vx-keys { margin: 24px 0 0; display: grid; gap: 1px; background: var(--lm-line); border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; }
.vx-keys > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 16px; background: var(--lm-night); font-size: .92rem; }
.vx-keys dt { color: var(--lm-gold); font-weight: 600; }
.vx-keys dd { margin: 0; color: var(--lm-silver); }
.vx-play .vx-game { justify-self: end; }
@media (max-width: 1080px) {
  .vx-hero .lm-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .vx-hero__art { order: -1; }
  .vx-hero__art .lm-art { max-width: 520px; display: block; }
  .vx-play__inner { grid-template-columns: 1fr; }
  .vx-play__side { position: static; }
  .vx-play .vx-game { justify-self: center; }
}
@media (max-width: 600px) {
  .vx-hero__art .lm-art { display: block; max-width: 100%; margin: 0 0 4px; }
  .vx-keys { display: none; }
  .vx-play { padding-top: 40px; }
}
.vx-play .vx-board { max-height: min(calc(100vh - 230px), 760px); }
.vx-play .vx-board canvas { max-height: 100%; }
@media (max-width: 600px) { .vx-play .vx-board { max-height: none; } }

/* ---------- Icarus Ascent (arcade page) ---------- */
.icarus-page { padding: clamp(48px, 8vw, 96px) 0 40px; }
.icarus-wrap { max-width: 980px; }
.icarus-head { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.icarus-head .lm-page__lead { margin-left: auto; margin-right: auto; }
.icarus-game { max-width: 420px; margin: 0 auto; }
.icarus-hud { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding: 0 4px; }
.icarus-score { margin: 0; font: 600 2rem/1 var(--lm-serif); color: var(--lm-gold-hi); font-variant-numeric: tabular-nums; }
.icarus-best { margin: 0; font: 400 .9rem/1 var(--lm-sans); color: var(--lm-mute); }
.icarus-hud__side { display: flex; align-items: center; gap: 12px; }
.icarus-board { position: relative; aspect-ratio: 480 / 720; background: #0f0c0a; border: 1px solid var(--lm-line-strong); border-radius: var(--lm-radius); overflow: hidden; box-shadow: 0 0 60px rgba(201, 100, 58, .12); }
.icarus-board canvas { display: block; width: 100%; height: 100%; cursor: pointer; touch-action: none; }
.icarus-board .lm-panel { position: absolute; inset: 0; }
.icarus-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px auto 0; }
.icarus-rules h2 { font: 500 1.1rem/1.2 var(--lm-serif); color: var(--lm-gold-hi); margin-bottom: 6px; }
.icarus-rules p { margin: 0; font-size: .92rem; color: var(--lm-silver); }
.icarus-foot { margin: 28px auto 0; text-align: center; font-size: .88rem; color: var(--lm-mute); }
@media (max-width: 760px) { .icarus-rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .icarus-rules { grid-template-columns: 1fr; } }
