/* ==========================================================================
   EXCELERATORS INC — Global Design System
   Aptos · Black / White / Red (#CA4043) / Slate
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
-------------------------------------------------------------------------- */
:root {
  --font:              'Aptos', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --color-black:       #0A0A0A;
  --color-white:       #FFFFFF;
  --color-red:         #CA4043;
  --color-red-dark:    #A82C2E;
  --color-grey-ast:    #8FAE9F; /* sage grey from grey asterisk */
  --color-n100:        #F5F5F5;
  --color-n200:        #EBEBEB;
  --color-n300:        #D2D2D2;
  --color-n400:        #A8A8A8;
  --color-n500:        #6B6B6B;
  --color-n600:        #3D3D3D;
  --color-n700:        #1F1F1F;

  --max-w:             1160px;
  --max-w-narrow:      700px;
  --gutter:            clamp(1.25rem, 4vw, 3.5rem);
  --section-y:         clamp(5rem, 10vw, 9rem);

  --ease:              cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:          150ms;
  --dur-mid:           300ms;
  --dur-slow:          600ms;

  --radius:            4px;
  --border:            1px solid var(--color-n200);
  --border-dark:       1px solid var(--color-n700);
  --shadow:            0 4px 24px rgba(0,0,0,0.07);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
-------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-black);
  background: var(--color-white);
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --------------------------------------------------------------------------
   2.5 PAGE LOADER
-------------------------------------------------------------------------- */
@keyframes spinnerRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dashOffset {
  0% { stroke-dashoffset: 75.36; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -75.36; }
}

@keyframes loadingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.ex-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 300ms ease;
  pointer-events: auto;
}

.ex-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ex-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.ex-loader-spinner {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ex-loader-spinner svg {
  width: 100%;
  height: 100%;
  color: var(--color-red);
  animation: spinnerRotate 2s linear infinite;
}

.ex-loader-spinner circle:last-child {
  animation: dashOffset 1.5s ease-in-out infinite;
}

.ex-loader-text {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-n400);
  font-weight: 600;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
-------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-black);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-n500);
}

p + p { margin-top: 1em; }

.ex-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-n600);
  line-height: 1.7;
}

strong { font-weight: 700; color: var(--color-black); }
em     { font-style: italic; }

/* --------------------------------------------------------------------------
   4. LAYOUT
-------------------------------------------------------------------------- */
.ex-shell {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ex-shell--narrow { max-width: var(--max-w-narrow); }

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

.ex-section-head {
  max-width: 620px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.ex-section-head h2 { margin-bottom: 1.25rem; }
.ex-section-head p  { font-size: 1.0625rem; }

.ex-section-head--center {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. KICKER / EYEBROW
-------------------------------------------------------------------------- */
.ex-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1.25rem;
}

.ex-kicker-bar {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--color-red);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. BUTTONS
-------------------------------------------------------------------------- */
.ex-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

/* Safari < 14.1 fallback */
@supports not (gap: 0.5rem) {
  .ex-btn svg { margin-left: 0.5rem; }
}

.ex-btn:active { transform: translateY(1px); }

.ex-btn svg {
  width: 15px; height: 15px; flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease);
}
.ex-btn:hover svg { transform: translateX(3px); }

/* Primary — Red */
.ex-btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-red);
}
.ex-btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  box-shadow: 0 4px 20px rgba(191,48,65,0.3);
}

/* Secondary — Outline */
.ex-btn-secondary {
  background: transparent;
  color: var(--color-black);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-n300);
}
.ex-btn-secondary:hover {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

/* Secondary on home hero — White background */
.ex-hero-home .ex-btn-secondary {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.ex-hero-home .ex-btn-secondary:hover {
  background: var(--color-n100);
  border-color: var(--color-n100);
  color: var(--color-black);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Ghost */
.ex-btn-ghost {
  background: transparent;
  color: var(--color-black);
  padding: 0 0 2px;
  border-bottom: 1.5px solid currentColor;
}
.ex-btn-ghost:hover { color: var(--color-red); }

/* Large */
.ex-btn-lg { font-size: 1rem; padding: 1rem 2.25rem; }

/* White variant (for dark sections) */
.ex-btn-white {
  background: var(--color-white);
  color: var(--color-black);
  border: 1.5px solid var(--color-white);
}
.ex-btn-white:hover { background: var(--color-n100); }

/* --------------------------------------------------------------------------
   7. HEADER
-------------------------------------------------------------------------- */
.ex-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 78px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--dur-mid), background var(--dur-mid);
}

/* Red accent line at base of header */
.ex-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red) 0%, rgba(202,64,67,0.15) 100%);
}

