/* TRANSEARCH USA — design system (clean refresh)
   Headings: Playfair Display · Body: Lato
   Palette: navy #1d3557 · teal #38c5b5 · red #e63946 · slate · off-white #f1faee */

:root {
  /* Official TRANSEARCH palette — Blue dominant, Red accent, Gray text */
  --navy: #003f57;        /* primary dark blue */
  --navy-900: #002a3b;    /* deeper blue for gradients */
  --navy-700: #0a5d7a;    /* mid step for gradients */
  --teal: #57899e;        /* secondary mid-blue (accent role) */
  --teal-600: #406f82;    /* mid-blue hover */
  --lightblue: #c1deea;   /* secondary light blue */
  --red: #ac130e;         /* primary red — the "pop" */
  --red-700: #8d0f0b;     /* red hover */
  --slate: #666666;       /* primary text gray */
  --slate-700: #5a5a5a;
  --ink: #444444;         /* body copy */
  --line: #dcdedd;        /* borders (light gray family) */
  --cloud: #e2e1dd;       /* beige light section */
  --paper: #f4f6f7;       /* very light blue-gray */
  --white: #ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;
  --shadow: 0 24px 60px -28px rgba(0, 63, 87, 0.30);
  --shadow-sm: 0 10px 30px -18px rgba(0, 63, 87, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); text-transform: uppercase; letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1em; }

a { color: var(--teal-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--red); }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 0 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.center .eyebrow { display: inline-flex; }

.lead { font-size: 1.18rem; color: var(--slate-700); max-width: 60ch; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.7rem;
  border-radius: 7px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(172,19,14,0.55); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(172,19,14,0.6); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-700); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-700); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-600); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(193,222,234,0.30), transparent 60%),
    radial-gradient(700px 600px at 100% 100%, rgba(10,93,122,0.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}
/* faint dot-grid for texture/depth */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
/* concentric orbit motif (global network) */
.hero-art {
  position: absolute;
  top: 50%; right: -120px;
  transform: translateY(-50%);
  width: 620px; height: 620px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .accent { color: var(--lightblue); }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.22rem; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 2rem;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: clamp(1.8rem, 3.5vw, 2.8rem);
}
.stat { color: #fff; }
.stat .num {
  display: block; font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.9rem, 5.2vw, 4.3rem); line-height: 0.92;
  color: var(--lightblue); letter-spacing: -0.015em;
}
.stat .num .unit { font-size: 0.38em; font-weight: 700; margin-left: 0.1em; color: rgba(255,255,255,0.7); letter-spacing: 0; }
.stat .lbl { display: block; margin-top: 0.7rem; font-size: 0.98rem; font-weight: 600; color: rgba(255,255,255,0.9); max-width: 22ch; }
.stat .lbl em { display: block; font-style: normal; font-weight: 500; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }

/* ---------- how we help / cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card:hover .icon { background: var(--navy); color: #fff; }
.card .icon { transition: background .2s ease, color .2s ease; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; color: var(--slate-700); }
.card .more { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--lightblue); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* ---------- two-up (orxestra / hogan) ---------- */
.alt { background: var(--paper); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--teal);
}
.panel.alt-accent { border-left-color: var(--red); }

