/* ============================================================
   EP-EXEC — DESIGN SYSTEM
   Brand derived from ISFF Presentation (Feb 2026)
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Core brand palette */
  --ep-teal:        #1A9EC8;   /* Primary teal — slide backgrounds */
  --ep-teal-dark:   #0F6F8F;   /* Darker teal — hover, depth */
  --ep-teal-mid:    #147BA0;   /* Mid teal — gradient mid-stop */
  --ep-teal-light:  #3EC0E0;   /* Light teal — diagonal shapes, accents */
  --ep-navy:        #081158;   /* Deep navy — footer, strong contrast */
  --ep-charcoal:    #262B30;   /* Dark card backgrounds (service icons) */
  --ep-gold:        #C4A06A;   /* Gold accent — Fast Facts, highlights */
  --ep-gold-light:  #D4B882;   /* Lighter gold */

  /* Neutrals */
  --ep-white:       #FFFFFF;
  --ep-off-white:   #F4F8FA;
  --ep-light-grey:  #E8EEF2;
  --ep-mid-grey:    #8A9BAA;
  --ep-text:        #1A2332;
  --ep-text-muted:  #4A5568;

  /* Typography */
  --font-display:   'Barlow', 'Open Sans', sans-serif;
  --font-body:      'Open Sans', sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Container */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.18);
  --shadow-teal: 0 8px 32px rgba(26,158,200,0.3);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ep-text);
  background: var(--ep-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }

/* Inline link hover — excludes nav, buttons, logos, social icons */
a:not(.btn):not(.nav__link):not(.nav__dropdown-link):not(.nav__logo):not(.nav__portal-link):not(.footer__social-link):not(.project-card):not(.blog-card):hover {
  color: var(--ep-teal);
}

/* On dark/navy backgrounds — gold hover so it stays visible */
.ep-teal-bg a:not(.btn):hover,
.footer a:not(.btn):not(.footer__social-link):hover {
  color: var(--ep-gold);
}

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

.pre-headline {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.section-rule {
  width: 60px;
  height: 3px;
  background: var(--ep-gold);
  border-radius: var(--radius-pill);
  margin: var(--space-md) 0;
}

.section-rule--center { margin: var(--space-md) auto; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ep-gold);
  color: var(--ep-text);
  box-shadow: 0 4px 16px rgba(196,160,106,0.4);
}
.btn--primary:hover {
  background: var(--ep-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,160,106,0.5);
  color: var(--ep-text);
}

.btn--outline-white {
  background: transparent;
  color: var(--ep-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--ep-white);
  color: var(--ep-white);
}

.btn--outline-teal {
  background: transparent;
  color: var(--ep-teal);
  border: 2px solid var(--ep-teal);
}
.btn--outline-teal:hover {
  background: var(--ep-teal);
  color: var(--ep-white);
}

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ── TEAL SECTION BACKGROUND (with diagonal shapes) ─────────── */
/* Replicates the geometric diagonal texture from the ISFF presentation */
.ep-teal-bg {
  background: linear-gradient(150deg, var(--ep-teal) 0%, var(--ep-teal-mid) 50%, var(--ep-teal-dark) 100%);
  position: relative;
  overflow: hidden;
}

.ep-teal-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.07) 0%,
      rgba(255,255,255,0.07) 20%,
      transparent 20%,
      transparent 45%,
      rgba(255,255,255,0.04) 45%,
      rgba(255,255,255,0.04) 65%,
      transparent 65%
    );
  pointer-events: none;
}

.ep-teal-bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

