/* =====================================================================
   SMB Catalyst — Website Design System v3
   MBB-grade. Cambria headings. Locked colors. Generous whitespace.
   ===================================================================== */

/* ----- DESIGN TOKENS ----- */
:root {
  --navy:        #113F70;
  --navy-deep:   #0B2E55;
  --orange:      #F7AA46;
  --orange-deep: #E89028;
  --dark-gray:   #4F4F4F;
  --body-text:   #33363B;
  --light-gray:  #F7F7F5;
  --very-light:  #FAFAF8;
  --subtle-line: #E0E3E7;
  --subtle-gray: #C8CDD3;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 3px rgba(17,63,112,0.06);
  --shadow-md:   0 4px 24px rgba(17,63,112,0.08);
  --shadow-lg:   0 12px 48px rgba(17,63,112,0.12);

  --font-serif: 'Cambria', 'Times New Roman', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --content-max: 1200px;
  --reading-max: 720px;
  --gutter: 5vw;
  --section-y: 6rem;
}

@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
    --section-y: 4rem;
  }
}

/* ----- RESET / BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-deep); }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.5;
}
p { margin-bottom: 1rem; }
.muted { color: var(--dark-gray); }
.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

/* ----- LAYOUT ----- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.reading {
  max-width: var(--reading-max);
  margin: 0 auto;
}
section { padding: var(--section-y) 0; }
.section-tight { padding: 3rem 0; }

.grid { display: grid; gap: 2rem; }
.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-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.responsive-2 { grid-template-columns: repeat(2, 1fr); }
}

.bg-light { background: var(--light-gray); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy .eyebrow { color: var(--orange); }
.bg-navy .lead { color: rgba(255,255,255,0.85); }

/* ----- NAVIGATION ----- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--subtle-line);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--dark-gray);
  position: relative; padding: 0.5rem 0;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--orange);
}
.nav-cta {
  background: var(--navy); color: var(--white);
  padding: 0.65rem 1.4rem; border-radius: 2px;
  font-size: 0.9rem; font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-1px); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { padding: 0.5rem 1rem; font-size: 0.85rem; }
}

/* ----- BUTTONS ----- */
.btn { display: inline-block; padding: 0.85rem 1.8rem; font-size: 1rem;
       font-weight: 600; border-radius: 2px; transition: all .15s ease;
       border: 2px solid transparent; }
.btn-primary { background: var(--orange); color: var(--navy); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--navy); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ----- HERO ----- */
.hero {
  padding: 7rem 0 5rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--very-light) 100%);
  position: relative;
}
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
  opacity: 0.4;
}
.hero-eyebrow { color: var(--orange-deep); margin-bottom: 1rem; }
.hero h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.hero .lead { max-width: 60ch; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; padding-top: 2.5rem;
              border-top: 1px solid var(--subtle-line); flex-wrap: wrap; }
.hero-stat { }
.hero-stat .num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.hero-stat .label {
  font-size: 0.85rem; color: var(--dark-gray); margin-top: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ----- SECTION HEADERS ----- */
.section-head { margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-head h2 { margin-bottom: 1rem; max-width: 28ch; }
.section-head .lead { max-width: 60ch; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .underline { display: inline-block; width: 48px; height: 3px;
                          background: var(--orange); margin-top: 1rem; }

/* ----- CARDS ----- */
.card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 2rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-eyebrow { color: var(--orange-deep); font-size: 0.78rem;
                font-weight: 700; letter-spacing: 0.12em;
                text-transform: uppercase; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.card-body { color: var(--dark-gray); font-size: 0.95rem; }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 600;
             color: var(--navy); border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.card-link:hover { color: var(--orange-deep); border-color: var(--orange-deep); }

/* ----- INSIGHT CARD (for thought leadership grid) ----- */
.insight-card {
  background: var(--white); border-top: 3px solid var(--orange);
  padding: 2rem; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.insight-card .meta {
  font-size: 0.78rem; color: var(--dark-gray); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.85rem;
}
.insight-card .meta .topic { color: var(--orange-deep); font-weight: 700; }
.insight-card h3 {
  font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.75rem;
  font-family: var(--font-serif);
}
.insight-card p { color: var(--dark-gray); font-size: 0.95rem; flex-grow: 1; }
.insight-card .read-more {
  margin-top: 1.25rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--orange); padding-bottom: 2px;
  align-self: flex-start;
}

/* ----- POD / SERVICE CARDS ----- */
.pod-card {
  background: var(--white); padding: 2.5rem 2rem;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.pod-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pod-card .pod-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pod-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.pod-card .pod-tagline { color: var(--orange-deep); font-weight: 600;
                         font-size: 0.95rem; margin-bottom: 1rem; }
.pod-card p { color: var(--dark-gray); font-size: 0.95rem; }
.pod-card ul { list-style: none; margin-top: 1rem; }
.pod-card ul li { padding: 0.3rem 0; font-size: 0.9rem; color: var(--dark-gray);
                  position: relative; padding-left: 1.2rem; }
.pod-card ul li::before {
  content: '▸'; position: absolute; left: 0; color: var(--orange);
}

/* ----- STAT TILES ----- */
.stat-tile {
  text-align: left; padding: 1.5rem 0;
  border-top: 2px solid var(--orange);
}
.stat-tile .stat-num {
  font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: 0.5rem;
}
.stat-tile .stat-label {
  font-size: 0.95rem; color: var(--dark-gray); font-weight: 500;
}

/* ----- QUOTE BLOCK ----- */
.quote-block {
  background: var(--light-gray); padding: 4rem 3rem;
  position: relative;
}
.quote-block::before {
  content: '“'; font-family: var(--font-serif); font-size: 8rem;
  color: var(--orange); line-height: 0.8; position: absolute;
  left: 2rem; top: 1.5rem; opacity: 0.5;
}
.quote-block blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5;
  color: var(--navy); margin-bottom: 1.5rem; max-width: 50ch;
  position: relative; z-index: 1; padding-left: 4rem;
}
.quote-block .attribution { padding-left: 4rem; }
.quote-block .attribution strong { color: var(--navy); display: block; font-size: 1rem; }
.quote-block .attribution span { color: var(--dark-gray); font-size: 0.9rem; }

@media (max-width: 768px) {
  .quote-block { padding: 3rem 1.5rem; }
  .quote-block::before { left: 0.5rem; top: 1rem; font-size: 5rem; }
  .quote-block blockquote, .quote-block .attribution { padding-left: 0; }
}

/* ----- CTA BAND ----- */
.cta-band {
  background: var(--navy); color: var(--white);
  padding: 5rem 0; text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; max-width: 25ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { color: rgba(255,255,255,0.8); margin-bottom: 2.5rem;
                  max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-band .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ----- FOOTER ----- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer h4 { color: var(--white); font-family: var(--font-sans);
             font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
             text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
               margin-bottom: 3rem; }
.footer-brand img { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 30ch; line-height: 1.5; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.75); transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ----- ARTICLE STYLING ----- */
.article-hero {
  background: var(--very-light); padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--subtle-line);
}
.article-hero .container { max-width: 800px; }
.article-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--dark-gray);
  margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.article-meta .topic { color: var(--orange-deep); font-weight: 700; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.2;
                   margin-bottom: 1.5rem; max-width: 24ch; }
.article-hero .deck {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.25rem; line-height: 1.5; color: var(--dark-gray);
}
.article-author {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--subtle-line);
  font-size: 0.9rem; color: var(--dark-gray);
}
.article-author strong { color: var(--navy); }

.article-body { padding: 4rem 0; }
.article-body .container { max-width: 720px; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.7rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.3rem; color: var(--orange-deep); }
.article-body p { margin-bottom: 1.25rem; line-height: 1.75; font-size: 1.05rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: 0.6rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.2rem; color: var(--navy);
}
.article-body strong { color: var(--navy); }
.article-body em { font-style: italic; }
.article-body a { border-bottom: 1px solid var(--orange); }
.article-body .pull-quote {
  text-align: center; max-width: 600px; margin: 3rem auto;
  padding: 0; border: none;
}
.article-body .pull-quote p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.5rem; line-height: 1.4; color: var(--navy);
}

/* ----- TABLES ----- */
table.mbb {
  width: 100%; border-collapse: collapse; margin: 2rem 0;
  font-size: 0.95rem;
}
table.mbb th {
  background: var(--navy); color: var(--white);
  text-align: left; padding: 1rem 1.25rem;
  font-weight: 600; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
table.mbb td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--subtle-line);
}
table.mbb tr:nth-child(even) td { background: var(--light-gray); }
table.mbb td:first-child { font-weight: 600; color: var(--navy); }

/* ----- UTILITY ----- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.divider { height: 1px; background: var(--subtle-line); margin: 3rem 0; }
.orange-line { width: 48px; height: 3px; background: var(--orange); display: inline-block; margin-bottom: 1rem; }


/* =====================================================================
   v3.1 FORMATTING POLISH — May 2026
   Targeted refinements: card heights, spacing, hero, mobile, tables.
   ===================================================================== */

/* Hero — refined typography for the canonical tagline */
.hero { padding: 6rem 0 5rem; }
.hero h1 { max-width: 22ch; margin-bottom: 1.75rem; line-height: 1.15; }
.hero h1 .hero-h1-accent {
  display: inline-block; color: var(--orange-deep);
  font-style: italic; font-weight: 700;
}
.hero .lead { max-width: 56ch; }
.hero-stats { gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem; }

@media (max-width: 600px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.75rem; margin-top: 2.5rem; }
  .hero-stat .num { font-size: 1.8rem; }
  .hero-stat .label { font-size: 0.78rem; }
}