/* ---------- who we serve chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.chip {
  background: var(--navy);
  color: #fff;
  padding: 1.3rem 2rem;
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 220px;
  text-align: center;
  transition: background .18s ease, transform .15s ease;
}
.chip:hover { background: var(--teal-600); color: #fff; transform: translateY(-3px); }

/* ---------- industries grid (light) ---------- */
.industries {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(720px 440px at 92% -12%, rgba(193,222,234,0.20), transparent 60%),
    radial-gradient(620px 520px at -5% 112%, rgba(172,19,14,0.16), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}
.industries::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(120deg, #000 0%, transparent 60%);
  pointer-events: none;
}
.industries .container { position: relative; z-index: 1; }
.industries .eyebrow { color: var(--lightblue); }
.industries h2 { color: #fff; }
.ind-intro { color: rgba(255,255,255,0.72); max-width: 58ch; margin: 1rem auto 0; font-size: 1.05rem; }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.8rem;
}
.ind {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.55rem;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ind::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red);
  transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.ind-name { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.ind-go { color: var(--lightblue); font-size: 1.2rem; flex: none; transition: transform .2s ease; }
.ind:hover { transform: translateY(-4px); background: rgba(255,255,255,0.09); border-color: rgba(193,222,234,0.4); }
.ind:hover::before { transform: scaleY(1); }
.ind:hover .ind-go { transform: translateX(5px); }

/* ---------- mission (brand statement band) ---------- */
.mission {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 440px at 12% 8%, rgba(193,222,234,0.20), transparent 60%),
    radial-gradient(700px 600px at 100% 110%, rgba(172,19,14,0.18), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  text-align: center;
}
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}
.mission .container { position: relative; z-index: 2; max-width: 860px; }
.mission .eyebrow { color: var(--lightblue); }
.mission h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.mission p { font-size: 1.22rem; color: rgba(255,255,255,0.82); }
.mission .quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.5;
  color: var(--lightblue);
  opacity: 0.5;
  margin-bottom: 0.4rem;
  height: 3rem;
}
.mission-art {
  position: absolute;
  bottom: -180px; left: -160px;
  width: 460px; height: 460px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* ---------- insights cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--teal-600)); }
.post .body { padding: 1.4rem 1.5rem 1.6rem; }
.post .cat { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-600); font-weight: 700; }
.post h3 { font-size: 1.18rem; margin: 0.5rem 0 0; }

/* ---------- final CTA ---------- */
.cta {
  background:
    radial-gradient(760px 440px at 18% 115%, rgba(10,93,122,0.65), transparent 62%),
    radial-gradient(640px 420px at 92% -10%, rgba(193,222,234,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy));
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.82); font-size: 1.18rem; max-width: 56ch; margin-inline: auto; }
.cta .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-grid img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.site-footer a:hover { color: var(--teal); }
.footer-about { font-size: 0.95rem; max-width: 34ch; }
.footer-social { display: flex; gap: 1.1rem; margin: 1.4rem 0; }
.footer-social a {
  display: inline-flex;
  color: rgba(255,255,255,0.9);
  transition: color .18s ease, transform .15s ease;
}
.footer-social a:hover { color: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 30px; height: 30px; }
.footer-subscribe { margin-top: 0.2rem; }
.site-footer a.footer-subscribe,
.site-footer a.footer-subscribe:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: 64px 0 auto 0; background: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem var(--gutter) 2rem; transform: translateY(-150%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); }
  .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .nav li { width: 100%; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { flex-direction: column; align-items: flex-start; width: 100%; margin-top: 1rem; }
  .nav-toggle { display: block; }
  .two-up { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.4rem; }
}
@media (max-width: 560px) {
  .cards, .ind-grid, .footer-grid { grid-template-columns: 1fr; }
}

/* ============ INTERIOR PAGES ============ */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 88% -20%, rgba(193,222,234,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem);
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(120deg, #000 0%, transparent 60%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin: 0; max-width: 20ch; }
.banner-lead { margin-top: 1.1rem; max-width: 60ch; font-size: 1.18rem; color: rgba(255,255,255,0.85); }
.banner-lead p { margin: 0; }

.breadcrumb { font-size: 0.82rem; letter-spacing: 0.02em; margin-bottom: 1.1rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.7); font-weight: 600; }
.breadcrumb a:hover { color: var(--lightblue); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb span:last-child { color: #fff; }

.page-section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.page-section.alt { background: var(--paper); }
.page-section > .container { max-width: 980px; }
.page-section h2 { margin-bottom: 1.2rem; }

.prose { color: var(--ink); font-size: 1.06rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6rem 0 0.8rem; }
.prose h3 { color: var(--navy); font-size: 1.3rem; margin: 1.6rem 0 0.6rem; }
.prose h4 { color: var(--navy); font-family: var(--sans); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 1.4rem 0 0.5rem; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose ul li::marker { color: var(--red); }
.prose a { color: var(--teal-600); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(64,111,130,0.3); text-underline-offset: 2px; }
.prose a:hover { color: var(--red); }
.prose strong { color: var(--navy); }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; }

.page-img { margin: 1.5rem 0; }
.page-img img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }

.blurb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin: 1.5rem 0; }
.blurb-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blurb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.blurb-card h3 { color: var(--navy); margin: 0 0 0.6rem; font-size: 1.2rem; }
.blurb-card .prose { font-size: 0.98rem; }
.page-section.alt .blurb-card { background: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.6rem 0 0.4rem; }

