/* NorthWood Electronics LLC: warm-leaning software-shop palette (box rust, disc amber, north-wood brown,
   cream) with saturated rust bands in white text over white content; narrow document-like column; classic
   serif headings over a geometric sans; centred logo with the nav below; flat tiles grouped by category;
   pill buttons and tags; faint disc-ring motif */
@font-face {
  font-family: "Andiron Serif";
  src: url("fonts/andiron-serif-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rust: #b4501f;
  --rust-dk: #8c3c15;
  --amber: #e9a33a;
  --wood: #5a3d26;
  --cream: #fbf3e6;
  --ink: #2a1a10;
  --muted: #6b584a;
  --white: #ffffff;
  --serif: "Andiron Serif", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", Arial, sans-serif;
}

*, *::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(--rust-dk); text-underline-offset: 3px; }
a:hover { color: var(--wood); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 999px; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--rust); color: var(--white); padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip-link:focus { left: 8px; }
.col { width: min(100% - 40px, 760px); margin-inline: auto; }

/* centred logo, nav below */
.head-in { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 18px; text-align: center; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 84px; border-radius: 20px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.main-nav a { display: inline-block; padding: 7px 16px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.main-nav a:hover { color: var(--ink); background: var(--cream); }
.main-nav a[aria-current="page"] { color: var(--white); background: var(--rust); }

/* saturated bands */
.band { background-color: var(--rust); background-image: url("assets/motif-disc.svg"); background-repeat: no-repeat; background-position: right -60px center; background-size: 320px 320px; color: var(--white); padding: 50px 0; }
.band.slim { padding: 40px 0; background-color: var(--wood); }
.band a:not(.btn) { color: var(--white); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffe1bf; margin-bottom: .9em; }
.lede { font-size: 1.15rem; color: #fde9da; }
.big { font-size: 1.2rem; color: #fde9da; }
.band strong { color: var(--amber); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn.light { background: var(--white); color: var(--rust-dk); }
.btn.light:hover { background: var(--cream); color: var(--rust-dk); }
.btn.ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn.rust { background: var(--rust); color: var(--white); }
.btn.rust:hover { background: var(--rust-dk); color: var(--white); }
.btn.outline { color: var(--rust-dk); box-shadow: inset 0 0 0 2px var(--rust); }
.btn.outline:hover { background: var(--cream); color: var(--rust-dk); }

/* narrow document column */
.doc { padding: 40px 0 50px; display: grid; gap: 40px; }
.hero-fig { margin: 0; border-radius: 24px; overflow: hidden; }
.hero-art { width: 100%; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 700; }
.tags a:hover { background: #f5e3c8; }
.tags img { width: 38px; border-radius: 50%; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, var(--white) 22%, var(--amber) 24%); }
.ticks strong { color: var(--ink); }
.band .ticks li { color: #fde9da; }
.band .ticks strong { color: var(--white); }

/* flat tiles grouped by category */
.jump { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: var(--white); text-decoration: none; font-weight: 700; font-size: .88rem; }
.jump a:hover { background: rgba(255, 255, 255, .28); }
.cat { scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-head img { width: 48px; border-radius: 50%; flex: none; }
.cat-head h2 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); letter-spacing: .03em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.tile .d { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.tile .price { margin: auto 0 0; align-self: flex-start; padding: 3px 14px; border-radius: 999px; background: var(--rust); color: var(--white); font-weight: 700; }
.tile .price.q { background: var(--amber); color: var(--ink); font-size: .84rem; }
.band .tile { background: rgba(255, 255, 255, .1); }
.band .tile .d { color: #f3e2d4; margin: 0; }

/* about / contact */
.story .first { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.45; }
.story p { color: var(--muted); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 2px dotted #e6d2b8; }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 700; color: var(--rust-dk); }
.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.45rem, 2.8vw, 1.9rem); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 14px; }
.hours thead th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hours tbody tr:nth-child(odd) { background: var(--cream); }
.hours tbody tr th { border-radius: 999px 0 0 999px; }
.hours tbody tr td { border-radius: 0 999px 999px 0; }
.map-frame { width: 100%; height: 340px; border: 0; border-radius: 24px; display: block; background: var(--cream); }
.map-link { margin: 14px 0 0; font-weight: 700; }

/* footer */
.site-footer { background: var(--ink); color: #e4d6c8; padding: 36px 0 24px; text-align: center; }
.site-footer a { color: var(--white); }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--white); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.footer-bottom { margin: 0; font-size: .84rem; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .col { width: min(100% - 28px, 760px); }
  .brand img { width: 70px; }
  .brand-name { font-size: 1.3rem; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 6px 11px; font-size: .88rem; }
  .band { background-size: 220px 220px; background-position: right -90px top 20px; }
  .tiles { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