/* Equal-height cards in grids — flex column so card-body grows */
.card, .pod-card, .insight-card {
  display: flex; flex-direction: column; height: 100%;
}
.card .card-body, .pod-card p, .insight-card p { flex-grow: 1; }
.grid > * { min-width: 0; }

/* Pod cards on home — slightly tighter for the 4-up grid */
@media (min-width: 901px) {
  .grid-4 .pod-card { padding: 2rem 1.5rem; }
  .grid-4 .pod-card h3 { font-size: 1.25rem; }
  .grid-4 .pod-card .pod-tagline { font-size: 0.85rem; margin-bottom: 0.75rem; }
  .grid-4 .pod-card p { font-size: 0.9rem; }
  .grid-4 .pod-card ul li { font-size: 0.82rem; }
}

/* Section heads — slightly more air, consistent rhythm */
.section-head { margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 1.25rem; max-width: 32ch; }
.section-head .lead { max-width: 64ch; margin-top: 1rem; }

/* Card refinements */
.card { padding: 2.25rem 2rem; }
.card h3 { line-height: 1.3; }
.card-body { line-height: 1.6; }

/* Insight cards — better visual weight */
.insight-card { padding: 2.25rem 2rem; }
.insight-card h3 { line-height: 1.25; }

/* Article body — tighter reading typography */
.article-body { padding: 4.5rem 0 5rem; }
.article-body .container { max-width: 740px; }
.article-body p { margin-bottom: 1.4rem; line-height: 1.78; font-size: 1.06rem; }
.article-body p:first-of-type { font-size: 1.18rem; line-height: 1.7; color: var(--body-text); }
.article-body h2 { margin-top: 3rem; padding-top: 0.5rem; }
.article-body h3 { margin-top: 2.25rem; font-size: 1.25rem; }
.article-body blockquote {
  font-size: 1.25rem; padding: 0.75rem 0 0.75rem 1.75rem;
  margin: 2.25rem 0;
}
.article-body .pull-quote {
  margin: 3.5rem auto; padding: 2rem 1rem;
  border-top: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
}
.article-body .pull-quote p { font-size: 1.4rem; line-height: 1.45; margin: 0; }

/* Tables — mobile-safe overflow */
.table-wrap, .container > table.mbb {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
table.mbb { min-width: 600px; }
table.mbb th { font-size: 0.82rem; }
table.mbb td { font-size: 0.92rem; line-height: 1.5; }
table.mbb tr:nth-child(even) td { background: var(--very-light); }

@media (max-width: 600px) {
  table.mbb th, table.mbb td { padding: 0.75rem 0.85rem; }
}

/* CTA band — tighter */
.cta-band { padding: 5.5rem 0; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 28ch; }
.cta-band .lead { font-size: 1.15rem; max-width: 58ch; }

/* Footer — proportional logo, clean copy */
.footer { padding: 4.5rem 0 2rem; }
.footer-brand img { height: 42px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.88rem; max-width: 32ch; line-height: 1.55; }
.footer h4 { font-size: 0.78rem; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.88rem; }

/* Quote block — refinement */
.quote-block { padding: 3.5rem 3rem; max-width: 900px; margin: 0 auto; }
.quote-block blockquote { max-width: 56ch; }

/* Stat tile refinements */
.stat-tile { padding: 1.75rem 0; }
.stat-tile .stat-num { font-size: 2.8rem; }
.stat-tile .stat-label { line-height: 1.4; max-width: 24ch; }

/* Section padding consistency */
section { padding: 5rem 0; }
@media (min-width: 1024px) { section { padding: 6rem 0; } }
@media (max-width: 600px) { section { padding: 3.5rem 0; } }

/* Buttons — slightly tighter rhythm */
.btn { padding: 0.85rem 1.75rem; }

/* Article hero — better spacing */
.article-hero { padding: 4.5rem 0 3rem; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.75rem; }
.article-hero .deck { font-size: 1.2rem; line-height: 1.55; }

/* Form polish (engage page) */
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(17,63,112,0.08);
}

/* List styling improvements in articles */
.article-body ul li::marker { color: var(--orange); }

/* Better link hover throughout body content */
.article-body a:hover { background: linear-gradient(0deg, rgba(247,170,70,0.15), rgba(247,170,70,0.15)); }


/* =====================================================================
   v3.2 — TEAM CARDS + VISUAL ELEMENTS
   ===================================================================== */

/* Team grid layout */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 2rem;
  display: flex; gap: 1.5rem;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}
.team-monogram {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.team-body { flex: 1; min-width: 0; }
.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.5rem;
}
.team-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.team-body p {
  color: var(--dark-gray);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.team-meta {
  font-size: 0.82rem;
  color: var(--dark-gray);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Hero illustration container */
.hero-with-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-with-visual { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; max-width: 400px; margin: 0 auto; }
}
.hero-visual { width: 100%; max-width: 480px; }
.hero-visual svg { width: 100%; height: auto; display: block; }

/* Subtle hero pattern */
.hero { position: relative; overflow: hidden; }
.hero-pattern {
  position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* Methodology flow diagram */
.method-flow {
  display: flex; align-items: stretch; gap: 0;
  margin: 3rem 0;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.method-stage {
  flex: 1; min-width: 180px;
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
}
.method-stage::after {
  content: ''; position: absolute;
  right: -10px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 10px solid var(--orange);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  z-index: 2;
}
.method-stage:last-child::after { display: none; }
.method-stage-num {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
}
.method-stage-name {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.method-stage-time {
  font-size: 0.75rem;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* Lever icon */
.lever-icon {
  width: 56px; height: 56px;
  margin-bottom: 1rem;
  color: var(--orange);
}
.lever-icon svg { width: 100%; height: 100%; }

/* Pod architecture diagram */
.pod-diagram {
  margin: 3rem 0;
  display: flex; justify-content: center;
}
.pod-diagram svg { max-width: 700px; width: 100%; height: auto; }

/* Industry visual cards */
.industry-icon {
  width: 48px; height: 48px;
  margin-bottom: 1rem;
  color: var(--orange-deep);
}
.industry-icon svg { width: 100%; height: 100%; }

/* Decorative section marker */
.section-marker {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-deep) 100%);
  margin-bottom: 1.5rem;
}


/* =====================================================================
   v3.3 — VISUAL ELEVATION
   ===================================================================== */

/* TEAM CARDS — square plates, refined hierarchy, no circles */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 0;
  display: flex; gap: 0;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  position: relative;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.team-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange-deep);
  opacity: 0; transition: opacity .2s ease;
}
.team-card:hover::before { opacity: 1; }

.team-monogram {
  flex-shrink: 0;
  width: 96px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: -0.03em;
  position: relative;
}
.team-monogram::after {
  content: ''; position: absolute; bottom: 12px; left: 50%;
  width: 24px; height: 1px; transform: translateX(-50%);
  background: var(--orange);
}
.team-monogram.orange {
  background: linear-gradient(140deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--navy);
}
.team-monogram.orange::after { background: var(--navy); }

.team-body {
  flex: 1; min-width: 0;
  padding: 1.75rem 1.75rem 1.5rem;
}
.team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.5rem;
}
.team-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.team-body p {
  color: var(--dark-gray);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.team-meta {
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--subtle-line);
}