/* Diagonal decorative bars (slides texture) */
.ep-diag-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ep-diag-shapes::before,
.ep-diag-shapes::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.055);
  transform: skewX(-18deg);
}
.ep-diag-shapes::before {
  top: -10%;
  left: 55%;
  width: 18%;
  height: 140%;
}
.ep-diag-shapes::after {
  top: -10%;
  left: 72%;
  width: 10%;
  height: 140%;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
@media (min-width: 1025px) {
  .page--home .nav { top: 46px; }
}

.nav--transparent { background: transparent; }

.nav--scrolled {
  background: rgba(8,17,88,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-lg);
}

.nav__logo img { height: clamp(67px, 8.4vw, 101px); width: auto; }

/* Logo switching: full logo when transparent, icon-only when sticky */
.nav__logo .logo-icon { display: none; }
.nav__logo .logo-full { display: block; }
.nav--scrolled .nav__logo .logo-full { display: none; }
.nav--scrolled .nav__logo .logo-icon { display: block; }

/* Stats bar — fixed top bar, desktop only, always above nav */
.stats-ticker {
  display: none;
}
@media (min-width: 1025px) {
  .stats-ticker {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--ep-navy);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}
.stats-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  gap: var(--space-lg);
}
.stats-ticker__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.stats-ticker__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ep-gold);
}
.stats-ticker__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}
.stats-ticker__sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  padding: 0.375rem 0;
  position: relative;
  letter-spacing: 0.01em;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ep-gold);
  transition: var(--transition);
}
.nav__link:hover { color: var(--ep-white); }
.nav__link:hover::after { width: 100%; }

/* Dropdown */
.nav__item { position: relative; }
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--ep-navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--ep-navy);
  border-left: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav__dropdown-link {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.nav__dropdown-link:hover {
  color: var(--ep-white);
  background: rgba(255,255,255,0.07);
}

.nav__dropdown-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__dropdown-label svg { width: 12px; height: 12px; transition: var(--transition); }
.nav__item:hover .nav__dropdown-label svg { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: var(--space-sm); }

.nav__portal-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.nav__portal-link:hover { color: var(--ep-white); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ep-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ep-navy);
  z-index: 999;
  padding: 5rem var(--container-pad) 2rem;
  overflow-y: auto;
  flex-direction: column;
  gap: var(--space-sm);
}
.nav__mobile.is-open { display: flex; }

.nav__mobile-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ep-white);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav__mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--ep-white);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__mobile-label {
  cursor: default;
  opacity: 0.5;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: none;
  padding-bottom: 0;
}

.nav__mobile-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav__mobile-sub {
  padding-left: 1.25rem;
}
.nav__mobile-sub-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0;
}

/* ── HERO ───────────────────────────────────────────────────── */
/* ── HERO PHOTO CAROUSEL ─────────────────────────────────────── */
@keyframes hero-carousel-fade {
  0%   { opacity: 1; }
  16%  { opacity: 1; }
  22%  { opacity: 0; }
  94%  { opacity: 0; }
  100% { opacity: 1; }
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  animation: hero-carousel-fade 30s infinite;
}
/* Gradient overlay — heavier on the text side, lighter where faces are */
.hero-carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,17,88,0.72) 0%,
    rgba(8,17,88,0.48) 50%,
    rgba(8,17,88,0.18) 100%
  );
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px; /* mobile: nav only */
  color: var(--ep-white);
  position: relative;
  overflow: hidden;
}

/* ── HERO AUTHORITY BADGE ────────────────────────────────────── */
.hero__authority {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  background: rgba(196,160,106,0.15);
  border: 1px solid rgba(196,160,106,0.4);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ep-gold-light);
  letter-spacing: 0.01em;
}
.hero__authority svg { color: var(--ep-gold); flex-shrink: 0; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,17,88,0.75);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  background: var(--ep-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-pop 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes modal-pop {
  from { opacity:0; transform: scale(0.9) translateY(16px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ep-off-white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ep-text-muted);
  transition: var(--transition);
}
.modal__close:hover { background: var(--ep-light-grey); color: var(--ep-text); }

/* Form elements inside modal */
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ep-text);
  margin-bottom: 0.375rem;
}
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--ep-light-grey);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ep-text);
  background: var(--ep-white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus { outline: none; border-color: var(--ep-teal); box-shadow: 0 0 0 3px rgba(26,158,200,0.15); }
.form-checkgroup { display: flex; flex-direction: column; gap: 0.5rem; }
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ep-text);
  cursor: pointer;
}
.form-check input[type="checkbox"] { accent-color: var(--ep-teal); width: 16px; height: 16px; }

