/* ---- Self-hosted fonts (moved from Google Fonts for LCP/CLS) ---- */
@font-face {
  font-family: 'Bakbak One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bakbak-one-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/open-sans-var.woff2') format('woff2');
}

/* ==========================================================================
   Fello Logistics — Rebuild prototype
   Design system + component library
   Brand: navy #0c436a / gold #d19f2a  ·  Bakbak One + Open Sans
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --navy:        #0c436a;
  --navy-deep:   #08304f;
  --navy-800:    #0a3a5c;
  --steel:       #afc8d5;
  --steel-soft:  #d3e2ea;
  --gold:        #d19f2a;
  --gold-deep:   #b8871c;
  --ink:         #1d252c;
  --ink-soft:    #47555f;
  --line:        #e4ebf0;
  --bg:          #ffffff;
  --bg-alt:      #f5f8fb;
  --bg-navy:     #0c436a;
  --white:       #ffffff;

  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 8px rgba(12,67,106,.06);
  --shadow:      0 14px 40px rgba(12,67,106,.10);
  --shadow-lg:   0 30px 70px rgba(8,48,79,.18);

  --maxw:        1180px;
  --gap:         clamp(1rem, 2.4vw, 2rem);

  --font-display: 'Bakbak One', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- Reset / base ---- */
