/* ============================================
   TOOLBELT AUTOMATIONS — Rugged Industrial
   ============================================ */

:root {
  --bg-base: #1a1d24;          /* deep navy-charcoal from the wordmark */
  --bg-panel: #232730;
  --bg-card: #2a2f39;
  --ink: #f5eddc;              /* warm cream from the boot */
  --ink-dim: #b5a691;
  --ink-faded: #7a6e5e;
  --accent: #a05a2c;           /* leather brown from the belt */
  --accent-bright: #c47a3f;    /* lighter leather highlight */
  --accent-deep: #6e3d1e;      /* deepest leather shadow */
  --rule: #2f3540;
  --rule-strong: #404653;
  --cream: #f5eddc;
  --cream-shadow: #e0d4bd;
  --leaf: #7a8a5c;             /* leaf green accent from the hammer plant */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--ink);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(14, 13, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-img {
  height: 88px;
  width: auto;
  display: block;
}

.logo-mark {
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.logo-text {
  font-family: 'Bowlby One', sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.logo-text-thin {
  color: var(--ink-dim);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover { color: var(--ink); }

.nav-link.active {
  color: var(--accent);
}

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bg-base);
  background: var(--accent);
  padding: 10px 18px;
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: all 0.15s;
}

.nav-cta:hover {
  background: transparent;
  color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 60px;
  right: 40px;
  width: 280px;
  height: 280px;
  border: 2px solid var(--accent);
  opacity: 0.15;
  transform: rotate(8deg);
  pointer-events: none;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.1s forwards;
}

.hero-meta-divider {
  width: 24px;
  height: 1px;
  background: var(--rule-strong);
}

.blink {
  color: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 1100px;
}

.hero-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.35s; }
.hero-line:nth-child(3) { animation-delay: 0.5s; }

.hero-line-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-strike {
  position: relative;
  display: inline-block;
}

.hero-strike::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4%;
  width: 108%;
  height: 8px;
  background: var(--accent);
  transform: translateY(-50%) rotate(-2deg);
  animation: strike 0.6s ease-out 0.7s both;
}

@keyframes strike {
  from { transform: translateY(-50%) rotate(-2deg) scaleX(0); transform-origin: left; }
  to { transform: translateY(-50%) rotate(-2deg) scaleX(1); transform-origin: left; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  max-width: 620px;
  color: var(--ink-dim);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.7s forwards;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.85s forwards;
}

/* Buttons */
.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 18px 28px;
  text-decoration: none;
  border: 2px solid;
  transition: all 0.15s;
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-large {
  padding: 22px 40px;
  font-size: 14px;
}

/* Hero strip (marquee) */
.hero-strip {
  display: flex;
  gap: 24px;
  font-family: 'Bowlby One', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--ink-faded);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
}

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

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  margin-bottom: 32px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 200px;
}

.section-number {
  color: var(--accent);
  font-weight: 700;
}

.section-headline {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section-intro {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-dim);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.55;
}

.section-intro-light { color: var(--ink-dim); }

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}

.problem-list {
  list-style: none;
  max-width: 800px;
}

.problem-list li {
  font-size: clamp(18px, 2vw, 24px);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}

.problem-list li:hover {
  color: var(--accent);
  padding-left: 8px;
}

.problem-bullet {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--cream);
  color: var(--bg-base);
  padding: 100px 40px;
  position: relative;
}

.services .section-label-light {
  color: #6b5f51;
}

.services .section-label-light::after {
  background: var(--cream-shadow);
}

.services .section-label-light .section-number { color: var(--accent); }

.services .section-headline { color: var(--bg-base); }

.services .section-intro-light { color: #5a4f42; max-width: 720px; margin-bottom: 64px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  border: 1px solid var(--cream-shadow);
}

.service-card {
  padding: 48px 36px;
  border-right: 1px solid var(--cream-shadow);
  background: var(--cream);
  transition: background 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:last-child { border-right: none; }

.service-card:hover {
  background: var(--bg-base);
  color: var(--ink);
}

.service-card:hover .service-number { color: var(--accent); }
.service-card:hover .service-desc { color: var(--ink-dim); }
.service-card:hover .service-tag {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
}

.service-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 700;
}

