/* Mammoth Fuels — static rebuild of mammothfuels.com */
:root {
  --yellow: #F8C12C;
  --yellow-dk: #E0A800;
  --navy: #000D2B;
  --navy-2: #0B1B40;
  --ink: #1C1C1C;
  --body: #5E5E5E;
  --muted: #7B7B7B;
  --line: #E6ECEF;
  --paper: #F3F3F3;
  --white: #fff;
  --display: "Work Sans", system-ui, sans-serif;
  --text: "Poppins", system-ui, sans-serif;
  --wrap: 1170px;
  --gutter: 24px;
  --shadow: 0 10px 30px rgba(0, 13, 43, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 300 16px/1.75 var(--text); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* eyebrow + section titles (matches the old theme: small caps kicker over a bold title) */
.eyebrow { display: block; font: 600 12px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 14px; }
.title { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; margin: 0 0 32px; }
.on-dark, .on-dark .eyebrow, .on-dark .title, .on-dark h3, .on-dark h4 { color: var(--white); }
.section { padding: clamp(64px, 8vw, 100px) 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 34px; background: var(--yellow); color: var(--white);
  font: 500 16px/1 var(--text); text-decoration: none; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--yellow-dk); color: var(--white); }
.btn--dark { color: var(--navy); }
.btn--dark:hover { color: var(--navy); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 74px; background: var(--yellow); display: flex; align-items: stretch; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.site-header__brand {
  position: relative; display: flex; align-items: center; padding: 0 70px 0 24px; background: var(--white);
  clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%); flex-shrink: 0;
}
.site-header__brand img { width: 152px; }
.nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; }
.nav a { font: 500 13px/1 var(--text); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.site-header__call { display: flex; align-items: center; gap: 10px; padding: 0 28px; color: var(--navy); font: 600 16px/1 var(--display); text-decoration: none; white-space: nowrap; }
.site-header__call svg { width: 20px; height: 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 0 20px; color: var(--navy); cursor: pointer; min-width: 64px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy) url(../img/hero-truck.webp) 30% center / cover no-repeat; min-height: 500px; display: flex; align-items: center; }
.hero__inner { position: relative; z-index: 1; padding: 70px var(--gutter); }
.hero .eyebrow { color: var(--white); }
.hero h1 { color: var(--white); font-weight: 300; font-size: clamp(40px, 5vw, 60px); line-height: 1.1; margin: 0 0 18px; }
.hero__tag { color: var(--white); font: 600 clamp(18px, 2vw, 25px)/1.3 var(--display); margin: 0 0 40px; }
.hero__tag span { color: var(--yellow); padding: 0 .3em; }