.form-required { color: var(--ep-teal); }
.form-hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ep-text-muted);
  margin-top: 0.125rem;
}
.form-error {
  color: #c0392b;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #fdf2f2;
  border-radius: var(--radius-sm);
  border-left: 3px solid #c0392b;
}
.form-popia {
  font-size: 0.72rem;
  color: var(--ep-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── PROGRESS INDICATOR ──────────────────────────────────────── */
.pq-progress {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.pq-progress__step {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.pq-progress__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ep-light-grey);
  color: var(--ep-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.pq-progress__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ep-text-muted);
  transition: var(--transition);
}
.pq-progress__step--active .pq-progress__num {
  background: var(--ep-teal);
  color: #fff;
}
.pq-progress__step--active .pq-progress__label { color: var(--ep-text); }
.pq-progress__step--done .pq-progress__num {
  background: var(--ep-navy);
  color: #fff;
}
.pq-progress__line {
  flex: 1;
  height: 2px;
  background: var(--ep-light-grey);
  margin: 0 0.5rem;
}

.btn--outline-dark {
  background: transparent;
  border: 1.5px solid var(--ep-light-grey);
  color: var(--ep-text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: var(--transition);
}
.btn--outline-dark:hover { border-color: var(--ep-mid-grey); color: var(--ep-text); }

.hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0 var(--space-2xl);
  max-width: 760px;
}

.hero__pre {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-sm);
}

.hero__headline {
  color: var(--ep-white);
  margin-bottom: var(--space-md);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-lg);
  max-width: 640px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ── SERVICE HERO ICON + HEADLINE ROW ───────────────────────── */
.hero__h1-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.hero__h1-row .hero__headline {
  margin-bottom: 0;
}

.hero__service-icon {
  flex-shrink: 0;
  height: clamp(2.25rem, 5.5vw, 3.75rem);
  width: auto;
  display: block;
}

/* ── HERO SPLIT LAYOUT ───────────────────────────────────────── */
.hero--split {
  height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 2.5rem;
  align-items: center;
  flex: 1;
  min-height: 0;
  padding: 1rem 0 0;
}

/* Override headline/sub sizes so text fits in viewport */
.hero--split .pre-headline {
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  letter-spacing: 0.1em;
}

.hero--split .hero__headline {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.hero--split .hero__subheadline {
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  margin-bottom: 1rem;
  max-width: 520px;
}

.hero--split .hero__actions {
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.hero--split .hero__actions .btn {
  font-size: 0.656rem;
  padding: 0.61rem 1.4rem;
}

.hero__logo-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.hero__logo-strip img {
  height: 28px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255,255,255,0.92);
  padding: 3px 7px;
}

.hero--split .hero__authority {
  margin-top: 0.5rem;
}

/* ── HERO PANEL CAROUSEL ─────────────────────────────────────── */
.hero-panel-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: calc(100vh - 72px - 90px - 2rem);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  background: #0a1a55;
}
@media (min-width: 1025px) {
  .page--home .hero { padding-top: 118px; }
  .page--home .hero-panel-carousel { max-height: calc(100vh - 118px - 90px - 2rem); }
}

.hero-panel-carousel__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  text-decoration: none;
  display: block;
  pointer-events: none;
}
.hero-panel-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-panel-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Partners slide — logos on dark bg, not full bleed */
.hero-panel-carousel__slide--logos {
  background: var(--ep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panel-carousel__slide--logos img {
  object-fit: contain;
  object-position: center;
  padding: 2rem;
  max-height: 60%;
}

.hero-panel-carousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(8,17,88,0.9) 0%, transparent 100%);
}

