/* ===== Tokens ===== */
:root {
  --asphalt: #0d0d0d;
  --asphalt-2: #171717;
  --asphalt-3: #262626;
  --yellow: #ffc21a;
  --yellow-dark: #e0a800;
  --orange: #ff7a1a;
  --white: #ffffff;
  --paper: #f6f4ef;
  --ink: #1c1c1c;
  --muted: #5f5f5f;
  --muted-light: #a3a3a3;
  --line: #e3e0d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 13, 13, 0.10);
  --font-head: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===== Themes =====
   Night (Diesel) is the default. Day (Teal) is set by data-theme="day" on <html>,
   chosen from the visitor's device setting or the sun/moon button. */
:root {
  --accent: var(--yellow);
  --accent-hover: var(--yellow-dark);
  --accent-2: var(--orange);
  --on-accent: var(--asphalt);
  --marker: var(--yellow);
  --surface-dark: var(--asphalt);
  --card-dark: var(--asphalt-2);
  --line-dark: var(--asphalt-3);
  --on-dark: var(--white);
  --on-dark-soft: #dedede;
  --on-dark-muted: var(--muted-light);
  --hero-bg: var(--asphalt);
  --hero-glow: #2a2a2a;
  --header-bg: rgba(13, 13, 13, 0.95);
  --header-line: rgba(255, 255, 255, 0.06);
  --nav-panel: var(--asphalt);
  --ghost-line: rgba(255, 255, 255, 0.4);
  --code-bg: rgba(255, 255, 255, 0.08);
  --logo-a: var(--yellow);
  color-scheme: dark;
}
:root[data-theme="day"] {
  --accent: #0f766e;
  --accent-hover: #0b5e57;
  --accent-2: #0f766e;
  --on-accent: #ffffff;
  --marker: var(--yellow);
  --surface-dark: #e8f2ef;
  --card-dark: #ffffff;
  --line-dark: #cfe3de;
  --on-dark: var(--ink);
  --on-dark-soft: #3a3a3a;
  --on-dark-muted: var(--muted);
  --hero-bg: var(--paper);
  --hero-glow: #d3efe9;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-line: var(--line);
  --nav-panel: #ffffff;
  --ghost-line: rgba(0, 0, 0, 0.3);
  --code-bg: rgba(0, 0, 0, 0.06);
  --logo-a: #e0a100; /* a deeper yellow so the logo's A stays readable on white */
  color-scheme: light;
}
[data-theme="day"] .btn-dark { background: #ffffff; color: var(--accent); }
[data-theme="day"] .truck-shadow { fill: rgba(0, 0, 0, 0.18); }
/* At night the road catches a warm glow from the truck instead of a shadow. */
[data-theme="day"] .truck-glow { display: none; }

/* Header truck follows the accent; its logo badge stays yellow. */
.truck-accent { fill: var(--accent); }

/* Sun/moon button in the header */
.nav-links { margin-left: auto; }
.theme-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-left: 18px;
  border-radius: 50%;
  border: 1px solid var(--ghost-line);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon, [data-theme="day"] .theme-toggle .icon-sun { display: none; }
[data-theme="day"] .theme-toggle .icon-moon { display: block; }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; }
h1, h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: 0.8em; word-break: break-all; background: var(--code-bg); padding: 2px 6px; border-radius: 6px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--surface-dark); color: var(--on-dark); }
.section-dark p { color: var(--on-dark-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.6em;
}
.section-dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; }
.hl { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ghost-line); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-outline { border-color: var(--asphalt); color: var(--asphalt); }
.btn-outline:hover { background: var(--asphalt); color: var(--white); }
.btn-dark { background: var(--asphalt); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  color: var(--on-dark);
  border-bottom: 1px solid var(--header-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-badge {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--yellow); color: var(--asphalt);
  border-radius: 9px;
  font-family: var(--font-head); font-size: 1.4rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.logo-name strong { color: var(--logo-a); }
.logo-sub { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--on-dark-soft); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; transition: 0.2s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 0%, var(--hero-glow) 0%, var(--hero-bg) 60%);
  color: var(--on-dark);
  padding: 110px 0 120px;
}
.road-lines {
  position: absolute; left: 0; right: 0; bottom: 34px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 60px, transparent 60px 110px);
  opacity: 0.85;
  animation: road 1.6s linear infinite;
}
@keyframes road { to { background-position: -110px 0; } }

