/* First Impact LLC — shared styles
   Seed 6-4-1-3-2-1-3: warm-leaning workwear colors (brick rust, khaki twill, hi-vis orange, chef-coat cream) ·
   saturated rust hero and section bands with white text over white content areas · split hero (text / brand
   graphic) · condensed bold uppercase headings (Anton) + sans body (Inter) · centered logo with nav below ·
   price tables · 14px radius · motif: satin-stitch zigzag */

@font-face { font-family: "Anton"; src: url("fonts/anton-400.woff") format("woff"); font-weight: 400; 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;
  --rust: #a8461f;
  --rust-dk: #7c3216;
  --ink: #2a1710;
  --muted: #6b5a51;
  --khaki: #cdb98d;
  --khaki-lt: #f3ecdd;
  --orange: #f07c1f;
  --cream: #fbf3e6;
  --line: #e6dccb;
  --cond: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --satin: url("assets/motif-satin.svg") 0 0 / 16px 12px repeat-x;
  --r: 14px;
}

*, *::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.62; 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: 400; line-height: 1.05; margin: 0 0 0.45em; text-transform: uppercase; letter-spacing: 0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: 0.03em; }
p { margin: 0 0 1em; }
a { color: var(--rust); text-underline-offset: 0.18em; }
a:hover { color: var(--rust-dk); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.2rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: var(--r); background: var(--rust); color: var(--white); }
.skip-link:focus { top: 1rem; }

