/* Nathan Whaley — SHOW-HIM pitch draft. Do not publish. */
:root {
  --bg: #07080a;
  --bg-2: #0c0e12;
  --panel: #13161b;
  --panel-2: #1a1e25;
  --line: #2a2f38;
  --line-soft: rgba(201, 120, 42, 0.22);
  --text: #f2eee6;
  --muted: #9a9386;
  --faint: #6e685c;
  --accent: #c9782a;
  --accent-2: #e08a38;
  --accent-dim: rgba(201, 120, 42, 0.12);
  --white: #ffffff;
  --danger: #c44b2a;
  --radius: 2px;
  --max: 1180px;
  --header: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.no-js .js-only { display: none !important; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}
h1, h2, h3, .display {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}
h1 { font-size: clamp(3.1rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.55rem; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--muted); }
.lede { font-size: 1.2rem; max-width: 42rem; color: #cfc8bb; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center;
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; width: min(var(--max), calc(100% - 40px));
}
.brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-tag {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--accent);
}
.header-phone {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-2); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--text);
  width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 6px 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #140c04;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0;
  background: #0a0c10 center/cover no-repeat;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,10,0.25) 0%, rgba(7,8,10,0.55) 40%, rgba(7,8,10,0.96) 100%),
    linear-gradient(90deg, rgba(7,8,10,0.55) 0%, rgba(7,8,10,0.12) 55%);
}
.hero-inner { position: relative; z-index: 1; padding: 80px 0 72px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero .kicker::before {
  content: ""; width: 36px; height: 1px; background: var(--accent);
}
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.hero .lede { color: #d7d0c4; }

/* Sections */
section { padding: 88px 0; }
.section-head { margin-bottom: 42px; max-width: 40rem; }
.section-head p { margin-top: 14px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img {
  width: 100%; height: 520px; object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.05);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 24px;
  min-height: 100%;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent); }
.card-num {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: #d3cdc2;
  font-size: 1.02rem;
}
.list-plain li:last-child { border-bottom: 0; }

/* Projects */
.project-card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 100%;
}
.project-card img {
  width: 100%; height: 220px; object-fit: cover;
  filter: saturate(0.8) contrast(1.08);
  cursor: zoom-in;
}
.project-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.project-meta {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.project-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.project-card p { flex: 1; }
.project-card .more {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 12px;
}
.project-card.no-photo .body { padding-top: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.filter-btn.is-on, .filter-btn:hover { border-color: var(--accent); color: var(--text); }

/* Page hero (interior) */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 280px at 10% 0%, rgba(201,120,42,0.12), transparent 60%),
    var(--bg);
}
.page-hero h1 { margin-bottom: 16px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.detail dt {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--faint);
  margin-top: 18px;
}
.detail dd { margin: 4px 0 0; font-size: 1.15rem; }
.detail a { color: var(--accent); }
label { display: block; font-size: 0.85rem; color: var(--muted); margin: 14px 0 6px; }
input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 12px;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--faint); margin-top: 10px; }
.form-success {
  display: none;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  padding: 22px;
  margin-top: 12px;
}
.form-success.is-on { display: block; }
.oem-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.oem-table th, .oem-table td {
  text-align: left; padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.oem-table th {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--faint);
  font-weight: 600;
}
.oem-table a { color: var(--text); }
.oem-table a:hover { color: var(--accent); }

/* Banner strip */
.strip {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding: 28px 0;
}
.strip-row {
  display: flex; flex-wrap: wrap; gap: 18px 36px;
  justify-content: space-between;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: #050608;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer h3 { font-size: 1.15rem; margin-bottom: 12px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.82rem;
  color: var(--faint);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,0.88);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-on { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute; top: 18px; right: 18px;
  background: none; border: 1px solid var(--line); color: var(--text);
  width: 44px; height: 44px; cursor: pointer; font-size: 1.4rem;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header); left: 0; right: 0;
    background: #0b0d11;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
    gap: 16px;
  }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .split, .grid-3, .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split img { height: 280px; }
  section { padding: 64px 0; }
  .hero { min-height: 78vh; }
}
