/* =========================================================
   Whites Elm Consulting — Design System
   Navy + Yellow traditional consulting palette
   ========================================================= */

:root {
  /* --- Brand colors --- */
  --navy:        #0A2540;
  --navy-deep:   #061827;
  --navy-soft:   #E8EDF3;
  --navy-tint:   #F4F6FA;
  --yellow:      #FFC72C;
  --yellow-warm: #F2B600;
  --yellow-soft: #FFF4D1;
  --yellow-pale: #FFFAE6;

  /* --- Neutrals --- */
  --white:       #FFFFFF;
  --paper:       #FAFAFA;
  --cream:       #FBF8F1;
  --gray-50:     #F8F9FB;
  --gray-100:    #F4F6F8;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;

  /* --- Text --- */
  --ink:         #0F172A;
  --body:        #334155;
  --muted:       #64748B;
  --light-muted: #94A3B8;

  /* --- Supporting --- */
  --green:       #10B981;
  --coral:       #E76F51;

  /* --- Layout --- */
  --container:   1200px;
  --container-wide: 1320px;
  --radius:      6px;
  --radius-lg:   12px;

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

  /* --- Shadows --- */
  --shadow-sm:   0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.08);
  --shadow:      0 8px 24px -8px rgba(10,37,64,.12);
  --shadow-lg:   0 24px 48px -16px rgba(10,37,64,.18);
}

/* =========================================================
   Reset & base
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.02em; }
h3 { font-size: 22px; }
h4 { font-size: 16px; font-weight: 600; }
p  { color: var(--body); }

/* =========================================================
   Layout primitives
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 28px; }
.section { padding: 48px 0; }
.section-tight { padding: 36px 0; }

.eyebrow {
  display: inline-block;
  font-size: 23px; /* +90% vs. prior 12px */
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow-warm);
  line-height: 1.2;
}

.lede { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 620px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head h2 { max-width: 640px; margin-top: 14px; }
.section-head .right { max-width: 380px; text-align: right; }
.section-head .right p { font-size: 15px; }

.divider-yellow {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--yellow);
  margin: 0 0 24px;
  border-radius: 2px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  transition: all .2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--yellow-warm);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(255,199,44,.45);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(10,37,64,.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-300);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost-light:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* =========================================================
   Announcement bar
   ========================================================= */
.announce {
  background: var(--navy-deep);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.announce .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.announce .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .4 } }
.announce a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announce a:hover { color: var(--white); }

/* =========================================================
   Header / nav  —  prominent navy bar with full-size white logo
   ========================================================= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 8px rgba(10, 37, 64, .15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.logo .logo-mark {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: block;
  flex-shrink: 0;
}
.logo .logo-mark img {
  width: auto;
  height: 76px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}
/* Logo image already contains the "Whites Elm Consulting" wordmark,
   so the redundant text span is hidden but kept in markup for screen readers. */