.hero-panel-carousel__caption-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem;
  letter-spacing: 0.02em;
}

.hero-panel-carousel__caption-sub {
  font-size: 0.75rem;
  color: rgba(196,160,106,0.9);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Arrow buttons */
.hero-panel-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(8,17,88,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}
.hero-panel-carousel__arrow:hover { background: rgba(8,17,88,0.9); }
.hero-panel-carousel__arrow--prev { left: 0.75rem; }
.hero-panel-carousel__arrow--next { right: 0.75rem; }
.hero-panel-carousel__arrow svg { width: 16px; height: 16px; }

/* Dot indicators */
.hero-panel-dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  justify-content: center;
}

.hero-panel-dots__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-panel-dots__dot.is-active {
  background: rgba(196,160,106,0.9);
  width: 18px;
}

@media (max-width: 900px) {
  .hero--split {
    height: auto;
    min-height: 100svh;
  }
  .hero__split {
    grid-template-columns: 1fr;
    padding: 1.5rem 0 0;
    gap: 1.5rem;
  }
  .hero--split .hero__headline {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .hero-panel-carousel {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
}


/* ── SECTION: PROBLEM ────────────────────────────────────────── */
.section-problem {
  padding: var(--space-2xl) 0;
  background: var(--ep-off-white);
}

.section-problem__headline {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  color: var(--ep-text);
}

/* Risk table */
.risk-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.risk-table thead tr {
  background: var(--ep-navy);
  color: var(--ep-white);
}

.risk-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.risk-table td {
  padding: 1.125rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--ep-light-grey);
  vertical-align: top;
}

.risk-table tbody tr:last-child td { border-bottom: none; }

.risk-table tbody tr:nth-child(odd) { background: var(--ep-white); }
.risk-table tbody tr:nth-child(even) { background: var(--ep-off-white); }

.risk-table__risk {
  font-weight: 700;
  color: var(--ep-teal-dark);
}

.risk-table__cost {
  color: var(--ep-text-muted);
}

.risk-icon {
  width: 36px;
  height: 36px;
  background: rgba(26,158,200,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.risk-icon svg { color: var(--ep-teal); }

.problem-body {
  max-width: 760px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  color: var(--ep-text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ── PARTNER STRIP ───────────────────────────────────────────── */
.partner-strip {
  background: #f8f9fc;
  border-top: 1px solid #e8eaf0;
  border-bottom: 1px solid #e8eaf0;
  padding: 1.5rem 0;
}

.partner-strip__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8892a4;
  text-align: center;
  margin-bottom: 1rem;
}

.partner-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-strip__logos img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  opacity: 0.72;
  filter: grayscale(30%);
  transition: opacity 0.2s, filter 0.2s;
}

.partner-strip__logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 640px) {
  .partner-strip__logos img { max-height: 120px; }
}

/* ── SECTION: SOLUTION ───────────────────────────────────────── */
.section-solution {
  padding: var(--space-2xl) 0;
}

.section-solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.section-solution__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ep-teal);
  margin-bottom: var(--space-sm);
}