/* Elevated state when page is scrolled */
.ex-header.is-scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.ex-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ex-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.ex-logo img { height: 40px; width: auto; }

.ex-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.ex-logo-text span { color: var(--color-red); }

/* Nav */
.ex-nav { display: flex; align-items: center; gap: 0.25rem; flex: 1; }

@supports not (gap: 0.25rem) {
  .ex-nav a { margin-right: 0.25rem; }
  .ex-nav a:last-child { margin-right: 0; }
}

.ex-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5a5a;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  transition: color var(--dur-fast);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

/* animated underline */
.ex-nav a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
  border-radius: 2px;
}

.ex-nav a:hover { color: var(--color-black); }
.ex-nav a:hover::after { transform: scaleX(1); }

.ex-nav .current-menu-item > a,
.ex-nav .current_page_item > a {
  color: var(--color-red);
  font-weight: 700;
}

.ex-nav .current-menu-item > a::after,
.ex-nav .current_page_item > a::after {
  transform: scaleX(1);
}

/* CTA button */
.ex-nav-cta {
  margin-left: 1rem;
  background: transparent !important;
  color: var(--color-black) !important;
  border: 2px solid var(--color-black) !important;
  border-radius: 2px !important;
  padding: 0.45rem 1.25rem !important;
  letter-spacing: 0.1em !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast) !important;
}
.ex-nav-cta:hover {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border-color: var(--color-red) !important;
}
.ex-nav-cta::after { display: none !important; }

/* LinkedIn icon */
.ex-header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: 1rem;
  border-left: 1px solid var(--color-n200);
}

.ex-header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--color-n500);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.ex-header-social a:hover { color: var(--color-black); background: var(--color-n100); }
.ex-header-social svg { width: 17px; height: 17px; }
.ex-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: auto !important;
  padding: 0 0.9rem;
  border: 1px solid var(--color-n200);
  border-radius: 999px !important;
  color: var(--color-n500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.ex-social-link:hover {
  color: var(--color-black);
  background: var(--color-n100);
  border-color: var(--color-n200);
}

/* Mobile menu toggle */
.ex-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
.ex-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-mid);
}

/* Mobile-only icon row (LinkedIn + globe, hidden on desktop) */
.ex-mobile-icons {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.ex-mobile-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-n500);
  transition: color 0.2s, background 0.2s;
}

.ex-mobile-icons a:hover {
  color: var(--color-black);
  background: var(--color-n100);
}

.ex-mobile-icons svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   8. FOOTER
-------------------------------------------------------------------------- */
.ex-footer {
  background: var(--color-black);
  color: var(--color-n400);
  padding-block: 4rem 2.5rem;
  border-top: var(--border-dark);
}

.ex-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.ex-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ex-footer-logo img { height: 28px; filter: brightness(0) invert(1); opacity: 0.9; }
.ex-footer-logo-text { font-size: 0.9rem; font-weight: 800; color: var(--color-white); letter-spacing: -0.01em; }
.ex-footer-logo-text span { color: var(--color-red); }

.ex-footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-n500);
  margin-bottom: 1.5rem;
  max-width: 240px;
}

.ex-footer-social { display: flex; gap: 0.5rem; }
.ex-footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--color-n700);
  border-radius: 50%;
  color: var(--color-n400);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.ex-footer-social a:hover {
  color: var(--color-white);
  border-color: var(--color-n500);
  background: var(--color-n700);
}
.ex-footer-social svg { width: 16px; height: 16px; }
.ex-footer-social .ex-social-link {
  border-color: var(--color-n700);
  color: var(--color-n400);
}
.ex-footer-social .ex-social-link:hover {
  color: var(--color-white);
  border-color: var(--color-n500);
  background: var(--color-n700);
}