/* ---------- mission ---------- */
.mission { background: url(../img/bg-pattern.webp) center / cover; }
.mission__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 0; font: 600 16px/1.3 var(--display); color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg); transition: transform .2s; flex-shrink: 0; }
.accordion details[open] summary::before { transform: rotate(45deg); }
.accordion details p { padding: 0 0 18px 22px; margin: 0; }
.founder { text-align: center; }
.founder img { width: 190px; height: 190px; border-radius: 50%; margin: 0 auto 18px; box-shadow: var(--shadow); border: 6px solid var(--white); }
.founder__name { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.founder blockquote { margin: 0; font: 400 italic 20px/1.6 var(--text); color: var(--ink); position: relative; padding-top: 44px; }
.founder blockquote::before { content: "\201C"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font: 700 70px/1 var(--display); color: var(--ink); }

/* ---------- services ---------- */
.services { background: url(../img/bg-pattern.webp) center / cover; border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.svc-card { background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-card__body { padding: 22px 24px 26px; display: flex; gap: 16px; align-items: flex-start; }
.svc-card h3 { font-size: 18px; margin: 4px 0 6px; }
.svc-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.svc-icon { width: 40px; height: 40px; color: var(--yellow); flex-shrink: 0; }
.svc-list { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.svc-list .svc-card__body { padding: 24px; background: var(--white); box-shadow: var(--shadow); height: 100%; flex-direction: column; gap: 12px; }

/* ---------- fleet ---------- */
.fleet { background: var(--navy); }
.fleet img { width: 100%; max-width: 920px; margin: 0 auto; }

/* ---------- testimonial + team ---------- */
.testimonial { text-align: center; max-width: 820px; margin: 0 auto 80px; }
.testimonial img { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0 0 18px; font-size: 17px; color: var(--body); }
.testimonial cite { font: 600 15px/1.4 var(--display); font-style: normal; color: var(--ink); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.team-card { flex: 0 1 calc((100% - 60px) / 3); }
.team-card { background: var(--white); box-shadow: var(--shadow); padding: 36px 24px 32px; text-align: center; }
.team-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--yellow); }
.team-card h3 { font-size: 26px; line-height: 1.15; margin: 0 0 16px; }
.team-card p { margin: 0; font-size: 13px; color: #9A6B00; }

/* ---------- jobs band ---------- */
.jobs-band { padding-bottom: 0; }
.jobs-band__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.jobs-band .title { margin-bottom: 20px; }
.highway { margin-top: 56px; height: 60px; background: url(../img/highway.jpg) repeat-x center / auto 60px; position: relative; overflow: visible; }
.highway__truck { position: absolute; bottom: 14px; left: 0; width: 240px; animation: drive 18s linear infinite; }
@keyframes drive { from { transform: translateX(-260px); } to { transform: translateX(100vw); } }
@media (prefers-reduced-motion: reduce) { .highway__truck { animation: none; left: 8%; } html { scroll-behavior: auto; } }

/* ---------- customers ---------- */
.customers__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.customers__copy p { font-size: 15px; }
.customers__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.customers__photos img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------- news ---------- */
.news { background: var(--paper); }
.news-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.news-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow); transition: transform .2s; }
.news-card:hover { transform: translateY(-4px); }
.news-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-card span { display: block; padding: 16px 18px 20px; font: 600 16px/1.35 var(--display); }
.news-card time { display: block; padding: 0 18px 18px; margin-top: auto; font-size: 12px; color: var(--muted); }

/* ---------- contact + footer ---------- */
.contact { position: relative; }
.contact__panel {
  background: var(--navy); color: var(--white); padding: 70px 0 110px;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 55% 62%, 48% 100%, 0 100%);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.contact__list li { display: flex; gap: 12px; align-items: baseline; }
.contact__list strong { font-weight: 600; min-width: 116px; }
.contact__list a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__list a:hover { border-color: var(--yellow); color: var(--yellow); }
.contact__list svg { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; transform: translateY(2px); }
.certs { text-align: center; }
.certs h3 { font: 600 italic 28px/1.2 var(--display); color: var(--white); margin: 0 0 14px; }
.certs p { font-size: 13px; letter-spacing: .06em; margin: 0; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: -130px 0 0 auto; width: min(100%, 460px); padding: 0 var(--gutter) 56px; position: relative; }
.footer-brand img { width: 170px; }
.footer-brand__phone { font: 600 32px/1 var(--display); color: #000; text-decoration: none; }
.socials { display: flex; gap: 18px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); }
.socials svg { width: 34px; height: 34px; }
.copyright { background: var(--yellow); color: var(--navy); text-align: center; font-size: 12px; padding: 18px var(--gutter); margin: 0; }

/* ---------- inner pages ---------- */
.page-head { background: var(--navy); color: var(--white); padding: 60px 0 56px; }
.page-head h1 { color: var(--white); font-size: clamp(32px, 4vw, 46px); font-weight: 600; }
.crumbs { font-size: 13px; margin: 0 0 12px; opacity: .8; }
.crumbs a { color: var(--yellow); text-decoration: none; }
.prose { max-width: 780px; }
.prose p, .prose li { font-size: 17px; }
.prose img { margin: 28px 0; box-shadow: var(--shadow); }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.post-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { color: var(--ink); font: 600 15px/1.4 var(--display); text-decoration: none; max-width: 48%; }
.post-nav a:hover { color: #9A6B00; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.gallery img { margin: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-list { display: grid; gap: 30px; }
.news-row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; text-decoration: none; color: inherit; background: var(--white); box-shadow: var(--shadow); }
.news-row img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.news-row div { padding: 26px 26px 26px 0; }
.news-row h2 { font-size: 22px; margin: 6px 0 10px; }
.news-row:hover h2 { color: #9A6B00; }
.job { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.job dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px 20px; font-size: 15px; }
.job dt { font: 600 15px/1.6 var(--display); color: var(--ink); }
.job dd { margin: 0; }
.job ul { margin: 0; padding-left: 18px; }
.apply { background: var(--paper); padding: 34px; }
.apply h2 { font-size: 24px; margin-bottom: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav ul { gap: 28px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-header__call { display: none; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; background: var(--yellow); display: none; padding: 8px 0 20px; box-shadow: 0 12px 20px rgba(0,0,0,.12); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .nav a { display: block; padding: 16px 24px; font-size: 15px; border: 0; }
  .mission__grid, .customers__grid, .contact__grid, .job { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { flex-basis: calc((100% - 30px) / 2); }
  .hero { background-position: 62% center; min-height: 0; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 35%, rgba(0,13,43,.55)); }
  .contact__panel { clip-path: none; padding-bottom: 56px; }
  .footer-brand { margin: 0 auto; padding-top: 48px; }
  .news-row { grid-template-columns: minmax(0, 1fr); }
  .news-row div { padding: 0 24px 24px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .site-header { height: 64px; }
  .nav { top: 64px; }
  .site-header__brand { padding: 0 48px 0 16px; clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%); }
  .site-header__brand img { width: 124px; }
  .svc-grid, .svc-list { grid-template-columns: minmax(0, 1fr); }
  .team-card { flex-basis: 100%; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .news-card span { font-size: 14px; padding: 12px 12px 14px; }
  .news-card time { padding: 0 12px 12px; }
  .customers__photos { gap: 6px; }
  .contact__list li { flex-direction: column; gap: 0; padding-left: 28px; position: relative; }
  .contact__list svg { position: absolute; left: 0; top: 6px; }
  .job dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .job dd { margin-bottom: 12px; }
  .highway__truck { width: 170px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
