/* Superior Horizon Automotive LLC: signal yellow, signal red and electric blue on near-black; mono labels, 3px outlines */
@font-face {
  font-family: "Second Ave Sans";
  src: url("fonts/second-ave-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Second Ave Sans";
  src: url("fonts/second-ave-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Second Ave Sans";
  src: url("fonts/second-ave-sans-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tag Mono";
  src: url("fonts/tag-mono-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tag Mono";
  src: url("fonts/tag-mono-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0e12;
  --surface: #17171c;
  --surface-2: #222229;
  --yellow: #ffcc15;
  --red: #f03a30;
  --blue: #4aa3ff;
  --chrome: #eef0f4;
  --muted: #a7abb5;
  --line: #303039;
  --sans: "Second Ave Sans", "Segoe UI", Arial, sans-serif;
  --mono: "Tag Mono", "SFMono-Regular", Consolas, monospace;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--chrome); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0 0 0.45em; color: var(--chrome); }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
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;
  background: var(--yellow); color: var(--bg); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.mono { font-family: var(--mono); }

/* oversized logo and name, underline nav */
.site-header { border-bottom: 3px solid var(--yellow); background: var(--bg) url("assets/motif-tread.svg") 0 0 / 40px 24px; }
.header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 22px 0 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 22px; color: var(--chrome); text-decoration: none; padding-bottom: 18px; }
.brand img { width: 96px; height: 96px; border: 3px solid var(--line); }
.brand-name { font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; max-width: 12em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.main-nav a { display: block; padding: 0 0 18px; color: var(--muted); text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 5px solid transparent; }
.main-nav a:hover { color: var(--chrome); border-bottom-color: var(--line); }
.main-nav a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }

/* labels and buttons */
.label { display: inline-block; margin: 0 0 14px; padding: 4px 10px; border: 3px solid var(--red); font-family: var(--mono); font-weight: 700; font-size: 0.82rem; color: var(--chrome); text-transform: uppercase; letter-spacing: 0.04em; }
.kicker { display: block; margin-bottom: 8px; font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.lede { font-size: 1.2rem; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-block; padding: 12px 22px; border: 3px solid var(--yellow); background: var(--yellow); color: var(--bg); font-weight: 800; text-decoration: none; }
.btn:hover { background: transparent; color: var(--yellow); }
.btn-line { background: transparent; color: var(--chrome); border-color: var(--chrome); }
.btn-line:hover { background: var(--chrome); color: var(--bg); }

/* editorial: main column + narrow side column */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 44px; align-items: start; }
.ed.left { grid-template-columns: 250px minmax(0, 1fr); }
.section { padding: 56px 0; }
.section.band { background: var(--surface); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.side { border: 3px solid var(--line); padding: 20px; font-size: 0.95rem; background: var(--surface); }
.side h2, .side h3 { font-size: 1.15rem; }
.side .kv { margin: 0; }
.side .kv div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.side .kv div:last-child { border-bottom: 0; }
.side dt { font-family: var(--mono); font-size: 0.78rem; color: var(--yellow); text-transform: uppercase; }
.side dd { margin: 2px 0 0; }
.sticky { position: sticky; top: 16px; }
.hero-art { width: 100%; margin-top: 30px; border: 3px solid var(--line); }

/* home lists */
.dept { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dept a { display: grid; grid-template-columns: 60px 1fr; gap: 4px 16px; align-items: center; padding: 16px; border: 3px solid var(--line); color: var(--chrome); text-decoration: none; background: var(--bg); }
.dept a:hover { border-color: var(--yellow); }
.dept img { width: 60px; height: 60px; grid-row: span 2; }
.d-code { font-family: var(--mono); font-size: 0.8rem; color: var(--yellow); }
.d-name { font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 3px solid var(--line); }
.checklist li { padding: 14px 18px 14px 56px; position: relative; border-bottom: 1px solid var(--line); color: var(--muted); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: attr(data-n); position: absolute; left: 16px; top: 15px; font-family: var(--mono); font-weight: 700; color: var(--red); }
.checklist strong { color: var(--chrome); }
.spot { border: 3px solid var(--yellow); padding: 28px; }
.spot p { color: var(--muted); font-size: 1.08rem; }
.price-chip { display: inline-block; padding: 4px 12px; border: 3px solid var(--yellow); font-family: var(--mono); font-weight: 700; color: var(--yellow); }

/* products: index column + price tables */
.index { list-style: none; margin: 0 0 18px; padding: 0; }
.index a { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--chrome); text-decoration: none; font-weight: 600; }
.index a:hover { color: var(--yellow); }
.index .n { font-family: var(--mono); color: var(--red); font-weight: 700; }
.cat { margin-bottom: 44px; scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.cat-head img { width: 60px; height: 60px; }
.cat-head .n { font-family: var(--mono); color: var(--red); font-weight: 700; font-size: 1.1rem; }
.cat-head h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: 0.02em; }
.price-table { width: 100%; border-collapse: collapse; border: 3px solid var(--yellow); background: var(--bg); }
.price-table thead th { text-align: left; padding: 10px 14px; background: var(--yellow); color: var(--bg); font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.price-table tbody th, .price-table td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-weight: 600; width: 36%; }
.price-table td.desc { color: var(--muted); }
.price-table .price { text-align: right; white-space: nowrap; font-family: var(--mono); font-weight: 700; color: var(--yellow); width: 18%; }
.price-table thead .price { color: var(--bg); }
.price-table td.quote { white-space: normal; min-width: 11em; color: var(--chrome); }
.price-table td.quote a { display: block; margin-top: 4px; white-space: nowrap; font-family: var(--sans); }
.offers { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offers li { padding: 20px; border: 3px solid var(--red); background: var(--bg); }
.offers p { color: var(--muted); margin-bottom: 10px; }
.offers p:last-child { margin-bottom: 0; }

/* about */
.story p { color: var(--muted); font-size: 1.06rem; }
.story p.first { color: var(--chrome); font-size: 1.32rem; line-height: 1.5; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why li { padding: 20px; border: 3px solid var(--line); color: var(--muted); background: var(--bg); }
.why strong { display: block; margin-bottom: 6px; color: var(--yellow); font-size: 1.1rem; }

/* contact */
.hours { width: 100%; border-collapse: collapse; border: 3px solid var(--yellow); margin-bottom: 36px; }
.hours caption { text-align: left; font-weight: 800; font-size: 1.7rem; margin-bottom: 10px; color: var(--chrome); }
.hours thead th { text-align: left; padding: 10px 14px; background: var(--yellow); color: var(--bg); font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.hours tbody th { font-weight: 600; }
.hours td { font-family: var(--mono); white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; white-space: normal; font-family: var(--sans); color: var(--muted); font-size: 0.9rem; }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--line); background: var(--surface-2); }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { border-top: 3px solid var(--yellow); background: #09090c; padding: 44px 0 24px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 30px; }
.footer-name { font-weight: 800; font-size: 1.3rem; color: var(--chrome); margin-bottom: 6px; }
.footer-title { font-family: var(--mono); font-size: 0.82rem; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.86rem; font-family: var(--mono); }

@media (max-width: 960px) {
  .ed, .ed.left { grid-template-columns: 1fr; gap: 28px; }
  .sticky { position: static; }
  .why, .offers { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand { gap: 14px; padding-bottom: 12px; }
  .brand img { width: 72px; height: 72px; }
  .main-nav ul { gap: 18px; }
  .main-nav a { padding-bottom: 12px; }
  .section { padding: 42px 0; }
  .dept, .footer-grid { grid-template-columns: 1fr; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tbody tr { padding: 14px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody th, .price-table td { padding: 0; border: 0; width: auto; }
  .price-table td.desc { margin: 4px 0 6px; }
  .price-table .price { text-align: left; width: auto; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; width: 100%; }
  .spot, .side { padding: 18px; }
  .map-frame { height: 320px; }
}
