:root {
  --ink: #0b0d0e;
  --ink-soft: #121618;
  --steel: #778086;
  --paper: #f3f1eb;
  --white: #fff;
  --amber: #e59b28;
  --amber-bright: #f5ad3c;
  --line-dark: rgba(255,255,255,.13);
  --line-light: #d6d4ce;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
img, svg { display: block; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: var(--amber); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid var(--line-dark); color: white; }
.site-header.scrolled { position: fixed; background: rgba(11,13,14,.95); backdrop-filter: blur(12px); animation: drop .25s ease; }
@keyframes drop { from { transform: translateY(-100%); } }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; color: var(--amber); }
.brand-mark svg { width: 100%; fill: currentColor; }
.brand-copy { line-height: .77; letter-spacing: .035em; }
.brand-copy strong { display: block; font: 900 34px/26px var(--display); }
.brand-copy small { display: block; margin-top: 5px; color: var(--amber); font: 700 13px/1 var(--body); letter-spacing: .43em; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-nav a { text-decoration: none; transition: color .2s; }
.site-nav a:hover { color: var(--amber-bright); }
.site-nav .nav-cta { padding: 13px 19px; border: 1px solid var(--amber); color: var(--amber-bright); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 27px; height: 2px; margin: 5px; background: white; }

.hero { position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden; color: white; background: #0c0e0f url("assets/hite-diesel-hero.png") center/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.96) 0%, rgba(7,9,10,.78) 34%, rgba(7,9,10,.14) 72%), linear-gradient(0deg, rgba(7,9,10,.55), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 75px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--amber-bright); font-size: .72rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #9a681c; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; }
h1 { max-width: 780px; margin: 0; font-size: clamp(4.6rem, 9.2vw, 8.3rem); line-height: .82; letter-spacing: -.035em; }
h1 em { color: var(--amber-bright); font-style: normal; }
.hero-lede { max-width: 620px; margin: 34px 0 38px; color: #d8dadb; font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 0 25px; border: 1px solid transparent; text-decoration: none; font: 800 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.button-primary { background: var(--amber); color: var(--ink); }
.button-primary:hover { background: var(--amber-bright); }
.button-ghost { border-color: rgba(255,255,255,.42); color: white; }
.button-ghost:hover { background: white; color: var(--ink); }
.hero-rail { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-left: auto; background: rgba(10,12,13,.9); backdrop-filter: blur(10px); }
.hero-rail div { display: flex; align-items: center; gap: 13px; min-height: 83px; padding: 16px 25px; border-left: 1px solid var(--line-dark); }
.hero-rail span { color: var(--amber); font: 700 .7rem var(--body); }
.hero-rail strong { font: 700 .72rem var(--body); letter-spacing: .06em; text-transform: uppercase; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.section-heading h2, .services-top h2, .process-heading h2, .contact h2 { margin: 0; font-size: clamp(3.3rem, 6vw, 5.7rem); line-height: .91; letter-spacing: -.025em; }
.intro-copy { padding-top: 28px; color: #54595c; }
.intro-copy .lead { margin-top: 0; color: var(--ink); font-size: 1.25rem; font-weight: 500; }
.text-link { display: inline-flex; gap: 18px; margin-top: 20px; color: #8d5e18; font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.services { color: white; background: var(--ink-soft); }
.services-top { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.services-top p:last-child { color: #aeb3b5; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-card { position: relative; min-height: 350px; padding: 36px 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .25s, transform .25s; }
.service-card:hover { z-index: 1; background: #181d1f; transform: translateY(-5px); }
.service-number { color: #737a7e; font: 700 .68rem var(--body); }
.service-icon { width: 50px; height: 50px; margin: 60px 0 29px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 14px; font-size: 1.55rem; letter-spacing: .02em; }
.service-card p { margin: 0; color: #9ea4a7; font-size: .9rem; }
.service-note { margin: 31px 0 0; color: #9ea4a7; text-align: center; font-size: .84rem; }

.amsoil { position: relative; overflow: hidden; background: #e9e7e1; }
.amsoil::after { content: ""; position: absolute; right: -110px; bottom: -210px; width: 430px; height: 430px; border: 1px solid rgba(11,13,14,.09); border-radius: 50%; box-shadow: 0 0 0 75px rgba(11,13,14,.025), 0 0 0 150px rgba(11,13,14,.02); }
.amsoil-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .78fr 1.22fr; gap: 10%; align-items: center; }
.amsoil-panel { position: relative; min-height: 470px; display: flex; flex-direction: column; justify-content: center; padding: 55px; overflow: hidden; color: white; background: linear-gradient(145deg, #0a0c0d 0%, #151a1c 100%); box-shadow: 0 24px 50px rgba(0,0,0,.16); }
.amsoil-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 42px, rgba(255,255,255,.025) 42px 43px); }
.amsoil-wordmark { position: relative; padding-bottom: 16px; border-bottom: 5px solid #c62b26; font: italic 900 clamp(4rem, 7vw, 6.3rem)/.78 var(--display); letter-spacing: -.045em; }
.amsoil-panel p { position: relative; margin: 18px 0 0; color: #b8bdc0; font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.oil-lines { position: absolute; right: -65px; bottom: -70px; width: 230px; height: 230px; transform: rotate(-20deg); }
.oil-lines span { position: absolute; inset: 0; border: 1px solid rgba(229,155,40,.25); border-radius: 48% 52% 50% 50%; }
.oil-lines span:nth-child(2) { inset: 27px; }
.oil-lines span:nth-child(3) { inset: 54px; background: rgba(229,155,40,.06); }
.amsoil-copy h2 { max-width: 680px; margin: 0; font-size: clamp(3.1rem, 5.6vw, 5.2rem); line-height: .91; letter-spacing: -.025em; }
.amsoil-copy .lead { max-width: 670px; color: #4d5355; font-size: 1.08rem; }
.amsoil-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 30px 0 35px; padding: 0; border-top: 1px solid #cbc9c2; list-style: none; }
.amsoil-list li { padding: 14px 8px 14px 24px; border-bottom: 1px solid #cbc9c2; color: #363b3d; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.amsoil-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 12px 1px -20px; background: var(--amber); transform: rotate(45deg); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #272d2f; }
.trademark-note { max-width: 600px; margin: 18px 0 0; color: #85898a; font-size: .63rem; }

.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 11%; }
.process-heading { position: sticky; top: 130px; align-self: start; }
.process-heading > p:last-child { max-width: 430px; color: #5e6365; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line-light); }
.process-list li:last-child { border-bottom: 1px solid var(--line-light); }
.process-list li > span { color: #a06c1d; font: 700 .72rem var(--body); }
.process-list h3 { margin: -7px 0 5px; font-size: 1.65rem; }
.process-list p { margin: 0; color: #62676a; }

.statement { padding: 100px 0; color: white; text-align: center; background: linear-gradient(135deg, #111517, #252b2e); }
.statement p { margin: 0 0 8px; color: var(--amber); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.statement h2 { max-width: 850px; margin: auto; font-size: clamp(2.8rem, 5.5vw, 5.2rem); line-height: .95; }

.contact { color: white; background: #0b0d0e; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; color: #9fa4a6; }
.contact-points { display: grid; gap: 12px; margin-top: 35px; color: #d7d9d9; font-size: .83rem; font-weight: 600; }
.contact-points span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; border: 1px solid #75521c; color: var(--amber); font-size: .68rem; }
.service-form { padding: 38px; border: 1px solid var(--line-dark); background: #111517; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-form label { display: block; margin-bottom: 19px; }
.service-form label > span { display: block; margin-bottom: 7px; color: #aeb2b4; font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-form input, .service-form select, .service-form textarea { width: 100%; border: 1px solid #303638; border-radius: 0; outline: none; background: #0d1011; color: white; font: inherit; }
.service-form input, .service-form select { height: 50px; padding: 0 14px; }
.service-form textarea { padding: 13px 14px; resize: vertical; }
.service-form input:focus, .service-form select:focus, .service-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.service-form ::placeholder { color: #676e71; }
.service-form .button { width: 100%; border: 0; }
.form-note { margin: 13px 0 0; color: #757c7f; font-size: .7rem; text-align: center; }
.honeypot { position: absolute !important; left: -9999px !important; }

.site-footer { color: white; background: #070809; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 50px; align-items: center; padding: 70px 0; }
.footer-top > p { color: #878d90; font-size: .82rem; }
.footer-cta { padding-bottom: 9px; border-bottom: 1px solid var(--amber); color: var(--amber); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.footer-cta span { margin-left: 20px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line-dark); color: #666d70; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 85px 0; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: absolute; top: 0; right: 0; width: min(340px, 88vw); min-height: 100vh; padding: 110px 36px; flex-direction: column; align-items: stretch; gap: 28px; background: #0b0d0e; transform: translateX(105%); transition: transform .3s ease; }
  .site-nav.open { transform: none; }
  .site-nav .nav-cta { text-align: center; }
  .hero { min-height: 760px; background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,9,10,.96), rgba(7,9,10,.58)); }
  .hero-rail { display: none; }
  .intro-grid, .services-top, .amsoil-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .amsoil-panel { min-height: 350px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-heading { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cta { justify-self: start; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 75px; }
  .brand-mark { width: 35px; }
  .brand-copy strong { font-size: 29px; }
  h1 { font-size: clamp(3.7rem, 20vw, 5.2rem); }
  .hero { min-height: 720px; background-position: 66% center; }
  .hero-lede { font-size: .95rem; }
  .hero-actions .button { width: 100%; }
  .section-heading h2, .services-top h2, .process-heading h2, .contact h2 { font-size: 3.25rem; }
  .service-grid, .field-row { grid-template-columns: 1fr; }
  .amsoil-panel { min-height: 280px; padding: 35px 28px; }
  .amsoil-list { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .service-icon { margin-top: 34px; }
  .service-form { padding: 25px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
