/* ==========================================================================
   EAS Consulting Partners — single-page site
   Mobile-first. Brand: navy #08284A, orange #F36A0A, Noto Sans.
   ========================================================================== */

:root {
  --navy: #08284A;
  --navy-deep: #051C35;
  --navy-ink: #021426;          /* text on hovered orange (keeps AA contrast) */
  --orange: #F36A0A;
  --orange-hover: #E05A00;
  --orange-text: #B84E08;       /* orange for small text on light backgrounds */
  --cream: #F5F3EE;
  --white: #FFFFFF;
  --ink: #1B2A3B;
  --muted: #5B6878;
  --muted-light: #B9C4D2;
  --line: #E3E0D8;
  --line-dark: rgba(255, 255, 255, .16);

  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1220px;
  --gutter: 20px;
  --inset: 8px;                 /* gap between rounded bands and viewport edge */
  --radius-band: 18px;
  --radius-card: 16px;
  --section-y: 72px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t: .3s;
  --shadow-lift: 0 18px 40px -18px rgba(8, 40, 74, .35);
}

@media (min-width: 640px) {
  :root { --gutter: 32px; --inset: 12px; --radius-band: 22px; --section-y: 96px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --inset: 20px; --radius-band: 26px; --section-y: 120px; --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* anchor targets clear the fixed header (bar height + its top inset) by 24px */
section[id], main [id] { scroll-margin-top: calc(var(--header-h) + var(--inset) + 24px); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: 100px;
  background: var(--orange); color: var(--navy); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t);
}
.skip-link:focus { transform: none; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow--light { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.eyebrow--plain { padding: 0; border: 0; border-radius: 0; color: var(--muted); }

.section-title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.125rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
  text-wrap: balance;
}
.section-intro {
  max-width: 62ch;
  margin-top: 20px;
  font-size: 1.0625rem;
  color: var(--muted);
}
@media (min-width: 1024px) { .section-intro { font-size: 1.1875rem; } }
.section-head { margin-bottom: 48px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 64px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: .9375rem; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn .icon { transition: transform var(--t) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-hover); color: var(--navy-ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.text-link--light { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.text-link--light:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
}
.tag--orange { background: var(--orange); color: var(--navy); }
.tag--live { border: 1px solid rgba(243, 106, 10, .6); color: var(--orange); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(243, 106, 10, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(243, 106, 10, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(243, 106, 10, 0); } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.tags li {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .8125rem; color: var(--muted);
}

/* ==========================================================================
   1. Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: var(--inset) var(--inset) 0;
  pointer-events: none;
}
.site-header__bar {
  display: flex; align-items: center; gap: 16px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  border-radius: calc(var(--radius-band) - 6px);
  background: transparent;
  color: var(--white);
  pointer-events: auto;
  transition: background-color var(--t), box-shadow var(--t), max-width .4s var(--ease-out), padding .4s var(--ease-out);
}
.site-header.is-scrolled .site-header__bar,
body.menu-open .site-header__bar {
  background: var(--navy);
  box-shadow: 0 10px 30px -12px rgba(2, 20, 38, .45);
}
@media (min-width: 1024px) {
  .site-header.is-scrolled .site-header__bar { max-width: calc(var(--container) + 56px); padding-inline: 28px; }
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand__mark { width: 36px; height: auto; }
.brand__name {
  font-size: .6875rem; font-weight: 300; letter-spacing: .24em; text-transform: uppercase;
  line-height: 1.3; max-width: 13em;
}
@media (min-width: 400px) { .brand__name { max-width: none; } }
@media (min-width: 1024px) {
  .brand__mark { width: 42px; }
  .brand__name { font-size: .78rem; letter-spacing: .28em; }
}

.site-nav { display: none; }
.site-header__cta { display: none; }
@media (min-width: 900px) {
  .site-nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .site-nav__list { display: flex; gap: 6px; }
  .site-nav__list a {
    position: relative; display: block; padding: 10px 16px;
    font-size: .9375rem; font-weight: 500; text-decoration: none;
    border-radius: 100px;
    transition: background-color var(--t), color var(--t);
  }
  .site-nav__list a:hover { background: rgba(255, 255, 255, .12); }
  .site-nav__list a[aria-current="true"] { color: var(--orange); }
  .site-nav { margin-right: 20px; }
}

.menu-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-right: -6px;
  padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--white);
}
.menu-toggle__bars { position: relative; display: block; width: 22px; height: 12px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: transform var(--t) var(--ease-out), top var(--t) var(--ease-out);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; gap: 32px;
  padding: calc(var(--header-h) + var(--inset) + 32px) var(--gutter) 40px;
  background: var(--navy-deep);
  color: var(--white);
  overflow-y: auto;
  animation: menu-in .3s var(--ease-out);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu__list a {
  display: block; padding: 12px 0;
  font-size: 2rem; font-weight: 300; letter-spacing: -.01em; text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__list a:hover { color: var(--orange); }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu__meta { display: grid; gap: 6px; margin-top: auto; color: var(--muted-light); font-size: .9375rem; }
.mobile-menu__meta a { text-decoration: none; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   2. Hero — cross-fade slideshow
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--inset));
  margin: var(--inset) var(--inset) 0;
  border-radius: var(--radius-band);
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  isolation: isolate;
}
@media (min-height: 1100px) { .hero { min-height: 900px; } }

.hero__slides { position: absolute; inset: 0; z-index: -1; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide { --hero-dim: .5; }               /* full-image dark overlay: 0.5 below 1024px… */
@media (min-width: 1024px) { .hero__slide { --hero-dim: .35; } }   /* …0.35 on desktop */
.hero__slide::after {                          /* dark overlay + navy text-column gradient + edge gradients */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 40, 74, .65) 0%, rgba(8, 40, 74, .65) 33.333%, rgba(8, 40, 74, 0) 100%),
    linear-gradient(180deg, rgba(2, 20, 38, .45) 0%, rgba(2, 20, 38, 0) 22%),
    linear-gradient(0deg, rgba(2, 20, 38, .7) 0%, rgba(2, 20, 38, 0) 60%),
    rgba(0, 0, 0, var(--hero-dim));
}

.hero__label {                                /* service line: top-left on mobile, bottom-right on desktop */
  position: absolute; z-index: 1;
  left: var(--gutter); top: calc(var(--header-h) + var(--inset) + 20px);
  display: flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  opacity: 0;
  transition: opacity .3s ease;                 /* outgoing label clears in 300ms… */
}
.hero__slide.is-active .hero__label {
  opacity: 1;
  transition: opacity .3s ease .3s;             /* …before the incoming one starts */
}
.hero__label::before { content: ""; width: 28px; height: 1.5px; background: var(--orange); }
@media (min-width: 1024px) {
  .hero__label { left: auto; top: auto; right: max(var(--gutter), calc((100% - var(--container)) / 2)); bottom: 52px; font-size: .8125rem; letter-spacing: .3em; }
}

.hero__inner {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 32px;
}
.hero__content { max-width: 1000px; padding-bottom: 80px; }
.hero__title {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  font-size: clamp(2.5rem, 1.4rem + 5vw, 5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__title span { display: block; font-weight: 500; }
.hero__title--long { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4rem); line-height: 1.08; }
.hero__title--long span { display: inline; }
.hero__lede {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  max-width: 56ch; margin-top: 24px;
  font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, .88);
}
@media (min-width: 1024px) { .hero__lede { font-size: 1.25rem; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__controls {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 16px;
}
.hero__ticks { display: flex; gap: 8px; }
.hero__tick {
  position: relative; width: 40px; height: 24px; padding: 0; border: 0; background: transparent;
}
.hero__tick::before, .hero__tick::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
}
.hero__tick::before { right: 0; background: rgba(255, 255, 255, .35); }
.hero__tick::after { width: 0; background: var(--orange); }
.hero__tick.is-active::after { width: 100%; }
.hero.is-playing .hero__tick.is-active::after { animation: tick-fill var(--slide-ms, 4000ms) linear forwards; }
@keyframes tick-fill { from { width: 0; } to { width: 100%; } }
.hero__pause {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; color: var(--white);
  transition: background-color var(--t), border-color var(--t);
}
.hero__pause:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.hero__pause .icon { width: 12px; height: 12px; }
.hero__pause .icon--play, .hero.is-paused .hero__pause .icon--pause { display: none; }
.hero.is-paused .hero__pause .icon--play { display: block; }
@media (min-width: 1024px) {
  .hero__content { padding-bottom: 96px; }
  .hero__inner { padding-bottom: 48px; }
  .hero__controls { bottom: 48px; }
}

/* page-load entrance for hero copy */
.js .hero__content > * { animation: rise .8s var(--ease-out) both; }
.js .hero__content > :nth-child(2) { animation-delay: .1s; }
.js .hero__content > :nth-child(3) { animation-delay: .2s; }
.js .hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ==========================================================================
   3. Stats
   ========================================================================== */
.stats { padding-block: 56px; }
@media (min-width: 1024px) { .stats { padding-block: 72px; } }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-inline: 20px; text-align: center; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat__num {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: -.03em;
  color: var(--navy);
}
.stat__label { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 768px) {
  .stats__list { grid-template-columns: repeat(4, 1fr); }
  .stat { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* Trust strip: logo marquee over a 5-up stat row */
.marquee-wrap.trust__logos { padding-block: 56px 16px; }
.trust .stats__list { padding-block: 32px 64px; }
@media (min-width: 1024px) { .marquee-wrap.trust__logos { padding-top: 72px; } .trust .stats__list { padding-bottom: 88px; } }
.stat__label { text-wrap: balance; }
.stat__pre { font-size: .4em; font-weight: 400; letter-spacing: 0; }   /* "Within" qualifier, inline so the number keeps the row baseline */

.stats__list--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats__list--5 .stat:last-child { grid-column: 1 / -1; border-right: 0; }
/* equal columns; numbers sized so the longest ("$300M+") stays on one line at every width */
.stats__list--5 .stat__num { white-space: nowrap; font-size: min(clamp(2.5rem, 1.8rem + 3vw, 4rem), 9.5vw); }
@media (min-width: 640px) {
  .stats__list--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stats__list--5 .stat__num { font-size: min(4rem, 6.5vw); }
  .stats__list--5 .stat { grid-column: span 2; border-right: 1px solid var(--line); }
  .stats__list--5 .stat:nth-child(3), .stats__list--5 .stat:last-child { border-right: 0; }
  .stats__list--5 .stat:nth-child(4) { grid-column: 2 / span 2; }
  .stats__list--5 .stat:last-child { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .stats__list--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stats__list--5 .stat__num { font-size: min(3.5rem, 3.9vw); }
  .stats__list--5 .stat, .stats__list--5 .stat:nth-child(4), .stats__list--5 .stat:last-child { grid-column: auto; }
  .stats__list--5 .stat:nth-child(3) { border-right: 1px solid var(--line); }
}

/* ==========================================================================
   Why EAS — white text band (alternates with the cream Services band)
   ========================================================================== */
.why { background: var(--white); }
.why__grid { display: grid; gap: 8px; }
.why .section-title { margin-bottom: 20px; }
.why__body { max-width: 62ch; font-size: 1.1875rem; line-height: 1.6; color: var(--navy); }
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
  .why .section-title { margin-bottom: 0; }
  .why__body { font-size: 1.3125rem; padding-top: 56px; }
}

/* ==========================================================================
   Cards (shared)
   ========================================================================== */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t), background-color var(--t);
}
@media (min-width: 1024px) { .card { padding: 40px 36px; } }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
}
.card__title { font-size: 1.5rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); margin-bottom: 14px; }
.card p { color: var(--muted); }

.cards { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ==========================================================================
   4. Services
   ========================================================================== */
.services { background: var(--cream); margin-inline: var(--inset); border-radius: var(--radius-band); }
.service__num {
  display: block; margin-bottom: 28px;
  font-size: 2.5rem; font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--orange);
}
.service__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service--core { border-top: 3px solid var(--orange); }
.service-group + .service-group { margin-top: 56px; }
@media (min-width: 1024px) { .service-group + .service-group { margin-top: 72px; } }
.service-group__title {                        /* small-caps group label with a rule, like the marquee title */
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
}
.service-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service__note { margin-top: 20px; font-size: .8125rem; line-height: 1.5; }
.checklist { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding-left: 28px; font-size: .9375rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   5. Approach — navy band, chevron steps
   ========================================================================== */
.band {
  position: relative;
  margin: var(--inset);
  border-radius: var(--radius-band);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}
.band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 40, 74, .9), rgba(5, 28, 53, .94));
}
.band__inner { padding-block: var(--section-y); }
.band .section-title { color: var(--white); }
.band .section-intro { color: rgba(255, 255, 255, .82); }

.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(2px);
}
.step__icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 24px; }
.step__num { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); }
.step__title { font-size: 1.875rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: 14px; }
.step p { color: rgba(255, 255, 255, .82); max-width: 34ch; }
.step .step__proof {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .875rem; font-weight: 500; line-height: 1.45; color: var(--orange);
}

