/* Bear Paw Army Navy Store — main stylesheet
   Palette: the old site's steel grey (#5E5E5E) and the rust of its steel header,
   with darker/lighter steps, plus olive and khaki for the army-navy trade. */

:root {
  /* REPLACEABLE IMAGES */
  /* (no CSS background images: every picture is an <img> in the HTML) */

  --steel: #5e5e5e;
  --steel-600: #4a4a4a;
  --steel-700: #3d3d3d;
  --steel-800: #2f2f2f;
  --steel-900: #222222;
  --steel-100: #e4e4e2;
  --paper: #f0f0ee;
  --white: #ffffff;
  --rust: #8c4019;
  --rust-600: #9a4a22;
  --rust-800: #6e3214;
  --rust-light: #e0a27a;
  --olive: #4b5320;
  --khaki: #c9b48a;
  --ink: #232323;
  --ink-soft: #4a4a4a;

  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, Helvetica, sans-serif;

  --wrap: 72rem;
  --gap: clamp(1rem, 3vw, 2rem);
  --section: clamp(3rem, 7vw, 5.5rem);
  --radius: 4px;
}

@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-underline-offset: 0.15em; }
a:hover { color: var(--rust-800); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .facts :focus-visible, .section-dark :focus-visible,
.page-head :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--rust-light); }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 0.75rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Buttons (one CTA vocabulary: "Call 770-228-6334" + "Get directions") ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--rust); color: var(--white); border-color: var(--rust); box-shadow: 0 2px 0 var(--rust-800); }
.btn-primary:hover { background: var(--rust-800); border-color: var(--rust-800); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--steel); }
.btn-outline:hover { background: var(--steel-700); border-color: var(--steel-700); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header: the brushed steel band with the name in white italic caps ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--white);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #6c6c6c 0%, var(--steel) 45%, #505050 100%);
  border-bottom: 4px solid var(--rust);
  border-image: linear-gradient(90deg, var(--rust-800), #b5653a 35%, var(--rust) 70%, var(--rust-800)) 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding-block: 0.4rem; }
.wordmark {
  color: var(--white); text-decoration: none; display: flex; flex-direction: column; line-height: 1;
  margin-right: auto;
}
.wordmark:hover { color: var(--white); }
.wordmark-name {
  font-family: var(--font-head); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.3rem, 4.6vw, 2rem); letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0,0,0,.45), 0 0 1px rgba(0,0,0,.3);
}
.wordmark-sub {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em;
  color: var(--white); margin-top: 0.2rem; text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.header-call { display: none; }
.header-call-compact {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border-radius: var(--radius);
  background: var(--rust); color: var(--white); box-shadow: 0 2px 0 var(--rust-800);
}
.header-call-compact:hover { background: var(--rust-800); color: var(--white); }
.header-call-compact svg { width: 1.3rem; height: 1.3rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; padding: 0; border-radius: var(--radius);
  background: rgba(0,0,0,.18); color: var(--white); border: 1px solid rgba(255,255,255,.45); cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.js .nav-toggle { display: inline-flex; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.02em;
}
.site-nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--rust-light); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }

/* phone: nav is a row under the bar without JS, a drop-down with JS */
@media (max-width: 899px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; padding-bottom: 0.35rem; }
  .site-nav a { padding: 0.3rem 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav.is-open ul { flex-direction: column; gap: 0; padding: 0.25rem 0 0.75rem; }
  .js .site-nav.is-open a { padding: 0.7rem 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 1.3rem; }
}
@media (min-width: 900px) {
  .header-inner { min-height: 4.75rem; gap: 2rem; }
  .js .nav-toggle, .header-call-compact { display: none; }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav a { padding: 0.4rem 0; border-bottom: 2px solid transparent; }
  .site-nav a:hover { border-bottom-color: var(--rust-light); }
  .site-nav a[aria-current="page"] { text-decoration: none; border-bottom-color: var(--rust-light); }
  .header-call { display: inline-flex; min-height: 2.9rem; font-size: 1.15rem; padding: 0.5rem 1.1rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--steel-900); color: var(--white); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 20% 50%; }
