/* Rocky Mountain Frontier LLC — shared styles
   Seed 5-1-7-3-5-3-6: cool slate, pine and glacier blue · bright white base with a strong slate accent ·
   narrow document-like column · condensed bold uppercase headings (Roboto Condensed) + Inter body ·
   pill-button nav in a tray · flat tiles grouped by category · soft shadows, no borders ·
   motif: low mountain-ridge silhouette */

@font-face { font-family: "Roboto Condensed"; src: url("fonts/roboto-condensed-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --ice: #e4edf5;
  --slate: #1d4f7c;
  --slate-deep: #10273d;
  --pine: #2e6b57;
  --glacier: #68aade;
  --ink: #16212c;
  --muted: #4f5d6b;
  --cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(16, 39, 61, 0.06), 0 6px 20px rgba(16, 39, 61, 0.09);
  --shadow-lift: 0 2px 4px rgba(16, 39, 61, 0.08), 0 12px 28px rgba(16, 39, 61, 0.13);
  --ridge: url("assets/motif-ridge.svg") 0 100% / 120px 24px repeat-x;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body { margin: 0; font-family: var(--sans); font-size: 1.02rem; line-height: 1.68; color: var(--ink); background: var(--white); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; line-height: 1.06; letter-spacing: 0.01em; margin: 0 0 0.45em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.12rem; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
a { color: var(--slate); text-underline-offset: 0.18em; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; }

/* narrow document column */
.doc { width: 100%; max-width: 47rem; margin: 0 auto; padding-inline: clamp(1.1rem, 4.5vw, 1.6rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: 999px; background: var(--slate); color: var(--white); }
.skip-link:focus { top: 1rem; }
.ridge { height: 24px; background: var(--ridge); }

/* ---------- header: brand above a tray of pill buttons ---------- */
.site-header { padding-block: 1.2rem 0.4rem; background: var(--white); }
.header-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: var(--ink); text-decoration: none; }
.brand img { width: 64px; height: auto; flex: none; border-radius: 12px; box-shadow: var(--shadow); }
.brand-name { font-family: var(--cond); font-weight: 700; font-size: clamp(1.45rem, 3.4vw, 1.8rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.brand:hover .brand-name { color: var(--slate); }
.main-nav { width: 100%; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; margin: 0; padding: 0.32rem; border-radius: 999px; background: var(--ice); }
.main-nav a { display: inline-block; padding: 0.42rem 1.05rem; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; line-height: 1.3; }
.main-nav a:hover { background: var(--white); box-shadow: var(--shadow); color: var(--slate); }
.main-nav a[aria-current="page"] { background: var(--slate); color: var(--white); box-shadow: var(--shadow); }

/* ---------- sections ---------- */
.block { padding-block: clamp(2rem, 5vw, 3rem); }
.block + .block { padding-top: 0; }
.ice { background: var(--ice); }
.ice + .block { padding-top: clamp(2rem, 5vw, 3rem); }
.hero { padding-block: clamp(1.8rem, 4.5vw, 2.6rem) clamp(1.6rem, 4vw, 2.4rem); }
.hero-art { display: block; width: 100%; margin-top: 1.6rem; border-radius: var(--r); box-shadow: var(--shadow); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.22rem 0.85rem; border-radius: 999px; background: var(--ice); color: var(--slate); font-weight: 600; font-size: 0.88rem; line-height: 1.5; box-shadow: var(--shadow); }
.lede { font-size: clamp(1.08rem, 2vw, 1.2rem); color: var(--muted); }
.kicker { margin: 0 0 0.3rem; color: var(--pine); font-family: var(--cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.68rem 1.35rem; border: 0; border-radius: var(--r); background: var(--slate); color: var(--white); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; box-shadow: var(--shadow); }
.btn:hover { background: var(--slate-deep); color: var(--white); box-shadow: var(--shadow-lift); }
.btn-soft { background: var(--white); color: var(--slate); }
.btn-soft:hover { background: var(--ice); color: var(--slate-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* ---------- flat tiles ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.tile { padding: 1rem 1.1rem 1.05rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.ice .tile { background: var(--white); }
.tile h3 { margin-bottom: 0.25rem; }
.tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tile .pr { display: block; margin-top: 0.6rem; font-family: var(--cond); font-weight: 700; font-size: 1.35rem; color: var(--slate); font-variant-numeric: lining-nums tabular-nums; }
.tile .pr.quote { font-family: var(--sans); font-size: 0.95rem; color: var(--pine); }
.tile .pr.quote a { display: block; font-weight: 600; }
.aisles a.tile { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0.85rem; align-items: center; color: var(--ink); text-decoration: none; }
.aisles a.tile:hover { box-shadow: var(--shadow-lift); }
.aisles a.tile:hover h3 { color: var(--slate); }
.aisles img { width: 52px; height: 52px; }
.aisles h3 { margin: 0; }
.aisles .meta { display: block; color: var(--muted); font-size: 0.9rem; }
.aisles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0.7rem 0 0.7rem 2rem; color: var(--muted); }
.checks li + li { box-shadow: inset 0 1px 0 #dde7f0; }
.checks li::before { content: ""; position: absolute; left: 0.1rem; top: 1.02rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--pine); box-shadow: inset 0 0 0 4px #cfe3db; }
.checks strong { color: var(--ink); }

/* catalog */
.jump { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.32rem 0.9rem; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.jump a:hover { color: var(--slate); box-shadow: var(--shadow-lift); }
.cat { scroll-margin-top: 1rem; }
.cat + .cat { margin-top: 2.4rem; }
.cat-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.cat-head img { width: 54px; height: 54px; padding: 6px; border-radius: 50%; background: var(--ice); flex: none; }
.cat-head h2 { margin: 0; }
.offers .tile { background: var(--slate); }
.offers .tile h3 { color: var(--white); }
.offers .tile p { color: #d6e4f0; }
.offers { grid-template-columns: 1fr; }

/* about / contact */
.story p { color: var(--muted); }
.story .first { color: var(--ink); font-size: 1.14rem; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.facts div { padding: 0.85rem 1rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.facts dt { color: var(--pine); font-family: var(--cond); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; line-height: 1.4; }
.details { margin: 0; display: grid; gap: 0.9rem; }
.details div { padding: 0.85rem 1rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.details dt { color: var(--pine); font-family: var(--cond); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.details dd { margin: 0; font-weight: 600; }
.details address { font-style: normal; }
.hours-card { padding: 1.1rem 1.2rem 0.6rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-family: var(--cond); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; }
.hours th, .hours td { padding: 0.5rem 0; text-align: left; box-shadow: inset 0 -1px 0 #dde7f0; }
.hours thead th { color: var(--pine); font-family: var(--cond); font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: inset 0 -2px 0 var(--slate); }
.hours tbody th { font-weight: 600; padding-right: 0.8rem; }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { box-shadow: none; }
.hours td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.map-frame { display: block; width: 100%; height: 360px; border: 0; border-radius: var(--r); box-shadow: var(--shadow); background: var(--ice); }
.map-link { margin-top: 0.9rem; }

/* footer */
.site-footer { background: var(--slate-deep); color: #c8d6e3; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #a9d0ee; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem 2rem; padding-block: 2.1rem 1.3rem; }
.footer-grid nav { grid-column: 1 / -1; }
.footer-grid nav .footer-list { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; }
.footer-name { margin: 0 0 0.3rem; font-family: var(--cond); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.4rem; color: #a9d0ee; font-family: var(--cond); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; }

@media (max-width: 620px) {
  .tiles, .facts { grid-template-columns: 1fr; }
  .aisles li:last-child:nth-child(odd) { grid-column: auto; }
  .brand img { width: 54px; }
  .main-nav ul { border-radius: 18px; }
  .main-nav a { padding: 0.38rem 0.8rem; font-size: 0.9rem; }
  .footer-grid { 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; }
}
