/* Mountain Lantern LLC — shared styles
   Seed 5-6-7-2-5-5-6: cool-leaning game-table palette (felt teal, frost blue, dice lilac, lantern amber accent) ·
   deep pine-midnight base · narrow document-like column · humanist sans (Source Sans 3) · pill-button nav ·
   category index column + item rows · soft shadows, no borders · motif: board-game hex grid */

@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --base: #0f2026;
  --panel: #16303a;
  --card: #1d3b47;
  --text: #e6f0f2;
  --muted: #a6bcc2;
  --felt: #2f8f86;
  --frost: #8ec5d6;
  --lilac: #a7a3e0;
  --amber: #f5c45c;
  --ink: #0f2026;
  --sans: "Source Sans 3", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 14px 34px rgba(0, 0, 0, 0.28);
  --hex: url("assets/motif-hex.svg") 0 0 / 28px 48px repeat;
  --col: 900px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body { margin: 0; font-family: var(--sans); font-size: 1.1rem; line-height: 1.62; color: var(--text); background: var(--base) var(--hex); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 800; color: var(--text); }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.1; margin: 0 0 0.5em; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--frost); text-underline-offset: 0.18em; }
a:hover { color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.col { width: 100%; max-width: var(--col); margin: 0 auto; padding-inline: clamp(1rem, 4.5vw, 1.8rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: 999px; background: var(--amber); color: var(--ink); }
.skip-link:focus { top: 1rem; }

/* ---------- header with pill-button nav ---------- */
.site-header { padding-block: 1.1rem; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.6rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; }
.brand img { width: 62px; height: auto; flex: none; border-radius: 16px; box-shadow: var(--shadow); }
.brand-name { font-weight: 800; font-size: clamp(1.3rem, 2.8vw, 1.55rem); line-height: 1.1; }
.brand:hover .brand-name { color: var(--amber); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.42rem 1rem; border-radius: 999px; background: var(--card); color: var(--text); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.main-nav a:hover { background: var(--felt); color: var(--white, #fff); }
.main-nav a[aria-current="page"] { background: var(--amber); color: var(--ink); }

/* ---------- document column ---------- */
.intro { padding-block: clamp(1.8rem, 4.5vw, 2.8rem) clamp(1.2rem, 3vw, 1.8rem); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.3rem 0.95rem; border-radius: 999px; background: var(--card); color: var(--frost); font-weight: 600; font-size: 0.92rem; line-height: 1.45; max-width: 100%; box-shadow: var(--shadow); }
.lede { font-size: clamp(1.14rem, 2vw, 1.28rem); color: var(--muted); }
.kicker { margin: 0 0 0.35rem; color: var(--amber); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-art { display: block; width: 100%; margin-top: 1.6rem; border-radius: 22px; box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.4rem; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; box-shadow: var(--shadow); }
.btn:hover { background: var(--text); color: var(--ink); }
.btn-soft { background: var(--card); color: var(--text); }
.btn-soft:hover { background: var(--felt); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.block { padding-block: clamp(1.6rem, 4vw, 2.4rem); }
.sheet { padding: clamp(1.2rem, 3.5vw, 1.8rem); border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow); }
.sheet + .sheet { margin-top: 1.2rem; }

/* home */
.shelves { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.shelves a { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1rem; border-radius: var(--r); background: var(--panel); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.shelves img { width: 56px; height: 56px; flex: none; padding: 5px; border-radius: 14px; background: var(--card); }
.shelves .s-name { display: block; font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.shelves .s-meta { display: block; color: var(--muted); font-size: 0.95rem; }
.shelves a:hover { background: var(--card); }
.shelves a:hover .s-name { color: var(--amber); }
.points { list-style: none; margin: 0; padding: 0; }
.points li { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 0.65rem; height: 0.65rem; border-radius: 3px; background: var(--felt); transform: rotate(45deg); }
.points strong { color: var(--text); }
.deal-line { margin: 0; color: var(--muted); }
.deal-tag { display: inline-block; margin-top: 0.5rem; padding: 0.15rem 0.75rem; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 800; }

/* ---------- catalog: category index column + item rows ---------- */
.cat-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.index { position: sticky; top: 1rem; padding: 1rem; border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow); }
.index p { margin: 0 0 0.5rem; color: var(--amber); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.index ol { list-style: none; margin: 0; padding: 0; }
.index li + li { margin-top: 0.2rem; }
.index a { display: block; padding: 0.4rem 0.6rem; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 0.98rem; line-height: 1.25; text-decoration: none; }
.index a:hover { background: var(--card); color: var(--amber); }
.cat { scroll-margin-top: 1rem; padding: 1.1rem 1.2rem 0.4rem; border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow); }
.cat + .cat { margin-top: 1.3rem; }
.cat-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.4rem; }
.cat-head img { width: 52px; height: 52px; flex: none; padding: 5px; border-radius: 14px; background: var(--card); }
.cat-head h2 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.55rem); letter-spacing: 0.02em; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1rem; padding: 0.75rem 0; }
.items li + li { box-shadow: inset 0 1px 0 rgba(142, 197, 214, 0.14); }
.items h3 { margin: 0; line-height: 1.35; }
.items p { grid-column: 1; margin: 0; color: var(--muted); font-size: 0.98rem; }
.items .price { grid-column: 2; grid-row: 1 / span 2; align-self: start; color: var(--amber); font-weight: 800; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.items .price.quote { max-width: 10rem; white-space: normal; text-align: right; color: var(--text); font-size: 0.95rem; }
.items .price.quote a { display: block; margin-top: 0.2rem; font-weight: 600; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.offers li { padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.offers h3 { margin-bottom: 0.3rem; font-weight: 800; }
.offers p { margin: 0; color: var(--muted); }
.offers .deal { display: inline-block; margin-top: 0.6rem; padding: 0.15rem 0.75rem; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 800; }

/* ---------- about / contact ---------- */
.story p { color: var(--muted); }
.story .first { color: var(--text); font-size: 1.18rem; }
.facts, .details { margin: 0; }
.facts div, .details div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.65rem 0; }
.facts div + div, .details div + div { box-shadow: inset 0 1px 0 rgba(142, 197, 214, 0.14); }
.facts dt, .details dt { color: var(--amber); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.2rem; }
.facts dd, .details dd { margin: 0; font-weight: 600; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-weight: 800; font-size: 1.35rem; }
.hours th, .hours td { padding: 0.55rem 0.4rem 0.55rem 0; text-align: left; vertical-align: top; box-shadow: inset 0 -1px 0 rgba(142, 197, 214, 0.14); }
.hours thead th { color: var(--amber); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { font-weight: 600; padding-right: 1rem; }
.hours td { color: var(--muted); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hours td.closed { color: var(--amber); font-weight: 600; }
.hours .note { display: block; font-size: 0.92rem; white-space: normal; }
.map-frame { display: block; width: 100%; height: 360px; border: 0; border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(1.4rem, 4vw, 2.4rem); background: #0a171b; color: var(--muted); font-size: 0.98rem; }
.footer-inner { padding-block: 1.9rem 1.2rem; }
.footer-name { margin: 0 0 0.2rem; font-weight: 800; font-size: 1.3rem; color: var(--text); }
.site-footer address { font-style: normal; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.1rem; }
.footer-title { margin: 0 0 0.35rem; color: var(--amber); font-weight: 800; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 1.3rem 0 0; padding-top: 0.9rem; box-shadow: inset 0 1px 0 rgba(142, 197, 214, 0.14); font-size: 0.88rem; }

@media (max-width: 760px) {
  .cat-layout { grid-template-columns: 1fr; }
  .index { position: static; }
  .index ol { display: flex; flex-wrap: wrap; gap: 0.3rem; }
  .index li + li { margin-top: 0; }
  .index a { background: var(--card); border-radius: 999px; padding: 0.35rem 0.8rem; }
  .offers { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand img { width: 52px; }
  .main-nav a { padding: 0.36rem 0.85rem; }
  .items li { grid-template-columns: 1fr; }
  .items .price { grid-column: 1; grid-row: auto; }
  .items .price.quote { max-width: none; text-align: left; }
  .facts div, .details div { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