/* HERO LAYOUT — better proportions */
.hero { padding: 5.5rem 0 4.5rem; }
.hero-with-visual { gap: 3rem; }
.hero-visual { max-width: 520px; }
@media (min-width: 1100px) {
  .hero-with-visual { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (max-width: 900px) {
  .hero-visual { display: none; }
}

/* HERO PATTERN — much more subtle */
.hero-pattern {
  position: absolute; right: -50px; top: -50px;
  width: 600px; height: 600px;
  opacity: 0.025;
  pointer-events: none;
}

/* LEVER ICONS — refined sizing + stroke color */
.lever-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  color: var(--navy);
  opacity: 0.75;
}
.lever-icon img { width: 100%; height: 100%; }

/* INDUSTRY ICONS — refined */
.industry-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.25rem;
  color: var(--navy);
  opacity: 0.6;
}
.industry-icon img { width: 100%; height: 100%; }

/* METHODOLOGY TIMELINE — replace chunky arrows with editorial timeline */
.method-timeline {
  margin: 4rem 0 2rem;
  position: relative;
  padding: 0 1rem;
}
.method-timeline-line {
  position: absolute;
  top: 24px;
  left: 8%; right: 8%;
  height: 1px;
  background: var(--subtle-line);
  z-index: 1;
}
.method-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}
.method-stage {
  text-align: center;
  padding: 0;
}
.method-stage-marker {
  width: 48px; height: 48px;
  margin: 0 auto 1.25rem;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  position: relative;
  transition: all .2s ease;
}
.method-stage:hover .method-stage-marker {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.05);
}
.method-stage-marker.accent {
  background: var(--navy);
  color: var(--white);
}
.method-stage-name {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.method-stage-time {
  font-size: 0.72rem;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

@media (max-width: 768px) {
  .method-stages { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .method-timeline-line { display: none; }
}

/* POD DIAGRAM container */
.pod-diagram {
  margin: 3rem 0 4rem;
  padding: 2rem;
  background: var(--very-light);
  border: 1px solid var(--subtle-line);
}
.pod-diagram svg, .pod-diagram img {
  max-width: 760px; width: 100%; height: auto;
  display: block; margin: 0 auto;
}

/* Refine card hover states throughout */
.card { transition: all .25s cubic-bezier(.4,0,.2,1); }
.card:hover {
  border-color: var(--orange);
  border-top: 1px solid var(--orange);
  border-right: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  padding-left: calc(2rem - 2px);
}

/* Refine quote block */
.quote-block {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  border-left: 3px solid var(--orange);
  padding: 3rem 3.5rem 3rem 3.5rem;
}
.quote-block::before { display: none; }
.quote-block blockquote {
  padding-left: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--navy);
}
.quote-block .attribution { padding-left: 0; }

/* Stat tiles refinement */
.stat-tile {
  padding: 2rem 0 1.5rem;
  border-top: 2px solid var(--navy);
  position: relative;
}
.stat-tile::after {
  content: ''; position: absolute; left: 0; top: -2px;
  width: 32px; height: 2px; background: var(--orange);
}
.stat-tile .stat-num {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* INDUSTRY card — top-of-card icon refinement */
.industries .card { padding-top: 2rem; }

/* HERO H1 refinement — better italic accent */
.hero h1 .hero-h1-accent {
  display: block;
  margin-top: 0.4rem;
  color: var(--orange-deep);
  font-style: italic;
  font-weight: 700;
  font-size: 0.86em;
}

/* Better typography in hero */
.hero-eyebrow {
  letter-spacing: 0.16em;
}

/* Table of contents-style section markers (subtle nav indicator) */
section { scroll-margin-top: 80px; }


/* =====================================================================
   v3.4 — POD ICONS · NEW NAMES · COMMERCIAL SCRUBBED
   ===================================================================== */

.pod-icon-svg {
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  color: var(--orange-deep);
  display: inline-block;
}
.pod-icon-svg img { width: 100%; height: 100%; }

.pod-card {
  border-left: none;
  border-top: 3px solid var(--orange);
}

/* Engagement levels card grid (replaces pricing table) */
.engagement-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin: 2.5rem 0;
}
@media (max-width: 900px) { .engagement-grid { grid-template-columns: 1fr; } }
.engagement-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all .2s ease;
}
.engagement-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.engagement-card .level-badge {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--orange-deep);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.engagement-card h3 {
  font-size: 1.4rem; line-height: 1.25;
  margin-bottom: 0.5rem;
}
.engagement-card .level-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.engagement-card ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--subtle-line);
  padding-top: 1.25rem;
}
.engagement-card ul li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--body-text);
  line-height: 1.5;
}
.engagement-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.85rem;
  width: 6px; height: 1px;
  background: var(--orange);
}
.engagement-card.featured {
  border-top: 3px solid var(--orange);
  border-color: var(--orange);
}
.engagement-card.featured .level-badge {
  color: var(--navy);
}

/* Pod card on home — better with custom icons */
.grid-4 .pod-card .pod-icon-svg {
  width: 44px; height: 44px;
  margin-bottom: 0.75rem;
}


/* =====================================================================
   v3.5 — POD INDUSTRY LISTS
   ===================================================================== */

.pod-industries {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1rem 0;
  border-top: 1px solid var(--subtle-line);
  padding-top: 1rem;
}
.pod-industries li {
  padding: 0.35rem 0 0.35rem 1.1rem !important;
  position: relative;
  font-size: 0.85rem !important;
  color: var(--body-text) !important;
  line-height: 1.4;
}
.pod-industries li::before {
  content: '';
  position: absolute; left: 0; top: 0.7rem;
  width: 6px; height: 1px;
  background: var(--orange) !important;
  font-size: 0 !important;
}
.pod-leads {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--subtle-line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--orange-deep);
  line-height: 1.4;
}

/* Industries label inside capabilities pod cards */
.industries-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 1.5rem 0 0.75rem;
}

/* Tighten capabilities pod card list */
.capabilities-pods .pod-card ul li,
#pods .pod-card ul li {
  font-size: 0.92rem;
  line-height: 1.55;
  padding: 0.5rem 0 0.5rem 1.2rem;
}

/* Override pod-card ul for new structure */
.pod-card .pod-industries li::before {
  content: ''; position: absolute; left: 0; top: 0.7rem;
  width: 6px; height: 1px; background: var(--orange);
}
.grid-4 .pod-card { padding: 1.75rem 1.5rem; }
.grid-4 .pod-card .pod-industries { margin: 0.75rem 0; padding-top: 0.75rem; }
.grid-4 .pod-card .pod-industries li { font-size: 0.82rem; padding: 0.3rem 0 0.3rem 1rem; }
.grid-4 .pod-card .pod-leads {
  font-size: 0.78rem; margin-top: 0.75rem; padding-top: 0.75rem;
}


/* =====================================================================
   v3.6 — POD ICONS (substantial) + AI proof badges
   ===================================================================== */

.pod-icon-svg {
  width: 64px; height: 64px;
  margin-bottom: 1.5rem;
  display: block;
  border-radius: 0;
}
.pod-icon-svg img {
  width: 100%; height: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(17, 63, 112, 0.08);
}

@media (min-width: 901px) {
  .grid-4 .pod-card .pod-icon-svg {
    width: 56px; height: 56px;
    margin-bottom: 1rem;
  }
}

/* Live proof badge inside pod cards */
.pod-proof {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--very-light);
  border-left: 2px solid var(--orange);
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
}
.pod-proof-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.2rem;
}