.hero-body { padding-block: 1.75rem 2.5rem; position: relative; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .accent { color: var(--rust-light); }
.hero-lead { font-size: 1.15rem; max-width: 34rem; color: #ededed; }
.hero-lead strong { color: var(--white); }
.hero-address {
  display: flex; align-items: flex-start; gap: 0.5rem; margin: 1.25rem 0 0; color: #e2e2e2; font-size: 1rem;
}
.hero-address svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.25rem; color: var(--rust-light); }
.hero .btn-row { margin-top: 1.5rem; }

@media (min-width: 900px) {
  .hero { min-height: 38rem; display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { height: 100%; aspect-ratio: auto; object-position: 0% 50%; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,20,20,0) 20%, rgba(22,22,22,.78) 50%, rgba(22,22,22,.94) 70%);
  }
  .hero-body { padding-block: 4rem; z-index: 1; width: min(100% - 2 * var(--gap), var(--wrap)); }
  .hero-text { margin-left: auto; max-width: 33rem; }
}

/* ---------- Quick facts strip ---------- */
.facts { background: var(--steel); color: var(--white); }
.facts-grid { display: grid; gap: 0; padding-block: 0.5rem; }
.fact { display: flex; gap: 0.9rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.fact:last-child { border-bottom: 0; }
.fact svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--khaki); margin-top: 0.15rem; }
.fact h2 { font-size: 1.3rem; margin: 0 0 0.15rem; }
.fact p { margin: 0; color: #f2f2f2; }
.fact a { color: var(--white); font-weight: 600; }
.fact a:hover { color: var(--rust-light); }
.fact small { display: block; color: #e6e6e6; font-size: 0.9rem; }
@media (min-width: 760px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); padding-block: 1.25rem; }
  .fact { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.18); padding: 0.5rem 1.5rem; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-dark { background: var(--steel-800); color: var(--white); }
.section-dark a:not(.btn) { color: var(--rust-light); }
.section-steel { background: var(--steel-100); }
.intro { max-width: 40rem; font-size: 1.15rem; color: var(--ink-soft); }
.section-dark .intro { color: #e4e4e4; }

/* Since 1984 */
.since { display: grid; gap: 2rem; align-items: center; }
.since-badge {
  justify-self: start;
  display: grid; place-items: center; text-align: center;
  width: 11rem; height: 11rem; border-radius: 50%;
  border: 3px solid var(--steel); outline: 1px solid var(--steel); outline-offset: 5px;
  font-family: var(--font-head); color: var(--steel-700);
}
.since-badge span { display: block; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; }
.since-badge strong { display: block; font-style: italic; font-weight: 800; font-size: 3.4rem; line-height: 0.95; color: var(--rust); }
.since-text p { font-size: 1.125rem; }
.since-text .quote-line { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--steel-700); border-left: 4px solid var(--rust); padding-left: 1rem; }
@media (min-width: 760px) {
  .since { grid-template-columns: auto 1fr; gap: 3.5rem; }
  .since-badge { width: 13rem; height: 13rem; }
  .since-badge strong { font-size: 4.2rem; }
}

/* Categories (home overview) */
.cats { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px; background: #c9c9c6; border: 1px solid #c9c9c6; }
.cats li { background: var(--white); }
.cats a { display: block; height: 100%; padding: 1.5rem 1.4rem 1.4rem; text-decoration: none; color: var(--ink); border-top: 4px solid transparent; transition: border-color .15s, background-color .15s; }
.cats a:hover { border-top-color: var(--rust); background: #fbfbfa; }
.cats h3 { margin-bottom: 0.35rem; }
.cats p { margin: 0; color: var(--ink-soft); }
.cats .more { display: inline-block; margin-top: 0.75rem; font-weight: 600; color: var(--rust); }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(4, 1fr); } }

/* Visit band */
.visit { display: grid; gap: 2rem; align-items: center; }
.visit dl { margin: 0 0 1.5rem; display: grid; gap: 0.9rem; }
.visit dt { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--khaki); }
.visit dd { margin: 0; font-size: 1.1rem; }
.visit dd small { display: block; color: #d6d6d6; font-size: 0.92rem; }
@media (min-width: 900px) {
  .visit dl { grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
}

/* ---------- Inner page header ---------- */
.page-head { background: var(--steel-900); color: var(--white); }
.page-head-inner { display: grid; gap: 0; }
.page-head-text { padding-block: 2.25rem 2.5rem; }
.page-head h1 { margin-bottom: 0.3em; }
.page-head p { font-size: 1.15rem; color: #e8e8e8; max-width: 36rem; margin: 0; }
.page-head .btn-row { margin-top: 1.5rem; }
.page-head-media img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .page-head-inner { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .page-head-text { padding-block: 4rem; padding-right: 3rem; align-self: center; }
  .page-head-media { margin-right: calc((100vw - min(100vw - 2 * var(--gap), var(--wrap))) / -2); }
  .page-head-media img { height: 100%; object-fit: cover; }
}

/* ---------- Products (catalog widget) ---------- */
.catalog { display: grid; gap: 1.25rem; margin-top: 2rem; }
.catalog-item { background: var(--white); border-left: 5px solid var(--steel); padding: 1.5rem 1.5rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; }
.catalog-item:nth-child(odd) { border-left-color: var(--rust); }
.catalog-item h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.catalog-item p { margin: 0; color: var(--ink-soft); }
.catalog-item .btn { margin-top: 1rem; }
@media (min-width: 760px) { .catalog { grid-template-columns: repeat(2, 1fr); } }

.note {
  background: var(--white); border: 1px solid #d3d3cf; border-left: 5px solid var(--olive);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 46rem;
}
.note p:last-child { margin: 0; }

/* CTA band (repeated on every page) */
.cta-band { background: var(--rust-800); color: var(--white); }
.cta-band-inner { padding-block: 2.75rem; display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { margin: 0 0 0.25rem; }
.cta-band p { margin: 0; color: #f5e6dc; }
.cta-band .btn-primary { background: var(--white); color: var(--rust-800); border-color: var(--white); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.cta-band .btn-primary:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1fr auto; } }

/* ---------- How to order steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; background: var(--white); padding: 1.5rem 1.5rem 1.5rem 5rem; border-radius: var(--radius); border: 1px solid #d6d6d2; }
.steps li::before {
  content: counter(step); position: absolute; left: 1.4rem; top: 1.3rem;
  font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--rust);
}
.steps h2 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.steps p { margin: 0 0 0.75rem; color: var(--ink-soft); }
.steps p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- How to find us ---------- */
.find-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.address-block { font-style: normal; font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.25rem; }
.address-block strong { font-family: var(--font-head); font-size: 1.45rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 0.75rem; background: var(--white); }
.hours-table th, .hours-table td { text-align: left; padding: 0.6rem 0.9rem; border-bottom: 1px solid #dededa; }
.hours-table thead th { font-family: var(--font-head); font-size: 1.05rem; background: var(--steel-700); color: var(--white); border-bottom: 0; }
.hours-table tbody th { font-weight: 600; }
.small-note { font-size: 0.95rem; color: var(--ink-soft); }

/* Contact form */
.form { display: grid; gap: 1rem; background: var(--white); padding: 1.5rem; border-radius: var(--radius); border: 1px solid #d6d6d2; }
.form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fbfbfa;
  border: 1px solid #8f8f8b; border-radius: var(--radius); padding: 0.7rem 0.8rem;
}
.form input:focus, .form textarea:focus { outline: 3px solid var(--rust); outline-offset: 0; border-color: var(--rust); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 0.9rem 1rem; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { background: #e7ecd7; color: #2f3613; }
.form-status.err { background: #f6e3d9; color: var(--rust-800); }

/* ---------- 404 ---------- */
.notfound { text-align: left; max-width: 40rem; }
.notfound ul { padding-left: 1.2rem; }
.notfound li { margin: 0.4rem 0; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-900); color: #d9d9d9; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--rust-light); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
.footer-name { font-family: var(--font-head); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--white); line-height: 1.05; margin: 0 0 0.4rem; }
.site-footer h2 { font-size: 1.2rem; color: var(--khaki); margin-bottom: 0.6rem; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.footer-fine { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.25rem 1.5rem; font-size: 0.875rem; color: #bdbdbd; }
.footer-fine p { margin: 0.2rem 0; }
.footer-fine a { color: #d9d9d9; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

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

/* phone header order: name, call, menu, then the menu row */
@media (max-width: 899px) { .site-nav { order: 10; } }
@media (max-width: 899px) {
  .header-inner { gap: 0.55rem; }
  .wordmark { flex: 1 1 0; min-width: 0; }
  .wordmark-name { font-size: clamp(1.15rem, 5.4vw, 1.6rem); white-space: nowrap; }
  .wordmark-sub { font-size: 0.82rem; letter-spacing: 0.02em; white-space: nowrap; }
}
.hero h1 .accent { white-space: nowrap; }
