/* American Heritage Gold LLC: muted pine, clay and harvest gold; saturated bands over white; 4px corners */
@font-face {
  font-family: "DejaVu Serif Condensed";
  src: url("fonts/dejavu-serif-condensed-bold.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-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #3e5641;
  --pine-deep: #1d2a22;
  --sage: #8ea486;
  --sage-tint: #eef2ea;
  --clay: #9a5b3c;
  --gold: #c69a3e;
  --gold-tint: #f6eedb;
  --cream: #f6f2e8;
  --ink: #23302a;
  --muted: #55615a;
  --line: #e2e0d6;
  --head: "DejaVu Serif Condensed", Rockwell, "Courier New", Georgia, serif;
  --body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.1rem; }
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: var(--r);
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* utility strip + header with pill nav */
.util { background: var(--pine-deep); color: #e9efe6; font-size: 0.88rem; }
.util .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding: 7px 0; }
.util a { color: #f1d9a0; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { 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; }
.brand img { width: 58px; height: 58px; border-radius: var(--r); }
.brand-name { font-family: var(--head); font-size: 1.3rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a {
  display: block; padding: 8px 18px; border-radius: 999px; background: var(--sage-tint); color: var(--pine);
  text-decoration: none; font-weight: 700;
}
.main-nav a:hover { background: #dfe8da; color: var(--pine-deep); }
.main-nav a[aria-current="page"] { background: var(--pine); color: #fff; }

/* labels and buttons */
.tag { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: var(--r); background: var(--gold); color: var(--ink); font-weight: 700; font-size: 0.88rem; }
.kicker { display: block; margin-bottom: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--r); background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; border: 2px solid var(--gold); }
.btn:hover { background: #d9b064; border-color: #d9b064; color: var(--ink); }
.btn-line { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-line:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.badge { display: inline-block; white-space: nowrap; padding: 4px 10px; border-radius: var(--r); background: var(--gold); color: var(--ink); font-weight: 700; font-size: 0.95rem; }

/* saturated bands with white text */
.band { color: #fff; padding: 56px 0; }
.band.pine { background: var(--pine) url("assets/motif-paws.svg") 0 0 / 60px 60px; }
.band.clay { background: var(--clay); }
.band h1, .band h2, .band h3 { color: #fff; }
.band .kicker { color: #f1d9a0; }
.band a:not(.btn) { color: #fff; }
.band .btn-line { color: #fff; border-color: #fff; }
.band .btn-line:hover { background: #fff; color: var(--pine); }
.band .lede { color: #e9efe6; font-size: 1.12rem; }

/* editorial columns: narrow side column + main column(s) */
.ed { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; }
.ed-hero { display: grid; grid-template-columns: 210px 1.05fr 0.95fr; gap: 38px; align-items: center; }
.side { font-size: 0.95rem; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.side-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.side-list span { display: block; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: #f1d9a0; font-weight: 700; }
.hero-art { width: 100%; border-radius: var(--r); border: 6px solid #fff; }
.section { padding: 64px 0; }
.section.tint { background: var(--cream); }
.side-head h2 { font-size: 1.6rem; }
.side-head p { color: var(--muted); font-size: 0.97rem; }
.rule-top { border-top: 4px solid var(--pine); padding-top: 14px; }

/* home: aisle list */
.aisles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.aisles a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.aisles a:hover .a-name { color: var(--clay); }
.aisles img { width: 56px; height: 56px; padding: 6px; border-radius: var(--r); background: var(--sage-tint); }
.a-name { font-family: var(--head); font-size: 1.1rem; }
.a-meta { font-size: 0.88rem; color: var(--muted); }
.cols { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.cols li { break-inside: avoid; padding: 12px 0 12px 22px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.cols li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }
.band .cols strong { color: #fff; }
.spot { border-left: 6px solid var(--gold); padding: 6px 0 6px 26px; }
.spot p { color: var(--muted); font-size: 1.08rem; }

/* products: sticky index + compact rows with price badges */
.index-box { position: sticky; top: 18px; }
.index-box h2 { font-size: 1.15rem; margin-bottom: 10px; }
.index { list-style: none; margin: 0 0 22px; padding: 0; border-top: 4px solid var(--pine); }
.index a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.index a:hover { color: var(--clay); }
.index span { color: var(--muted); font-size: 0.88rem; }
.mini-hours { font-size: 0.9rem; color: var(--muted); }
.mini-hours strong { color: var(--ink); }
.cat { margin-bottom: 40px; scroll-margin-top: 16px; }
.cat-strip { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--r) var(--r) 0 0; color: #fff; }
.cat-strip.pine { background: var(--pine); }
.cat-strip.clay { background: var(--clay); }
.cat-strip img { width: 50px; height: 50px; padding: 5px; border-radius: var(--r); background: #fff; }
.cat-strip h2 { margin: 0; color: #fff; font-size: 1.35rem; letter-spacing: 0.02em; }
.cat-strip .n { margin-left: auto; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 0 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows h3 { margin: 0; font-family: var(--body); font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.rows p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.rows .price { text-align: right; }
.rows .quote .badge { white-space: normal; background: var(--gold-tint); border: 1px solid var(--gold); }
.rows .quote a { display: block; margin-top: 4px; font-size: 0.88rem; font-weight: 700; white-space: nowrap; }

.offers { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offers li { background: #fff; color: var(--ink); border-radius: var(--r); padding: 22px 24px; border-top: 6px solid var(--gold); }
.band .offers h3 { color: var(--ink); }
.offers p { margin: 0 0 10px; color: var(--muted); }
.offers p:last-child { margin-bottom: 0; }

/* about */
.facts { margin: 0; }
.facts div { padding: 11px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.story p { font-size: 1.07rem; }
.story p.first::first-letter { font-family: var(--head); float: left; font-size: 3.6rem; line-height: 0.9; padding: 4px 8px 0 0; color: var(--pine); }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.why li { border-top: 4px solid var(--gold); padding-top: 14px; color: #f1f4ee; }
.why strong { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 1.15rem; color: #fff; }

/* contact */
.details { margin: 0 0 20px; }
.details div { padding: 11px 0; border-top: 1px solid var(--line); }
.details dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.hours caption { text-align: left; font-family: var(--head); font-size: 1.6rem; margin-bottom: 10px; color: var(--ink); }
.hours thead th { text-align: left; background: var(--pine); color: #fff; padding: 10px 14px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hours thead th:first-child { border-radius: var(--r) 0 0 0; }
.hours thead th:last-child { border-radius: 0 var(--r) 0 0; }
.hours tbody th, .hours tbody td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.hours tbody tr:nth-child(even) { background: var(--cream); }
.hours tbody td { white-space: nowrap; }
.map-frame { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--r); background: var(--sage-tint); }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { background: var(--pine-deep); color: #dfe6dc; padding: 46px 0 24px; border-top: 6px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 30px; }
.footer-name { font-family: var(--head); font-size: 1.25rem; color: #fff; margin-bottom: 6px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #f1d9a0; }
.footer-bottom { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9rem; }

@media (max-width: 1020px) {
  .ed-hero { grid-template-columns: 1fr 1fr; }
  .ed-hero .side { grid-column: 1 / -1; order: 3; }
  .side-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
  .side-list li:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .brand { justify-content: center; }
  .main-nav ul { justify-content: center; }
  .ed, .ed-hero { grid-template-columns: 1fr; gap: 26px; }
  .ed-hero .side { order: 1; }
  .ed-hero .hero-art { order: 2; }
  .index-box { position: static; }
  .aisles, .why, .offers, .footer-grid { grid-template-columns: 1fr; }
  .why { gap: 22px; }
  .cols { columns: 1; }
  .section, .band { padding: 44px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .util .wrap { justify-content: center; text-align: center; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .main-nav a { text-align: center; padding: 8px 10px; }
  .side-list { grid-template-columns: 1fr; }
  .side-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
  .rows li { grid-template-columns: 1fr; }
  .rows .price { text-align: left; }
  .cat-strip h2 { font-size: 1.12rem; }
  .map-frame { height: 320px; }
}
.side-title { font-size: 1.4rem; }