.section-solution__text {
  color: var(--ep-text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-top: var(--space-sm);
}

.solution-image-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.solution-image-block img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.solution-image-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: var(--ep-navy);
  color: var(--ep-white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.solution-image-badge span {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ep-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* ── SECTION: SIX PILLARS ───────────────────────────────────── */
.section-pillars {
  padding: var(--space-2xl) 0;
  color: var(--ep-white);
}

.section-pillars__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-pillars__title { color: var(--ep-white); }

.section-pillars__intro {
  max-width: 680px;
  margin: var(--space-sm) auto 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Service card — replicates the dark rounded cards from the presentation */
.pillar-card {
  background: var(--ep-charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ep-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-card__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pillar-card:hover .pillar-card__icon img {
  transform: scale(1.18) rotate(-4deg);
}

/* ── SVG ICON ANIMATIONS ─────────────────────────────────────── */
@keyframes svg-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes svg-pop-in {
  0%   { opacity: 0; transform: scale(0.6); }
  70%  { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes svg-glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(26,158,200,0)); }
  50%       { filter: drop-shadow(0 0 12px rgba(26,158,200,0.6)); }
}

.pillar-card .pillar-card__icon img {
  animation: svg-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pillar-card:nth-child(1) .pillar-card__icon img { animation-delay: 0.05s; }
.pillar-card:nth-child(2) .pillar-card__icon img { animation-delay: 0.15s; }
.pillar-card:nth-child(3) .pillar-card__icon img { animation-delay: 0.25s; }
.pillar-card:nth-child(4) .pillar-card__icon img { animation-delay: 0.35s; }
.pillar-card:nth-child(5) .pillar-card__icon img { animation-delay: 0.45s; }
.pillar-card:nth-child(6) .pillar-card__icon img { animation-delay: 0.55s; }

.pillar-card:hover .pillar-card__icon img {
  animation: svg-glow-pulse 1.2s ease-in-out infinite, svg-float 2s ease-in-out infinite;
}

.pillar-card__tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ep-gold);
}

.pillar-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ep-white);
  line-height: 1.2;
}

.pillar-card__body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  flex: 1;
}

.pillar-card__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ep-teal-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: var(--transition);
}
.pillar-card__link:hover { color: var(--ep-gold); gap: 0.5rem; }
.pillar-card__link svg { width: 14px; height: 14px; }

/* Stability callouts (from presentation slide 3) */
.stability-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: var(--space-xl);
}

.stability-card {
  background: var(--ep-white);
  border-radius: 0;
  padding: var(--space-lg) var(--space-md);
  color: var(--ep-text);
}

.stability-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ep-teal-dark);
  margin-bottom: 0.5rem;
}

.stability-card__title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--ep-text);
}

.stability-card__body {
  font-size: 0.9125rem;
  color: var(--ep-text-muted);
  line-height: 1.7;
}

/* ── SECTION: STATS COUNTER ──────────────────────────────────── */
.section-stats {
  padding: var(--space-xl) 0;
  background: var(--ep-navy);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  max-width: 240px;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--ep-gold);
  line-height: 1.1;
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
}

.stat-item__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ── SECTION: TECHNOLOGY ─────────────────────────────────────── */
.section-technology {
  padding: var(--space-2xl) 0;
  background: var(--ep-off-white);
}

.section-technology__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-technology__title { margin-bottom: var(--space-sm); }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tech-card {
  background: var(--ep-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tech-card:hover {
  border-color: var(--ep-teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-3px);
}

.tech-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ep-teal);
  color: var(--ep-white);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.tech-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--ep-text);
}

.tech-card__body {
  font-size: 0.9375rem;
  color: var(--ep-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.tech-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.tech-card__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--ep-text-muted);
}
.tech-card__bullet svg {
  width: 16px;
  height: 16px;
  color: var(--ep-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── SECTION: ISFF AUTHORITY ─────────────────────────────────── */
.section-isff {
  padding: var(--space-2xl) 0;
  color: var(--ep-white);
}

.section-isff__inner {
  position: relative;
  z-index: 2;
}

.section-isff__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: center;
}

.section-isff__image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.section-isff__image-block img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.section-isff__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ep-gold);
  margin-bottom: var(--space-sm);
}

.section-isff__title { color: var(--ep-white); margin-bottom: var(--space-sm); }

.section-isff__body {
  color: rgba(255,255,255,0.82);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Partner logos strip */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: var(--space-md);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.partner-logos__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  flex-basis: 100%;
}

.partner-logos img {
  height: 28px;
  width: auto;
  opacity: 0.85;
  transition: var(--transition);
}
.partner-logos img:hover { opacity: 1; }

/* ── SECTION: PROJECTS ───────────────────────────────────────── */
.section-projects {
  padding: var(--space-2xl) 0;
}

