/* ============================================================
   Spray Gun Autobody — shared design system
   ============================================================ */

:root {
  /* color */
  --ink: #0B0B0C;
  --ink-2: #1A1A1C;
  --ink-3: #2A2A2D;
  --mute: #6E6E73;
  --line: #E5E2D9;
  --line-2: #D4D0C5;
  --paper: #F5F2EA;       /* warm off-white */
  --paper-2: #ECE8DD;
  --white: #FFFEF9;
  --yellow: #FFD60A;      /* signature yellow */
  --yellow-2: #E5C100;
  --yellow-dim: #FFF9DB;
  --red: #E04F2C;
  --green: #2F7D4D;

  /* type */
  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --body: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* layout */
  --max: 1400px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 6px;
  --radius-lg: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-feature-settings: "ss01", "ss02";
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow-dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(48px, 9vw, 144px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.h-1 { font-size: clamp(40px, 6vw, 88px); }
.h-2 { font-size: clamp(32px, 4.4vw, 64px); }
.h-3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.025em; }
.h-4 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 60ch;
}

.italic-serif {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.wrap-full {
  padding-inline: var(--pad);
}
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topstrip {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-3);
}
.topstrip-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.topstrip-set {
  display: flex;
  gap: 64px;
  padding-block: 10px;
  padding-right: 64px;
}
.topstrip-track span { display: inline-flex; align-items: center; gap: 12px; }
.topstrip-track .star { color: var(--yellow); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding-inline: var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 52px; width: auto; display: block; mix-blend-mode: multiply; }

.nav-links {
  display: flex; gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.2s;
  position: relative;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a.active { background: var(--ink); color: var(--paper); }

.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.nav-phone {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-phone .lbl {
  font-size: 10px;
  color: var(--mute);
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hamburger span { width: 14px; height: 1.5px; background: var(--ink); display: block; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-phone .lbl { display: none; }
  .hamburger { display: flex; }
}

.mobile-menu {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--pad);
  padding-block: 24px;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  position: sticky;
  top: 72px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  letter-spacing: -0.02em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-2); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn .arrow {
  display: inline-flex; align-items: center;
  transition: transform 0.25s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   PLACEHOLDERS (clean stripes + monospace label)
   ============================================================ */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-2) 0,
      var(--paper-2) 16px,
      var(--paper) 16px,
      var(--paper) 32px
    );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center; justify-content: center;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ph::before {
  content: attr(data-label);
  background: var(--paper);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  z-index: 2;
}
.ph.dark {
  background:
    repeating-linear-gradient(
      135deg,
      var(--ink-2) 0,
      var(--ink-2) 16px,
      var(--ink) 16px,
      var(--ink) 32px
    );
  border-color: var(--ink-3);
}
.ph.dark::before {
  background: var(--ink);
  color: var(--mute);
  border-color: var(--ink-3);
}
.ph.yellow {
  background:
    repeating-linear-gradient(
      135deg,
      var(--yellow-2) 0,
      var(--yellow-2) 14px,
      var(--yellow) 14px,
      var(--yellow) 28px
    );
  border-color: var(--yellow-2);
}
.ph.yellow::before {
  background: var(--yellow);
  color: var(--ink-2);
  border-color: var(--yellow-2);
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head {
  padding-block: clamp(60px, 8vw, 120px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-head .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; gap: 10px; align-items: center;
}
.page-head .crumbs a:hover { color: var(--ink); }
.page-head .crumbs span { color: var(--line-2); }
.page-head h1 {
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin-bottom: 24px;
}
.page-head .lead { max-width: 64ch; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 80px 40px;
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-grid a:hover { color: var(--yellow); }

.foot-big {
  font-family: var(--display);
  font-size: clamp(60px, 10vw, 180px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  padding-block: 32px;
  display: flex; align-items: baseline; gap: 24px;
}
.foot-big small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}

.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--mute); }
.tag {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
}
.tag-yellow {
  background: var(--yellow);
  border-color: var(--yellow-2);
  color: var(--ink);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================================
   STAR
   ============================================================ */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow);
  font-size: 14px;
}

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.12);
}

/* ============================================================
   FORM
   ============================================================ */
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
  font-family: var(--body);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