.faq { margin: 1.4rem 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.2rem 1.15rem 0;
  position: relative;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); font-family: var(--sans); line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .prose { padding: 0 0 1.3rem; font-size: 1rem; }

.embed { margin: 1.5rem 0; }
.embed iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* ============ INTERIOR PAGES v2 (designed bands) ============ */
.page-banner .banner-art {
  position: absolute; top: 50%; right: -90px; transform: translateY(-50%);
  width: 420px; height: 420px; opacity: 0.85; z-index: 1; pointer-events: none;
}
.page-banner .container { max-width: var(--maxw); }

.page-section > .container { max-width: 1040px; }
.section-head { margin-bottom: 1.6rem; }
.section-head .rule { display:block; width: 46px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 0.9rem; }
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

/* readable prose column */
.prose { max-width: 760px; }
.page-section .prose + .prose { margin-top: 0; }
/* a lone section paragraph reads as a lead; multi-paragraph sections stay
   one uniform size (no awkward big-first-line, small-rest mismatch) */
.section-head + .prose > p:only-child { font-size: 1.18rem; color: var(--slate-700); }

/* checklist — top-level ULs become a two-column feature list with red checks */
ul.checklist { list-style: none; padding: 0; margin: 1.4rem 0; max-width: 100%;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; }
ul.checklist li { position: relative; padding-left: 1.9rem; margin: 0; line-height: 1.55; }
ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 14px; height: 8px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}
@media (max-width: 720px){ ul.checklist { grid-template-columns: 1fr; } }

/* blurb cards span the full content width in their own grid */
.page-section .blurb-grid { max-width: 100%; }

/* feature cards (homepage-style) generated from cross-sell groups */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin: 1.8rem 0 0.6rem; max-width: 100%; }
/* wider 2-up grid for card sections with longer body copy */
.feature-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .feature-cards.cols-2 { grid-template-columns: 1fr; } }
/* fixed 3-up grid (process / step sections) */
.feature-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .feature-cards.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feature-cards.cols-3 { grid-template-columns: 1fr; } }
.feature-cards .card { display: flex; flex-direction: column; }
.feature-cards .card .icon svg { width: 24px; height: 24px; }
.feature-cards .card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.feature-cards .card .card-sub { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: var(--teal-600); margin: 0 0 0.6rem; }
.feature-cards .card .prose { font-size: 0.97rem; max-width: 100%; margin-bottom: 1rem; }
.feature-cards .card .more { margin-top: auto; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }
.feature-cards .card .more:hover { color: var(--navy); }