.ex-footer-col h5 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.ex-footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.ex-footer-col li a {
  font-size: 0.875rem;
  color: var(--color-n500);
  transition: color var(--dur-fast);
  text-decoration: none;
}
.ex-footer-col li a:hover { color: var(--color-white); }

.ex-footer-col address {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--color-n500);
  line-height: 1.9;
}
.ex-footer-col address a { color: inherit; transition: color var(--dur-fast); text-decoration: none; }
.ex-footer-col address a:hover { color: var(--color-white); }

.ex-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-n700);
}

.ex-footer-copy { font-size: 0.75rem; color: var(--color-n600); }
.ex-footer-bar a { font-size: 0.75rem; color: var(--color-n600); transition: color var(--dur-fast); text-decoration: none; }
.ex-footer-bar a:hover { color: var(--color-white); }

/* --------------------------------------------------------------------------
   9. HERO — HOME
-------------------------------------------------------------------------- */
.ex-hero-home {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-bottom: var(--border);
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  position: relative;
}

.ex-hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(90deg, var(--color-n300) 1px, transparent 1px),
    linear-gradient(0deg, var(--color-n300) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 0 0;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.ex-hero-home > * {
  position: relative;
  z-index: 1;
}

.ex-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.ex-hero-headline {
  margin-bottom: 1.75rem;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.ex-hero-headline em {
  font-style: normal;
  color: var(--color-n400);
  display: block;
  font-size: 0.72em;
  font-weight: 600;
  margin-top: 0.2em;
}

.ex-hero-body { max-width: 500px; margin-bottom: 2.5rem; }

.ex-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Asterisk visual */
.ex-hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.ex-asterisk-wrap {
  position: relative;
  width: clamp(240px, 28vw, 460px);
  aspect-ratio: 1;
}

.ex-asterisk-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: ex-spin 50s linear infinite;
  opacity: 0.88;
}

.ex-asterisk-img--slow { animation-duration: 80s; }

@keyframes ex-spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   10. STATS ROW
-------------------------------------------------------------------------- */
.ex-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-n200);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ex-stats-row--dark {
  background: #111;
  border-color: #222;
}

.ex-stat {
  background: var(--color-n100);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  transition: background var(--dur-mid) var(--ease);
}

.ex-stats-row--dark .ex-stat { background: var(--color-n700); }
.ex-stat:hover { background: var(--color-white); }
.ex-stats-row--dark .ex-stat:hover { background: var(--color-n600); }

.ex-stat-num {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--color-red);
  margin-bottom: 0.5rem;
}

.ex-stats-row--dark .ex-stat-num { color: var(--color-red); }

.ex-stat-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.ex-stats-row--dark .ex-stat-label { color: var(--color-white); }

.ex-stat-desc {
  font-size: 0.875rem;
  color: var(--color-n400);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. SECTION — DARK
-------------------------------------------------------------------------- */
.ex-section-dark {
  background: var(--color-black);
}

.ex-section-dark .ex-section-head h2 { color: var(--color-white); }
.ex-section-dark .ex-section-head p  { color: var(--color-n400); }
.ex-section-dark .ex-kicker           { color: var(--color-red); }

/* --------------------------------------------------------------------------
   12. PILLAR GRID (Our Work)
-------------------------------------------------------------------------- */
.ex-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-n200);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ex-pillar {
  background: var(--color-white);
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 2rem);
  border-left: 3px solid transparent;
  transition: border-color var(--dur-mid) var(--ease),
              background var(--dur-mid) var(--ease);
}

.ex-pillar:first-child { border-left: none; }
.ex-pillar:hover { border-left-color: var(--color-red); background: var(--color-n100); }
.ex-pillar:first-child:hover { background: var(--color-n100); }

.ex-pillar-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1.25rem;
}

.ex-pillar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.ex-pillar-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-n400);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ex-pillar p { font-size: 0.9rem; color: var(--color-n500); line-height: 1.7; }

/* --------------------------------------------------------------------------
   13. SERVICES GRID (What We Do)
-------------------------------------------------------------------------- */
.ex-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.ex-service {
  background: #fff;
  border: 1px solid var(--color-n200);
  border-top: 3px solid var(--color-red);
  border-radius: 6px;
  padding: clamp(2rem, 3vw, 2.75rem);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease);
}

