/* ==========================================================================
   Blacklist Boardshop — spec/showcase redesign
   Plain CSS, no framework, mobile-first.
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-alt: #151517;
  --bg-card: #1b1b1e;
  --line: #2c2c30;
  --text: #f3f1ea;
  --muted: #a8a6a0;
  --red: #e2352b;
  --red-dark: #b1281f;
  --amber: #f2a900;   /* Lawrenceburg accent */
  --teal: #2ec4c6;    /* Cincinnati accent */
  --focus: #ffd23f;

  --font-display: Impact, "Anton", "Haettenschweiler", "Arial Narrow Bold", "Franklin Gothic Bold", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

p { margin: 0 0 1em; color: var(--text); }
.muted { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 3.5rem 0; }
@media (min-width: 780px) { section { padding: 5.5rem 0; } }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Screen-reader-only heading (keeps heading hierarchy intact without a visible label) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(4px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
}
.logo span { color: var(--red); }

.nav-toggle {
  background: none;
  border: 2px solid var(--line);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.nav-menu.open { display: flex; }

.nav-menu a {
  display: block;
  padding: 1rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--red);
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
  }
  .nav-menu a {
    border-top: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--red);
  color: var(--text);
  background: transparent;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--red); color: #fff; }

.btn-solid {
  background: var(--red);
  color: #fff;
}
.btn-solid:hover { background: var(--red-dark); }

.btn-amber { border-color: var(--amber); }
.btn-amber:hover { background: var(--amber); color: #1b1400; }

.btn-teal { border-color: var(--teal); }
.btn-teal:hover { background: var(--teal); color: #00201f; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--red);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.35) 0%, rgba(11,11,12,0.55) 45%, rgba(11,11,12,0.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 3rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(226,53,43,0.12);
  border: 1px solid var(--red);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 16ch; }
.hero-sub { max-width: 55ch; font-size: 1.05rem; color: var(--muted); }

/* Page header (non-home) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.page-hero .hero-eyebrow { margin-bottom: 0.75rem; }
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 1.05rem; }

/* ---------- Notice / callout ---------- */
.notice {
  border: 1px solid var(--amber);
  background: rgba(242,169,0,0.08);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 0 2rem;
}
.notice strong { color: var(--amber); }

.notice-red {
  border-color: var(--red);
  background: rgba(226,53,43,0.08);
}
.notice-red strong { color: var(--red); }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 780px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.4rem; }
.card p { flex: 1; }
.card-link {
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-top: 0.5rem;
}
.card-link:hover { text-decoration: underline; }

/* Location cards get colored top border by accent */
.card-amber { border-top: 4px solid var(--amber); }
.card-teal { border-top: 4px solid var(--teal); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
.tag-amber { background: rgba(242,169,0,0.15); color: var(--amber); border: 1px solid var(--amber); }
.tag-teal { background: rgba(46,196,198,0.15); color: var(--teal); border: 1px solid var(--teal); }
.tag-sample { background: rgba(226,53,43,0.15); color: var(--red); border: 1px solid var(--red); }

/* ---------- Sections ---------- */
.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); }

.alt-bg { background: var(--bg-alt); }

/* Brand story block */
.prose { max-width: 68ch; }
.prose p { color: var(--text); font-size: 1.02rem; }

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--red);
}
.timeline li {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--bg);
}
.timeline .year {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.2rem;
}

/* Brand chip strip */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.brand-chip {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 0.55rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* Category showcase */
.cat-visual {
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  overflow: hidden;
}
.cat-visual img { width: 100%; height: 100%; object-fit: cover; }
.cat-visual.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #1c1c1f 0px, #1c1c1f 14px, #141416 14px, #141416 28px);
  border: 1px solid var(--line);
}
.cat-visual.no-image span {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--line);
  text-transform: uppercase;
  text-align: center;
}

/* Sample product ribbon */
.sample-ribbon {
  position: absolute;
  top: 0.75rem;
  right: -0.5rem;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.card { position: relative; }

/* ---------- Contact / location detail ---------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  min-width: 6.5rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding-top: 0.15rem;
}

.location-block { padding: 2rem; border: 1px solid var(--line); background: var(--bg-card); }

/* Form */
.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--muted);
}
.form-field input,
.form-field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 3px;
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-grid h4 {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer-grid p, .footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.social-row { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.social-row a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}
.social-row a:hover { border-color: var(--red); color: var(--red); }

.footer-bottom {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.25rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