/* downward connector on mobile */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 12px; height: 12px;
  background: rgba(255, 255, 255, .12);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
}
@media (min-width: 1200px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .step {
    --notch: 48px;
    padding: 44px calc(var(--notch) + 28px) 48px calc(var(--notch) + 28px);
    border: 0; border-radius: 0;
    background: rgba(255, 255, 255, .08);
    clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%);
  }
  .step + .step { margin-left: calc(var(--notch) * -1 + 10px); }
  .step:first-child {
    padding-left: 40px;
    border-radius: var(--radius-card) 0 0 var(--radius-card);
    clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%);
  }
  .step:not(:last-child)::after { display: none; }
}

/* ==========================================================================
   6. About
   ========================================================================== */
.about__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}
@media (min-width: 1200px) { .about__grid { gap: 96px; } }

.about__photo { position: relative; max-width: 480px; }
@media (min-width: 900px) { .about__photo { position: sticky; top: calc(var(--header-h) + 40px); } }
.about__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius-band);
}
.about__photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: grid; gap: 2px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(8, 40, 74, .88);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.about__photo figcaption strong { font-weight: 500; }
.about__photo figcaption span { font-size: .8125rem; letter-spacing: .04em; color: var(--muted-light); }

.prose { display: grid; gap: 18px; margin-top: 28px; color: var(--muted); }
.prose__lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }
@media (min-width: 1024px) { .prose__lead { font-size: 1.3125rem; } }