.ex-service:hover {
  box-shadow: 0 10px 36px rgba(191,48,65,0.14);
  transform: translateY(-4px);
}

.ex-service-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1.25rem;
}

.ex-service h3 { font-size: 1.25rem; margin-bottom: 0.4rem; color: var(--color-n700); }

.ex-service-sub {
  font-size: 0.875rem;
  color: var(--color-red);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.ex-service p { font-size: 0.9375rem; color: var(--color-n600); line-height: 1.7; }

/* --------------------------------------------------------------------------
   14. TEAM BIOS
-------------------------------------------------------------------------- */
.ex-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Team cards */
.ex-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-white);
  border: var(--border);
  border-top: 3px solid var(--color-red);
  border-radius: 6px;
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ex-team-card:hover {
  box-shadow: 0 10px 36px rgba(191,48,65,0.12);
  transform: translateY(-4px);
}

.ex-team-card-photo-wrap {
  width: 180px;
  height: 180px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.ex-team-card-photo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
}

.ex-bio-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.ex-bio-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1.5rem;
}

.ex-bio-trigger { cursor: pointer; }

/* Bio modal */
.ex-bio-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.ex-bio-backdrop.is-open { display: block; }

.ex-bio-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.ex-bio-modal.is-open { display: flex; }

.ex-bio-modal-inner {
  background: var(--color-white);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.ex-bio-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-n500);
  transition: color 0.2s;
}

.ex-bio-modal-close:hover { color: var(--color-red); }

.ex-bio-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border);
}

.ex-bio-modal-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ex-bio-modal-photo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.ex-bio-name {
  margin-bottom: 0.125rem;
  font-size: 1.25rem;
}

.ex-bio-title {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--color-n500);
}

.ex-bio-modal-stats {
  flex: 1;
  min-width: 200px;
}

.ex-bio-modal-body { font-size: 0.9375rem; margin-bottom: 0; }
.ex-bio-modal-body p { font-size: 0.9375rem; margin-bottom: 1rem; }
.ex-bio-modal-body p:last-child { margin-bottom: 0; }

.ex-bio-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: none;
  padding-top: 0;
}

.ex-bio-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0;
  border-bottom: none;
  font-size: 0.75rem;
  color: var(--color-n500);
  line-height: 1.4;
}

.ex-bio-stat::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4em;
}

/* --------------------------------------------------------------------------
   15. WHITE PAPER SECTION
-------------------------------------------------------------------------- */
.ex-wp-gate {
  background: var(--color-black);
  border-radius: var(--radius);
  overflow: hidden;
}

.ex-wp-gate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.ex-wp-info {
  padding: clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ex-wp-info h2 { color: var(--color-white); margin-bottom: 1.25rem; }
.ex-wp-info p  { color: var(--color-n400); font-size: 1rem; line-height: 1.75; }

.ex-wp-info .ex-kicker { color: var(--color-grey-ast); }
.ex-wp-info .ex-kicker-bar { background: var(--color-grey-ast); }

.ex-wp-form {
  background: var(--color-n100);
  padding: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ex-wp-form h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ex-wp-form .ex-form-sub {
  font-size: 0.875rem;
  color: var(--color-n500);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   16. FORMS
-------------------------------------------------------------------------- */
.ex-form { display: flex; flex-direction: column; gap: 1rem; }

.ex-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ex-field { display: flex; flex-direction: column; gap: 0.35rem; }

.ex-field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-n600);
}

.ex-field input,
.ex-field select,
.ex-field textarea {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--color-black);
  background: var(--color-white);
  border: 1.5px solid var(--color-n300);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.ex-field input:focus,
.ex-field select:focus,
.ex-field textarea:focus {
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.07);
}

.ex-field textarea { resize: vertical; min-height: 120px; }

.ex-form-errors {
  background: #FFF0F2;
  border: 1.5px solid var(--color-red);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
}

.ex-form-errors p {
  font-size: 0.875rem;
  color: var(--color-red);
  font-weight: 600;
  margin: 0;
}