/* ===== expertise pitch sections: stat band / timeline / fit ===== */
.stat-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.stat-band .eyebrow { color: var(--lightblue); }
.stat-band h2 { color: #fff; margin-bottom: 2.4rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.bigstat { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.bignum { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--lightblue); line-height: 1; }
.biglbl { font-size: 0.95rem; color: rgba(255,255,255,0.85); max-width: 22ch; }
.biglbl em { display: block; font-style: normal; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

.timeline { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 9%; right: 9%; height: 2px; background: var(--line); z-index: 0; }
.tl-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; gap: 0.5rem; }
.tl-num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; box-shadow: var(--shadow-sm); }
.tl-name { font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.tl-wk { font-size: 0.78rem; color: var(--slate-700); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .tl-step { flex-direction: row; justify-content: flex-start; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .tl-name { flex: 1; text-align: left; }
}

.fit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.fit-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 1.5rem 1.2rem; }
.fit-num { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; color: var(--teal-600); }
.fit-card h3 { font-size: 1.05rem; margin: 0.4rem 0 0.5rem; }
.fit-card p { font-size: 0.9rem; color: var(--slate-700); }
@media (max-width: 980px) { .fit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fit-grid { grid-template-columns: 1fr; } }

/* ============ HEADER DROPDOWN MENUS ============ */
.nav li.has-menu { position: relative; }
.nav .has-menu > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.7; transition: transform .18s ease; }
.nav .has-menu:hover .caret, .nav .has-menu:focus-within .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav .has-menu:hover .submenu, .nav .has-menu:focus-within .submenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.submenu ul {
  list-style: none; margin: 0; padding: 0.6rem;
  display: block;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0,63,87,0.45);
  border-top: 3px solid var(--red);
}
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 6px;
  color: var(--navy); font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.submenu a:hover { background: var(--paper); color: var(--red); }

.submenu.mega ul, .has-menu.mega .submenu ul { } /* placeholder */
.has-menu.mega .submenu { left: auto; right: 0; transform: translateY(8px); }
.has-menu.mega:hover .submenu, .has-menu.mega:focus-within .submenu { transform: translateY(0); }
.has-menu.mega .submenu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 0.6rem; min-width: 460px; }

/* mobile: expand submenus inline */
@media (max-width: 820px) {
  .submenu {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; min-width: 0; padding-top: 0;
  }
  .nav .has-menu .submenu { display: none !important; }  /* mobile = top headers only */
  .nav .caret { display: none; }
  .nav .has-menu > a { display: block; width: 100%; }
  .submenu ul, .has-menu.mega .submenu ul {
    display: block; box-shadow: none; background: transparent; border-top: 0;
    padding: 0 0 0.4rem 0.6rem; min-width: 0;
  }
  .submenu a { color: rgba(255,255,255,0.72); padding: 0.45rem 0; }
  .submenu a:hover { background: transparent; color: var(--teal); }
}