.badges { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .badges { grid-template-columns: repeat(3, 1fr); } }
.badge {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--cream);
  font-size: .9375rem; font-weight: 500; line-height: 1.35; color: var(--navy);
}
@media (min-width: 640px) { .badge { flex-direction: column; align-items: flex-start; } }
.badge__icon { width: 26px; height: 26px; flex: none; color: var(--orange); }

.proof { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.proof .eyebrow { margin-bottom: 28px; }
.proof__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 900px) { .proof__list { grid-template-columns: repeat(4, 1fr); } }
.proof__item { display: grid; gap: 8px; align-content: start; }
.proof__num { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.proof__num::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 14px; background: var(--orange); }
.proof__label { font-size: .9375rem; line-height: 1.45; color: var(--muted); }

.career { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.career__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0;
  list-style: none; cursor: pointer;
  font-size: 1.25rem; font-weight: 500; color: var(--navy);
}
.career__summary::-webkit-details-marker { display: none; }
.career__toggle {
  position: relative; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background-color var(--t), border-color var(--t), transform var(--t) var(--ease-out);
}
.career__toggle::before, .career__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -1px 0 0 -7px;
  background: currentColor; transition: transform var(--t) var(--ease-out);
}
.career__toggle::after { transform: rotate(90deg); }
.career[open] .career__toggle { transform: rotate(180deg); }
.career[open] .career__toggle::after { transform: rotate(0); }
.career__summary:hover .career__toggle { background: var(--orange); border-color: var(--orange); }