.ex-form-errors ul { margin-top: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.ex-form-errors ul li { font-size: 0.875rem; color: var(--color-red); margin: 0.2rem 0; }

.ex-form-success {
  background: #F0FFF4;
  border: 1.5px solid #48BB78;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.ex-form-success p { color: #276749; font-weight: 600; margin: 0; }

/* White Paper Success – Asterisk */
.ex-wp-success-asterisk {
  display: block;
  margin: 0 auto 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: scale(1) translateY(0);
  }
}

.ex-optional { color: var(--color-n400); font-weight: 400; font-style: italic; }

/* --------------------------------------------------------------------------
   17. CTA BLOCK (dark, end of pages)
-------------------------------------------------------------------------- */
.ex-cta-block {
  background: var(--color-black);
  background-image: url('/wp-content/uploads/2026/03/glass-wall-with-abstract-triangle-shape-design-2026-01-06-10-34-29-utccc-1536x1022.webp');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
  overflow: hidden;
}

.ex-cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.60) 100%);
  z-index: 1;
  pointer-events: none;
}

.ex-cta-block > * {
  position: relative;
  z-index: 2;
}

.ex-cta-block-inner { max-width: 600px; }

.ex-cta-block h2 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ex-cta-block p { color: var(--color-n400); font-size: 1.0625rem; margin-bottom: 2.5rem; }

/* --------------------------------------------------------------------------
   18. PAGE HERO (interior pages)
-------------------------------------------------------------------------- */
.ex-page-hero {
  background: var(--color-white);
  border-bottom: var(--border);
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative;
}

.ex-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(90deg, var(--color-n300) 1px, transparent 1px),
    linear-gradient(0deg, var(--color-n300) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 0 0;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.ex-page-hero > * {
  position: relative;
  z-index: 1;
}

.ex-page-hero-inner { max-width: 800px; }

.ex-page-hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

/* --------------------------------------------------------------------------
   19. RICH TEXT CONTENT
-------------------------------------------------------------------------- */
.ex-prose { max-width: 680px; line-height: 1.9; }
.ex-prose p,
.ex-prose > p,
.ex-prose [class] p,
.ex-prose figure + p,
.ex-prose p[class] {
  font-size: 1.0625rem;   /* 17px */
  color: var(--color-n600);  /* rgb(61,61,61) */
  line-height: 1.9;          /* ~32px */
  margin-bottom: 1.75em;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-style: normal;
}
.ex-prose p:last-child,
.ex-prose > p:last-child { margin-bottom: 0; }
.ex-prose em,
.ex-prose p em { font-style: italic; color: var(--color-n700); }
.ex-prose strong,
.ex-prose p strong { font-weight: 700; color: var(--color-black); }

/* --------------------------------------------------------------------------
   20. ASTERISK DECORATION
-------------------------------------------------------------------------- */
.ex-ast-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.06;
}

.ex-ast-deco img { width: 100%; height: 100%; object-fit: contain; }

/* --------------------------------------------------------------------------
   21. HORIZONTAL RULE
-------------------------------------------------------------------------- */
.ex-divider {
  border: none;
  border-top: var(--border);
  margin: 0;
}

/* --------------------------------------------------------------------------
   22. REVEAL ANIMATIONS
-------------------------------------------------------------------------- */
.ex-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
  will-change: transform, opacity;
}

.ex-reveal.is-visible { opacity: 1; transform: none; }

.ex-delay-1 { transition-delay: 80ms; }
.ex-delay-2 { transition-delay: 160ms; }
.ex-delay-3 { transition-delay: 240ms; }
.ex-delay-4 { transition-delay: 320ms; }

/* --------------------------------------------------------------------------
   22.5. CONTENT ROW UTILITY (text + image side-by-side)
-------------------------------------------------------------------------- */
.ex-content-row {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1100px;
}

.ex-content-main {
  flex: 1;
  min-width: 0;
}

.ex-content-aside {
  flex: 0 0 420px;
}

