/* Northwest Can Equipment LLC: warm workshop colors (burnt orange, butter cream, walnut, warm stainless) in
   alternating light cream and dark walnut full-width sections; centered logo with the nav below; one narrow
   document-like column; classic serif headings with a sans body; category index column with item rows; pill
   buttons and tags; rivet-plate motif */
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-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;
}

:root {
  --cream: #f6eee0;
  --cream-2: #efe3cf;
  --white: #ffffff;
  --walnut: #2b1d17;
  --walnut-2: #3a2820;
  --orange: #c8641e;
  --orange-dk: #9c4a12;
  --orange-lt: #f1a66b;
  --steel: #cfc6b9;
  --rule: #e2d3bb;
  --text: #2b1d17;
  --muted: #65513f;
  --muted-dk: #d6c6b2;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dk); text-underline-offset: 3px; }
a:hover { color: var(--walnut); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--walnut); color: var(--white); padding: 8px 16px; border-radius: 999px; z-index: 10; }
.skip-link:focus { left: 8px; }
.doc { max-width: 760px; margin: 0 auto; padding-left: clamp(18px, 5vw, 28px); padding-right: clamp(18px, 5vw, 28px); }
.doc.wide { max-width: 1020px; }
.center { text-align: center; }

/* centered logo, nav below */
.site-header { text-align: center; padding: 26px 18px 16px; background: var(--cream); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--walnut); }
.brand img { width: 88px; border-radius: 50%; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.05; }
.main-nav ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.main-nav a { display: inline-block; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); color: var(--walnut); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { border-color: var(--orange); }
.main-nav a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* alternating light and dark full-width sections */
.sec { padding: 54px 0; }
.sec.light { background: var(--cream); color: var(--text); }
.sec.paper { background: var(--white); color: var(--text); padding-top: 40px; }
.sec.dark { background: var(--walnut) url("assets/motif-rivets.svg") repeat; background-size: 64px 64px; color: #f6eee0; }
.sec.dark h2, .sec.dark h3 { color: var(--white); }
.sec.dark a { color: var(--orange-lt); }
.tag { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); color: var(--orange-dk); font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.lede { font-size: 1.12rem; color: var(--muted); }
.center .btn-row { justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { display: inline-block; padding: 10px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--orange); }
.pill.solid { background: var(--orange); color: var(--white) !important; }
.pill.solid:hover { background: var(--orange-dk); border-color: var(--orange-dk); }
.pill.line { color: var(--walnut); background: var(--white); }
.pill.line:hover { background: var(--cream-2); }
.sec.dark .pill.line { background: transparent; color: var(--white) !important; border-color: var(--orange-lt); }
.hero-fig { margin: 34px 0 0; border-radius: 28px; overflow: hidden; }
.hero-art { width: 100%; }
.floor { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.floor a { display: flex; align-items: center; gap: 16px; padding: 10px 22px 10px 10px; border-radius: 999px; background: var(--walnut-2); border: 1px solid #5a4335; color: var(--white) !important; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.floor a::after { content: "→"; margin-left: auto; font-family: var(--sans); color: var(--orange-lt); }
.floor a:hover { border-color: var(--orange-lt); }
.floor img { width: 48px; border-radius: 50%; }
.note { margin-bottom: 40px; padding: 24px 26px; border-radius: 28px; background: var(--white); border: 1px solid var(--rule); }
.note strong { color: var(--orange-dk); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); color: var(--muted); }
.sec.dark .ticks li { border-bottom-color: #4d3a2f; color: var(--muted-dk); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 4px var(--cream); }
.sec.dark .ticks li::before { box-shadow: inset 0 0 0 4px var(--walnut); }
.ticks strong { color: var(--walnut); }
.sec.dark .ticks strong { color: var(--white); }

/* category index column + item rows */
.catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px 44px; align-items: start; }
.cat-index { position: sticky; top: 18px; }
.label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dk); margin-bottom: .6em; }
.cat-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cat-index a { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--cream); color: var(--walnut); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.cat-index a:hover { background: var(--cream-2); }
.cat-index img { width: 34px; border-radius: 50%; flex: none; }
.cat { padding-bottom: 26px; scroll-margin-top: 16px; }
.cat h2 { font-size: 1.45rem; padding-bottom: 8px; border-bottom: 2px solid var(--walnut); letter-spacing: .02em; }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.item .d { margin: 2px 0 0; color: var(--muted); font-size: .94rem; }
.price { flex: none; padding: 2px 14px; border-radius: 999px; background: var(--cream-2); font-weight: 600; color: var(--walnut); white-space: nowrap; }
.price.q { background: transparent; border: 1px solid var(--orange); color: var(--orange-dk); font-size: .85rem; white-space: normal; text-align: center; max-width: 12em; line-height: 1.35; padding: 4px 12px; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offers li { padding: 14px 20px; border-radius: 24px; background: var(--walnut-2); border: 1px solid #5a4335; }
.offers h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 2px; }
.offers p { margin: 0; color: var(--muted-dk); }
.offers strong { color: var(--orange-lt); }

/* about / contact */
.story p { color: var(--muted); }
.story .first { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; line-height: 1.45; color: var(--walnut); }
.facts { margin: 22px 0 0; background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 6px 22px; }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.facts div:first-child { border-top: 0; }
.facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dk); padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--white); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-top: 1px solid #4d3a2f; }
.hours thead th { border-top: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-lt); }
.hours tbody th { white-space: nowrap; padding-right: 16px; }
.map-frame { width: 100%; height: 340px; border: 1px solid var(--rule); border-radius: 24px; display: block; background: var(--white); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--walnut); color: var(--muted-dk); padding: 36px 0 24px; text-align: center; border-top: 4px solid var(--orange); }
.site-footer a { color: var(--orange-lt); }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--white); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.footer-bottom { margin: 18px 0 0; font-size: .86rem; }

@media (max-width: 860px) {
  .catalog { grid-template-columns: 1fr; }
  .cat-index { position: static; }
  .cat-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { padding-top: 18px; }
  .brand img { width: 64px; }
  .main-nav a { padding: 6px 13px; font-size: .9rem; }
  .sec { padding: 40px 0; }
  .item { flex-direction: column; gap: 6px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
