/* Old Skuhl Diesel & Equipment Service LLC — shared stylesheet (tokens + chrome).
   Source platform: Wix. Runtime stripped; rebuilt as static HTML/CSS/vanilla-JS.
   Fonts are loaded via a <link> tag in every page head (not @import). */

:root {
  /* palette */
  --bg:            #08080c;
  --bg-alt:        #0d0d13;
  --card:          #14121c;
  --card-2:        #1a1725;
  --line:          #2a2636;
  --purple:        #7c2ff5;
  --purple-2:      #5a15c9;
  --purple-bright: #a768ff;
  --purple-glow:   rgba(124, 47, 245, 0.45);
  --text:          #ffffff;
  --muted:         #b7b5c4;
  --muted-2:       #8f8da0;
  --star:          #f5b301;

  /* type */
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-purple: 0 20px 50px -12px var(--purple-glow);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

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

.accent { color: var(--purple-bright); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }

.eyebrow { color: var(--purple-bright); font-family: var(--head); letter-spacing: 1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--purple-glow);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px var(--purple-glow); }
.btn-light {
  background: #f4f4f7;
  color: #14121c;
}
.btn-light:hover { transform: translateY(-2px); background: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--purple-bright);
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-text { line-height: 1; }
.brand-name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 3px;
}
.brand-sub {
  font-family: var(--head);
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--head);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e6e6ee;
  padding: 8px 16px;
  border-radius: var(--pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff;
}
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 40px; }
.footer-band {
  position: relative;
  background:
    linear-gradient(120deg, rgba(20, 8, 40, 0.72), rgba(60, 20, 130, 0.72)),
    url("orig/22.jpg") center/cover no-repeat;
  clip-path: polygon(0 42px, 10% 20px, 22% 40px, 38% 12px, 52% 36px, 68% 10px, 82% 34px, 100% 8px, 100% 100%, 0 100%);
  padding: 90px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr;
  gap: 34px;
}
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-follow { margin-top: 20px; color: #efeaff; font-size: 0.85rem; }
.socials { display: flex; gap: 12px; margin-top: 10px; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.socials img { width: 16px; height: 16px; }
.footer-col h4 { font-size: 1rem; letter-spacing: 1px; margin-bottom: 16px; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a, .footer-col p { color: #ede8ff; font-size: 0.9rem; opacity: 0.92; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-about p { font-size: 0.86rem; line-height: 1.65; margin-bottom: 12px; }
.footer-learn { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
.footer-bottom {
  text-align: center;
  padding: 22px 0 8px;
  color: #d9d0f5;
  font-size: 0.78rem;
}

/* ---------- motion (shared) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--purple-glow); }
  50%      { box-shadow: 0 0 0 10px rgba(124, 47, 245, 0); }
}

/* On-load entrance: always ends visible (animation always runs). */
.animate { animation: fadeUp 0.7s ease both; }
.animate-in { animation: fadeUp 0.7s ease both; }

/* IntersectionObserver reveals: elements start VISIBLE in CSS.
   The script applies the hidden state at runtime only after the observer
   is attached, so if the script never runs the content still shows. */
.reveal.is-armed { opacity: 0; transform: translateY(30px); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .animate, .animate-in, .reveal, .reveal.is-armed, .reveal.is-visible {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- responsive chrome ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    background: none; border: 0; color: #fff; cursor: pointer;
  }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0c0c12;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   page: home
   ===================================================================== */

/* hero */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 0;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.95;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,12,0.95) 30%, rgba(8,8,12,0.35) 60%, rgba(8,8,12,0) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 80px 0;
}
.hero-copy { max-width: 520px; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  margin-bottom: 18px;
}
.hero-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; max-width: 420px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-truck {
  position: relative;
  z-index: 2;
  justify-self: end;
  animation: floatY 6s ease-in-out infinite;
}
.hero-truck img { width: 100%; max-width: 620px; height: auto; }

/* feature row */
.features {
  background: var(--bg);
  padding: 20px 0 70px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.feature {
  padding: 8px 18px;
  border-left: 1px solid var(--line);
}
.feature:first-child { border-left: 0; }
.feature-icon { width: 52px; height: 52px; margin-bottom: 16px; }
.feature h4 { font-size: 1.02rem; margin-bottom: 10px; }
.feature p { color: var(--muted-2); font-size: 0.86rem; line-height: 1.55; }

/* about */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  border: 1px solid rgba(124, 47, 245, 0.4);
}
.about-photo img { width: 100%; height: 520px; object-fit: cover; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.about-copy > p { color: var(--muted); margin-bottom: 28px; }
.about-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.about-stat .num {
  font-family: var(--head);
  font-weight: 700;
  font-size: 3.4rem;
  color: var(--purple-bright);
  line-height: 1;
}
.about-stat p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* services */
.services { background: var(--bg-alt); }
.services-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.services-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.services-head p { color: var(--muted); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 47, 245, 0.6);
  box-shadow: var(--shadow-purple);
}
.service-card img { width: 100%; height: 150px; object-fit: cover; }
.service-body { padding: 18px 18px 22px; }
.service-body h4 { font-size: 0.98rem; margin-bottom: 10px; }
.service-body p { color: var(--muted-2); font-size: 0.82rem; line-height: 1.5; margin: 0; }

/* browse band */
.browse {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(90, 21, 201, 0.88), rgba(124, 47, 245, 0.85)),
    url("orig/16.jpg") center/cover no-repeat;
  clip-path: polygon(0 26px, 12% 4px, 26% 30px, 42% 6px, 58% 30px, 74% 6px, 88% 28px, 100% 6px, 100% calc(100% - 26px), 88% 100%, 74% calc(100% - 24px), 58% 100%, 42% calc(100% - 26px), 26% 100%, 12% calc(100% - 24px), 0 100%);
}
.browse-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.browse-copy { max-width: 560px; }
.browse-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.browse-copy p { color: rgba(255, 255, 255, 0.92); margin: 0; }
.browse-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* testimonials */
.testimonials { background: var(--bg); }
.testimonials h2 { text-align: center; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 46px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.testi {
  text-align: center;
  padding: 8px 10px;
}
.testi-avatar {
  width: 78px; height: 78px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 2px solid var(--purple);
}
.stars { color: var(--star); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 12px; }
.quote-mark { width: 30px; height: 30px; margin: 0 auto 10px; opacity: 0.9; }
.testi p { color: var(--muted); font-size: 0.85rem; line-height: 1.55; margin-bottom: 14px; }
.testi .name { font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; color: #fff; }

/* contact */
.contact { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 18px; }
.contact-copy > p { color: var(--muted); margin-bottom: 30px; max-width: 440px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-ico {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff;
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-item .label { color: var(--muted-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-item .value { font-family: var(--head); font-size: 1.05rem; color: var(--purple-bright); letter-spacing: 0.5px; }
.contact-item .value a { color: var(--purple-bright); }

/* form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.field input,
.field textarea {
  width: 100%;
  background: #0c0a12;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--body);
  font-size: 0.92rem;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #6d6b7a; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 47, 245, 0.25);
}
.field textarea { resize: vertical; min-height: 108px; }
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-submit {
  width: 100%;
  justify-content: center;
  border: 0;
  margin-top: 4px;
}

@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-truck { justify-self: center; margin-top: 20px; }
  .about-photo img { height: 380px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-left: 0; }
  .services-grid, .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
