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

/*
  PALETTE: black and Caterpillar yellow, set 2026-10-15 from the printed business card.
  Authority: Brands/Diesel Detail/BRAND-COLORS.txt. Two rules from it that matter here:
  never white text on yellow (1.5:1), and yellow is never a text color on white (1.4:1).
  Yellow text on black is fine (12.1:1).
*/
:root {
  --black:  #141618;
  --black-rgb: 20, 22, 24;
  --black-2: #1E2124;   /* raised panel on black */
  --yellow: #FFCD11;
  --white:  #FFFFFF;
  --silver: #99A2AA;    /* rules and icons on white, small text on black only */
  --grey:   #4A5157;    /* body text on white, 8.1:1 */
  --muted:  #6B737A;    /* labels on white, 5.1:1 */
  --line:   #E6E9EB;
  --paper:  #F6F7F8;

  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body:    'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --radius:  8px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 17px; line-height: 1.65; background: var(--white); color: var(--black); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 20px 0; transition: background .3s, padding .3s; }
.nav.solid { background: rgba(var(--black-rgb), .96); padding: 12px 0; box-shadow: 0 2px 0 var(--yellow); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 60px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: .06em; line-height: 1; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav ul a { text-decoration: none; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav ul a:hover { color: var(--yellow); }
.nav .nav-call { background: var(--yellow); color: var(--black); padding: 10px 18px; border-radius: 4px; }
.nav .nav-call:hover { background: var(--white); color: var(--black); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 4px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--black); color: var(--white); overflow: hidden; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.8s ease, transform 9s ease; }
.slide.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(var(--black-rgb), .9) 0%, rgba(var(--black-rgb), .6) 55%, rgba(var(--black-rgb), .25) 100%),
              linear-gradient(0deg, rgba(var(--black-rgb), .95) 0%, rgba(var(--black-rgb), 0) 45%); }
.hero-inner { width: 100%; position: relative; z-index: 2; padding-top: 150px; padding-bottom: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--yellow); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--yellow); }
.hero h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: .95; max-width: 16ch; margin-bottom: 24px; }
.hero h1 span { color: var(--yellow); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.creds { position: relative; z-index: 2; background: var(--yellow); color: var(--black); }
.creds .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding-top: 16px; padding-bottom: 16px; }
.creds span { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px; }
.creds span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--black); }

/* SECTIONS */
section { padding: 104px 0; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.label::before { content: ""; width: 30px; height: 3px; background: var(--yellow); }
h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1; margin-bottom: 18px; }
.intro { color: var(--grey); font-size: 1.08rem; max-width: 600px; }

/* SERVICES */
.svc-head { margin-bottom: 52px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { padding: 34px 30px 32px; background: var(--paper); border-radius: var(--radius); border-top: 4px solid var(--yellow); }
.svc-icon { width: 52px; height: 52px; border-radius: 6px; background: var(--black); color: var(--yellow); display: grid; place-items: center; margin-bottom: 22px; }
.svc-icon svg { width: 26px; height: 26px; }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 1.65rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.svc p { color: var(--grey); }
.systems { margin-top: 30px; color: var(--muted); font-size: .95rem; }
.systems b { color: var(--black); font-weight: 600; }

/* ABOUT */
#about { background: var(--black); color: var(--white); }
#about .label { color: var(--silver); }
.owner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.owner-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--black-2); }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; }
.owner-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--black); padding: 12px 20px; }
.owner-photo figcaption b { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.owner-photo figcaption span { font-size: .82rem; font-weight: 600; letter-spacing: .08em; }
.owner p { color: rgba(255,255,255,.84); font-size: 1.08rem; margin-bottom: 16px; }
.quote { margin-top: 30px; padding: 4px 0 4px 24px; border-left: 3px solid var(--yellow); font-size: 1.12rem; font-style: italic; color: var(--white); }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }

/* CONTACT */
#contact { background: var(--paper); }
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.contact .intro { margin-bottom: 30px; }
.phone { display: inline-block; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; text-decoration: none; border-bottom: 5px solid var(--yellow); padding-bottom: 4px; margin-bottom: 22px; }
.phone:hover { background: var(--yellow); }
.contact-lines { display: grid; gap: 8px; color: var(--grey); font-size: 1.05rem; }
.contact-lines a { color: var(--black); font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-card { background: var(--black); border-radius: var(--radius); padding: 48px 40px; border-top: 5px solid var(--yellow); }
.contact-card img { width: min(100%, 380px); margin: 0 auto; }

footer { background: var(--black); color: var(--silver); font-size: .84rem; padding: 30px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--yellow); }
.fine { flex-basis: 100%; font-size: .76rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }

