/* Cal Fleet Management LLC - one-page site, 2026 */

:root {
  --ink: #0c1016;
  --ink-soft: #243042;
  --paper: #f6f3ee;
  --paper-2: #ece7de;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(12, 16, 22, 0.12);
  --accent: #c6f04d;
  --accent-ink: #13200a;
  --muted: #5c6776;
  --danger: #9b2c2c;
  --shadow: 0 18px 50px rgba(12, 16, 22, 0.18);
  --radius: 14px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 6vw;
  color: var(--white);
}

.logo {
  text-decoration: none;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  line-height: 1.25;
}

.logo span {
  display: block;
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: 0.62rem;
  opacity: 0.78;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
}

.logo,
.nav a {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.nav a {
  text-decoration: none;
  opacity: 0.94;
}

.nav a:hover,
.nav a:focus {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 92vh;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 58%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 16, 0.72) 0%, rgba(8, 11, 16, 0.28) 28%, rgba(8, 11, 16, 0.22) 52%, rgba(8, 11, 16, 0.9) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 88vw);
  margin: 0 auto;
  padding: 7.5rem 0 4.2rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 16ch;
}

.hero-lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-primary:hover,
.btn-primary:focus {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */

section {
  padding: 4.5rem 6vw;
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.2rem;
  align-items: start;
}

.about p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.facts {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.facts dd {
  margin: 0 0 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.facts dd:last-child {
  margin-bottom: 0;
}

/* Drive / form */

.drive {
  background: var(--ink);
  color: var(--white);
}

.drive .section-label {
  color: var(--accent);
}

.drive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.drive p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 1rem;
}

form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.field {
  margin-bottom: 1rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 10px;
  padding: 0.85rem 0.9rem;
  font: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Contact */

.contact {
  background: var(--paper-2);
}

.contact a.email {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
}

.contact a.email:hover,
.contact a.email:focus {
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.6rem 6vw 2rem;
  font-size: 0.86rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.credit {
  max-width: 38rem;
}

/* Thank-you page */

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 4rem 6vw;
  background: var(--paper);
}

.thanks-card {
  width: min(36rem, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
}

.thanks-card p {
  color: var(--ink-soft);
}

/* Mobile */

@media (min-width: 801px) {
  .hero-image {
    object-position: 50% 60%;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 68vh;
  }

  .hero-image {
    object-position: 22% 78%;
  }

  .site-header {
    padding: 1rem 5vw;
  }

  .nav {
    gap: 0.9rem;
    font-size: 0.86rem;
  }

  .hero-copy {
    padding: 5.2rem 0 2.2rem;
  }

  .about-grid,
  .drive-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  section {
    padding: 3.4rem 5vw;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .logo {
    font-size: 0.74rem;
  }

  .hero h1 {
    max-width: none;
  }
}