*, *::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(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-deep); }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; color: var(--navy); letter-spacing: .2px; margin: 0 0 .5em; }
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2.8px;
  font-size: 1.15rem;
  color: var(--gold-deep);
  margin: 0 0 .8rem;
  display: inline-block;
}
.eyebrow--light { color: var(--gold); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--bg-navy); color: #eaf1f6; }
.section--navy h1,.section--navy h2,.section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(2rem,4vw,3rem); text-align: center; }
.section__head.left { margin-inline: 0; text-align: left; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.section--navy .lead { color: #c5d6e2; }
/* ink-soft body text is for light backgrounds; flip it inside navy bands */
.section--navy .prose p { color: #c5d6e2; }
.section--navy .value p { color: #c5d6e2; }

/* ---- Stat stamp: small auto-update timestamp under OTP/OTD claims ---- */
.stat-stamp {
  display: block;
  margin: .3rem 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .7rem;
  color: #5c6e7a;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.section--navy .stat-stamp { color: #9db8c9; }

/* ---- Creed: stacked display lines between a section head and its proof ---- */
.creed { max-width: 720px; margin: 0 auto; text-align: center; }
.creed p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 .45rem;
  text-wrap: balance;
}
.creed p:last-child { margin-bottom: 0; }
.creed__close {
  max-width: 58ch;
  margin: 1.5rem auto clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.creed__close strong { color: var(--navy); }

/* ---- Worry-Free Standard band (moved out of hero, lives after the intro) ---- */
.worryfree .section__head { margin-bottom: clamp(1.7rem, 3vw, 2.4rem); }
.worryfree .worryfree__list { max-width: 780px; margin: 0 auto; gap: 1.5rem; }
.worryfree .worryfree__list li { font-size: clamp(1.05rem, 1.7vw, 1.32rem); gap: 1.1rem; }
.worryfree .worryfree__list .dot { width: 46px; height: 46px; border-radius: 12px; }
.worryfree .worryfree__list .dot svg { width: 22px; height: 22px; }

/* ---- Services-needed checklist (talk-to-an-expert form) ---- */
.ckset { border: 0; padding: 0; margin: 0 0 .5rem; }
.ckset legend { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: .6rem; padding: 0; }
.ckgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .5rem .9rem; }
.ckgrid label { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; color: var(--ink); cursor: pointer; line-height: 1.4; }
.ckgrid input { accent-color: var(--gold); width: 17px; height: 17px; margin-top: .1rem; flex: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .4px;
  padding: .65rem 1.4rem; border-radius: 14px; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 1px 2px rgba(8,48,79,.18); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(8,48,79,.22); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { position: relative; }
.nav__menu a {
  font-family: var(--font-body); font-weight: 600; font-size: .97rem; color: var(--ink);
  padding: .6rem .85rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem;
}
.nav__menu a:hover { color: var(--navy); background: var(--bg-alt); }
.nav__menu .caret { width: .6rem; height: .6rem; opacity: .6; }
.dropdown__panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s var(--ease); list-style: none; margin: 0;
}
.nav__menu > li:hover .dropdown__panel,
.nav__menu > li:focus-within .dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__panel a { display: block; padding: .6rem .8rem; font-weight: 500; border-radius: 7px; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s var(--ease); }

/* ---- Hero ---- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1100px 520px at 78% -12%, rgba(26,90,134,.65), transparent 60%), radial-gradient(900px 520px at -5% 115%, rgba(6,38,62,.9), transparent 55%), linear-gradient(180deg, #0a3a5c 0%, #0c436a 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding: clamp(3.5rem,7vw,6rem) 0 clamp(3.5rem,8vw,6.5rem); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-bottom: .35em; }
.hero .btn-row { margin-top: .4rem; }
.hero__aside {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 1.6rem; backdrop-filter: blur(6px);
}
.hero__aside h3 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.hero__values { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.hero__values li { display: flex; gap: .75rem; align-items: flex-start; color: #dbe8f0; font-size: .98rem; }
.hero__values .dot { flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(209,159,42,.2); display: grid; place-items: center; color: var(--gold); }
.hero__values strong { color: #fff; font-family: var(--font-display); font-weight: 400; letter-spacing: .3px; }

/* page hero (subpages) */
.pagehero { position: relative; color: #fff; background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%); overflow: hidden; }
.pagehero::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 340px at 88% -20%, rgba(209,159,42,.14), transparent 62%); }
.pagehero__inner { position: relative; z-index:1; padding: clamp(3rem,6vw,5rem) 0 clamp(2.6rem,5vw,4rem); max-width: 780px; }
.pagehero h1 { color:#fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.pagehero p { color:#cfe0ec; font-size: 1.2rem; max-width: 52ch; margin-bottom: 1.5rem; }
.breadcrumb { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; font-size:.86rem; color:#9db8c9; margin-bottom:1.1rem; }
.breadcrumb a { color:#c5d6e2; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb span { opacity:.5; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--steel); }
.card__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), #12557f); color: var(--gold); margin-bottom: 1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: .9rem; }
.card__link { font-family: var(--font-display); font-size: .92rem; letter-spacing: .4px; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { width: .9em; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }
.card--service h3 a { color: var(--navy); }

/* ---- Values / feature list ---- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.5vw,1.8rem); }
.value { text-align: left; }
.value__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--steel); line-height: 1; }
.value h3 { font-size: 1.4rem; margin: .5rem 0 .5rem; }
.value p { color: var(--ink-soft); font-size: .98rem; }
.section--navy .value p { color: #c5d6e2; }
.section--navy .value__num { color: rgba(209,159,42,.55); }

/* checkmark benefit list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308304f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3.4rem); align-items: center; }
.prose h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); }
.prose h3 { font-size: 1.3rem; margin-top: 1.4rem; }
.prose p { color: var(--ink-soft); }

/* ---- Steps ("The Fello Way") ---- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__n { font-family: var(--font-display); width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: .9rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---- Stats band ---- */
.stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.2rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem,4.5vw,3.2rem); color: var(--gold); line-height: 1; }
.stat__label { font-size: .95rem; color: #c5d6e2; margin-top: .35rem; }

/* ---- Testimonials ---- */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.testimonial { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.testimonial__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .7rem; font-size: .95rem; }
.testimonial p { font-size: .99rem; color: var(--ink); }
.testimonial__by { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--navy); font-size: .95rem; }
.testimonial__by span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }

/* ---- Partners strip ---- */

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color:#fff; border-radius: var(--radius-lg); padding: clamp(2.4rem,5vw,3.6rem); text-align: center; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color:#fff; font-size: clamp(1.7rem,3.6vw,2.6rem); }
.cta-band p { color:#cfe0ec; max-width: 52ch; margin-inline:auto; }

/* ---- Team ---- */
.team-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.member { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__photo { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy), #12557f); display:grid; place-items:center; color: rgba(255,255,255,.5); font-family: var(--font-display); font-size: 2.6rem; }
.member__photo img { width:100%; height:100%; object-fit:cover; display:block; }
.member__body { padding: 1.3rem 1.4rem 1.5rem; }
.member__body h3 { font-size: 1.25rem; margin-bottom: .1rem; }
.member__role { font-family: var(--font-display); color: var(--gold-deep); font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .6rem; }
.member__body p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ---- Blog ---- */
.post-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__tag { display:inline-block; background: var(--steel-soft); color: var(--navy); font-family: var(--font-display); font-size:.72rem; letter-spacing:1px; text-transform:uppercase; padding:.25rem .7rem; border-radius:999px; }
.post-card__body { padding: 1.4rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.post-card__body h3 { font-size: 1.2rem; line-height:1.15; }
.post-card__meta { font-size:.83rem; color: var(--ink-soft); margin-top:auto; }
.post-card__excerpt { color: var(--ink-soft); font-size:.94rem; }

/* article */
.article { max-width: 760px; margin-inline:auto; }
.article__meta { color: var(--ink-soft); font-size:.95rem; margin-bottom: 1.5rem; }
.article p { color: #2c3841; }
.article h2 { font-size: 1.6rem; margin-top: 2rem; }
.article h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.article blockquote { border-left: 4px solid var(--gold); background: var(--bg-alt); margin: 1.6rem 0; padding: 1rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.1rem; color: var(--navy); }

/* ---- Contact ---- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3rem); }
.info-row { display:flex; gap:.9rem; align-items:flex-start; margin-bottom:1.3rem; }
.info-row .ic { flex:none; width:44px; height:44px; border-radius:12px; background: var(--bg-alt); color: var(--navy); display:grid; place-items:center; }
.info-row .ic svg { width:20px; height:20px; }
.info-row h4 { font-family: var(--font-body); font-weight:700; color: var(--navy); margin:0 0 .15rem; }
.info-row p { margin:0; color: var(--ink-soft); font-size:.97rem; }
.form { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--shadow-sm); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: #b9cdda; padding-top: clamp(3rem,6vw,4.5rem); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer img { height: 38px; margin-bottom: 1rem; }
.site-footer h4 { color:#fff; font-family: var(--font-body); font-weight:700; font-size:.95rem; letter-spacing:.5px; text-transform:uppercase; margin-bottom:1rem; }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:.55rem; }
.site-footer a { color:#b9cdda; font-size:.95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-tag { font-size:.96rem; max-width: 34ch; color:#9db8c9; }
.footer-about { font-size:.88rem; line-height:1.55; max-width: 40ch; color:#9db8c9; margin-top:.8rem; }
.footer-contact li { display:flex; gap:.6rem; align-items:flex-start; font-size:.93rem; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding: 1.4rem 0; display:flex; flex-wrap:wrap; gap:.8rem; justify-content:space-between; font-size:.86rem; color:#8aa7b8; }
.footer-bottom a { color:#8aa7b8; }

/* ---- Utilities ---- */
.center { text-align:center; }
.mt-2 { margin-top: 2rem; }
/* legacy .reveal hidden-state removed: the [data-io] system owns reveals now,
   and keeping opacity:0 here blanked content for reduced-motion / no-JS users */

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { order: 2; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 1.8rem 1rem; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses at 1180px: the full menu needs ~1110px and overflowed 800-1100 viewports */
@media (max-width: 1180px) {
  .nav__menu { display: none; }
  .nav__cta .btn { padding: .5rem .95rem; font-size: .85rem; white-space: nowrap; }
  .nav__toggle { display: block; }
  .nav[data-open="true"] .nav__menu {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background:#fff; border-bottom:1px solid var(--line); padding: .8rem; gap:.2rem; box-shadow: var(--shadow);
    max-height: calc(100vh - 78px); overflow-y: auto; /* menu is taller than phone viewports */
  }
  .nav[data-open="true"] .dropdown__panel { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; padding-left:1rem; }
  .nav[data-open="true"] .dropdown__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 1rem; }
  .nav[data-open="true"] .dropdown__panel .has-sub > a .caret { transform: none; }
}
@media (max-width: 420px) {
  .nav__cta .btn { padding: .45rem .7rem; font-size: .78rem; }
}
@media (max-width: 800px) {
  .grid--2, .grid--3, .grid--4, .values, .steps, .testimonials, .team-grid, .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PREMIUM ELEVATION LAYER
   Motion, depth, and refinement layered over the base system.
   All original; standard UI-motion patterns. Respects reduced-motion (bottom).
   ========================================================================== */

:root {
  --shadow-glow: 0 0 0 1px rgba(12,67,106,.04), 0 20px 45px -20px rgba(8,48,79,.35);
  --ease-out: cubic-bezier(.16,.84,.36,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);
}

/* ---- Page load fade ---- */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .5s ease both; }

/* ---- Universal reveal-on-scroll (JS auto-tags elements) ---- */
@keyframes fadeUp { from { opacity:0; transform: translateY(26px); } to { opacity:1; transform:none; } }
[data-io] { opacity: 0; }
/* fill-mode backwards + explicit opacity: hides during stagger delay, but releases
   transform/filter back to the cascade after the animation so hover lifts and JS tilt work */
[data-io].io-in { opacity: 1; animation: fadeUp .72s var(--ease-out) backwards; animation-delay: var(--io-delay, 0ms); }

/* ---- HERO: living gradient + staggered entrance ---- */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { animation: fadeUp .9s var(--ease-out) .05s both; letter-spacing: -.5px; }
.hero .eyebrow { animation: fadeUp .9s var(--ease-out) both; }
.hero__sub { animation: fadeUp .9s var(--ease-out) .16s both; }
.hero .btn-row { animation: fadeUp .9s var(--ease-out) .26s both; }
.hero__aside { animation: fadeUp 1s var(--ease-out) .38s both; }

.btn:active { transform: translateY(0); }

/* ---- Elevated cards: gradient ring + glow lift ---- */
.card { position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---- Stat counters ---- */
.stat__num { font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.stats > div { transition: transform .4s var(--ease-out); }
.stats > div:hover { transform: translateY(-3px); }

/* ---- Elevated page hero (subpages) ---- */
.pagehero__inner > * { animation: fadeUp .8s var(--ease-out) both; }
.pagehero__inner > .eyebrow { animation-delay: 0s; }
.pagehero__inner > h1 { animation-delay: .08s; }
.pagehero__inner > p { animation-delay: .16s; }
.pagehero__inner > .btn-row { animation-delay: .24s; }
.pagehero::before { content:""; position:absolute; inset:0; background: radial-gradient(520px 300px at 12% 120%, rgba(31,111,168,.30), transparent 60%); }

/* ---- Partner marquee ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 3.4rem; padding-right: 3.4rem; align-items: center; animation: scrollX 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); color: #7f9db0; font-size: 1.35rem; letter-spacing: .5px; white-space: nowrap; transition: color .3s var(--ease-out); }
.marquee__track span:hover { color: var(--navy); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---- Testimonials: quote mark + lift ---- */
.testimonial { position: relative; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); }
.testimonial::before { content: "\201C"; position: absolute; top: -.35em; right: .2em; font-family: var(--font-display); font-size: 6rem; color: rgba(12,67,106,.06); line-height: 1; }
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--steel); }

/* ---- CTA band: slow animated sheen ---- */
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band > * { position: relative; z-index: 1; }

/* ==========================================================================
   PREMIUM FORMS: floating labels, focus motion, submit loader + success reveal
   ========================================================================== */
.form { position: relative; overflow: hidden; }
.ff { position: relative; margin-bottom: 1.15rem; }
.ff input, .ff select, .ff textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt); font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 1.5rem .95rem .55rem; transition: border-color .25s var(--ease-out), background .25s, box-shadow .25s;
}
.ff textarea { min-height: 118px; resize: vertical; padding-top: 1.6rem; }
.ff label { position: absolute; left: .98rem; right: .95rem; top: .95rem; color: var(--ink-soft); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease-out), color .2s var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(12,67,106,.08); }
.ff input:focus + label, .ff select:focus + label, .ff textarea:focus + label,
.ff input:not(:placeholder-shown) + label, .ff textarea:not(:placeholder-shown) + label,
.ff select[data-filled="true"] + label { transform: translateY(-.65rem) scale(.76); color: var(--navy); }
.ff::after { content:""; position:absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: left .28s var(--ease-out), right .28s var(--ease-out); }
.ff:focus-within::after { left: 2%; right: 2%; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px){ .ff-row { grid-template-columns: 1fr; } }

.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::before {
  content:""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.btn--primary.is-loading::before { border-color: rgba(8,48,79,.35); border-top-color: var(--navy-deep); }

.form__success { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .4rem; padding: 2rem; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s; }
.form.is-sent .form__success { opacity: 1; visibility: visible; transform: none; }
.form.is-sent .form__fields { opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .35s; pointer-events: none; }
.form__success h3 { color: var(--navy); font-size: 1.5rem; margin: .6rem 0 .2rem; }
.form__success p { color: var(--ink-soft); margin: 0; max-width: 34ch; }
.form__check { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(209,159,42,.4); animation: popIn .5s var(--ease-spring) both; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.form__check svg { width: 34px; height: 34px; stroke: #fff; stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.form.is-sent .form__check svg { animation: drawCheck .5s var(--ease-out) .25s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* ---- Scroll progress bar (JS-driven width) ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .1s linear; }

/* ---- Reduced motion: turn it all off ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-io] { opacity: 1 !important; }
  .marquee__track { animation: none !important; }
  body { animation: none !important; }
}

/* ==========================================================================
   ROAD BAND: a Fello semi-truck drives across the screen
   ========================================================================== */
.roadband { position: relative; overflow: hidden; background: linear-gradient(180deg, #eef4f8 0%, #dfeaf1 100%); }
.road { position: relative; height: 172px; }
.road__surface { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, #2a343d 0%, #1d252c 100%); }
.road__surface::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.12); }
.road__line { position: absolute; left: 0; right: 0; bottom: 27px; height: 4px; background: repeating-linear-gradient(90deg, var(--gold) 0 30px, transparent 30px 64px); animation: roadDash 1s linear infinite; opacity: .95; }
@keyframes roadDash { to { background-position: 64px 0; } }
.road__truck { position: absolute; bottom: 40px; left: 0; width: 216px; will-change: transform; animation: drive 7.5s linear infinite; }
.road__truck svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 8px rgba(0,0,0,.28)); }
@keyframes drive { from { transform: translateX(-260px); } to { transform: translateX(calc(100vw + 60px)); } }
.wheel { transform-box: fill-box; transform-origin: center; animation: roll .55s linear infinite; }
@keyframes roll { to { transform: rotate(360deg); } }
@media (max-width: 640px){ .road { height: 140px; } .road__truck { width: 168px; bottom: 34px; } }

@media (prefers-reduced-motion: reduce) {
  .road__truck { animation: none !important; transform: translateX(8vw); }
  .road__line { animation: none !important; }
  .wheel { animation: none !important; }
}

/* ==========================================================================
   V3 CINEMA LAYER
   Drastic design + motion upgrade. Layered over v1/v2; later cascade wins.
   ========================================================================== */

:root {
  --gold-bright: #f2c14e;
  --gold-text: #8a6415; /* AA-compliant gold for small text on light backgrounds (4.6:1) */
  --gold-label: #b3831a; /* brighter gold for LARGE display labels on light backgrounds (3.2:1, large-text tier only) */
  --shadow-xl: 0 40px 90px -30px rgba(8,48,79,.35), 0 18px 36px -18px rgba(8,48,79,.25);
}

/* ---- Skip link (a11y) ---- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--navy); color: #fff; padding: .6rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---- Contrast corrections (WCAG AA) ---- */
a:hover { color: var(--gold-text); }
.eyebrow { color: var(--gold-label); }
.eyebrow--light, .section--navy .eyebrow { color: var(--gold-bright); }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 3px; background: var(--gold); margin-right: .7rem; vertical-align: middle; border-radius: 1.5px; }
.hero__aside .eyebrow::before { display: none; }
.member__role { color: var(--gold-text); }
.marquee__track span { color: #5c7a8d; }

/* ---- Global polish ---- */
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 8px; border: 3px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-deep); }

/* ---- Typography scale-up ---- */
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.4rem); line-height: 1.02; letter-spacing: -1.5px; }
.pagehero h1 { letter-spacing: -1px; }
.section-title { letter-spacing: -.6px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); }