/* AI Process Areas grid (capabilities) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 3rem 0 2rem;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
.process-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: all .2s ease;
}
.process-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.process-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.process-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.process-card p {
  font-size: 0.82rem;
  color: var(--dark-gray);
  line-height: 1.5;
  margin: 0;
}


/* =====================================================================
   v3.7 — COMPACT CASE STUDY CARDS
   ===================================================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.case-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.case-sector {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.5rem;
}
.case-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.case-context {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--dark-gray);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--subtle-line);
}
.metric-chip {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--very-light);
  padding: 0.4rem 0.7rem;
  border-left: 2px solid var(--orange);
  line-height: 1.3;
}
.metric-chip strong {
  color: var(--orange-deep);
  font-weight: 700;
}

/* Stories page — sector divider */
.stories-divider {
  margin: 4rem 0 2.5rem;
  text-align: center;
  position: relative;
}
.stories-divider::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--subtle-line);
}
.stories-divider span {
  background: var(--white);
  padding: 0 1.5rem;
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-gray);
}


/* =====================================================================
   v3.8 — POD BADGES + CASE QUOTE STYLING
   ===================================================================== */

.pod-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 0.32rem 0.65rem;
  margin-bottom: 0.85rem;
  align-self: flex-start;
  position: relative;
}
.pod-badge::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--orange);
}

.case-card .pod-badge,
.card .pod-badge {
  margin-bottom: 1rem;
}

/* Quote inside a case card */
.case-quote {
  margin-top: 1.25rem;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-left: 3px solid var(--orange);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--very-light);
}
.case-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
}


/* =====================================================================
   v3.9 — MBB-STYLE STORY MARQUEE + FILTERABLE MOSAIC
   ===================================================================== */

/* ----- MARQUEE / CAROUSEL ----- */
.marquee-section { padding: 4rem 0 5rem; }

.marquee {
  position: relative;
  background: var(--white);
  border: 1px solid var(--subtle-line);
  overflow: hidden;
  min-height: 480px;
}

.marquee-track {
  position: relative;
  width: 100%;
  min-height: 480px;
}

.marquee-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
  transform: translateX(20px);
  pointer-events: none;
}
.marquee-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.marquee-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: stretch;
  height: 100%;
  min-height: 480px;
}

.marquee-result {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: white;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.marquee-result::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
}

.big-num {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: white;
  display: block;
}
.big-num sup {
  font-size: 0.5em;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 0.1em;
  margin-left: 0.05em;
  color: var(--orange);
}
.big-num sub {
  font-size: 0.32em;
  font-weight: 600;
  vertical-align: baseline;
  margin-left: 0.15em;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.big-num-label {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  max-width: 22ch;
}

.marquee-body {
  padding: 4rem 3.5rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.marquee-tags {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.marquee-body h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 26ch;
}
.marquee-body p {
  color: var(--dark-gray);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 56ch;
}
.marquee-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.5;
  border-left: 3px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin-top: 0.5rem;
}
.marquee-quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
}

/* Marquee navigation */
.marquee-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--subtle-line);
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.marquee-arrow:hover {
  background: var(--navy); color: white; border-color: var(--navy);
}
.marquee-prev { left: 1.25rem; }
.marquee-next { right: 1.25rem; }

.marquee-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
  z-index: 4;
}
.marquee-dot {
  width: 30px; height: 3px;
  background: rgba(17,63,112,0.2);
  border: none;
  cursor: pointer;
  transition: all .2s ease;
}
.marquee-dot:hover { background: var(--orange-deep); }
.marquee-dot.active { background: var(--orange); width: 48px; }

/* Marquee mobile */
@media (max-width: 900px) {
  .marquee-content { grid-template-columns: 1fr; }
  .marquee-result { padding: 2.5rem 2rem; }
  .marquee-result::after { right: auto; bottom: 0; left: 0; right: 0; top: auto; height: 4px; width: 100%; }
  .marquee-body { padding: 2.5rem 2rem; }
  .big-num { font-size: 4rem; }
  .marquee-arrow { width: 38px; height: 38px; }
  .marquee-prev { left: 0.5rem; }
  .marquee-next { right: 0.5rem; }
  .marquee, .marquee-track, .marquee-content { min-height: auto; }
}

/* ----- FILTER BAR ----- */
.filter-bar {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
}
.filter-group {
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-right: 0.5rem;
  min-width: 70px;
}
.filter-chip {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: transparent;
  border: 1px solid var(--subtle-line);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all .15s ease;
  border-radius: 0;
}
.filter-chip:hover {
  border-color: var(--orange);
  color: var(--navy);
}
.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  font-weight: 600;
}

/* ----- TAG STYLING (used in marquee + tiles) ----- */
.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  line-height: 1.2;
}
.tag-industry {
  background: var(--very-light);
  color: var(--navy);
  border: 1px solid var(--subtle-line);
}
.tag-pod {
  background: var(--orange);
  color: var(--navy);
}

/* ----- CASE MOSAIC GRID ----- */
.case-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
  .case-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .case-mosaic { grid-template-columns: 1fr; }
}

.case-tile {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: default;
}
.case-tile:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.case-tile.is-hidden {
  display: none;
}

.case-tile-num {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: white;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  min-height: 100px;
}
.case-tile-num::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--orange);
}
.case-tile-num span {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: white;
}
.case-tile-num span sup {
  font-size: 0.55em;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 0.15em;
  margin-left: 0.05em;
  color: var(--orange);
}
.case-tile-num span sub {
  font-size: 0.35em;
  font-weight: 600;
  vertical-align: baseline;
  margin-left: 0.18em;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-tile .case-tile-num {
  background: linear-gradient(140deg, var(--orange) 0%, var(--orange-deep) 100%);
}
.featured-tile .case-tile-num::after { background: var(--navy); }
.featured-tile .case-tile-num span { color: var(--navy); }

.case-tile-tags {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  padding: 1.25rem 1.5rem 0;
}

.case-tile h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  padding: 0.85rem 1.5rem 0;
  margin: 0;
  color: var(--navy);
}
.case-tile p {
  padding: 0.85rem 1.5rem 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--dark-gray);
  flex-grow: 1;
}

.case-quote-inline {
  margin: 0 1.5rem 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--very-light);
  border-left: 3px solid var(--orange);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--navy);
}
.case-quote-inline cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
}

/* Empty state */
.empty-state {
  padding: 3rem 0;
  text-align: center;
  color: var(--dark-gray);
}
.empty-state button {
  margin-left: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  background: none; border: none;
  color: var(--orange-deep);
  cursor: pointer;
  text-decoration: underline;
}


/* =====================================================================
   v4.0 — McKINSEY-STYLE CASE STUDIES (Our Work pattern)
   ===================================================================== */

/* Editorial hero */
.ed-hero {
  background: var(--white);
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--subtle-line);
}
.ed-hero-content { max-width: 880px; }
.ed-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1.25rem;
}
.ed-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.75rem;
  max-width: 22ch;
  font-weight: 700;
}
.ed-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--dark-gray);
  font-style: italic;
  max-width: 60ch;
  margin-bottom: 3rem;
}
.ed-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--subtle-line);
}
.ed-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ed-stat-num sup { font-size: 0.55em; color: var(--orange); margin-left: 0.05em; vertical-align: top; top: 0.15em; position: relative; }
.ed-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
@media (max-width: 768px) {
  .ed-hero-stats { grid-template-columns: repeat(2, auto); gap: 1.5rem 2.5rem; }
}

/* Editorial section heads */
.ed-section-head {
  margin-bottom: 2.5rem;
}
.ed-section-head .ed-eyebrow { margin-bottom: 0.75rem; }
.ed-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
  max-width: 36ch;
}

