/* Blue Mountain Pinnacle LLC: deep, rich trade palette (mountain blue, brick, concrete grey, cedar) on a near-black
   base with light text; full-width bands with alternating alignment, slab serif headings with a sans body,
   pill-button navigation, flat tiles grouped by category, thick 3px outlines and no shadows, block-wall texture */
@font-face {
  font-family: "Ledger Slab";
  src: url("fonts/ledger-slab-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ledger Slab";
  src: url("fonts/ledger-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #101418;
  --band: #161c23;
  --surface: #1e2630;
  --blue: #5492e8;
  --brick: #c0603a;
  --concrete: #9aa3ad;
  --snow: #f4f8fc;
  --soft: #c3cbd5;
  --line: #2f3a47;
  --slab: "Ledger Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--snow); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--snow); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 18px; border-radius: 999px;
  background: var(--blue); color: var(--base); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header with pill-button nav in a dark capsule */
.site-header { background: var(--base); border-bottom: 3px solid var(--blue); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--snow); text-decoration: none; }
.brand img { width: 60px; height: 60px; border-radius: 12px; border: 3px solid var(--line); }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: 1.45rem; }
.main-nav ul { list-style: none; margin: 0; padding: 5px; display: flex; flex-wrap: wrap; gap: 4px; border-radius: 999px; background: var(--surface); }
.main-nav a { display: block; padding: 7px 16px; border-radius: 999px; color: var(--snow); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { background: var(--line); }
.main-nav a[aria-current="page"] { background: var(--blue); color: var(--base); }

/* full-width bands, alternating alignment */
.band { padding: 60px 0; }
.band.alt { background: var(--band) url("assets/motif-blocks.svg") 0 0 / 48px 24px; }
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.row.top { align-items: start; }
.row.rev .txt { order: 2; text-align: right; }
.row.rev > :not(.txt) { order: 1; }
.row.rev .btn-row { justify-content: flex-end; }
.pill { display: inline-block; margin: 0 0 14px; padding: 3px 14px; border-radius: 999px; border: 3px solid var(--line); color: var(--soft); font-weight: 600; font-size: 0.84rem; text-decoration: none; }
.pill.blue { border-color: var(--blue); color: var(--blue); }
.lede { font-size: 1.16rem; color: var(--soft); max-width: 38em; }
.art { border: 3px solid var(--blue); border-radius: 22px; overflow: hidden; }
.hero-art { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 999px; border: 3px solid var(--snow); color: var(--snow); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--snow); color: var(--base); }
.btn.solid { background: var(--blue); border-color: var(--blue); color: var(--base); }
.btn.solid:hover { background: var(--snow); border-color: var(--snow); }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-tile { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border: 3px solid var(--line); border-radius: 22px; color: var(--snow); text-decoration: none; background: var(--base); }
.cat-tile:hover { border-color: var(--blue); }
.cat-tile img { width: 54px; height: 54px; }
.cn { font-family: var(--slab); font-weight: 700; font-size: 1.25rem; }
.cat-tile .pill { margin: 0; align-self: flex-start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 10px; background: var(--brick); }
.ticks strong { color: var(--snow); }
.row.rev .ticks li { text-align: left; }
.spot { padding: 28px; border: 3px solid var(--blue); border-radius: 22px; background: var(--base); }
.spot p { color: var(--soft); }
.amount { font-family: var(--slab); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--blue) !important; }

/* flat tiles grouped by category */
.jump { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump .pill { margin: 0; }
.jump .pill:hover { border-color: var(--blue); color: var(--snow); }
.cat { scroll-margin-top: 10px; }
.cat-head img { width: 70px; height: 70px; margin-bottom: 12px; }
.row.rev .cat-head img { margin-left: auto; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 3px solid var(--line); border-radius: 22px; background: var(--base); }
.band:not(.alt) .tile { background: var(--surface); }
.tile h3 { margin: 0; }
.tile .d { margin: 0 0 8px; color: var(--soft); font-size: 0.96rem; }
.tile .price { margin: auto 0 0; align-self: flex-start; padding: 3px 14px; border-radius: 999px; background: var(--blue); color: var(--base); font-weight: 600; }
.tile .call { margin-top: 6px; font-weight: 600; font-size: 0.92rem; }

/* about + contact */
.story p { color: var(--soft); }
.story p.first { color: var(--snow); font-size: 1.3rem; line-height: 1.5; }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.85rem; color: var(--concrete); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.hours thead th { text-align: left; padding: 8px 10px 8px 0; font-size: 0.85rem; color: var(--concrete); border-bottom: 3px solid var(--blue); }
.hours tbody th, .hours tbody td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.hours td { white-space: nowrap; }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--blue); border-radius: 22px; background: var(--surface); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: #0a0d10; color: var(--soft); padding: 36px 0 22px; border-top: 3px solid var(--line); }
.site-footer a { color: var(--snow); }
.site-footer a:hover { color: var(--blue); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.footer-name { font-family: var(--slab); font-weight: 700; font-size: 1.4rem; color: var(--snow); margin-bottom: 4px; }
.site-footer address { margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; }

@media (max-width: 960px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .row, .row.rev { grid-template-columns: 1fr; gap: 30px; }
  .row.rev .txt { order: 0; text-align: left; }
  .row.rev > :not(.txt) { order: 1; }
  .row.rev .btn-row { justify-content: flex-start; }
  .row.rev .cat-head img { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { padding: 44px 0; }
  .main-nav ul { gap: 2px; padding: 4px; }
  .main-nav a { padding: 6px 10px; font-size: 0.85rem; }
  .cat-grid, .tiles { grid-template-columns: 1fr; }
  .hours td { white-space: normal; }
  .map-frame { height: 300px; }
}