.section-projects__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--ep-white);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-card__image--logo {
  object-fit: contain;
  background: var(--ep-navy);
  padding: 2.5rem 3rem;
}

.client-card__image--logo {
  object-fit: contain;
  background: var(--ep-navy);
  padding: 1.25rem 2rem;
}

.project-card__body {
  padding: var(--space-md);
}

.project-card__location {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ep-teal);
  margin-bottom: 0.3rem;
}

.project-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ep-text);
  margin-bottom: 0.4rem;
}

.project-card__meta {
  color: var(--ep-text-muted);
  margin-bottom: var(--space-sm);
  font-size: 0.92rem;
  font-weight: 600;
}

.project-card__note {
  color: var(--ep-text-muted);
  margin-top: var(--space-sm);
  font-size: 0.92rem;
  line-height: 1.45;
}

.project-card__status {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── PROJECTS: FEATURE LAYOUT ───────────────────────────────── */
.projects-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  align-items: start;
}

.projects-feature__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.projects-feature__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.projects-feature__summary h3 {
  margin-bottom: var(--space-sm);
}

.projects-feature__summary p {
  color: var(--ep-text-muted);
  margin-bottom: var(--space-lg);
}

.projects-feature__cta {
  margin-top: var(--space-lg);
}

/* ── CONTACT: MOBILE-FIRST LAYOUT ───────────────────────────── */
.contact-main {
  background: var(--ep-off-white);
  padding: var(--space-2xl) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-left__head {
  margin-bottom: var(--space-md);
}

.contact-left__head .section-rule {
  margin-left: 0;
}

.contact-calendly {
  width: 100%;
  min-width: 0;
}

.contact-calendly .calendly-inline-widget {
  min-width: 100% !important;
  width: 100%;
  height: clamp(560px, 72vh, 760px);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ── SERVICES: ROW LAYOUT ───────────────────────────────────── */
.services-list {
  padding-left: 1.25rem;
}

.services-list__item {
  margin-bottom: var(--space-2xl);
}

.services-row {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  flex-wrap: wrap;
}

.services-row--reverse {
  flex-direction: row-reverse;
}

.services-row__content {
  flex: 1;
  min-width: 280px;
}

.services-row__media {
  flex: 0.9;
  min-width: 280px;
}

.services-row__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* ── SERVICES: SOCIAL PROOF PLACEHOLDERS ───────────────────── */
.service-proof {
  background: var(--ep-off-white);
}

.service-proof__header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto var(--space-xl);
}

.service-proof__intro {
  color: var(--ep-text-muted);
  margin-top: var(--space-sm);
}

.service-proof__note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--ep-mid-grey);
  font-style: italic;
}

.service-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.service-proof-card {
  background: var(--ep-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.service-proof-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-proof-card__body {
  padding: var(--space-md);
}

.service-proof-card__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ep-teal);
  margin-bottom: 0.35rem;
}

.service-proof-card__title {
  margin-bottom: 0.45rem;
}

.service-proof-card__text {
  color: var(--ep-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-examples {
  background: var(--ep-off-white);
  padding: var(--space-2xl) 0;
}

.service-examples__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.connect-pillars .tech-card {
  text-align: center;
}

.connect-pillars__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto var(--space-sm);
}

/* ── ABOUT: LAYOUT UTILITIES ────────────────────────────────── */
.about-mission {
  padding: var(--space-3xl) 0;
}

.about-center-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.about-muted-lead {
  color: var(--ep-text-muted);
  margin-top: var(--space-sm);
}

.about-isff-image {
  order: 2;
}

.about-isff-content {
  order: 1;
}

.about-isff-figure {
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: #0a1a55;
}

.about-gap-top {
  margin-top: var(--space-lg);
}

.about-partner-list {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-section-pad {
  padding: var(--space-2xl) 0;
}

.about-track-wrap {
  margin-top: var(--space-xl);
}

.about-highlight-panel {
  background: var(--ep-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xl);
}

.about-team-card {
  text-align: center;
}

.about-team-photo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-md);
}