/* ----- FEATURED ASYMMETRIC GRID ----- */
.featured-section { padding: 5rem 0 4rem; }
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 640px;
}
.feature-large { grid-row: 1 / 3; }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; min-height: auto; }
  .feature-large { grid-row: auto; }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  overflow: hidden;
  position: relative;
  transition: box-shadow .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1), border-color .3s ease;
}
.feature-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-link {
  display: flex; flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.feature-large .feature-link { flex-direction: row; }
@media (max-width: 900px) {
  .feature-large .feature-link { flex-direction: column; }
}

.feature-visual {
  position: relative;
  background: var(--navy);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  overflow: hidden;
}
.feature-large .feature-visual {
  flex: 0 0 50%;
  min-height: 100%;
  padding: 3.5rem 3rem;
}

/* Theme variants */
.theme-mfg .feature-visual,
.theme-mfg .tile-visual {
  background: linear-gradient(135deg, #0B2E55 0%, #143F6B 60%, #1A4F85 100%);
}
.theme-interiors .feature-visual,
.theme-interiors .tile-visual {
  background: linear-gradient(135deg, #2D2D2D 0%, #404040 60%, #525252 100%);
}
.theme-ai .feature-visual,
.theme-ai .tile-visual {
  background: linear-gradient(135deg, #B86A1F 0%, #E89028 50%, #F7AA46 100%);
}
.theme-erp .feature-visual,
.theme-erp .tile-visual {
  background: linear-gradient(135deg, #1F2933 0%, #354352 60%, #4A5868 100%);
}

/* Patterns */
.feature-pattern, .tile-pattern {
  position: absolute; inset: 0;
  opacity: 0.12;
  pointer-events: none;
}
.pattern-mfg {
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pattern-interiors {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.5) 0, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 30px);
}
.pattern-ai {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(17,63,112,0.6) 2px, transparent 3px),
    radial-gradient(circle at 80% 70%, rgba(17,63,112,0.5) 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(17,63,112,0.4) 2px, transparent 3px),
    radial-gradient(circle at 30% 80%, rgba(17,63,112,0.5) 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(17,63,112,0.4) 2px, transparent 3px);
  background-size: 100% 100%;
  opacity: 0.55;
}
.pattern-erp {
  background-image:
    linear-gradient(0deg, rgba(247,170,70,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,170,70,0.35) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px, 60px 60px;
}

/* Big number on feature */
.feature-num {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: white;
  position: relative;
  z-index: 1;
}
.feature-num sup, .tile-num sup {
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 0.1em;
  margin-left: 0.05em;
  color: var(--orange);
}
.theme-ai .feature-num sup, .theme-ai .tile-num sup { color: var(--navy); }
.feature-num sub, .tile-num sub {
  font-size: 0.32em;
  font-weight: 600;
  vertical-align: baseline;
  margin-left: 0.15em;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.theme-ai .feature-num sub, .theme-ai .tile-num sub { color: var(--navy); }
.feature-num-label {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  max-width: 26ch;
  position: relative;
  z-index: 1;
}
.theme-ai .feature-num-label, .theme-ai .tile-num-label {
  color: rgba(17,63,112,0.85);
}

/* Body of the feature card */
.feature-body {
  padding: 2.5rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.feature-large .feature-body { padding: 3rem; }
.feature-tags {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature-large .feature-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 24ch;
}
.feature-brief {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.feature-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
  border-left: 3px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}
.feature-quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
}
.feature-arrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: auto;
}
.feature-arrow em {
  font-style: normal;
  margin-left: 0.5rem;
  font-size: 1.2rem;
  display: inline-block;
  transition: transform .2s ease;
}
.feature-card:hover .feature-arrow em { transform: translateX(4px); }

/* ----- TAGS (editorial) ----- */
.ed-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  background: var(--very-light);
  color: var(--navy);
  border: 1px solid var(--subtle-line);
  line-height: 1.2;
}
.ed-tag-pod {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}

/* ----- FILTER SECTION ----- */
.filter-section {
  background: var(--white);
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--subtle-line);
}
.filter-bar-mck {
  display: flex; flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-bottom: 3rem;
  border-top: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
}
.filter-row {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-row { scrollbar-width: none; }

.filter-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-gray);
  min-width: 70px;
  flex-shrink: 0;
}
.filter-chips { display: flex; gap: 0.5rem; flex-wrap: nowrap; }
.ed-chip {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: transparent;
  border: 1px solid var(--subtle-line);
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: all .15s ease;
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.ed-chip:hover { border-color: var(--orange); color: var(--navy); }
.ed-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  font-weight: 600;
}

/* ----- CASE GRID (3-col image-led) ----- */
.case-grid-mck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .case-grid-mck { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .case-grid-mck { grid-template-columns: 1fr; } }

.case-tile-mck {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.case-tile-mck:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case-tile-mck.is-hidden { display: none; }

.tile-visual {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.tile-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: white;
  position: relative;
  z-index: 1;
}
.tile-num .quote-mark {
  font-size: 1.5em;
  font-style: italic;
  color: var(--orange);
}
.theme-ai .tile-num { color: var(--navy); }
.tile-num-label {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
  max-width: 28ch;
  position: relative; z-index: 1;
}
.theme-ai .tile-num-label { color: rgba(17,63,112,0.82); }

.tile-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.tile-tags {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tile-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.7rem;
  letter-spacing: -0.005em;
  font-weight: 700;
}
.tile-brief {
  color: var(--dark-gray);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

.tile-quote {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--very-light);
  border-left: 3px solid var(--orange);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--navy);
}
.tile-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
}

.featured-tile-mck { grid-column: span 1; }
@media (min-width: 1025px) {
  .featured-tile-mck { grid-column: span 2; }
}

.ed-footnote {
  margin: 3rem auto 0;
  text-align: center;
  font-style: italic;
  max-width: 70ch;
  font-size: 0.92rem;
}

.empty-state {
  padding: 3rem 0;
  text-align: center;
  color: var(--dark-gray);
}
.empty-state button {
  margin-left: 0.5rem;
  font-weight: 600;
  background: none; border: none;
  color: var(--orange-deep);
  cursor: pointer;
  text-decoration: underline;
}


/* =====================================================================
   v4.1 — EY-INSPIRED GLOBAL FOUNDATION
   Bold editorial · structured grid · image-led cards · dark accents
   ===================================================================== */

/* ----- Generic resets / page rhythm overrides ----- */
.ey-section {
  padding: 6rem 0;
}
@media (max-width: 768px) { .ey-section { padding: 4rem 0; } }

.ey-section-dark {
  background: #0A1628;
  color: rgba(255,255,255,0.92);
}
.ey-section-dark h2,
.ey-section-dark h3,
.ey-section-dark h4 { color: white; }
.ey-section-dark p { color: rgba(255,255,255,0.72); }
.ey-section-dark .ed-eyebrow { color: var(--orange); }
.ey-section-dark .ed-tag {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.15);
}

/* ----- HERO — EY-style ----- */
.ey-hero {
  position: relative;
  background: var(--white);
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--subtle-line);
  overflow: hidden;
}
.ey-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1024px) { .ey-hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

.ey-hero-rule {
  width: 80px; height: 4px;
  background: var(--orange);
  margin-bottom: 2.5rem;
}
.ey-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.ey-hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 2rem;
  font-weight: 700;
}
.ey-hero-h1 em {
  font-style: italic;
  color: var(--orange-deep);
  font-weight: 700;
}
.ey-hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--dark-gray);
  font-style: italic;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}
.ey-hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem;
}

/* ----- Hero side panel (right side) ----- */
.ey-hero-panel {
  background: var(--very-light);
  padding: 2.5rem;
  border-left: 4px solid var(--orange);
  position: relative;
}
.ey-hero-panel-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1.5rem;
}
.ey-hero-panel-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 700;
}
.ey-hero-panel ul {
  list-style: none; padding: 0;
  border-top: 1px solid var(--subtle-line);
  padding-top: 1.25rem;
}
.ey-hero-panel li {
  padding: 0.55rem 0 0.55rem 1.25rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--body-text);
  line-height: 1.4;
  border-bottom: 1px solid var(--subtle-line);
}
.ey-hero-panel li:last-child { border-bottom: none; }
.ey-hero-panel li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--orange-deep);
  font-weight: 700;
}

/* ----- EY SECTION HEAD ----- */
.ey-section-head {
  margin-bottom: 4rem;
  border-top: 1px solid var(--subtle-line);
  padding-top: 2rem;
}
.ey-section-dark .ey-section-head { border-top-color: rgba(255,255,255,0.15); }
.ey-section-head .label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1rem;
  display: block;
}
.ey-section-dark .ey-section-head .label { color: var(--orange); }
.ey-section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
  max-width: 24ch;
  margin-bottom: 1.25rem;
}
.ey-section-dark .ey-section-head h2 { color: white; }
.ey-section-head .lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--dark-gray);
  font-style: italic;
  max-width: 56ch;
}
.ey-section-dark .ey-section-head .lead { color: rgba(255,255,255,0.72); }