.logo .logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav.primary ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
nav.primary a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
nav.primary a:hover { color: var(--yellow); }
nav.primary a.is-current { color: var(--white); font-weight: 600; }
nav.primary a.is-current::after,
nav.primary a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 42px 0 48px;
  background: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 95% -10%, rgba(255,199,44,.10), transparent 60%),
    radial-gradient(600px 350px at -5% 110%, rgba(10,37,64,.05), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero h1 .accent { color: var(--navy); }
.hero h1 .underline {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 100% 28%;
  padding: 0 4px;
}
.hero p.lede { margin: 24px 0 36px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-visual { position: relative; height: 540px; }
.hero-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,.25) 100%);
  pointer-events: none;
}
.hero-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--yellow);
}
.hero-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow-warm);
  margin-bottom: 10px;
}
.hero-card .quote {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-card .who { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.hero-card .who .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.hero-card .who strong { color: var(--ink); font-weight: 600; display: block; }
.hero-card .who span { color: var(--muted); }

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.trust .label {
  text-align: center;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 24px;
}
.trust .list {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  align-items: center;
}
.trust .list span {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.005em;
  opacity: .82;
  transition: opacity .2s;
}
.trust .list span:hover { opacity: 1; }
.trust .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  align-self: center;
}

/* =========================================================
   Industry cards (homepage, replaces simple trust strip)
   ========================================================= */
.industry-cards {
  background: var(--white);
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--gray-200);
}
.industry-cards .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 14px;
}
.industry-cards h2 {
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.industry-cards .industry-sub {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.industry-cards .industry-cta {
  text-align: center;
  margin-top: 36px;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,.35) 0%, rgba(10,37,64,.82) 65%, rgba(10,37,64,.96) 100%);
  transition: background .3s ease;
}
.industry-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  z-index: 2;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.industry-card:hover::before {
  background: linear-gradient(180deg, rgba(10,37,64,.4) 0%, rgba(10,37,64,.88) 65%, rgba(10,37,64,.98) 100%);
}
.industry-card:hover::after {
  transform: scaleX(1);
}
/* Fade modifier: washed-out by default, reveals image on hover */
.industry-card.fade::before {
  background: linear-gradient(180deg, rgba(10,37,64,.80) 0%, rgba(10,37,64,.92) 100%);
}
.industry-card.fade:hover::before {
  background: linear-gradient(180deg, rgba(10,37,64,.30) 0%, rgba(10,37,64,.60) 100%);
}
.industry-card .inner {
  position: relative;
  z-index: 1;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.industry-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transform: scale(0.78);
  opacity: 0.88;
  transition: transform .4s cubic-bezier(.34,1.4,.5,1), opacity .35s ease;
  align-self: flex-start;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.35);
}
.industry-card .icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  transition: transform .35s ease;
}
.industry-card:hover .icon {
  transform: scale(1.18);
  opacity: 1;
}
.industry-card:hover .icon svg {
  transform: scale(1.05);
}
.industry-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--white);
  margin: 0 0 6px;
}
.industry-card .card-sub {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .82);
  margin: 0;
  font-weight: 400;
}
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  /* Reset the centered-card inline grid-column when grid is no longer 3-col */
  .industry-grid > a[style*="grid-column"] { grid-column: auto !important; }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr; gap: 18px; }
  .industry-card { height: 220px; }
}

/* =========================================================
   Metrics
   ========================================================= */
.metrics {
  padding: 48px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(255,199,44,.08), transparent 60%);
  pointer-events: none;
}
.metrics .container { position: relative; }
.metrics .lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.metrics .lead .eyebrow { color: var(--yellow); }
.metrics .lead h2 { color: var(--white); margin-top: 14px; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.metric { text-align: center; padding: 16px; }
.metric .num {
  font-size: 60px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -.025em;
}
.metric .num .plus { color: inherit; margin-left: 2px; }
.metric .label {
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Why us / value props
   ========================================================= */
.vp { padding: 60px 0; background: var(--white); }
.vp .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.vp .head h2 { margin-top: 14px; margin-bottom: 20px; }
.vp .head .lede { font-size: 16px; max-width: 380px; }
.vp .head .signature {
  margin-top: 36px;
  padding: 24px;
  background: var(--navy-tint);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.vp .head .signature p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 16px;
}
.vp .head .signature .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vp .head .signature .who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-soft);
  flex-shrink: 0;
}
.vp .head .signature .who .av img { width: 100%; height: 100%; object-fit: cover; }
.vp .head .signature .who strong { color: var(--ink); font-weight: 600; display: block; font-size: 14px; }
.vp .head .signature .who span { color: var(--muted); font-size: 13px; }

.vp .grid { display: grid; gap: 18px; }
.vp .card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all .2s;
}
.vp .card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.vp .card .ic {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--yellow-soft);
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}
.vp .card .ic svg { width: 26px; height: 26px; }
.vp .card h3 { font-size: 19px; margin-bottom: 6px; }
.vp .card p { font-size: 14.5px; line-height: 1.6; }

/* =========================================================
   Services preview cards
   ========================================================= */
.services-preview {
  padding: 60px 0;
  background: var(--gray-50);
  position: relative;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 4px;
  background: var(--yellow);
  transition: width .35s ease;
}
.svc-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.svc-card:hover::before { width: 100%; }
.svc-card .num {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 16px;
}
.svc-card .num span { color: var(--yellow-warm); }
.svc-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--navy); }
.svc-card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; flex: 1; }
.svc-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.svc-card ul li {
  font-size: 13.5px;
  color: var(--body);
  display: flex;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}