.about-team-name {
  margin-bottom: 0.5rem;
}

.about-team-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ep-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.about-team-body {
  margin-bottom: 0;
}

.status--completed {
  background: rgba(34,197,94,0.12);
  color: #16a34a;
}
.status--in-progress {
  background: rgba(196,160,106,0.15);
  color: #92611f;
}

/* ── SECTION: CLIENT LOGOS ───────────────────────────────────── */
.section-clients {
  padding: var(--space-xl) 0;
  background: var(--ep-off-white);
  border-top: 1px solid var(--ep-light-grey);
  border-bottom: 1px solid var(--ep-light-grey);
}

.section-clients__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ep-mid-grey);
  margin-bottom: var(--space-lg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.client-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ep-white);
  border: 1px solid var(--ep-light-grey);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ep-teal);
}

.client-card__image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.client-card:hover .client-card__image {
  filter: grayscale(0%);
}

.client-card__body {
  padding: 0.75rem 1rem;
}

.client-card__developer {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ep-teal);
  margin-bottom: 0.2rem;
}

.client-card__project {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ep-text);
  margin: 0;
}

@media (max-width: 900px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .client-card__image { height: 100px; }
}

/* ── SECTION: CTA ────────────────────────────────────────────── */
.section-cta {
  padding: var(--space-2xl) 0;
  color: var(--ep-white);
  text-align: center;
}

.section-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.section-cta__title {
  color: var(--ep-white);
  margin-bottom: var(--space-sm);
}

.section-cta__body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.section-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* Countdown strip */
.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-md);
}
.cta-urgency::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--ep-navy);
  color: var(--ep-white);
  padding: var(--space-2xl) 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand { grid-column: 1; }
.footer__brand img { height: 67px; margin-bottom: var(--space-md); }

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer__social-link:hover {
  background: var(--ep-teal);
  border-color: var(--ep-teal);
  color: var(--ep-white);
}

/* fallback text for injected YT/TT links */
.footer__social-link {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ep-gold);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  transition: var(--transition);
}
.footer__link:hover { color: var(--ep-white); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.5rem;
}
.footer__contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--ep-teal-light); }

