/* =========================================================
   Ryan Logistics — Corporate site styles
   Palette: deep navy authority + steel grays + amber accent
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #081627;
  --navy-800: #0c2138;
  --navy-700: #123052;
  --navy-600: #1b4674;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-400: #94a3b8;
  --steel-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --accent: #f6a609;       /* amber — CTAs, highlights */
  --accent-600: #d98e00;
  --accent-soft: #fff6e3;

  --success: #16a34a;

  /* Typography */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Archivo", var(--font-body);

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 39, .06), 0 1px 3px rgba(8, 22, 39, .08);
  --shadow-md: 0 10px 30px rgba(8, 22, 39, .10);
  --shadow-lg: 0 24px 60px rgba(8, 22, 39, .18);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy-900); color: #e6eef7; }
.section--slate { background: var(--slate-50); }
.center { text-align: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--accent); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section-lead { font-size: 1.15rem; color: var(--steel-600); max-width: 640px; }
.section--navy .section-lead { color: var(--steel-300); }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 8px 20px rgba(246,166,9,.32); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 10px 26px rgba(246,166,9,.42); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--steel-300); }
.btn--outline:hover { border-color: var(--navy-800); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(8, 22, 39, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--accent); color: var(--navy-900);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  /* TODO: replace this letter mark with the real Ryan Logistics logo (assets/logo.svg) */
}
.brand__logo { height: 38px; width: auto; display: block; }
.site-footer .brand__logo { height: 34px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand__name span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #c9d6e5; font-weight: 600; font-size: .97rem; transition: color .15s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav__cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 70%, var(--navy-600) 100%);
  overflow: hidden;
}
.hero::after {
  /* TODO: replace with real fleet photo — assets/hero-fleet.jpg */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 80% -10%, rgba(246,166,9,.16), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; }
.hero__slogan { color: var(--accent); display: block; font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .04em; margin-bottom: 18px; text-transform: uppercase; }
.hero__lead { font-size: 1.2rem; color: #cdd9e8; max-width: 540px; margin: 22px 0 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media {
  border-radius: var(--radius); overflow: hidden; min-height: 360px;
  background: linear-gradient(135deg, #16335a, #0c2138);
  border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; color: var(--steel-400); text-align: center; padding: 24px;
}
.hero__media:has(img) { display: block; padding: 0; aspect-ratio: 16 / 11; min-height: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section media (photo in a 2-col block) */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Fleet gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .shot { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); position: relative; }
.gallery .shot.tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery .shot:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .shot.tall { grid-row: span 1; aspect-ratio: 4/3; } }

/* image placeholder utility */
.imgph {
  background:
    repeating-linear-gradient(45deg, rgba(148,163,184,.10) 0 12px, rgba(148,163,184,.04) 12px 24px),
    var(--slate-100);
  border: 1px dashed var(--steel-400);
  border-radius: var(--radius-sm);
  display: grid; place-items: center; text-align: center;
  color: var(--steel-500); font-size: .9rem; font-weight: 600; padding: 24px; min-height: 220px;
}
.section--navy .imgph { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); color: var(--steel-400); }