.svc-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 7px;
  transform: rotate(45deg);
}
.svc-card .more {
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  transition: gap .2s;
}
.svc-card .more::after { content: "→"; transition: transform .2s; }
.svc-card:hover .more::after { transform: translateX(4px); }

/* =========================================================
   Process steps
   ========================================================= */
.process { padding: 60px 0; background: var(--white); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-200) 0 8px, transparent 8px 14px);
}
.step { text-align: center; padding: 0 8px; position: relative; }
.step .dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  position: relative;
  z-index: 1;
  margin: 0 auto 24px;
  transition: all .25s;
}
.step:hover .dot { background: var(--yellow); border-color: var(--yellow); }
.step .tag {
  font-size: 11px;
  color: var(--yellow-warm);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 1.55; max-width: 240px; margin: 0 auto; }

/* =========================================================
   Industries grid
   ========================================================= */
.industries { padding: 60px 0; background: var(--gray-50); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ind {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  align-items: center;
  transition: all .2s;
}
.ind:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.ind .ic {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--navy-soft);
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}
.ind .ic svg { width: 22px; height: 22px; }
.ind h3 { font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.ind p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* =========================================================
   Proof / testimonial
   ========================================================= */
.proof {
  padding: 60px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.proof::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,.08), transparent 70%);
  right: -200px;
  top: -150px;
}
.proof .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.proof .eyebrow { color: var(--yellow); }
.quote {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--white);
  margin-top: 18px;
  letter-spacing: -.01em;
  border-left: 4px solid var(--yellow);
  padding-left: 24px;
}
.quote-attr {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-attr .av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.quote-attr .who { font-weight: 600; color: var(--white); font-size: 15px; }
.quote-attr .role { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 2px; }

.case-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.case-card .case-image { overflow: hidden; background: var(--gray-100); }
.case-card .case-image img { width: 100%; height: auto; display: block; }
.case-card .case-body { padding: 32px 36px 36px; }
.case-card .pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--yellow-soft);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 99px;
  margin-bottom: 18px;
}
.case-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 14px; }
.case-card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; color: var(--body); }
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}
.case-stats .v { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1; }
.case-stats .k {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 6px;
  font-weight: 600;
}

/* =========================================================
   Insights cards
   ========================================================= */