/* ---- Gradient text accent ---- */
.grad { color: var(--gold-bright); font-style: normal; }
.grad--ink { color: var(--gold-label); } /* large display accent: brighter gold, large-text contrast tier */

/* ---- Word-stagger headline reveal (JS splits, or hand-authored) ----
   Class is .split-words, NOT .split: .split is the two-column layout utility. */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .w > span { display: inline-block; transform: translateY(112%); animation: wordUp .8s var(--ease-out) forwards; animation-delay: calc(var(--wi, 0) * .075s + .12s); }
@keyframes wordUp { to { transform: none; } }
.hero h1.split-words { animation: none; }
.pagehero__inner > h1.split-words { animation: none; }

/* ---- Hero (flat, refined) ---- */
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8,48,79,.93) 0%, rgba(8,48,79,.78) 45%, rgba(12,67,106,.5) 100%); }
@media (max-width: 800px) { .hero__scrim { background: linear-gradient(180deg, rgba(8,48,79,.92) 0%, rgba(8,48,79,.8) 100%); } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero { isolation: isolate; }
.hero__inner { padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(5rem, 10vw, 8.5rem); }

/* scroll cue */

/* glassier promise card */
.hero__aside { background: rgba(8,48,79,.45); border: 1px solid rgba(255,255,255,.12); border-top: 2px solid var(--gold); backdrop-filter: none; box-shadow: none; }

/* ---- Nav: gold underline slide ---- */
.nav__menu > li > a { position: relative; }
.nav__menu > li > a::after {
  content: ""; position: absolute; left: .85rem; bottom: .32rem; width: calc(100% - 1.7rem); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease-out);
}
.nav__menu > li > a:hover::after, .nav__menu > li > a:focus-visible::after { transform: scaleX(1); }

