/* ============================================================
   SURFACING WEST DISTRIBUTION — surfacingwest.com
   Brand: Concept 1 "Topographic West"
   Palette: Charcoal #2A2A2A · Pewter #4A4F54 · Slate #8A9096
            Forest #4E5C4A · Mocha #6B5144 · Mesa #9C5A3A
   ============================================================ */

:root {
  --charcoal: #2A2A2A;
  --ink: #1D1F21;
  --pewter: #4A4F54;
  --slate: #8A9096;
  --forest: #4E5C4A;
  --mocha: #6B5144;
  --mesa: #9C5A3A;
  --paper: #EBEAE8;
  --paper-2: #E1DFDB;
  --white: #FFFFFF;
  --line: #D6D3CD;
  --text-2: #43474B;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--mesa); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.08;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; letter-spacing: 0.04em; }

.kicker {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.84rem;
  color: var(--mesa);
  display: block;
  margin-bottom: 0.55rem;
}
.kicker.on-dark { color: #C9A98F; }

.lede { font-size: 1.08rem; color: var(--text-2); max-width: 64ch; }

/* ---------- masthead (logo hero) ---------- */
.masthead {
  background: var(--paper);
  text-align: center;
  padding: 26px 0 14px;
}
.masthead img {
  width: min(56vw, 300px);
  display: inline-block;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(235, 234, 232, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: flex-end;
  height: 58px;
}

.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav a {
  font-family: var(--head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--pewter);
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--charcoal); border-bottom-color: var(--mesa); }
.nav a.active { color: var(--charcoal); border-bottom-color: var(--forest); }
.nav .btn { border-bottom: none; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--charcoal); margin: 5px 0; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 14px 24px 20px; gap: 12px;
  }
  .nav.open { display: flex; }
  .masthead img { width: min(72vw, 280px); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 26px; border: 2px solid var(--charcoal);
  color: var(--charcoal); background: transparent;
  transition: all 0.18s ease; cursor: pointer;
}
.btn:hover { background: var(--charcoal); color: var(--paper); }
.btn-solid { background: var(--mesa); border-color: var(--mesa); color: #fff; }
.btn-solid:hover { background: #85492E; border-color: #85492E; color: #fff; }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--charcoal); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.42;
}
.hero-topo { position: absolute; inset: 0; opacity: 0.16; pointer-events: none; }
.hero-inner { position: relative; padding: 64px 0 72px; max-width: 760px; }
.hero h1 { color: var(--white); margin: 0 0 0.9rem; }
.hero h1 .accent { color: #C77E52; }
.hero p { font-size: 1.1rem; color: #DFDDD8; max-width: 58ch; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-states {
  margin-top: 2.2rem; font-family: var(--head); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.9rem; color: var(--slate);
}
.hero-states b { color: #C9A98F; font-weight: 600; }

/* ---------- stat bar ---------- */
.statbar { background: var(--charcoal); color: var(--paper); }
.statbar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 26px; padding-bottom: 26px; gap: 16px;
}
.stat { text-align: center; border-left: 1px solid #3E4144; padding: 2px 10px; }
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--head); font-weight: 700; font-size: 1.85rem;
  letter-spacing: 0.04em; color: #fff; line-height: 1.1;
}
.stat .num em { font-style: normal; color: #C77E52; }
.stat .lbl {
  font-family: var(--head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate);
}
@media (max-width: 700px) {
  .statbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.tint { background: var(--paper-2); }
.section.dark { background: var(--charcoal); color: var(--paper); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: #C8C6C1; }
.section-head { margin-bottom: 2.2rem; max-width: 740px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line);
  padding: 26px 24px; border-top: 4px solid var(--forest);
}
.card:nth-child(3n+2) { border-top-color: var(--mesa); }
.card:nth-child(3n) { border-top-color: var(--pewter); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.98rem; }
.card .num-tag {
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  color: var(--slate); letter-spacing: 0.14em; display: block; margin-bottom: 0.7rem;
}

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split .photo { border: 1px solid var(--line); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; margin-top: 1.1rem; }
.checklist li {
  padding: 8px 0 8px 30px; position: relative;
  border-bottom: 1px solid var(--line); color: var(--text-2);
  font-size: 0.99rem;
}
.checklist li strong { color: var(--charcoal); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 13px; height: 7px;
  border-left: 3px solid var(--mesa); border-bottom: 3px solid var(--mesa);
  transform: rotate(-45deg);
}

/* ---------- swatches ---------- */
.swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 880px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
.swatch { text-align: center; }
.swatch img { border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; }
.swatch .sw-name {
  font-family: var(--head); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.92rem; margin-top: 8px; color: var(--charcoal);
}
.swatch .sw-tag { font-size: 0.8rem; color: var(--pewter); letter-spacing: 0.02em; }

/* ---------- industry tiles ---------- */
.industry { background: var(--white); border: 1px solid var(--line); }
.industry .ind-img { aspect-ratio: 16/9; overflow: hidden; background: var(--pewter); }
.industry .ind-img img { width: 100%; height: 100%; object-fit: cover; }
.industry .ind-body { padding: 20px 20px 24px; }
.industry h3 { margin-bottom: 0.4rem; }
.industry p { color: var(--text-2); font-size: 0.96rem; }
.ind-swatch { height: 7px; display: flex; }
.ind-swatch span { flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: #fff; text-align: center; padding: 52px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #DCE2DA; max-width: 56ch; margin: 0 auto 1.6rem; }
.cta-topo { position: absolute; inset: 0; opacity: 0.1; pointer-events: none; }
.cta-band .wrap { position: relative; }

/* ---------- page hero (interior) ---------- */
.page-hero {
  background: var(--charcoal); color: var(--paper);
  padding: 48px 0 42px; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-hero p { color: #C8C6C1; max-width: 64ch; margin-top: 0.7rem; font-size: 1.05rem; }
.page-hero .hero-topo { opacity: 0.12; }
.page-hero .wrap { position: relative; }

/* ---------- tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.88rem; color: var(--pewter);
  width: 38%; background: var(--paper-2);
}
.spec-table td { color: var(--charcoal); font-size: 0.98rem; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.09em; font-size: 0.84rem; color: var(--pewter);
}
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--charcoal);
  padding: 11px 12px; border: 1px solid #C0BDB6; background: var(--white);
  border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--forest); outline-offset: 0; border-color: var(--forest);
}
.form-note { font-size: 0.86rem; color: var(--pewter); margin-top: 10px; }

.contact-side { background: var(--charcoal); color: var(--paper); padding: 30px 28px; }
.contact-side h3 { color: #fff; margin-bottom: 0.9rem; }
.contact-side .ci { padding: 11px 0; border-bottom: 1px solid #3E4144; }
.contact-side .ci .lbl {
  font-family: var(--head); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--slate);
}
.contact-side .ci .val { color: #E6E4DF; font-size: 1rem; }
.contact-side .ci .val a { color: #C9A98F; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--slate); position: relative; overflow: hidden; }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px;
  padding: 46px 0 36px; position: relative;
}
@media (max-width: 880px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.monogram {
  font-family: var(--head); font-weight: 700; font-size: 2rem;
  letter-spacing: 0.02em; line-height: 1; font-style: italic;
  display: flex;
}
.monogram .m-w { color: var(--forest); }
.monogram .m-d { color: var(--mesa); }
.brand-name {
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper);
  line-height: 1.2; margin-top: 6px;
}
.brand-sub {
  font-family: var(--head); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--forest);
}
.f-brand p { font-size: 0.92rem; max-width: 36ch; color: var(--slate); }
.f-col h4 {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.86rem; color: var(--paper); margin-bottom: 0.8rem;
}
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 0.4rem; }
.f-col a { color: var(--slate); font-size: 0.95rem; }
.f-col a:hover { color: var(--paper); }
.f-tag {
  font-family: var(--head); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.92rem; color: #C9A98F; line-height: 1.9;
}
.footer-bar { border-top: 1px solid #33363A; padding: 16px 0; font-size: 0.82rem; }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-topo { position: absolute; right: -60px; top: -40px; width: 480px; opacity: 0.07; pointer-events: none; }

/* ---------- misc ---------- */
.divider-palette { display: flex; height: 5px; }
.divider-palette span { flex: 1; }
.dp-charcoal { background: var(--charcoal); }
.dp-pewter { background: var(--pewter); }
.dp-slate { background: var(--slate); }
.dp-forest { background: var(--forest); }
.dp-mocha { background: var(--mocha); }
.dp-mesa { background: var(--mesa); }