.ex-content-aside--narrow {
  flex: 0 0 260px;
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE
-------------------------------------------------------------------------- */

/* ── Tablet Landscape ──────────────────────────────────── 1024px */
@media (max-width: 1024px) {
  .ex-pillars         { grid-template-columns: repeat(2, 1fr); }
  .ex-wp-gate-inner   { grid-template-columns: 1fr; }
  .ex-wp-info         { padding-block: 3rem; }

  .ex-content-aside {
    flex: 0 0 320px;
  }
}

/* ── Tablet Portrait ───────────────────────────────────── 900px */
@media (max-width: 900px) {
  .ex-footer-inner    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ex-team-grid       { grid-template-columns: 1fr; }
  .ex-hero-grid       { grid-template-columns: 1fr; }
  .ex-hero-visual     { display: none; }

  /* Content rows: stack vertically */
  .ex-content-row {
    flex-direction: column;
    gap: 2rem;
  }

  .ex-content-aside,
  .ex-content-aside--narrow {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  /* Contact page grid */
  .ex-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  /* Bio modal: stack header */
  .ex-bio-modal-top {
    flex-direction: column;
    gap: 1.25rem;
  }

  .ex-bio-modal-stats {
    min-width: 0;
  }
}

/* ── Mobile ────────────────────────────────────────────── 768px */
@media (max-width: 768px) {
  :root { --section-y: clamp(3.5rem, 8vw, 5.5rem); }

  .ex-services        { grid-template-columns: 1fr; }
  .ex-stats-row       { grid-template-columns: 1fr; }
  .ex-form-row        { grid-template-columns: 1fr; }

  /* ── Mobile nav ── */
  .ex-menu-toggle { display: flex; }
  .ex-mobile-icons { display: flex; }

  .ex-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-n200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    padding: 1rem var(--gutter) 1.5rem;
    gap: 0.25rem;
    z-index: 200;
  }

  .ex-nav.is-open { display: flex; }

  .ex-nav a {
    padding: 0.75rem 0;
    font-size: 0.85rem;
  }

  .ex-nav a::after {
    left: 0;
    right: 0;
  }

  .ex-nav-cta {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .ex-header {
    height: auto;
    min-height: 64px;
    padding-block: 0;
    flex-wrap: wrap;
  }

  .ex-header-inner {
    flex-wrap: wrap;
    padding-block: 0.875rem;
    min-height: 64px;
  }

  /* Hamburger open state */
  .ex-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .ex-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .ex-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hide desktop social, show mobile icons */
  .ex-header-social {
    display: none;
  }

  /* Layout: logo left, mobile-icons + hamburger right */
  .ex-header-inner {
    justify-content: space-between;
  }

  .ex-mobile-icons {
    margin-left: auto;
  }

  /* Logo smaller */
  .ex-logo img { height: 32px; }

  /* CTA block */
  .ex-cta-block {
    background-attachment: scroll; /* Fix parallax on mobile */
  }

  .ex-cta-block h2 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  /* Page hero */
  .ex-page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 3rem);
  }

  /* Hero headline */
  .ex-hero-headline {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  /* Bio modal */
  .ex-bio-modal-inner {
    padding: 1.5rem;
    max-height: 95vh;
  }

  .ex-bio-modal-header-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .ex-bio-modal-photo {
    width: 60px;
    height: 60px;
  }

  /* Team card photos */
  .ex-team-card-photo-wrap,
  .ex-team-card-photo {
    width: 140px;
    height: 140px;
  }

  /* White paper gate */
  .ex-wp-gate-inner {
    min-height: auto;
  }

  .ex-wp-info,
  .ex-wp-form {
    padding: 2rem 1.5rem;
  }
}

/* ── Small Mobile ──────────────────────────────────────── 520px */
@media (max-width: 520px) {
  .ex-footer-inner { grid-template-columns: 1fr; }
  .ex-footer-bar   { flex-direction: column; gap: 0.75rem; text-align: center; }
  .ex-pillars      { grid-template-columns: 1fr; }
  .ex-cta-row      { flex-direction: column; align-items: stretch; }

  .ex-cta-row .ex-btn {
    justify-content: center;
    text-align: center;
  }

  /* Buttons full-width */
  .ex-cta-block .ex-btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* Reduce section padding */
  :root { --section-y: clamp(2.5rem, 6vw, 4rem); }

  /* Footer social */
  .ex-footer-social {
    justify-content: flex-start;
  }

  /* Scroll to top: smaller on mobile */
  .ex-scroll-top {
    bottom: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
  }

  .ex-scroll-top svg {
    width: 16px;
    height: 16px;
  }

  /* Content aside images full width on small screens */
  .ex-content-aside,
  .ex-content-aside--narrow {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Scroll-to-top button
-------------------------------------------------------------------------- */
.ex-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(191,48,65,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.ex-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ex-scroll-top:hover {
  background: var(--color-red-dark);
  box-shadow: 0 6px 20px rgba(191,48,65,0.55);
}

.ex-scroll-top svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   24. PRESS & PUBLICATIONS
-------------------------------------------------------------------------- */

/* ── Filter Tabs ── */
.ex-press-filter {
  display: flex;
  flex-wrap: wrap;
  border-bottom: var(--border);
  column-gap: 0.5rem;
  row-gap: 0.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
}

/* Fallback for older Safari (< 14.1) without flex-gap support */
@supports not (gap: 0.5rem) {
  .ex-press-filter { gap: 0; }
  .ex-press-filter-btn { margin-right: 0.5rem; margin-bottom: 0.5rem; }
}

.ex-press-filter-btn {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-n500);
  background: transparent;
  border: 1.5px solid var(--color-n300);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  line-height: 1;
}

.ex-press-filter-btn:hover {
  border-color: var(--color-black);
  color: var(--color-black);
  background: var(--color-n100);
}

.ex-press-filter-btn.is-active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* ── Card Grid ── */
.ex-press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ── Card ── */
.ex-press-card {
  background: var(--color-white);
  border: var(--border);
  border-top: 3px solid var(--color-red);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
  /* Fix Safari overflow clipping during transform/transition */
  -webkit-mask-image: -webkit-radial-gradient(white, white);
  mask-image: -webkit-radial-gradient(white, white);
  isolation: isolate;
}

.ex-press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(202,64,67,0.13);
}

/* ── Card image area ── */
.ex-press-card-link {
  display: block;
  overflow: hidden;
}

.ex-press-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
  background: var(--color-n100);
}

/* Aspect-ratio fallback for Safari < 15 */
@supports not (aspect-ratio: 4 / 3) {
  .ex-press-card-img {
    height: 0;
    padding-top: 75%; /* 3/4 = 75% */
    position: relative;
  }
  .ex-press-card-img img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  }
}

