/* Direct Moon LLC — shared styles
   Seed 4-6-1-7-2-7-5: earthy dusty game-table colours (felt green, clay, ochre, card cream) ·
   deep felt-green base · split hero (illustration / text) · rounded soft sans throughout ·
   centred logo with nav below · compact catalog rows with price badges · thick 3px outlines, no shadows ·
   motif: hex battle-mat grid */

@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-500.woff") format("woff"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-700.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-800.woff") format("woff"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  --base: #16231d;
  --panel: #1c2c24;
  --felt: #4f7259;
  --felt-line: #7f9f86;
  --clay: #c9765a;
  --ochre: #d9b05c;
  --cream: #f1e9d8;
  --muted: #b9c3b4;
  --ink: #0f1915;
  --line: 3px solid var(--felt-line);
  --font: "Moon Rounded", ui-rounded, "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --hex: url("assets/motif-hex.svg") 0 0 / 27.7128px 48px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--base);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }

h1, h2, h3 { font-weight: 800; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }

a { color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.flush-top { padding-top: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.55rem 1rem; background: var(--ochre); color: var(--ink); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- centred header, nav below ---------- */
.site-header { background: var(--base) var(--hex); border-bottom: var(--line); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding-block: 1.1rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.9rem; color: var(--cream); text-decoration: none; }
.brand img { width: 84px; height: auto; flex: none; border: 3px solid var(--felt-line); border-radius: 16px; }
.brand-name { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.brand:hover .brand-name { color: var(--ochre); }
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.55rem 0.15rem 0.6rem; border-bottom: 4px solid transparent; color: var(--cream); font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--ochre); }
.main-nav a[aria-current="page"] { color: var(--ochre); border-bottom-color: var(--ochre); }

/* ---------- shared parts ---------- */
.tag { display: inline-block; margin: 0 0 1.1rem; padding: 0.3rem 0.85rem; border: 3px solid var(--ochre); border-radius: 10px; color: var(--ochre); font-weight: 700; font-size: 0.95rem; }
.kicker { margin: 0 0 0.4rem; color: var(--clay); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lede { font-size: clamp(1.1rem, 1.9vw, 1.25rem); color: var(--muted); max-width: 44ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.3rem;
  border: 3px solid var(--cream);
  border-radius: 12px;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  max-width: 100%; overflow-wrap: anywhere;
}
.btn-ochre { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.btn-ochre:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-line { color: var(--cream); }
.btn-line:hover { background: var(--felt); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.badge { display: inline-block; padding: 0.22rem 0.7rem; border-radius: 10px; background: var(--ochre); color: var(--ink); font-weight: 800; font-size: 1rem; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge .reg { font-weight: 700; font-size: 0.86rem; color: #4d3d17; }
.badge.quote { background: transparent; border: 3px solid var(--clay); color: var(--cream); white-space: normal; text-align: center; font-size: 0.92rem; padding: 0.15rem 0.6rem; }

/* ---------- home: split hero, illustration first ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.hero-art { width: 100%; max-width: 620px; }

.shelf-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 1.6rem 0 0; padding: 0; border: var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.shelf-index li + li { border-left: var(--line); }
.shelf-index li:nth-child(3) { border-left: 0; }
.shelf-index li:nth-child(n+3) { border-top: var(--line); }
.shelf-index a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.2rem; color: var(--cream); text-decoration: none; }
.shelf-index a:hover { background: var(--felt); }
.shelf-index img { width: 58px; height: 58px; }
.shelf-index .shelf-name { font-weight: 800; font-size: 1.1rem; line-height: 1.25; }
.shelf-index .shelf-count { display: block; color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.shelf-index .go { font-weight: 800; color: var(--ochre); }

.spot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2.5rem; align-items: center; padding: clamp(1.4rem, 4vw, 2.25rem); border: 3px solid var(--clay); border-radius: 18px; background: var(--panel) var(--hex); }
.spot h2 { margin-bottom: 0.35rem; }
.spot p { margin: 0 0 0.6rem; color: var(--muted); }
.spot p:last-child { margin-bottom: 0; }

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 2.5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.svc li { position: relative; padding: 0.8rem 0 0.8rem 2rem; color: var(--muted); }
.svc li::before { content: ""; position: absolute; left: 0; top: 1.08rem; width: 16px; height: 16px; border-radius: 4px; background: radial-gradient(circle, var(--ink) 2.4px, transparent 3px) var(--ochre); }
.svc strong { color: var(--cream); }

.visit { background: var(--felt) var(--hex); border-block: var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 3rem; align-items: center; }
.visit h2 { margin-bottom: 0.3rem; }
.visit address { font-style: normal; font-weight: 700; font-size: 1.15rem; }
.visit .btn-row { margin-top: 0; }
.visit .btn-line:hover { background: var(--base); }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(1.75rem, 3vw, 2.25rem); background: var(--base) var(--hex); border-bottom: var(--line); }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.3rem 0 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.75rem; border: 3px solid var(--felt-line); border-radius: 10px; background: var(--panel); color: var(--cream); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { border-color: var(--ochre); color: var(--ochre); }
.jump img { width: 24px; height: 24px; }

/* ---------- catalog: compact rows with price badges ---------- */
.deals { padding: clamp(1.25rem, 3vw, 1.75rem); border: 3px solid var(--clay); border-radius: 18px; background: var(--panel); }
.deals h2 { margin-bottom: 0.9rem; }
.deal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.5rem; list-style: none; margin: 0; padding: 0; }
.deal-list li { display: flex; flex-direction: column; align-items: flex-start; padding: 0.4rem 0; }
.deal-list li + li { padding-left: 1.5rem; border-left: 2px solid rgba(127, 159, 134, 0.45); }
.deal-list h3 { margin-bottom: 0.3rem; }
.deal-list p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.95rem; }
.deal-list .badge { margin-top: auto; white-space: normal; }

.shelves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.shelf { padding-block: 0; border: var(--line); border-radius: 18px; background: var(--panel); scroll-margin-top: 1rem; }
.shelf-head { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; border-bottom: var(--line); }
.icon-tile { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border: 3px solid var(--cream); border-radius: 14px; background: var(--felt); }
.icon-tile img { width: 48px; height: 48px; }
.shelf-head h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.shelf-head .count { display: block; color: var(--muted); font-weight: 500; font-size: 0.88rem; letter-spacing: 0.04em; }
.rows { list-style: none; margin: 0; padding: 0 1.2rem 0.4rem; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: start; padding: 0.75rem 0; scroll-margin-top: 1rem; }
.row + .row { border-top: 2px solid rgba(127, 159, 134, 0.35); }
.row h3 { margin: 0; }
.row .desc { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.row .price { margin: 0.05rem 0 0; text-align: right; }
.row .call { display: block; margin-top: 0.3rem; font-weight: 700; font-size: 0.88rem; }

.account { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: clamp(1.25rem, 3vw, 1.75rem); border: var(--line); border-radius: 18px; background: var(--felt) var(--hex); }
.account h2 { margin-bottom: 0.3rem; }
.account p { margin: 0; }
.account .btn-row { margin-top: 0; }
.account .btn-line:hover { background: var(--base); }

/* ---------- about ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.75rem 0 0; padding: 0; border: var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.facts div { padding: 0.95rem 1.15rem; }
.facts div + div { border-left: var(--line); }
.facts dt { color: var(--clay); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 0.15rem 0 0; font-weight: 800; font-size: 1.08rem; line-height: 1.35; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.story p { color: var(--muted); }
.story .first { color: var(--cream); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; }
.story-aside { padding: 1.35rem; border: 3px solid var(--ochre); border-radius: 18px; background: var(--panel); }
.story-aside img { width: 72px; height: 72px; }
.story-aside p { color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.why li { padding: 1.25rem; border: var(--line); border-radius: 18px; color: var(--muted); background: var(--panel); }
.why strong { display: inline; color: var(--cream); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 5vw, 3.5rem); align-items: start; }
.store-card { padding: 1.4rem; border: var(--line); border-radius: 18px; background: var(--panel); }
.store-card address { font-style: normal; font-weight: 800; font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.9rem; }
.store-card dl { margin: 0; }
.store-card div { padding: 0.55rem 0; border-top: 2px solid rgba(127, 159, 134, 0.35); }
.store-card dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.store-card dd { margin: 0; font-weight: 700; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--line); border-radius: 18px; background: var(--panel); }
.hours thead th:first-child { border-top-left-radius: 15px; }
.hours thead th:last-child { border-top-right-radius: 15px; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.7rem; font-weight: 800; font-size: 1.3rem; }
.hours th, .hours td { padding: 0.8rem 1.1rem; text-align: left; vertical-align: top; }
.hours tbody tr + tr th, .hours tbody tr + tr td { border-top: 2px solid rgba(127, 159, 134, 0.35); }
.hours thead th { background: var(--felt); border-bottom: var(--line); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { font-weight: 700; }
.hours td { font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--muted); }
.map-frame { display: block; width: 100%; height: 380px; border: var(--line); border-radius: 18px; background: var(--panel); }
.map-link { margin-top: 0.9rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink) var(--hex); color: var(--muted); font-size: 0.97rem; border-top: var(--line); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--ochre); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 2rem; padding-block: 2.4rem 1.5rem; }
.footer-name { margin: 0 0 0.35rem; font-weight: 800; font-size: 1.4rem; color: var(--cream); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.12rem 0; }
.footer-bottom { margin: 0; padding-block: 1rem 1.5rem; border-top: 2px solid rgba(127, 159, 134, 0.3); font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-text { order: -1; }
  .hero-art { justify-self: center; }
  .shelves { grid-template-columns: 1fr; }
  .deal-list, .why { grid-template-columns: 1fr; }
  .deal-list li + li { padding-left: 0; border-left: 0; border-top: 2px solid rgba(127, 159, 134, 0.45); padding-top: 0.9rem; margin-top: 0.5rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { width: 64px; }
  .brand-name { font-size: 1.45rem; }
  .main-nav ul { gap: 0 1.1rem; }
  .shelf-index { grid-template-columns: 1fr; }
  .shelf-index li + li { border-left: 0; border-top: var(--line); }
  .spot, .visit-grid, .account { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .rows { padding-inline: 1rem; }
  .shelf-head { padding: 0.9rem 1rem; }
  .row { grid-template-columns: 1fr; }
  .row .price { text-align: left; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div, .facts div:nth-child(3) { border-left: 0; border-top: var(--line); }
  .hours th, .hours td { padding: 0.7rem 0.8rem; }
  .map-frame { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

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