/* ---------- centered logo, nav below ---------- */
.site-header { background: var(--white); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; padding-block: 1.1rem 0.9rem; text-align: center; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 72px; height: auto; border-radius: var(--r); }
.brand-name { font-family: var(--cond); font-size: clamp(1.8rem, 4vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.brand:hover .brand-name { color: var(--rust); }
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0.3rem; border-radius: var(--r); background: var(--khaki-lt); }
.main-nav a { display: inline-block; padding: 0.45rem 1.05rem; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.main-nav a:hover { background: var(--white); color: var(--rust); }
.main-nav a[aria-current="page"] { background: var(--rust); color: var(--white); }

/* ---------- saturated bands ---------- */
.band { background: var(--rust); color: var(--white); }
.band.dark { background: var(--rust-dk); }
.band h1, .band h2, .band h3, .band strong { color: var(--white); }
.band p { color: #f6e3d6; }
.band a { color: var(--white); }
.band .kicker { color: #ffd3a8; }
.satin { height: 12px; background: var(--rust-dk) var(--satin); }
.hero { padding-block: clamp(2.4rem, 5.5vw, 4rem); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.hero-art { display: block; width: 100%; border-radius: var(--r); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.3rem 0.8rem; border-radius: 10px; background: var(--rust-dk); color: var(--white); font-weight: 600; font-size: 0.9rem; line-height: 1.45; max-width: 100%; }
.content .tag { background: var(--khaki-lt); color: var(--rust-dk); }
.lede { font-size: clamp(1.08rem, 2vw, 1.22rem); max-width: 48ch; }
.content .lede { color: var(--muted); }
.kicker { margin: 0 0 0.35rem; color: var(--rust); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.3rem; border-radius: var(--r); background: var(--orange); color: var(--ink); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--white); color: var(--rust-dk); }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75); }
.btn-outline:hover { background: var(--white); color: var(--rust-dk); }
.content .btn { background: var(--rust); color: var(--white); }
.content .btn:hover { background: var(--rust-dk); color: var(--white); }
.content .btn-outline { background: transparent; color: var(--rust-dk); box-shadow: inset 0 0 0 2px var(--rust); }
.content .btn-outline:hover { background: var(--rust); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.content { padding-block: clamp(2.2rem, 5vw, 3.4rem); }

/* home */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lines a { display: block; height: 100%; padding: 1.1rem; border-radius: var(--r); background: var(--khaki-lt); color: var(--ink); text-decoration: none; }
.lines img { display: block; width: 64px; height: 64px; margin-bottom: 0.6rem; border-radius: 12px; background: var(--rust-dk); padding: 6px; }
.lines .l-name { display: block; font-family: var(--cond); font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.lines .l-meta { display: block; color: var(--muted); font-size: 0.9rem; }
.lines a:hover { background: var(--khaki); }
.split2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.7rem; height: 0.35rem; border-radius: 2px; background: var(--orange); }
.band .bullets li { color: #f6e3d6; }
.panel { padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--white); color: var(--ink); }
.panel .kicker { color: var(--rust); }

/* ---------- catalog: price tables ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.3rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 10px; background: var(--rust-dk); color: var(--white); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { background: var(--white); color: var(--rust-dk); }
.cat { scroll-margin-top: 1rem; }
.cat + .cat { margin-top: 2.2rem; }
.cat-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.8rem; }
.cat-head img { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--rust-dk); padding: 5px; }
.cat-head h2 { margin: 0; }
.table-card { border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; }
.prices thead th { background: var(--rust); color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.prices tbody tr:nth-child(even) { background: var(--khaki-lt); }
.prices tbody th { width: 34%; font-weight: 700; }
.prices td.d { color: var(--muted); }
.prices .p { width: 10.5rem; text-align: right; font-family: var(--cond); font-size: 1.35rem; letter-spacing: 0.02em; color: var(--rust-dk); white-space: nowrap; }
.prices thead .p { font-family: var(--sans); font-size: 0.8rem; color: var(--white); }
.prices .p.quote { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; white-space: normal; color: var(--ink); }
.prices .p.quote a { display: inline-block; margin-top: 0.25rem; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.offers li { padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--white); color: var(--ink); }
.offers h3 { margin-bottom: 0.3rem; color: var(--rust-dk); }
.band .offers p { margin: 0; color: var(--muted); }
.offers .deal { display: inline-block; margin-top: 0.6rem; padding: 0.15rem 0.65rem; border-radius: 10px; background: var(--orange); color: var(--ink); font-weight: 700; }

/* ---------- about / contact ---------- */
.story p { color: #f6e3d6; }
.story .first { color: var(--white); font-size: 1.15rem; }
.story .tag { color: var(--white); }
.facts, .details { margin: 0; padding: 0.4rem 1.3rem; border-radius: var(--r); background: var(--khaki-lt); color: var(--ink); }
.facts div, .details div { padding: 0.7rem 0; }
.facts div + div, .details div + div { border-top: 1px solid var(--line); }
.facts dt, .details dt { color: var(--rust); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd, .details dd { margin: 0; font-weight: 700; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-family: var(--cond); font-size: 1.7rem; text-transform: uppercase; }
.hours th, .hours td { padding: 0.55rem 0.4rem 0.55rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { color: var(--rust); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { font-weight: 700; padding-right: 1rem; }
.hours td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hours td.closed { color: var(--rust); font-weight: 700; }
.hours-note { margin: 0.8rem 0 0; padding: 0.6rem 0.9rem; border-radius: 10px; background: var(--khaki-lt); color: var(--rust-dk); font-size: 0.94rem; font-weight: 600; }
.map-frame { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--r); background: var(--khaki-lt); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d9cbbf; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.6rem; padding-block: 2.1rem 1.3rem; }
.footer-name { margin: 0 0 0.3rem; font-family: var(--cond); font-size: 1.6rem; text-transform: uppercase; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--orange); font-weight: 700; }
.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: 1000px) {
  .hero-split, .split2 { grid-template-columns: 1fr; }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .prices thead { display: none; }
  .prices, .prices tbody, .prices tr { display: block; width: 100%; }
  .prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 0.8rem; padding: 0.8rem 1rem; }
  .prices th, .prices td { display: block; padding: 0; }
  .prices tbody th { width: auto; }
  .prices td.d { grid-column: 1 / -1; grid-row: 2; font-size: 0.94rem; }
  .prices .p { width: auto; }
  .prices .p.quote { grid-column: 1 / -1; grid-row: 3; text-align: left; }
}

@media (max-width: 600px) {
  .brand { flex-direction: column; gap: 0.5rem; }
  .main-nav a { padding: 0.4rem 0.75rem; }
  .lines { grid-template-columns: 1fr; }
  .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; }
}
.band .panel h3 { color: var(--rust-dk); }
.band .panel p { color: var(--muted); margin: 0; }
.band .panel strong { color: var(--ink); }