.service-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #5a4f42;
  margin-bottom: 32px;
  flex: 1;
  transition: color 0.25s;
}

.service-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid var(--bg-base);
  align-self: flex-start;
  font-weight: 700;
  transition: all 0.25s;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 48px;
}

.process-step {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  padding: 36px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.process-step-num {
  font-family: 'Bowlby One', sans-serif;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}

.process-step-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.55;
}

.process-arrow {
  font-family: 'Bowlby One', sans-serif;
  font-size: 32px;
  color: var(--accent);
  align-self: center;
  padding-top: 48px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--accent);
  color: var(--bg-base);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(0, 0, 0, 0.04) 20px,
      rgba(0, 0, 0, 0.04) 22px
    );
  pointer-events: none;
}

.cta-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-banner-headline {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.cta-banner-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.5;
  font-weight: 500;
}

.cta-banner .btn-primary {
  background: var(--bg-base);
  color: var(--ink);
  border-color: var(--bg-base);
}

.cta-banner .btn-primary:hover {
  background: transparent;
  color: var(--bg-base);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-base);
  padding: 60px 40px 32px;
  border-top: 1px solid var(--rule);
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}

/* Brand tagline ribbon (echoes logo's BUILD. AUTOMATE. SAVE.) */
.tagline-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  padding: 24px 20px;
  background: var(--bg-panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.tagline-ribbon span:not(.tagline-dash) { white-space: nowrap; }

.tagline-dash {
  width: 32px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faded);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  padding: 100px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

.page-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
}

.page-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 1100px;
}

.page-subtitle {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-dim);
  max-width: 680px;
  line-height: 1.5;
}

.about-content {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.about-aside {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  position: sticky;
  top: 100px;
  align-self: start;
}

.about-aside-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.about-aside-row strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.about-aside-row span {
  color: var(--ink);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.about-body p {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  margin-bottom: 28px;
  color: var(--ink);
}

.about-body p.lede {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  color: var(--accent);
}

.about-values {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.value-item h4 {
  font-family: 'Bowlby One', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--accent);
}

.value-item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-wrap {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Bowlby One', sans-serif;
  font-size: 28px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.contact-info p {
  font-size: 17px;
  color: var(--ink-dim);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-detail {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-detail:last-child { border-bottom: 1px solid var(--rule); }

.contact-detail-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-faded);
}

.contact-detail-value {
  font-family: 'Bowlby One', sans-serif;
  font-size: 18px;
  color: var(--ink);
}

.contact-detail-value a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-value a:hover { color: var(--accent); }

.booking-card {
  background: var(--bg-panel);
  border: 2px solid var(--rule-strong);
  padding: 48px;
  position: relative;
}

.booking-card::before {
  content: "● BOOK A CALL";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--bg-base);
  padding: 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
}

.booking-card h3 {
  font-family: 'Bowlby One', sans-serif;
  font-size: 32px;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.booking-card p {
  color: var(--ink-dim);
  margin-bottom: 32px;
  line-height: 1.55;
}

.booking-perks {
  list-style: none;
  margin-bottom: 32px;
}

.booking-perks li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.booking-perks li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .site-header { padding: 14px 20px; }
  .nav { gap: 16px; }
  .nav-link { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 11px; }

  .hero { padding: 50px 20px 40px; }
  .hero::before { display: none; }

  .problem, .process, .services { padding: 60px 20px; }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-arrow {
    transform: rotate(90deg);
    padding: 0;
    text-align: center;
  }

  .cta-banner { padding: 60px 20px; }
  .cta-banner-headline { font-size: 44px; }

  .page-hero { padding: 60px 20px 40px; }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 20px;
  }
  .about-aside { position: static; }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 20px;
  }

  .booking-card { padding: 32px 24px; }

  .footer-top, .footer-bottom { padding-left: 0; padding-right: 0; }
  .site-footer { padding: 40px 20px 24px; }
}