.timeline { display: grid; padding-bottom: 32px; }
.timeline__item {
  display: grid; gap: 4px 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.timeline__item:first-child { border-top: 0; padding-top: 4px; }
@media (min-width: 768px) { .timeline__item { grid-template-columns: 160px 1fr; } }
.timeline__years { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--orange-text); font-variant-numeric: tabular-nums; }
.timeline__role { font-size: 1.0625rem; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.timeline__item p { color: var(--muted); font-size: .9375rem; }
.timeline__item--edu .timeline__role::before {
  content: "Education"; display: block; margin-bottom: 2px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.skills { margin-top: 48px; }
.skills .eyebrow { margin-bottom: 18px; }
.skills__list { display: flex; flex-wrap: wrap; gap: 8px; }
.skills__list li {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .875rem; color: var(--ink);
  transition: border-color var(--t), color var(--t);
}
.skills__list li:hover { border-color: var(--navy); }

.about { padding-bottom: calc(var(--section-y) * .5); }
.about__footnote { margin-top: 40px; max-width: 70ch; font-size: .875rem; font-style: italic; color: var(--muted); }

/* ==========================================================================
   7. Clients
   ========================================================================== */
.client-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .client-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.client__name { font-size: 1.625rem; font-weight: 400; letter-spacing: -.01em; color: var(--navy); margin-bottom: 14px; }
.client__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.client__head .client__name { margin: 0; }

.client--featured {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}
.client--featured .client__name { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 300; }
.client--featured p { color: rgba(255, 255, 255, .82); max-width: 70ch; font-size: 1.0625rem; }
.client--featured .tags li { border-color: rgba(255, 255, 255, .22); color: var(--white); }
@media (min-width: 768px) {
  .client--featured { grid-column: 1 / -1; padding: 48px; }
}
@media (min-width: 1024px) {
  .client--featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 64px; align-items: start; padding: 56px; }
  .client--featured .client__head { grid-row: span 2; flex-direction: column; align-items: flex-start; margin: 0; }
  .client--featured .tags { padding-top: 24px; }
}

/* On the Jobsite — three uniform 4:3 photo tiles under the client cards */
.jobsite { margin-top: 56px; }
@media (min-width: 1024px) { .jobsite { margin-top: 72px; } }
.jobsite .eyebrow { margin-bottom: 24px; }
.jobsite__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .jobsite__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.jobsite__tile {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--cream);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t);
}
.jobsite__tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (hover: hover) {
  .jobsite__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
}