/* Optional: section-head with right-side intro lead */
.ey-section-head.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
@media (max-width: 768px) {
  .ey-section-head.split { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ----- EY VERTICAL CARD (image-led) ----- */
.ey-grid {
  display: grid;
  gap: 2rem;
}
.ey-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ey-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ey-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) {
  .ey-grid.cols-3, .ey-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ey-grid.cols-2, .ey-grid.cols-3, .ey-grid.cols-4 { grid-template-columns: 1fr; }
}

.ey-card {
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--subtle-line);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.ey-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(17,63,112,0.12);
}

.ey-card-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.ey-card-visual::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
}
.ey-card-visual .visual-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: white;
  position: relative; z-index: 1;
}
.ey-card-visual .visual-num sup {
  font-size: 0.45em; vertical-align: top; top: 0.1em;
  position: relative; color: var(--orange);
}
.ey-card-visual .visual-num sub {
  font-size: 0.32em; margin-left: 0.18em;
  color: var(--orange); letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 600;
}

.ey-card-body {
  padding: 2rem 1.75rem 2rem;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.ey-card-meta {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.ey-card-meta .dot { color: var(--subtle-gray); margin: 0 0.25rem; }
.ey-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.ey-card p {
  color: var(--dark-gray);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.ey-card-link {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: auto;
}
.ey-card-link::after {
  content: '→';
  margin-left: 0.6rem;
  font-size: 1.1rem;
  transition: transform .2s ease;
}
.ey-card:hover .ey-card-link::after { transform: translateX(5px); }

/* Visual themes for ey-card-visual (re-using existing patterns) */
.ey-card-visual.theme-mfg { background: linear-gradient(135deg, #0B2E55 0%, #143F6B 60%, #1A4F85 100%); }
.ey-card-visual.theme-interiors { background: linear-gradient(135deg, #2D2D2D 0%, #404040 60%, #525252 100%); }
.ey-card-visual.theme-ai { background: linear-gradient(135deg, #B86A1F 0%, #E89028 50%, #F7AA46 100%); }
.ey-card-visual.theme-erp { background: linear-gradient(135deg, #1F2933 0%, #354352 60%, #4A5868 100%); }
.ey-card-visual.theme-ai .visual-num { color: var(--navy); }
.ey-card-visual.theme-ai .visual-num sup,
.ey-card-visual.theme-ai .visual-num sub { color: var(--navy); }

/* ----- EY STAT BLOCK ----- */
.ey-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
}
@media (max-width: 768px) {
  .ey-stats { grid-template-columns: repeat(2, 1fr); }
}

.ey-stat {
  padding: 2.5rem 1.5rem 2.5rem 0;
  border-right: 1px solid var(--subtle-line);
  position: relative;
}
.ey-stat:last-child { border-right: none; padding-right: 0; }
.ey-stat::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 32px; height: 4px;
  background: var(--orange);
}
.ey-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
  display: block;
}
.ey-stat-num sup { font-size: 0.45em; color: var(--orange); vertical-align: top; top: 0.1em; position: relative; }
.ey-stat-label {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.4;
  font-weight: 500;
  max-width: 24ch;
}
.ey-section-dark .ey-stat::before { background: var(--orange); }
.ey-section-dark .ey-stat { border-color: rgba(255,255,255,0.15); }
.ey-section-dark .ey-stats { border-color: rgba(255,255,255,0.15); }
.ey-section-dark .ey-stat-num { color: white; }
.ey-section-dark .ey-stat-label { color: rgba(255,255,255,0.72); }

/* ----- EY EDITORIAL QUOTE ----- */
.ey-quote {
  text-align: left;
  max-width: 880px;
  margin: 0;
  padding: 2.5rem 0;
}
.ey-quote-rule {
  width: 60px; height: 3px;
  background: var(--orange);
  margin-bottom: 2.5rem;
}
.ey-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.ey-section-dark .ey-quote blockquote { color: white; }
.ey-quote cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: flex; align-items: center;
}
.ey-quote cite::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--orange);
  margin-right: 1rem;
}

/* ----- EY CTA BAND ----- */
.ey-cta-band {
  background: var(--navy);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.ey-cta-band::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: var(--orange);
}
.ey-cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .ey-cta-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.ey-cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.ey-cta-band p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
}
.ey-cta-actions {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: stretch;
}
.ey-cta-button {
  background: var(--orange);
  color: var(--navy);
  padding: 1.25rem 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s ease;
}
.ey-cta-button::after {
  content: '→';
  font-size: 1.4rem;
  transition: transform .2s ease;
}
.ey-cta-button:hover {
  background: var(--orange-deep);
  color: var(--navy);
}
.ey-cta-button:hover::after { transform: translateX(6px); }

.ey-cta-button.secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.ey-cta-button.secondary:hover {
  background: white;
  color: var(--navy);
  border-color: white;
}

/* ----- EY CONTENT BLOCK (large copy section) ----- */
.ey-content-block {
  max-width: 880px;
}
.ey-content-block h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.ey-content-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--body-text);
}

/* ----- EY PILLAR GRID (used on capabilities/methodology) ----- */
.ey-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--subtle-line);
}
@media (max-width: 1024px) { .ey-pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ey-pillar-grid { grid-template-columns: 1fr; } }

.ey-pillar {
  padding: 3rem 2rem;
  border-right: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
  position: relative;
  transition: background .25s ease;
}
.ey-pillar:hover { background: var(--very-light); }
.ey-pillar:last-child { border-right: none; }
@media (max-width: 1024px) {
  .ey-pillar:nth-child(2) { border-right: none; }
}
.ey-pillar-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  margin-bottom: 1.5rem;
}
.ey-pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.ey-pillar p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----- EY HORIZONTAL TIMELINE (methodology) ----- */
.ey-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 4px solid var(--orange);
  margin: 3rem 0;
}
@media (max-width: 768px) {
  .ey-timeline { grid-template-columns: 1fr; border-top: none; }
}
.ey-timeline-stage {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--subtle-line);
  position: relative;
  transition: background .25s ease;
}
.ey-timeline-stage:last-child { border-right: none; }
.ey-timeline-stage:hover { background: var(--very-light); }
.ey-timeline-stage::before {
  content: '';
  position: absolute; top: -8px; left: 0;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
}
.ey-timeline-stage.featured::before {
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--orange);
}
.ey-timeline-num {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.ey-timeline-stage h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.ey-timeline-stage p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--dark-gray);
}

/* ----- EY TWO-PANEL ROW (used for benefits / outcomes) ----- */
.ey-two-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) { .ey-two-panel { grid-template-columns: 1fr; } }
.ey-panel {
  padding: 4rem 3rem;
  border: 1px solid var(--subtle-line);
}
.ey-panel + .ey-panel { border-left: none; }
@media (max-width: 768px) { .ey-panel + .ey-panel { border-left: 1px solid var(--subtle-line); border-top: none; } }
.ey-panel.dark { background: var(--navy); color: white; border-color: var(--navy); }
.ey-panel.dark h3 { color: white; }
.ey-panel.dark p { color: rgba(255,255,255,0.78); }
.ey-panel.dark .ed-eyebrow { color: var(--orange); }
.ey-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ----- EY UTILITY ----- */
.ey-divider {
  width: 60px; height: 4px;
  background: var(--orange);
  margin: 2rem 0;
}
.ey-divider.center { margin-left: auto; margin-right: auto; }

/* Override existing nav for slightly more EY weight */
.nav-inner { padding: 1rem var(--gutter); }
.nav-logo img { height: 38px; }
.nav-cta {
  background: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding: 0.7rem 1.5rem;
}
.nav-links a { font-weight: 500; }


/* =====================================================================
   v4.2 — IMAGE-LED LAYOUTS (Unsplash photography + infographics)
   ===================================================================== */