.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav ul li:not(:last-child) { display: none; }
  .svc-grid, .owner, .contact { grid-template-columns: 1fr; gap: 36px; }
  .owner-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .brand img { width: 48px; }
  .brand-name { font-size: 1.2rem; }
  .hero-inner { padding-top: 120px; padding-bottom: 40px; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .creds .wrap { flex-direction: column; align-items: center; gap: 4px; }
  .creds span + span::before { display: none; }
  .creds span { display: block; text-align: center; font-size: .74rem; letter-spacing: .12em; }
  .eyebrow { letter-spacing: .16em; font-size: .74rem; }
  .contact-card { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .rv, .btn { transition: none; }
  .rv { opacity: 1; transform: none; }
}


/* ---------- INNER PAGES ---------- */
.brand img { height: auto; }
a.svc { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: opacity .7s ease, transform .3s ease, box-shadow .2s; }
a.svc:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(var(--black-rgb), .14); }
a.svc:focus-visible, .other a:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.svc p { margin-bottom: 14px; }
  .more { align-self: flex-start; margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--black); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.page-head { position: relative; background: var(--black); color: var(--white); padding: 150px 0 64px; overflow: hidden; }
.page-head .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--black-rgb), .94) 0%, rgba(var(--black-rgb), .78) 60%, rgba(var(--black-rgb), .55) 100%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .98; }
.crumb { display: inline-block; margin-bottom: 18px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); text-decoration: none; }
.crumb:hover { color: var(--white); }
.page-body { padding: 72px 0 88px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.prose p { font-size: 1.1rem; color: var(--grey); margin-bottom: 18px; max-width: 680px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 38px 0 18px; }
.checks { list-style: none; display: grid; gap: 12px; max-width: 680px; }
.checks li { position: relative; padding-left: 30px; font-size: 1.05rem; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 9px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg); }
.call-card { background: var(--black); color: var(--white); border-radius: var(--radius); border-top: 5px solid var(--yellow); padding: 30px 28px; position: sticky; top: 90px; }
.call-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.call-card p { font-size: .98rem; color: rgba(255,255,255,.84); margin-bottom: 20px; }
.call-card .btn { width: 100%; justify-content: center; padding: 14px 12px; }
.call-card a.mail { display: block; margin-top: 14px; text-align: center; font-size: .95rem; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 44px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: .9rem; color: var(--grey); }
.other { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); }
.other h2 { font-size: 1.6rem; margin-bottom: 16px; }
.other-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.other a { display: block; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); border-top: 3px solid var(--yellow); font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; text-decoration: none; color: var(--black); }
.other a:hover { background: var(--line); }
.callout { background: var(--yellow); color: var(--black); border-radius: var(--radius); padding: 30px 32px; margin-bottom: 44px; }
.callout h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.callout p { font-size: 1.08rem; color: var(--black); max-width: 820px; }
.about-bio { max-width: 760px; margin-bottom: 52px; }
.about-bio .quote { color: var(--black); }
.about-bio .quote cite { color: var(--grey); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert { background: var(--paper); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 26px 26px 28px; }
.cert h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; margin-bottom: 14px; line-height: 1.1; }
.cert ul { list-style: none; display: grid; gap: 12px; }
.cert li { font-size: .98rem; line-height: 1.45; color: var(--black); }
.link-line { margin-top: 18px; }
.link-line a { color: var(--white); font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .call-card { position: static; }
  .cert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-head { padding: 112px 0 44px; }
  .page-body { padding: 52px 0 64px; }
  .callout { padding: 24px 20px; }
}

/* Background pinning: keeps dark-mode viewers from repainting the page. Must stay last before print. */
html { background: #FFFFFF !important; }
body { background: #FFFFFF !important; color: #141618 !important; }
@media (prefers-color-scheme: dark) {
  html { background: #FFFFFF !important; }
  body { background: #FFFFFF !important; color: #141618 !important; }
}

@media print {
  .nav, .slides, .ctas { display: none !important; }
  .hero { min-height: 0; }
  .rv { opacity: 1 !important; transform: none !important; }
  section { padding: 40px 0; break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
  