/* ============ EMBEDS ============ */
.embed { margin: 1.6rem 0; }
.embed iframe { width: 100%; border: 0; border-radius: var(--radius); }
.embed-calendar iframe { min-height: 740px; box-shadow: var(--shadow-sm); background: #fff; }
.embed-form { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.embed-form .embed-note { margin: 0; color: var(--slate-700); }

/* ============ TESTIMONIALS BAND ============ */
.testimonials-band { background: var(--paper); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { display: inline-flex; }
.section-head.center h2 { margin-top: 0.2rem; }
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.tcard::before {
  content: "\201C"; position: absolute; top: -0.35em; right: 0.25em;
  font-family: var(--serif); font-size: 6rem; color: var(--lightblue); opacity: 0.5; line-height: 1;
}
.tcard .stars { color: var(--red); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 0.8rem; position: relative; z-index: 1; }
.tcard blockquote {
  margin: 0 0 1.2rem; padding: 0; border: 0;
  font-family: var(--serif); font-size: 1.04rem; line-height: 1.55; color: var(--ink);
  position: relative; z-index: 1; flex: 1;
}
.tcard figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.tcard .tname { font-weight: 800; color: var(--navy); font-size: 0.98rem; }
.tcard .trole { font-size: 0.85rem; color: var(--slate); }
@media (max-width: 900px) { .tcards { grid-template-columns: 1fr; } }

/* ============ TITLE CASE for non-h1 headlines ============ */
h2, h3 { text-transform: capitalize; }
.faq-item summary { text-transform: none; }   /* questions keep their casing */

/* ============ CLIENT LOGO WALL (per industry) ============ */
.client-band { background: #fff; }
.client-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem 1.4rem; align-items: center; margin-top: 2.4rem;
}
.client-logo { display: flex; align-items: center; justify-content: center; height: 84px; padding: 0.5rem; }
.client-logo img {
  max-height: 54px; max-width: 130px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.65; transition: filter .2s ease, opacity .2s ease;
}
.client-logo img:hover { filter: none; opacity: 1; }

/* ============ PAGE IMAGES (e.g., Orxestra diagrams) ============ */
.page-img { text-align: center; margin: 1.8rem 0; }
.page-img img { display: inline-block; width: 100%; max-width: 660px; height: auto; border-radius: var(--radius); }

/* anchored sections clear the sticky header */
.page-section[id] { scroll-margin-top: 90px; }

/* ============ RECENT PLACEMENTS ============ */
.placements { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.placement {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.placement .role { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.placement .firm { color: var(--slate); font-size: 0.92rem; }
.page-section.alt .placement { background: #fff; }

/* ============ TESTIMONIAL SLIDER ============ */
.tslider { position: relative; max-width: 800px; margin: 2.4rem auto 0; padding: 0 2.5rem; }
/* Stack every slide in the same grid cell so the track is always as tall as
   the tallest quote — prevents the page from jumping as testimonials rotate. */
.ttrack { display: grid; }
.tslide {
  grid-area: 1 / 1; width: 100%; opacity: 0;
  transition: opacity .45s ease; text-align: center; pointer-events: none;
}
.tslide.active { opacity: 1; pointer-events: auto; }
.tslide .stars { color: var(--red); letter-spacing: 3px; font-size: 1rem; display: block; margin-bottom: 1.1rem; }
.tslide blockquote {
  margin: 0 auto 1.4rem; max-width: 70ch; padding: 0; border: 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.5; color: var(--navy);
}
.tslide figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.tslide .tname { font-weight: 800; color: var(--navy); font-size: 1rem; }
.tslide .trole { font-size: 0.9rem; color: var(--slate); }
.tnav {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .18s ease, color .18s ease, border-color .18s ease;
  display: grid; place-items: center;
}
.tnav:hover { background: var(--red); color: #fff; border-color: var(--red); }
.tprev { left: 0; }
.tnext { right: 0; }
.tdots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.tdot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .18s ease, transform .18s ease; }
.tdot.active { background: var(--red); transform: scale(1.3); }
@media (max-width: 600px) { .tslider { padding: 0; } .tnav { display: none; } }

/* ============ TEAM GRID ============ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.6rem; }
.team-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal); }
.team-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--paper); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: grayscale(0.15); transition: filter .2s ease, transform .3s ease; }
.team-card:hover .team-photo img { filter: none; transform: scale(1.04); }
.team-card h3 { margin: 1rem 1.2rem 0.2rem; font-size: 1.18rem; }
.team-card .team-desig { margin: 0 1.2rem 1.2rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--teal-600); text-transform: uppercase; }

/* ============ TEAM PROFILE ============ */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; max-width: 1040px; }
.profile-card { position: sticky; top: 90px; }
.profile-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; }
.profile-photo img { width: 100%; display: block; }
.profile-contacts { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.4rem; }
.profile-contacts a { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.profile-contacts a:hover { color: var(--red); }
.profile-contacts .ci { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--paper); color: var(--navy); }
.profile-contacts .ci svg { width: 17px; height: 17px; }
.profile-book { width: 100%; justify-content: center; }
.profile-back { display: inline-block; margin-top: 1.2rem; font-weight: 700; font-size: 0.9rem; }
.profile-bio { max-width: none; }
@media (max-width: 820px) {
  .profile-grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile-card { position: static; max-width: 340px; }
}

/* expert grid — centered, fixed-width cards for the 2-4 page experts */
.expert-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 215px)); justify-content: center; margin-top: 2rem; }

/* ============ SOLUTIONS MEGA MENU ============ */
.solutions-panel { left: auto; right: 0; transform: translateY(8px); min-width: 0; }
.has-menu.mega-solutions:hover .solutions-panel,
.has-menu.mega-solutions:focus-within .solutions-panel { transform: translateY(0); }
.mega-cols {
  background: #fff; border-radius: var(--radius); border-top: 3px solid var(--red);
  box-shadow: 0 24px 60px -20px rgba(0,63,87,0.45); padding: 1.3rem 1.4rem;
  display: grid; grid-template-columns: repeat(4, 146px); gap: 0.4rem 1rem;
}
.mega-head {
  display: block; font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: 0.95rem; padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--line); margin-bottom: 0.35rem;
}
.mega-head:hover { color: var(--red); }
.mega-head { white-space: normal; overflow-wrap: anywhere; }
.solutions-panel .mega-col ul { display: block; list-style: none; margin: 0; padding: 0; background: none; box-shadow: none; border: 0; border-radius: 0; }
.mega-col li a { display: block; padding: 0.32rem 0.4rem; color: var(--slate-700); font-weight: 600; font-size: 0.86rem; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; border-radius: 6px; }
.mega-col li a:hover { background: var(--paper); color: var(--red); }

@media (max-width: 820px) {
  .mega-cols { display: block; padding: 0; background: none; box-shadow: none; border: 0; }
  .mega-head { color: rgba(255,255,255,0.92); border-bottom-color: rgba(255,255,255,0.12); padding-left: 0; }
  .mega-head:hover { color: var(--teal); }
  .mega-col { margin-bottom: 0.6rem; }
  .mega-col li a { color: rgba(255,255,255,0.62); padding-left: 0.6rem; }
  .mega-col li a:hover { background: transparent; color: var(--teal); }
}

/* ============ FOOTER BADGES ============ */
.footer-badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem;
  padding: 1.8rem 0 0.4rem; margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-badges img { height: 40px; width: auto; opacity: 0.85; transition: opacity .2s ease; }
.footer-badges img:hover { opacity: 1; }
.footer-bottom a { color: rgba(255,255,255,0.85); font-weight: 700; }
.footer-bottom a:hover { color: var(--teal); }

/* ============ CASE STUDIES GRID ============ */
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.cs-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal); }
.cs-photo { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--teal-600)); }
.cs-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cs-card:hover .cs-photo img { transform: scale(1.04); }
.cs-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.cs-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-600); }
.cs-card h3 { font-size: 1.2rem; margin: 0.5rem 0 1rem; }
.cs-more { margin-top: auto; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }

/* case-study slider — type-led proof, no images */
.cs-slider { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-top: 1.6rem; -webkit-overflow-scrolling: touch; }
.cs-slide { flex: 0 0 min(440px, 86%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.8rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 2.2rem 2rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cs-slide:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cs-slide-tag { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--lightblue); }
.cs-slide-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.18; color: #fff; margin: 0; }
.cs-slide-teaser { color: rgba(255,255,255,0.82); font-size: 0.95rem; flex: 1; margin: 0; }
.cs-slide-more { margin-top: auto; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; color: var(--lightblue); }
.cs-slide:hover .cs-slide-more { color: #fff; }
.cs-slider::-webkit-scrollbar { height: 8px; }
.cs-slider::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

/* case-studies index: filterable grid of the same type-led cards */
.cs-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.cs-grid-item { display: flex; }
.cs-grid-item.hide { display: none; }
.cs-grid-cards .cs-slide { flex: 1 1 auto; width: 100%; }
@media (max-width: 560px) { .cs-grid-cards { grid-template-columns: 1fr; } }

/* ============ BLOG ============ */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: var(--radius); padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-600); }
.post-card h3 { font-size: 1.15rem; margin: 0.55rem 0 0.7rem; line-height: 1.3; }
.post-excerpt { font-size: 0.95rem; color: var(--slate-700); margin: 0 0 1.1rem; line-height: 1.55; }
.post-more { margin-top: auto; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }

/* filter pills */
.post-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.pill {
  font-family: var(--sans); font-weight: 700; font-size: 0.85rem; cursor: pointer;
  padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); transition: all .15s ease;
}
.pill:hover { border-color: var(--teal); color: var(--teal-600); }
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-card.hide { display: none; }