/* Marquee — pure CSS, pauses on hover */
.marquee-wrap { padding-block: 72px var(--section-y); }
.marquee-title {
  display: flex; align-items: center; gap: 20px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto 36px; padding-inline: var(--gutter);
  font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.marquee-title::before, .marquee-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li {
  --logo-gap: 32px;
  display: flex; align-items: center; justify-content: center;
  height: 64px;
  padding-inline: var(--logo-gap);      /* even spacing: 2 × gap between every logo, including the loop seam */
}
/* heights are set per logo (18–48px) in the markup for even visual weight; scaled down on small screens */
.marquee__list img { width: auto; height: calc(var(--h, 32px) * var(--logo-scale, 1)); max-width: none; }
@media (max-width: 639px) { .marquee { --logo-scale: .7; } .marquee__list li { --logo-gap: 22px; } }
@media (min-width: 1024px) { .marquee__list li { --logo-gap: 44px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   8. Testimonials — navy / cream split
   ========================================================================== */
.testimonials { padding-inline: var(--inset); }
.testimonials__panel {
  display: grid; gap: 32px;
  padding: 48px var(--gutter) var(--gutter);
  border-radius: var(--radius-band);
  background: var(--navy);
  color: var(--white);
}

@media (min-width: 1024px) {
  .testimonials__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 88px max(var(--gutter), calc((100% - var(--container)) / 2)); align-items: center; }
}
.testimonials__intro .section-title { color: var(--white); }
.slider-nav { display: flex; gap: 10px; margin-block: 32px 28px; }
.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: var(--white);
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.round-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.round-btn .icon { width: 20px; height: 20px; }

.testimonials__card {
  position: relative;
  padding: 36px 24px 28px;
  border-radius: var(--radius-card);
  background: var(--cream);
  color: var(--ink);
}
@media (min-width: 640px) { .testimonials__card { padding: 48px 48px 36px; } }
.testimonials__mark { width: 48px; height: 40px; color: var(--orange); margin-bottom: 24px; }

.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .25s, transform .45s var(--ease-out) .25s, visibility 0s; }
.slide blockquote p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
@media (min-width: 1024px) { .slide blockquote p { font-size: 1.1875rem; } }
.slide figcaption { display: grid; gap: 2px; margin-top: 28px; }
.slide figcaption strong { font-size: 1.0625rem; font-weight: 500; color: var(--navy); }
.slide figcaption span { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.dots { display: flex; gap: 4px; margin-top: 28px; margin-left: -10px; }
.dot { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; }
.dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 100px; background: rgba(8, 40, 74, .25);
  transition: width var(--t) var(--ease-out), margin var(--t) var(--ease-out), background-color var(--t);
}
.dot.is-active::before { width: 24px; margin-left: -12px; background: var(--orange); }

/* ==========================================================================
   9. Contact
   ========================================================================== */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; } }

