/* Blue Mountain Gold LLC: deep notary navy, seal gold, ribbon burgundy and document cream; pill navigation, saturated
   navy bands with white text over white content, full-width bands with alternating alignment, heavy slab headings
   with a sans body, compact rows with gold price badges, thick 3px outlines and no shadows, guilloche texture */
@font-face {
  font-family: "Anvil Slab";
  src: url("fonts/anvil-slab-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1f3c7a;
  --navy-d: #0e1a36;
  --gold: #c9a227;
  --gold-l: #e6c868;
  --wine: #7a2335;
  --cream: #faf6ec;
  --white: #ffffff;
  --ink: #0e1a36;
  --muted: #4d5a72;
  --rule: #dde3ee;
  --slab: "Anvil Slab", Rockwell, Georgia, serif;
  --sans: "Work Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--wine); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 800; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.05rem; line-height: 1.3; }
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 16px; border-radius: 999px;
  background: var(--gold); color: var(--navy-d); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header with pill navigation */
.site-header { background: var(--white); border-bottom: 3px solid var(--navy-d); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 68px; height: 68px; }
.brand-name { font-family: var(--slab); font-weight: 800; font-size: 1.45rem; }
.pills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: block; padding: 7px 18px; border: 3px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 700; text-decoration: none; }
.pills a:hover { background: var(--cream); }
.pills a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* full-width bands, alternating alignment */
.band { padding: 60px 0; }
.band.slim { padding: 48px 0 44px; }
.band.dark { background: var(--navy) url("assets/motif-guilloche.svg") 0 0 / 80px 24px; color: var(--white); }
.band.dark h1, .band.dark h2, .band.dark h3 { color: var(--white); }
.band.dark a:not(.btn) { color: var(--gold-l); }
.band.light { background: var(--white); }
.band.cream { background: var(--cream); border-block: 3px solid var(--navy-d); }
.band-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.band-row.reverse > .band-text, .band-row.reverse > .band-head { order: 2; }
.band-row.reverse { grid-template-columns: 0.85fr 1.15fr; }
.band.cat .band-row { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.band.cat .band-row.reverse { grid-template-columns: minmax(0, 1fr) 300px; }
.band-head { display: flex; flex-direction: column; gap: 12px; }
.band-head img { width: 64px; height: 64px; }
.band-head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.band-row.reverse .band-head { text-align: right; align-items: flex-end; }
.band-art { border: 3px solid var(--gold); background: var(--cream); }
.hero-art { width: 100%; }
.tag { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border: 3px solid var(--gold); border-radius: 999px; font-weight: 700; font-size: 0.88rem; }
.lede { font-size: 1.15rem; color: #dfe7f6; max-width: 38em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.btn { display: inline-block; padding: 10px 22px; border: 3px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--navy-d); border-color: var(--navy-d); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-d); }
.btn-gold:hover { background: var(--gold-l); border-color: var(--gold-l); color: var(--navy-d); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy-d); }
.desk-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy-d); }
.desk-list a { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.desk-list a:hover strong { color: var(--wine); }
.desk-list img { width: 48px; height: 48px; flex: none; }
.desk-list strong { display: block; font-family: var(--slab); font-size: 1.2rem; }
.desk-list small { color: var(--muted); }
.big-note { font-family: var(--slab); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--navy); border-left: 6px solid var(--gold); padding-left: 22px; margin: 0; }
.big-note.light { color: var(--white); }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--gold); }
.ruled li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); color: #dfe7f6; }
.ruled strong { color: var(--white); }
.box { border: 3px solid var(--navy-d); background: var(--white); padding: 26px; color: var(--ink); }
.band.dark .box { background: var(--navy-d); border-color: var(--gold); color: var(--white); }
.spot p { color: #dfe7f6; }
.kicker { margin: 0 0 6px; color: var(--gold-l) !important; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* compact rows with gold price badges */
.jump { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: block; padding: 4px 14px; border: 3px solid var(--gold); border-radius: 999px; color: var(--white) !important; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { background: var(--gold); color: var(--navy-d) !important; }
.cat { scroll-margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy-d); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.row-text { min-width: 0; }
.row-text h3 { display: inline; margin: 0; }
.row-text p { display: inline; margin: 0; color: var(--muted); font-size: 0.94rem; }
.call { font-weight: 700; white-space: nowrap; }
.badge { display: inline-block; flex: none; padding: 3px 12px; border: 3px solid var(--navy-d); background: var(--gold-l); color: var(--navy-d); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.badge-q { background: var(--white); border-color: var(--wine); color: var(--wine); white-space: normal; max-width: 12em; text-align: center; line-height: 1.3; }
.light-rows { border-top-color: var(--gold); }
.light-rows .row { border-bottom-color: rgba(255, 255, 255, 0.22); }
.light-rows .row-text p { color: #dfe7f6; }
.light-rows .badge { border-color: var(--gold); background: var(--gold); }
#featured .btn-row { margin-top: 20px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.25rem; line-height: 1.5; }
.facts { margin: 0 0 16px; }
.facts div { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--wine); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 800; font-size: 1.8rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); border-bottom: 3px solid var(--navy-d); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hours tbody th { padding-right: 14px; }
.hours td { white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; white-space: normal; color: var(--muted); font-size: 0.9rem; }
.note-line { margin: 16px 0 0; padding: 10px 14px; border: 3px solid var(--gold); background: var(--cream); }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--navy-d); background: var(--white); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--navy-d); color: #c9d4ea; padding: 40px 0 24px; }
.site-footer a { color: var(--gold-l); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-family: var(--slab); font-weight: 800; font-size: 1.35rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid #23345e; font-size: 0.88rem; }

@media (max-width: 1000px) {
  .head-row { flex-direction: column; align-items: flex-start; }
  .band-row, .band-row.reverse, .band.cat .band-row, .band.cat .band-row.reverse { grid-template-columns: 1fr; gap: 26px; }
  .band-row.reverse > .band-text, .band-row.reverse > .band-head { order: 0; }
  .band-row.reverse .band-head { text-align: left; align-items: flex-start; }
  .band-head { flex-direction: row; align-items: center; }
}
@media (max-width: 700px) {
  .band { padding: 44px 0; }
  .box { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .pills, .pills ul { width: 100%; }
  .pills ul { display: grid; grid-template-columns: 1fr 1fr; }
  .pills a { text-align: center; padding: 7px 8px; }
  .map-frame { height: 300px; }
}
@media (min-width: 1001px) {
  .band.cat .band-row.reverse > .band-text { order: 1; }
  .band.cat .band-row.reverse > .band-head { order: 2; }
}