/* ---- Section atmosphere (cascades to every page) ---- */
.section--navy {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(209,159,42,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(31,111,168,.35), transparent 60%),
    linear-gradient(160deg, #0a3a5c, #08304f 60%, #0c436a);
}

/* ---- Reveal v3: blur-fade (backwards fill so hover/tilt transforms work after reveal) ---- */
[data-io].io-in { opacity: 1; animation: fadeUpBlur .85s var(--ease-out) backwards; animation-delay: var(--io-delay, 0ms); }
@keyframes fadeUpBlur { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }

/* ---- Cards: cursor spotlight + 3D tilt hooks ---- */
.card, .testimonial, .member, .post-card { position: relative; }
.card { overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 100%; height: 2px; background: var(--gold); transition: right .35s var(--ease-out); z-index: 1; }
.card:hover::before { right: 0; }

/* ---- Stats: gradient numerals ---- */
.stat__num { color: var(--gold-bright); }
.stats { border: 1px solid rgba(255,255,255,.08); border-top: 2px solid var(--gold); }

/* ---- CTA band: gold inner ring ---- */
.cta-band { box-shadow: inset 0 0 0 1px rgba(209,159,42,.3); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M-20,300 C260,220 420,330 640,240 S1050,140 1240,190" fill="none" stroke="%23d19f2a" stroke-opacity=".14" stroke-width="1.5"/><circle cx="640" cy="240" r="3" fill="%23d19f2a" fill-opacity=".3"/><circle cx="300" cy="262" r="2.5" fill="%23d19f2a" fill-opacity=".2"/><circle cx="1020" cy="152" r="2.5" fill="%23d19f2a" fill-opacity=".2"/></svg>'), linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); background-size: cover; }

/* ---- Footer: gradient hairline ---- */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ==========================================================================
   V3 ROADSCAPE: scroll-driven truck in a living landscape
   ========================================================================== */
.roadband { background: radial-gradient(70% 120px at 50% 100%, rgba(255,255,255,.75), transparent 70%), linear-gradient(180deg, #e8eff5 0%, #eef3f7 100%); }
.scene { position: relative; height: 210px; overflow: hidden; }
.skyline { position: absolute; left: 0; right: 0; bottom: 52px; width: 100%; height: 110px; color: #cbd8e2; opacity: .55; }
.roadband .road { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; }
.roadband .road__surface { height: 58px; }
.roadband .road__line { bottom: 26px; }
.roadband .road__truck { width: 232px; bottom: 40px; }
.road__truck svg { overflow: visible; } /* lets exhaust puffs rise past the viewBox instead of clipping */
/* JS-driven mode: physics-correct (ground static, wheels roll only while moving) */
.roadband.js .road__line { animation: none; }
.roadband.js .wheel { animation-play-state: paused; }
.roadband.js.is-moving .wheel { animation-play-state: running; }
@media (max-width: 640px) { .scene { height: 170px; } .roadband .road__truck { width: 170px; bottom: 36px; } }

/* ==========================================================================
   V3 NETWORK BAND: animated nationwide route
   ========================================================================== */
/* Perspective is baked into the SVG geometry (crisp vectors, no composited
   texture stretch) — do NOT re-add CSS 3D transforms here. */
.network svg { width: 100%; height: auto; display: block; max-width: 1100px; margin-inline: auto; }
/* Night network map: lit-navy land, etched highways, traveling light pulses */
.usland { stroke: rgba(232,183,58,.6); stroke-width: 1; }
.hwy-minor { fill: none; stroke: rgba(234,241,246,.07); stroke-width: .5; }
.stateline { fill: none; stroke: rgba(234,241,246,.28); stroke-width: .6; }
.hwy { fill: none; stroke: rgba(234,241,246,.19); stroke-width: .7; }
/* Comet trains on merged corridors: dash/gap/phase/duration precomputed per
   path (--da/--ga/--o0/--dur) for a uniform 120px/s flow everywhere. */
.pulse { fill: none; stroke: rgba(255,255,255,.75); stroke-width: .9; stroke-linecap: round; stroke-dasharray: var(--da) var(--ga); stroke-dashoffset: var(--o0); animation: hwyFlow var(--dur, 1.5s) linear infinite; }
.pulse--gold { stroke: var(--gold-bright); stroke-width: 2; opacity: .95; }
@keyframes hwyFlow { to { stroke-dashoffset: calc(var(--o0) - var(--da) - var(--ga)); } }
.section--navy .city text { fill: #eaf1f6; stroke: rgba(8,48,79,.85); stroke-width: 3px; paint-order: stroke; font-size: 13.5px; letter-spacing: 1px; }
.section--navy .city .dot { fill: #eaf1f6; }
.section--navy .city--hq .dot { fill: var(--gold-bright); stroke: var(--navy-deep); stroke-width: 2; }
.section--navy .network__cities { color: #c5d6e2; }
.route-base { fill: none; stroke: rgba(12,67,106,.18); stroke-width: 2.5; }
.network[data-io] .route-base { stroke-dasharray: 1; stroke-dashoffset: 1; }
.network.io-in .route-base { animation: drawRoute 2.2s var(--ease-out) .2s forwards; }
@keyframes drawRoute { to { stroke-dashoffset: 0; } }
.route-dash { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 14; animation: routeFlow 1.15s linear infinite; opacity: .85; }
@keyframes routeFlow { to { stroke-dashoffset: -24; } }
.city .dot { fill: var(--navy); }
.city .ring { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; animation-delay: calc(var(--ci, 0) * .4s); }
@keyframes ping { 0% { transform: scale(.4); opacity: .85; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
.city text { font: 700 14px 'Open Sans', sans-serif; fill: var(--navy); }
.ship { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(209,159,42,.85)); }
.network__cities { display: none; }
@media (max-width: 640px) {
  .city text { display: none; }
  .network__cities { display: block; text-align: center; font-family: var(--font-display); color: var(--navy); letter-spacing: 1px; font-size: .95rem; margin-top: .8rem; }
}

/* ==========================================================================
   V4 HERO REFINEMENT: editorial hierarchy, less visual noise
   ========================================================================== */
.hero__setup { display: block; font-family: var(--font-body); font-weight: 400; font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.32; color: rgba(255,255,255,.95); letter-spacing: -.2px; max-width: 24ch; animation: fadeUp .9s var(--ease-out) .05s both; }
.hero__punch { display: block; margin-top: .5em; font-size: clamp(2.8rem, 5.8vw, 5rem); line-height: 1.02; letter-spacing: -1px; text-shadow: 0 2px 28px rgba(8,48,79,.5); }
.hero h1 { margin-bottom: .55em; }
.hero__aside { padding: 1.9rem 1.8rem; }
.hero__aside h3 { font-size: 1.28rem; margin-bottom: 1.15rem; }
.hero__aside .eyebrow { margin-bottom: .45rem; font-size: .72rem; }
.hero__values { gap: 1.05rem; }
.hero__values li { font-size: .95rem; line-height: 1.5; align-items: center; color: #d7e5ef; }
.hero__values .dot { width: 30px; height: 30px; border-radius: 8px; }
.hero__values .dot svg { width: 16px; height: 16px; }
.hero__grid { opacity: .55; }
@media (max-width: 800px) { .hero__punch { font-size: clamp(2.3rem, 9vw, 3rem); } }

/* ---- Stat spin-up pop ---- */
.stat__num.counting { animation: statPop .55s var(--ease-spring) both; }
@keyframes statPop { 0% { transform: scale(.94); opacity: .6; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stat__num.counting { animation: none !important; } }

/* ---- Nested nav flyout: second-level submenu expands on hover ---- */
.dropdown__panel li { position: relative; }
.dropdown__panel .has-sub > a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.dropdown__panel .has-sub > a .caret { transform: rotate(-90deg); width: .55rem; height: .55rem; opacity: .6; }
.dropdown__sub {
  position: absolute; top: -0.5rem; left: calc(100% + 4px); min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
}
.dropdown__panel .has-sub:hover > .dropdown__sub,
.dropdown__panel .has-sub:focus-within > .dropdown__sub { opacity: 1; visibility: visible; transform: translateX(0); }
.dropdown__sub a { display: block; padding: .6rem .8rem; font-weight: 500; border-radius: 7px; }
/* (mobile flyout handling moved to the 1180px nav block) */

/* ---- Proof scroller: horizontal snap carousel for customer stories ---- */
.proofscroll { position: relative; }
.proofscroll__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82vw);
  gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .4rem .2rem 1.2rem; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 96%, transparent);
  mask-image: linear-gradient(90deg, #000 96%, transparent);
}
.proofscroll__track::-webkit-scrollbar { display: none; }
.proofscroll__track > .card { scroll-snap-align: start; }
.proofscroll__nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: .5rem; }
.proofscroll__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .25s var(--ease-out), color .25s, border-color .25s, transform .25s var(--ease-out);
}
.proofscroll__btn:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); transform: translateY(-2px); }
.proofscroll__btn:disabled { opacity: .35; pointer-events: none; }
.proofscroll__btn svg { width: 20px; height: 20px; }

/* ---- Nav refinement: small-caps top level, gold-accented dropdowns ---- */
.nav__menu > li > a {
  font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px;
  color: #2c3a45; padding: .6rem .8rem;
}
.nav__menu > li > a:hover { background: transparent; color: var(--navy); }
.nav__menu .caret { width: .5rem; height: .5rem; opacity: .45; }
.dropdown__panel {
  border-top: 2px solid var(--gold); border-radius: 0 0 10px 10px; padding: .6rem;
  min-width: 248px; box-shadow: 0 18px 40px rgba(8,48,79,.14);
}
.dropdown__panel a {
  font-size: .95rem; font-weight: 500; color: var(--ink); padding: .65rem .85rem;
  border-left: 2px solid transparent; border-radius: 6px; text-transform: none; letter-spacing: 0;
}
.dropdown__panel a:hover { background: var(--bg-alt); border-left-color: var(--gold); color: var(--navy); }
.dropdown__sub { border-top: 2px solid var(--gold); border-radius: 0 0 10px 10px; }

/* ---- V3 reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .split-words .w > span { transform: none !important; animation: none !important; }
  .ship, .city .ring { display: none; }
  .route-dash { animation: none !important; }
  .network[data-io] .route-base { stroke-dasharray: none; stroke-dashoffset: 0; }
  .pulse { animation: none !important; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .28; }
  .split-words .w > span { animation: none !important; }
}

/* ---- Testimonial scroll bar (homepage bottom) ---- */
.testibar { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.testibar__track { display: flex; width: max-content; gap: 1.4rem; padding: .4rem 1.4rem .8rem 0; align-items: stretch; animation: scrollX 80s linear infinite; }
.testibar__dup { display: contents; }
.testibar .testimonial { flex: 0 0 min(360px, 82vw); width: min(360px, 82vw); }
.testibar:hover .testibar__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .testibar { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .testibar__track { animation: none !important; }
}

/* ---- Live form feedback ---- */
.form__error { color: #b3261e; font-size: .92rem; margin-top: .6rem; min-height: 1.2em; }
.cf-turnstile { margin: .5rem 0 .2rem; }

/* Worry-Free Standard: label over description */
.wf-label { display:block; font-family: var(--font-display); font-weight:400; letter-spacing:.3px; font-size:1.24em; line-height:1.2; margin-bottom:.25rem; color:inherit; }
.worryfree .wf-label, .hero__values .wf-label, .checks--navy .wf-label, .section--navy .wf-label { color:#fff; }
.worryfree .worryfree__list { gap: 1.7rem; }
.worryfree .worryfree__list li { align-items:flex-start; }
.worryfree .worryfree__list li > span:last-child { font-size:.93em; line-height:1.5; color:#cfdeea; }
.worryfree .worryfree__list .dot { margin-top:.1rem; }

/* Slimmer footer (2026-11-15) */
.site-footer { padding-top: clamp(2.2rem,4vw,3rem); }
.footer-grid { padding-bottom: 1.8rem; }

/* ---- City slider, notes row, dot lists (2026-11-15) ---- */
/* City slider: the story slider (.proofscroll) in a one-row, narrow-card form, for long lists of city links.
   The main cities come first in the page, so they are the ones on screen; arrows and swipe reach the rest. */
.proofscroll--cities .proofscroll__track {
  grid-auto-columns: calc((100% - 4.5rem) / 5.3);
  gap: .9rem; padding-bottom: .5rem;
}
.proofscroll--cities .proofscroll__track > .card {
  display: flex; align-items: center; justify-content: center; min-height: 3.5rem;
}
.proofscroll--cities .proofscroll__nav { margin-top: .4rem; }
@media (max-width: 1000px) { .proofscroll--cities .proofscroll__track { grid-auto-columns: calc((100% - 2.7rem) / 3.3); } }
@media (max-width: 620px) {
  .proofscroll--cities .proofscroll__track { grid-auto-columns: calc((100% - 1.8rem) / 2.1); }
  /* the city cards carry inline padding from the page builders; tighten it so names stay on one line */
  .proofscroll--cities .proofscroll__track > .card { padding: .9rem .5rem !important; font-size: .92rem; }
}
/* Arrow buttons on a white section (the story slider only ever sat on navy). */
.proofscroll--light .proofscroll__btn { border-color: rgba(12,67,106,.28); background: #fff; color: var(--navy); }
.proofscroll--light .proofscroll__btn:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

/* Notes row: short supporting facts under a section head, side by side and in one look. */
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); max-width: 980px; margin: 0 auto; }
.notes > p {
  margin: 0; padding: 1.15rem 1.4rem; text-align: left; color: var(--ink);
  background: var(--bg-alt); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }

/* Dot lists: plain bullets that fill as many columns as fit, for lists that used to be one long sentence. */
.list-label { font-size: 1.05rem; margin: 1.4rem 0 .55rem; }
.section--navy .list-label { color: #fff; }
.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem 1.6rem; }
.dots--cols { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.dots li { position: relative; padding-left: 1.15rem; }
@media (max-width: 620px) { .dots--cols { grid-template-columns: 1fr 1fr; gap: .45rem 1rem; } }
.dots li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .42rem; height: .42rem; border-radius: 50%; background: var(--gold);
}

/* Application form: resume upload (2026-11-15) */
.ff--file label { position: static; display: block; transform: none; pointer-events: auto; white-space: normal; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: .45rem; }
.ff--file input[type="file"] { padding: .8rem .95rem; cursor: pointer; }
.ff--file::after { display: none; }

/* Talk to an Expert page layout (2026-11-15) */
.tta-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(1.8rem,4vw,3.6rem); align-items: start; }
.tta-head { margin-bottom: 1.5rem; }
.tta-standard { background: linear-gradient(135deg,var(--navy),#12557f); color: #fff; border: 0; padding: clamp(1.5rem,3vw,2rem); }
.tta-standard h3 { color: #fff; font-size: 1.35rem; margin: 0 0 1.1rem; }
.tta-standard .checks { display: grid; gap: .95rem; margin: 0; }
.tta-standard .checks li { font-size: .95rem; line-height: 1.45; }
.tta-standard .wf-label { font-size: 1.12em; margin-bottom: .1rem; }
.tta-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; margin-top: 1.7rem; }
.tta-offices .info-row { margin: 0; }
.tta-offices .info-row:last-child { grid-column: 1 / -1; }
.form--tta { padding: clamp(1.6rem,3vw,2.5rem); box-shadow: 0 18px 50px rgba(8,48,79,.10); }
.form__title { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; color: var(--navy); margin: 0 0 .2rem; }
.form__sub { color: var(--ink-soft); font-size: .97rem; margin: 0 0 1.4rem; }
.form--tta .ckset { margin: .3rem 0 1.2rem; }
.form--tta .ckset legend small { font-weight: 400; font-size: .86rem; color: var(--ink-soft); margin-left: .45rem; }
.ckgrid--2 { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: .5rem .7rem; }
.ckgrid--2 label { align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); padding: .62rem .8rem; font-size: .93rem; line-height: 1.3; transition: border-color .15s, background .15s, box-shadow .15s; }
.ckgrid--2 label:hover { border-color: #9db8c9; }
.ckgrid--2 label:has(input:checked) { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(12,67,106,.08); color: var(--navy); font-weight: 600; }
.ckgrid--2 label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.ckgrid--2 input { margin-top: 0; }
.form--tta .cf-turnstile { margin: .3rem 0 1.1rem; }
.form--tta button[type="submit"] { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .tta-grid { grid-template-columns: 1fr; }
  .tta-side { display: contents; }
  .tta-head { order: 1; margin-bottom: 0; }
  .tta-form { order: 2; }
  .tta-standard { order: 3; }
  .tta-offices { order: 4; margin-top: 0; }
}
@media (max-width: 560px) {
  .ckgrid--2 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .tta-offices { grid-template-columns: 1fr; }
}

/* Talk to an Expert page, second pass (2026-11-15) */
.tta-head .lead { font-size: 1.05rem; line-height: 1.65; }
.tta-promise { margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid var(--gold); font-family: var(--font-display); font-size: 1.22rem; line-height: 1.35; color: var(--navy); }
.tta-proof { margin: 1.1rem 0 0; font-size: .93rem; line-height: 1.6; color: var(--ink-soft); }
.tta-offices { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem 2rem; margin-top: clamp(2rem,4vw,3rem); padding-top: clamp(1.4rem,3vw,2rem); border-top: 1px solid var(--line); }
.tta-offices .info-row:last-child { grid-column: auto; }
@media (max-width: 900px) {
  .tta-proof { order: 4; margin-top: 0; }
  .tta-offices { order: 5; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .tta-offices { grid-template-columns: 1fr; } }

/* Team page: two levels, black and white photo (2026-11-15) */
.team-grid--two { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.team-grid--second { margin-top: 1.5rem; }
.member__photo--bw img { filter: grayscale(1) contrast(1.05); }
@media (max-width: 640px) { .team-grid--two { grid-template-columns: 1fr; } }

/* ---- Closing band: even space above and below (2026-11-15) ---- */
/* The closing band's section is written with padding-top:0, which works when the section above it is plain white
   (that section's own bottom padding is the gap). Under a tinted or navy section the band sat flush against it,
   with a full gap below (Dillon 11/15: "it needs to have an even amount of white space above and below it").
   So when the section above has a background, the band's section gets its normal top padding back. */
.section--alt + .section[style*="padding-top:0"]:has(.cta-band),
.section--navy + .section[style*="padding-top:0"]:has(.cta-band) { padding-top: clamp(3.5rem, 7vw, 6rem) !important; }

/* ---- Talk to an Expert: spacing and the one-line office line (2026-11-16) ---- */
/* Dillon: "There's not proper spacing in between this stuff" and the addresses and hours "might be able to be on one
   line at the bottom". The three address and hours blocks became one line (hours dropped: "Sunday: Closed" sat under
   "A real person answers nights, weekends and holidays"). */
.tta-standard .checks { gap: 1.25rem; }
.tta-standard .wf-label { margin-bottom: .2rem; }
.tta-promise { margin-top: 1.4rem; }
.tta-head { margin-bottom: 2rem; }
.tta-proof { margin-top: 1.4rem; }
.tta-offices-line { margin: clamp(2rem,4vw,3rem) 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); text-align: center; font-size: .95rem; color: var(--ink-soft); }
.tta-offices-line a { color: var(--navy); font-weight: 600; }
@media (max-width: 900px) { .tta-offices-line { order: 6; } }

/* ---- Shippers menu in four columns (2026-11-16) ---- */
/* the third column (Specialized) is wider so "Heavy Haul / Over-Dimensional" stays on one line (2026-11-17) */
.dropdown__panel--mega { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: .2rem .6rem;
  width: min(920px, calc(100vw - 3rem)); padding: 1rem .9rem 1.1rem; }
.dropdown__panel--mega .mega__col { list-style: none; }
.dropdown__panel--mega .mega__head { display: block; font-family: var(--font-display); font-size: .78rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--navy); padding: .35rem .85rem .55rem; border-left: 0; }
.dropdown__panel--mega a.mega__head:hover { background: transparent; color: var(--gold-deep); }
.dropdown__panel--mega .mega__list { list-style: none; margin: 0; padding: 0; }
.dropdown__panel--mega .mega__list a { padding: .5rem .85rem; font-size: .93rem; }
@media (max-width: 1180px) {
  .nav[data-open="true"] .dropdown__panel--mega { display: block; width: auto; padding: 0 0 0 1rem; }
  .nav[data-open="true"] .dropdown__panel--mega .mega__head { padding-top: .8rem; }
}

/* Team top level of three; service grid of 15 (2026-11-16) */
.team-grid--three { grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; }
@media (max-width: 900px) { .team-grid--three { grid-template-columns: repeat(2, minmax(0, 360px)); } }
@media (max-width: 640px) { .team-grid--three { grid-template-columns: 1fr; } }
.ckgrid--2 { grid-template-rows: repeat(8, auto); }
@media (max-width: 560px) { .ckgrid--2 { grid-template-rows: none; } }

/* Team photos: every card the same height (2026-11-16) */
.member__photo { position: relative; overflow: hidden; }
.member__photo img { position: absolute; inset: 0; object-position: 50% 22%; }

/* ---- Team photos square, same framing (2026-11-16, Copy chat) ---- */
/* Dillon: "make all of the images the same height before the cut off to text, and show my shoulders in my picture".
   Each team photo is pre-cropped square (team-headshots/square/*-sq.jpg): head near the top, cut at the chest. */
.team-grid .member__photo { aspect-ratio: 1 / 1; }
.team-grid .member__photo img { object-position: 50% 0; }

/* ---- Blog posts: reading layout (2026-11-16, Copy chat) ---- */
/* Dillon: "It seems the format of our blogs could use some improvement" (Pillin's post: the photo ran full width with
   the text butted against it, and the copy read as one long wall). Same markup on all 46 posts, CSS only. */
.article { max-width: 720px; }
.article__meta { display: flex; align-items: center; gap: .5rem; padding-bottom: 1rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line); font-size: .9rem; letter-spacing: .2px; }
.article img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: 50% 25%; margin: 0 auto 2.2rem;
  border-radius: 14px; box-shadow: 0 10px 30px rgba(8,48,79,.12); }
.article p { font-size: 1.08rem; line-height: 1.8; margin: 0 0 1.35rem; }
.article__meta + img + p, .article__meta + p { font-size: 1.22rem; line-height: 1.65; color: var(--navy); }
.article h2 { margin: 2.6rem 0 1rem; }
.article h3 { margin: 2rem 0 .8rem; }
.article ul, .article ol { margin: 0 0 1.4rem 1.2rem; line-height: 1.75; font-size: 1.05rem; }
.article li { margin-bottom: .45rem; }
.article a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .article p { font-size: 1.02rem; } .article__meta + img + p, .article__meta + p { font-size: 1.1rem; } .article img { max-height: 360px; } }

/* ---- Customer logo row (2026-11-16): real logos in place of the scrolling names on the home page ---- */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem clamp(1.6rem, 4vw, 3.2rem); margin-top: 1.3rem; }
.logo-row img { display: block; width: auto; height: auto; max-width: 150px; max-height: 56px; filter: grayscale(1); opacity: .72; transition: filter .3s var(--ease-out), opacity .3s var(--ease-out); }
.logo-row img:hover { filter: none; opacity: 1; }
@media (max-width: 560px) { .logo-row img { max-width: 120px; max-height: 46px; } }

/* ---- Cookie notice (2026-11-16, second design): a slim white bar flush to the bottom edge, added by main.js.
   While it shows, main.js sets --cookie-h to its height and the page gets that much room underneath. ---- */
.cookie-note { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(12,67,106,.07); padding-bottom: env(safe-area-inset-bottom, 0px); animation: cookieUp .4s var(--ease-out) both; }
.cookie-note__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: .7rem clamp(1.1rem, 4vw, 2.2rem); min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-note p { margin: 0; color: var(--navy-deep); font-size: .92rem; line-height: 1.45; }
.cookie-note a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.cookie-note a:hover { color: var(--navy-deep); }
.cookie-note__ok { flex: none; padding: .38rem 1.5rem; font-size: .9rem; border-width: 1.5px; border-radius: 10px; justify-content: center; }
.cookie-note__ok:hover { transform: none; }
.has-cookie-note body { padding-bottom: var(--cookie-h, 62px); }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 640px) { .cookie-note__inner { flex-direction: column; align-items: stretch; gap: .6rem; padding-block: .85rem; } .cookie-note__ok { width: 100%; padding-block: .5rem; } }
@media (prefers-reduced-motion: reduce) { .cookie-note { animation: none; } }
@media print { .cookie-note { display: none; } .has-cookie-note body { padding-bottom: 0; } }

/* ---- Home: the top bar rides on the hero video, then turns white once the page scrolls (Dillon 2026-11-17:
   "make it part of the video, and then, as you start scrolling, it becomes a white bar") ----
   Only on a page that has the hero video (the home page). Styles only: main.js already puts .scrolled on the
   header past 8px of scroll. An open phone menu is always the white bar. A browser without :has() keeps the
   white bar it has today. The bar is 78px plus its 1px line, at every width. */
body:has(.hero__video) .hero { margin-top: -79px; }
body:has(.hero__video) .hero__inner { padding-top: calc(clamp(4.5rem, 9vw, 7.5rem) + 79px); }
body:has(.hero__video) .hero__scrim { background: linear-gradient(180deg, rgba(8,48,79,.72) 0, rgba(8,48,79,0) 210px), linear-gradient(90deg, rgba(8,48,79,.93) 0%, rgba(8,48,79,.78) 45%, rgba(12,67,106,.5) 100%); }
body:has(.hero__video) .site-header { transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
body:has(.hero__video) .nav__logo img { transition: opacity .25s var(--ease); }
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) .nav__menu > li > a,
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) .nav__menu > li > a:hover { color: #fff; }
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) .nav__menu > li > a .caret { opacity: .85; }
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) .nav__toggle span { background: #fff; }
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) .nav__logo { background: url("/assets/img/logo-dark.svg") left top / auto 40px no-repeat; }
body:has(.hero__video) .site-header:not(.scrolled):not(:has(.nav[data-open="true"])) .nav__logo img { opacity: 0; }
