/* Dynamic Mission LLC — shared styles
   Seed 4-6-1-7-6-1-1: earthy, dusty studio colors (terracotta clay, raw ochre, sage, dusty slate blue, cream
   paper) · deep umber shade of the terracotta as the base · split hero · rounded soft sans (Seam Rounded) ·
   vertical side header · price tables · sharp corners and 1px rules · motif: canvas weave */

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

:root {
  --base: #2b1712;
  --panel: #3a221a;
  --panel-2: #472b21;
  --cream: #f2e4d0;
  --text: #eadbc6;
  --muted: #cdb9a0;
  --clay: #e07a54;
  --ochre: #d6a54a;
  --sage: #9bab84;
  --slate: #8fadc0;
  --rule: rgba(242, 228, 208, 0.28);
  --round: "Seam Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
  --weave: url("assets/motif-weave.svg") 0 0 / 12px 12px repeat;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body { margin: 0; font-family: var(--round); font-size: 1.04rem; line-height: 1.65; color: var(--text); background: var(--base) var(--weave); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { color: var(--cream); font-weight: 700; }
h1, h2, h3 { font-family: var(--round); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; color: var(--cream); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
a { color: var(--ochre); text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; background: var(--ochre); color: var(--base); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- vertical side header ---------- */
body { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 100vh; background-image: linear-gradient(to right, var(--panel) 249px, var(--rule) 249px, var(--rule) 250px, transparent 250px), url("assets/motif-weave.svg"); background-size: auto, 12px 12px; }
.side-header { grid-row: 1 / span 2; grid-column: 1; position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 1.6rem; padding: 1.6rem 1.3rem; background: var(--panel); border-right: 1px solid var(--rule); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; color: var(--cream); text-decoration: none; }
.brand img { width: 84px; height: auto; border: 1px solid var(--rule); }
.brand-name { font-weight: 700; font-size: 1.32rem; line-height: 1.15; }
.brand:hover .brand-name { color: var(--clay); }
.main-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.main-nav li { border-bottom: 1px solid var(--rule); }
.main-nav a { display: block; padding: 0.62rem 0.2rem 0.62rem 0.8rem; border-left: 4px solid transparent; color: var(--text); font-weight: 600; text-decoration: none; }
.main-nav a:hover { border-left-color: var(--sage); color: var(--cream); }
.main-nav a[aria-current="page"] { border-left-color: var(--clay); color: var(--cream); background: var(--panel-2); }
.side-contact { margin-top: auto; font-size: 0.92rem; color: var(--muted); }
.side-contact p { margin: 0 0 0.35rem; }
.side-contact .label { margin-bottom: 0.3rem; }
.page-main { grid-column: 2; min-width: 0; }
.site-footer { grid-column: 2; }

/* ---------- content ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: clamp(1.1rem, 3.5vw, 2.6rem); }
.sec { padding-block: clamp(2rem, 4.5vw, 3rem); border-bottom: 1px solid var(--rule); }
.sec:last-child { border-bottom: 0; }
.label { display: block; margin: 0 0 0.45rem; color: var(--clay); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.2rem 0.7rem; border: 1px solid var(--sage); color: var(--sage); font-weight: 600; font-size: 0.9rem; line-height: 1.45; max-width: 100%; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--text); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.hero-art { display: block; width: 100%; border: 1px solid var(--rule); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1.25rem; border: 1px solid var(--clay); background: var(--clay); color: var(--base); font-family: var(--round); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--base); }
.btn-line { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--base); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* home: aisles and counter list */
.aisles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.aisles li { border-bottom: 1px solid var(--rule); }
.aisles a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.8rem 0.6rem 0.8rem 0; color: var(--text); text-decoration: none; }
.aisles img { width: 52px; height: 52px; background: var(--panel); border: 1px solid var(--rule); }
.aisles .a-name { display: block; font-weight: 700; color: var(--cream); }
.aisles .a-meta { display: block; font-size: 0.88rem; color: var(--muted); }
.aisles a:hover .a-name { color: var(--clay); }
.notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.notes li { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.spot { padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid var(--clay); background: var(--panel); }
.deal { display: inline-block; padding: 0.15rem 0.6rem; background: var(--ochre); color: var(--base); font-weight: 700; }

/* ---------- catalog: price tables ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.jump a { font-weight: 600; }
.cat { scroll-margin-top: 1rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.cat:first-child { margin-top: 0; }
.cat-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; }
.cat-head img { width: 56px; height: 56px; flex: none; background: var(--panel); border: 1px solid var(--rule); }
.cat-head h2 { margin: 0; letter-spacing: 0.04em; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.price-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--cream); }
.price-table th, .price-table td { padding: 0.75rem 0.9rem 0.75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.price-table thead th { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.price-table tbody th { width: 36%; color: var(--cream); font-weight: 700; }
.price-table td.desc { color: var(--muted); }
.price-table td.price, .price-table thead th.price { width: 10.5rem; padding-right: 0; text-align: right; white-space: nowrap; font-weight: 700; color: var(--ochre); font-variant-numeric: tabular-nums; }
.price-table td.price.quote { white-space: normal; color: var(--clay); }
.price-table td.price.quote a { display: block; margin-top: 0.25rem; white-space: nowrap; font-weight: 600; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.offers li { padding: 1rem 1.1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--panel); }
.offers h3 { margin-bottom: 0.3rem; }
.offers p { margin: 0 0 0.6rem; color: var(--muted); }
.offers p:last-child { margin-bottom: 0; }

/* ---------- about / contact ---------- */
.story .first { font-size: 1.16rem; color: var(--cream); }
.story p { color: var(--muted); }
.facts, .details { margin: 0; border-top: 1px solid var(--rule); }
.facts div, .details div { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.facts dt, .details dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.facts dd, .details dd { margin: 0.1rem 0 0; color: var(--cream); font-weight: 700; }
.details address { font-style: normal; }
.boxed { padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid var(--rule); background: var(--panel); }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-weight: 700; font-size: 1.4rem; color: var(--cream); }
.hours th, .hours td { padding: 0.55rem 0.5rem 0.55rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.hours thead th { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.hours tbody th { color: var(--cream); font-weight: 700; }
.hours td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours td.closed { color: var(--clay); }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--rule); background: var(--panel); }
.map-link { margin: 0.7rem 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); background: #22120e; color: var(--muted); font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--ochre); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem 2rem; padding-block: 2rem 1.2rem; }
.footer-name { margin: 0 0 0.2rem; font-weight: 700; font-size: 1.2rem; color: var(--cream); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.3rem; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { grid-column: 1 / -1; margin: 0.4rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--rule); font-size: 0.86rem; }

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { display: block; background-image: url("assets/motif-weave.svg"); background-size: 12px 12px; }
  .side-header { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; padding: 0.9rem 1rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 58px; }
  .main-nav { width: 100%; }
  .main-nav ul { display: flex; flex-wrap: wrap; border-top: 0; gap: 0.3rem; }
  .main-nav li { border-bottom: 0; }
  .main-nav a { padding: 0.3rem 0.75rem; border: 1px solid var(--rule); border-left-width: 1px; }
  .main-nav a[aria-current="page"] { border-color: var(--clay); background: var(--clay); color: var(--base); }
  .side-contact { display: none; }
}
@media (max-width: 640px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: auto; }
  .price-table tr { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { width: auto; }
  .price-table td.desc { margin: 0.15rem 0 0.35rem; }
  .price-table td.price { width: auto; text-align: left; }
  .offers { grid-template-columns: 1fr; }
  .footer-inner { 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; }
}
.split.top { align-items: start; }
