/* Palette: 2026 restorative greens + warm honey gold + cream
   Muted moss/forest (not bright emerald), golden earth, warm neutrals. */
:root {
  --bg: #F7F3EB;
  --bg-alt: #FDFCFA;
  --header-bg: rgba(253, 252, 250, 0.94);
  --heading: #1E3A2F;
  --text: #2A2622;
  --text-muted: #544F49;
  --link: #1E3A2F;
  --link-hover: #3E5C4A;
  --accent: #C6A15B;
  --mark: #C6A15B;
  --line: rgba(30, 58, 47, 0.12);
  --line-strong: rgba(30, 58, 47, 0.2);
  --card-bg: #FDFCFA;
  --card-border: rgba(30, 58, 47, 0.12);
  --btn-bg: #C6A15B;
  --btn-bg-hover: #D4B36E;
  --btn-border: #C6A15B;
  --btn-text: #1E3A2F;
  --hero-bg: #1E3A2F;
  --hero-glow: radial-gradient(ellipse at 12% 0%, rgba(198, 161, 91, 0.22), transparent 54%),
               radial-gradient(ellipse at 88% 100%, rgba(62, 92, 74, 0.65), transparent 46%);
  --hero-heading: #F7F3EB;
  --hero-text: #F7F3EB;
  --hero-muted: rgba(247, 243, 235, 0.8);
  --hero-accent: #C6A15B;
  --ghost-text: #F7F3EB;
  --ghost-border: rgba(247, 243, 235, 0.5);
  --ghost-text-hover: #C6A15B;
  --ghost-bg-hover: transparent;
  --contact-bg: #152921;
  --contact-card: rgba(247, 243, 235, 0.05);
  --contact-card-border: rgba(198, 161, 91, 0.3);
  --footer-bg: #152921;
  --footer-line: rgba(247, 243, 235, 0.08);
  --footer-text: rgba(247, 243, 235, 0.62);
  --footer-heading: #F7F3EB;
  --accent-ink: #1E3A2F;
}

/* Bolted Industries — one-page site
   Layout and typography inspired by contemporary flooring brand sites:
   light, spacious sections, Manrope headings, DM Sans body.
   Colors and wording are original to Bolted Industries. */

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

@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --max: 1140px;
  --pad: clamp(1.25rem, 4.5vw, 2.75rem);
  --radius: 2px;
}

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

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

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

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

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

a:hover { color: var(--link-hover); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--accent-ink);
  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: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

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

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

.brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--mark);
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  border: 0;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

#primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

#primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#primary-nav a {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading);
  text-decoration: none;
}

#primary-nav a:hover { color: var(--link-hover); }

.btn-header {
  padding: 0.6rem 1.05rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--btn-text);
  background: var(--btn-bg);
  text-decoration: none;
  padding: 0.9rem 1.45rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
}

.btn:hover {
  color: var(--btn-text);
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ghost-text);
  border-color: var(--ghost-border);
}

.btn-ghost:hover {
  color: var(--ghost-text-hover);
  background: var(--ghost-bg-hover);
  border-color: var(--ghost-text-hover);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4.25rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7.25rem);
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero .eyebrow { color: var(--hero-accent); }

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 6.2vw, 4.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hero-heading);
  margin-bottom: 1.35rem;
}

.hero-lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--hero-muted);
}

/* ---------- Sections ---------- */
section {
  padding: clamp(4rem, 8.5vw, 6.75rem) 0;
}

#products .eyebrow,
#products h2,
#products .section-intro,
#territory .eyebrow,
#territory h2,
#territory .section-intro,
#designers .eyebrow,
#designers h2,
#designers .section-intro,
#why .eyebrow,
#why h2,
#why .section-intro {
  text-align: center;
}

.section-intro {
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.section-cta {
  justify-content: center;
  margin-top: 2.25rem;
}

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

/* ---------- Audience ---------- */
.audience {
  padding: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.audience-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
}

.audience-item:first-child { padding-left: 0; }
.audience-item:last-child { padding-right: 0; border-right: 0; }

.audience-item h2 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.audience-item p { margin: 0; font-size: 0.98rem; }

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

.card {
  grid-column: span 2;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--accent);
  padding: 1.6rem 1.45rem 1.7rem;
  border-radius: var(--radius);
}

.card p {
  margin: 0.7rem 0 0;
  font-size: 1rem;
}

.card:nth-child(4) { grid-column: 2 / span 2; }
.card:nth-child(5) { grid-column: 4 / span 2; }

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

.places li {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--heading);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
}

/* ---------- Designers ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.7rem 1.45rem 1.8rem;
  border-radius: var(--radius);
}

.feature-num {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.feature h3 { margin-bottom: 0.6rem; }
.feature p { margin: 0; }

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

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

.why-item h3 { margin-bottom: 0.55rem; }
.why-item p { margin: 0; font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact-band {
  background: var(--contact-bg);
  color: var(--hero-text);
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.contact-band .eyebrow { color: var(--hero-accent); }
.contact-band h2 { color: var(--hero-heading); }
.contact-band p { color: var(--hero-muted); }

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.contact-panel > div > p:last-of-type { margin-bottom: 0; }

.contact-card {
  background: var(--contact-card);
  border: 1px solid var(--contact-card-border);
  padding: clamp(1.5rem, 3.5vw, 2.15rem);
  border-radius: var(--radius);
}

.contact-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hero-heading);
  margin: 0 0 0.35rem;
}

.contact-title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-accent);
  margin: 0 0 1.2rem;
}

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

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

.contact-list a {
  color: var(--hero-heading);
  text-decoration: none;
  font-size: 1.05rem;
  word-break: break-word;
}

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

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

.footer-inner p {
  margin: 0 0 0.25rem;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--footer-text);
}

.footer-brand {
  font-weight: 700;
  color: var(--footer-heading);
  letter-spacing: 0.04em;
}

.site-footer a {
  color: var(--footer-heading);
  text-decoration: none;
}

.site-footer a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .audience-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .audience-item,
  .audience-item:first-child,
  .audience-item:last-child {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .audience-item:last-child { border-bottom: 0; }

  .cards { grid-template-columns: 1fr 1fr; }
  .card,
  .card:nth-child(4),
  .card:nth-child(5) { grid-column: auto; }
  .card:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc(50% - 0.575rem);
    justify-self: center;
  }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }

  .header-inner {
    flex-wrap: wrap;
    min-height: 4.15rem;
  }

  #primary-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.35rem 0 1.1rem;
    border-top: 1px solid var(--line);
  }

  .nav-toggle[aria-expanded="true"] + #primary-nav { display: flex; }

  #primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  #primary-nav ul a {
    display: block;
    padding: 0.7rem 0;
  }

  .btn-header {
    text-align: center;
    width: 100%;
  }

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

  .hero h1 { max-width: none; }
}

h1, h2 { text-wrap: balance; }

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }

  .hero { padding-top: 3.25rem; padding-bottom: 3.5rem; }

  .eyebrow { letter-spacing: 0.16em; }

  .places { justify-content: center; }
  .places li { flex: 0 1 auto; }

  .btn-row { flex-direction: column; align-items: stretch; }
  .btn, .btn-ghost { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none; }
}

/* Offset sticky header for in-page anchors */
#products, #territory, #designers, #why, #contact, #top {
  scroll-margin-top: 5rem;
}