/* Hero with full-bleed image background */
.ey-hero-with-image {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  color: white;
}
.ey-hero-with-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(135deg, rgba(11,46,85,0.95) 0%, rgba(20,63,107,0.85) 60%, rgba(11,46,85,0.95) 100%), var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.ey-hero-with-image > .container { position: relative; z-index: 1; }
.ey-hero-with-image .ey-hero-eyebrow,
.ey-hero-with-image .ey-hero-h1 { color: white; }
.ey-hero-with-image .ey-hero-lead { color: rgba(255,255,255,0.85); }
.ey-hero-with-image .ey-hero-rule { background: var(--orange); }

/* Full-bleed image container */
.ey-image-band {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ey-image-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,85,0) 0%, rgba(11,46,85,0.85) 100%);
}
.ey-image-band-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 0;
  color: white;
}
.ey-image-band-caption h2 {
  color: white;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ey-image-band-caption p { color: rgba(255,255,255,0.85); font-style: italic; max-width: 56ch; }

/* Card with stock photo */
.ey-card-photo .ey-card-visual {
  background-size: cover;
  background-position: center;
  position: relative;
}
.ey-card-photo .ey-card-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,85,0.05) 0%, rgba(11,46,85,0.7) 100%);
}
.ey-card-photo .visual-num,
.ey-card-photo .visual-text {
  position: relative; z-index: 1;
}

/* Infographic container */
.ey-infographic {
  background: var(--white);
  padding: 3rem 2rem;
  border: 1px solid var(--subtle-line);
}
.ey-infographic img,
.ey-infographic svg { width: 100%; height: auto; max-width: 720px; margin: 0 auto; display: block; }
.ey-infographic.dark { background: #0A1628; border-color: #0A1628; }
.ey-infographic-caption {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}

/* Image-led split section */
.ey-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 768px) { .ey-split { grid-template-columns: 1fr; } }

.ey-split-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.ey-split-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ey-split-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.ey-split-content p {
  color: var(--dark-gray);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Photo card (article-style) */
.photo-card {
  display: block;
  background: white;
  border: 1px solid var(--subtle-line);
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  overflow: hidden;
}
.photo-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(17,63,112,0.12);
}
.photo-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.photo-card-body { padding: 2rem 1.75rem; }
.photo-card-meta {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.photo-card-meta .dot { color: var(--subtle-gray); }
.photo-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
}
.photo-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
}
.photo-card-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.photo-card-link::after { content: ' →'; transition: margin .2s ease; }
.photo-card:hover .photo-card-link::after { margin-left: 0.4rem; }


/* =====================================================================
   v4.3 — CASE STUDY DETAIL PAGE
   ===================================================================== */

.case-detail-hero {
  padding: 0;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.case-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 480px;
}
@media (max-width: 1024px) { .case-detail-hero-grid { grid-template-columns: 1fr; } }

.case-detail-visual {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 4rem 3rem;
  min-height: 320px;
}
.case-detail-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,46,85,0.65) 0%, rgba(11,46,85,0.85) 100%);
}
.case-detail-result {
  position: relative; z-index: 1;
}
.case-detail-result .num {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: white;
  display: block;
}
.case-detail-result .num sup {
  font-size: 0.45em; vertical-align: top; top: 0.1em;
  position: relative; color: var(--orange); margin-left: 0.05em;
}
.case-detail-result .num sub {
  font-size: 0.32em; margin-left: 0.18em;
  color: var(--orange); letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 600; vertical-align: baseline;
}
.case-detail-result .label {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  max-width: 24ch;
  line-height: 1.4;
}

.case-detail-meta {
  padding: 4rem 3rem;
  display: flex; flex-direction: column;
  justify-content: center;
}
.case-detail-meta .breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.75rem;
}
.case-detail-meta .breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.case-detail-meta .breadcrumb a:hover { color: var(--orange); }
.case-detail-meta .breadcrumb span:not(.sep) { color: var(--orange); font-weight: 600; }
.case-detail-meta .breadcrumb .sep { color: rgba(255,255,255,0.3); }

.case-detail-meta h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.case-detail-tags {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.case-detail-tags .tag {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.18);
}
.case-detail-tags .tag-pod {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}
.case-detail-summary {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
}

/* ----- Block layout ----- */
.case-block {
  padding: 4rem 0;
  border-top: 1px solid var(--subtle-line);
}
.case-block:first-of-type { border-top: none; padding-top: 5rem; }

.case-block-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .case-block-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.case-block-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  position: sticky; top: 80px;
}
.case-block-label .block-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.4rem;
}
.case-block-content {
  max-width: 720px;
}
.case-block-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.case-block-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 1.25rem;
}
.case-block-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.case-block-content ul li {
  padding: 0.7rem 0 0.7rem 1.5rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--body-text);
  border-top: 1px solid var(--subtle-line);
}
.case-block-content ul li:last-child { border-bottom: 1px solid var(--subtle-line); }
.case-block-content ul li::before {
  content: '';
  position: absolute; left: 0; top: 1.05rem;
  width: 12px; height: 1px;
  background: var(--orange);
}
.case-block-content ul li strong { color: var(--navy); font-weight: 700; }

/* Outcomes grid (block 4) */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--subtle-line);
  margin-top: 1.5rem;
}
.outcome-cell {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-right: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
  position: relative;
}
.outcome-cell::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 24px; height: 3px;
  background: var(--orange);
}
.outcome-cell .outcome-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin: 0.85rem 0 0.5rem;
}
.outcome-cell .outcome-num sup { font-size: 0.5em; color: var(--orange); }
.outcome-cell .outcome-label {
  font-size: 0.85rem;
  color: var(--dark-gray);
  font-weight: 500;
  line-height: 1.4;
}

/* Founder quote (block 5) */
.founder-quote {
  background: var(--very-light);
  padding: 3rem 3rem 3rem 4rem;
  border-left: 4px solid var(--orange);
  margin: 1rem 0;
  position: relative;
}
.founder-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.founder-quote cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: block;
}

/* Live now block (block 6) */
.live-now {
  background: var(--navy);
  color: white;
  padding: 2.5rem 3rem;
  margin: 1rem 0;
  border-left: 4px solid var(--orange);
}
.live-now .live-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.live-now h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.live-now ul li {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.live-now ul li::before { background: var(--orange); }
.live-now ul li strong { color: white; }

/* Related cases at bottom */
.related-cases {
  background: var(--very-light);
  padding: 5rem 0;
  border-top: 1px solid var(--subtle-line);
}


/* =====================================================================
   v4.4 — BRANDED VISUAL BLOCKS (replaces generic stock photos)
   ===================================================================== */

/* Replace photo-card-img with branded visual */
.photo-card-img {
  aspect-ratio: 4 / 3;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  overflow: hidden;
}
.photo-card-img::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--orange);
}

.visual-block {
  position: absolute; inset: 0;
  background-size: cover;
}
.visual-pattern {
  position: absolute; inset: 0;
  opacity: 0.15;
  pointer-events: none;
}
.pattern-grid-light {
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pattern-diagonal-light {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 28px);
}
.pattern-circuit-light {
  background-image:
    radial-gradient(circle at 25% 30%, rgba(17,63,112,0.5) 2px, transparent 3px),
    radial-gradient(circle at 75% 70%, rgba(17,63,112,0.5) 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(17,63,112,0.4) 2px, transparent 3px);
  background-size: 80px 80px;
  opacity: 0.5;
}