.footer__bottom {
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer__bottom-link:hover { color: rgba(255,255,255,0.75); }

/* ── UTILITIES ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--ep-gold); }
.text-teal { color: var(--ep-teal); }
.text-white { color: var(--ep-white); }
.text-muted { color: var(--ep-text-muted); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .footer__brand { grid-column: 1 / -1; }
  .section-isff__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .section-isff__image-block img { height: 280px; }
  .section-solution__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .solution-image-block { order: -1; }
  .solution-image-block img { height: 320px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__hamburger { display: flex; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stability-strip { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { justify-content: space-around; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .risk-table { font-size: 0.875rem; }
  .risk-table th, .risk-table td { padding: 0.75rem 1rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .projects-feature {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .projects-feature__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .project-card__image {
    height: 260px;
  }

  .project-card__title {
    font-size: 1.05rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-main {
    padding: var(--space-xl) 0;
  }

  .contact-left,
  .contact-right {
    text-align: center;
  }

  .contact-left__head .section-rule {
    margin-left: auto;
  }

  .contact-calendly .calendly-inline-widget {
    height: min(84vh, 680px);
  }

  .contact-right .tech-card {
    text-align: left;
  }

  .services-list {
    list-style: none;
    padding-left: 0;
  }

  .service-proof__grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .section-cta__actions { flex-direction: column; align-items: center; }
  .clients-grid { gap: var(--space-lg); }

  .projects-feature__gallery {
    grid-template-columns: 1fr;
  }

  .projects-feature__gallery img {
    aspect-ratio: 16 / 10;
  }

  .project-card__image {
    height: 220px;
  }

  .project-card__body {
    padding: var(--space-md);
  }

  .contact-right .tech-card {
    padding: var(--space-lg) var(--space-md);
  }

  .services-row,
  .services-row--reverse {
    flex-direction: column;
    gap: var(--space-md);
  }

  .services-row__content,
  .services-row__media {
    min-width: 0;
  }

  .service-proof-card__image {
    height: 200px;
  }

  .service-proof__grid {
    grid-template-columns: 1fr;
  }
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── ACCESSIBILITY (WCAG 2.1 AA) ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ep-navy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--ep-gold);
  outline-offset: 3px;
}

/* ── POLICY PAGES ─────────────────────────────────────────────── */
.policy-page {
  background: var(--ep-off-white);
  padding: calc(72px + var(--space-xl)) 0 var(--space-2xl);
}

.policy-page__card {
  background: var(--ep-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  max-width: 760px;
  margin: 0 auto;
}

.policy-page__crumbs {
  font-size: 0.8rem;
  color: var(--ep-text-muted);
  margin-bottom: var(--space-sm);
}

.policy-page__crumbs a {
  color: var(--ep-teal-dark);
  font-weight: 700;
}

.policy-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.policy-page__updated {
  font-size: 0.85rem;
  color: var(--ep-text-muted);
  margin-bottom: var(--space-lg);
}

.policy-page__toc {
  background: var(--ep-off-white);
  border: 1px solid var(--ep-light-grey);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.policy-page__toc h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.policy-page__toc ul {
  list-style: disc;
  margin-left: 1.25rem;
}

.policy-page__toc li + li { margin-top: 0.25rem; }

.policy-page section + section { margin-top: var(--space-lg); }

.policy-page h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.policy-page p,
.policy-page li {
  color: var(--ep-text-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

.policy-page ul {
  list-style: disc;
  margin-left: 1.2rem;
}

.policy-page a {
  color: var(--ep-teal-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .policy-page__card { padding: var(--space-lg); }
}

@media print {
  .nav,
  .footer,
  .skip-link { display: none !important; }

  .policy-page {
    padding: 0;
    background: #fff;
  }

  .policy-page__card {
    box-shadow: none;
    border: none;
    max-width: 100%;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-panel-carousel__slide,
  .hero-carousel__slide,
  .reveal,
  .animate-fade-up,
  .pillar-card .pillar-card__icon img,
  .hero-panel-dots__dot,
  .cta-urgency::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── INDEX VIDEO FEATURE ────────────────────────────────────── */
.video-feature {
  padding: var(--space-2xl) 0;
  background: var(--ep-off-white);
}

.video-feature__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-lg);
}

.video-feature__embed {
  width: min(100%, 1120px);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-feature__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-feature__link {
  position: relative;
  display: block;
  text-decoration: none;
}

.video-feature__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-feature__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(8, 17, 88, 0.85);
  color: var(--ep-white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── SERVICES LIFECYCLE VISUAL ─────────────────────────────── */
.lifecycle-section {
  padding: var(--space-2xl) 0;
  background: var(--ep-white);
}

.lifecycle-section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
}

.lifecycle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.lifecycle-track::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--ep-teal) 0%, var(--ep-gold) 100%);
  opacity: 0.35;
  z-index: 0;
}

.lifecycle-step {
  position: relative;
  z-index: 1;
  background: var(--ep-off-white);
  border: 1px solid var(--ep-light-grey);
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem;
  min-height: 210px;
}

.lifecycle-step__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ep-gold);
  margin: 0 auto 0.65rem;
  box-shadow: 0 0 0 6px rgba(196,160,106,0.18);
}

.lifecycle-step__phase {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ep-teal-dark);
  text-align: center;
  margin-bottom: 0.35rem;
}

.lifecycle-step h3 {
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.lifecycle-step p {
  font-size: 0.84rem;
  color: var(--ep-text-muted);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1024px) {
  .lifecycle-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifecycle-track::before { display: none; }
}

@media (max-width: 640px) {
  .lifecycle-track {
    grid-template-columns: 1fr;
  }
}