.insights { padding: 60px 0; background: var(--white); }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ins {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s;
  text-decoration: none;
  color: inherit;
}
.ins:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.ins-thumb { height: 200px; overflow: hidden; background: var(--navy-soft); }
.ins-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ins:hover .ins-thumb img { transform: scale(1.04); }
.ins-body { padding: 26px; }
.ins .cat {
  font-size: 11px;
  color: var(--yellow-warm);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ins h3 { font-size: 19px; line-height: 1.3; margin-bottom: 12px; }
.ins p { font-size: 14px; line-height: 1.55; margin-bottom: 18px; color: var(--body); }
.ins .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.ins .read {
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  padding: 60px 0;
  background: var(--cream);
}
.cta-strip .box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip .box::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--yellow-soft), transparent 70%);
  right: -100px; top: -100px;
}
.cta-strip .box > * { position: relative; }
.cta-strip h2 { margin-bottom: 20px; }
.cta-strip h2 .accent { color: var(--navy); }
.cta-strip h2 .underline {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-position: 0 90%;
  background-repeat: no-repeat;
  background-size: 100% 26%;
  padding: 0 4px;
}
.cta-strip p.lede { margin-bottom: 28px; font-size: 16.5px; }
.cta-list { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.cta-list li {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.cta-list li svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   Form
   ========================================================= */
.form-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
}
.form-card .form-head { margin-bottom: 24px; }
.form-card .form-head h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .form-head p { font-size: 13.5px; color: var(--muted); }
.form-card label {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin: 14px 0 6px;
}
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,37,64,.08);
}
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card button {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.form-card button:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(10,37,64,.4);
}
.form-card .legal {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

/* =========================================================
   Footer
   ========================================================= */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: 40px 0 16px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-grid p { font-size: 14px; line-height: 1.6; margin-top: 18px; max-width: 340px; color: rgba(255,255,255,.65); }
.foot-col h4 {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.foot-col a:hover { color: var(--yellow); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom a:hover { color: var(--yellow); }
.foot-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-logo img { height: 50px; width: auto; }

/* =========================================================
   Page hero (inner pages) — white with navy text, strong break
   from the navy header above it
   ========================================================= */
.page-hero {
  background: var(--white);
  color: var(--ink);
  padding: 36px 0 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 95% 0%, rgba(255,199,44,.12), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(10,37,64,.04), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.page-hero .crumbs a { color: var(--ink); font-weight: 500; transition: color .2s; }
.page-hero .crumbs a:hover { color: var(--navy); }
.page-hero .crumbs span { margin: 0 8px; color: var(--gray-300); }
.page-hero .eyebrow { color: var(--yellow-warm); }
.page-hero h1 {
  color: var(--ink);
  margin-top: 12px;
  max-width: 880px;
}
.page-hero h1 .underline {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-position: 0 90%;
  background-repeat: no-repeat;
  background-size: 100% 26%;
  padding: 0 4px;
  color: var(--navy);
}
.page-hero p.lede {
  color: var(--body);
  margin-top: 24px;
  font-size: 19px;
  max-width: 720px;
}

/* =========================================================
   Two-column rich content
   ========================================================= */
.rich-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.rich-two img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.rich-two h2 { margin-bottom: 20px; }
.rich-two p { font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
.rich-two .checklist {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.rich-two .checklist li {
  display: flex; gap: 12px;
  font-size: 15px; line-height: 1.5;
  color: var(--ink);
}
.rich-two .checklist li svg {
  width: 20px; height: 20px;
  color: var(--yellow-warm);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   Generic content blocks
   ========================================================= */
.content-block { padding: 48px 0; background: var(--white); }
.content-block.alt { background: var(--gray-50); }
.content-block.cream { background: var(--cream); }
.content-block h2 { margin-bottom: 24px; }
.content-block p { font-size: 16px; line-height: 1.7; max-width: 760px; margin-bottom: 16px; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
  padding: 40px;
  background: var(--navy-tint);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--yellow);
}
.kpi { }
.kpi .v {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1;
}
.kpi .k {
  font-size: 13.5px;
  color: var(--body);
  margin-top: 8px;
  font-weight: 500;
}

/* =========================================================
   Team
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card .photo {
  background: var(--navy-soft);
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team-card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-card .body { padding: 28px; }
.team-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.team-card .role {
  font-size: 13px;
  color: var(--yellow-warm);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.team-card .links {
  display: flex; gap: 14px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}
.team-card .links a {
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}

/* =========================================================
   Tags / chips
   ========================================================= */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
}
.chip:hover { border-color: var(--navy); background: var(--navy-tint); }
.chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero .container,
  .vp .container,
  .proof .container,
  .cta-strip .box,
  .rich-two { grid-template-columns: 1fr; gap: 48px; }
  /* When 2-col sections stack on mobile, push the image-containing column to the top */
  .hero .container > div:has(img),
  .vp .container > div:has(img),
  .proof .container > div:has(img),
  .rich-two > div:has(img) { order: -1; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .svc-grid, .ins-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps::after { display: none; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .cta-strip .box { padding: 48px; }
  .hero-visual { height: 460px; }
  .section-head { flex-direction: column; align-items: start; }
  .section-head .right { text-align: left; max-width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
}
/* Maximo callout on homepage — responsive */
.max-callout {
  margin-top: 48px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}
@media (max-width: 820px) {
  .max-callout { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .max-callout .btn { justify-self: start; }
}

/* Contact page 2-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-card { position: sticky; top: 120px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { position: static; }
}
/* Contact page FAQ grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
}
/* About page "What we believe" grid */
.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .beliefs-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Maximo page "Outcomes" grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .outcomes-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Services page — Maximo "Specialized Capability" feature card */
.maximo-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}
.maximo-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.maximo-feature-list li {
  padding-left: 0;
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .92);
}
@media (max-width: 900px) {
  .maximo-feature { grid-template-columns: 1fr; gap: 24px; }
  .maximo-feature-list { grid-template-columns: 1fr; }
}

/* Mobile nav toggle button (hamburger) — only visible on small screens */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* "Start a Conversation" item appended to mobile nav — hidden on desktop, yellow pill on mobile */
.nav-cta-li { display: none; }
@media (max-width: 640px) {
  .nav-cta-li { display: block; border-top: 1px solid rgba(255,255,255,.10) !important; margin-top: 8px; padding: 14px 18px 6px; }
  .nav-cta-li a.nav-cta {
    display: block !important;
    background: var(--yellow);
    color: var(--navy) !important;
    font-weight: 700;
    padding: 12px 18px !important;
    border-radius: 8px;
    text-align: center;
    font-size: 14.5px !important;
  }
  .nav-cta-li a.nav-cta:hover { background: var(--yellow-warm); }
}

@media (max-width: 640px) {
  /* Header layout */
  .site-header .container {
    height: 92px;
    gap: 10px;
  }
  .logo .logo-mark img { height: 68px; }
  .nav-toggle { display: flex; }
  /* Hide the desktop "Start a Conversation" CTA button — too cramped; it lives in the dropdown menu */
  .site-header .btn-primary { display: none; }

  /* Nav becomes a dropdown overlay */
  nav.primary {
    position: fixed;
    top: 92px;            /* below the header */
    right: 0;
    width: min(280px, 80vw);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    background: var(--navy-deep);
    border-left: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: -8px 12px 32px rgba(0,0,0,.35);
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 49;
  }
  body.nav-open nav.primary { transform: translateX(0); }
  nav.primary ul {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    align-items: stretch;
  }
  nav.primary ul li {
    border-top: 1px solid rgba(255,255,255,.06);
  }
  nav.primary ul li:first-child { border-top: none; }
  nav.primary ul li a {
    display: block;
    padding: 14px 22px;
    font-size: 15.5px;
    color: rgba(255,255,255,.92);
    font-weight: 500;
  }
  nav.primary ul li a:hover,
  nav.primary ul li a.is-current { color: var(--yellow); background: rgba(255,255,255,.04); }

  /* Announce bar — allow content to wrap without clipping */
  .announce { font-size: 12.5px; }
  .announce .container {
    height: auto;
    min-height: 36px;
    padding: 8px 16px;
    line-height: 1.4;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Generic layout & section spacing */
  .container, .container-wide { padding: 0 20px; }
  .svc-grid, .ins-grid, .ind-grid, .metrics-grid { grid-template-columns: 1fr; }
  .hero { padding: 30px 0 36px; }
  .hero p.lede { font-size: 17px; }
  .hero-visual { height: 360px; }
  .hero-card { width: 84%; }
  .section, .vp, .services-preview, .process, .industries, .proof, .insights, .cta-strip { padding: 36px 0; }
  .quote { font-size: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .trust .list { gap: 24px; }
  .trust .sep { display: none; }
  .kpi-row { grid-template-columns: 1fr; padding: 28px; }
  .case-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .case-stats .v { font-size: 22px; }

  /* CTA / contact form on mobile */
  .cta-strip .box { padding: 32px 22px; }
  .form-card { padding: 22px; }
  .form-card .form-head h3 { font-size: 18px; }
  .form-card input, .form-card select, .form-card textarea { font-size: 14.5px; }

  .industry-grid { gap: 14px; }
  .industry-card { height: 200px; }
}

/* Process methodology diagram (placed above the 4-step row on how-we-work and homepage) */
.process-diagram {
  max-width: 784px;          /* 20% smaller than original 980px */
  margin: 0 auto;            /* no vertical padding above/below */
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process-diagram img { width: 100%; height: auto; display: block; }
/* When the diagram is immediately followed by the steps grid, kill the steps' top margin
   so the two butt right up against each other. */
.process-diagram + .steps { margin-top: 48px; }
@media (max-width: 640px) {
  .process-diagram { max-width: 100%; }
}