.contact-list { display: grid; gap: 20px; margin-top: 40px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon {
  width: 44px; height: 44px; flex: none; padding: 11px;
  border-radius: 50%; background: var(--cream); color: var(--navy);
}
.contact-list__label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span:not(.contact-list__label) { font-size: 1.0625rem; color: var(--navy); word-break: break-word; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1.5px no-repeat; transition: background-size var(--t) var(--ease-out); }
.contact-list a:hover { background-size: 100% 1.5px; }

.contact__note {
  display: flex; gap: 10px; align-items: center;
  margin-top: 32px; padding: 14px 18px; border-left: 3px solid var(--orange);
  background: var(--cream); border-radius: 0 10px 10px 0;
  font-size: .9375rem; color: var(--ink);
}
.contact__note .icon { color: var(--orange-text); }
.social-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-weight: 500; color: var(--navy); text-decoration: none;
  transition: color var(--t);
}
.social-link .icon { width: 22px; height: 22px; }
.social-link:hover { color: var(--orange-text); }

.form { gap: 18px; background: var(--white); box-shadow: 0 30px 60px -30px rgba(8, 40, 74, .25); }
.form.card:hover { transform: none; box-shadow: 0 30px 60px -30px rgba(8, 40, 74, .25); border-color: var(--line); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.req { color: var(--orange-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid #CFCBC1; border-radius: 10px;
  background: var(--white);
  font-size: 1rem; color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(243, 106, 10, .35);
}
.field [aria-invalid="true"] { border-color: #B42318; }
.field .error { font-size: .8125rem; color: #B42318; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.75px solid var(--navy); border-bottom: 1.75px solid var(--navy); transform: rotate(45deg); pointer-events: none;
}
.form .btn { margin-top: 6px; min-height: 54px; font-size: 1rem; }
.form__privacy { font-size: .8125rem; text-align: center; color: var(--muted); }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 10px; font-size: .9375rem; }
.form__status.is-success { background: #E8F3EC; color: #1D5B37; }
.form__status.is-error { background: #FCEDEB; color: #8A1C12; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { margin: 0 var(--inset) var(--inset); padding-top: 64px; border-radius: var(--radius-band); background: var(--cream); }
.site-footer__inner { display: grid; gap: 40px; padding-bottom: 48px; }
.site-footer__logo { display: block; width: 200px; }
.site-footer__col { display: grid; gap: 24px; align-content: start; }
.site-footer__id { font-size: .9375rem; color: var(--ink); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__links a { font-weight: 500; color: var(--navy); text-decoration: none; transition: color var(--t); }
.site-footer__links a:hover { color: var(--orange-text); }
.site-footer__social {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--navy);
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.site-footer__social:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.site-footer__social .icon { width: 18px; height: 18px; }
.site-footer__legal { padding-bottom: 24px; font-size: .8125rem; color: var(--muted); }
.site-footer__legal p { padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: auto 1fr; align-items: center; gap: 64px; }
  .site-footer__logo { width: 240px; }
  .site-footer__col { justify-items: end; text-align: right; }
}

/* ==========================================================================
   Scroll-in entrance (IntersectionObserver adds .is-visible)
   Only hidden when JS is running, so no-JS visitors see everything.
   ========================================================================== */
.js .reveal {
  opacity: 0;
  translate: 0 40px;             /* `translate`, not `transform`, so hover lifts still apply once revealed */
  transition: opacity .6s var(--ease-out), translate .6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; translate: none; }
/* once entered, cards switch back to their quick hover transition */
.js .card.reveal.is-settled { transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t); }
.js .jobsite__tile.reveal.is-settled { transition: transform var(--t) var(--ease-out), box-shadow var(--t); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .hero__content > * { animation: none; }
  .hero__controls { display: none; }
  .tag__dot { animation: none; }
  .card:hover, .jobsite__tile:hover { transform: none; }

  /* marquee becomes a static, wrapped list */
  .marquee { -webkit-mask: none; mask: none; }
  .marquee__track { width: auto; animation: none; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 12px; max-width: var(--container); padding-inline: var(--gutter); }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex: 0 1 auto; min-width: 0; gap: 8px 0; }
}

a[href^="tel:"] { white-space: nowrap; }
.nowrap { white-space: nowrap; }