/* The truck stays put and the road slides under it, so it looks like it's driving. */
.road-truck {
  position: absolute;
  right: 8%;
  bottom: 40px;
  width: 228px;
  height: auto;
  pointer-events: none;
  overflow: visible;
  /* On a first visit it rolls in from off the left edge and parks on the right.
     --truck-start is the distance from its parking spot to just past the edge. */
  --truck-start: -92vw;
  animation: truck-arrive 3.5s cubic-bezier(0.3, 0.55, 0.35, 1) 0.3s both;
}
@keyframes truck-arrive {
  from { transform: translateX(var(--truck-start)); }
  to { transform: none; }
}
.truck-shadow { fill: rgba(0, 0, 0, 0.35); }
.truck-body { animation: truck-bounce 0.45s ease-in-out infinite alternate; }
@keyframes truck-bounce { to { transform: translateY(-1.5px); } }
.hero-inner { position: relative; max-width: 860px; }
.hero h1 { font-size: clamp(3.6rem, 11vw, 7.5rem); line-height: 0.95; margin-bottom: 0.3em; }
/* "Wait… ditch?" sticker: drops in once the truck has parked and bounces like a ball. */
.headline { position: relative; display: inline-block; }
.sticker {
  position: absolute; right: -170px; bottom: calc(0.3em + 10px);
  display: grid; place-items: center; width: 140px; height: 140px; padding: 14px;
  border-radius: 50%; background: var(--accent-2); color: #fff;
  font-size: 0.95rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: rotate(-8deg);
  transform-origin: 50% 100%; /* squash against the "floor", like a ball */
  /* "backwards", not "both": once it lands, the hover tilt can take over. */
  /* 4s delay: the hero truck (0.3s + 3.5s) parks first, then the sticker drops. */
  animation: sticker-drop 1.3s 4s backwards;
  transition: transform 0.2s;
}
.sticker:hover, .sticker:focus-visible { transform: rotate(-3deg) scale(1.06); }
[data-theme="day"] .sticker { background: var(--logo-a); color: #1a1a1a; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
/* Falls (speeding up), squashes on landing, then two smaller hops. */
@keyframes sticker-drop {
  0%   { opacity: 0; transform: translateY(-320px) rotate(-8deg); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  10%  { opacity: 1; }
  38%  { transform: translateY(0) rotate(-8deg) scale(1.14, 0.84); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  58%  { transform: translateY(-70px) rotate(-8deg) scale(0.96, 1.04); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  74%  { transform: translateY(0) rotate(-8deg) scale(1.08, 0.92); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  86%  { transform: translateY(-22px) rotate(-8deg); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  95%  { transform: translateY(0) rotate(-8deg) scale(1.03, 0.97); }
  100% { opacity: 1; transform: translateY(0) rotate(-8deg); }
}
.hero .lead { color: var(--on-dark-soft); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.spots { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-soft); font-size: 0.95rem; margin: 0; }
.spots strong { color: var(--on-dark); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ===== Ditch ===== */
.definition {
  font-size: 1.15rem;
  padding: 18px 22px;
  background: var(--white);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.definition .term { color: var(--accent-2); font-size: 1.15em; }
.split-word { font-weight: 800; }

/* "spa" joke: a fake pointer clicks the letters and a bubble explains */
.definition { position: relative; }
.definition p { margin: 0; }
.spa { cursor: help; border-radius: 3px; transition: color 0.2s, background 0.2s; outline-offset: 2px; }
.spa.on { color: var(--white); background: var(--accent-2); }
.spa-tip {
  position: absolute;
  z-index: 5;
  width: max-content;
  max-width: min(300px, calc(100% - 16px));
  padding: 12px 16px;
  background: var(--asphalt);
  color: #dedede;
  font-size: 0.95rem;
  line-height: 1.45;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(13, 13, 13, 0.3);
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  transform-origin: bottom center;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.spa-tip strong { display: block; color: var(--yellow); margin-bottom: 2px; }
.spa-tip::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: var(--arrow-x, 50%);
  width: 14px; height: 14px;
  background: var(--asphalt);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}
.spa-tip.show { opacity: 1; transform: none; }
.fake-cursor {
  position: absolute;
  top: 0; left: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: transform 1.1s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s ease;
}
.fake-cursor.click { animation: cursor-click 0.3s ease; }
@keyframes cursor-click { 50% { scale: 0.8; } }
.marker {
  color: var(--asphalt);
  background: linear-gradient(transparent 45%, var(--marker) 45%);
}
.acronym-intro { font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.acronym { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.letter-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--accent);
  transition: transform 0.2s ease;
}
.letter-card:hover { transform: translateY(-4px); }
.letter { font-family: var(--font-head); font-size: 3.6rem; line-height: 1; color: var(--accent-2); display: block; margin-bottom: 10px; }
.letter-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.joke {
  margin: 48px 0 0;
  padding: 30px 34px;
  background: var(--surface-dark);
  color: var(--on-dark-soft);
  border-radius: var(--radius);
  font-size: 1.15rem;
}
.joke span { display: block; margin-top: 12px; font-weight: 800; font-size: 1.3rem; color: var(--accent); }

/* ===== Why ===== */
.why-grid > *, .about-grid > *, .calc-wrap > *, .contact-grid > * { min-width: 0; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.big-quote { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; text-transform: uppercase; color: var(--on-dark) !important; margin-top: 28px; }
.eight-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.eight-list li {
  position: relative;
  min-height: 86px;
  display: block;
  padding-top: 22px;
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px 18px 16px 86px;
}
.eight-list span {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-head); font-size: 1.3rem;
}
.aside { font-size: 0.92rem; color: var(--on-dark-muted) !important; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.avatar {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 6px solid var(--accent);
  box-shadow: var(--shadow);
}
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.facts li { background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow); min-width: 150px; }
.facts strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.8rem; color: var(--accent-2); line-height: 1.1; }
.facts span { font-size: 0.88rem; color: var(--muted); }
.portfolio-link { margin-top: 28px; }

/* ===== My Work ===== */
.page-hero { padding: 80px 0 96px; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 6rem); }
.work-page { border-top: 1px solid var(--line-dark); }
.work-sub { font-size: 1.35rem; margin: 56px 0 18px; color: var(--on-dark); }
.work-sub:first-of-type { margin-top: 0; }
.tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2) !important; margin-bottom: 8px; }
.skills { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.skills li { background: var(--card-dark); border: 1px solid var(--line-dark); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px; }
.skills strong { display: block; color: var(--on-dark); margin-bottom: 4px; }
.skills span { font-size: 0.9rem; color: var(--on-dark-muted); }

.case, .week { margin-top: 56px; background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: 20px; padding: 32px; }
.case { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.case h3, .week h3 { font-size: 1.5rem; color: var(--on-dark); }
.case-text p:last-child, .week-head p:last-child { margin-bottom: 0; }
.case-stats { display: grid; gap: 12px; }
.case-stats > div { background: var(--surface-dark); border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case-stats > div:nth-child(2) { background: var(--accent); }
.case-stats > div:nth-child(2) .label, .case-stats > div:nth-child(2) .num { color: var(--on-accent); }
.case-stats .label { font-size: 0.85rem; font-weight: 600; color: var(--on-dark-muted); }
.case-stats .num { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--on-dark); }
.case-stats .num small { font-size: 0.55em; }
.strike { text-decoration: line-through; text-decoration-color: var(--accent-2); opacity: 0.7; }

.week-head { max-width: 680px; margin-bottom: 22px; }
.week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.truck { background: var(--surface-dark); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.truck-id { font-family: var(--font-head); font-size: 1.3rem; color: var(--accent); text-transform: uppercase; }
.truck p { font-size: 0.93rem; margin: 6px 0 14px; flex: 1; }
.gross { font-family: var(--font-head); font-size: 1.7rem; color: var(--on-dark); }
.gross small { font-family: var(--font-body); font-size: 0.8rem; color: var(--on-dark-muted); }

.tools { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; }
.tool-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.tool-shot img { width: 100%; height: auto; }
.tool-list { display: grid; gap: 16px; }
.tool { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; }
.tool h4, .problems h4 { font-size: 1.1rem; color: var(--on-dark); margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tool p, .problems p { margin: 0; font-size: 0.95rem; }
.tool-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.tool-card { display: flex; flex-direction: column; background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
/* Screenshots are cropped to the same height, showing the top of each app. */
.tool-card img { width: 100%; height: 260px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line-dark); }
.tool-card > div { padding: 22px 24px 24px; }
.tool-card h4 { font-size: 1.1rem; color: var(--on-dark); margin: 0 0 8px; }
.tool-card p { margin: 0; font-size: 0.95rem; }
.pill { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; background: var(--accent-2); color: var(--on-accent); padding: 3px 10px; border-radius: 999px; }

.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problems > div { background: var(--card-dark); border: 1px solid var(--line-dark); border-top: 4px solid var(--accent-2); border-radius: var(--radius); padding: 22px; }

.cert { margin-top: 40px; display: flex; align-items: center; gap: 16px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 20px 24px; }
.cert p { color: var(--on-accent) !important; margin: 0; }
.cert-icon { font-size: 2rem; }

/* ===== Steps & services ===== */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 28px; position: relative; }
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-dark); color: var(--accent);
  font-family: var(--font-head); font-size: 1.4rem;
  margin-bottom: 16px;
}
.steps p { color: var(--muted); margin: 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.service .icon { font-size: 1.7rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.hurdles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hurdles > * { min-width: 0; }
.serve { margin-top: 44px; }
.chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--surface-dark); color: var(--on-dark); font-weight: 600; font-size: 0.92rem; }
.serve-note { color: var(--muted); }
.fleet-note {
  margin: 28px 0 0;
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px;
  background: var(--surface-dark); color: var(--on-dark);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
}
.fleet-note p { margin: 0; color: var(--on-dark-soft); }
.fleet-note .fleet-title {
  margin-bottom: 6px;
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.15; text-transform: uppercase; color: var(--on-dark);
}
.fleet-title span { color: var(--accent); }
.new-auth { margin-top: 56px; padding: 32px; background: var(--paper); border-radius: 20px; }
.new-auth-title { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.2rem); text-transform: uppercase; margin-bottom: 0.3em; }
.new-auth-lead { color: var(--muted); max-width: 640px; margin-bottom: 24px; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; margin-bottom: 40px; }
.price-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 2px solid transparent; }
.price-card.featured { border-color: var(--accent); }
.plan { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--muted); }
.price { font-size: 1rem; color: var(--muted); }
.price span { display: block; font-family: var(--font-head); font-size: 2.8rem; color: var(--ink); line-height: 1.1; }
.price-card ul { padding-left: 1.2em; margin: 0 0 24px; }
.hours-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.hours-table th, .hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 600; color: var(--muted); }
.hours-table td { font-weight: 800; text-align: right; }
.hours-table tr:first-child td { color: var(--accent-2); }
.price-card li { margin-bottom: 6px; }
.price-note { margin: -8px 0 20px; font-size: 0.85rem; color: var(--muted); }
.price-example { margin: 0 0 18px; color: var(--ink); }
.founding { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border-left: 4px solid var(--accent); color: var(--ink); font-size: 0.95rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 7% / 8% switch: two pill buttons built from radio inputs. */
.fee-rate { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 6px; padding: 4px; border: 0; border-radius: 999px; background: var(--white); }
.fee-rate label { position: relative; text-align: center; padding: 8px 10px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.fee-rate input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fee-rate label:has(input:checked) { background: var(--accent); color: var(--on-accent); }
.fee-rate label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.fee-calc { display: grid; gap: 8px; margin: 0 0 24px; padding: 18px; background: var(--paper); border-radius: 14px; }
.fee-calc label { font-weight: 700; font-size: 0.92rem; }
.fee-input { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--white); border: 2px solid var(--line); border-radius: 10px; }
.fee-input:focus-within { border-color: var(--accent); }
.fee-input span { font-weight: 800; color: var(--muted); }
.fee-input input { font: inherit; font-weight: 700; width: 100%; min-width: 0; padding: 11px 0; border: 0; background: none; color: var(--ink); outline: none; }
.fee-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.fee-result > div { padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.fee-result .keep { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.fee-num { display: block; font-family: var(--font-head); font-size: 1.7rem; line-height: 1.1; }
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer { background: var(--surface-dark); color: var(--on-dark); border-radius: var(--radius); padding: 22px; }
.offer h3 { color: var(--accent); }
.offer p { color: var(--on-dark-soft); font-size: 0.93rem; margin: 0; }
/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--accent); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.fine-print { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 0.88rem; }
.fine-print p { margin: 0 0 8px; color: var(--ink); }
.fine-print ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.fine-print strong { color: var(--ink); }

/* ===== Calculator ===== */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.calc { background: var(--surface-dark); color: var(--on-dark); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.calc label, .lead-form label { display: grid; gap: 6px; min-width: 0; font-weight: 600; font-size: 0.92rem; }
.calc input, .lead-form input, .lead-form select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid transparent;
  width: 100%;
  min-width: 0;
}
.calc input { background: var(--card-dark); color: var(--on-dark); border-color: var(--line-dark); }
.calc input:focus, .lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--accent); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.calc-result > div { background: var(--accent); color: var(--on-accent); border-radius: 12px; padding: 14px 16px; }
.calc-label { display: block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.calc-num { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.calc-note { font-size: 0.8rem; color: var(--on-dark-muted); margin: 0; }

/* ===== Mission & values ===== */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 30px; }
.mission-card { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px; }
.mission-text { font-size: 1.2rem; color: var(--on-dark) !important; margin: 0; }
.mission-text strong { color: var(--accent); }
.motto { text-align: center; padding: 34px 0 70px; }
.motto p { font-family: var(--font-head); font-size: clamp(1.8rem, 4.5vw, 3rem); text-transform: uppercase; color: var(--accent) !important; margin: 0; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: val; }
.values li { counter-increment: val; background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; }
.values li::before { content: "0" counter(val); display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }
.values p { font-size: 0.93rem; margin: 0; }

/* ===== CTA strip ===== */
.cta-strip { background: var(--accent); padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner p { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2.3rem); text-transform: uppercase; line-height: 1.1; margin: 0; color: var(--on-accent); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.btn-logo { width: 22px; height: 22px; flex: none; }
.contact-line { color: var(--muted); margin: 0 0 6px; }
.lead-form { background: var(--white); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.lead-form input, .lead-form select { background: var(--paper); border-color: var(--line); color: var(--ink); }
.lead-form .invalid { border-color: #d64545; }
.lead-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-top: -6px; cursor: pointer; }
.lead-form label.check input { appearance: none; width: 22px; height: 22px; padding: 0; margin: 0; flex: none; border: 2px solid var(--line); border-radius: 6px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.lead-form label.check input:checked { background: var(--accent); border-color: var(--accent); }
.lead-form label.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #111; border-width: 0 3px 3px 0; transform: translateY(-1px) rotate(45deg); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form { position: relative; }
.lead-form button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { color: #1d8a4c; }
.form-msg.err { color: #d64545; }

/* ===== Footer ===== */
.site-footer { background: var(--surface-dark); color: var(--on-dark-soft); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-tag { margin: 12px 0 0; color: var(--on-dark-muted); }
.footer-hours { margin: 6px 0 0; font-size: 0.9rem; color: var(--on-dark-muted); max-width: 460px; }
.footer-hours strong { color: var(--on-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 32px; padding-top: 20px; font-size: 0.85rem; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }

/* Footer road: the truck heads home, driving in from the right and parking on the left. */
.site-footer { padding-top: 0; }
.footer-road { position: relative; height: 124px; margin-bottom: 20px; overflow: hidden; }
.footer-lines {
  position: absolute; left: 0; right: 0; bottom: 14px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 60px, transparent 60px 110px);
  opacity: 0.85;
  animation: road-home 1.6s linear infinite;
}
@keyframes road-home { to { background-position: 110px 0; } }
.home-truck {
  position: absolute; left: 8%; bottom: 20px;
  width: 228px; height: auto;
  pointer-events: none;
  overflow: visible;
  transition: transform 3.5s cubic-bezier(0.3, 0.55, 0.35, 1);
}
/* Set by script.js until the footer scrolls into view. */
.footer-road.waiting .home-truck { transform: translateX(100vw); transition: none; }

/* ===== Back to top ===== */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.15s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-hover); }
.to-top svg { width: 22px; height: 22px; }
/* ===== Responsive ===== */
@media (max-width: 980px) {
  .acronym { grid-template-columns: repeat(3, 1fr); }
  .values, .offers { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .calc-wrap, .contact-grid, .pricing { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 200px 1fr; gap: 32px; }
  .services, .skills, .hurdles { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 200px 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-toggle { order: 3; }
  .theme-toggle { margin-left: auto; margin-right: 6px; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-panel);
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 112px; }
  .road-truck { width: 140px; right: 16px; --truck-start: calc(16px - 100vw); }
  .sticker { right: -96px; width: 92px; height: 92px; padding: 8px; font-size: 0.68rem; }
  .home-truck { width: 140px; left: 16px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .footer-road { height: 76px; margin-bottom: 20px; }
  .acronym { grid-template-columns: 1fr 1fr; }
  .steps, .services, .values, .offers, .mission-grid, .hurdles { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .avatar { max-width: 220px; }
  .acronym > *, .values > *, .offers > * { min-width: 0; }
  .letter-card { padding: 20px 14px; }
  .facts li { min-width: 0; flex: 1 1 130px; }
  .skills, .week-grid, .problems, .tools, .tool-cards { grid-template-columns: 1fr; }
  .tool-card img { height: 220px; }
  .tool-shot { max-width: 260px; }
  .case, .week { padding: 22px; }
  .calc, .lead-form, .price-card { padding: 24px; }
  .new-auth, .fleet-note { padding: 22px; }
  .fleet-note .btn { width: 100%; }
  .hero-ctas .btn, .contact-btns .btn { width: 100%; }
}
@media (max-width: 380px) {
  .calc-result { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road-lines, .footer-lines, .dot, .truck-body, .road-truck { animation: none; }
  .home-truck { transition: none; }
  .sticker { animation: none; }
}

/* ===== Batch 6: available badge, calculator extras, quiz, comparison, meet, reviews ===== */
.avail { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.avail::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9a9a9a; flex: none; }
.avail.on::before { background: #3ddc84; animation: pulse 2s infinite; }
.hero .avail { display: flex; width: fit-content; background: transparent; border-color: var(--ghost-line); color: var(--on-dark-soft); }
.hero .avail[hidden], .avail[hidden] { display: none; }

.calc-hint { color: var(--muted); font-size: 0.95rem; }
.calc select { font: inherit; padding: 12px 14px; border-radius: 10px; width: 100%; min-width: 0; background: var(--card-dark); color: var(--on-dark); border: 2px solid var(--line-dark); }
.calc select:focus { outline: none; border-color: var(--accent); }
.calc-hours { margin: 0; font-size: 0.95rem; color: var(--on-dark-soft); }
.calc-hours strong { color: var(--accent); }
.calc-talk { justify-self: start; }

.quiz { display: grid; gap: 18px; max-width: 860px; }
.quiz fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 18px 20px; margin: 0; min-width: 0; }
.quiz legend { font-weight: 700; padding: 0 6px; margin-left: -6px; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quiz-opts label { position: relative; }
.quiz-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.quiz-opts span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: 0.95rem; cursor: pointer; background: var(--paper); }
.quiz-opts input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.quiz-opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-result { background: var(--surface-dark); color: var(--on-dark); border-radius: 20px; padding: 28px; }
.quiz-result .big { font-family: var(--font-head); font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 10px; text-transform: uppercase; }
.quiz-result .big span { color: var(--accent); }
.quiz-result p { color: var(--on-dark-soft); }
.quiz-result ul { margin: 0 0 18px; padding-left: 1.2em; color: var(--on-dark-muted); font-size: 0.88rem; display: grid; gap: 4px; }
.quiz-result .btn { margin-right: 10px; }

.compare-wrap { margin-top: 32px; }
.compare-title { font-size: 1.3rem; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.93rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .me { background: rgba(255, 194, 26, 0.14); color: var(--ink); font-weight: 600; }
.compare thead .me { color: var(--ink); }
[data-theme="day"] .compare .me { background: rgba(15, 118, 110, 0.09); }

.meet { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.meet > * { min-width: 0; }
.meet-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 5px solid var(--accent); box-shadow: var(--shadow); }
.meet-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review-card { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; margin: 0; }
.review-card .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.review-card blockquote { margin: 8px 0 14px; color: var(--on-dark); }
.review-card figcaption { font-size: 0.9rem; color: var(--on-dark-muted); }
.review-card figcaption strong { color: var(--on-dark); }
.reviews-more { margin-top: 20px; }
.reviews-more a { color: var(--accent); font-weight: 700; }
.signup-note { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--white); border-radius: 8px; }
.signup-note a { color: var(--accent); font-weight: 700; }

@media (max-width: 640px) {
  .meet { grid-template-columns: 1fr; gap: 24px; }
  .meet-photo { max-width: 200px; }
  .meet-ctas .btn, .quiz-result .btn { width: 100%; margin: 0 0 10px; }
}

/* "Fully booked" badge and waitlist note */
.avail.full::before { background: #f5a524; }
.waitlist-note { margin: 0; padding: 10px 14px; border-left: 4px solid #f5a524; background: rgba(245, 165, 36, 0.12); border-radius: 8px; font-size: 0.92rem; font-weight: 600; }
.dot.full { background: #f5a524; animation: none; }
.dot.away { background: #9a9a9a; animation: none; }