.theme-mfg.photo-card-img,
.theme-mfg .photo-card-img-bg {
  background: linear-gradient(135deg, #0B2E55 0%, #143F6B 60%, #1A4F85 100%);
}
.theme-interiors.photo-card-img,
.theme-interiors .photo-card-img-bg {
  background: linear-gradient(135deg, #2D2D2D 0%, #404040 60%, #525252 100%);
}
.theme-ai.photo-card-img,
.theme-ai .photo-card-img-bg {
  background: linear-gradient(135deg, #B86A1F 0%, #E89028 50%, #F7AA46 100%);
}
.theme-erp.photo-card-img,
.theme-erp .photo-card-img-bg {
  background: linear-gradient(135deg, #1F2933 0%, #354352 60%, #4A5868 100%);
}

.visual-num {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: white;
  display: block;
}
.visual-num sup {
  font-size: 0.45em; vertical-align: top; top: 0.1em;
  position: relative; color: var(--orange); margin-left: 0.05em;
}
.visual-num sub {
  font-size: 0.32em; margin-left: 0.18em;
  color: var(--orange); letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 600; vertical-align: baseline;
}
.visual-tag {
  position: relative; z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.theme-ai .visual-num,
.theme-ai .visual-tag {
  color: var(--navy);
}
.theme-ai .visual-num sup,
.theme-ai .visual-num sub { color: var(--navy); }

/* Hero — replace photo with navy gradient + subtle pattern */
.ey-hero-with-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #0B2E55 50%, #143F6B 100%);
  z-index: 0;
}
.ey-hero-with-image::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(247,170,70,0.12) 0%, transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 100% 100%, 50px 50px, 50px 50px;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* Image band: keep ONE editorial moment, with our gradient overlay */
.ey-image-band {
  background: linear-gradient(135deg, #0A1628 0%, #0B2E55 60%, #143F6B 100%);
  position: relative;
}
.ey-image-band::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 70%, rgba(247,170,70,0.18) 0%, transparent 50%),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
}
.ey-image-band > .container { position: relative; z-index: 1; }


/* =====================================================================
   v4.5 — CASE TILE: client descriptor lead, metrics support
   ===================================================================== */

.tile-visual {
  min-height: 200px;
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.tile-visual .tile-pattern { position: absolute; inset: 0; opacity: 0.15; pointer-events: none; }

.tile-result-chip {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.7rem;
  z-index: 2;
  line-height: 1;
}
.theme-ai .tile-result-chip { background: var(--navy); color: white; }

.tile-client {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 0.85rem;
  max-width: 22ch;
}
.theme-ai .tile-client { color: var(--navy); }

.tile-metrics {
  position: relative; z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}
.theme-ai .tile-metrics { color: rgba(17,63,112,0.82); }

/* Photo card variant — used on home page featured + insights */
.photo-card-img {
  display: flex !important; flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem 1.75rem !important;
  min-height: 220px;
  position: relative;
}
.photo-card-img .tile-result-chip {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--orange);
  color: var(--navy);
  padding: 0.4rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 2;
  line-height: 1;
}
.theme-ai.photo-card-img .tile-result-chip { background: var(--navy); color: white; }

/* Override prior visual-num + visual-tag treatment */
.photo-card-img .visual-num,
.photo-card-img .visual-tag { display: none; }

.photo-card-img .pc-client {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: white;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  max-width: 22ch;
}
.theme-ai.photo-card-img .pc-client { color: var(--navy); }

.photo-card-img .pc-metrics {
  position: relative; z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.theme-ai.photo-card-img .pc-metrics { color: rgba(17,63,112,0.82); }


/* Case detail hero — descriptor-led layout */
.case-detail-result {
  position: relative; z-index: 1;
}
.result-chip-detail {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.client-descriptor {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.client-metrics {
  display: block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 32ch;
}


/* =====================================================================
   v4.6 — BRAND MANTRA · "Clarity is strategy. Discipline is execution."
   ===================================================================== */

.brand-mantra {
  background: #0A1628;
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.brand-mantra::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: var(--orange);
}
.brand-mantra::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.brand-mantra .container { position: relative; z-index: 1; }

.brand-mantra-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2rem;
  display: block;
}
.brand-mantra-text {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
  margin: 0 0 2rem;
  font-style: italic;
}
.brand-mantra-text .line {
  display: block;
}
.brand-mantra-text .line + .line {
  margin-top: 0.5rem;
}
.brand-mantra-text strong {
  font-weight: 700;
  font-style: normal;
  color: var(--orange);
}
.brand-mantra-rule {
  width: 60px; height: 3px;
  background: var(--orange);
  margin: 0 0 2rem;
}
.brand-mantra-attribution {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2rem;
}

/* Light variant (for capabilities/about embedded use) */
.brand-mantra.light {
  background: var(--white);
  border-top: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
  color: var(--navy);
  padding: 5rem 0;
}
.brand-mantra.light::before { display: none; }
.brand-mantra.light::after { display: none; }
.brand-mantra.light .brand-mantra-eyebrow { color: var(--orange-deep); }
.brand-mantra.light .brand-mantra-text { color: var(--navy); }
.brand-mantra.light .brand-mantra-text strong { color: var(--orange-deep); }
.brand-mantra.light .brand-mantra-attribution { color: var(--dark-gray); }


/* =====================================================================
   v4.7 — INFLECTION CARDS (every-inflection framing)
   ===================================================================== */

.inflection-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 2rem 1.75rem 2rem;
  position: relative;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.inflection-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(17,63,112,0.1);
  transform: translateY(-2px);
}
.inflection-card::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--orange);
  transition: height .3s ease;
}
.inflection-card:hover::before { height: 100%; }

.inflection-tag {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.inflection-tag::before {
  content: '→ ';
  color: var(--orange-deep);
  font-weight: 700;
  margin-right: 0.4rem;
}
.inflection-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-gray);
}


/* =====================================================================
   v4.8 — LIVE SITE LAYOUT ALIGNMENT
   Why SMB Catalyst comparison · SMB Group ecosystem
   ===================================================================== */

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.compare-table thead th {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  padding: 1.5rem 1.5rem;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
}
.compare-table thead th:nth-child(2) { color: var(--dark-gray); }
.compare-table thead th:nth-child(3) {
  background: var(--navy);
  color: white;
  border-bottom-color: var(--orange);
}
.compare-table tbody td {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--subtle-line);
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body-text);
}
.compare-table tbody td:first-child {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  width: 22%;
}
.compare-table tbody td:nth-child(3) {
  background: rgba(247,170,70,0.06);
  font-weight: 500;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.5;
  border-left: 1px solid var(--orange);
  border-right: 1px solid var(--orange);
}
.compare-table tbody tr:last-child td:nth-child(3) {
  border-bottom: 1px solid var(--orange);
}

/* SMB Group ecosystem cards */
.group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
}
@media (max-width: 1024px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .group-grid { grid-template-columns: 1fr; } }

.group-entity {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--subtle-line);
  position: relative;
}
.group-entity:last-child { border-right: none; }
@media (max-width: 1024px) {
  .group-entity:nth-child(2n) { border-right: none; }
  .group-entity:nth-child(-n+2) { border-bottom: 1px solid var(--subtle-line); }
}
.group-entity::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 32px; height: 4px;
  background: var(--orange);
}
.group-entity-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1rem 0 0.5rem;
  letter-spacing: -0.01em;
}
.group-entity-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1rem;
  display: block;
}
.group-entity p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--dark-gray);
  margin: 0;
}

/* What We Do — 6 service cards in 3-col */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  padding: 2rem 1.75rem 2rem;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.service-card:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 32px rgba(17,63,112,0.1);
  transform: translateY(-2px);
}
.service-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.service-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.005em;
  font-weight: 700;
}
.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
}
.service-outcome {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(247,170,70,0.12);
  border-left: 3px solid var(--orange);
  padding: 0.55rem 0.85rem;
}

/* Client voices — testimonial cards */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .voices-grid { grid-template-columns: 1fr; } }

.voice-card {
  background: var(--white);
  border: 1px solid var(--subtle-line);
  border-left: 3px solid var(--orange);
  padding: 2rem 2rem 1.75rem;
}
.voice-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.005em;
}
.voice-card cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

/* Pillar cards (3-pillar Why We Exist) */
.pillar-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--subtle-line);
}
@media (max-width: 768px) { .pillar-3 { grid-template-columns: 1fr; } }
.pillar-3-card {
  padding: 3rem 2rem;
  border-right: 1px solid var(--subtle-line);
  border-bottom: 1px solid var(--subtle-line);
  position: relative;
  background: var(--white);
}
.pillar-3-card:last-child { border-right: none; }
@media (max-width: 768px) {
  .pillar-3-card { border-right: none; }
}
.pillar-3-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 32px; height: 4px;
  background: var(--orange);
}
.pillar-3-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 1rem 0 1.25rem;
  display: block;
}
.pillar-3-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 700;
}
.pillar-3-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.pillar-3-credit {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--navy);
  border-top: 1px solid var(--subtle-line);
  padding-top: 1rem;
  margin-top: 1rem;
}