/* articles index: search box + centred filters */
.articles-search { position: relative; max-width: 480px; margin: 0 auto 1.4rem; }
.articles-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--slate-700); pointer-events: none; }
.articles-search input { width: 100%; padding: 0.85rem 1.1rem 0.85rem 2.8rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 1rem; background: #fff; color: var(--navy); }
.articles-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,63,87,0.12); }
.article-filter-group { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 0.8rem; }
.article-filter-group .filter-label { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.7rem; font-weight: 700; color: var(--slate-700); }
.article-filter-group .post-filters { margin-bottom: 0; justify-content: center; }
.article-filter-group:last-of-type { margin-bottom: 2rem; }
.articles-empty { text-align: center; color: var(--slate-700); font-size: 1.05rem; margin-top: 2rem; }

/* post article */
.post-banner h1 { max-width: 24ch; }
.post-meta-cat { color: var(--lightblue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin: 0 0 0.6rem; }
.post-meta-date { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0.8rem 0 0; }
.post-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.3rem; }
.post-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid rgba(255,255,255,0.25); flex: none; }
.post-author .pa-by { display: flex; flex-direction: column; line-height: 1.35; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.post-author .pa-by a { color: #fff; font-weight: 700; text-decoration: none; }
.post-author .pa-by a:hover { color: var(--lightblue); }
.post-author .pa-by small { color: rgba(255,255,255,0.62); font-size: 0.8rem; }
.post-hero { background: #fff; }
.post-hero .container { padding-top: 0; }
.post-hero img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 0 0 var(--radius) var(--radius); margin-top: -1px; display: block; box-shadow: var(--shadow-sm); }
.post-article { max-width: 760px; }
.post-article .prose { max-width: none; font-size: 1.08rem; }
.post-article .prose h2 { margin-top: 2rem; }

/* branded placeholder for posts with no featured image */
.post-thumb-ph { background: linear-gradient(135deg, var(--navy), var(--navy-700)); display: grid; place-items: center; }
.post-thumb-ph::after { content: ""; width: 58%; height: 26px; opacity: 0.55;
  background: url(/assets/img/logo-white.png) center/contain no-repeat; }

/* ============ VIDEOS ============ */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.8rem; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 1.1rem; margin: 0.9rem 0 0; }
.video-card h3 a { color: var(--navy); }
.video-card h3 a:hover { color: var(--red); }
.post-article .video-embed { margin-bottom: 1.8rem; }

/* ============ CARD CAROUSEL ============ */
.card-carousel { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.card-carousel .post-card { flex: 0 0 300px; scroll-snap-align: start; }
.card-carousel::-webkit-scrollbar { height: 8px; }
.card-carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

/* ============ RESOURCES ============ */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.resource-card { display: block; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease; }
a.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.resource-card h3 { font-size: 1.12rem; margin: 0 0 0.6rem; }
.resource-card p { font-size: 0.95rem; color: var(--slate-700); margin: 0 0 1rem; }
.resource-card .cs-more { color: var(--red); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============ LOCATIONS ============ */
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 1.8rem; }
.location-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.location-card h3 { font-size: 1.15rem; margin: 0 0 0.9rem; color: var(--navy); }
.loc-details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.loc-details li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: var(--ink); line-height: 1.4; }
.loc-details a { color: var(--ink); }
.loc-details a:hover { color: var(--red); }
.loc-ic { flex: none; width: 17px; height: 17px; color: var(--teal-600); margin-top: 2px; }
.loc-ic svg { width: 17px; height: 17px; }
.loc-meta { flex-direction: column; gap: 0.1rem; }
.loc-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }

/* ============ CONTACT LEADERS ============ */
.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.leader-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.leader-photo { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.leader-card h3 { margin: 0 0 0.2rem; font-size: 1.25rem; }
.leader-card h3 a { color: var(--navy); }
.leader-card h3 a:hover { color: var(--red); }
.leader-desig { color: var(--teal-600); font-weight: 700; text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.07em; margin: 0 0 1.2rem; }
.leader-card .profile-contacts { align-items: center; margin: 0 0 1.3rem; }
.leader-card .btn { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 760px) { .leader-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* consultants (global, link out) */
.team-grid-bw .team-card .team-desig { color: var(--slate); }
.team-grid-bw .team-photo img { filter: grayscale(1); }
