/* =========================================================
   Monty Miller Strategies — design system
   Industrial / transportation • trustworthy • conversion-first
   ========================================================= */

:root {
  /* Palette */
  --navy-900: #0a1a2b;
  --navy-800: #0d2238;
  --navy-700: #102a43;
  --steel-600: #243b53;
  --steel-500: #334e68;
  --ink: #14202c;
  --body: #3a4a59;
  --muted: #6b7c8c;
  --line: #e3e9ef;
  --line-strong: #cdd8e3;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-softer: #eef3f8;
  --accent: #f59e0b;       /* amber CTA */
  --accent-600: #d97f06;
  --accent-700: #b96704;
  --accent-soft: #fff4e0;
  --teal: #14857a;
  --teal-soft: #e3f4f1;
  --success: #15803d;
  --white: #ffffff;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radius + shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .06), 0 1px 3px rgba(16, 42, 67, .08);
  --shadow-md: 0 10px 25px -10px rgba(16, 42, 67, .22);
  --shadow-lg: 0 30px 60px -25px rgba(10, 26, 43, .35);

  /* Layout */
  --container: 1140px;
  --gap: clamp(1rem, 2.5vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(165deg, var(--navy-800), var(--navy-900)); color: #cfdbe7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-700); margin-bottom: .9rem;
}
.section--navy .eyebrow { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); }
.section--navy .lede { color: #aebfd0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--r-md); border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #20160a; box-shadow: 0 8px 20px -8px rgba(245,158,11,.7); }
.btn--primary:hover { background: var(--accent-600); color: #20160a; }
.btn--dark { background: var(--navy-700); color: #fff; }
.btn--dark:hover { background: var(--steel-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-700); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--accent-soft); color: var(--accent-700); }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform .15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__logo { display: inline-flex; align-items: baseline; flex: none; font-weight: 800; font-size: 2rem; line-height: .85; letter-spacing: -.085em; }
.brand__logo b { font-weight: 800; }
.brand__logo b:first-child { color: var(--navy-700); }
.brand__logo b:last-child { color: var(--accent); }
.brand__name { display: flex; flex-direction: column; justify-content: center; font-size: 1.05rem; line-height: 1.1; }
.brand__name span { font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.nav__menu { display: flex; align-items: center; gap: 1.3rem; flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--steel-600); font-weight: 600; font-size: .94rem; white-space: nowrap; position: relative; transition: color .15s ease; }
.nav__links a:hover { color: var(--accent-700); }
.nav__links a[aria-current="page"] { color: var(--navy-800); font-weight: 700; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2.5px; border-radius: 2px; background: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: .8rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.1rem 1.4rem;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: .9rem .2rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__cta { padding-top: 1rem; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 60%, #071726 100%); color: #d6e2ee; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(620px 320px at 88% -8%, rgba(245,158,11,.22), transparent 60%),
    radial-gradient(560px 360px at 6% 110%, rgba(20,133,122,.20), transparent 60%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.4rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero__lede { font-size: 1.2rem; color: #aebfd0; max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.7rem; }
.hero__trust { margin-top: 2rem; font-size: .9rem; color: #8ea2b6; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hero__trust b { color: #cdd8e3; }
.hero__sectors { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.chip { font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #c3d2e1; border: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { order: -1; max-width: 420px; } }

/* ---------- Audit card (hero art) ---------- */
.audit-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.4rem; }
.audit-card__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .85rem; margin-bottom: .85rem; }
.audit-card__title { font-weight: 800; color: var(--ink); font-size: 1rem; }
.audit-card__badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-700); background: var(--accent-soft); padding: .25rem .55rem; border-radius: 6px; }
.audit-row { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; font-size: .92rem; }
.audit-row .score { margin-left: auto; font-weight: 700; }
.bar { flex: 1; height: 7px; background: var(--bg-softer); border-radius: 99px; overflow: hidden; max-width: 120px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-600)); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--g { background: var(--success); } .dot--a { background: var(--accent); } .dot--r { background: #dc6a3f; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: 0; font-size: .97rem; }

/* numbered audit categories */
.cat { display: flex; gap: 1rem; align-items: flex-start; }
.cat__num { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-700); color: #fff; font-weight: 800; display: grid; place-items: center; }
.cat h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.cat p { font-size: .95rem; margin: 0; }

/* ---------- Offer ladder ---------- */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); position: relative; }
.offer--featured { border-color: var(--accent); box-shadow: 0 18px 40px -22px rgba(245,158,11,.55); }
.offer__flag { position: absolute; top: -12px; left: 1.5rem; background: var(--accent); color: #20160a; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .6rem; border-radius: 6px; }
.offer__step { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.offer h3 { font-size: 1.2rem; margin: .35rem 0 .2rem; }
.offer__price { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin: .2rem 0 .8rem; }
.offer__price small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.offer ul { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.offer li { position: relative; padding-left: 1.5rem; font-size: .93rem; margin-bottom: .55rem; }
.offer li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.offer .btn { margin-top: auto; }

/* ---------- Add-ons / pills ---------- */
.addons { display: flex; flex-wrap: wrap; gap: .8rem; }
.addon { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.1rem; font-size: .92rem; font-weight: 600; color: var(--steel-500); box-shadow: var(--shadow-sm); }
.addon b { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step__n { counter-increment: s; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-700); font-weight: 800; display: grid; place-items: center; border: 2px solid var(--accent); }
.step__n::before { content: counter(s); }

/* ---------- Case studies ---------- */
.case { display: flex; flex-direction: column; height: 100%; }
.case__tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: .5rem; }
.case h3 { font-size: 1.12rem; }
.badge-perm { align-self: flex-start; margin-top: auto; font-size: .74rem; font-weight: 700; padding: .25rem .55rem; border-radius: 6px; background: var(--bg-softer); color: var(--steel-500); }
.badge-perm--named { background: var(--teal-soft); color: var(--teal); }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.field .req { color: var(--accent-700); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: .8rem .9rem; transition: border-color .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(245,158,11,.18); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }
.form__success { display: none; background: var(--teal-soft); border: 1px solid var(--teal); color: #0c5b53; border-radius: var(--r-md); padding: 1rem 1.2rem; font-weight: 600; margin-bottom: 1.2rem; }
.form__success.show { display: block; }

/* ---------- Stats / trust ---------- */
.stat { text-align: center; }
.stat__n { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat__l { font-size: .9rem; color: #9fb2c5; }
.logos { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; align-items: center; justify-content: center; }
.logos span { font-weight: 700; color: var(--steel-500); opacity: .8; font-size: 1.02rem; }
.exp-logos { display: flex; flex-wrap: wrap; gap: 1.8rem 3rem; align-items: center; justify-content: center; }
.exp-logos img { height: 50px; width: auto; max-width: 175px; object-fit: contain; opacity: .9; transition: opacity .15s ease, transform .15s ease; }
.exp-logos img:hover { opacity: 1; transform: translateY(-2px); }
.headshot { width: 100%; max-width: 360px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent), var(--accent-600)); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.4rem); color: #2a1c08; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #1c1304; }
.cta-band p { color: #4a360f; max-width: 56ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb2c5; padding-block: 3.4rem 2rem; }
.site-footer a { color: #c3d2e1; }
.site-footer a:hover { color: var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer__brand .brand__name { color: #fff; }
.site-footer .brand__logo b:first-child { color: #cdd8e3; }
.site-footer h4 { color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.4rem; padding-top: 1.4rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(165deg, var(--navy-800), var(--navy-900)); color: #cfdbe7; padding-block: clamp(3rem, 6vw, 4.6rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #aebfd0; max-width: 60ch; font-size: 1.12rem; }

/* ---------- Misc ---------- */
.kicker-list { list-style: none; padding: 0; }
.kicker-list li { position: relative; padding-left: 1.7rem; margin-bottom: .7rem; }
.kicker-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow-md); }


/* ---------- Small refinements for approved brand/logo and case-study assets ---------- */
.exp-logos { gap: 1.5rem 3.2rem; }
.exp-logos img { max-height: 54px; max-width: 190px; filter: none; }
.case__image {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
@media (max-width: 620px) {
  .exp-logos { gap: 1.2rem 2rem; }
  .exp-logos img { max-height: 44px; max-width: 150px; }
  .case__image { height: 118px; }
}

/* Final logo balance and viewport guardrails */
.exp-logos { max-width: 820px; margin-inline: auto; }
.exp-logos img { height: 56px; max-height: 56px; max-width: 180px; object-fit: contain; }
.exp-logos img:nth-child(2),
.exp-logos img:nth-child(4) { height: 58px; max-height: 58px; }
@media (max-width: 620px) {
  .exp-logos { max-width: 100%; }
  .exp-logos img { height: 44px; max-height: 44px; max-width: 145px; }
}
