/* Bolted Industries — one-page site
   Colors and typography matched to the business card mockup. */

@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #121417;
  --bg-alt: #181b20;
  --bg-card: #1b1e24;
  --gold: #d4a054;
  --gold-soft: rgba(212, 160, 84, 0.18);
  --cream: #f3eee4;
  --muted: #868279;
  --line: rgba(212, 160, 84, 0.45);
  --text: #f3eee4;
  --max: 1100px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: #e4b56a; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  font-weight: 600;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.eyebrow {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

h1, h2, h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin: 0;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.65rem;
  letter-spacing: 0.06em;
}

p { margin: 0 0 1rem; color: #d5d0c6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
}

.brand:hover { color: var(--cream); }

.brand svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}

nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 7.5rem) 0 clamp(3.25rem, 8vw, 6.5rem);
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  display: block;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.75rem;
}

.hero::after { margin: 2.75rem auto 0; }

.hero-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  font-size: clamp(4rem, 13vw, 7.25rem);
  letter-spacing: 0.05em;
  line-height: 0.88;
}

.hero h1 span { display: block; }

.hero .tagline {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.35rem 0 1.75rem;
}

.hero-lead {
  max-width: 38rem;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: #d5d0c6;
}

.btn {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
}

.btn:hover {
  color: var(--bg);
  background: #e0b066;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  margin-left: 0.75rem;
}

.btn-ghost:hover {
  color: var(--gold);
  background: transparent;
}

/* ---------- Sections ---------- */
section {
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

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

/* ---------- Categories ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.card {
  grid-column: span 2;
  background: var(--bg-card);
  border: 1px solid rgba(212, 160, 84, 0.16);
  border-top: 2px solid var(--gold);
  padding: 1.4rem 1.35rem 1.5rem;
}

.card p {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  color: #c6c1b6;
}

/* Last two cards centered on the second row */
.card:nth-child(4) { grid-column: 1 / span 3; }
.card:nth-child(5) { grid-column: 4 / span 3; }

/* ---------- Territory ---------- */
.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0;
  margin-top: 0.5rem;
  padding: 0;
  list-style: none;
}

.places li {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.places li:not(:last-child)::after {
  content: "·";
  color: var(--gold);
  margin: 0 0.85rem;
  font-weight: 400;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.why-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.why-item h3 { margin-bottom: 0.55rem; }

.why-item p { margin: 0; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(212, 160, 84, 0.16);
  border-left: 8px solid var(--gold);
  padding: clamp(1.6rem, 4vw, 2.75rem);
}

.contact-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: 0.05em;
  line-height: 0.9;
  margin: 0 0 0.35rem;
}

.contact-title {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.contact-list li { margin: 0 0 0.35rem; }

.contact-list a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.2rem;
}

.contact-list a:hover { color: var(--gold); }

.contact-aside p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card,
  .card:nth-child(4),
  .card:nth-child(5) { grid-column: auto; }

  .why-grid,
  .contact-panel { grid-template-columns: 1fr; }

  .btn-ghost { margin-left: 0.5rem; }
}

@media (max-width: 600px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    min-height: 0;
  }

  nav ul {
    justify-content: flex-start;
    gap: 0.3rem 1rem;
  }

  .cards { grid-template-columns: 1fr; }

  .hero { padding-top: 2.25rem; }
  .hero::before { display: none; }
  .hero::after { margin-top: 2rem; }
  .hero-logo { width: 60px; height: 60px; }

  .places {
    flex-direction: column;
    gap: 0.55rem;
  }
  .places li:not(:last-child)::after { content: none; }

  .contact-title { letter-spacing: 0.12em; }

  .btn-row { display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .btn, .btn-ghost { margin: 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