/* ---------- Trust bar / stats ---------- */
.trustbar { background: var(--navy-800); color: #fff; }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stat { text-align: center; flex: 1 1 160px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent); }
.stat__label { color: var(--steel-300); font-size: .92rem; letter-spacing: .02em; }

/* ---------- Path split cards ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: 46px; color: #fff; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-md);
}
.path-card--b2b { background: linear-gradient(150deg, #123052, #081627); }
.path-card--drivers { background: linear-gradient(150deg, #1b4674, #0c2138); }
.path-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.path-card p { color: #cdd9e8; }
.path-card .tag { align-self: flex-start; background: rgba(246,166,9,.16); color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: auto; }

/* ---------- Cards / features ---------- */
.card {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  color: var(--navy-700);
  background: linear-gradient(150deg, #ffffff, #eef2f7);
  border: 1px solid #e4e9f0;
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(8,22,39,.06);
  transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover .card__icon { color: var(--accent-600); border-color: rgba(246,166,9,.45); transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgba(246,166,9,.18); }
.ico { width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.badge__seal .ico { width: 30px; height: 30px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--steel-600); margin: 0; font-size: .98rem; }

/* feature list with checks */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; color: var(--steel-700); }
.section--navy .checklist li { color: #d6e1ee; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--navy-900); font-weight: 800; font-size: .8rem;
  display: grid; place-items: center;
}
.checklist strong { color: inherit; }

/* ---------- Certifications / badges ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.badge {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.badge__seal {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--navy-800); color: var(--accent);
  display: grid; place-items: center; font-size: 1.5rem; border: 3px solid var(--accent);
}
.badge h4 { font-size: 1rem; margin-bottom: 6px; }
.badge p { font-size: .85rem; color: var(--steel-500); margin: 0; }

/* ---------- Earnings table ---------- */
.earn { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.earn th, .earn td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--slate-100); }
.earn th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-size: .95rem; }
.earn td:last-child { font-weight: 700; color: var(--navy-800); }
.earn tr:last-child td { border-bottom: 0; }
.note { font-size: .85rem; color: var(--steel-500); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-sm); padding: 0 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-600); font-size: 1.5rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--steel-600); padding-bottom: 20px; margin: 0; }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 40px; }
.section--navy .form-wrap { color: var(--navy-900); }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--steel-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--steel-300); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--navy-900); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(246,166,9,.18); }
.field textarea { min-height: 110px; resize: vertical; }
.field .req { color: var(--accent-600); }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; } /* honeypot */
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-msg.ok { display: block; background: #e7f8ee; color: #15803d; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; }
.form-consent { font-size: .82rem; color: var(--steel-500); margin-top: 14px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(135deg, var(--accent), var(--accent-600)); color: var(--navy-900); border-radius: var(--radius); padding: 50px; text-align: center; }
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-strip p { color: #5a4204; font-weight: 600; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 70px 0 60px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-head p { color: #c9d6e5; max-width: 620px; font-size: 1.12rem; }
.breadcrumb { color: var(--steel-400); font-size: .85rem; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfd2; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p { font-size: .95rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--steel-500); }
.socials { display: flex; gap: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: #cbd5e1; transition: .15s; }
.socials a:hover { background: var(--accent); color: var(--navy-900); border-color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 240px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 10px 24px 24px; border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-130%); transition: transform .3s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .paths, .hero__actions, .form-row.two { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap, .cta-strip, .path-card { padding: 28px; }
  body { font-size: 16px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trustbar .container { gap: 18px; }
  .stat { flex-basis: 40%; }
}

/* =========================================================
   Premium motion: route band, ticker, count-up, badges
   ========================================================= */

/* Refined badge seal (premium, less "toy") */
.badge__seal {
  background: linear-gradient(160deg, #123052, #081627);
  border: 1px solid rgba(246,166,9,.55);
  box-shadow: 0 8px 18px rgba(8,22,39,.18), inset 0 0 0 1px rgba(255,255,255,.04);
}

/* ---------- Freight ticker (marquee) ---------- */
.ticker { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; color: #c7d4e4; font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Route band (animated freight route) ---------- */
.route-band { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 70px 0 76px; overflow: hidden; }
.route-band .eyebrow { color: var(--accent); }
.route-wrap { position: relative; margin-top: 30px; }
.route-svg { width: 100%; height: auto; display: block; overflow: visible; }
.route-line { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 3; }
.route-progress { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 12; animation: routeDash 1.4s linear infinite; }
@keyframes routeDash { to { stroke-dashoffset: -26; } }
.route-pin { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.route-pin--end { fill: var(--accent); stroke: #fff; }
.route-pulse { fill: var(--accent); opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(3.2); opacity: 0; } 100% { opacity: 0; } }
.route-truck { fill: #fff; stroke: none; }
.route-label { fill: #9fb2c8; font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.route-city { fill: #fff; font-family: var(--font-head); font-size: 18px; font-weight: 800; }

/* ---------- Count-up stat ---------- */
.stat__num { font-variant-numeric: tabular-nums; }
.stat.in .stat__num { animation: popIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Richer scroll reveal (stagger + clip) ---------- */
.reveal { will-change: opacity, transform; }
.grid .reveal.in, .paths .reveal.in, .badge-grid .reveal.in, .gallery.in { transition-delay: var(--d, 0s); }
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-up.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .route-band { padding: 50px 0 56px; }
  .route-label, .route-city { font-size: 13px; }
}

/* =========================================================
   v2 PREMIUM: top bar, video hero, full-bleed bands,
   text reveal, Amazon score, layout variety
   ========================================================= */

/* ---- Verification top bar (MC/DOT always at the very top) ---- */
.topbar { background: #060f1c; color: #9fb2c8; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__creds { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__creds b { color: #fff; font-family: var(--font-head); letter-spacing: .02em; }
.topbar__creds span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.topbar__right { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }
@media (max-width: 720px){ .topbar__right{ display:none; } .topbar .container{ justify-content:center; } .topbar__creds{ gap:14px; font-size:.78rem; } }

/* ---- Video hero ---- */
.hero--video { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--navy-900); }
.hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__bg video.active { opacity: 1; }
/* one source clip is stored sideways — rotate 90deg CW and size by viewport to cover */
.hero__bg video.rot90 { inset: auto; top: 50%; left: 50%; width: 100vh; height: 100vw; transform: translate(-50%, -50%) rotate(90deg); }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(6,15,28,.94) 0%, rgba(6,15,28,.78) 40%, rgba(6,15,28,.40) 75%, rgba(6,15,28,.20) 100%); }
.hero__scrim::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(6,15,28,.6), transparent 30%); }
.hero--video .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero--video .hero__content { max-width: 760px; }
.hero--video h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.hero__eyebrow-row { display:flex; align-items:center; gap:14px; margin-bottom:20px; flex-wrap:wrap; }
.chip { display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#fff; font-family:var(--font-head); font-weight:700; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.chip .ico{ width:16px; height:16px; stroke:var(--accent); }
.hero-scroll { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:2; color:rgba(255,255,255,.6); font-size:.75rem; letter-spacing:.2em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; }
.hero-scroll span { width:1px; height:34px; background:linear-gradient(var(--accent), transparent); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{ opacity:.3; transform:scaleY(.6); } 50%{ opacity:1; transform:scaleY(1); } }

/* ---- Full-bleed image band ---- */
.band { position: relative; padding: 130px 0; color: #fff; background-size: cover; background-position: center; }
.band::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(6,15,28,.9), rgba(6,15,28,.55) 60%, rgba(6,15,28,.3)); }
.band--center::before { background: linear-gradient(rgba(6,15,28,.75), rgba(6,15,28,.75)); }
.band > .container { position: relative; z-index: 2; }
.band .section-title { color:#fff; }
.band .section-lead { color:#d6e1ee; }

/* ---- Animated text highlight (standout phrases) ---- */
.hl { position: relative; color: #fff; white-space: nowrap; }
.section:not(.section--navy) .hl, .band .hl { color: inherit; }
.hl::after { content:""; position:absolute; left:-.04em; right:-.04em; bottom:.02em; height:.4em; z-index:-1; border-radius:4px; background: linear-gradient(90deg, rgba(246,166,9,.55), rgba(246,166,9,.3)); transform: scaleX(0); transform-origin:left; transition: transform .7s cubic-bezier(.2,.7,.2,1) .25s; }
.in .hl::after, .reveal.in .hl::after { transform: scaleX(1); }
.shine { background: linear-gradient(100deg, var(--accent) 20%, #ffd789 45%, var(--accent) 70%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.word-rise { display:inline-block; opacity:0; transform: translateY(18px); animation: wordRise .7s cubic-bezier(.2,.8,.2,1) forwards; }

/* ---- Amazon partnership + animated Score A ---- */
.amazon-band { background: radial-gradient(1000px 500px at 80% 20%, rgba(246,166,9,.12), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700)); color:#fff; }
.amz-logo { display:inline-flex; flex-direction:column; align-items:flex-start; }
.amz-logo svg { width: 168px; height: auto; }
.score { position: relative; width: 220px; height: 220px; margin: 0 auto; display:grid; place-items:center; }
.score__ring { position:absolute; inset:0; width:100%; height:100%; transform: rotate(-90deg); }
.score__track { fill:none; stroke: rgba(255,255,255,.12); stroke-width: 10; }
.score__arc { fill:none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 339; stroke-dashoffset: 339; }
.in .score__arc { animation: scoreDraw 1.7s cubic-bezier(.2,.7,.2,1) forwards .3s; }
@keyframes scoreDraw { to { stroke-dashoffset: 40; } }
.score__val { font-family: var(--font-head); font-weight: 800; font-size: 5rem; line-height: 1; color:#fff; text-shadow: 0 0 26px rgba(246,166,9,.5); opacity:0; transform: scale(.6); }
.in .score__val { animation: scorePop .7s cubic-bezier(.2,.9,.3,1.3) forwards .7s; }
@keyframes scorePop { to { opacity:1; transform:scale(1); } }
.score { margin-bottom: 40px; }
.score__cap { position:absolute; bottom:-34px; left:50%; transform:translateX(-50%); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); white-space:nowrap; }
.score__glow { position:absolute; inset:18%; border-radius:50%; background: radial-gradient(circle, rgba(246,166,9,.35), transparent 70%); opacity:0; }
.in .score__glow { animation: glowPulse 2.6s ease-in-out infinite 1.4s; }
@keyframes glowPulse { 0%,100%{ opacity:.25; } 50%{ opacity:.6; } }

/* ---- Bento grid (varied feature layout) ---- */
.bento { display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.bento .card { margin:0; }
.bento .b-wide { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
.bento .b-dark { background: linear-gradient(155deg, var(--navy-700), var(--navy-900)); color:#fff; border-color: transparent; }
.bento .b-dark h3 { color:#fff; } .bento .b-dark p { color:#c7d4e4; }
.bento .b-dark .card__icon { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--accent); }
.bento .b-accent { background: linear-gradient(150deg, var(--accent), var(--accent-600)); color: var(--navy-900); border-color:transparent; }
.bento .b-accent h3, .bento .b-accent p { color: var(--navy-900); }
.bento .b-accent .card__icon { background: rgba(8,22,39,.12); border-color: rgba(8,22,39,.18); color: var(--navy-900); }
@media (max-width: 860px){ .bento{ grid-template-columns: repeat(2,1fr);} .bento .b-wide{ grid-column: span 2;} .bento .b-tall{ grid-row: span 1;} }
@media (max-width: 520px){ .bento{ grid-template-columns: 1fr;} .bento .b-wide{ grid-column: span 1;} }

/* ---- Offset feature row (big index number) ---- */
.feat { display:grid; grid-template-columns: 90px 1fr; gap: 26px; align-items:start; padding: 26px 0; border-top:1px solid var(--slate-100); }
.feat__no { font-family:var(--font-head); font-weight:800; font-size: 2.4rem; color: var(--accent); line-height:1; }
.feat h3 { font-size:1.3rem; margin-bottom:8px; }
.feat p { color: var(--steel-600); margin:0; max-width: 640px; }
@media (max-width:560px){ .feat{ grid-template-columns: 60px 1fr; gap:16px;} .feat__no{ font-size:1.8rem;} }

/* ---- Lead-in stat strip (no truck count) ---- */
.proof { display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow:hidden; }
.proof__cell { background: var(--navy-800); padding: 26px 22px; }
.proof__k { font-family:var(--font-head); font-weight:800; font-size:1.5rem; color:var(--accent); display:flex; align-items:center; gap:10px; }
.proof__k .ico{ width:22px; height:22px; stroke:var(--accent);}
.proof__v { color:#c7d4e4; font-size:.92rem; margin-top:6px; }
@media (max-width:720px){ .proof{ grid-template-columns:1fr 1fr;} }

/* ---- Official Amazon partner badge (white plate on dark band) ---- */
.amz-badge { display:inline-flex; flex-direction:column; align-items:center; gap:12px; background:#fff; border-radius:16px; padding:22px 40px; box-shadow:0 18px 44px rgba(0,0,0,.30); margin:0 auto 34px; }
.amz-badge img { width:158px; height:auto; display:block; }
.amz-badge__label { font-family:var(--font-head); font-weight:700; font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:#64748b; border-top:1px solid #eef2f7; padding-top:11px; width:100%; text-align:center; }