/* Ensure we don't cut off White Paper covers / documents */
.ex-press-card-link--thought-leadership .ex-press-card-img {
  object-fit: contain;
}

.ex-press-card:hover .ex-press-card-img { transform: scale(1.04); }

/* Placeholder when no image */
.ex-press-card-img--placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-n700) 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ex-press-card-img--placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(202,64,67,0.15) 0%, transparent 60%);
}

.ex-press-placeholder-icon {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ex-press-placeholder-icon svg {
  width: 40px;
  height: 40px;
}

/* ── Card body ── */
.ex-press-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

/* ── Meta row ── */
.ex-press-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Badge ── */
.ex-press-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  line-height: 1;
  flex-shrink: 0;
}

.ex-press-badge svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* Category colour variants */
.ex-press-badge--press-publications {
  background: rgba(202,64,67,0.09);
  color: var(--color-red);
}
.ex-press-badge--thought-leadership {
  background: rgba(31,31,31,0.08);
  color: var(--color-n600);
}
.ex-press-badge--podcasts {
  background: rgba(99,60,180,0.09);
  color: #5b3db5;
}
.ex-press-badge--presentations {
  background: rgba(0,120,180,0.09);
  color: #0076b2;
}

/* ── Date ── */
.ex-press-date {
  font-size: 0.75rem;
  color: var(--color-n400);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Title ── */
.ex-press-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin: 0;
}

.ex-press-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast);
}

.ex-press-card-title a:hover { color: var(--color-red); }

/* ── Excerpt ── */
.ex-press-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-n500);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ── CTA button inside card ── */
.ex-press-card-cta {
  margin-top: auto;
  padding-top: 0.25rem;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

.ex-press-card-cta:hover { color: var(--color-red-dark); }

/* ── Empty state ── */
.ex-press-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--color-n400);
  font-size: 0.9375rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ex-press-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .ex-press-grid { grid-template-columns: 1fr; }

  .ex-press-filter-btn {
    font-size: 0.68rem;
    padding: 0.4rem 0.9rem;
  }
}
